adb remount 权限被拒绝,但能够在 shell 中访问超级用户 -- android [英] adb remount permission denied, but able to access super user in shell -- android
问题描述
所以,我正在尝试将一些文件推送到 Android 设备 (zte) 上的/system我已经扎根,与亚行相连,
so, i'm trying to push some files to /system on android device (zte) I've rooted, connected with ADB,
adb remount -> 我的权限被拒绝adb shell su -> 我可以访问 shell 并创建文件夹等并编辑文件系统
adb remount -> I get permission denied adb shell su -> I'm able to access shell and create folders etc and edit filesystem
(但在 shell 中我无法将文件从我的计算机复制到设备)
(but in shell I can't copy a file from my computer to device)
请帮忙
推荐答案
如果以后有人遇到同样的问题:
In case anyone has the same problem in the future:
$ adb shell
$ su
# mount -o rw,remount /system
adb remount
和 adb root
都不能在不改变 ro.secure 的情况下在生产版本上工作,但是您仍然可以通过打开 shell 重新挂载/system,询问获取 root 权限并输入 mount 命令.
Both adb remount
and adb root
don't work on a production build without altering ro.secure, but you can still remount /system by opening a shell, asking for root permissions and typing the mount command.
这篇关于adb remount 权限被拒绝,但能够在 shell 中访问超级用户 -- android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!