安卓 2.3 : Read-Only file system stuck

标签 android linux shell permissions adb

<分区>

嗨。我有一个 LG-Optimus HUB E510 Android 设备。

两周前,我对我的设备进行了 root 操作以访问内部存储并更改了一些文件(例如警报、通知、声音等)。

我做到了。但是恢复出厂设置后,内部存储文件又变成了只读。

然后我尝试使用 adb-shell 更改文件夹和文件的权限

chmod  777  "folder destination"

但是 shell 响应为

Unable to chmod system/media/audio/alarms: Read-only file system

现在我不知道该怎么办。所以,我需要你的建议。谢谢。


图片

这是在 ubuntu 中从 shell 更改权限的尝试 This is the changing permission attempt from shell in ubuntu 在 eclipse DDMS 透视图中包含当前权限的文件 The files included with current permissions in eclipse DDMS perspective

最佳答案

尝试使用以下方式之一:
mount -o rw,remount -t rootfs/system
或者
mount -o rw,remount -t rootfs rootfs/system

您也可以将它用于您需要的任何文件夹,甚至是根目录 (/)

关于安卓 2.3 : Read-Only file system stuck,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18918456/

相关文章:

c - 如何使用C语言的linux restart功能来关闭Linux(Ubuntu)系统?

linux - tar 命令 : what is dash for?

linux - 安装 Bash 的第二个实例(使用不同的配置)

android - 在未连接 USB 的情况下运行 UiAutomator 2.0 测试用例

php - 安装package.json

java - 如何设置按钮的 onClick,以便它根据星期几将我带到某个 Activity ?

c - F_SETPIPE_SZ 未声明

windows - FFMPEG 的输入参数

android - 用于 Android 编程的 XML

java - Android - Retrofit2 - java.security.cert.CertPathValidatorException : Trust anchor for certification path not found