iMX8QM MEK Android Automotive OS 10 Root Permmision Denied Error

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

iMX8QM MEK Android Automotive OS 10 Root Permmision Denied Error

Jump to solution
348 Views
efecancebel
Contributor IV

Hello,

I am developing application on iMX8QM MEK EVK with Android Automotive OS 10.

I downloaded and compiled the Android Automotive OS 10 source codes from NXP's official site and I'm running on my board.

The type of my android image is "userdebug".

I want to run commands containing "su" authority in the application I have developed.

However, when I upload the apk to the board, I get a "Permission Denied" error in the command that works with "su".

How do I root this device directly?

Or what way can you suggest for this issue?

Best regards,

Efecan

0 Kudos
1 Solution
324 Views
brian14
NXP TechSupport
NXP TechSupport

Hi @efecancebel,

You could try using Android Debug Bridge (ADB) with the following commands:

$adb root
$adb disable-verity
$adb reboot

If you have any questions or concerns, don’t hesitate to let me know.

Best regards, Brian.

View solution in original post

0 Kudos
1 Reply
325 Views
brian14
NXP TechSupport
NXP TechSupport

Hi @efecancebel,

You could try using Android Debug Bridge (ADB) with the following commands:

$adb root
$adb disable-verity
$adb reboot

If you have any questions or concerns, don’t hesitate to let me know.

Best regards, Brian.

0 Kudos