0

I am running an Ubuntu 14 host machine on my PC and recently I got an Eragon 820 Development kit which is running on Android Marshmallow, everything was working fine until I click the factory reset option in the Android settings.

After that the adb / fastboot neither working and In the Dmesg am getting like this

[  308.326141] usb 2-1.3: new high-speed USB device number 18 using ehci-pci
[  308.420065] usb 2-1.3: New USB device found, idVendor=18d1, idProduct=d001
[  308.420072] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  308.420076] usb 2-1.3: Product: MSM8996 for arm64
[  308.420079] usb 2-1.3: Manufacturer: unknown
[  308.420083] usb 2-1.3: SerialNumber: 77a941ec
[  310.055562] usb 2-1.3: usbfs: USBDEVFS_CONTROL failed cmd adb rqt 128 rq 6 len 256 ret -110
[  311.971228] usb 2-1.3: USB disconnect, device number 18

these same 8 lines keep on repeating (i.e. the device connects, is recognized, some adb rqt… fails, device is disconnected again).

Anyone know how to fix this issue?

  • 1
    Have you setup the proper udev rules? See my answer here for details. You probably could take the udev rule I've posted there, adjusting ATTRS{idProduct}=="4e22" to ATTRS{idProduct}=="d001". – Izzy Jan 27 '17 at 12:19
  • @lzzy Thank you for your quick replay, yes i already added the the idproduct and vendor id in the 51-android.rules file, but it's not showing the device at adb devices commad – aslam Jan 28 '17 at 5:44
  • Looks like the device is having some issues then. Reading the log again with that in mind, it seems Linux tries to apply some ADB command, fails, and disconnects the device (the last 2 lines). You could try another factory-reset, this time from recovery (wipe cache & data) and see if that helps, maybe something was incomplete on the previous run. Not sure if that helps, but worth a try. – Izzy Jan 28 '17 at 10:49
  • @lzzy Even i loaded a fresh image into it through fastboot mode, but still the device is not booting. Is this due to bootloader is correpted? – aslam Jan 30 '17 at 7:03
  • No idea. But if it where corrupted, you couldn't have used fastboot. Btw, the device not booting up is not what your question is about – or at least you didn't mention that. If it's not booted up, the ADB daemon on it might not be started properly, which would explain the issue. – Izzy Jan 30 '17 at 11:00
1

Did you enable the developer options again after doing a factory reset?If not follow the below steps to enable it.

Go to Settings, About phone and tap on build number 7 times to unlock/enable Developer options again (factory reset would've put it back to the default of locked/disabled).

Enable USB debugging from the developer options after the above step for adb/fastboot to work.

  • Thank you for prompt replay, After i click the factory reset option on android the device is not booting up. if the device detected i can load new image – aslam Jan 28 '17 at 5:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.