当adb push *.apk /system/app的时候出现Read-only file system的时候adb shell mount -o remount / /
当运行一个命令的时候出现
rm failed for CoeeRoat.apk, Read-only file system
adb shell mount -o remount rw /system 挂载设备
内置应用:
adb shell mount -o remount rw /system
adb push clock.apk /system/app/clock.apk
删除内置应用:
adb shell mount -o remount rw /system
adb shell
cd system/app
rm -rf clock.apk
bat 文件:
adb shell mount -o remount,rw /dev/block/mtdblock3 /system
adb push sssss /system/bin/rota
adb shell sync
adb shell chown root.shell /system/bin/rota
adb shell chmod 6755 /system/bin/rota
adb shell rm -r /system/xbin/sssss
adb shell sync
adb shell ln -s /system/bin/sssss /system/xbin/sssss
adb shell sync
adb shell mount -o remount,ro /dev/block/mtdblock3 /system
pause