Hi Guys.
As the title suggests root access suddenly disappeared from my nexus 6p yesterday.
DigitalHigh rom 7.0 was flashed through the latest twrp (3.0.2-2) and everything was running fine. I got the notification that the SU binary is out of date from PHH's SuperUser. Opened it but nothing really happened. So I downloaded superSU and suddenly it prompted me that the device isn't rooted. Being unfamiliar with PHH's SU I decided to flash the latest SuperSu through TWRP but the phone wouldn't boot.
Right now it has been restored to a backup taken just before flashing SuperSU which means everything is running fine and even android pay works however there's no root access. Is there something specific that might have caused this?
Are there any ways to re-gain root?
Haven't gone through the process of a clean flash yet as the phone is needed for work however even if all of that is done the SU binary will still need to be updated. Is there a different method for updating PHH's root?
So far I have tried clearing cache etc. but noting worked.
apostol96t said:
Are there any ways to re-gain root?
Click to expand...
Click to collapse
Phhusson's superuser and SuperSU don't mix. If you're back to booted, but not rooted with Phh, you'll need to either flash one of the Nougat boot images from the nexus/angler folder or the latest superuser.zip (I think the latest is r229) from http://superuser.phh.me
Just bought a XT1575. I followed this link to get it unlocked, installed latest stock rom (6.0 MPH24.49-18-4 from here), and I installed latest TWRP recovery.
Then I tried to install root and Xposed framework. I tried several methods from this link :
Install superSU 2.62-3, my device goes bootloop. I have to recover from my TWRP backup.
Install SuperSU 2.78 with "echo SYSTEMLESS=true>>/data/.supersu" before install. bootloop again.
Please help me on this, thank you so much!
Try this for forced systemless root: http://forum.xda-developers.com/moto-x-style/help/wifi-wont-root-t3463656/post68764815
Then flash Systemless Xposed by topjohnwu, attachment named "xposed-v86.2-sdk23-topjohnwu.zip": http://forum.xda-developers.com/showpost.php?p=67074428&postcount=2
Or romracer's version named "xposed-v86.1-sdk23-arm64-systemless-by-romracer-20160928.zip" in sdk23 > arm64: http://forum.xda-developers.com/xposed/super-alpha-posted-permission-xposed-t3072979
The systemless method you noted is correct. Did you boot fully on the 6.0 ROM first, before trying to flash SuperSU? If you did, verify in the TWRP terminal 'cat /data/.supersu' contains only the SYSTEMLESS=true string, and when you flash SuperSU the log says something about systemless installation.
@acejavelin I did checked there's only SYSTEMLESS=true before install. Very weird.
@pshadoww I know it works... I literally did it this morning to test the lastest 2.78-SR1. It will bootloop twice, then boot after a very long wait that seems scarily long.
@Spasticdroid Greate resources. I tried the systemless root installer you mentioned and it works.
That might be it, I guess I waited for too long and think it's not working. Anyways I used the forced systemless root installer and it works now. Thank you!
I have an A2017U running AOKP's 7.1.1 Nougat ROM with the bootloader unlocked. I tried flashing superuser both through ADB and TWRP recovery v.3.0.2.0 with no avail. I tried the "reboot disemmcwp" fix, and that didn't work either.
I've tried installing it though the Play Store and update the binaries, but the binaries fail to install.
The error seems to occur after the "patching sepolicy" line runs, returning the error "failure, aborting".
Also, if it helps, I used this guide: https://www.reddit.com/r/Axon7/comments/5ezwj3/axon_7_the_current_rooting_and_custom_rom/
Any help will be greatly appreciated!
Update your recovery to the latest available on twrp.me and flash supersu 2.79
jimbo77 said:
Update your recovery to the latest available on twrp.me and flash supersu 2.79
Click to expand...
Click to collapse
I am on the newest version of TWRP, as I stated in the post. Also, flashing SuperSU v2.79 makes TWRP freeze and the phone shuts down. After rebooting, SuperSU is still not installed.
https://dl.twrp.me/ailsa_ii
Go download 3.03.1 and you WILL have the newest. Also 2.79 sr3 is the latest Ssu.
weskoerber said:
I am on the newest version of TWRP, as I stated in the post. Also, flashing SuperSU v2.79 makes TWRP freeze and the phone shuts down. After rebooting, SuperSU is still not installed.
Click to expand...
Click to collapse
The newest TWRP is not 3.0.2. Actually that is the one with the bug that didn't allow supersu to be flashed. Download the latest TWRP from here https://dl.twrp.me/ailsa_ii/twrp-3.0.3-0-ailsa_ii.img and then flash the latest supersu zip
RUNNERX said:
https://dl.twrp.me/ailsa_ii
Go download 3.03.1 and you WILL have the newest. Also 2.79 sr3 is the latest Ssu.
Click to expand...
Click to collapse
jimbo77 said:
The newest TWRP is not 3.0.2. Actually that is the one with the bug that didn't allow supersu to be flashed. Download the latest TWRP from here https://dl.twrp.me/ailsa_ii/twrp-3.0.3-0-ailsa_ii.img and then flash the latest supersu zip
Click to expand...
Click to collapse
You guys are amazing! I apologize for my TWRP ignorance, I could have sworn I was on the newest version. I knew I was not on the newest SuperSU version, but I read somewhere that the only one that worked was v2.65. But v2.79 SR3 is running and I am thankful you guys could help me solve my issue! :good:
No problem glad to be of assistance
So I found out my previous bricking issue was due to not installing SuperSU after allowing modifications in TWRP, a step which I wanted to anyway since root is a must. But it seems SuperSU 2.79-SR2 and SR3 don't work on stock Nougat B15?
There has to be a root method right? Could someone please tell me what I have to do?
Just flash B15 bootstack and system by DrakenFx, then SuperSu 2.79 ull be good to go.
https://forum.xda-developers.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484
Nik2424 said:
Just flash B15 bootstack and system by DrakenFx, then SuperSu 2.79 ull be good to go.
https://forum.xda-developers.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484
Click to expand...
Click to collapse
Thanks , someone had just sent me a private message explaining the SR versions of SuperSU were the issue. Using just 2.79 rather than 2.79 SR whatever worked. No more bricking. I could have sworn I was using SR2 in 6.0.1 B29.
Now the only thing I'm left wondering is if after the initial install it's safe to update SuperSU or if that'd brick my device again.
I just got my unlocked G5 Plus (XT1687) today and I've unlocked the bootloader and installed TWRP and SuperSU.
However, SuperSU seems to be randomly losing root access. It works for a little while, but then I'll get an error in SuperSU about root undetected and I have to reboot back into TWRP and reflash SuperSU. This has happened 3 times so far today.
Has anyone seen this issue in the stock rom? Is there some security process stealthily running in the background that deletes the su binary on a regular basis? I'm running build number NPN25.137-33.
Edit: SuperSU is running in systemless mode
I rooted mine using the Toolkit here yesterday and that afternoon it acted like i lost root. Root checker would say i didn't have root and just constantly flash that it was trying to get permission. I restarted it and it's been fine ever since.
I tried rebooting and it restores root temporarily, but I'm still losing it constantly (no set time interval, but I've seen it lost within a few minutes of a restart). Getting really annoying.
Would flashing one of the modified stock kernels potentially help this?
Hi,
I've the same problem. XT1685
Already done:
- reflash stock
- reflash updated stock
- reflash SuperSu 2.82 SR3 and SR4
Ever the same, after some (short) time the root is lost.
Unrooted from SuperSu app and installed Magisk 14.0: loses root after some moments!
Edit: after some reboots now its working. The root is maintained from 2 days. So Magisk 14.0 works.
Hi.
Here another confirmation. My XT1687 loses root rights once in a while. I’d say it’s about every 3rd day or so.. Simple reboot brings root rights back.
Config:
Build: NPN25.137-83
Kernel: 3.18.31-ElementalX
Root: Magigk 14.0
EDIT: When checking Magisk App I found out that Magisk crashed each time I started Superuser. So, I deinstalled Magisk and re-installed again. No problem ever since.
Always remember to un-optimize Magisk- (or SuperU-) App in battery options! "Boeffla-Doze-Control" also helps to avoid apps from falling asleep.
On StokROM + SuperSU 2.82SR5, I also experienced the same situation.
Running the following command no longer causes problems.
Code:
ln -s /su/bin/su /system/bin/su
Hello there.
I actually rooted my Moto G5 Plus according to this instructions. I flashed TWRP 3.2.1.0 and the last stabel SuperSU.
I also uninstalled SuperSU over "apps" on Stock Rom and tried to flash Magisk, but this causes in an error while flashing (It says something about "Error 1" and about the path, where the magisk.zip is, for further information I would try to flash again and tell you the whole error).
The latest thing I tried was running the command from highwaystar2699 over the terminal from TWRP, but still I loose root randomly.
Can anybody help? =(
Thanks in advance
FlatD
No root losses anymore
Just_a_fan said:
Hello there.
I actually rooted my Moto G5 Plus according to this instructions. I flashed TWRP 3.2.1.0 and the last stabel SuperSU.
I also uninstalled SuperSU over "apps" on Stock Rom and tried to flash Magisk, but this causes in an error while flashing (It says something about "Error 1" and about the path, where the magisk.zip is, for further information I would try to flash again and tell you the whole error).
The latest thing I tried was running the command from highwaystar2699 over the terminal from TWRP, but still I loose root randomly.
Can anybody help? =(
Thanks in advance
FlatD
Click to expand...
Click to collapse
Well, I can say, that after some updates of Magisk I don't experience the problem anymore. Neither me nor a friend who has the G5 (not Plus) have ever lost our root since being on Magisk Version 16.0
Maybe you should give Magisk a try...
G5 Plus Mate said:
Well, I can say, that after some updates of Magisk I don't experience the problem anymore. Neither me nor a friend who has the G5 (not Plus) have ever lost our root since being on Magisk Version 16.0
Maybe you should give Magisk a try...
Click to expand...
Click to collapse
Like I said, installing Magisk returns an error.
Nevertheless, after I ran the command from @highwaystar2699 and canceled the battery-optimization of SuperSU I've got still root after already 5 days of using the phone.
So, thanks for your help, for now =)
I have no ideas that you can solve your problem ...
What I got interested in your post(#8) is "I also uninstalled SuperSU over apps on Stock Rom".
If there is no mistake in my memory, SuperSU have an "unroot" menu, which should be used to uninstall SuperSU.
Did you uninstall by using "unroot" menu?
In any case, I am not sure how to recover the state of your g5plus.
I will not be able to help you. sorry.
highwaystar2699 said:
On StokROM + SuperSU 2.82SR5, I also experienced the same situation.
Running the following command no longer causes problems.
Code:
ln -s /su/bin/su /system/bin/su
Click to expand...
Click to collapse
How and where to run this code? Fastboot or adb terminal?
sudiptoc19 said:
How and where to run this code? Fastboot or adb terminal?
Click to expand...
Click to collapse
Just boot into TWRP and open the terminal (you can find it under "advanced" or "tools", not completely sure right now) and run that command. Maybe you should check where the mentioned su-folder is located right now on your phone, 'cause in my case it was at a different location.
@highwaystar2699: Yeah, afterwards I also realized that unroot-option
So maybe I have to unroot with that option and retry to install magisk. I will try that maybe, if I should loose root again. Or when the next update comes. (I'm a little afraid about that. Sounds difficult to OTA-update after rooting your G5 Plus...)
Either way: Thanks for your help! If I try something, I will report about it here
Super SU working for G5 plus. I don't think so. It has some problems. Bootloops are frequent.
Sooooo, hello again all! @highwaystar2699: I lost root again after one hour when I had to reboot the phone so I just thought about: "Why don't give it a try now?"
So I flashed the superSU again in TWRP to get root, startet the SuperSU app and choose "Unroot". I was asked if I want to unroot because of an OTA update, which I answered with "no". The app closed and root was gone.
I rebooted into recovery and tried to install the magisk 16.0 zip aaaaaaannnnd...
...got Error 1 again.
At the point "Unmounting partitions", TWRP says
"Updater process ended with ERROR: 1
Error installing zip file '/sdcard/Magisk-v16.0.zip'"
Now I'm back to superSU again. Damn, I don't know whats wrong here =(
Short edit for @Yeshu_bablu: Yes, after installing superSU, you've got 2 to 3 bootloops. But only the first time. After it's installed, the phone boots normal.
So, according to you... Which is better? SuperSU or Magisk?
SuperSU is obsolete, twrp you need latest version 3.2.1.0 or higher number if updated.
Once twrp installed you can install the rom of your choice with or without gapps package of your choice.
Then you can install magisk 16.3 for root and modules if wanted.
Yeshu_bablu said:
So, according to you... Which is better? SuperSU or TWRP?
Click to expand...
Click to collapse
SuperSu is root, TWRP is recovery, 2 different things.
[email protected] said:
SuperSu is root, TWRP is recovery, 2 different things.
Click to expand...
Click to collapse
I'm sorry, SuperSu or Magisk?
Short update and big thanks to @highwaystar2699 and @Wolfcity.
After I completely lost root with SuperSU, I tried to install Magisk but failed everytime with already known Error 1.
But finally, after I got a stock boot.img and flashed it and instantly (!) installed Magisk after flashing the boot.img, the phone startet normal and now I've got root without problems.
FIY: When I only flash the boot.img and don't root it in TWRP, the phone keeps bootlooping.
So, to give @Yeshu_bablu an answer: Magisk is better. SuperSu only make problems with Moto G5 Plus. Magisk works like a charm.