NXP imx8qxp with Android 9 adb connection issue on Windows10

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NXP imx8qxp with Android 9 adb connection issue on Windows10

Jump to solution
5,605 Views
rlach
Contributor II

Hi All, 

I'm working on NXP imx8qxp based system with Android 9 installed. I install this image (andorid_p9.0.0_2.3.0_image_8qmek) to SD card and boot the device from it. Then, I connect USB cable from my board to Windows 10 PC and run adb command on Windows command prompt.

#adb devices: works fine

#adb shell: doesn't work 

Is that a known issue? Would anyone help me to fix this issue?

Note: On Linux PC, adb command works fine without any issues

Best Regards, 

Ratha 

Tags (1)
1 Solution
5,245 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Ratha,

Please check the attached document, that explains how to disable Android verity, that may help to solve your issues.

Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

-------------------------------------------------------------------------------

View solution in original post

4 Replies
5,245 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Ratha,

Have you installed android_platform-tools package before trying to use ADB on Windows?

You could also try with the following ADB sequence from Windows PowerShell or CMD:

# ./adb.exe devices
# ./adb.exe root
# ./adb.exe shell

In case of requiring additional support, please contact with your Sales/FAE as the i.MX8QXP family is still on preproduction.

Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

-------------------------------------------------------------------------------

5,245 Views
rlach
Contributor II

hi Carlos,

Thanks a lot for your help. I have installed android_platform-tools and tried to use ADB on Windows but it still didn't work well.

# ./adb.exe devices: works OK (able to detect device)

# ./adb.exe root: Not OK (adb: unable to connect for root: closed)

# ./adb.exe shell: Not OK (error: closed or hang)

Best Regards,

Ratha

0 Kudos
5,245 Views
rlach
Contributor II

hi Carlos,

It's likely that we need to install a correct adb usb driver on PC since it works fine on another Windows 7 PC. Actually, we tried to find it but not yet found a good one. It is very appreciated if you could recommend us adb usb driver that would work well with i.mx8qxp.

Ratha

0 Kudos
5,246 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Ratha,

Please check the attached document, that explains how to disable Android verity, that may help to solve your issues.

Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

-------------------------------------------------------------------------------