Get root, access to command line

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

Get root, access to command line

1,194 Views
vikaskolapudi
Contributor I

Hi

We would like to load our drivers through adb shell, We are using adb because we are not able to access command prompt. Is there any other way to

1. Get the command line access.

2. Load drivers from adb shell as it is not giving permissions to access the root.

Thanks & Regards,

Vikas.

0 Kudos
2 Replies

931 Views
vikaskolapudi
Contributor I

Hi Gusarambula,

It helped a lot !!!!

Thanks for supporting us.

Thanks & Regards,

Joseph Vikas.

0 Kudos

931 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello vikas kolapudi,

You would need to start adb as root, this requires the image to be built as userdebug, which is similar to the user buildtype with root access and debuggability, otherwise permission will be denied.

For example for the i.MX6Q Sabre SD you would need to configure:

$ lunch sabresd_6dq-userdebug

After that you would just need to run

$ adb root

And after that you can enter the shell with root privileges.

$ adb shell

I hope this helps!

0 Kudos