We are working with Android 11 image from Kynetics with Toradex Colibri iMX8QXP on Colibri Evaluation Board V3.
We were able to enable wifi debugging and connect to the device via adb. However we are facing issues with USB debugging.
After enabling USB debugging from developer settings and connecting a micro usb to usb at X30(OTG/USB) with JP2 not shorted, the device shows USB debugging enabled. But the PC cannot detect the connected device via ADB.
Do we need to do anything else to enable USB debugging?
the image has been tested with the Iris carrier board 2.0, so no guarantee it works on the Colibri Evaluation Board:
Have you tested on the Iris?
Okay, thanks for the info.
Nope, we do not have the Iris carrier board.
Planning to get an Apalis IMX8X soc with Ixora board soon.
Will try with that.
There is also a known issue on the QXP image related to the device serial number, you van also try the following:
root the device with adb root
Remount the device in R/W (using adb remount)
adb shell and identify the init.rc file: vendor/etc/init/hw/init.freescale.rc
3.1 identify the early-init section in the file
add the setprop ro.serialno 21321312
remount the system in read only
Thanks a lot for this fix. However after these, I’m getting an error that the USB device cannot be recognized with the following error.
Windows has stopped this device because it has reported problems. (Code 43)
A request for the USB device descriptor failed.
Any idea why I’m getting this issue?
Make sure you have the latest driver installed: Get the Google USB Driver | Android Studio | Android Developers
Try also on linux as a backup.
Thanks for the tip, but it didn’t seem to fix the issue.
I’m guessing it’s a hardware specific issue.
I would need to try with another board probably
Can you try on a Linux host?
we do not have a Linux machine with us at the moment. I would update the ticket once we are able to test it out.
Consider also that the BSP is for the IRIS carrier board and not the Evaluation Board (big one).
We tested on Windows after the patch of the rc.file and it works. For completion this is detailed procedure (including pushing the file which I took for granted):
$ adb root
$ adb remount
$ adb pull vendor/etc/init/hw/init.freescale.rc
– add the ‘setprop ro.serialno 21321312’ line in the early-init section
$ adb push init.freescale.rc /vendor/etc/init/hw/init.freescale.rc
$ adb shell sync
$ adb reboot