【发布时间】:2016-05-31 22:32:02
【问题描述】:
在使用 android debug bridge remount 时,它会将系统文件夹更改为 r/w,但是 一旦用户尝试使用 android 调试桥将某些文件复制到系统文件夹,它就会更改为只读
【问题讨论】:
-
是的,设备已植根。
在使用 android debug bridge remount 时,它会将系统文件夹更改为 r/w,但是 一旦用户尝试使用 android 调试桥将某些文件复制到系统文件夹,它就会更改为只读
【问题讨论】:
如果设备没有root,则无法将任何内容复制到系统或数据分区。
使用 root 在命令提示符或 linux shell 中执行以下命令,一切都应该没问题:
adb push fileName /data/local/tmp
adb shell
su
mount -o remount, rw /system
cp /data/local/tmp/fileName /system/folderOfYourChoise
chmod 644 (if its an apk and you want the system to use it as a system app)
exit (exits the su shell)
exit (exits the adb shell)
adb reboot (to apply and see changes on the device)
【讨论】: