How to root android 5.1.1 in sabresd imx6q board?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to root android 5.1.1 in sabresd imx6q board?

967 Views
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

Tags (1)
0 Kudos
5 Replies

131 Views
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 Kudos

131 Views
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 Kudos

131 Views
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 Kudos

131 Views
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 Kudos

131 Views
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 Kudos