system files not can edit - Android Q&A, Help & Troubleshooting

hi guys, i not can edit the system files
i try to edit(i'm using X-Plore and is with superuser + write mode) and not can edit, i got a error
i not use other explorer because i not find the root options on the aplication

Most likely your system isn't mounted r/w. Try and use root explorer, it has the option to quickly mount and unmount system.

hi, u can say how to do this? sorry for questions, i dont find the option to mount

Related

[Q] Problem with Rooting 407 Rom

I have installed the Deodexed 407 Rom, and installed Streakmod Recovery and also installed superuser.zip, so in theory, from what I have read my streak should now be rooted.
But when I try and edit a file, the build.prop file in /system with Astro File Manager I alter some of the settings and save it, but when I reopen the file the changes had not been saved. I have tried seeing if I can change the permissions on the file, but without success.
I would be grateful if someone could assist me in where I am going wrong, hopefully it is something simple or a wrong setting that I am not quite doing correct.
spanner44 said:
I have installed the Deodexed 407 Rom, and installed Streakmod Recovery and also installed superuser.zip, so in theory, from what I have read my streak should now be rooted.
But when I try and edit a file, the build.prop file in /system with Astro File Manager I alter some of the settings and save it, but when I reopen the file the changes had not been saved. I have tried seeing if I can change the permissions on the file, but without success.
I would be grateful if someone could assist me in where I am going wrong, hopefully it is something simple or a wrong setting that I am not quite doing correct.
Click to expand...
Click to collapse
You have to mount the system as ReadWrite and there was no need for a new thread. You should've posted in the rooting thread
Sorry, for not putting it in the rooting thread, but didn't want to clog a general rooting thread with a specific problem.
I have solved this now thanks, but not with Astro File manager as I still cannot seem to change the permissions with that app, but used advanced tools app instead.
Thanks again anyway.
Yes i had same problem trying do root operations with file expert. I used root file explorer instead. Weird thing being that even with rooting permissions ticked file explorer failed.
For most root-enabled browsers, just enabling root permissions won't give you write access. You'll need to find a second option to mount the /system directory as read/write. That's normally somewhere in the Settings menu or on the directory's long-press menu.
ChicoKiri said:
For most root-enabled browsers, just enabling root permissions won't give you write access. You'll need to find a second option to mount the /system directory as read/write. That's normally somewhere in the Settings menu or on the directory's long-press menu.
Click to expand...
Click to collapse
It's mainly dependant on the kernel, all custom kernels automatically mount system as RW and all stock kernels mount it as RO
At least root explorer tells you that it's read only if you attempt to modify it without remounting, I havnt used ASTRO in a long time so I cant comment on that
Root explorer better for me
Sent from my PC36100 using xda premium

[Q] How do you remove boot audio?

I recently installed Charmeleon Rom v5.0.0 and I want to get rid of the android_audio.mp3 (boot animation audio).
When I try to delete the file with Root Explorer it says Failed to delete. When I try to delete the file with Terminal Emulator it gives me a access denied error.
I've been trying to find the answer through google for over an hour. It sounds like some Root Explorers you need to Mount R/W to have access to delete/rename files. This sounds like what I need but so far I can't find any Root Explorer apps that mention R/W.
Any ideas?
xenoc1de said:
I recently installed Charmeleon Rom v5.0.0 and I want to get rid of the android_audio.mp3 (boot animation audio).
When I try to delete the file with Root Explorer it says Failed to delete. When I try to delete the file with Terminal Emulator it gives me a access denied error.
I've been trying to find the answer through google for over an hour. It sounds like some Root Explorers you need to Mount R/W to have access to delete/rename files. This sounds like what I need but so far I can't find any Root Explorer apps that mention R/W.
Any ideas?
Click to expand...
Click to collapse
Did you remount the filesystem to r/w in root explorer before deleting the file?
Sent from my EVO using Tapatalk 2
Thats my issue. I dont know how to mount the /system to be rw.
I guess I'm on the right track but mount /system rw didn't seem to be the correct syntax.
check in tweaks
I used free ver of Rom tool box .there's a one called root browser in that ..
Sent from my HTC Incredible S using XDA
Lasantha said:
I used free ver of Rom tool box .there's a one called root browser in that ..
Sent from my HTC Incredible S using XDA
Click to expand...
Click to collapse
I was able to delete the file with Root Browser within Rom Toolbox Lite.
I think it's odd that the Root Browser included with Rom Toolbox Lite includes extra options that you don't have when you just download Root Browser by itself. Using the version included in Rom Toolbox Lite I updated the folder permissions to include write access then I was able to delete the file.
Thanks!

[Q] Unable to change file permission on rooted Samsung Galaxy S III

Hi,
I tried changing file permission on one of the folders where I saved my photos to read-only using "Root Browser Lite".
The following error message came up: "Changing permission was not successful. Please note that some file systems do not allow permission changes".
I tried using ES file explorer but it also failed.
Could someone please tell me how I could change the file or folder permission. I wanted to prevent the photos from being accidentally deleted by my children when I let them browse their photos..
My phone I9300 was rooted using CF Auto Root.
Thanks
Get root explorer, it's much better.
Simply long press on a folder and the permissions option is there.
Sent from my GT-I9300 using xda premium
Don't forget to set to rw at the top of root explorer before attempting to change permissions
If you're talking about the internal memory, you can do chattr +i /data/media/[name of folder] to set the immutable bit. EDIT: You need BusyBox installed for the chattr command
This works because /storage/sdcard0 (JB's usual mountpoint for the internal eMMC) is a fake FAT32 file system Google created for compatibility; the internal eMMC can really be found at /data/media, which is of the ext4 filesystem.
For the external memory, you can try SGS3 Easy UMS and set the read only property on the folder using your computer. (I can't find mattrib for Android.) There is no guarantee that Android/Linux programs will obey the RO attribute, however.
The reason why Root Browser Lite & ES File Explorer didn't work is because they work on UNIX file permissions, while a file system formatted using FAT obviously doesn't understand them - it would expect DOS/FAT attributes. That said, though, have you already backed up the data you consider to be important?
100% work
Try this.....
http://forum.xda-developers.com/showthread.php?t=2038243
this will help you 100%..
qwerty12 said:
If you're talking about the internal memory, you can do chattr +i /data/media/[name of folder] to set the immutable bit. EDIT: You need BusyBox installed for the chattr command
This works because /storage/sdcard0 (JB's usual mountpoint for the internal eMMC) is a fake FAT32 file system Google created for compatibility; the internal eMMC can really be found at /data/media, which is of the ext4 filesystem.
For the external memory, you can try SGS3 Easy UMS and set the read only property on the folder using your computer. (I can't find mattrib for Android.) There is no guarantee that Android/Linux programs will obey the RO attribute, however.
The reason why Root Browser Lite & ES File Explorer didn't work is because they work on UNIX file permissions, while a file system formatted using FAT obviously doesn't understand them - it would expect DOS/FAT attributes. That said, though, have you already backed up the data you consider to be important?
Click to expand...
Click to collapse
=============
Thank you all for your advice. The file system explanation betw FAT and ext4 fs makes sense. I have BusyBox installed.
Via Terminal Emulator, when I did "chattr -i /data/media/DCIM/Camera", I got a "permission denied".
Is there something that prevented me from this?
I'm running ICS.
Thanks
Did you type su before the command..
Just asking..
sent from here, there, somewhere!!
zoot1 said:
Did you type su before the command..
Just asking..
sent from here, there, somewhere!!
Click to expand...
Click to collapse
Thanks Zoot1.
I did that.
Image Gallary is still showing /mnt/sdcard/DCIM/Camera as "writeable".
What is the difference between two folders /data/media/DCIM/Camera and /mnt/sdcard/DCIM/Camera?
Thanks,
Note that I used +i in my example invocation of chattr. - removes the attribute; + sets it, which is what you want
Sent from my GT-I9300 using Tapatalk 2
Thanks qwerty12, after 'chattr +i folder name' , I return to root browser lite to change permission on mnt/sdcard/DCIM/Camera, I still get permission denied. What did I do wrong?
Sent from my GT-I9300 using xda app-developers app
Mount System RW
The problem is that your system is currently in RO (Read-Only) mode.
Even if you are root, can't mess with system files if the setup is like that.
ES File Explorer works because it has an option (that DOES work) to mount the system in RW (Read-write) mode.
On my ES File Explorer Version 3.0.0 it goes like this:
Android menĂº button--->Tools---->Root Explorer--->Mount R/W.
Set: /system (or all of the options) to: RW----->OK.
Now, explore your files using the ES File Explorer interface on your phone and you should be able to erase every file and apk you want even if they are system files.
Vanyna said:
The problem is that your system is currently in RO (Read-Only) mode.
Even if you are root, can't mess with system files if the setup is like that.
ES File Explorer works because it has an option (that DOES work) to mount the system in RW (Read-write) mode.
On my ES File Explorer Version 3.0.0 it goes like this:
Android menĂº button--->Tools---->Root Explorer--->Mount R/W.
Set: /system (or all of the options) to: RW----->OK.
Now, explore your files using the ES File Explorer interface on your phone and you should be able to erase every file and apk you want even if they are system files.
Click to expand...
Click to collapse
finally its worked for me thx very much dude:laugh::good:

Mounting /system as rw

Is there any way to mount /system as writable? I want to change the name of a file, but I cannot since the partition is set to read only. I am rooted and I have even tried adb shell commands via pc. Help :crying:
Download root explorer apk, make sure its a legit and then u can set system as rw and do anything u want.
FX explorer is a great root file explorer. Once installed,enable the root mode and when browsing the system folder, enable r/w access from the top right menu
lingarajug said:
Download root explorer apk, make sure its a legit and then u can set system as rw and do anything u want.
Click to expand...
Click to collapse
I have Root Explorer but the problem is there are some .xml files that can't be edited through Root Explorer. I have to use solid Explorer to edit the xml file. Do u know what could be the problem?
If u long press the file options will come up (if enabled in settings) and then there will be option for editing file u need if it is editable.

Unable to rename files in Oreo

Hi,
I tried to rename root's .ogg files on my Samsung Note 9(Oreo) and unable to do it. I found limited information here. I can rename the .ogg files in the older Android though.. What I have tried so far from these app and failed;
1. ES explorer
2. root explorer
3. mixplorer
4. total commander
Permission for "RW" only can set on "mixploer", and "root explorer" but after tried to copy over the root folder, it prompted failed to copy. Although I can set ES exploere to "RW" mode but it fools you to believe it has rename the file but in reality it was unable to, what a screw up.. Anyone has successfully rename files in root folders?
I did not try this in "safe mode" though..
If you had Magisk rooted phone, try ExSDcardEnable module. Or can you move file to internal storage for rename?
adeii said:
If you had Magisk rooted phone, try ExSDcardEnable module. Or can you move file to internal storage for rename?
Click to expand...
Click to collapse
I was tried to rename the files at internal storage but not able to. I can copied files out to ext memory card or pen drive. After that I was not able to move back to override the current file/files.
Magisk is installed but can't find "ExSDcardEnable module".. Is it in the Magisk manager?
This file ".ogg" is at "system\media\audio\xxxx.ogg" and unable to edit. Looks like the ownership of Oreo harder to make change now..
user109 said:
Magisk is installed but can't find "ExSDcardEnable module".. Is it in the Magisk manager?
This file ".ogg" is at "system\media\audio\xxxx.ogg" and unable to edit. Looks like the ownership of Oreo harder to make change now..
Click to expand...
Click to collapse
Well, at least you have remount /systen as read/write with "mount -o rw,remount /system" or in TotalCommander is easier.
Yes, it is downloadable module in Magisk Man. Latest is ExSDCard Write Access Enabler v3.5 (Sorry for bad name). The new access path for our externals SDCards: /mnt/media_rw/SDCARDNUMBER/
adeii said:
Well, at least you have remount /systen as read/write with "mount -o rw,remount /system" or in TotalCommander is easier.
Yes, it is downloadable module in Magisk Man. Latest is ExSDCard Write Access Enabler v3.5 (Sorry for bad name). The new access path for our externals SDCards: /mnt/media_rw/SDCARDNUMBER/
Click to expand...
Click to collapse
@adeii,
May I know if I need to install it from TWRP? Or run by Magisk manager will do?
user109 said:
@adeii,
May I know if I need to install it from TWRP? Or run by Magisk manager will do?
Click to expand...
Click to collapse
By running from Magisk Manager -> Plugins -> sign "+" -> choose *.zip plugin, after automatic install, reboot phone.
Or MM -> Downloads -> search for ExSDcard -> Click on ExSDcard write access enabler -> Install then reboot.
@Hi adeii,
I installed the "ExSDCard Write Access Enabler" by download through the Mgisk manager's download and wonder if correct. I attached a screenshot here.
I tried to use the total commander to rename the ".ogg" files but failed after I have re-mount the R/W. I wonder if I did correctly by adding the folder as shown in the screenshot.
Did anyone successfully overwrite the files in Oreo? I run out of lucks... Not much information about this issues also.. From Jelly Bean to Marshmallow I have no problem to overwrite files(I did not try on Nougat). But Oreo, until now I still have no way to overwrite a simple file like .ogg.. :crying:

Categories

Resources