If there is a certain files in /system partition that cannot be rewrite - Android Q&A, Help & Troubleshooting

Can I boot to the root filesystem using fastboot and edit the file from there?
I wanted to edit:
/etc/mkshrc

xracerx123 said:
Can I boot to the root filesystem using fastboot and edit the file from there?
I wanted to edit:
/etc/mkshrc
Click to expand...
Click to collapse
It is generally not possible to perform file changes through fastboot/bootloader. To do so, you need to have a runtime environment such as TWRP. Bootloader/fastboot generally only handles partition images.

V0latyle said:
It is generally not possible to perform file changes through fastboot/bootloader. To do so, you need to have a runtime environment such as TWRP. Bootloader/fastboot generally only handles partition images.
Click to expand...
Click to collapse
Unable to edit /etc/mkshrc
I just tried to add variables on Android /etc/mkshrc file but I get an error: Read-only file system Further, I have tried to use adb remount, but it says inaccessible or not found. I tried to use the following: mount -o remount,rw /...
forum.xda-developers.com
Do refer to the above thread, it is sort of related to this topic.
Is it possible, to edit right on the /etc itself? without going through twrp?
Is there any tools that can help?

xracerx123 said:
Unable to edit /etc/mkshrc
I just tried to add variables on Android /etc/mkshrc file but I get an error: Read-only file system Further, I have tried to use adb remount, but it says inaccessible or not found. I tried to use the following: mount -o remount,rw /...
forum.xda-developers.com
Do refer to the above thread, it is sort of related to this topic.
Click to expand...
Click to collapse
It mentions using ADB, which can only be used either through system or recovery.
xracerx123 said:
Is it possible, to edit right on the /etc itself? without going through twrp?
Click to expand...
Click to collapse
Not through bootloader or fastboot. You can dump an image, edit it, and reflash it, but this would all be much more complicated than using TWRP, which would allow you to mount the partition as r+w so you can effect the edit you want.
xracerx123 said:
Is there any tools that can help?
Click to expand...
Click to collapse
Yes...TWRP.

V0latyle said:
It mentions using ADB, which can only be used either through system or recovery.
Not through bootloader or fastboot. You can dump an image, edit it, and reflash it, but this would all be much more complicated than using TWRP, which would allow you to mount the partition as r+w so you can effect the edit you want.
Yes...TWRP.
Click to expand...
Click to collapse
I am using Pixel 6A, currently there is no TWRP. https://twrp.me/Devices/

xracerx123 said:
I am using Pixel 6A, currently there is no TWRP. https://twrp.me/Devices/
Click to expand...
Click to collapse
Details like this are beneficial when asking questions.
The short answer to your original question is no, what you want to do is not possible.

is your bootloader even unlockable?
https://www.xda-developers.com/how-to-unlock-bootloader-root-magisk-google-pixel-6a

xracerx123 said:
I am using Pixel 6A, currently there is no TWRP.
Click to expand...
Click to collapse
but there is Evolution X custom recovery at least
https://forum.xda-developers.com/t/4514881

Related

Any methods to change font without root?

A guy on Chinese forum had released some font apks which is not originated from SmartWorld,and its working.
Have tried simply replacing ttf file in the apk,seemed not working.
Any ideas to change custom fonts without root?(Cant know how the font apk works...)
rexx0520 said:
A guy on Chinese forum had released some font apks which is not originated from SmartWorld,and its working.
Have tried simply replacing ttf file in the apk,seemed not working.
Any ideas to change custom fonts without root?(Cant know how the font apk works...)
Click to expand...
Click to collapse
It's not that simple. You can replace the ttf files under /system/fonts that relate to LG's default font changer. They all start with HY. Replace the files of the font you don't like/use with those that you do. You need a regular type and a bold one. Also, you need to do this in a Linux environment. Make sure you correct security contexts when you finish, or it won't work.
ashkan-khatar said:
It's not that simple. You can replace the ttf files under /system/fonts that relate to LG's default font changer. They all start with HY. Replace the files of the font you don't like/use with those that you do. You need a regular type and a bold one. Also, you need to do this in a Linux environment. Make sure you correct security contexts when you finish, or it won't work.
Click to expand...
Click to collapse
Hello,/system/fonts seems to be Read-Only?
rexx0520 said:
Hello,/system/fonts seems to be Read-Only?
Click to expand...
Click to collapse
You need to mount it as a re-writable partition. Use the command below:
Code:
mount -o loop,rw -t ext4 image-file.img the-folder-you-want-to-mount-the-image-in
Then, when you're done, use this:
Code:
umount the-folder-you-mounted-the-image-in
You can find attached a screenshot of what the process will do in the end. I have replaced Foxrain.
ashkan-khatar said:
You need to mount it as a re-writable partition. Use the command below:
Code:
mount -o loop,rw -t ext4 image-file.img the-folder-you-want-to-mount-the-image-in
Then, when you're done, use this:
Code:
umount the-folder-you-mounted-the-image-in
You can find attached a screenshot of what the process will do in the end. I have replaced Foxrain.
Click to expand...
Click to collapse
It seems that the phone has to be rooted...?
rexx0520 said:
It seems that the phone has to be rooted...?
Click to expand...
Click to collapse
Do you know where to use those commands?
ashkan-khatar said:
Do you know where to use those commands?
Click to expand...
Click to collapse
Nope...seems to be adb in linux?
I've just installed Ubuntu
confused about everything...Which img file should I mount?And where to mount...
sorry for my basic english
rexx0520 said:
Nope...seems to be adb in linux?
I've just installed Ubuntu
confused about everything...Which img file should I mount?And where to mount...
sorry for my basic english
Click to expand...
Click to collapse
Oh, well, use KDZ Extractor to get a stock system.img from a KDZ. Then open a terminal in the folder where you have the image and use the following commands:
Code:
sudo
mkdir something
mount -o loop,rw -t ext4 system.img something
Then modify what you want, and, when you're done and have corrected security contexts using "ls -lZ" and "chcon", use this:
Code:
umount something
ashkan-khatar said:
Oh, well, use KDZ Extractor to get a stock system.img from a KDZ. Then open a terminal in the folder where you have the image and use the following commands:
Code:
sudo
mkdir something
mount -o loop,rw -t ext4 system.img something
Then modify what you want, and, when you're done and have corrected security contexts using "ls -lZ" and "chcon", use this:
Code:
umount something
Click to expand...
Click to collapse
Find only python and windows version KDZ extractor,should i use the python one?
after system.img modded,how do i flash it in to my phone?any method to pack it back to kdz?
thanks for your helping..
rexx0520 said:
Find only python and windows version KDZ extractor,should i use the python one?
after system.img modded,how do i flash it in to my phone?any method to pack it back to kdz?
thanks for your helping..
Click to expand...
Click to collapse
Oh, I'm not familiar with Python. Why did you install ubuntu? You could just boot it through VMWare or something. I think you'd need either Windows or Mac to use KDZ Extractor.
You don't need to re-pack your modded system.img into a KDZ to flash it. Use the guide in this thread to do so.
ashkan-khatar said:
Oh, I'm not familiar with Python. Why did you install ubuntu? You could just boot it through VMWare or something. I think you'd need either Windows or Mac to use KDZ Extractor.
You don't need to re-pack your modded system.img into a KDZ to flash it. Use the guide in this thread to do so.
Click to expand...
Click to collapse
should i start with step 1 or 9?
rexx0520 said:
should i start with step 1 or 9?
Click to expand...
Click to collapse
Step 1. It won't work otherwise. The port needs to be opened, and that's what LGUp does.
By the way, you can mod your ROM in many ways, not just fonts and stuff. The security contexts are very important, don't forget correcting them after you're done modding.

Can't delete/modify system files.

Hello.
I've installed viper4android on my mido. Everything is ok, but there is a background static sound when music is being played. According to the viper FAQ I need to delete /system/lib/soundfx/libbundlewrapper.so. What did I do:
1. Mount system as rw
adb shell
su
mount -o rw,remount,rw /system
2. try to rename that file
cd /system/lib/soundfx
mv libbundlewrapper.so libbudnlewrapper-2.so.bak
3. No success. Trying to create backup in a file manager and than trying to delete it. Still no luck. Changed system to ro and I'll wait for suggestions.
The file is there like I haven't done anything. The uncharted territory of the system partition still awaits for me. What I can do next to get the thing to work?
Rust3dCor3 said:
Hello.
I've installed viper4android on my mido. Everything is ok, but there is a background static sound when music is being played. According to the viper FAQ I need to delete /system/lib/soundfx/libbundlewrapper.so. What did I do:
1. Mount system as rw
adb shell
su
mount -o rw,remount,rw /system
2. try to rename that file
cd /system/lib/soundfx
mv libbundlewrapper.so libbudnlewrapper-2.so.bak
3. No success. Trying to create backup in a file manager and than trying to delete it. Still no luck. Changed system to ro and I'll wait for suggestions.
The file is there like I haven't done anything. The uncharted territory of the system partition still awaits for me. What I can do next to get the thing to work?
Click to expand...
Click to collapse
What rom do you use? Miui or los/aosp? Also do you use, magisk or super su? Plus, please tell how did u Install viper, that is through recovery or by using magisk?.
MyNameIsRage said:
What rom do you use? Miui or los/aosp? Also do you use, magisk or super su? Plus, please tell how did u Install viper, that is through recovery or by using magisk?.
Click to expand...
Click to collapse
I use Official and final RR
The phone uses magisk and viper was flashed by magisk (should I remove the module and flash as non-system app?)
Rust3dCor3 said:
I use Official and final RR
The phone uses magisk and viper was flashed by magisk (should I remove the module and flash as non-system app?)
Click to expand...
Click to collapse
Why don't you use es file manager? I just tried i was able to do it with es.
MyNameIsRage said:
Why don't you use es file manager? I just tried i was able to do it with es.
Click to expand...
Click to collapse
Still does not work. I have no idea what to do. Again.
Renaming the file does not go despite a Toast is visible "Rename Successful" and while deleting there is "Device or resource busy"
Rust3dCor3 said:
Still does not work. I have no idea what to do. Again.
Renaming the file does not go despite a Toast is visible "Rename Successful" and while deleting there is "Device or resource busy"
Click to expand...
Click to collapse
Why don't you try deleting it from twrp.
MyNameIsRage said:
Why don't you try deleting it from twrp.
Click to expand...
Click to collapse
I tried. The funny part is that I can only see /system/usr. No other folder is in /system. Thats why I've posted this topic. I'm just lost.
Rust3dCor3 said:
I tried. The funny part is that I can only see /system/usr. No other folder is in /system. Thats why I've posted this topic. I'm just lost.
Click to expand...
Click to collapse
Nope, you haven't mounted system in twrp, that's the reason you are only seeing /usr
So do this
From main menu, select "mount" and there select System, also make sure that the "system" box is checked and the box saying "mount system partition as read only" is unchecked(I've attached a screenshot for reference). Now you can easily go to /system and it should list the files and folders., And you can delete the file you want. Quote me if you need more help
MyNameIsRage said:
Nope, you haven't mounted system in twrp, that's the reason you are only seeing /usr
So do this
From main menu, select "mount" and there select System, also make sure that the "system" box is checked and the box saying "mount system partition as read only" is unchecked(I've attached a screenshot for reference). Now you can easily go to /system and it should list the files and folders., And you can delete the file you want. Quote me if you need more help
Click to expand...
Click to collapse
I can't believe how stupid I am. Thank You for Your advice.

[HUAWEI] Offline charge fix for every Huawei Treble Enabled Phone

Huawei, again, wew.
At the moment, charging offline while on GSI, reboots the phone to the OS.
So, let's simply fix that by:
Downloading this zip;
Pushing it by any means* in the path /vendor/etc/charger (please don't create duplicates path like /vendor/etc/charger/charger, make sure you do it correctly)
Execute:
Code:
ln -s /vendor/etc/charger /system/etc/charger
*You can actually use adb within OS:
adb root
adb remount
adb push​or you can mount all partitions within TWRP Mount option, and just push the dir via adb.
Peace.
Dil3mm4 said:
Huawei, again, wew.
At the moment, charging offline while on GSI, reboots the phone to the OS.
So, let's simply fix that by:
Downloading this zip;
Pushing it by any means* in the path /vendor/etc/charger (please don't create duplicates path like /vendor/etc/charger/charger, make sure you do it correctly)
Execute:
*You can actually use adb within OS:
adb root
adb remount
adb push
or you can mount all partitions within TWRP Mount option, and just push the dir via adb.
Peace.
Click to expand...
Click to collapse
Error pushing on adb, Doesn't work on mate 9,will appreciate if you provide more instructions for installation.
Thank you!
The partitions are mostly to small partitioned... On honor 9 lite i used product partition instead...
Its not forever... every dirty flash on system or updating vendor security patch level will drop it. A magisk module dont work cause its mounted to late...
Darkest-Dark said:
The partitions are mostly to small partitioned... On honor 9 lite i used product partition instead...
Its not forever... every dirty flash on system or updating vendor security patch level will drop it. A magisk module dont work cause its mounted to late...
Click to expand...
Click to collapse
"Nothing lasts forever and we both know hearts can change"
-Guns 'N' Roses
Anyways, yeah, updates on vendor will wipe this "hack".
But, better than nothing
No need for this if you wipe data with stock recovery and then flash ROM + GApps, and then factory reset in stock recovery. My phone chargea fine in "offline mode."
Dil3mm4 said:
"Nothing lasts forever and we both know hearts can change"
-Guns 'N' Roses
Anyways, yeah, updates on vendor will wipe this "hack".
But, better than nothing
Click to expand...
Click to collapse
Directly modifying /system/etc/charger also seems to be effective.Could you make it into a magisk module?
Ccboxes said:
Directly modifying /system/etc/charger also seems to be effective.Could you make it into a magisk module?
Click to expand...
Click to collapse
Here's your answer. Read the thread first.
Darkest-Dark said:
A magisk module dont work cause its mounted to late...
Click to expand...
Click to collapse
Thanks for this Fix. Works awesome on Mate 10 lite with RR Official.
I installed on other way cause ADB provided to many Error Messages.
Downloaded ZIP
Extraxted ZIP File
Copied the extracted Folder to /vendor/etc/ with Root Explorer. (Asked me to mount as R/W. Says YES)
This Takes some minutes.
Rebooted to TWRP, mounted system and vendor
Opened the TWRP Terminal and executed the Command
ln -s /vendor/etc/charger /system/etc/charger
Done and works awesome Thank you Dil3mm4 !
Dil3mm4 said:
Huawei, again, wew.
At the moment, charging offline while on GSI, reboots the phone to the OS.
So, let's simply fix that by:
Downloading this zip;
Pushing it by any means* in the path /vendor/etc/charger (please don't create duplicates path like /vendor/etc/charger/charger, make sure you do it correctly)
Execute:
Code:
ln -s /vendor/etc/charger /system/etc/charger
*You can actually use adb within OS:
adb root
adb remount
adb push​or you can mount all partitions within TWRP Mount option, and just push the dir via adb.
Peace.
Click to expand...
Click to collapse
Hey,
I did everything like destriben, but it did not work for my Mediapad M5,
it still boots up when I wanted to change while my device is powered off.
anyone to tell me how i can use this on aosp 8,1 treble rom ? i am new on huawei, treble rom ... thanks
leap_ahead said:
anyone to tell me how i can use this on aosp 8,1 treble rom ? i am new on huawei, treble rom ... thanks
Click to expand...
Click to collapse
anyone ?
leap_ahead said:
anyone ?
Click to expand...
Click to collapse
Dude, there is this new term called reading the thread, i know it's a bit hard to take in at first, but you'll get the hang of it. If you can't read, then you shouldn't be here.
This cause reboot constantly.
i've p8 lite 2017 (Pra-LX1) with GSI 8.1
crayonicle said:
Dude, there is this new term called reading the thread, i know it's a bit hard to take in at first, but you'll get the hang of it. If you can't read, then you shouldn't be here.
Click to expand...
Click to collapse
I read the instruction.but many user and me have problem with this,
so its not my false
leap_ahead said:
I read the instruction.but many user and me have problem with this,
so its not my false
Click to expand...
Click to collapse
if many users, including you, that have this problem, then all of you should read the thread, again and again until you understand
the instructions are very clear on what to do.
Everytime we flash a new system image this command has to be executed, right @Dil3mm4?
Will it work if @phhusson includes the "ln" command to the script rw-system.sh, after identifying the device as an Huawei device?
that`s good
I have already post a second variant of tutorial. Works 100% and its easy.
TUT 2:
Downloaded ZIP
Extraxted ZIP File
Copied the extracted Folder to /vendor/etc/ with Root Explorer. (Asked me to mount as R/W. Says YES)
This Takes some minutes.
Rebooted to TWRP, mounted system and vendor
Opened the TWRP Terminal and executed the Command
ln -s /vendor/etc/charger /system/etc/charger
Reboot and done
Copkiller2010 said:
I have already post a second variant of tutorial. Works 100% and its easy.
TUT 2:
Downloaded ZIP
Extraxted ZIP File
Copied the extracted Folder to /vendor/etc/ with Root Explorer. (Asked me to mount as R/W. Says YES)
This Takes some minutes.
Rebooted to TWRP, mounted system and vendor
Opened the TWRP Terminal and executed the Command
ln -s /vendor/etc/charger /system/etc/charger
Reboot and done
Click to expand...
Click to collapse
same things done but not working, huawei p20 lite android 10
I have this offline charging problem also in my Lenovo s5.

Emui 9.1. The system partition does not go in rw

Hello. I installed emui 9.1 on my mate20pro with the dload method. I unlocked the bootloader again and rooted the system with patched recovery. The phone is rooted, but the system partition remains in ro. I have tried various apps to mount the system in rw, but without success. I have also tried some commands found on the net both through adb and emulator, but nothing to do. I have also tried using rootexplorer which has been granted root permissions, but fails to modify anything, nor to insert or delete files within the system folders. What can be done?
ernia66 said:
Hello. I installed emui 9.1 on my mate20pro with the dload method. I unlocked the bootloader again and rooted the system with patched recovery. The phone is rooted, but the system partition remains in ro. I have tried various apps to mount the system in rw, but without success. I have also tried some commands found on the net both through adb and emulator, but nothing to do. I have also tried using rootexplorer which has been granted root permissions, but fails to modify anything, nor to insert or delete files within the system folders. What can be done?
Click to expand...
Click to collapse
it's the new filesystem called erofs (Extendable Read-Only File System)
So there's nothing to do?
Sorry OP if this is off topic , but its about magisk and root in 9.1
I have the "system partition remains in ro" issue too , its annoying yes , but I have a bigger problem
When "rooted" , the phone app ( dialer ), and the contacts app both get broken and crash .. So I have to fastbootflash twrp and lose root to make those apps to work normally again
Anyone with the same problem ?
I need root so I can change and use the font ( I like ) with a magisk module
ernia66 said:
So there's nothing to do?
Click to expand...
Click to collapse
Magisk can already 'replace on the fly' file from /system systemless-y.
It dies already support erofs.
Check Magisk documentations.
There is also a way to mount custom erofs partition....
which is?
ernia66 said:
which is?
Click to expand...
Click to collapse
Build your own erofs partitions (cf. erofs.mkfs)
Unmount stock ones and mount yours.
I just did some test 48h ago on erofs /cust and it seems to work...
-Mounting other file system type on same folder could even work !
oslo83 said:
Build your own erofs partitions (cf. erofs.mkfs)
Unmount stock ones and mount yours.
I just did some test 48h ago on erofs /cust and it seems to work...
-Mounting other file system type on same folder could even work !
Click to expand...
Click to collapse
Unfortunately I am not able to do it
:crying:
pvillasuso said:
Sorry OP if this is off topic , but its about magisk and root in 9.1
I have the "system partition remains in ro" issue too , its annoying yes , but I have a bigger problem
When "rooted" , the phone app ( dialer ), and the contacts app both get broken and crash .. So I have to fastbootflash twrp and lose root to make those apps to work normally again
Anyone with the same problem ?
I need root so I can change and use the font ( I like ) with a magisk module
Click to expand...
Click to collapse
use search button pls, you will find the solution already posted
ilos said:
use search button pls, you will find the solution already posted
Click to expand...
Click to collapse
Shhh
Here Rootexplorer paying app does not help writing on erofs partitions...
- Or did you meant something else ?
Magisk Doc. :
https://topjohnwu.github.io/Magisk/
So far, out-of-the-box, Magisk is already ready to replace systemless-ly files and paths on /system easily when used with modules.
-Module just need a a small tweak to add Magisk systemless-ly compatibility to other erofs partitions like /cust
Another way would be to bind or mount...
ilos said:
use search button pls, you will find the solution already posted
Click to expand...
Click to collapse
Wow , what , where ???
I did search but maybe I didnt use the right keywords for such an specific issue
Any extra help , would be very appreciated !
oslo83 said:
Build your own erofs partitions (cf. erofs.mkfs)
Unmount stock ones and mount yours.
I just did some test 48h ago on erofs /cust and it seems to work...
-Mounting other file system type on same folder could even work !
Click to expand...
Click to collapse
I'd like to create my own partition but I don't know how to do it. Is there any online guide for beginners that I can try?
oslo83 said:
Shhh
Here Rootexplorer paying app does not help writing on erofs partitions...
- Or did you meant something else ?
Click to expand...
Click to collapse
my reply was not for you but for the off topic before my reply: contact, ph app and message force close after root.
as I said, there is already a solution about force close.
Anyway I can only write in /system/etc and some over folders
oslo83 said:
Build your own erofs partitions (cf. erofs.mkfs)
Unmount stock ones and mount yours.
I just did some test 48h ago on erofs /cust and it seems to work...
-Mounting other file system type on same folder could even work !
Click to expand...
Click to collapse
Hi, I saw that you managed to get a custom erofs partition mounted using magisk. I was wondering if the same could be done for the/product folder because that would allow me to fix the DPI scaling issues found on EMUI 9.0-9.1. Would it be possible to see the code for your magisk module?
Ok, So.
After having a look at what I did with this WorkInProgress...
So far there is 2 main way I thought about and played with:
Method A
A1/
Using the mkfs.erofs tool to make your custom erofs partition and mount it over the original one. (mayne umount it before)
Thanks @ph03n!x for his work on mkfs.erofs.
Thanks @ante0 for his android arm build.
A2/
I did not yet tryed to flash via fastboot or adb these modded erofs images.
Method B
What I'm actually doing is just mounting systemless-y with a magisk module whole folders over erofs one ;
In post-fs-data.sh, I'm doing:
mount -o bind $MODDIR/cust /cust
mount -o bind $MODDIR/version /version
With a ~150MB custom /cust it is working ; It should be tryed/perfected for bigger folders.
Another way, to not replace/spoof the whole folders could be to mount the whole list of custom files at their respective path (-to be tested)
PS: I'm not sure if update-binary module's file should be modded with some:
mount /cust 2>/dev/null
@ line 42
Sources:
https://forum.xda-developers.com/huawei-p30-pro/how-to/erofs-mounting-accessing-img-t3944193
oslo83 said:
Ok, So.
After having a look at what I did with this WorkInProgress...
So far there is 2 main way I thought about and played with:
Method A
A1/
Using the mkfs.erofs tool to make your custom erofs partition and mount it over the original one. (mayne umount it before)
Thanks @ph03n!x for his work on mkfs.erofs.
Thanks @ante0 for his android arm build.
A2/
I did not yet tryed to flash via fastboot or adb these modded erofs images.
Method B
What I'm actually doing is just mounting systemless-y with a magisk module whole folders over erofs one ;
In post-fs-data.sh, I'm doing:
mount -o bind $MODDIR/cust /cust
mount -o bind $MODDIR/version /version
With a ~150MB custom /cust it is working ; It should be tryed/perfected for bigger folders.
Another way, to not replace/spoof the whole folders could be to mount the whole list of custom files at their respective path (-to be tested)
PS: I'm not sure if update-binary module's file should be modded with some:
mount /cust 2>/dev/null
@ line 42
Sources:
https://forum.xda-developers.com/huawei-p30-pro/how-to/erofs-mounting-accessing-img-t3944193
Click to expand...
Click to collapse
I'm rather new to this trying to do something similar on my EMUI9.1 using Magisk, I'm having a problem that i can replace anything in most other folders without much problem like /etc/ for example, but when i try to substitute /vendor/, whatever i put it the folder does not only fail to get substituted, it even disappears from the $MODDIR/system/vendor folder upon restart!
I.e. let's say I create a new file in $MODDIR/system/etc. Upon restart i'm successfully seeing that same file appear /etc.
However when I create a new file under $MODDIR/system/vendor, Upon restart i'm not seeing that under /vendor. ALSO the file is gone from $MODDIR/system/vendor like it was never there.
Any idea what is happening? I've also tried manually mounting in the post-fs-data.sh, where i put the following:
mount -o bind $MODDIR/system/vendor /vendor
That actually caused my system to freeze on the loading screen. I had to reset magisk to non-modded settings in order to get it to run again.
Any help's appreciated.
pvillasuso said:
Sorry OP if this is off topic , but its about magisk and root in 9.1
I have the "system partition remains in ro" issue too , its annoying yes , but I have a bigger problem
When "rooted" , the phone app ( dialer ), and the contacts app both get broken and crash .. So I have to fastbootflash twrp and lose root to make those apps to work normally again
Anyone with the same problem ?
I need root so I can change and use the font ( I like ) with a magisk module
Click to expand...
Click to collapse
i got the solution of above problem from this https://forum.xda-developers.com/huawei-p30-pro/how-to/guide-magisk-root-p30-pro-bl-code-t3938285
Hi I have almost the same issue after updating to EMUI 9.1 the phone hardbricked. It only shows as fastboot on my PC I tried flashing but not sending the img files please help

G8x bootanimation

I need a way to get rid of the annoying carrier bootanimation thats in /product/OP/poweron and use the LG animation in /system/media
#Rooty_Mikes# said:
I need a way to get rid of the annoying carrier bootanimation thats in /product/OP/poweron and use the LG animation in /system/media
Click to expand...
Click to collapse
Nevermind! Figured it out! Searched for the G8X Twrp installer, flashed the ramdisk, flashed Disable DM-Verity&Force Encryption, then just used the twrp file manager to handle what i needed in the directories.
I was under the impression that their was no twrp for g8x.
#Rooty_Mikes# said:
Nevermind! Figured it out! Searched for the G8X Twrp installer, flashed the ramdisk, flashed Disable DM-Verity&Force Encryption, then just used the twrp file manager to handle what i needed in the directories.
I was under the impression that their was no twrp for g8x.
Click to expand...
Click to collapse
We can change root files from twrp? I tried with file managers but it got replaced again by ui. I have root
thekalpkuleria_24 said:
We can change root files from twrp? I tried with file managers but it got replaced again by ui. I have root
Click to expand...
Click to collapse
Yes, operating in twrp you are basically running abd root in terminal and you are system-as-root in the file manager so be careful, back-up prior to any changes. Any apk managers has a hard time with system-as-root permissions in production builds unless your the root master topjohnwu lol
#Rooty_Mikes# said:
Yes, operating in twrp you are basically running abd root in terminal and you are system-as-root in the file manager so be careful, back-up prior to any changes. Any apk managers has a hard time with system-as-root permissions in production builds unless your the root master topjohnwu lol
Click to expand...
Click to collapse
But making change from manager not works coz the ui changes my change again
It should work in twrp; unless you have a recovery.from.boot file in your system. I would go to terminal and run # getprop and see what's going on, you may have a ro.prop that's not allowing what you want to change
Yes it is ro.prop so what should i do?
thekalpkuleria_24 said:
So will running #getprop in terminal help me or twrp will help
Click to expand...
Click to collapse
It will help you find to see if you have a RO "read-only" property and value on your desired item example; I want to set my adb port to 5555 i would run # getprop and look through the property's to find my item and if it says:
$ service.adb.tcp.port=5038
I would change it with:
$ su -c resetprop service.adb.tcp.port=5555
Its all depending on the property and the location in the partition the files are in really in how its modified. What exactly are you trying to do?
#Rooty_Mikes# said:
It will help you find to see if you have a RO "read-only" property and value on your desired item example; I want to set my adb port to 5555 i would run # getprop and look through the property's to find my item and if it says:
$ service.adb.tcp.port=5038
I would change it with:
$ su -c resetprop service.adb.tcp.port=5555
Its all depending on the property and the location in the partition the files are in really in how its modified. What exactly are you trying to do?
Click to expand...
Click to collapse
Im trying to change sounds from product/OP plz tell a proper command what you wrote here it confused me a bit
thekalpkuleria_24 said:
Yes it is ro.prop so what should i do?
Click to expand...
Click to collapse
Run $ su -c resetprop [property]=value
And what to write in property and value ? I have no idea
thekalpkuleria_24 said:
Im trying to change sounds from product/OP plz tell a proper command what you wrote here it confused me a bit
Click to expand...
Click to collapse
thekalpkuleria_24 said:
/product/OP is mounted to a RO only partition, I would modify in the manager built in twrp. The modifications will remain when you reboot the system that way.
Click to expand...
Click to collapse
thekalpkuleria_24 said:
And what to write in property and value ? I have no idea
Click to expand...
Click to collapse
The property doesnt change only value "usually" a number 1 for yes, 0 for no
Okay thanks going for it
#Rooty_Mikes# said:
The property doesnt change only value "usually" a number 1 for yes, 0 for no
Click to expand...
Click to collapse
Do you have twrp?
#Rooty_Mikes# said:
Do you have twrp?
Click to expand...
Click to collapse
No im doing it in termux
thekalpkuleria_24 said:
No im doing it in termux
Click to expand...
Click to collapse
Not going to work
#Rooty_Mikes# said:
Not going to work
Click to expand...
Click to collapse
Ohh why it a terminal too
#Rooty_Mikes# said:
Not going to work....you need twrp or a recovery manager flash like AromiaFM.zip
Click to expand...
Click to collapse
Okay then will do in twrp

Categories

Resources