Reputation: 21
Hi I have an HTC ONE rooted. I would like to modify a file in the /system/etc folder, but even if I mount through the terminal the file system in write mode, when I try to modify something with my editor, it says "only read file system".
The command I used is "mount -o rw, remount -t rootfs /system"
Any suggestion? Android version is 4.3
Thanks!
Upvotes: 2
Views: 14747
Reputation: 5531
For rooted device:
Goto ES File Explorer
NOW YOU CAN EVEN REPLACE(OVERWRITE) any /system/etc folder.
Tested on My 4.4.2 OS
Enjoy !!!!
Upvotes: 2
Reputation: 34497
You have to change the permission if you are not allowed.
chmod 777 file_path
It will give permission to read/write/execute to all the users,group,other
Before this do execute the below commands
adb shell
su
mount -o rw,remount rootfs /
Upvotes: 2