problems R/W system - Xperia Z4/Z3+ Q&A, Help & Troubleshooting

hi guys.
i have a problem about modifyng system. I tryed to change values (ex: mixer_paths.xml) to lineage 14.1 and RR 5.8.4 without succes. I had and have magisk installed and use fx file explorer, also root explorer, selinux is permissive.
In fx file explorer i mounted and remounted R/W the filesystem and when i try to edit for example mixer_paths.xml is telling me: "this file is on a read-only filesystem. u will not be able to save any changes unless you first remount it as read/write". ---so i did that, and nothing change. which can be the the problem? thanks!

Related

how to edit hosts file

I've been trying to work on this and still can't figure out how to do this can somebody give me a step by step
So far I've tried to inStall an ash server to go in and edit it but I cannot get it to work somebody to help
maxgohan said:
I've been trying to work on this and still can't figure out how to do this can somebody give me a step by step
So far I've tried to inStall an ash server to go in and edit it but I cannot get it to work somebody to help
Click to expand...
Click to collapse
two ways to change your hostname
1. open edit /system/etc/dhcpcd/dhcpcd.conf with your favorite text editor. under "interface eth0", type: hostname yourdesiredhostname
2. open your favorit terminal emulator, type: vi /system/etc/dhcpcd/dhcpcd.conf
make above mentioned changes.
-> reboot and it should be working. try to ping your device from another piece of hardware in your home network
if you want to change your hosts file - do the same with /etc/hosts ^^
I keep getting this line...
mv: can't remove '/etc/hosts': Read-only file system
is your device rooted? if yes, you have either so mount your root file system as writeable in your file explorer (if it supports root access, like ES File Explorer), or you have to type "su root" at the beginning of your terminal emulator operations.
same problem with a rooted and unlocked device
two_handed said:
is your device rooted? if yes, you have either so mount your root file system as writeable in your file explorer (if it supports root access, like ES File Explorer), or you have to type "su root" at the beginning of your terminal emulator operations.
Click to expand...
Click to collapse
my device is rooted with kingroot I have installed root explorer and ES file explorer too with giving them root permission as well , but when ever I tried to delete or edit hosts file nothing gets change (with root explorer) and with ES file explorer it says " read only file " I tried to change the permission in properties but failed to save the check boxes result. oh man I forget to mention my problem here my cell is infected by a "freedom" app when finally I found it useless I changed the freedom app setting to "freecore" my device got reboot after that I uninstalled the app , now I am unable to connect with google servers , can't use play store , I also tried hosts file Editor but got no result I know my problem is to delete the hosts file , but something is not letting me to take control over hosts file , my android is 5.1 and model is huawei honor 4c ?

[Q] root information

hi;
i was trin to change my boot animation and sound.then i was realize i cant rename delete or overwrite files under system\customize\resource\
but strange thing is if i install boot animations from zip files over TWRP it can be installed.
i was tried also on twrp recovery mode with file manager but more strange thing is i cant see any file under system folder. there is only bin folder nothing more. also tried on est file manager file preferences but there no any permission option. ah also i was tried fix permissions option on twrp options. nothings changed..,
any suggests?
thnx
You need to mount system as r/w. Use ES File explorer
thnx .
when i was tried first it wasnt ask to me what to do..i was uncheck and recheck so i got the mount option.
regards

Need help changing Lock/Unlock sounds from System UI

Hey guys, new to the whole XDA thing. Recently I just rooted my nexus 6 and tried to change my Lock/Unlock sounds but even after I changed the audio file to .ogg and set the permissions to rw-r--r-- I still cant copy my new lock/unlock sounds to the UI folder .
When I try to copy it I get this message:
Copy Failed
Unlock.ogg to/system/media/audio/ui
Mr.Universe said:
Hey guys, new to the whole XDA thing. Recently I just rooted my nexus 6 and tried to change my Lock/Unlock sounds but even after I changed the audio file to .ogg and set the permissions to rw-r--r-- I still cant copy my new lock/unlock sounds to the UI folder .
When I try to copy it I get this message:
Copy Failed
Unlock.ogg to/system/media/audio/ui
Click to expand...
Click to collapse
1)mount /system partition as R/W. by default its R/O.
2)copy your file
3)change permission to rw-r--r--
4)reboot
and you are good to go
[if you cant mount system partition as R/W then flash custom kernel and try]
Poojan Patel said:
1)mount /system partition as R/W. by default its R/O.
2)copy your file
3)change permission to rw-r--r--
4)reboot
and you are good to go
[if you cant mount system partition as R/W then flash custom kernel and try]
Click to expand...
Click to collapse
I mount as R/W and when I try to copy the file it still gives me the error code?
(Permissions and R/W are good to go I just can't copy it) ?
Mr.Universe said:
I mount as R/W and when I try to copy the file it still gives me the error code?
(Permissions and R/W are good to go I just can't copy it) ?
Click to expand...
Click to collapse
sounds like you dont have full root. one way to check is by editing your build.prop file then rebooting. if the edit stays, you have full root. if your edit stays the same, then you dont have full root.
Do you have free space on /system? If not, that would be the reason. The N6 /system partition is almost full, so you may have to remove apps in /system/app or /system/priv-app to free up some space, then try copying.
Mr.Universe said:
I mount as R/W and when I try to copy the file it still gives me the error code?
(Permissions and R/W are good to go I just can't copy it) ?
Click to expand...
Click to collapse
It's possible, that since the sounds are used by the system that their actually in use.
Have you tried mounting system in recovery and doing it there?
Sent from my Nexus 6
If I've helped you, don't forget to hit thanks!

[Fix] ES File Explorer root error

When you try and toggle the "Root Explorer" switch to enable root in ES File Explorer, you are met with and error
"Sorry, test failed. This feature cannot run on your device. Root Explorer"
Use another root explorer app with root permissions, and copy the contents of /su/bin/ (about 7 files) and paste them inside /system/xbin/
Now try turning root explorer on in ES File Explorers Tools setting
It should now turn on and work fine
Credit: Youtube commenter "Daniel Velez"
Code:
https://www.youtube.com/watch?v=TlWoSlvhzI0
*Detection* said:
When you try and toggle the "Root Explorer" switch to enable root in ES File Explorer, you are met with and error
"Sorry, test failed. This feature cannot run on your device. Root Explorer"
Use another root explorer app with root permissions, and copy the contents of /su/bin/ (about 7 files) and paste them inside /system/xbin/
Now try turning root explorer on in ES File Explorers Tools setting
It should now turn on and work fine
Credit: Youtube commenter "Daniel Velez"
Code:
https://www.youtube.com/watch?v=TlWoSlvhzI0
Click to expand...
Click to collapse
Thank you[emoji106]!!
It works fine on G900F Marshmallow rooted with SuperSU 2.72 systemless!
Inviato dal mio SM-G900F utilizzando Tapatalk
Thanks for the hint!
But this error made me change from ESFE to FX + Root Add On.
It's more comfortable in my opinion.
Perfect! Thanks!!!
[emoji106][emoji106]
[emoji122][emoji122][emoji122]
Thank you very much! Worked on my 900F as well!
Great
Thank you so much for a solution :highfive:
New ES File Explorer version now supports Systemless root. Works on my Note 5
If this happens after installing a new ROM you must enable developer options and then set route and then restart the phone or tablet and then that won't happen
Great, thank you.
ES File explorer root error
Thanks, works great!
Titanium Backup
Thanks for the hint (works also with secure settings)
Unfortunately Titanium Backup doesn't recognize root anymore
It got a problem with the /system/xbin/su command.
Still no success. I followed your steps still failed to get root access
Same here with jiayu s3 on Android 7.1 fom M.A.D.
Edit: Got Root Access with copying /su from rootdirectory to system/bin...
Hi!
I have es file explorer version 4.1.4.3 and I have root access without problems
This method works for me, though I'm running a Note Edge MM 6.0.1
I'm on the J7 and having this problem because of Samsung. Moving the files to xbin doesn't work with Root Explorer. Says Copy failed. So even after it's mounted RW I can't copy and paste files. Strangely I was able to rename a file. Don't know why.
Did this trick. But copy still failed even though ES File Explorer got root successfully.
(FYI: Trying to copy sound files into the system.)
Any other ideas?
I am fed up with Samsung!!!
FOR ANY SAMSUNG: Figured it out. All my folder access troubles are Knox's fault! But I had to do a command line trick along with disabling Knox.
You'll need: Root Package Disabler and Terminal Emulator
*So after rooting get either Titanium Backup Pro (not free) or Root Package Disabler (free) or Package Disabler Pro (not free). (They do the same thing.)
*Open the program you installed. Find anything with "knox" in the name and disable it. I, personally, disabled Lookout as well because it often doesn't like advanced root apps or modifications. But it shouldn't block ES File Explorer.
*Open Terminal Emulator. Put in the commands below, one-at-a-time. Hit Enter after each. REBOOT WHEN YOUR DONE. (Source here.)
Code:
su
Code:
mount -o remount,rw /system
Code:
touch /sbin/su /system/bin/su /system/xbin/su
Code:
mount -o remount,ro /system
Code:
exit
Reboot and Root ES File Explorer again.
Note: ES File Explorer won't copy files to the system or other sensitive folders. You still need "Root Explorer" or maybe "Solid Explorer" for that. This makes ES File Explorer useless to me. However, you still need the steps above to copy sensitive system files in the other root enabled file browsers. So do it anyway.
Hi guys! I know this is an old thread and Samsung Space, but i still use ES File Explorer Pro 1.1.4.1 because i like it. But somehow i lost root. Don't know how and why, everything worked fine on my rooted (with Magisk 23.0) Xiaomi Redmi Note 7 with Android 10 (Sorry for that, but i didn't find anything else in the www about this problem). Now i receive the same message "Sorry, test failed. This feature cannot run on your device." and don't know how to solve this. I uninstalled and reinstalled ESFX, deleted it from the list of rooted Apps in Magisk and it asked for the permissions again.... fine..... granted! But still i can't activate it's root explorer. This doesn't work :
" Use another root explorer app with root permissions, and copy the contents of /su/bin/ (about 7 files) and paste them inside /system/xbin/"
....because there is no "/su/bin" and therefore i can't copy anything.
sensei_fritz01 said:
I still use ES File Explorer Pro 1.1.4.1 because i like it.
....because there is no "/su/bin" and therefore i can't copy anything.
Click to expand...
Click to collapse
Same issue here. I ended up copying all files from any folder containing "bin" (sbin, xbin, bin) to /system/xbin to no avail.
Not sure if it is accurate, but it seems like it is, but old ES cannot work on devices that have systemless root.

Can't change file-content under /system/etc with magisk.

I would like to change a configuration file under /system/etc or /etc. Neither of those locations are writeable and I can't make them writeable with a rw remount. The device is "rooted" with Magisk. How can this be done?
Possible explanation to your issue:
https://didgeridoohan.com/magisk/Magisk#hn_Cant_edit_system_files
Solution is to create a Magisk module that does it for you systemlessly. Details here:
https://topjohnwu.github.io/Magisk/guides.html
I used es file explorer pro. worked like a charm.
Personally I would recommend a different file explorer (like FX), but each to their own.
Depending on the device, from Android 10 it might actually be impossible to mount the system partitions rw. If it is possible (and we're talking about Android 9+ SAR devices now) you need to mount the root directory (/) rather than /system. But that's already outlined in the link posted above...

Categories

Resources