Get root, access to command line

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Get root, access to command line

2,114件の閲覧回数
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.

ラベル(7)
0 件の賞賛
返信
2 返答(返信)

1,851件の閲覧回数
vikaskolapudi
Contributor I

Hi Gusarambula,

It helped a lot !!!!

Thanks for supporting us.

Thanks & Regards,

Joseph Vikas.

0 件の賞賛
返信

1,851件の閲覧回数
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 件の賞賛
返信