I tried all the commands and suggestions available in stackoverflow and online but none worked
and many more but nothing works for me
I am getting below error - None of below commands are working.
$adb root $adb disable-verity
For
$adb remount remount of / failed: Permission denied remount failed
So then I tried with different commands like
$ adb shell mount -o rw,remount /system mount: '/system' not in /proc/mounts $ adb shell mount -o rw,remount / '/dev/root' is read-only $ adb shell mount -o rw,remount -t /dev/block/stl12 system mount: 'system' not in /proc/mounts $ adb shell "su 0 mount -o rw,remount /system" mount: '/system' not in /proc/mounts $ adb shell $ su # mount -o rw,remount /system mount: '/system' not in /proc/mounts
adb remount put /system partition in writable mode. By default /system is only readable. It could only be done on rooted device. It must be done before pushing file on /system partition.
So to enable the adb root command on your otherwise rooted device just add the ro. debuggable=1 line to /system/build. prop file. If you want adb shell to start as root by default - then add ro.
I had the same issue.The solution is to mount the root (/). After this you can write to /system.
mount -o rw,remount /
Don't forget to reset the state to 'ro'.
mount -o ro,remount /
> adb root > adb shell avbctl disable-verification Successfully disabled verification. Reboot the device for changes to take effect. > adb disable-verity using overlayfs Successfully disabled verity Now reboot your device for settings to take effect > adb reboot > adb root && adb remount remount succeeded > adb push ScreenCap.apk /system/app/ ScreenCap.apk: 1 file pushed. 33.1 MB/s (1640812 bytes in 0.047s) > adb reboot
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With