How do I set /system as Rw? - Nexus 5X Q&A, Help & Troubleshooting

I keep trying to edit build.prop on my 5x as I've done on previous devices in the past. Going through file explorers setting it to Rw doesn't actually change it. Does anyone know how to actually set it as rw so it can be modified? I'm trying to add eis, if anyone else has tried.
Thanks!

Atemi1337 said:
I keep trying to edit build.prop on my 5x as I've done on previous devices in the past. Going through file explorers setting it to Rw doesn't actually change it. Does anyone know how to actually set it as rw so it can be modified? I'm trying to add eis, if anyone else has tried.
Thanks!
Click to expand...
Click to collapse
are you sure you are properly rooted? what method did you use?
do other root apps work as intended, which file explorers are you talking about, are you on stock?
just asking, since there are root procedures around through which you funnily enough end up with a r/o rooted device. also the more relevant information you give, the easier it is to help.

Broken303 said:
are you sure you are properly rooted? what method did you use?
do other root apps work as intended, which file explorers are you talking about, are you on stock?
just asking, since there are root procedures around through which you funnily enough end up with a r/o rooted device. also the more relevant information you give, the easier it is to help.
Click to expand...
Click to collapse
I followed a guide in November, don't remember which. All done through adb. All root apps work fine, xposed, titanium Backup, etc. I've tried stock, es file explorer and FX file explorer. Also for giggles I tried Rom Toolbox Pro. Also, in twrp it does say I'm not encrypted.
When trying to edit the file, it only gives me a cannot modify file error.

Atemi1337 said:
I followed a guide in November, don't remember which. All done through adb. All root apps work fine, xposed, titanium Backup, etc. I've tried stock, es file explorer and FX file explorer. Also for giggles I tried Rom Toolbox Pro. Also, in twrp it does say I'm not encrypted.
When trying to edit the file, it only gives me a cannot modify file error.
Click to expand...
Click to collapse
Did you mount system rw before trying to edit the file?
In ES it's under Tools > turn root explorer on, then tap it and mount rw

Same for me...

berndblb said:
Did you mount system rw before trying to edit the file?
In ES it's under Tools > turn root explorer on, then tap it and mount rw
Click to expand...
Click to collapse
Using ES worked perfectly. No other actually worked. Many thanks!

Related

[Q] Cant edit or delete instal-recover.sh

I am trying to use clock work mod to instal custom rom.... I am running the latest ics release rooted and unlock...
you need to download root explorer
then go to "/etc"
then click "Mount R/W" on the top of the screen,
and then delete install-recovery.sh
What is the question?
If you ARE rooted you need to install a file manager (Ex. Root Explorer), set R/W and either delete or Rename the file. Suggest you simply rename by adding a .bak to the end of it.
Once this is complete flash the recovery image through fastboot.
BTW .. you could have posted this in the Clockwork thread and the instructions I gave above are already there.
Edit: LOL ... I must type too slow. In 7 minutes you got three identical answers.
Need to be 100% rooted n a root explorer
Sent from my A100 using Tapatalk 2 Beta-5
Sorry
I have been a way a while, I have tried all that you guys have suggested but it wont let me change permissions on it. It says that it gives root permission but not able to edit the file or permissions to it. any help??
Alias_D said:
I have been a way a while, I have tried all that you guys have suggested but it wont let me change permissions on it. It says that it gives root permission but not able to edit the file or permissions to it. any help??
Click to expand...
Click to collapse
Make sure you mount the system as r/w.

[Q] removing lock screen ads from kindle fire 10.2.6

The methods worked for both my son's running 10.2.4. http://forum.xda-developers.com/showthread.php?t=1923642, but not for my nieces running 10.2.6. I have searched multiple threads and tried with no luck just wondering if anyone knows another way, thanks
gnandez said:
The methods worked for both my son's running 10.2.4. http://forum.xda-developers.com/showthread.php?t=1923642, but not for my nieces running 10.2.6. I have searched multiple threads and tried with no luck just wondering if anyone knows another way, thanks
Click to expand...
Click to collapse
Can you be more specific? When you attempted to rename the file, was it there? Did you encounter any errors? Was the device rooted? Did you check the filesystem to see if the .apk was actually renamed? Have you rebooted the device? If so, did you confirm whether or not the change took effect?
gnandez said:
The methods worked for both my son's running 10.2.4. http://forum.xda-developers.com/showthread.php?t=1923642, but not for my nieces running 10.2.6. I have searched multiple threads and tried with no luck just wondering if anyone knows another way, thanks
Click to expand...
Click to collapse
The KF2 needs to be rooted AND the System partition needs to be mounted as RW. I use ES File Manager. In the settings, there are options to enable root explorer and mount system as RW.
NavyLCDR said:
The KF2 needs to be rooted AND the System partition needs to be mounted as RW. I use ES File Manager. In the settings, there are options to enable root explorer and mount system as RW.
Click to expand...
Click to collapse
Thanks for the reply guys fortunately she decided to go with powerpoints ROM so that's good. Just in case someone else has the same issue here is what Ive done, rooted the device, enabled root explorer and mount system as rw in es file explorer, changed name and it stayed even after rebooting, I changed the permissions to all blank, rebooted no luck. Never encountered any errors. Thank you again for the response!

Cannot edit build.prop on rooted developer preview 4

I just flashed developer preview 4 and rooted but I cannot get the build.prop edited. I've tried multiple apps but always says error saving. Had anyone gotten the build.prop edited?
lawtalking said:
I just flashed developer preview 4 and rooted but I cannot get the build.prop edited. I've tried multiple apps but always says error saving. Had anyone gotten the build.prop edited?
Click to expand...
Click to collapse
I have successfully edited the build prop by using root explorer. Make sure you are rooted and allow super su to use root explorer.
You will will need to hold down on build.prop to highlight it, then go to menu and select, open in text editor.
lucky_strike33 said:
I have successfully edited the build prop by using root explorer. Make sure you are rooted and allow super su to use root explorer.
You will will need to hold down on build.prop to highlight it, then go to menu and select, open in text editor.
Click to expand...
Click to collapse
I am rooted and I did give permission to root explorer. I am able to mount the other files and folders as read write but it will not let me Mount the system as read write. I've tried multiple apps it all says error saving.
lawtalking said:
I am rooted and I did give permission to root explorer. I am able to mount the other files and folders as read write but it will not let me Mount the system as read write. I've tried multiple apps it all says error saving.
Click to expand...
Click to collapse
What file explorer are you using. Fx works fine.
toknitup420 said:
What file explorer are you using. Fx works fine.
Click to expand...
Click to collapse
I've tried multiple. Its not the file explorer. I've tried re flashing the factory image but still will not let me edit any system folders or files. I think that maybe it is systemless root. Not sure how I got systemless root or if it is possible to get regular root. Is there a setting is Supersu?
lawtalking said:
I've tried multiple. Its not the file explorer. I've tried re flashing the factory image but still will not let me edit any system folders or files. I think that maybe it is systemless root. Not sure how I got systemless root or if it is possible to get regular root. Is there a setting is Supersu?
Click to expand...
Click to collapse
You may have a SUPER.img - i just learned about this myself - its a combined image containing /system - /vendor & /Product - it looks like it is similar to Systemless root or system as root... idk they are weird but i do think its possible to modify build.rpop, but it may require a PC.... Im looking for a way to edit build.prop myself and learning all this now.

Need to change root file permissions

Hi, I need to give read and write access to a couple little files in my root directory, but I can't find a file manager app that will do this. Among the ones I have tried are Root Explorer, which was recommended, and File Manager Root from Fdroid, but neither work. Can someone recommend an app or another way to do this? Thanks!
reidun76 said:
Hi, I need to give read and write access to a couple little files in my root directory, but I can't find a file manager app that will do this. Among the ones I have tried are Root Explorer, which was recommended, and File Manager Root from Fdroid, but neither work. Can someone recommend an app or another way to do this? Thanks!
Click to expand...
Click to collapse
In modern android versions the /system partition is read only. Either you create an overlay with magisk, or you boot recovery. Twrp has a file manager or you use adb shell.

Question LOCKSCREEN OGG FILE LOCATION

Hello I have been trying to look for the lockscreen.ogg file location. It has seemed to changed in Android 12 if I'm not mistaken. It was located in System/Media/UI but it seems that is no longer even there with Android 12. Does anyone have any idea where this is? Thank you!
Try system/product/media
Ronny220 said:
Try system/product/media
Click to expand...
Click to collapse
That is exactly the spot I was looking for. For some reason I cant get root explorer to mount R/W to overwrite the old file. Root Explorer does have SU access as well. Any ideas?
stalls said:
That is exactly the spot I was looking for. For some reason I cant get root explorer to mount R/W to overwrite the old file. Root Explorer does have SU access as well. Any ideas?
Click to expand...
Click to collapse
There are one or more Magisk Modules that will make it appear for all intents and purposes that you've overwritten or changed a file. It will do what you need. Because root is systemless, you can't (and shouldn't want to) actually change or delete any system files for real. I don't know the name(s) of the Magisk Modules that will do that, as I haven't had a need, but many users in this section have suggested others use such modules to do something similar to what you want to do.
running "settings list global" on adb shell gave me this location "lock_sound=/product/media/audio/ui/Lock.ogg" I was gonna check on root explorer but forgot im not rooted right now but hopefully that is it.
I just am trying to change the sound when locking the phone.
stalls said:
I just am trying to change the sound when locking the phone.
Click to expand...
Click to collapse
Can you rename the stock file to lock.oggbak and then paste the new sound in obviously with the name lock.ogg?
Thebear j koss said:
Can you rename the stock file to lock.oggbak and then paste the new sound in obviously with the name lock.ogg?
Click to expand...
Click to collapse
You can not because root explorer is not able to switch to r/w. But I tried anyways and failed
stalls said:
You can not because root explorer is not able to switch to r/w. But I tried anyways and failed
Click to expand...
Click to collapse
you have to create a magisk module yourself and replace the file, with the one you want.
google around for a template of a simple magisk module, recreate the directory inside the magisk module where the file you want to replace sits on the phone (system/product/media/audio/ui), drop the new sound file there, zip the magisk module template and flash via magisk manager and do a reboot.
dynamic partitions donĀ“t allow for r/w mounting. replacing the file systemlessly via magisk during bootup is the only way.

Categories

Resources