How to root android 5.1.1 in sabresd imx6q board?

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

How to root android 5.1.1 in sabresd imx6q board?

2,061 次查看
surajk
Contributor I

Hi all,

     We are trying to enable Bluetooth and Wifi in sabresd imx6q board running Android Lollipop 5.1.1 using Murata module EVB Type XQ.As per the Murata document ,to have the BT and Wifi support we are supposed to modify the files present in /system/etc/firmware/bcm/ from adb shell in linux machine .But to write files on to the system partition we need to have root access.

For example :

root@sabresd_6sx:/ # cp /sdcard/bcmdhd.cal /etc/firmware/bcm/

Inorder to copy files from /sdcard  to /system we need to have root access ,so the above command was not executed and the output was as follows.

error:/Read -Only-File System

标记 (1)
0 项奖励
回复
5 回复数

1,225 次查看
gary_bisson
Senior Contributor III

Hi,

From the log you sent you are already "rooted". It already says root@sabresd_6qd# which means you are root.

But what you want is not being root, you just want to mount the system partition as read/write. The easiest solution to do so is to issue the following command from your host pc:

$ adb remount

Regards,

Gary

0 项奖励
回复

1,225 次查看
deepakkalalband
Contributor II

Hi Gary,

     The command  "  root@sabresd_6sx:/ # cp /sdcard/bcmdhd.cal /etc/firmware/bcm/ "  was mentioned in the document ,we could not go to the root ,our command was something like

"sabresd@sabresd_6dq " .So we could not execute the mentioned command.

Thanks

Suraj

0 项奖励
回复

1,225 次查看
CarlosCasillas
NXP Employee
NXP Employee

Hi Suraj,

In order to have root access on Android BSPs, it is required to build the image with the option “userdebug”, as indicated on section 3.4 “Building Android images” of the “Android User's Guide” document (attached).

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

0 项奖励
回复

1,225 次查看
deepakkalalband
Contributor II

Hi Carlos,

     Thanks for your reply.We are actually using the pre-built images downloaded from NXP website,we don't know the build type of that image.

Thanks

Suraj

0 项奖励
回复

1,225 次查看
CarlosCasillas
NXP Employee
NXP Employee

Hi Suraj,

The prebuilt demo images are compiled on "user" mode, so, it will  be required to download the source code and recompile with the required option.

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

0 项奖励
回复