permission denied when copying files to system partition after rooting - OnePlus 7T Pro (Regular & McLaren) Q & A

Does anyone can help me out? After rooting (magisk patched boot img), I wanna change the system fonts by modifying the /etc/fonts.xml, I got "permission denied" error when copying files to /etc or /system/fonts folders via ES File Explorer (already opened Root Explorer option) or Terminal commands. I checked the property of /system folder using ES File Explorer, it shows that root user should have write access to the /system folder. Can anybody help me? Thanks in advance.

shinechou said:
Does anyone can help me out? After rooting (magisk patched boot img), I wanna change the system fonts by modifying the /etc/fonts.xml, I got "permission denied" error when copying files to /etc or /system/fonts folders via ES File Explorer (already opened Root Explorer option) or Terminal commands. I checked the property of /system folder using ES File Explorer, it shows that root user should have write access to the /system folder. Can anybody help me? Thanks in advance.
Click to expand...
Click to collapse
With system as root and Magisk I don't think /system is no longer a valid mounting point, which means you can't modify it in any way.
A module would be the only option in your case.
Sent from my OnePlus7TPro using XDA Labs

Lossyx said:
With system as root and Magisk I don't think /system is no longer a valid mounting point, which means you can't modify it in any way.
A module would be the only option in your case.
Sent from my OnePlus7TPro using XDA Labs
Click to expand...
Click to collapse
Thank you very much. Could you please give me any hint about the module that I can use for this? Thanks again.

shinechou said:
Thank you very much. Could you please give me any hint about the module that I can use for this? Thanks again.
Click to expand...
Click to collapse
Unfortunately I have no idea. I have never used a module for font changing.
Sent from my OnePlus7TPro using XDA Labs

shinechou said:
Thank you very much. Could you please give me any hint about the module that I can use for this? Thanks again.
Click to expand...
Click to collapse
Check in magisk manager. You will find a lot of modules for fonts

Lossyx said:
Unfortunately I have no idea. I have never used a module for font changing.
Sent from my OnePlus7TPro using XDA Labs
Click to expand...
Click to collapse
Thank you anyway.

juliusedward said:
Check in magisk manager. You will find a lot of modules for fonts
Click to expand...
Click to collapse
Thanks a lot. I do find some, but they are not what I want.

Related

[Q] Viperbloat doesn't exist

I tried to load the viperbloat mod but every time I run it, it says viperbloat doesn't exist. I tried through cmd and terminal emulator and still same answer and no work. Any suggestions?
Download my update. It 3.1.1 was pushing files to /vendor/bin which now no longer exist on perm root. I updated 3.1.2 to fix this. Enjoy
Hey thanks, but it still is failing to push the viperbloat file. it is saying
failed to copy 'viperbloat' to '/system/bin/viperbloat': Read-only file system
Unable to chmod/system/bin/viperbloat: No such file or directory
This is all that is said when I am running the .bat file. Am I doing something wrong, is my phone messed up? Please help
azbigmike1369 said:
Hey thanks, but it still is failing to push the viperbloat file. it is saying <br/>
failed to copy 'viperbloat' to '/system/bin/viperbloat': Read-only file system
<br/>
Unable to chmod/system/bin/viperbloat: No such file or directory
This is all that is said when I am running the .bat file. Am I doing something wrong, is my phone messed up? Please help
Click to expand...
Click to collapse
Oh, I forgot to update that part of the script. Damn, sorry. Just use root explorer to mount rw then run the .bat file.
little bit of a noob, how to do this? sorry
azbigmike1369 said:
little bit of a noob, how to do this? sorry
Click to expand...
Click to collapse
Either use adb if you have it installed and just type adb remount then run the .bat or if you have Root Explorer, open it, tap on /system and then at the top there is a little white button that will say "mount r/w", tap that and then run the .bat file.
azbigmike1369 said:
little bit of a noob, how to do this? sorry
Click to expand...
Click to collapse
Can't you just do "adb remount system" to mount it r/w, then push it?
Sent from my PG86100 using XDA App
k2buckley said:
Can't you just do "adb remount system" to mount it r/w, then push it?
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
Thanks man, I remounted it and did it manually and it worked. Thanks, time to get ride of this stock crap haha. Thanks viperboy and K2buckley. Awesome work guys
azbigmike1369 said:
Thanks man, I remounted it and did it manually and it worked. Thanks, time to get ride of this stock crap haha. Thanks viperboy and K2buckley. Awesome work guys
Click to expand...
Click to collapse
Glad to help. And I agree, viper does great work.
Sent from my PG86100 using XDA App

delete system files

I have to delete /system/wlanfixed, in order for my wifi to work (mesa kernel 1.6). but i cannot delete that as far as i can see using a file manager, can someone help ,me please? thx.
sutty23 said:
I have to delete /system/wlanfixed, in order for my wifi to work (mesa kernel 1.6). but i cannot delete that as far as i can see using a file manager, can someone help ,me please? thx.
Click to expand...
Click to collapse
file manager??? as in Root Explorer??? if your are using Root Explorer, Make sure you press/change a box in the link (below Root Explorer icon) that said Mount R/O to Mount R/W
Pusak Gaoq said:
file manager??? as in Root Explorer??? if your are using Root Explorer, Make sure you press/change a box in the link (below Root Explorer icon) that said Mount R/O to Mount R/W
Click to expand...
Click to collapse
ahh ok, thank you very much. I am very new to android
sutty23 said:
I have to delete /system/wlanfixed, in order for my wifi to work (mesa kernel 1.6). but i cannot delete that as far as i can see using a file manager, can someone help ,me please? thx.
Click to expand...
Click to collapse
All these can browse root:
Root explorer[paid app], file manager, es file manager and my favorite, solid explorer
iONEx said:
All these can browse root:
Root explorer[paid app], file manager, es file manager and my favorite, solid explorer
Click to expand...
Click to collapse
tyvm for ur help +1
wifi problem in mesa 1.6 will solved after reboot.

[Q] Rooted Nook Tablet with Cm7 and rom manager issue

When I try to install the premium version of Rom Manager i get "youre trying to replace a system app , do you want to continue ?" .
I click yes and then get "App not installed"
Any help or suggestions plz ?
Thanks
do you have root access? because that is necessary to change any system app in any case. Super User should pop up if you do have root. If it does not, maybe you accidentally denied it root privileges on first start.
Yes im sure its rooted and i checked Superuser logs on rom manager.
"created allowed allowed" and its in the allowed list.
Im guessing the installation is failing because its a system app thats in use or something ?
Since its a system app and installed via CM7 i cant even delete it.
It doesnt show in the installed apps list.
Any help is appreciated.
There is a directory under the /system folder I believe(bin?). Under that directory are a series of apk files and I bet there is still a file there for the rom manager. If you remove that with root explorer or something similar you should be good to go.
troy9829 said:
There is a directory under the /system folder I believe(bin?). Under that directory are a series of apk files and I bet there is still a file there for the rom manager. If you remove that with root explorer or something similar you should be good to go.
Click to expand...
Click to collapse
/system/app is the folder you're looking for.
liquidzoo said:
/system/app is the folder you're looking for.
Click to expand...
Click to collapse
To anyone having a similiar problem this is how I solved it.
-remount system/app dir to RW
-delete offending APK
-remount /data/data to RW
-delete offending dir (in rommanger's case it was com.koushikdutta.rommanger
-reboot
-reinstall.

Access /System ??

How do i access /system of my rom on my computer ??
I want to change whole /system folder from another rom and es file explorer doesn't work for it !
Maybe someone can help me ?
invince2 said:
How do i access /system of my rom on my computer ??
I want to change whole /system folder from another rom and es file explorer doesn't work for it !
Maybe someone can help me ?
Click to expand...
Click to collapse
Es works. You need to go to settings-tools-root explorer-mount R/W and mount system as writeable
donkeykong1 said:
Es works. You need to go to settings-tools-root explorer-mount R/W and mount system as writeable
Click to expand...
Click to collapse
Did that...i wanted to replace the whole /system....and the phone crashes between the copying process...it cannot be done by es.
Need another method to do itfrom my laptop .
invince2 said:
Did that...i wanted to replace the whole /system....and the phone crashes between the copying process...it cannot be done by es.
Need another method to do itfrom my laptop .
Click to expand...
Click to collapse
Crash could happen because you don't have enough memory. I did it for some system files on my phone and it always worked fine. But I always deleted the files I wanted to replace first
donkeykong1 said:
Crash could happen because you don't have enough memory. I did it for some system files on my phone and it always worked fine. But I always deleted the files I wanted to replace first
Click to expand...
Click to collapse
i really need a solution to access that on my laptop !!
Someone help !
http://m.androidcentral.com/android-201-10-basic-terminal-commands-you-should-know
I would imagine adb would be your best option
Sent from my PG86100 using xda app-developers app
Oh GOD seriously?
Man you cannot replace the WHOLE system in any way except from recovery or bootloader...........NO ADB NO ES NOTHING will work.
ADB is feature that relies in the system of android. And when replacing the WHOLE system, the files needed for adb to work cannot change as they are in use, or if they change your phone will crash.
You can in no way change necessary system files while android is booted up beacause they are in use. Your whole operating system is in /system. Only recovery or bootloader will do.
mnomaanw said:
Oh GOD seriously?
Man you cannot replace the WHOLE system in any way except from recovery or bootloader...........NO ADB NO ES NOTHING will work.
ADB is feature that relies in the system of android. And when replacing the WHOLE system, the files needed for adb to work cannot change as they are in use, or if they change your phone will crash.
You can in no way change necessary system files while android is booted up beacause they are in use. Your whole operating system is in /system. Only recovery or bootloader will do.
Click to expand...
Click to collapse
I thought you could use adb in fastboot?
Then push the files
Sent from my PG86100 using xda app-developers app
hossman said:
I thought you could use adb in fastboot?
Then push the files
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
Im pretty sure you can't. ADB commands does not work in fastboot and vice-versa. ADB only works in Android environment AFAIK. Though you can use fastboot flash commands and not adb push....
Gotcha, thanks for clearing that up.:thumbup:
Sent from my HTCEVOV4G using xda app-developers app
What if i want to just replace some files ??
Is that possible ??
invince2 said:
What if i want to just replace some files ??
Is that possible ??
Click to expand...
Click to collapse
Yes, as long as they are not needed for the system to function properly. You can replace them with ES or Push them via ADB with root access.

Cant Write to System/App

Hello, I am trying to install viper4android and I cannot place the APK into the system apps folder, I just get operation failed. I have tried ES and Solid explorer. Only other way I can think of is a zip install from recovery, how would I make that?
xShockz said:
Hello, I am trying to install viper4android and I cannot place the APK into the system apps folder, I just get operation failed. I have tried ES and Solid explorer. Only other way I can think of is a zip install from recovery, how would I make that?
Click to expand...
Click to collapse
Are you mounting r/w?
Sent from my SCH-I545 using Tapatalk 2
hexitnow said:
Are you mounting r/w?
Sent from my SCH-I545 using Tapatalk 2
Click to expand...
Click to collapse
I read that I had to do that, but cant find it anywhere. Where would that be? Will I use Terminal Emulator?
xShockz said:
I read that I had to do that, but cant find it anywhere. Where would that be? Will I use Terminal Emulator?
Click to expand...
Click to collapse
Using es file explorer hit the menu button, root explorer, then mount as r/w.
Sent from my SCH-I545 using Tapatalk 2
hexitnow said:
Using es file explorer hit the menu button, root explorer, then mount as r/w.
Sent from my SCH-I545 using Tapatalk 2
Click to expand...
Click to collapse
Thanks, I figured out how to do it in Solid Explorer just as you replied! :laugh:

Categories

Resources