Device Remount issue and can not seten fastboot oem unlock in imx8mq (Android9).

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Device Remount issue and can not seten fastboot oem unlock in imx8mq (Android9).

503 Views
charleshuang
Senior Contributor II

Hi NXP

1.Our platform is imx8mq demo board.

2. Android 9

3. Request : adb remount 

From our cutomer question

At present, the root operation will still fail, because the permissions of the system folder cannot be rewritten, and the apk cannot be placed under system/app/ (as shown in the figure)

I search for this topic in the NXP forum. there is a possible solution is listed as follows, but the same question happened, we can’t send any command in bootloader mode,

 

Unlock the device.
Boot up the device.
Choose Settings -> Developer Options -> OEM Unlocking to enable OEM unlocking.
Enter Fastboot mode on the device. Execute the following command on the target side:
      reboot bootloader

Unlock the device. Execute the following command on the host side:
      fastboot oem unlock
Wait until the unlock process is complete.
Disable DM-verity.
Boot up the device.
Disable the DM-verity feature. Execute the following command on the host side:
      adb root
      adb disable-verity

      adb reboot 

Or could you give us an alternate way such as “To remount the system partition as writable on the system boot”, etc.

Thanks

Labels (1)
0 Kudos
1 Reply

480 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @charleshuang,

I hope you are doing well.

Please follow below provided steps and share the observation.

scrcpy -m 768 -> To get UI

developer mode -> oEm unlock
Unlock OEM from UI
reboot bootloader -> on minicom

Then use the below command on the host machine and wait for a few mins
sudo fastboot oem unlock
adb reboot

adb kill-server
sudo adb start-server
adb root
adb disable-verity
adb reboot
adb root
adb remount
adb shell mount -o rw,remount /vendor
adb push <file> <location>
adb reboot
scrcpy -m 768
 -> to open GUI

Thanks & Regards,
Dhruvit Vasavada

0 Kudos