Newest SuperSU Beta on OOS3 - OnePlus 2 General

To succesfully install the newest Versions of SuperSU you have to install it in systemless mode. If you flash the ZIP it will install it in /system mode, so you have to force the systemless install.
Before you flash the newest Beta SuperSU.zip go to the TWRP terminal and write:
echo SYSTEMLESS=true>>/data/.supersu
Then flash the ZIP.
SuperSU will be installed in systemless mode and your Phone will boot up fine.

I'm getting stucked in boot logo +1... after installing some apps, with root permissions, like Viper4android, DPI changer, SElinux permissive... don't know what happend. what should i do?
I try this, but still stuck at boot logo...

This method doesn't resolve a boot loop when it is caused by something else. I would recommend you to do a clean install and then install your desired apps one by one with a testing reboot in between to see which app is causing your boot loop.

Scherzengel said:
This method doesn't resolve a boot loop when it is caused by something else. I would recommend you to do a clean install and then install your desired apps one by one with a testing reboot in between to see which app is causing your boot loop.
Click to expand...
Click to collapse
i flash the rom again, and everything works fine now... gonna keep trying if something else happened. thanks.

Is there a way to do this from stock recovery on an encrypted phone?

Scherzengel said:
To succesfully install the newest Versions of SuperSU you have to install it in systemless mode. If you flash the ZIP it will install it in /system mode, so you have to force the systemless install.
Before you flash the newest Beta SuperSU.zip go to the TWRP terminal and write:
echo SYSTEMLESS=true>>/data/.supersu
Then flash the ZIP.
SuperSU will be installed in systemless mode and your Phone will boot up fine.
Click to expand...
Click to collapse
Thanks
First it didn't work for new Update SuperSu V2.46.zip
But it worked for Beta SuperSu V2.74-2xxxxx.zip

Related

Update-binary

has anyone got an update binary for the SPG511 which works ?
Maddhouse said:
has anyone got an update binary for the SPG511 which works ?
Click to expand...
Click to collapse
yeah but it was hard.
first upgrade to unrooted .402 (flash .402 with flashtool)
then run easyroot v5 - http://forum.xda-developers.com/showthread.php?t=2784900
i had to do it twice for some reason
next install dual recovery: http://forum.xda-developers.com/showthread.php?t=2785598
it should boot you into recovery after install, if not something went wrong
i think dualrecovery should install the ndrutils app, but if not get it from the play store and set your recovery to twrp
then download supersu from here and sideload http://download.chainfire.eu/supersu
when prompted to update binaries, select twrp/cwm and then load into twrp after reboot (vol down i believe), go to reboot your system and you should be prompted to fix root on reboot
your binaries should then be fixed

can't reboot in recovery mode

So i recently installed OOS 3.1.3 with Twrp recovery; the phone works fine, now i just need to enable root with superSU but i can't get back in recovery: i just get stuck on the loading screen with the 1+logo..
any ideas on how i could fix this?
LauraBHR said:
So i recently installed OOS 3.1.3 with Twrp recovery; the phone works fine, now i just need to enable root with superSU but i can't get back in recovery: i just get stuck on the loading screen with the 1+logo..
any ideas on how i could fix this?
Click to expand...
Click to collapse
Flash twrp in fastboot mode
Fap4k said:
Flash twrp in fastboot mode
Click to expand...
Click to collapse
And just after the flash, directly reboot on the recovery using the buttons.
Kéno40 said:
And just after the flash, directly reboot on the recovery using the buttons.
Click to expand...
Click to collapse
Thanks it worked fine, don't know how i didn't think of this before
LauraBHR said:
Thanks it worked fine, don't know how i didn't think of this before
Click to expand...
Click to collapse
So i got into recovery and installed superSU.zip but when i reboot it just boots forever so i went back into recovery and uninstalled superSU with a script.. so my opx is still unrooted; should i be using a different version of superSU or what? the one i flashed in the recovery was 2.46 but it didn't work so i uninstalled it and flashed 2.76 and it gave the same problem
LauraBHR said:
So i got into recovery and installed superSU.zip but when i reboot it just boots forever so i went back into recovery and uninstalled superSU with a script.. so my opx is still unrooted; should i be using a different version of superSU or what? the one i flashed in the recovery was 2.46 but it didn't work so i uninstalled it and flashed 2.76 and it gave the same problem
Click to expand...
Click to collapse
You have to use a special SuperSu version with this config.
http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133

[GUIDE] ROOT+XPOSED+SAFETYNET at the same time on Stock and stock based ROMs

This guide provides all the steps and patches required to root the Stock system and having Xposed installed while maintaining SafetyNet (Android Pay, Pokemon Go, etc) compatibility. There are some problems of this method that Magisk is supposed to fix, however the latest Magisk v10 is not supporting our stock ROM yet.
The prerequisites of this guide is to have the bootloader unlocked and TWRP recovery.
DOWNLOADS
The recipe require the following ingredients to be downloaded to your internal or external storage:
1. TWRP 3.0.3 (This is the last release at this moment). more info in the Official Thread. Thanks to @jcadduono . TWRP 3.0.2 can't succesfully flash SuperSU 2.79
2. Default Stock ROM for your phone (Required only if you have modified your system or boot partition). You can download them from this thread. Thanks to @DrakenFX . You can alsouse any other custom ROM based on stock such as ZADMix or HelsAx7 SubMix (both tested).
3. SuperSU v2.79. more info in its official thread.
4. SUhide 0.55. More info in its official thread. Thanks to Chainfire.
5. SafetyNet-KCAL Kernel patch, thanks to @jcadduono also for this one!
6. Xposed v86.2 So far only this version is compatible with SUhide.
7. Material Design Xposed Manager app by DVDandroid. More info about this release in its official thread.
8. Root Switch 1.3.3.2 app. Thanks to shakalaca. More info in its official thread.
INSTALLATION
1. Do a backup of your system, I recommend Boot+System+Data partitions. The next steps will modify at least your boot and data partitions, and some Xposed modules will modify also your system partition.
2. If you already have TWRP 3.0.3 then just boot to recovery and proceed to step 3. If you are still using TWRP 3.0.2 please upgrade to the latest TWRP 3.0.3 and reboot to recovery again.
3. I recommend to flash the default Boot and System Partitions and reboot directly to recovery. You can also use any other custom ROM based on the stock ROM such as ZADMix or HelsAx7.
4. All this step must be done without leaving TWRP. Flash SuperSU 2.79 adding also the zips for SUhide 0.55, Xposed v86.2 and the SafetyNet Kernel patch in that order. They must be flashed together. Without leaving TWRP, navigate from the main menu to Advanced > Terminal, introduce the command reboot disemmcwp and the system will reboot by itself once or twice while configuring the settings for SuperSU. Do not be alarmed.
5. Install Xposed Manager and Root Switch apps.
6. Now you have your system fully rooted and you can now install Xposed modules. However you will see the test app SafetyNet Helper reporting a validation failure. Do not worry about it anymore! When you want to initiate a SafetyNet sensitive application (Android Pay or Pokemon Go among others), just open Root Switch and disable root, no need to reboot. SafetyNet will pass and all your apps will work. You can see that Xposed continue working even after disabling root since it was started before. Do not forget to enable root again otherwise new apps requiring root won't load.
Magisk v10+ promises auto root hide per app, but sadly our stock ROM is not yet supported and the method psoposed here requires the user to disable root before loading any SafetyNet protected app.
Enjoy
Reserved for future Magisk guide.
Has anyone managed to get this working on A2017G/B09? I've had a few attempts, forcing systemless SuperSU, but it hangs at the "AXON" boot screen
H0lmEd said:
Has anyone managed to get this working on A2017G/B09? I've had a few attempts, forcing systemless SuperSU, but it hangs at the "AXON" boot screen
Click to expand...
Click to collapse
At what point of the guide is it hanging at the Axon boot screen? after step 4? Have you ensured that the SafetyNet patch is the last thing you flashed before boot?
I just did this on my B29 A2017U phone and it worked perfectly, can switch root on and off with the root switcher and Safetynet passes fully with root set to off.
My previous attempts were all thwarted by the bootloader being unlocked, so that patch to the kernel works great. I'll be backing this up with twrp and getting a little more adventurous (really want to try the BeastMode kernel) soon.
Much thanks for making it nice and simple, Oki !
Oki said:
At what point of the guide is it hanging at the Axon boot screen? after step 4? Have you ensured that the SafetyNet patch is the last thing you flashed before boot?
Click to expand...
Click to collapse
I'm on the same configuration (A2017G B09). I did a step by step installation/reboot/installation/reboot. The Problem is with suhide. After installing suhide the boot process will stick in the Axon screen.
tron1 said:
I'm on the same configuration (A2017G B09). I did a step by step installation/reboot/installation/reboot. The Problem is with suhide. After installing suhide the boot process will stick in the Axon screen.
Click to expand...
Click to collapse
You do not have to reboot after SUhide. The files at step 4 have to be flashed together without leaving TWRP otherwise it won't work.
Oki said:
You do not have to reboot after SUhide. The files at step 4 have to be flashed together without leaving TWRP otherwise it won't work.
Click to expand...
Click to collapse
In theory you're right. But how do like a bugfix to be done if you don't know at which point you're failing?!?
tron1 said:
In theory you're right. But how do like a bugfix to be done if you don't know at which point you're failing?!?
Click to expand...
Click to collapse
The last patch fixes some problems created by SuperSU, SUhide and Xposed. This is why all the patches in step 4 have to be flashed together without leaving TWRP and in the specified order, otherwise it wont work on stock ROMs.
That looks way complicated. What's wrong with the easy way of flashing Magisk V10 + Phh Superuser r266? This has worked on all my devices since the November security patch broke suhide. Magisk now takes care of the flag to hide bootloader unlock status so no need for a kernel patch too. Then flash systemless Xposed by topjohnwu if you want that and you can turn it on and off in Magisk Manager if you want to use Android Pay, play Pokemon Go, etc.
Hi,
I have a A2017G running B08, already unlocked and witch SuperSU 2.79. Just the older version of TWRP.
Can I just upgrade the TWRP and proceed with step 4 and so on? Hate to go back to stock...
Tia,
Cheers,
/Cacti
Tikerz said:
That looks way complicated. What's wrong with the easy way of flashing Magisk V10 + Phh Superuser r266? This has worked on all my devices since the November security patch broke suhide. Magisk now takes care of the flag to hide bootloader unlock status so no need for a kernel patch too. Then flash systemless Xposed by topjohnwu if you want that and you can turn it on and off in Magisk Manager if you want to use Android Pay, play Pokemon Go, etc.
Click to expand...
Click to collapse
For some reason Magisk is not compatible with the Axon 7 kernel. Not yet. This is why it is so complicated and requires a guide. Last time I tested this was yesterday using Magisk v10.2 and phh Superuser r2, and they still failed to root the system.
le_cactus said:
Hi,
I have a A2017G running B08, already unlocked and witch SuperSU 2.79. Just the older version of TWRP.
Can I just upgrade the TWRP and proceed with step 4 and so on? Hate to go back to stock...
Tia,
Cheers,
/Cacti
Click to expand...
Click to collapse
Yes you can try to begin with step 4 with SUhide on. It should work. However I recommend you to upgrade to TWRP 3.0.3 and do the whole step 4.
Gr8. Thanks.
Cheers,
/Cacti
Oki said:
The last patch fixes some problems created by SuperSU, SUhide and Xposed. This is why all the patches in step 4 have to be flashed together without leaving TWRP and in the specified order, otherwise it wont work on stock ROMs.
Click to expand...
Click to collapse
Not quite sure I understand you.
I've tried doing this on A2017g, b09;
0) wipe data/system/boot
1) flash stock Boot stack + System stack zips in twrp 3.0.3 unlocked bl
2) rebooted straight to recovery
3) flashing SuperSU wrote to system so I had to start again but forcing systemless (in terminal; echo "SYSTEMLESS">/data/.SuperSU
4) flash supersu, suhide
5) flash xposed
6) flash the safety net/kcal patch
7) reboot
And I still get stuck on "AXON" boot screen
H0lmEd said:
Not quite sure I understand you.
I've tried doing this on A2017g, b09;
0) wipe data/system/boot
1) flash stock Boot stack + System stack zips in twrp 3.0.3 unlocked bl
2) rebooted straight to recovery
3) flashing SuperSU wrote to system so I had to start again but forcing systemless (in terminal; echo "SYSTEMLESS">/data/.SuperSU
4) flash supersu, suhide
5) flash xposed
6) flash the safety net/kcal patch
7) reboot
And I still get stuck on "AXON" boot screen
Click to expand...
Click to collapse
SuperSU 2.79 installs in systemless mode, no need to set systemless.
Regarding your problem, please try this. Instead of rebooting using the button, open the terminal in TWRP and type "reboot disemmcwp". I hope this was your problem.
This doesn't work for me. Steps:
1. complete wipe
2. install b29 boot stack
2. install b29 system
3. install super su 2.79
4. install su hide 0.55
su hide comes back with an error that says it can't find super su and I should make sure I've installed 2.79 or greater.
edit:
I missed the part in step 3 where you say "reboot directly to recovery". I tried that, but it rebooted to system instead and now I lost TWRP entirely.
edit2:
fastboot flashed twrp again and once in recovery I was able to get through step 4
edit3:
Now it's just stuck on the axon logo. Tried force reboot and the same thing.
Are you sure you tested this from scratch? I have the US version of the axon 7.
Oki said:
SuperSU 2.79 installs in systemless mode, no need to set systemless.
Regarding your problem, please try this. Instead of rebooting using the button, open the terminal in TWRP and type "reboot disemmcwp". I hope this was your problem.
Click to expand...
Click to collapse
I have tried it and am stuck on the same stage also even after using "reboot disemmcwp".
I followed all of your steps and am using an A2017G B08.
corpdecker said:
I just did this on my B29 A2017U phone and it worked perfectly, can switch root on and off with the root switcher and Safetynet passes fully with root set to off.
My previous attempts were all thwarted by the bootloader being unlocked, so that patch to the kernel works great. I'll be backing this up with twrp and getting a little more adventurous (really want to try the BeastMode kernel) soon.
Much thanks for making it nice and simple, Oki !
Click to expand...
Click to collapse
Don't install beast mode yet, from my experience all the steps from op worked fine until I flashed beast mode and it broke safetynet.
lexman098 said:
This doesn't work for me. Steps:
1. complete wipe
2. install b29 boot stack
2. install b29 system
3. install super su 2.79
4. install su hide 0.55
su hide comes back with an error that says it can't find super su and I should make sure I've installed 2.79 or greater.
edit:
I missed the part in step 3 where you say "reboot directly to recovery". I tried that, but it rebooted to system instead and now I lost TWRP entirely.
edit2:
fastboot flashed twrp again and once in recovery I was able to get through step 4
edit3:
Now it's just stuck on the axon logo. Tried force reboot and the same thing.
Are you sure you tested this from scratch? I have the US version of the axon 7.
Click to expand...
Click to collapse
Are you using TWRP 3.0.3? SuperSU 2.79 installs fine and in systemless mode when flashed with the latest TWRP. TWRP 3.0.2 can't flash it properly.
Yes this method has been tested, not only with stock Roms, but also with ZADmix.
If you are doing a complete cleanup before flashing the ROM, boot into system at least once after installing the ROM so the data tree structure is setup. You actually don't need a full cleanup.
Kingo64 said:
I have tried it and am stuck on the same stage also even after using "reboot disemmcwp".
I followed all of your steps and am using an A2017G B08.
Click to expand...
Click to collapse
H0lmEd said:
And I still get stuck on "AXON" boot screen
Click to expand...
Click to collapse
Please ensure you have flashed the right stock ROM for your unit. I have modified Ingredient 2 in the OP since it was highly misleading. Ensure you have unlocked bootloader, TWRP 3.0.3 and flash the right ROM for your system: ZTE_A2017GV1.0.0B09_BootStack_by_tron1.zip and ZTE_A2017GV1.0.0B09_StockSystem_by_tron1.zip. And boot to the system at least once before continue to the rest of the procedure.

Anyone else having issues with MIUI 7.6.15, twrp + supersu or magisk

for some reason whenever I flash supersu or Magisk the phone just hangs at the MI logo with 7.6.15 global beta rom, I do the same flash method every time and this is the first time it has happened..
try 1
zcx twrp, flash 7.6.15, flash supersu, reboot and it doesnt boot
try 2
zcx twrp, flash 7.6.15, flash magisk, reboot and it doesnt boot
try 3
zcx twrp, flash 7.6.15, reboot, -boots fine
edit:
try 4 .
zcx twrp, flash 7.6.15, flash just supersu 2.82, reboot and it boots, so now I can say it has something to do with Magisk or Xposed
so I might now try to flash Magisk, but run the xposed uninstaller incase the magisk.img image still carries xposed module from previous installs this way I can narrow it down from xposed or magisk
I'm having the same issue. I try to flash Super SU after flashing MIUI 7.6.15 and I also try to flash Xposed but it hangs on the Mi logo and won't boot properly. If I hols the power button down for ten seconds to turn the phone off and then get to recovery mode by holding down the volume up button with the power button I can reflash MIUI and it works fine on its own. Wonder is it a Super SU issue? Might try an older version of MIUI....
Same issue, tried everything. :'(
Magisk and zcx super su working but not xppsed niether systemless nor solarwarez editon.
+1
just updated my phone via zcw twrp. su and magisk works fine, only xposed got me stuck at the logo.
No problem with magisk v12, boot normal
Problem with xposed v87, stuck in logo
now back to v7.6.7, and waiting for FIX
Flashed v87.1 xposed
Worked
adiversion said:
Flashed v87.1 xposed
Worked
Click to expand...
Click to collapse
Link?
Sent from my kenzo using XDA Labs
Flash the modified xposed, it's working with the latest global beta. Link:
https://forum.xda-developers.com/xposed/unofficial-xposed-miui-t3367634/page77
Btw: why u guys still use xposed? Any recommendations for modules except YouTube adaway which I should try?
the issue is with SuperSu 2.86, should flash Supersu 2.76, im in build 7.6.8+Supersu 2.76 and all works fine and Xposed not work fine in this builds

Magisk Installation

I'm looking for help getting Magisk installed on MIUI 12.1.1. If I use the boot.img and pass it to Magisk manager and flash it, the system just reboots to recovery after a few minutes.
Does anyone have it working or a recovery that works with 12.1.1 global?
moffa~ said:
I'm looking for help getting Magisk installed on MIUI 12.1.1. If I use the boot.img and pass it to Magisk manager and flash it, the system just reboots to recovery after a few minutes.
Does anyone have it working or a recovery that works with 12.1.1 global?
Click to expand...
Click to collapse
By "passing it to magisk", do you mean patching the boot.img and getting a magisk_patched.img? Do you have the latest magisk app? It's no longer called magisk manager (v22).
Edit: You probably just hot the patched boot from the wrong boot.img
Tulsadiver said:
By "passing it to magisk", do you mean patching the boot.img and getting a magisk_patched.img? Do you have the latest magisk app? It's no longer called magisk manager (v22).
Edit: You probably just hot the patched boot from the wrong boot.img
Click to expand...
Click to collapse
Hi, thanks for responding.
Yes, I mean I take the boot.img from the MIUI fastboot package and select it in Magisk (no longer manager). I then reboot to bootloader mode, then run "fastboot flash boot magisk_patched_sLsab.img " but after running fastboot reboot it just ends up in recovery mode.
The only way to recover is to use fastboot to flash the original boot.img back over
I finally figured out that I had magisk modules left over before the upgrade which broke everything. A factory reset wiping all data has fixed it.

Categories

Resources