Linux adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system 不允许操作

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/16394642/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-06 22:52:08  来源:igfitidea点击:

adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system Operation not permitted

androidlinux

提问by Android

i have put this command but facing this problem

我已经把这个命令,但面临这个问题

Operation not permitted

不允许操作

 adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system  

and this error is shown

并显示此错误

Operation not permitted

回答by triclosan

You have to be a rootto remount /system.

你必须是一个root重新安装/system

Check is this true by idcommand.

通过id命令检查是否为真。

I guess you have only permissions of user-shell

我猜你只有用户的权限-shell

addIf you are really root - you may try adb remountcommand. This command is exactly what you are looking for.

添加如果你真的是 root - 你可以尝试adb remount命令。这个命令正是你要找的。

回答by luckykaa

What I found worked for me on a rooted device

我发现在有根设备上对我有用

adb shell

su

abd mount -o remount,rw {whatever options you want}

亚行外壳

abd mount -o remount,rw {任何你想要的选项}

su didn't ask for a password

su 没有要求输入密码

回答by suraj209

If you have rooted phone then go to terminal and hit the below command to get all access

如果您已植根电话,请转到终端并点击以下命令以获取所有访问权限

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

mount -o 重新挂载,rw -t yaffs2 /dev/block/mtdblock3 /system

This helped me

这帮助了我