Hi,
I want to over-right the framework-res.apk file to mod the battery icon but in Root explorer it says the file is read-only and when I try Android Commander it says I need root to do this. I know I have root working as titanium backup works. So how comes I can't copy over this file?
You need to mount your system patition as r/w.
Before pasting the modified framework-res.apk, click on the "mount r/w" button at the top of the Root Explorer window. Then you'll be able to overwrite it.
Don't forget to click the button again (which is now "mount r/o") to remount the system partition as read only again.
AFK_Matrix said:
Hi,
I want to over-right the framework-res.apk file to mod the battery icon but in Root explorer it says the file is read-only and when I try Android Commander it says I need root to do this. I know I have root working as titanium backup works. So how comes I can't copy over this file?
Click to expand...
Click to collapse
Using root eksplorer to push framework.apk is a good way to get the boot loops, so remember to check that the new framewourk.apk it is the same version you are running.
stian230 said:
Using root eksplorer to push framework.apk is a good way to get the boot loops, so remember to check that the new framewourk.apk it is the same version you are running.
Click to expand...
Click to collapse
Right, it is actually very recommended to make this check even when using ADB or ODIN to push a new framework-res.apk version. I got myself into many bootloops skipping this test when I had my first Android phone
First. I'm sorry about my English language (I can use a little)
but I can't delete some file in this directory ".ifs" folder
Because. Yesterday I'm rooted my phone (This is a first time i root Android phone) i've explore alot of file in my phone
I found "logo.jpg" ( I Guest this is BOOT SCREEN PICTURE FILE ) in ".ifs folder" I Think if i replace with another JPG file. I can change BOOTSCREEN another Picture too.
when i copy and replace with new JPG file in this directory. I CAN'T replace it. But it create Duplicate file with "logo-Copy.jpg"
I do this 2 time but not work.
I can't delete or replace "logo.jpg" file in " mnt .ifs " Directory
that useless. So ! I want to delete "logo-Copy.jpg" or "logo-Copy (2).jpg" but I CANNOT DELETE IT TOO.
I'm use ROOT EXPLORER program SD Maid and ES EXPLORER it still not work ( SET mounted read and write )
How to delete it ?
Thank you and Best Regards
------------------
My Device : SAMSUNG SL GT I9003 gingerbread 2.3.5
Mount /system as writable using ES explorer. Use Terminal. Use cd command to navigate to the directory, type su to enter su mode, type rm -f file.name to remove the file.
Sent from my Nexus 7
markdoom said:
First. I'm sorry about my English language (I can use a little)
but I can't delete some file in this directory ".ifs" folder
Because. Yesterday I'm rooted my phone (This is a first time i root Android phone) i've explore alot of file in my phone
I found "logo.jpg" ( I Guest this is BOOT SCREEN PICTURE FILE ) in ".ifs folder" I Think if i replace with another JPG file. I can change BOOTSCREEN another Picture too.
when i copy and replace with new JPG file in this directory. I CAN'T replace it. But it create Duplicate file with "logo-Copy.jpg"
I do this 2 time but not work.
I can't delete or replace "logo.jpg" file in " mnt .ifs " Directory
that useless. So ! I want to delete "logo-Copy.jpg" or "logo-Copy (2).jpg" but I CANNOT DELETE IT TOO.
I'm use ROOT EXPLORER program SD Maid and ES EXPLORER it still not work ( SET mounted read and write )
How to delete it ?
Thank you and Best Regards
------------------
My Device : SAMSUNG SL GT I9003 gingerbread 2.3.5
Click to expand...
Click to collapse
I think you haven't rooted correctly, download this app and root check:
Here
If you aren't rooted then try to root again with this guide:
Here
Hit the Thanks button if helped.
Thank you for all comment. and sorry for my delay.
I still can't delete it. but. Yesterday I Flashed new stock rom.
So. logo.jpg file has been deleted
Does the device work after reboot
You have deleted the Bootscreen. Does your device boot anymore?
Does it show your new pcture on power on?
Hi,
I tried to edit the file "state" in "/sys/devices/virtual/switch/hdmi/" to unlock HDMI checking according to some internet posts I found. The problem is that it won't let me edit the file. I used Root explorer. My phone is rooted.
I also tried using Terminal emulator + Busybox to directly edit the file but it still didn't work. The file can be copied to other directory, and the copied file in the new directory can be edited, but the original file cannot be deleted or edited. When I tried to delete it, the message showed "Operation not permitted".
Any idea? Do I have to use "mount" command ? If so, please suggest. I am new to android and linux.
naiponnoi said:
Hi,
I tried to edit the file "state" in "/sys/devices/virtual/switch/hdmi/" to unlock HDMI checking according to some internet posts I found. The problem is that it won't let me edit the file. I used Root explorer. My phone is rooted.
I also tried using Terminal emulator + Busybox to directly edit the file but it still didn't work. The file can be copied to other directory, and the copied file in the new directory can be edited, but the original file cannot be deleted or edited. When I tried to delete it, the message showed "Operation not permitted".
Any idea? Do I have to use "mount" command ? If so, please suggest. I am new to android and linux.
Click to expand...
Click to collapse
Interested too. I m exactly at the same point, even with sys mounted RW
Hi. Any news oh this? Thanks
Hi,
I'm new with this, and tried to update my Lenovo Vibe X2 to the most recent rom that I found... it is a custom rom, basicly the latest version without the chinese applications.
I read a little and saw some videos, to update it using the sp flash tool. And I made it... using the option Format+download :cyclops:
Now I have it updated, but my phone has invalid IMEI , MAC, etc... Reading a little more, I found some indications to restore the IMEI, but I would like some help to avoid be worst that it is.
I have an online Nandroid backup, that I make before the flash, I can see the files in Nandroid Manager...
boot.img, cache.ext4.tar, data.ext4.tar, nandroid.md5, recovery.img, recovery.log, system.ext4.tar
So, is it possible restore the original NVRAM from my backup and apply it using the sp flash tool?
Thank's in advance for any kind of help.
Regards,
Cristiano.
Any help?
solved
cocarvalho said:
Any help?
Click to expand...
Click to collapse
Thanks everyone! I found an solution. Regards.
Hi
Can you explain how you did or point me to the right direction?
Ihave the same problem
thanks
Tectudo8 said:
Hi
Can you explain how you did or point me to the right direction?
Ihave the same problem
thanks
Click to expand...
Click to collapse
Hi!
Let me try explain...
First of all, I install the FX explorer and the ROOT add on for it. I used it to explore my backups and copy the files to the root directories.
- Copy your backup to your phone (if you don't have yet)
- Enter in the FX explorer and navigate in the MAIN STORAGE and go to your backup directory (in my case the clockworkmod)
- In this directory, enter in the data.ext4.tar file
- And after that, go to DATA
- And access NVRAM directory
- MD directory
- NVRAM directory
- NVD_IMEI directory
- hold at MP0B_001 file, and select COPY option
- back into the first menu and select the option SYSTEM (ROOT)
- Go to /data/NVRAM/MD/NVRAM/NVD_IMEI directory and paste the file...
Now the IMEI was restored.
After that, you can do the same, going to /DATA/NVRAM/APCFG/APRDEB directory of you backup and copy all files
Go to the SYSTEM ROOT enter in the same directory /DATA/NVRAM/APCFG/APRDEB and paste all files.
Now you can reboot you phone and the magic comes true... The IMEI, MAC_Address was restored and NVRAM Wifi removed.
Good luck.
Let me know if you have any question.
Regards,
Hi again and thanks for asnwer
I have a problem
When I go to /data/NVRAM/MD/ with root and fx nothing appears...
Itried creating the next directories and paste the file but that way it didnt work
Do you know what could be the problem?
Do I have to make a phone call to do this?
cocarvalho said:
Hi!
Let me try explain...
First of all, I install the FX explorer and the ROOT add on for it. I used it to explore my backups and copy the files to the root directories.
- Copy your backup to your phone (if you don't have yet)
- Enter in the FX explorer and navigate in the MAIN STORAGE and go to your backup directory (in my case the clockworkmod)
- In this directory, enter in the data.ext4.tar file
- And after that, go to DATA
- And access NVRAM directory
- MD directory
- NVRAM directory
- NVD_IMEI directory
- hold at MP0B_001 file, and select COPY option
- back into the first menu and select the option SYSTEM (ROOT)
- Go to /data/NVRAM/MD/NVRAM/NVD_IMEI directory and paste the file...
Now the IMEI was restored.
After that, you can do the same, going to /DATA/NVRAM/APCFG/APRDEB directory of you backup and copy all files
Go to the SYSTEM ROOT enter in the same directory /DATA/NVRAM/APCFG/APRDEB and paste all files.
Now you can reboot you phone and the magic comes true... The IMEI, MAC_Address was restored and NVRAM Wifi removed.
Good luck.
Let me know if you have any question.
Regards,
Click to expand...
Click to collapse
Do I have to make a phone call to do this?
Disclaimer: Untested on the following devices:
-A2017U on Oreo B20
-A2017 (chinese version) Oreo B18
-A2017G B03
If you want to test, do so at your own risk!
If it does or does not work, please report back on this thread so i can edit the OP
Yes you read right, finally we can get rid of that nonsense system write protection and get system write permissions on Oreo back!
For those that are eager to know how to do it before i go on mumbling a story about the technical details yada yada yada:
Download this TWRP flashable zip by @raystef66 and flash it: https://androidfilehost.com/?fid=11410963190603874735
Now you have disabled ZTE's protection and got system write permissions (if you are rooted of course, if not then there is still androids native protection; more info on that matter below)
Huge thanks to @raystef66 for creating the zip.
Now to the technical stuff:
As you probably know, since Oreo we can't use "reboot disemmcwp" anymore. Thats because ZTE removed this option.
Why did they do this?
I don't have any idea
Does it make sense?
No, not at all. It doesn't even make sense for ZTE having this write protection implemented in the first place. Why not you ask? Because android itself already has its own native system write protection. If you are not rooted, system is write protected, it's as simple as that. After all, the whole point of rooting your device is to get system access so you can make all kinds of modifciations to your device that wouldn't otherwise be possible without root. Be it simple file edits (build.prop), xposed/magisk modules or any app that requires root and so on.
So what does the zip above do to disable system write protection and give write permissions to system?
To put it simply. The file inside it (emmc_appsboot.mbn) contains various lines regarding system write protection, fastboot etc. Some of those lines are for disabling system write protection. If you flash the zip, it gets disabled.
The original emmc_appsboot.mbn file that comes with the Oreo OTA, doesn't contain these lines. Instead it makes sure that system write protection is intact. Therefore, even if you are rooted, you won't be able to do any modifciations to system (they revert back after reboot).
Can you re-enable ZTE's system write protection?
Nope. Why would you even wanna do that?! Again, android has it's own system write protection (see "Does it make sense?" above). If you want that back, simply unroot.
Wait, you mentioned there are also lines for fastboot in that emmc_appsboot.mbn file, what about that?
Well yes, as mentioned earlier there are some lines regarding fastboot. But i'm unsure of one thing as of now. Was fastboot unavailable in Oreo B02 to any of you guys? If yes, then you should get also fastboot back after having flashed the zip. I could enter fastboot mode when selecting it in the unlocked bootloader warning screen. I forgot test it before disabling system write protection so i am not sure if it already was accessible or got enabled after flashing the zip.
@GodOfPsychos Thanks for your perseverance :good:
Thanks, I will test it on B02. I had install an old Bootstack for write permissions on B02.
On B03 can't flash a working TWRP
I can not install the b03 by edl adding it to the TWRP file for oreo. When trying to restart in twrp the phone turns off. I can not find the solution Therefore I can not flash anything else either.
I'm going to try the Chinese rom Oreo B19.
Thanks for everything! I hope that in the B19 we have good results
In the B19 for the a2017 after starting in EDL the system and rebooting in TWRP installing magisk 16.7 and after the zip I have found that the system only starts in fastboot.
I will continue testing
@GodOfPsychos @raystef66 On the assumption it does not work on B03/B18/B19/B20, can it be implemented on their original emmc_appsboot.mbn?
have tested on Oreo B03 and works. on B03 can only use TWRP 3.2.1-7NFound, but have no access to internal memory.
on B02 and B03 in system/priv-app i can´t delete top folder, inside folder have fully access. in system/app no problems.
blackpac said:
@GodOfPsychos @raystef66 On the assumption it does not work on B03/B18/B19/B20, can it be implemented on their original emmc_appsboot.mbn?
Click to expand...
Click to collapse
That depends. The file itself is not 100% readable via simple notepads (i looked into it with notepadd++ for example). It has a bunch of strange characters besides the bit of clear text. I don't know how or which lines need to put where and how etc. I know i said there are lines regarding disabling write protection in there etc. But the main issue is that not all of the file is fully readable. So there could be even more "unreadable" stuff (weird characters) that need to be taken into consideration besides the readable ones.
See attachment to see what it looks like when you open one of them with notepad++
But yes in theory it is possible if ZTE doesn't change the implementation of their protection.
I hope that anyone who is more of an expert for this sort of stuff can help with this.
Rennert said:
have tested on Oreo B03 and works. on B03 can only use TWRP 3.2.1-7NFound, but have no access to internal memory.
on B02 and B03 in system/priv-app i can´t delete top folder, inside folder have fully access. in system/app no problems.
Click to expand...
Click to collapse
which top folder do you mean? inside system/priv-app i can delete folders without a problem (using root explorer for example).
GodOfPsychos said:
which top folder do you mean? inside system/priv-app i can delete folders without a problem (using root explorer for example).
Click to expand...
Click to collapse
Yes top folder inside System/priv-app, example calendar_stock, can't delete it, but apk and subfolder inside this folder can delete without problems. It's only on priv-app folder, all other folders no problem.
Hmm. Are you trying to delete them via twrp file manager or an app like i mentioned previously?
Noob question whay you guys are booting to reboot disemmcwp,could anyone explain this method usage
GodOfPsychos said:
Hmm. Are you trying to delete them via twrp file manager or an app like i mentioned previously?
Click to expand...
Click to collapse
I use Root Explorer, can create new folder and delete this in priv-app. in TWRP file manager I can't delete folders, only files.
blackpac said:
@GodOfPsychos @raystef66 On the assumption it does not work on B03/B18/B19/B20, can it be implemented on their original emmc_appsboot.mbn?
Click to expand...
Click to collapse
First off, anyone on Oreo U and Oreo CN have to flash the zip and see if he/her can change f.e. build.prop (add a character), save and reboot and see if change has applied. Also test if system folder can be deleted, reboot and see if things boot. If not working i'll take a look into the changes ZTE made and see if I can change some lines into the aboot file. So let me know
Rennert said:
have tested on Oreo B03 and works. on B03 can only use TWRP 3.2.1-7NFound, but have no access to internal memory.
on B02 and B03 in system/priv-app i can´t delete top folder, inside folder have fully access. in system/app no problems.
Click to expand...
Click to collapse
3217 will do. Have you tested the 3218 too?
Rennert said:
Yes top folder inside System/priv-app, example calendar_stock, can't delete it, but apk and subfolder inside this folder can delete without problems. It's only on priv-app folder, all other folders no problem.
Click to expand...
Click to collapse
Normaly you should be able to delete a system folder. It's been tested. Use a Root explorer like Solid and it should work. On B02 it was.
raystef66 said:
Normaly you should be able to delete a system folder. It's been tested. Use a Root explorer like Solid and it should work. On B02 it was.
Click to expand...
Click to collapse
I can delete all folders in system, but can't delete the top folders in priv-app. Tested on B02 and B03. Have removed in TWRP terminal with rmdir and works
Rennert said:
I can delete all folders in system, but can't delete the top folders in priv-app. Tested on B02 and B03. Have removed in TWRP terminal with rmdir and works
Click to expand...
Click to collapse
I haven't any problems with deleting folder under /system/priv-app using MiXplorer on B03.
I tested A2017G.B03 and A2017.B19. Both of them were flashed using EDL full packages by djkuz.
Tested with b20 modified kernel (by Asderdd), Disable_Dm-Verity_ForceEncrypt_12.08.2018 (by zackptg5) and Magisk 18.0.
Haven't any issues. /system is writable and Magisk is working.
Thank you raystef66.
Does that mean we may expect SL!M 7?
Magisk 18 doesn't work on A2017GB02 and B03.
Yes system is writable except system/priv-app/ top folder, it's funny that I can create new folder and delete this and
existing top folders are fails.
Rennert said:
Magisk 18 doesn't work on A2017GB02 and B03.
Yes system is writable except system/priv-app/ top folder, it's funny that I can create new folder and delete this and
existing top folders are fails.
Click to expand...
Click to collapse
Just tried and deleted every folder in /system/priv-app/. Couldn't take a screenshot after that. :cyclops:
What kind of root do you have?
klałn said:
I haven't any problems with deleting folder under /system/priv-app using MiXplorer on B03.
I tested A2017G.B03 and A2017.B19. Both of them were flashed using EDL full packages by djkuz.
Tested with b20 modified kernel (by Asderdd), Disable_Dm-Verity_ForceEncrypt_12.08.2018 (by zackptg5) and Magisk 18.0.
Haven't any issues. /system is writable and Magisk is working.
Thank you raystef66.
Does that mean we may expect SL!M 7?
Click to expand...
Click to collapse
The one that had close contact with ZTE was @GodOfPsychos . All credits go to him
Thnx for reporting also thnx @Rennert
That would be the idea of making a Sl!M one even for U and CN, yes. Hope to find some time free :highfive:
klałn said:
Just tried and deleted every folder in /system/priv-app/. Couldn't take a screenshot after that. :cyclops:
What kind of root do you have?
Click to expand...
Click to collapse
have Magisk 16.7. if i flash Magisk18 it only boot in Bootloader. Flash 16.7 now system boots.
issue on priv-app folder solved. i had install Viper4AndroidFX in Magisk, deinstall and can delete top folder. new install and delete are fail.
Rennert said:
have Magisk 16.7. if i flash Magisk18 it only boot in Bootloader. Flash 16.7 now system boots.
issue on priv-app folder solved. i had install Viper4AndroidFX in Magisk, deinstall and can delete top folder. new install and delete are fail.
Click to expand...
Click to collapse
I've tried several things in Chinese b19: flashing rom by edl and booting with recovery twrp 3.2.1.7. then flashing dm_verity and your zio. In no case I succeed. maximum achievement that I boot in fastboot I do not achieve that. I started flashing magisk. Always in bootloop