Bonjour,
j’arrive à échanger des données avec le téléphone de deux manières :
les commandes adb pull ou push
en rebootant sur TWRP les fichiers sont accessibles depuis le PC
Est il possible de faire fonctionner la connexion MTP en USB entre le téléphone et le PC ou bien il existe des incompatibilités/bugs connus ?
Ou puis je trouver les fichiers log sur le /e/phone?
-Après avoir activer MTP dans parametre>option develloppeurs>selectionner configuration usb j’ai la notification qui apparait en haut de l’ecran du telephone et je selectionne la aussi MTP. Si je n’active pas l’option dans les parametres develloppeurs apres redemarrage du telephone j’ai juste le petit eclair dans le cercle pour indiquer que la batterie est en charge mais pas de notification.
-Sur les pc le LGD855 apparait dans l’explorateur de fichier mais un message d’erreur apparait “Impossible d’ouvrir le périphérique MTP [USB:002:019]”
- /e/phone : LG-D855
- /e/OS : 0.13-2020120989402
- API LineageOS : Guava
- PC : AcerAspire4810
- OS : Lubuntu18.04
- Kernel : 4.15.0-135 generic x-86_64
- PC : HP630
- OS : Ubuntu18.04
- Kernel : 4.15.0-51-generic x86_64
retour de commande dmesg sur le pc HP : (le device number change a chaque tentative et le retour sur pc Acer sont similaires)
[ 7752.035707] usb 2-1.1: new high-speed USB device number 19 using ehci-pci
[ 7752.067845] usb 2-1.1: New USB device found, idVendor=18d1, idProduct=4ee1
[ 7752.067851] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7752.067855] usb 2-1.1: Product: LG-D855
[ 7752.067859] usb 2-1.1: Manufacturer: LGE
[ 7752.067863] usb 2-1.1: SerialNumber: LGD85593493660
[ 7776.695424] usb 2-1.1: reset high-speed USB device number 19 using ehci-pci
[ 7776.895403] usb 2-1.1: reset high-speed USB device number 19 using ehci-pci
[ 7786.124034] usb 2-1.1: usbfs: process 7081 (pool) did not claim interface 0 before use
[ 7786.207282] usb 2-1.1: reset high-speed USB device number 19 using ehci-pci
[ 7786.318646] usb 2-1.1: usbfs: process 7081 (pool) did not claim interface 0 before use
[ 7786.411264] usb 2-1.1: reset high-speed USB device number 19 using ehci-pci
[ 7799.865928] usb 2-1.1: usbfs: process 7092 (pool) did not claim interface 0 before use
[ 7799.947065] usb 2-1.1: reset high-speed USB device number 19 using ehci-pci
[ 7800.057089] usb 2-1.1: usbfs: process 7092 (pool) did not claim interface 0 before use
[ 7800.147084] usb 2-1.1: reset high-speed USB device number 19 using ehci-pci
retour de dmesg sur le /e/phone :
[ 6673.123572] type=1400 audit(1612357085.503:12): avc: denied { signal } for pid=17069 comm="sh" scontext=u:r:shell:s0 tcontext=u:r:su:s0 tclass=process permissive=0
[ 6673.125527] android_work: android_work: sent uevent USB_STATE=DISCONNECTED
[ 6673.134543] init: Untracked pid 17078 killed by signal 1
[ 6673.145655] init: Untracked pid 17081 exited with status 0
[ 6673.146281] type=1400 audit(1612357085.503:13): avc: denied { signal } for pid=17069 comm="sh" scontext=u:r:shell:s0 tcontext=u:r:su:s0 tclass=process permissive=0
[ 6673.146294] init: Untracked pid 17079 exited with status 0
[ 6673.195308] android_work: android_work: sent uevent USB_STATE=CONNECTED
[ 6673.201818] android_work: android_work: sent uevent USB_STATE=DISCONNECTED
[ 6673.303642] android_usb gadget: high-speed config #1: fe8050c8.android_usb
[ 6673.305655] android_work: android_work: sent uevent USB_STATE=CONNECTED
[ 6673.357635] android_work: android_work: sent uevent USB_STATE=CONFIGURED
[ 6673.358452] android_work: android_work: sent uevent USB_STATE=DISCONNECTED
[ 6673.400745] android_work: android_work: sent uevent USB_STATE=CONNECTED
[ 6673.408211] android_work: android_work: sent uevent USB_STATE=DISCONNECTED
[ 6673.507642] android_usb gadget: high-speed config #1: fe8050c8.android_usb
[ 6673.510312] android_work: android_work: sent uevent USB_STATE=CONNECTED
[ 6673.564066] android_work: android_work: sent uevent USB_STATE=CONFIGURED
[ 6685.075307] pm_power_get_event_property_wireless : POWER_SUPPLY_PROP_WIRELESS_ONLINE :0
[ 6685.075661] bq24296_monitor_batt_temp: thermal-engine set req.chg_current_ma = 1500, req.chg_current_te = 1500
[ 6685.076864] LGE charging scenario : state 0 -> 0(0-0), temp=29, volt=4081, BTM=0, charger=1, chg_cur = -381
[ 6685.077605] bq24296_monitor_batt_temp: otp_ibat_current=1500
[ 6685.078532] bq24296_enable_charging: enable=1
[ 6685.080312] bq24296_set_ibat_max: req_ibat = 1500 set_ibat = 1472 reg_val = 0x3c
[ 6685.083122] bq24296_set_adjust_ibat: charging current limit=1500
[ 6685.090910] bq24296_reginfo: 0x42 0x1D 0x3C 0x30 0xD6 0x8A 0x03 0x4B 0x6C 0x00
[ 6745.235239] pm_power_get_event_property_wireless : POWER_SUPPLY_PROP_WIRELESS_ONLINE :0
[ 6745.235881] bq24296_monitor_batt_temp: thermal-engine set req.chg_current_ma = 1500, req.chg_current_te = 1500
[ 6745.236800] LGE charging scenario : state 0 -> 0(0-0), temp=29, volt=4081, BTM=0, charger=1, chg_cur = -428
[ 6745.237541] bq24296_monitor_batt_temp: otp_ibat_current=1500
[ 6745.238766] bq24296_enable_charging: enable=1
[ 6745.240270] bq24296_set_ibat_max: req_ibat = 1500 set_ibat = 1472 reg_val = 0x3c
[ 6745.243029] bq24296_set_adjust_ibat: charging current limit=1500
[ 6745.255993] bq24296_reginfo: 0x42 0x1D 0x3C 0x30 0xD6 0x8A 0x03 0x4B 0x6C 0x00
[ 6746.417012] lm3697_bl_enable:enable:0
[ 6746.718108] [Touch] report mode: 1
[ 6746.718111] [Touch] lpwg_mode[1]
[ 6746.718122] [Touch] power_state[2]
[ 6751.416460] init: Starting service 'exec 18 (/system/bin/logcat)'...
[ 6751.460973] init: Service 'exec 18 (/system/bin/logcat)' (pid 17230) exited with status 1
[ 6752.637271] adb_release: 2 callbacks suppressed
[ 6752.637634] adb_release
[ 6752.639994] adb_open: 2 callbacks suppressed
[ 6752.640768] adb_open
[ 6752.646883] android_work: android_work: sent uevent USB_STATE=DISCONNECTED
[ 6752.715026] android_work: android_work: sent uevent USB_STATE=CONNECTED
[ 6752.721313] android_work: android_work: sent uevent USB_STATE=DISCONNECTED
[ 6752.823646] android_usb gadget: high-speed config #1: fe8050c8.android_usb
[ 6752.827390] android_work: android_work: sent uevent USB_STATE=CONNECTED
[ 6752.880970] android_work: android_work: sent uevent USB_STATE=CONFIGURED
[ 6752.881774] android_work: android_work: sent uevent USB_STATE=DISCONNECTED
[ 6752.906375] android_work: android_work: sent uevent USB_STATE=CONNECTED
[ 6752.913234] android_work: android_work: sent uevent USB_STATE=DISCONNECTED
[ 6753.014853] android_usb gadget: high-speed config #1: fe8050c8.android_usb
[ 6753.017724] android_work: android_work: sent uevent USB_STATE=CONNECTED
[ 6753.070886] android_work: android_work: sent uevent USB_STATE=CONFIGURED
[ 6753.071693] android_work: android_work: sent uevent USB_STATE=DISCONNECTED
[ 6753.112189] android_work: android_work: sent uevent USB_STATE=CONNECTED
[ 6753.120184] android_work: android_work: sent uevent USB_STATE=DISCONNECTED
[ 6753.219562] android_usb gadget: high-speed config #1: fe8050c8.android_usb
[ 6753.224062] android_work: android_work: sent uevent USB_STATE=CONNECTED
[ 6753.277634] android_work: android_work: sent uevent USB_STATE=CONFIGURED
[ 6753.278136] android_work: android_work: sent uevent USB_STATE=DISCONNECTED
[ 6753.312837] android_work: android_work: sent uevent USB_STATE=CONNECTED
[ 6753.315710] android_work: android_work: sent uevent USB_STATE=DISCONNECTED
[ 6753.419442] android_usb gadget: high-speed config #1: fe8050c8.android_usb
[ 6753.423516] android_work: android_work: sent uevent USB_STATE=CONNECTED
[ 6753.477610] android_work: android_work: sent uevent USB_STATE=CONFIGURED
[ 6756.087194] max17048_interrupt_handler : MAX17048 interupt occured
[ 6756.088810] max17048_get_config : config = 0x327e
[ 6756.089786] max17048_get_status : status = 0x20ff
[ 6756.093164] max17048_work : Raw SOC : 0xa621 / vcell : 0xd09
[ 6756.093928] max17048_work : Reported Capacity : 88 / voltage : 4171
[ 6756.094424] max17048_clear_interrupt.
[ 6756.101731] max17048_set_rcomp_by_temperature : temp = 29, pre_rcomp = 0x32 -> new_rcomp = 0x32
[ 6756.106423] bq24296_batt_power_get_property: get charger_timeout : 1[D]