반응형

문제/에러명

>adb disable-verity 명령어를 입력했을 시 아래와 같은 에러를 겪음.
Device is locked. Please unlock the device first

 

> mount -o rw,remount /system

mount: '/system' not in /proc/mounts

 

> adb shell 'su mount -o rw,remount /system'

su: failed to exec -o: Permission denied

Any command will not remount.

 

해결방법

디바이스를 Unlock 해줘야합니다.

1. 디바이스를 Unlock

  a. 디바이스를 킵니다.

  b. 설정 -> 개발자 옵션 -> OEM Unlocking to enable OEM unlocking.

  c. 아래의 커맨드를 실행합니다.

      adb reboot bootloader

  d. Unlock the device. 아래의 커맨드를 실행합니다.
      fastboot oem unlock

  e. Wait until the unlock process is complete.

 

2. Disable DM-verity.

  a. Boot up the device.

  b. Disable the DM-verity feature. Execute the following command on the host side:
      adb root

      adb disable-verity

      adb reboot

 

참고자료/출처

https://community.nxp.com/t5/i-MX-Processors/How-to-remount-system-8-1-imx8m/m-p/854381

반응형