(EASY ROOT) Z982 via QFIL or TWRP B20_Modified SYSRW 4/8/19 - Blade General

I have here, two packages.
The twrp one is meant for those who have already flashed twrp, the other is for first time root via EDL.
Both flash System RW, updated TWRP and magisk.
TWRP package will not wipe Data, You will loose no data
NOTE - You may have to mount the system RW.
NOTE - The above will be fixed via a future custom rom.
Without further ado, here are the instructions.
Initial Root Instructions
Prep: You must have a Pin screen lock set on your device to prevent data loss.
On your phone go to
Settings>Security>Screen Lock>PIN
and set a pin.
USB Debugging and OEM Unlocking have to be enabled to make this work.
On Your phone go to
Setting>About phone
Then tap on build number 10 time to unlock Developer Settings
Now go to
Settings>Developer Options
Then toggle usb debugging and oem unlocking.
1. Download this package B20 Via QFIL
2. Unzip the file to your desktop.
3. Right click on RunasAdmin_TestSignON.bat and run as administrator.
4. Let your machine reboot.
5. Run Run This.bat
6. Install everything it tells you to install.
NOTE Select WWAN-DHCP when asked
7. RTFM and flash (All the files your need for qfil are in the B20 Folder!!!!)
8. Profit
Then
9.Press and hold Vol+ and Power
10.Once the ZTE screen shows, let go of power while continuing to hold vol+
This will get you into twrp
11.Plug you phone into your computer and from your adb directory, run these commands.
12.adb shell
13.setenforce 0
14.exit
Now on your phone, in twrp
15.Swipe to allow midification
16.Tap Backup
17.check data
18.tap select storage
19.Select microsdcard
20.tap ok
21.Swipe to backup
22.Tap home
23.Tap wipe
24.Tap Format Data
25.Enter yes and tap the blue checkmark
26.Tap home
27.Tap Power off
28.Turn your phone on.
For those who have TWRP already on their device, follow these instructions.
1. Download this package. B20 via TWRP
2. Extract it to your desktop
3. Run "Flash full B25.bat"
4. Profit
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Update 5/253/19
Updated boot.img z982_boot_magisk.img
Update Magisk root "Already obsolete"
Fixes ADB not authorized issues
Update twrp recovery.img z982_recovery_twrp.img
Fixes selinux enforcing related issues related to /data folder
Fixes backup related issues
Fixes zip install related issues

Do you think this will work with my hard bricked phone?

so if our system is still ro, all we have to do is mount rw every time? I was hoping that we would only need to mount it like one time, because im basically doing the same thing I was doing before.

https://drive.google.com/file/d/1YsOFbKcca2GTc6K77vD6-hh4qtk5O3mv/view?usp=sharing
test this. you might need to rename the zip file to bootanimtion.zip.

Chickenaa said:
https://drive.google.com/file/d/1YsOFbKcca2GTc6K77vD6-hh4qtk5O3mv/view?usp=sharing
test this. you might need to rename the zip file to bootanimtion.zip.
Click to expand...
Click to collapse
will do. are all the files already in place.
bootanimation worked, but sound still didnt

evtoofly said:
will do. are all the files already in place.
bootanimation worked, but sound still didnt
Click to expand...
Click to collapse
Upload the build.prop

Chickenaa said:
Do you think this will work with my hard bricked phone?
Click to expand...
Click to collapse
As long as you get the driver working, it should no problem.

xxMoon said:
As long as you get the driver working, it should no problem.
Click to expand...
Click to collapse
Im thinking about reinstalling windows. Do you think i should give it a try?

Chickenaa said:
Im thinking about reinstalling windows. Do you think i should give it a try?
Click to expand...
Click to collapse
I would.

Before you reinstall.. if ur able try on another PC.

xxMoon said:
1. Download this package. B20 via TWRP
2. Extract it to your desktop
3. Run "Flash full B25.bat"
4. Profit
Click to expand...
Click to collapse
Appreciate the update, same problem as before though RO /system and a mount -o rw,remount /system command results in the phone freezing and then restarting.

JasonSec said:
Appreciate the update, same problem as before though RO /system and a mount -o rw,remount /system command results in the phone freezing and then restarting.
Click to expand...
Click to collapse
thought I was the only one, I just stopped trying, if I need to go mount rw, i just use root explorer . Even that freezes sometimes though smh. Some people just got it better than we do

B25
Hello sir,
My phone is running B25. Will this cause issues? Do I need to downgrade?

AjtheLAF said:
Hello sir,
My phone is running B25. Will this cause issues? Do I need to downgrade?
Click to expand...
Click to collapse
No issues for me.

Emerl said:
No issues for me.
Click to expand...
Click to collapse
Did your system become rw?

evtoofly said:
Did your system become rw?
Click to expand...
Click to collapse
I use ES File Explorer. Open the app, wait for su to grant it access, then change the system to RW. I've noticed that the phone will freeze if I tried to switch to RW before the File Explorer was granted su access.

Emerl said:
I use ES File Explorer. Open the app, wait for su to grant it access, then change the system to RW. I've noticed that the phone will freeze if I tried to switch to RW before the File Explorer was granted su access.
Click to expand...
Click to collapse
I noticed that too. I also tried to see if root explorer would mount rw after I used es to mount rw, and it turns out that u still have to mount system separately in both file managers. Bummer because I was looking for a way to always have my system mounted as rw between both file managers.

evtoofly said:
I noticed that too. I also tried to see if root explorer would mount rw after I used es to mount rw, and it turns out that u still have to mount system separately in both file managers. Bummer because I was looking for a way to always have my system mounted as rw between both file managers.
Click to expand...
Click to collapse
I'm guessing once a custom rom is available, the whole system RW situation will be situated. Is there an advantage of root explorer over es explorer?

Emerl said:
I'm guessing once a custom rom is available, the whole system RW situation will be situated. Is there an advantage of root explorer over es explorer?
Click to expand...
Click to collapse
I personally use root explor to chmod files, I dont think es can do it, however es has its own perks as well, so I just keep both just in case

Emerl said:
I'm guessing once a custom rom is available, the whole system RW situation will be situated. Is there an advantage of root explorer over es explorer?
Click to expand...
Click to collapse
Lol, actually you can put init.d scripts in /sbin/.magisk/img/.core/service.d/ and they will do it on boot.
Try my attachment.
I

Related

Cannot for the life of me get system r/w permissions

I've been running cm7 nightlies and now stable 7.0 for some time now. I have the new radio, ladios' kernel, and the sdcard read fix flashed.
I installed super manager and successfully deleted some of the stock cm7 media off my phone last week. Today, I came across the new GPS.conf files and wanted to try them.
Super manager couldn't switch the system to r/w despite saying "ok"
When I try to delete or write in the system with EStrongs file explorer, ghost commander, or android mate, they all give strange errors. The deleted files disappear but reappear after reboot. If I try to paste a file in system/etc I only get an error.
Superuser is successfully allowing permissions. I have the latest busybox. I have r/w enabled in each file manager.
I even tried an adb push test which first said "system is r/o only". The next try was "successful" but didn't do anything.
I'm still new with adb so I probably did something wrong. I typed in that r/w command, mount now shows: /dev/block/mtdblock3 on /system type yaffs2 (rw,relatime)
I can't figure out what changed and what I need to do to get r/w permissions. My only theory is that i had uninstalled and reinstalled super manager earlier and that somehow messed with my permissions.
You cannot permanently modify the system partition while the phone is booted into Android. The only way is to use adb while the phone is in recovery mode. Any changes you make while the phone is booted will be lost after a reboot.
Go check on those media files you thought you deleted. I bet you'll find they are still there.
Yes that worked. Thank you.
I thought I had read somewhere that you had to be booted to adb push.
I also thought that root managers advertising r/w capability would make permanent changes.
Next question:
Can I add and remove files from the cm7 zip before flashing it? Do I have to rezip it in any special or can windows 7 manage it fine?
EDIT: Ok I guess i need to sign it... lets see...
jamus28 said:
Yes that worked. Thank you.
I thought I had read somewhere that you had to be booted to adb push.
I also thought that root managers advertising r/w capability would make permanent changes.
Next question:
Can I add and remove files from the cm7 zip before flashing it? Do I have to rezip it in any special or can windows 7 manage it fine?
EDIT: Ok I guess i need to sign it... lets see...
Click to expand...
Click to collapse
You don't need to sign them on the aria
Sent from my Liberty using XDA App
jamus28 said:
Yes that worked. Thank you.
I thought I had read somewhere that you had to be booted to adb push.
I also thought that root managers advertising r/w capability would make permanent changes.
Click to expand...
Click to collapse
Those programs will work on some phones but not the Aria.
Next question:
Can I add and remove files from the cm7 zip before flashing it? Do I have to rezip it in any special or can windows 7 manage it fine?
EDIT: Ok I guess i need to sign it... lets see...
Click to expand...
Click to collapse
It really is as simple as adding or removing a few files from the zip file if you want to modify it.

[Q] How to replace files in filesystem

Hello,
i need some help.. the gps in my phone takes alot time to lock(?)...
someone created a gps.conf to replace the original file in system folder.. however i cannot replace the file neither edit it (i have root and tried it with ES Explorer)..
am i doing anything wrong? and how can i access the filesystem by usb? i tried booting the phone with power+vol up/down.. but there (pink screen) no drive was mounted..
thanks and sorry for possible english errors!
if you are using ES File Explorer, you need enable 'root' option and 'mount / /system as read/write' option to replace the gps.conf file
I have same problem.
I had rooted and flashed CW to get 2.2.1 -> Official 2.3 -> ICS
But on step 2. what needs to root and CW to get ICS it is impossible to get the system rooted and flashed again.
When going with + - on boot to magenta screen, Windows (Or Linux) does not recognize any drives to be mounted. Were there a external MicroSD card in slot or not.
I have now rooted device two different way and both say that device is rooted. Even the phone itself says that it is rooted. But no sudo is working so I can not even enable SE Manager root functions or to re-mount any partition as read-write mode because applications does not have root rights.
lovetide said:
if you are using ES File Explorer, you need enable 'root' option and 'mount / /system as read/write' option to replace the gps.conf file
Click to expand...
Click to collapse
i forgot the rw option! i've mounted / but forgot w permissions
thanks a lot, lovetide!
and about the usb mount of /?
when i am in the pink screen and connect the usb shouldn't i see the 3 drives (fs, internal sd, sd)?
No, only image folder.
Sent from my ragelis
Done it. Replaced the file

AdBlocker for ICS

Has anyone got a working AD-Blocker for the ICS Roms...?
I have tried to update the host file manually and this has not worked... as system is R/O
Tried setprop system.mount rw still no joy....
Just wondered if anyone had got anything working....
Thanks
nihilist_ said:
Has anyone got a working AD-Blocker for the ICS Roms...?
I have tried to update the host file manually and this has not worked... as system is R/O
Tried setprop system.mount rw still no joy....
Just wondered if anyone had got anything working....
Thanks
Click to expand...
Click to collapse
You can change hosts file with rooted device. I suggest use Es File explorer for full access R/W file system. If you edit hosts file on windows, you must convert it using dos2unix before copy to A500.
ROOT WITH
http://forum.xda-developers.com/show....php?t=1546593
DO NOT INSTALL FACELOCK or ACER RING
then after you open your tablet.
1 - Launch A500 Remount
2 - Press /system (Full access in ICS LEAK)
reboot your tablet
redo 1 and 2
then
use root explorer, go to system and press r/w button to change to r/w that should work
1) Get root as mentioned earlier
2) download AdFree from the Play Store. It works with ICS
This is the easiest method
Bloodflame said:
1) Get root as mentioned earlier
2) download AdFree from the Play Store. It works with ICS
This is the easiest method
Click to expand...
Click to collapse
This is a good method, however I noticed some problems with links to sites with ad redirects not working with AdFree. ROM Toolbox on the Play Store has an ad blocking option built in that has some more options (such as blocking risky sites or porn) so you can tweak to your liking.
AdAway also works, plus it has quite good block lists (AdFree misses some ads for me).
Thanks guys... I have root access already but still cant get R/W....
I am going to flash another ROM via CM.....
I used to like it when the old flash able ZIP files work..
Thanks
again to all
nihilist_ said:
Thanks guys... I have root access already but still cant get R/W....
I am going to flash another ROM via CM.....
I used to like it when the old flash able ZIP files work..
Thanks
again to all
Click to expand...
Click to collapse
Do you follow what I said or you just quick read..
the R/W you get it by doing what I said.
sometimes it's just weird, but reboot, and remount in RW then USE ONLY ROOT EXPLORER to mount R/W system/ others didn t make them work...
and command line neither...

[Q] Unrooting a phone without USB?

I rooted my phone with Motochopper.
Since then, the phone has failed to connect to my computers via USB. I'd like to take the phone in and have it looked at, but I'm a bit concerned about what they'll say when they see the "Custom" unlock icon on the boot screen.
Is there a way to un-motochop my phone without using USB?
Yes
Step 1: Download ES File Explorer
Step 2: Open ES and press Menu key on phone (grant root when asked)
Step 3: Click Tools -> Root Explorer
Step 4: Click Mount R/W and select RW for all options and click OK
Step 5: Click / on top
Step 6: Navigate to System -> xbin and delete Busybox and SU
Step 7: Reboot
You are now unrooted:good:
polish_pat said:
Yes
Step 1: Download ES File Explorer
Step 2: Open ES and press Menu key on phone (grant root when asked)
Step 3: Click Tools -> Root Explorer
Step 4: Click Mount R/W and select RW for all options and click OK
Step 5: Click / on top
Step 6: Navigate to System -> xbin and delete Busybox and SU
Step 7: Reboot
You are now unrooted:good:
Click to expand...
Click to collapse
Should one also uninstall SuperUser (or SuperSU if applicable) also?
Aou said:
Should one also uninstall SuperUser (or SuperSU if applicable) also?
Click to expand...
Click to collapse
yes, but through app manager, not through es
Thank you both!
I'm a little worried... I long-clicked on Busybox and selected delete, and it appears that quite a few files were deleted. The only file left in /system/xbin is "dexdump"
Is that correct? I don't want to reboot until I can verify this.
NOOO thats not correct, you deleted all files, you will be bricked for sure, i suggest you backup your stuff a prepare to restore thru odin
Download ES File Explorer from Play, delete the Xbin stuff first and then delete the superuser. Then do a factory reset and you should be all set.
Unless you have a custom recovery, then you'll have to odin your device.
House M.D. said:
Download ES File Explorer from Play, delete the Xbin stuff first and then delete the superuser. Then do a factory reset and you should be all set.
Unless you have a custom recovery, then you'll have to odin your device.
Click to expand...
Click to collapse
I hate it when people come in a thread and just give a solution that's already been posted and think they got the solution to solve the problem
Sent from my SGH-I337M using Tapatalk 2
polish_pat said:
I hate it when people come in a thread and just give a solution that's already been posted and think they got the solution to solve the problem
Sent from my SGH-I337M using Tapatalk 2
Click to expand...
Click to collapse
really? please keep your emotions outside the community.
Without factory reset, the phone will still show as "custom", so please give the complete instructions next time.
Thank you!
Aou said:
Should one also uninstall SuperUser (or SuperSU if applicable) also?
Click to expand...
Click to collapse
polish_pat said:
Yes
Step 1: Download ES File Explorer
Step 2: Open ES and press Menu key on phone (grant root when asked)
Step 3: Click Tools -> Root Explorer
Step 4: Click Mount R/W and select RW for all options and click OK
Step 5: Click / on top
Step 6: Navigate to System -> xbin and delete Busybox and SU
Step 7: Reboot
You are now unrooted:good:
Click to expand...
Click to collapse
Thank you, Pat and Aou. The process worked; after deleting the files and uninstalling the app and performing two reboots my phone no longer shows the open padlock with the "Custom" badge. I did not need to do a 'factory reset' of any kind.
From the little research I did, I'm guessing that all of those files that disappeared when I deleted BusyBox were symlinks to the deleted file.
NogginBoink said:
Thank you, Pat and Aou. The process worked; after deleting the files and uninstalling the app and performing two reboots my phone no longer shows the open padlock with the "Custom" badge. I did not need to do a 'factory reset' of any kind.
From the little research I did, I'm guessing that all of those files that disappeared when I deleted BusyBox were symlinks to the deleted file.
Click to expand...
Click to collapse
Good, i'm really happy to hear you didnt screw up the phone, i think it's the first time see somebody delete the content of their system folder and get away with it
NogginBoink said:
Thank you, Pat and Aou. The process worked; after deleting the files and uninstalling the app and performing two reboots my phone no longer shows the open padlock with the "Custom" badge. I did not need to do a 'factory reset' of any kind.
From the little research I did, I'm guessing that all of those files that disappeared when I deleted BusyBox were symlinks to the deleted file.
Click to expand...
Click to collapse
Excellent - happy to help. Best of luck getting the USB issue resolved.

Can't mount /System as R/W

Hi,
I recently rooted and installed Cyanogenmod 13 on my S5 however I've been having issues with the battery. I lose around 20% on idle in an hour. Under clocked my CPU to about min 900 and max 1000MHz and its gotten better, however, still got battery and a little bit of over hearing issues. (gets a little warm on idle which shouldn't at all)
I'd heard its the NFC that's causing these issues so wanted to delete that but I'm unable to mount the system as read and write and I've tried with many programs and the terminal.
Any suggestions? Thanks
Axle0 said:
Hi,
I recently rooted and installed Cyanogenmod 13 on my S5 however I've been having issues with the battery. I lose around 20% on idle in an hour. Under clocked my CPU to about min 900 and max 1000MHz and its gotten better, however, still got battery and a little bit of over hearing issues. (gets a little warm on idle which shouldn't at all)
I'd heard its the NFC that's causing these issues so wanted to delete that but I'm unable to mount the system as read and write and I've tried with many programs and the terminal.
Any suggestions? Thanks
Click to expand...
Click to collapse
Go to developer options in settings, and enable Root for all apps
*Detection* said:
Go to developer options in settings, and enable Root for all apps
Click to expand...
Click to collapse
I have previously set root access for both apps and ADB. However, still cant mount the system as rw.
What are you trying to set it R/W with?
Just use ES File Explorer, enable Root access in the tools left side menu, and edit whichever system file you want
*Detection* said:
What are you trying to set it R/W with?
Just use ES File Explorer, enable Root access in the tools left side menu, and edit whichever system file you want
Click to expand...
Click to collapse
I tried ADB, root explorer, Solid Explorer, Mount /System RO/RW, etc ... and even as you mentioned ES file explorer, however so far none has worked :/
With ES file explorer when I try to mount as RW, it fails to do so for only two folders in the device. both /system and /firmware-modem which I find odd and yes I have enabled root and granted permission.
Any other suggestions? Thanks
System is already RW with ES File Explorer if you have granted Root permissions to it
What are you trying to do?
*Detection* said:
System is already RW with ES File Explorer if you have granted Root permissions to it
What are you trying to do?
Click to expand...
Click to collapse
So basically I'm trying to delete system/app/NfcNci folder. I have attached a photo on how my es file explorer looks for mounting rw and ro. I can mount anything to rw except for the 2 that are ro and remain ro even after setting them to be rw. I have granted root through superSU and the developer options
Thanks
I wonder if it's because you've flashed SuperSU, when CM13 doesn't need it, maybe it's conflicting with the developer options root toggle
When I flashed CM13, I didn't flash SuperSU, I just went straight to developer options, and enabled root for all apps
What happens if you just go ahead and try to delete that file/folder with ES File Explorer (After enabling root in ES left side panel) ?
*Detection* said:
I wonder if it's because you've flashed SuperSU, when CM13 doesn't need it, maybe it's conflicting with the developer options root toggle
When I flashed CM13, I didn't flash SuperSU, I just went straight to developer options, and enabled root for all apps
What happens if you just go ahead and try to delete that file/folder with ES File Explorer (After enabling root in ES left side panel) ?
Click to expand...
Click to collapse
Yea unfortunately I didn't know cm13 had such option only after flashing with SuperSU
When I do so it just say the file is read only and doesn't delete.
I'm updating cm13 atm. If that doesn't get me anywhere I might full unroot through SuperSU then root with cm13.
Axle0 said:
Yea unfortunately I didn't know cm13 had such option only after flashing with SuperSU
When I do so it just say the file is read only and doesn't delete.
I'm updating cm13 atm. If that doesn't get me anywhere I might full unroot through SuperSU then root with cm13.
Click to expand...
Click to collapse
I'd just wipe SYSTEM & CACHES from TWRP - flash the latest version of CM13, root from Dev options, and see how you get on there
By doing that, you don't touch your data, installed apps, or anything else, they are on separate partitions - so they'll still be there when you boot back up
So I couldn't just delete caches and system. Because after doing so and flashing CM13 it wouldn't boot up and I tried multiple versions so I ended up wiping everything except for SD data and then installed the latest version. Then rooted through CM13 itself and then was able to give system RW permissions. So all is good now including the battery life. Thank you for your help Detection
Good stuff

Categories

Resources