I have root but I can't delete/write files in system directory - Google Pixel XL Questions & Answers

Hi everyone.
I have
Android 9 + TWRP 323 + Magisk 16.7 + Magisk.apk
Root checker said that I have root.
SolidExplorer and Root Explorer can read root directory but cannot delete/write files in system directory.
Titanium Backup works good and restore applications.
What is wrong?
Thanks in advance.

v8088 said:
Hi everyone.
I have
Android 9 + TWRP 323 + Magisk 16.7 + Magisk.apk
Root checker said that I have root.
SolidExplorer and Root Explorer can read root directory but cannot delete/write files in system directory.
Titanium Backup works good and restore applications.
What is wrong?
Thanks in advance.
Click to expand...
Click to collapse
It's working fine for me. I just added a folder to /system, then added a text file to that directory, then edited the file without issue. Android 9, rooted using Magisk 16.7 Beta. Do the file explorers have root permission in Magisk?
One thing that happened to me the other day: I felt like an app (Fi Switch) wasn't properly prompting for root. I went into Magisk's root settings and changed the Automatic Response for root access to "Grant" from "Prompt". Went back to Fi Switch, did the thing that required root, and it worked. Checked Magisk again and it had now registered FiSwitch as a permitted root app. Then I changed the setting back to "Prompt" (not sure it really matters., but it feels safer lol).
It's almost like it just wasn't asking for root, then it was getting denied. Temporarily allowing it fixed it.
I have no idea why that worked for me, but maybe it'll work for you

borxnx said:
maybe it'll work for you
Click to expand...
Click to collapse
Unfortunately no. This is didn't help me.
borxnx said:
Do the file explorers have root permission in Magisk?
Click to expand...
Click to collapse
Yes, it has

Related

[Q] Can't rw on /system

I backed up and then deleted my play store using titanium backup but when I went to restore it it wouldn't let me. So I tried to move it to system/apps using a few file explorers like root explorer,Es explorer and super manager but non of them let me put system folder into rw mode , and yes I did give all of them root rights. I also tried to use the adb command on the terminal with su rights but that did nothing, does anyone have any advice besides reseting my phone.i am also running Jedi mind trick x3(i know I need to update)
erden99 said:
I backed up and then deleted my play store using titanium backup but when I went to restore it it wouldn't let me. So I tried to move it to system/apps using a few file explorers like root explorer,Es explorer and super manager but non of them let me put system folder into rw mode , and yes I did give all of them root rights. I also tried to use the adb command on the terminal with su rights but that did nothing, does anyone have any advice besides reseting my phone.i am also running Jedi mind trick x3(i know I need to update)
Click to expand...
Click to collapse
In ES, you have to go to 'Root Explorer' under 'Tools', then 'Mount R/W', then use the radio buttons to give it write permissions (given that you have root already).
treefrog321 said:
In ES, you have to go to 'Root Explorer' under 'Tools', then 'Mount R/W', then use the radio buttons to give it write permissions (given that you have root already).
Click to expand...
Click to collapse
Exactly what I did ,i allows access to all the others and system but as soon as I press ok and go back to check the permissions again system is the only one that reverts back to read only
erden99 said:
Exactly what I did ,i allows access to all the others and system but as soon as I press ok and go back to check the permissions again system is the only one that reverts back to read only
Click to expand...
Click to collapse
I have this problem too! I am currently trying to uninstall the system youtube app because it wont let me install the new 5.0 update without doing that as I have a modded youtube apk. I am on AOKP custom ROM

Cannot edit build.prop P7 (B126)

So my problem is that I can't edit build.prop. Already mounted r/w and I have tried root explorer and different build.prop editors but changes do not save.
Try this :
http://forum.xda-developers.com/showthread.php?p=54481284
Your phone is rooted?
mikesa said:
Try this :
http://forum.xda-developers.com/showthread.php?p=54481284
Your phone is rooted?
Click to expand...
Click to collapse
Yep it's rooted. Do you mean that try to edit with adb?
There is something wrong with root. Most of the apps works fine with root permissions (titanium, set cpu) but some apps says that they cant get root permissions even if super su says root permissions granted. At the moment root is from twrp but I have also tried rooting with root genius with same results.

How do I set /system as Rw?

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!

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.

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