Switch to Magisk from supersu - OnePlus 3 Questions & Answers

Need your help guys. I am running beta 27 with super su V2. 82 SR 5....i heard now magisk is supported in beta 27...how to I unroot supersu, install magisk 14.5(1456) and still pass safety net... I tried searching for a solution everywhere but couldn't find a solution to this..... Please help... :crying:

uutsav said:
Need your help guys. I am running beta 27 with super su V2. 82 SR 5....i heard now magisk is supported in beta 27...how to I unroot supersu, install magisk 14.5(1456) and still pass safety net... I tried searching for a solution everywhere but couldn't find a solution to this..... Please help... :crying:
Click to expand...
Click to collapse
It's fairly simple. You will need unsu zip (from SuperSu official thread) and the Magisk zip downloaded where you can easily find it.
Boot to recovery
** create a Backup **
Flash unsu
(Assuming no errors) Flash Magisk
Again assuming no errors, reboot system
In your list of apps you should have a new"Magisk Manager" app and your "SuperSu" should be gone.
Thats it really. Took me a whole of 10 minutes, of which 7 minutes were backup [emoji6]

tropicanapure said:
It's fairly simple. You will need unsu zip (from SuperSu official thread) and the Magisk zip downloaded where you can easily find it.
Boot to recovery
** create a Backup **
Flash unsu
(Assuming no errors) Flash Magisk
Again assuming no errors, reboot system
In your list of apps you should have a new"Magisk Manager" app and your "SuperSu" should be gone.
Thats it really. Took me a whole of 10 minutes, of which 7 minutes were backup [emoji6]
Click to expand...
Click to collapse
And you passed safety net

uutsav said:
And you passed safety net
Click to expand...
Click to collapse
Yes! That was my main motivation for switching. That and SuperSu no longer being run by chainfire Trust me Magisk does a far better job than Super Su.
Also worth looking at this URL
https://android.gadgethacks.com/how-to/magisk-101-switch-from-supersu-magisk-pass-safetynet-0177578/
Forgot to mention you will need to uninstall xposed (can be reinstalled after). I don't use xposed.

tropicanapure said:
Yes! That was my main motivation for switching. That and SuperSu no longer being run by chainfire Trust me Magisk does a far better job than Super Su.
Also worth looking at this URL
https://android.gadgethacks.com/how-to/magisk-101-switch-from-supersu-magisk-pass-safetynet-0177578/
Forgot to mention you will need to uninstall xposed (can be reinstalled after). I don't use xposed.
Click to expand...
Click to collapse
I tried flashing unsu and it asked me to flash the stock boot image in TWRP.... Any ideas mate..
I am sorry to keep bugging.... But I am lost

Look for boot.img in the ROM zip and flash it.

I was just about to say that myself. See
https://forum.xda-developers.com/showpost.php?p=63615067
Like the previous post said, you need a pristine boot.img and your ROM zip is the ideal place to find it.

Dirty flash your Beta27 again and it should be clean, THEN reboot and then install Magisk

Now i flashed beta 28, flashed recovery and flashed magisk again... While I was able to flash it... But getting safety net error....
My life is finished...

If you were able to install magisk then you should take this to the official magisk support thread. You are more like to get a better variety of suggestions there.
Just saying.

Related

[G4/G4 Plus] How to Install Magisk and pass safetynet?

Disclaimer
Your warranty is now void. I am not responsible if this in anyway bricks your device or anything else that might go wrong and you cant restore it back. It is assumed that you are familiar with TWRP environment and fastboot in case you need to restore stock.
Click to expand...
Click to collapse
This was last updated on 07/02/2017
This guide will tell you how to install magisk (or magiskify as the app calls it) in order to make systemless mods possible for everything. The thing about magisk is as everything is systemless you can just uninstall magisk in the end and take an ota update without having to worry about what in your system had changed. For custom roms, though not as important, systemless mods are useful for stuff like passing safetynet.
For G4/G4 plus there is no support for Android Pay(at least where I live as there is no h/w for NFC) but various banking apps and apps like Pokemon Go.
First of all, if you want to pass safetynet you will need to use the MagiskSU method to root. This root is based on phh Superuser.
This means if you have anything like SuperSU or phh Superuser then you need to unroot first. Magisk will still work if its systemless but safetynet will not.
Also if you have Xposed installed and enabled, then it will not pass safetynet.
Requirements
1. Unlocked bootloader
2. TWRP installed
This is untested in stock NPJ25-93.11/12/14. If someone can test and report I can update this.
Please flash a custom kernel like elementalX if you are on stock rom
If you are stuck in a bootloop the you need to restore your current boot.img and everything will return back to as it was.
Steps
Take a TWRP backup of current rom. Just the boot image should be enough but everything will make it safer.
1. If you are using a custom rom, I recommend you start from a fresh flash. A dirty flash works as well.
A clean boot.img is recommended as debugging is more difficult without it.
A unrooted rom (Like official Lineage-OS) is best but if you are using a pre-rooted rom then you would need to use the UnSU script by osm0sis (tested on unofficial Lineage by Silesh.Nair)
Get UnSU script from here:
https://forum.xda-developers.com/showthread.php?t=2239421
https://forum.xda-developers.com/showpost.php?p=63615067
2. Download the latest magisk zip and uninstaller from the Magisk release thread.
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
3. After flashing your ROM (or your clean stock rom if you will), flash the magisk zip using TWRP. If your rom is unrooted, Magisk will provide a root solution. If you are rooted with systemless SuperSU, magisk integrates itself there but you will not pass safetynet.
4. Reboot and install magisk manager from play store. Enable Magisk Hide. You can pass safetynet now.
Magisk also supports systemless host files(for Adaway) and busybox support from the app itself. You can just enable and reboot.
If you are on MM, then you can install xposed through magisk itself(but no safetynet support in this case)
Also magisk already has ports of Viper4Android as well. Creating your own mod is simple as well. For further guide search in the Magisk forum. Excellent guides are published there.
Credits:
topjohnwu for Magisk and MagiskSU development
osm0sis for unSU script
shreps for porting TWRP
mrinmaydhar for kernel info
None of this is my work. All I did was compile it so that it becomes easier for others.
If I missed anything please remind me. This is my first thread so everything might not be smoothest.
Shouldn't we flash a custom kernel like elementalx if we are on stock rom. I think current root methods have problems with the stock boot image.
mrinmaydhar said:
Shouldn't we flash a custom kernel like elementalx if we are on stock rom. I think current root methods have problems with the stock boot image.
Click to expand...
Click to collapse
So it's working fine after flashing ElementalX first? Because I remember it boot looped before but I am not sure which version it was. If you have tested please report back so that I can add that to the post.
guessingagain said:
So it's working fine after flashing ElementalX first? Because I remember it boot looped before but I am not sure which version it was. If you have tested please report back so that I can add that to the post.
Click to expand...
Click to collapse
So without custom kernel, it bootloops. Any custom kernel would do
mrinmaydhar said:
So without custom kernel, it bootloops. Any custom kernel would do
Click to expand...
Click to collapse
OP updated. thanks for this info.
I keep getting this error, any ideas what could be causing it?
I'm on stock rom (marshmallow) and I already removed supersu
aSuperSaiyanG0D said:
I keep getting this error, any ideas what could be causing it?
I'm on stock rom (marshmallow) and I already removed supersu
Click to expand...
Click to collapse
Nope. SuperSU exists. Search the threads for stock boot image of your ROM. Flash it and then continue installation of Magisk.
mrinmaydhar said:
Nope. SuperSU exists. Search the threads for stock boot image of your ROM. Flash it and then continue installation of Magisk.
Click to expand...
Click to collapse
I have a nandroid backup of my entire system before I installed supersu and Elemental Ex, would restoring just the boot suffice?
aSuperSaiyanG0D said:
I have a nandroid backup of my entire system before I installed supersu and Elemental Ex, would restoring just the boot suffice?
Click to expand...
Click to collapse
Yeah. But flash ElementalX though. Just skip SuperSU. If anything goes wrong just restore the boot partition.
If you want to just remove SuperSU, disable root access from within the app then perform full unroot. But it's usually better to flash stock boot.img as everything is cleaner in that case.
Edit: did you try flashing the unsu script first? Did that fail?
guessingagain said:
Yeah. But flash ElementalX though. Just skip SuperSU. If anything goes wrong just restore the boot partition.
If you want to just remove SuperSU, disable root access from within the app then perform full unroot. But it's usually better to flash stock boot.img as everything is cleaner in that case.
Edit: did you try flashing the unsu script first? Did that fail?
Click to expand...
Click to collapse
Yes I tried the unsu zip and it went thru without any errors but magisk still gave me that error
If I do a ROM update do I need to unSU and flash Magisk again?
Covalex said:
If I do a ROM update do I need to unSU and flash Magisk again?
Click to expand...
Click to collapse
As every ROM update flashes a clean boot.img it's necessary to flash magisk again. If your ROM comes prerooted you need to unsu otherwise not needed.
But you have to flash magisk Everytime after a ROM update. As long as you don't uninstall before updating, all your settings should be fine though.
aSuperSaiyanG0D said:
Yes I tried the unsu zip and it went thru without any errors but magisk still gave me that error
Click to expand...
Click to collapse
Did ElementalX help? Any problems after that?
guessingagain said:
Did ElementalX help? Any problems after that?
Click to expand...
Click to collapse
No problems other than the same error about supersu being installed.
However last night I tried flashing a custom rom "resurrection remix" and magisk installed fine, downside was titanium backup didn't really like magisks root and it wouldn't restore my apps, it just froze.
Has titanium backup worked for you?
aSuperSaiyanG0D said:
No problems other than the same error about supersu being installed.
However last night I tried flashing a custom rom "resurrection remix" and magisk installed fine, downside was titanium backup didn't really like magisks root and it wouldn't restore my apps, it just froze.
Has titanium backup worked for you?
Click to expand...
Click to collapse
Just tried. Works for me. Normally I install the apps through play store and just restore data. Tried restoring firefox it works. Maybe it's a specific problem. Are you sure that restoring with SuperSU works without errors
Magisk is known to have problems with tibackup. A fix may be incoming(maybe an update to tibackup).
guessingagain said:
Just tried. Works for me. Normally I install the apps through play store and just restore data. Tried restoring firefox it works. Maybe it's a specific problem. Are you sure that restoring with SuperSU works without errors
Magisk is known to have problems with tibackup. A fix may be incoming(maybe an update to tibackup).
Click to expand...
Click to collapse
Yes titanium backup works fine with my SuperSU on stock, and on my tablet (Nexus 7 2013) I installed magisk and titanium works as intended.
So maybe something was just iffy with titanium backup last night, actually come to think of it I don't think Resurrection Remix comes with BusyBox.
I'll try again but install BusyBox first when I get more time.
Would using the wrong unSU version affect safetynet detection?
Covalex said:
Would using the wrong unSU version affect safetynet detection?
Click to expand...
Click to collapse
As long as the there are no SU links and executables left, using any unSU script should be fine.
If you are on a custom rom check /system/bin/su and /system/xbin/su are there or not.
BTW which script did you use to unSU?
guessingagain said:
As long as the there are no SU links and executables left, using any unSU script should be fine.
If you are on a custom rom check /system/bin/su and /system/xbin/su are there or not.
BTW which script did you use to unSU?
Click to expand...
Click to collapse
I used unSU like you linked, but it was an older version. Reflashing the rom, updated unSU and magisk fixed safetynet.
Covalex said:
I used unSU like you linked, but it was an older version. Reflashing the rom, updated unSU and magisk fixed safetynet.
Click to expand...
Click to collapse
You used this right?
https://forum.xda-developers.com/showpost.php?p=63615067
Or is there another unSU script that is updated? If so can you link that?

[GUIDE][ROOT][TWRP] Marshmallow(6.01) Sprint G920P root/TWRP using Magisk and Odin

I rooted my galaxy S6 a couple of days ago and wow was it totally worth tripping Knox, any way I am writing this because I could not find a thread that had a guide usng these methods. I had to figure out how to get past several errors in TWRP and Magisk and I thought some people might be curious how I did it. I did not make any of these programs used, credit to the original authors. I did this so I could play Pokemon Go with root.
WARNING: THIS WILL TRIP KNOX AND MAY BRICK YOUR PHONE. DO THIS AT YOUR OWN RISK I AM NOT RESPONSIBLE FOR ANYTHING THAT HAPPENS. MAKE SURE YOU HAVE A FULL BACKUP OF YOUR DEVICE BEFORE CONTINUING. THIS WILL ALSO DISABLE OTAS.
Prerequisites:
Odin (make sure its version 3.10.6 others may not work): https://androidmtk.com/download-odin-downloader-versions
Galaxy s6 (have not tested on edge)
TWRP in .tar format for your model: https://dl.twrp.me/zerofltespr/
Stock ROM in case you mess up
Windows PC
Magisk v11.1: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Magisk manager: https://play.google.com/store/apps/details?id=com.topjohnwu.magisk&hl=en
Installing TWRP:
1.) Download all the necessary files and extract Odin to your desk top.
2.) Go into developer mode on your phone and enable OEM unlocking and USB debugging.
3.) Turn off your phone and enter download mode by holding power button, home button and volume down until the screen comes up that says something along the lines of installing a custom OS is dangerous, push volume up to continue.
4.) Plug your phone into your computer and start Odin.exe.
5.) Make sure Odin says "added" in the text window.
6.) Click on AP and browse for the TWRP .tar that you downloaded in the beginning.. Check the box next to AP once TWRP is loaded, then click "Start".
A.) If TWRP fails to install go to "options" and un-check "auto reboot". If this is un-checked make sure to reboot into recovering when Odin says "reset" by first exiting download mode by repeating the steps used to get into it and then holding home, power button and volume up until the TWRP logo appears.
7.) Congratulations you have now installed TWRP!
Rooting and installing Magisk:
1.) This will not work unless you have followed my previous steps.
2.) Make sure your phone is in recovery mode by holding power button, home, and volume up until the TWRP logo appears.
3.) Make sure your PC recognizes the phone and copy the Magisk 11.1 .Zip you downloaded earlier.
4.) Tap install on TWRP and and browse for the Magisk 11.1 .Zip, swipe to install.
5.) When it is done installing tap reboot.
6.) When your phone is done rebooting install Magisk manager from the play store.
7.) When you open Magisk it should say rooted with MAGISKSU in the center box.
A.) If it does not say that flash Magisk 11.1 in TWRP again.
B.) If the above does not work re-flash to stock and repeat all steps again.
8.) You are now rooted.
A.) If you would like to use Magisk hide tap the first box where it says install Magisk and follow the onscreen instructions.
1.) You can try rebooting your phone when it asks you too, but it would not install this way for me.
B.) After you have installed Magisk Framework, go into to settings and enable the hide Magisk option.
C.) Go back to the status section and tap on safety net check, it should be a green check-mark
1.) If it is not green restart and install Magisk again, then go into settings and disable and re-enable Magisk hide.
2.) If it is not green after doing the above re-flash the stock ROM and start over.
9.) You will have to reinstall Magisk Framework every-time you reboot, your root should stay installed after a reboot though.
That is the wrong version of TWRP for a Sprint phone. The correct version is here: https://dl.twrp.me/zerofltespr/
There is a thread with links to the latest stock TAR files, correct version of TWRP for this phone and SuperSU here: https://forum.xda-developers.com/sp...uide-links-files-update-root-restore-t3366862
koop1955 said:
That is the wrong version of TWRP for a Sprint phone. The correct version is here: https://dl.twrp.me/zerofltespr/
There is a thread with links to the latest stock TAR files, correct version of TWRP for this phone and SuperSU here: https://forum.xda-developers.com/sp...uide-links-files-update-root-restore-t3366862
Click to expand...
Click to collapse
Thanks for pointing that out.
hmm, may I ask what advantages we get from this root method?
thank you.
You can hide your root and play Pokemon Go XD. I just think its more convientant having all my control apps super su and busy box in one place.
Sent from my SM-G920P using Tapatalk
Thank you for this.!!!!!!!!! 10/10
joej191 said:
Thank you for this.!!!!!!!!! 10/10
Click to expand...
Click to collapse
Your welcome. Glad I could help.
Sent from my SM-G920P using Tapatalk
Is magisk supposed to be installed after every reboot, or is that one of the many G920p specific issues?
I believe it is a GP20 specific issue because I have install mine after every reboot.
flett044 said:
I believe it is a GP20 specific issue because I have install mine after every reboot.
Click to expand...
Click to collapse
I just read this on the OP magisk thread: "magisk doesn't play well with Samsung devices. Try a custom kernel"
So i flashed the skyhigh kernel and now magisk is surviving restarts... the trouble is, Skyhigh auto intalls supersu and busybox.
Supersu isn't compatible with magisk, and i THINK that kind of busybox fails safetynet.
... so i used the busybox app to Uninstall busybox and the supersu app to do a full unroot and mount the stock boot image. (All to see if I could get magisk fully working) Then wipe davlik/cache, flashed the magisk.zip... booted up and opened the magisk manager, magisk was still installed, and magisksu was "properly installed"... but i fail safetynet attest now so i don't know what thats about.
Wondering if any of the veterans can chime in about any of this, since magisk indeed is pretty glitchy on the stock kernel.
Tl;dr: magisk doesn't work well with stock kernel, not sure how to get it working with custom kernel
I would also like to learn how to install magisk in sky high kernal.
Hey @tdhite do you have any input on this? I assume it would break synapse support to use magisk and magiskSu instead of supersu and the normal busybox, but worth it.
Quick recap: trying to run a magisk set-up with a custom kernel. Presumably using magiskSu.
still work?
@flett044,
Does this hidden root option still work with latest version of Pokemongo?
thanks
Yes it still works.
Nye-uhls said:
Hey @tdhite do you have any input on this? I assume it would break synapse support to use magisk and magiskSu instead of supersu and the normal busybox, but worth it.
Quick recap: trying to run a magisk set-up with a custom kernel. Presumably using magiskSu.
Click to expand...
Click to collapse
The boot routines currently use a policy tool specifically provided by SuperSu which is not available in Magisk. Access to files needed by various processes executed periodically (cortexbrain, cron jobs and others) may fail, but that would not be a critical failure, just a 'bummer' in the worst case. The startup routine is smart enough to check the policy tools and will cleanly boot even if SuperSu's tools aren't around.
Long story short, the kernel should work fine, you'll just miss out on certain things that try to run now and then to 'tune' the system.
How would I go about replacing supersu with Magisk?
tdhite said:
The boot routines currently use a policy tool specifically provided by SuperSu which is not available in Magisk. Access to files needed by various processes executed periodically (cortexbrain, cron jobs and others) may fail, but that would not be a critical failure, just a 'bummer' in the worst case. The startup routine is smart enough to check the policy tools and will cleanly boot even if SuperSu's tools aren't around.
Long story short, the kernel should work fine, you'll just miss out on certain things that try to run now and then to 'tune' the system.
Click to expand...
Click to collapse
That sounds like a pretty solid explanation for what happened when i tried running stock with skyhigh kernel and magisk.
Huge hit to battery life, and i still failed safetynet. Probably because the system showed i was using a custom kernel? I haven't been able to figure out a good way to mask that...
Anyways, good luck with implementing magisk like you said you would! I'm sure it won't be easy! You better have paypal links littered in the release post, you'll deserve it
What is the difference between Magisk and SuperSU?
JoeFCaputo113 said:
What is the difference between Magisk and SuperSU?
Click to expand...
Click to collapse
So I'm not super technical so i hope someone corrects me if i misrepresent this...
Magisk itself is basically a framework (think like xposed) except it functions from OUTSIDE of the system partition. Its only compatible with MagiskSU (a modified version of phh's superuser), magisksu is also not installed on the system partition...
Through magisk manager you can enable root, which as i understand, puts MagiskSU in the system partition in a sort of ghosted way, so its not really there? (As you can see I'm fuzzy on this part) And a step further, even with root still enabled, magisk can hide magisk and magiskSu's presence entirely from chosen apps (it automatically hides from play services so you pass safetynet)
So plain and simple, it theoretically works the same as supersu with the added benefit of being able to fully and effectively hide root...
There's still a lot of work to be done to reach it's full potential, especially in regards to compatibility with vendors and apps, but the dev believes magisk can do a lot eventually... including genuine multi-rom support.
https://www.xda-developers.com/magi...es-samsung-bugs-adds-core-only-mode-and-more/
Good news! Magisk update specifically for samsung devices! I can't wait to try this out!

Switching partitions in fastboot? Trying to remove root so I can log into snapchat

I read in another thread that I need to 'Just reflash the original boot.img on both a and b to unroot. Log in and then reroot'...how do I do this? I can flash boot.img via fastboot no problem...but how do I switch partitions? Also, this method doesn't result any data loss correct? Was going to do the 'full unroot' option in SuperSU but with the partitions stuff I'm not sure if that will work?
I'm running TWRP RC2 and SuperSU SR3 2.79. Phone is fully setup and functioning other than Snapchat. Went to bed at 5am after taking hours to log into all my apps, configure them again, etc....would HATE to do all that over again...so much that I would stop using Snapchat to avoid it.
Any help would be appreciated.
@blueyes, I saw you help another member out with something similar but not quite...any idea?
You can simply use the in app option it works just fine. Alternatively you can install Magisk without wiping to keep root and bypass Safteynet (will allow you to use Snapchat, Android Pay, etc..) I was running a nearly identical setup to you when I did it. Here's some instructions if you want to try that route https://forum.xda-developers.com/showpost.php?p=71629390&postcount=2394
tdct12 said:
You can simply use the in app option it works just fine. Alternatively you can install Magisk without wiping to keep root and bypass Safteynet (will allow you to use Snapchat, Android Pay, etc..) I was running a nearly identical setup to you when I did it. Here's some instructions if you want to try that route https://forum.xda-developers.com/showpost.php?p=71629390&postcount=2394
Click to expand...
Click to collapse
That certainly sounds better as it will give me the perk of being able to finally use Android Pay. I'll investigate, but worst case I'll do the in-app solution and do the old method of logging in to Snapchat and then re-rooting. Thank you!
tdct12 said:
Quoted from another thread. Anyway I tried it out. Already had Pure Nexus, superuser, twrp RC2, and elementalx installed. Magisk fully working. Here are the steps I followed (no wipe)
Open SuperSu
Uninstall supersu from in app option
Reboot system
Reboot recovery
Flash Magisk zip
Wipe cache/davlik cache
Reboot system (creates bootloop back to recovery)
From twrp switch bootloader slot to the inactive slot
reboot recovery
From twrp switch back to the orignal boot slot
reboot system (these steps end the bootloop for some reason)
You might need to force close your root check app and reopen for it to detect root at first.
edit: Saftey net passed, just checked =)
Click to expand...
Click to collapse
So...I had different results.
When I remove SuperSU from in-app option, my phone was still rooted. It didn't actually unroot. Is that because I told it to not flash the boot.img?
#7 didn't result in a boot loop...proceeding on...
@IlyaKol you do need to let it reflash the original boot.img. Supersu modifies it to achieve root. Magisk is it's own root you probably shouldn't have flashed it until you verified that supersu had been removed. You can still try removing supersu from in app option I have no idea if it will effect magiskSu. After you remove supersu go the Magisk app (the zip installed it) and see if it's still rooted. If not just try reflashing the zip. All you can do is hope it works out. Once it's installed properly you go the app and enable Magisk Hide, there is a Safteynet test in status page along with root status, I will post a screenshot for clarity
tdct12 said:
@IlyaKol you do need to let it reflash the original boot.img. Supersu modifies it to achieve root. Magisk is it's own root you probably shouldn't have flashed it until you verified that supersu had been removed. You can still try removing supersu from in app option I have no idea if it will effect magiskSu. After you remove supersu go the Magisk app (the zip installed it) and see if it's still rooted. If not just try reflashing the zip. All you can do is hope it works out. Once it's installed properly you go the app and enable Magisk Hide, there is a Safteynet test in status page along with root status, I will post a screenshot for clarity
Click to expand...
Click to collapse
Okay, I'm going back to recovery, will flash the Magisk Uninstaller followed by the SuperSU installer. Then I'll go into the app and this time tell it to restore the boot image but NOT the recovery. Right? lol.
That didn't work so I'm trying other methods to remove SuperSU...I'll report back later as I need to get going and will be doing this elsewhere lol.
@IlyaKol rather than reflashing supersu since the root is not removed you should instead just downloaded the supersu apo from the playstore then try removing the supersu root from there. If you get an "error no SuperSU binaries detected" then it is already removed.
tdct12 said:
@IlyaKol rather than reflashing supersu since the root is not removed you should instead just downloaded the supersu apo from the playstore then try removing the supersu root from there. If you get an "error no SuperSU binaries detected" then it is already removed.
Click to expand...
Click to collapse
It's still there even after running other tools found on XDA to try and unroot. I'll just flash the boot image manually when I get back home. Magisk sees it as such, not the Magisk root.
Thanks for the other steps...only remaining question I have is do I need to flash the boot image to both partitions? Or is whatever fastboot defaults to enough? If I do, what's the fastboot command for that?
If you use fastboot make sure it's on your current slot. I can't imagine why the unroot wouldn't work. Did you try clearing app data on your root checking app? Did the actual supersu app from play store detect supersu binaries? You might run into some data loss trying to remove root honestly if no methods are working. If all else fails do a wipe and then just install magisk when you've reinstalled the rom of your choice. I know it's not a pleasant solution but it's a solid last resort.
Eh, @tdct12, I finally caved and just ran flash-all.bat to get back to 100% stock. Third time redoing my entire phone (copying all the data back down such as pictures/videos, music, etc. and logging into each app and signing in, etc.). First time I forgot to unlock the bootloader first, so I had to wipe (DOH!), 2nd time was I didn't log into Snapchat before rooting (DOH^2) and now this is the 3rd time. #thirdtimesacharm
Yesterday (round 2) I finished at 4:45am. It's 1:13am now...so let's see how long the third time takes lol.
This time I added unlocked the BL, flashed TWRP RC2/Magisk 11.6 (from your quote)/ElementalX 1.09 right from the beginning lol. Taking no chances.
Sweet, I hope it works for you this time around!
tdct12 said:
Sweet, I hope it works for you this time around!
Click to expand...
Click to collapse
So far so good. Magisk detected proper root and passed safetynet, allowing Snapchat to login. So I'm golden. Thanks again for the rest of the steps, etc.! Have a good one!
IlyaKol said:
So far so good. Magisk detected proper root and passed safetynet, allowing Snapchat to login. So I'm golden. Thanks again for the rest of the steps, etc.! Have a good one!
Click to expand...
Click to collapse
Glad it worked for you. Would you mind posting your steps on how to get it working. I have been having issues with Magisk passing the safety check. I have flashed to 100% stock as well. I'm also using Pure Nexus if there is something different I have to do since I'm running that. Thanks!
Edit: I have followed the steps listed above after flashing Pure Nexus and it still will not pass safety check.
IlyaKol said:
@blueyes, I saw you help another member out with something similar but not quite...any idea?
Click to expand...
Click to collapse
Are you referring to "fastboot --set-active" a(or b) CMD. Run just fastboot and you'll see the available commands. After switching slots reboot bootloader to assure that you are in the opposite slot.
There's more commands available with fastboot oem... To see those (in Linux, i don't use Windows) pull your aboot.img and run "strings aboot.img | grep oem
GallardosEggrollShop said:
Glad it worked for you. Would you mind posting your steps on how to get it working. I have been having issues with Magisk passing the safety check. I have flashed to 100% stock as well. I'm also using Pure Nexus if there is something different I have to do since I'm running that. Thanks!
Edit: I have followed the steps listed above after flashing Pure Nexus and it still will not pass safety check.
Click to expand...
Click to collapse
Basically, the gist of what I did after I gave up and accepted the fact that I'd have to go back to 100% stock and rebuild my setup again:
1) Flash to 100% stock using Flash-All.bat from the Factory Image (using ADB/Fastboot tools)
2) Boot into the OS
3) Next I enabled developer options, allowed USB debugging and allowed for the bootloader to be unlocked
4) Plugged the phone into the PC, accepted the ADB fingerprint
5) Opened the platform-tools directory in my command window
6) Rebooted to the bootloader via 'adb reboot bootloader' command
7) Booted to TWRP using the 'fastboot boot *insert TWRP image name*' command (I used one of the alpha versions)
8) First thing I did in "Temp TWRP" was I flashed TWRP RC2 permanently and rebooted back to recovery
9) I then installed Magisk v11.6 (I did not have to do any of the additional steps to fix any bootloops with changing the boot slot, etc....might be a 7.1.2 thing vs 7.1.1, etc.)
10) *Optional* I flashed ElementalX 1.09 for Pixel
11) Wiped cache/dalvik (cache doesn't seem to wipe because it can't find /cache?)
12) Rebooted to system
13) In the Magisk Manager app, go to Settings and make sure "Enable BusyBox" and "Magisk Hide" are enabled.
14) Run the SafetNet check. It should pass.
DO NOT UPDATE TO v12.0 as I guess it's not ready for Pixel's yet.
blueyes said:
Are you referring to "fastboot --set-active" a(or b) CMD. Run just fastboot and you'll see the available commands. After switching slots reboot bootloader to assure that you are in the opposite slot.
There's more commands available with fastboot oem... To see those (in Linux, i don't use Windows) pull your aboot.img and run "strings aboot.img | grep oem
Click to expand...
Click to collapse
Thanks. I ended up finding the option on how to do that in TWRP and then later fastboot as well...all is well that ends well. Loving my new phone.

Magisk on Nexus 5x

Is anyone using magisk and have Android pay working with root on the 5x ? I've been looking for a thread and can't find how to do it.
Unlock bootloader
Flash stock image
Flash TWRP
Reboot
Download magisk Manager and zip
Reboot ?
Will root apps work now with Android pay?
mikeprius said:
Is anyone using magisk and have Android pay working with root on the 5x ? I've been looking for a thread and can't find how to do it.
Unlock bootloader
Flash stock image
Flash TWRP
Reboot
Download magisk Manager and zip
Reboot ?
Will root apps work now with Android pay?
Click to expand...
Click to collapse
Make sure Magisk hide is on in magisk manager and that it passes the safety net check.
Keithn said:
Make sure Magisk hide is on in magisk manager and that it passes the safety net check.
Click to expand...
Click to collapse
Do I need to flash SU or just magisk
Got it working. Shows Superuser PHH's not the SU by chainfire. Some apps are not working as well with superuser vs SU, but at least everything seems to be working. Every now and then Magisk Manager bug and it shows loss of root. I'll try Android pay sometime today if I can
Could you make a quick guide on how you got magisk installed correctly?
I had some trouble when i tried it after updating to 7.1.2 yesterday and ended up flashing supersu instead. thx
mikeprius said:
Got it working. Shows Superuser PHH's not the SU by chainfire. Some apps are not working as well with superuser vs SU, but at least everything seems to be working. Every now and then Magisk Manager bug and it shows loss of root. I'll try Android pay sometime today if I can
Click to expand...
Click to collapse
mikeprius said:
Do I need to flash SU or just magisk
Click to expand...
Click to collapse
Magisk zip include SU binary (MagiskSU)
---------- Post added at 02:12 PM ---------- Previous post was at 02:09 PM ----------
robotzki said:
Could you make a quick guide on how you got magisk installed correctly?
I had some trouble when i tried it after updating to 7.1.2 yesterday and ended up flashing supersu instead. thx
Click to expand...
Click to collapse
If you have custom kernel, flash the stock one or that came with the Rom from recovery. Then flash Magisk 12 zip file from Magisk Thread and flash it via recovery. Then reboot and download Magisk manager ....
Is there any reason why Magisk wouldn't work with a custom jkernel? I've installed Magisk on top of pure nexus ROM with ElementalX kernel without issues before.
I'm running SAOSP with Magisk and Franco Kernel and I have root and Android Pay works. That's all I flashed. It had a hard time passing Safety Net when SuperSU was installed. So just flash Magisk without SuperSU. And I guess Android Pay can detect if you have an unlocked bootloader so Franco Kernel is used because it hides that.
I tried Android Pay twice. First time didn't go through, said on the vending machine failed. Second time worked. I checked Android Pay and see 2 charges, does the one that didn't go through just drop off eventually ? Also both charges are much higher than what the actual price was, but I assume this is just a temp charge.
I have elemental X kernel. Works fine. I decided not to mess with SU. My other apps work, plus I've tried asking Chainfire before questions about his apps he's made and he never responded. Not cool, I did buy his apps too, not just freebies.
mikeprius said:
I tried Android Pay twice. First time didn't go through, said on the vending machine failed. Second time worked. I checked Android Pay and see 2 charges, does the one that didn't go through just drop off eventually ? Also both charges are much higher than what the actual price was, but I assume this is just a temp charge.
I have elemental X kernel. Works fine. I decided not to mess with SU. My other apps work, plus I've tried asking Chainfire before questions about his apps he's made and he never responded. Not cool, I did buy his apps too, not just freebies.
Click to expand...
Click to collapse
All of my Android Pay charges initially show up as a $1.00 pending charge. After a while, they post as transactions for the full value of the purchase.

Can't install SuperSU on Huawei Watch 1 "Patching sepolicy ---Failure, aborting"

Can't install SuperSU on Huawei Watch 1 "Patching sepolicy ---Failure, aborting"
I apologize if this is a noob question. I'm no stranger to modding Android devices; only new to modding Wear devices, and unfortunately information about rooting this watch is so sparse (understandably) and I couldn't find anyone with the same issue when searching. So like the title says, I can't get SuperSU installed on my Hwatch running AW 2.0. When I try to install SuperSU via TWRP, it gets stuck when trying to patch sepolicy.
Do I need a custom kernel for this? Is there one with no modifications other than the sepolicy? Or is there a way to change the sepolicy on the stock kernel. Between the guides I've read and WinDroid Toolkit, nothing has mentioned needing to do anything else to allow flashing SuperSU, but I can't think of what else would be the cause of the issue and I suppose things could have changed since those guides and Windroid were written.
I kind of want to avoid custom kernels as they almost always have issues in my experience with running them on phones (no offense to any kernel devs out there) and I can't deal with that on something simple as a watch. I just want this rooted mostly so I can test out underclocking and powersave governor when needing some extra battery time and so the next time I flash or upgrade my phone, I don't have to wipe the watch.
Any help will be greatly appreciated. And if I must install a custom kernel, I would love recommendations on the most reliable and/or closest to stock one.
For me, WinDroid Toolkit doesn't work for rooting Android Wear 2.0. I am on AW2.0 with the stock kernel and I have rooted the device using Magisk v13.2. Magisk Manager works on Android Wear (even though it may be hard to use on a round screen), but SuperSU (app) crashes when I launch the app. All you have to do to install Magisk is to flash the latest Magisk installer in TWRP and sideload the latest Magisk Manager using adb. You can download Magisk here. I have tried SuperSU, but I would get an every time I try to flash the latest SuperSU zip.
Tristan Phan said:
For me, WinDroid Toolkit doesn't work for rooting Android Wear 2.0. I am on AW2.0 with the stock kernel and I have rooted the device using Magisk v13.2. Magisk Manager works on Android Wear (even though it may be hard to use on a round screen), but SuperSU (app) crashes when I launch the app. All you have to do to install Magisk is to flash the latest Magisk installer in TWRP and sideload the latest Magisk Manager using adb. You can download Magisk here. I have tried SuperSU, but I would get an error every time I try to flash the latest SuperSU zip.
Click to expand...
Click to collapse
Thank you! Sounds like we encountered the same issue when flashing SuperSU. I had thought about trying Magisk, but wasn't sure if it would cause some issues on Wear. Thanks to your positive report, though, I'm going to try it out when I get home later. :good:
neonixxx said:
Thank you! Sounds like we encountered the same issue when flashing SuperSU. I had thought about trying Magisk, but wasn't sure if it would cause some issues on Wear. Thanks to your positive report, though, I'm going to try it out when I get home later. :good:
Click to expand...
Click to collapse
I'd like to know if it works for you. ?
Tristan Phan said:
I'd like to know if it works for you.
Click to expand...
Click to collapse
It worked! I was unable to sideload Magisk Manager, though, but that's fine. I'm just stuck on v5.0.5 which works just fine for handling root requests.
That's great! The only real difference between Magisk Manager v5.0.6 and v5.0.5 is that v5.0.6 fixes a crash when downloading modules from the repo, so you shouldn't be that affected. If you want any modules, you can just download them from XDA or something and flash it in TWRP.
Tristan Phan said:
That's great! The only real difference between Magisk Manager v5.0.6 and v5.0.5 is that v5.0.6 fixes a crash when downloading modules from the repo, so you shouldn't be that affected. If you want any modules, you can just download them from XDA or something and flash it in TWRP.
Click to expand...
Click to collapse
Yeah, that's why I'm not bothering with it. I don't feel a need for any modules on my watch at the moment Thanks again for tipping me off that Magisk would work.
neonixxx said:
Yeah, that's why I'm not bothering with it. I don't feel a need for any modules on my watch at the moment Thanks again for tipping me off that Magisk would work.
Click to expand...
Click to collapse
Just saying (sorry to bother), but Magisk v13.3 came out and fixed SafetyNet bypass. If you want, you can update by flashing Magisk-v13.3 by flashing it in TWRP without needing to uninstall the previous version. Installing this should also update Magisk Manager to v5.1.0.
Tristan Phan said:
Just saying (sorry to bother), but Magisk v13.3 came out and fixed SafetyNet bypass. If you want, you can update by flashing Magisk-v13.3 by flashing it in TWRP without needing to uninstall the previous version. Installing this should also update Magisk Manager to v5.1.0.
Click to expand...
Click to collapse
No worries, haha. Yeah I already updated on my phone. Thought about updating the watch, but too lazy at the moment :silly: since I don't really need to pass SafetyNet on my watch for anything. Probably will do it later on.
I'm thinking that the reason that you couldn't install Magisk Manager v5.0.6 was that it was already installed by the Magisk-v13.2 zip and ADB wasn't able to install over the existing APK, but I'm still a noob so I have no idea.
Tristan Phan said:
I'm thinking that the reason that you couldn't install Magisk Manager v5.0.6 was that it was already installed by the Magisk-v13.2 zip and ADB wasn't able to install over the existing APK, but I'm still a noob so I have no idea.
Click to expand...
Click to collapse
Check the adb install switches in adb help to solve that. Use the -r or -d switch.
Code:
adb install [-lrtsd] <file>
- push this package file to the device and install it
(-l: forward lock application)
(-r: replace existing application)
(-t: allow test packages)
(-s: install application on sdcard)
(-d: allow version code downgrade)

Categories

Resources