android adb shel l命令使用 解决 Read-only file system

android adb shell命令使用  
当运行一个命令的时候出现
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

你可能感兴趣的:(android)