You are not logged in.

#1 2022-06-18 18:36:53

amr962
Member
Registered: 2021-02-11
Posts: 51

[SOLVED] Android USB constantly reconnecting

Plugging in my phone, regardless of the connection type chosen from the device (File Transfer, USB tethering, MIDI, PTP, No data transfer), makes it dis- and reconnect like crazy. Following output from journal -b with root privileges:

Jun 18 19:45:50 dell kernel: usb 1-3: new high-speed USB device number 5 using xhci_hcd
Jun 18 19:45:50 dell kernel: usb 1-3: New USB device found, idVendor=X, idProduct=X, bcdDevice= X
Jun 18 19:45:50 dell kernel: usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 18 19:45:50 dell kernel: usb 1-3: Product: X
Jun 18 19:45:50 dell kernel: usb 1-3: Manufacturer: X
Jun 18 19:45:50 dell kernel: usb 1-3: SerialNumber: X
Jun 18 19:45:50 dell kernel: usb 1-3: USB disconnect, device number 5
Jun 18 19:45:50 dell kernel: usb 1-3: new high-speed USB device number 6 using xhci_hcd
Jun 18 19:45:50 dell kernel: usb 1-3: New USB device found, idVendor=X, idProduct=X, bcdDevice= X
Jun 18 19:45:50 dell kernel: usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 18 19:45:50 dell kernel: usb 1-3: Product: X
Jun 18 19:45:50 dell kernel: usb 1-3: Manufacturer: X
Jun 18 19:45:50 dell kernel: usb 1-3: SerialNumber: X
Jun 18 19:45:50 dell kernel: usb 1-3: USB disconnect, device number 6
Jun 18 19:45:50 dell kernel: usb 1-3: new high-speed USB device number 7 using xhci_hcd
Jun 18 19:45:51 dell kernel: usb 1-3: New USB device found, idVendor=X, idProduct=X, bcdDevice= X
Jun 18 19:45:51 dell kernel: usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 18 19:45:51 dell kernel: usb 1-3: Product: X
Jun 18 19:45:51 dell kernel: usb 1-3: Manufacturer: X
Jun 18 19:45:51 dell kernel: usb 1-3: SerialNumber: X
Jun 18 19:45:51 dell kernel: usb 1-3: USB disconnect, device number 7

... And it keeps going.
This hadn't always happened, however I don't know what might've caused it. I've tried all 3 USB ports and checked that they work with some mouse I have laying around, so the problem doesn't seem to be on their side.
I doubt this has something to do with autosuspend, nonetheless I've tried blacklisting this specific device and it didn't change anything.
My searches could only find this, which happens with a touchscreen.

Trying a different android phone works and produces following output in journal:

Jun 18 20:24:45 dell kernel: usb 1-3: new high-speed USB device number 112 using xhci_hcd
Jun 18 20:24:45 dell kernel: usb 1-3: New USB device found, idVendor=X, idProduct=X, bcdDevice= X
Jun 18 20:24:45 dell kernel: usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 18 20:24:45 dell kernel: usb 1-3: Product: X
Jun 18 20:24:45 dell kernel: usb 1-3: Manufacturer: X
Jun 18 20:24:45 dell kernel: usb 1-3: SerialNumber: X
Jun 18 20:24:45 dell kernel: usb-storage 1-3:1.1: USB Mass Storage device detected
Jun 18 20:24:45 dell kernel: scsi host2: usb-storage 1-3:1.1
Jun 18 20:24:45 dell kernel: usbcore: registered new interface driver usb-storage
Jun 18 20:24:45 dell kernel: usbcore: registered new interface driver uas
Jun 18 20:24:46 dell kernel: scsi 2:0:0:0: CD-ROM            Linux    File-CD Gadget   0409 PQ: 0 ANSI: 2
Jun 18 20:24:46 dell kernel: sr 2:0:0:0: Power-on or device reset occurred
Jun 18 20:24:46 dell kernel: sr 2:0:0:0: [sr0] scsi-1 drive
Jun 18 20:24:46 dell kernel: cdrom: Uniform CD-ROM driver Revision: 3.20
Jun 18 20:24:46 dell kernel: sr 2:0:0:0: Attached scsi CD-ROM sr0

Any ideas? Thanks in advance.

Last edited by amr962 (2022-06-20 16:46:56)

Offline

#2 2022-06-18 18:46:03

Maniaxx
Member
Registered: 2014-05-14
Posts: 732

Re: [SOLVED] Android USB constantly reconnecting

Does the phone work properly on a different system (Windows)? What Android OS is installed? Custom rom? Then try USB in TWRP/recovery. Try a different USB cable. Check logcat on Android side.


sys2064

Offline

#3 2022-06-18 19:54:17

amr962
Member
Registered: 2021-02-11
Posts: 51

Re: [SOLVED] Android USB constantly reconnecting

1. No. Tried on same computer with Windows 10, it keeps showing the notification for the new device.
2. ArrowOS
3. Yes
4. Same, but with new error messages:

...
Jun 18 20:54:37 dell kernel: usb 1-3: new high-speed USB device number 117 using xhci_hcd
Jun 18 20:54:37 dell kernel: usb 1-3: Device not responding to setup address.
Jun 18 20:54:38 dell kernel: usb 1-3: Device not responding to setup address.
Jun 18 20:54:38 dell kernel: usb 1-3: device not accepting address 117, error -71
Jun 18 20:54:38 dell kernel: usb 1-3: new high-speed USB device number 118 using xhci_hcd
...
Jun 18 20:54:44 dell kernel: usb 1-3: new high-speed USB device number 125 using xhci_hcd
Jun 18 20:54:44 dell kernel: usb 1-3: device descriptor read/64, error -71
Jun 18 20:54:44 dell kernel: usb 1-3: New USB device found, idVendor=X, idProduct=X, bcdDevice= X
...

For the " device not accepting address X, error -71" the address is different everytime.

5. Don't have one unfortunately.
6. Logcat when plugging in:

06-18 21:00:49.069 I/UsbDeviceManager( 1328): Setting USB config to mtp
06-18 21:01:09.623 I/UsbDeviceManager( 1328): Setting USB config to mtp
06-18 21:03:38.101 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:38.108 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:38.298 E/MtpServe
06-18 21:03:38.576 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:38.580 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:38.781 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:39.059 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:39.062 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:39.261 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:39.539 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:39.541 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:39.738 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:40.024 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:40.028 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:40.227 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:40.507 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:40.511 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:40.718 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:40.994 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:40.997 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:41.208 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:41.486 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:41.489 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:41.694 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:41.975 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:41.978 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:42.174 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:42.457 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:42.461 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:42.654 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:42.938 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:42.942 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:43.149 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:43.418 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:43.421 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:43.628 E/MtpServer( 3884): request read returned -1, errno: 5
pService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:43.908 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:44.118 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:44.394 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:44.398 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:44.601 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:44.873 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:44.875 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:45.084 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:45.360 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:45.362 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:45.564 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:45.840 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:45.842 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:46.046 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:46.322 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:46.324 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:46.534 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:46.817 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:46.821 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:47.031 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:47.308 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:47.312 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:47.517 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:47.793 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:47.796 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:48.004 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:48.283 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:03:48.286 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:48.298 I/UsbDeviceManager( 1328): Setting USB config to mtp
06-18 21:03:48.301 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:48.355 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
06-18 21:03:48.356 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:48.360 V/MtpService( 3884): Adding MTP storage:/storage/emulated/0
06-18 21:03:49.142 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:49.417 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
06-18 21:03:49.421 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:49.425 V/MtpService( 3884): Adding MTP storage:/storage/emulated/0
06-18 21:03:49.629 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:49.906 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
06-18 21:03:49.908 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:49.912 V/MtpService( 3884): Adding MTP storage:/storage/emulated/0
06-18 21:03:50.114 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:50.392 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
06-18 21:03:50.396 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:50.401 V/MtpService( 3884): Adding MTP storage:/storage/emulated/0
06-18 21:03:50.587 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:50.862 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
06-18 21:03:50.865 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:50.870 V/MtpService( 3884): Adding MTP storage:/storage/emulated/0
06-18 21:03:51.061 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:51.346 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
06-18 21:03:51.349 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:51.353 V/MtpService( 3884): Adding MTP storage:/storage/emulated/0
06-18 21:03:51.548 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:51.823 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
06-18 21:03:51.827 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:51.832 V/MtpService( 3884): Adding MTP storage:/storage/emulated/0
06-18 21:03:52.024 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:52.304 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
06-18 21:03:52.308 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:52.313 V/MtpService( 3884): Adding MTP storage:/storage/emulated/0
06-18 21:03:52.514 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:52.792 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
06-18 21:03:52.795 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:52.798 V/MtpService( 3884): Adding MTP storage:/storage/emulated/0
06-18 21:03:53.006 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:53.282 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
06-18 21:03:53.285 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:53.288 V/MtpService( 3884): Adding MTP storage:/storage/emulated/0
06-18 21:03:53.502 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:53.775 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
06-18 21:03:53.779 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:53.784 V/MtpService( 3884): Adding MTP storage:/storage/emulated/0
06-18 21:03:53.981 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:54.261 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
06-18 21:03:54.265 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:54.270 V/MtpService( 3884): Adding MTP storage:/storage/emulated/0
06-18 21:03:54.469 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:54.747 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
06-18 21:03:54.751 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:54.755 V/MtpService( 3884): Adding MTP storage:/storage/emulated/0
06-18 21:03:54.948 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:55.223 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
06-18 21:03:55.226 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:55.230 V/MtpService( 3884): Adding MTP storage:/storage/emulated/0
06-18 21:03:55.425 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:55.702 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 unlocked as user 0
06-18 21:03:55.705 I/MtpService( 3884): Couldn't get control FD!
06-18 21:03:55.711 V/MtpService( 3884): Adding MTP storage:/storage/emulated/0
06-18 21:03:55.901 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:03:56.903 I/UsbDeviceManager( 1328): Setting USB config to mtp
06-18 21:06:41.409 I/UsbDeviceManager( 1328): Setting USB config to mtp
06-18 21:12:49.968 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:49.971 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:50.169 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:50.449 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:50.453 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:50.659 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:50.937 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:50.940 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:51.149 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:51.422 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:51.424 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:51.633 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:51.907 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:51.909 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:52.123 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:52.396 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:52.399 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:52.603 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:52.881 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:52.884 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:53.089 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:53.365 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:53.368 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:53.576 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:53.850 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:53.852 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:54.059 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:54.343 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:54.346 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:54.553 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:54.828 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:54.832 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:55.036 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:55.313 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:55.316 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:55.519 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:55.795 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:55.798 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:56.003 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:56.282 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:56.286 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:56.489 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:56.761 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:56.764 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:56.976 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:57.259 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:57.262 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:57.473 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:57.751 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:57.754 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:57.962 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:58.239 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:58.242 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:58.449 E/MtpServer( 3884): request read returned -1, errno: 5
06-18 21:12:58.728 D/MtpService( 3884): starting MTP server in MTP mode with storage /storage/emulated/0 as user 0
06-18 21:12:58.732 I/MtpService( 3884): Couldn't get control FD!
06-18 21:12:58.939 E/MtpServer( 3884): request read returned -1, errno: 5

So it's clear that the problem is with my phone, the last update must've broke it.

Offline

#4 2022-06-18 21:41:10

amr962
Member
Registered: 2021-02-11
Posts: 51

Re: [SOLVED] Android USB constantly reconnecting

So, apparently restarting while having the device connected solves the issue? Weird.

Offline

#5 2022-06-19 07:43:06

Maniaxx
Member
Registered: 2014-05-14
Posts: 732

Re: [SOLVED] Android USB constantly reconnecting

This is a typical scenario for a weak cable. I would check that first.


sys2064

Offline

#6 2022-06-19 12:01:23

amr962
Member
Registered: 2021-02-11
Posts: 51

Re: [SOLVED] Android USB constantly reconnecting

I've just remembered I have my older phone's USB-c cable, the issue persists however. Since my current Android version (11) is no longer maintained by the developers of the ROM, I'll upgrade to 12.1 in the upcoming weeks and report back, I'm now fairly certain the problem lies in the ROM.

Offline

#7 2022-06-19 12:47:32

Maniaxx
Member
Registered: 2014-05-14
Posts: 732

Re: [SOLVED] Android USB constantly reconnecting

You could ask on XDA. If it's a bug indeed you're probably not alone. But if TWRP is affected as well it might be rather the kernel or a hardware issue.
What device is it?

Last edited by Maniaxx (2022-06-19 12:47:57)


sys2064

Offline

#8 2022-06-19 13:36:29

amr962
Member
Registered: 2021-02-11
Posts: 51

Re: [SOLVED] Android USB constantly reconnecting

I've searched for this problem in the ROMS Telegram group but I didn't find anything, and I would ask, when my software was up to date, but even my TWRP needs an update. As far as I'm aware, the ROM comes with the kernel. Honestly I don't find it worthwhile looking for this on XDA with the god awful search function just to find a post telling me to update. I'll just update everything all together when I have time. For now, I'll keep using samba for file-sharing and restart when I need to flash using PC. Should I mark this as solved/closed?

Thanks for the help.

Last edited by amr962 (2022-06-19 13:36:42)

Offline

#9 2022-06-20 05:38:13

Maniaxx
Member
Registered: 2014-05-14
Posts: 732

Re: [SOLVED] Android USB constantly reconnecting

Yes, you can mark as solved.


sys2064

Offline

Board footer

Powered by FluxBB