Get root, access to command line

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Get root, access to command line

2,103 次查看
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 项奖励
回复
2 回复数

1,840 次查看
vikaskolapudi
Contributor I

Hi Gusarambula,

It helped a lot !!!!

Thanks for supporting us.

Thanks & Regards,

Joseph Vikas.

0 项奖励
回复

1,840 次查看
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 项奖励
回复