R-Car/Boards/Yocto-Gen3-CommonFAQ/How to write files to the read-only partitions on Android

From eLinux.org
Jump to: navigation, search

How to write files to the read-only partitions on Android

Please refer to the following:

$ adb root
restarting adbd as root
$ adb disable-verity
Successfully disabled verity
Now reboot your device for settings to take effect
$ adb reboot
$ adb root
restarting adbd as root
$ adb remount
remount succeeded
$ adb push ./dummy.txt /system/
./dummy.txt: 1 file pushed. 0.0 MB/s (7 bytes in 0.023s)