How to root android 5.1.1 in sabresd imx6q board?

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

How to root android 5.1.1 in sabresd imx6q board?

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

ラベル(5)
タグ(1)
0 件の賞賛
返信
5 返答(返信)

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