yashsingh1/xdaforums huggingface dataset:
[Magisk] katsumex:
Thanks man! I shall donate a beer tomorrow! :P I have a quick question, is there any way to call the unmount through tasker? or remap a button configuration to unmount it?
[Magisk] sansnil:
Yes, Tasker support for the root disable would be very cool. I can already think of the location based profile possibilities!
[Magisk] xDanVitox:
[MENTION=4470081]topjohnwu[/MENTION] Could you add a system shortcut to activate the root toggle so it can be triggered without opening the app? I would love to be able to bind it to a key press or something to make it as seemless as possible! Thanks!

Edit: Similar request posted above as I was typing this.
[Magisk] N00dle:
I'll have to try this again. I'm going to start over and see if I can get this working.
[Magisk] elreydenj:
Has anyone had any luck on Android N using SuperSU and not phhs SU? After following all of the instructions to a T, when i go to reboot to system it just reboots to recovery instead.....

EDIT: Cant get the options to work with either phh or superSU versions on 6P running DP5 stock rom and stock boot.img.
[Magisk] topjohnwu:
If you're actively using root, the unmount might fail.

I might change to lazy unmount in the future, I'll test further and update accordingly.

Yes

I didn't include the sepolicy-injection tool for DP5. Once official Nougat is out I'll update to work with it.

I may compile my own busybox in the future. Thanks for the heads up :)
[Magisk] g2uzer:
Seriously read 4 post back...
[Magisk] nxtk:
Just found what, magisk and systemless root ruining gps in ulefone vienna(MM), after recovering original boot partition gps works great again, will be investigating this more. Probably some crucial boot params got changed while rebuilding ramdisk. Tested on two phones.
[Magisk] jrdnsingh89:
Has anyone got the enable/disable root using tasker. I am trying to achieve a task where I can disable the root, wait, activate NFC and start AP
[Magisk] dancer_69:
I have problems with gps and location the last days and I was trying to find the cause. I was thinking that maybe magisk have something to do and after I read this I recovered the original boot.img and location and gps worked again.

So this happens to Doogee galicia X5(which is also an mtk device).
[Magisk] RandomPooka:
I have been scrolling through the thread looking for it, with no luck yet. It's there a link or FAQ regarding the fictional differences between Supersu and PHH's superuser? I know [MENTION=4470081]topjohnwu[/MENTION] has mentioned that there are differences, but I'm not clear on how they differ.

Also curious if the nexus device issues are only relevant with the stock ROMs. Running PN on my N6, with ElementalX kernel. Has anyone with this setup managed to get phh, xposed, and AP working? (I know this isn't the AP sub thread. I'm not asking for specifics on that)
[Magisk] reekotubbs:
Is your S6 MM?

---------- Post added at 09:27 AM ---------- Previous post was at 09:18 AM ----------

I have read through the entire thread and see that [MENTION=4470081]topjohnwu[/MENTION] stated that there was a known issue with Samsung MM and would post the issue in the OP. Unless I am missing something, I don't see this information.

So I would like to know if someone can confirm if magisk works on Samsung Note 4 with MM. If so can someone list simple steps to install magisk on a stock-rooted rom (not custom).
[Magisk] stab244:
Wondering this too. Would be nice to be able to open Android Pay and have root turn off right away.
[Magisk] :
That's easy I'll throw a profile together.
[Magisk] stab244:
You know what file to edit for it? I can do that myself.
[Magisk] Crayvolt:
will this mod work in secpolicy disabled ?
[Magisk] :
Here ya go.

1. This task disables root for the set number of seconds in %TIMEOUT
[Magisk] topjohnwu:
It requires registration, I don't want a 360 account

Please include decyption key....

Stock boot image please
[Magisk] topjohnwu:
If you take a look at the changelog for one second, you'll notice I fixed all Samsung issues...
[Magisk] Yeti47:
Works for me on eRobot v9 MM using Magisk v3 and phh v2. Just flash the kernel followed by Magisk and phh as specified in the op

Edit: meant as a reply to the last note 4 question... :(
[Magisk] sylvisj:
We have been; it is not on any version of Magisk so far. This is consistent for myself and the other Moto X 2014 user who has been trying it.
[Magisk] reekotubbs:
I'm sorry for missing that. Thanks for pointing that out.

I went through the steps listed in the OP and flashed the Magisk-v3.zip and installed pph superuser, but root does not seem to be achieved and I am unable to update binaries because of this.

I can't access /cache to supply you a log.

I can't even access /data to get back to my orig image

edit: Solved root not being active, flashed pph superuser via recovery and got it working.
[Magisk] HydrogenCyanide:
Cant install supersu after install Magisk says binaries not found. Using Alexis ROM v66.2 for S6 I unroot and after install Magisk and Supersu compatible. But when it starts doesnt work.
[Magisk] Apexpredator12:
Can anyone help me please when I try to install this it's sort of a boot loop. Restarts first logo comes up it doesn't even get to the logo when it's booting up just first logo then Restarts

I have galaxy s6 5.1.1 with stock rom and wanam 86.0 xposed framework installed.

I would really appreciate a step by step for this the one on OP is quite confusing if you need any info net me know
[Magisk] guidoido004:
anyone managed to get it working on stock/official cyanogenmod 13? also why the need of a stock kernel, it wouldnt work with chenges of a custom one? Can Cyanogen OS be considered a Stock ROM? lol.
[Magisk] zelendel:
Considering all the changess CM makes, the out dated SU, recovery that has not been updated in years and how far they are from AOSP. No they are not a stock rom.
[Magisk] Artim_96:
Try it for yourself. Add long as you aren't using XPosed or suhide it should work.
[Magisk] yochananmarqos:
No, it doesn't. The boot and recovery partitions are separate. Did you use this command?

fastboot flash boot boot.mg

Your suspicion was correct. I'm glad you got it working.
[Magisk] Skyrocket2Paradise:
Figured it's worth an ask before I jump back into the dps
[Magisk] photolarry:
So has [MENTION=4470081]topjohnwu[/MENTION] fixed the hide functionality so that it works and does not cause a loss in root? I have scoured this topic and see nothing. I also looked on github at the issue that he claimed was checking into 5 days ago. Are you waiting until next release in December? Just curious when I should look....isnt meant as hurry up at all. Just want info is all. Thanks.
[Magisk] DoctorStrange96:
Is there any way to override RIL props via resetprop? I'm trying to force my dual-SIM Moto G into using a single SIM, but it isn't working. The phone runs CM13.

The ril props i want to override are set by init. I've written a post-fs-data.sh (attached below) but not all ril props are reset. Source code for the device-specific part of init
[Magisk] andrew2432:
Inside /data...stock boot.img is my original stock boot image created from...? I've used magisk 6, 7, 8, and about to throw in 9 and see if I fail cts/pgo

Edit: Galaxy s5 sprint on 5.0 doesnt pass SN or play pgo. Play services, sn playground, pgo hidden in magisk hide. Maybe I need to hide something else? Do I need to reboot somewhere in between??
[Magisk] Souler19:
Any chance you will be able to add support for pixel and pixel xl? Would love to be able to use Snapchat and Pokemon go again.
[Magisk] Artim_96:
Well, the image should be from the last time you flashed Magisk.

And which root method do you use? Supersu or phh's SuperUser?

I think in both cases you should also use their respectively suhide variants, at least try it.

And since all processes would need to be at least for killed after adding them to magisk hide, the easiest method would be just to reboot.

And if pogo still won't run, wipe it's cache
[Magisk] andrew2432:
I'll try it. No root, SN passing before flashing magisk, phhsu. Just restored back to last nights passing system, works again. Checked magisk hide hid pgo/playservices/playgames/snplayground and rebooted. Took a bit to boot. Apps not checked and allowed had access. SN playground showed fail, pgo wouldn't load.

Each update I flash the uninstaller then new versions. So I've flashed magisk a couple times, and susr2 one time. Each time something goes wrong twrp saves me
[Magisk] Artim_96:
Well, no root and phhsu is a contradiction.

And have you checked if it passes before flashing Magisk? Because when it won't before it won't afterwards
[Magisk] andrew2432:
No I have twrp 3.0.2-2 and no root right now and I pass the way it sits. After flashing magiskv9, phhsu266-2, installing phhsuapp, magiskv2.5app, granting 2.5 access, enabling hide, selecting apps, rebooting, I don't pass and pgo won't open. :(
[Magisk] Artim_96:
Like I said, get phh's pendant to suhide
[Magisk] andrew2432:
Phh hide su is?? I thought that was magisk hide??
[Magisk] Artim_96:
I only know that phh had developed his own one, I don't know how far Magisk hide replaces it but try it
[Magisk] Bryanx86:
confirmed working on nexus 6p with latest official 5.0 AOSiP 11/18 build with Khronic kernel, nbd91k vendor. Just for anyone who wants to know....

magisk v9

phh superuser magisk r2.62-2
[Magisk] harpin14789:
Oh hey Deadpool, odd to see you on XDA ;) :silly:

You talking about passing safety net?
[Magisk] Bryanx86:
yes, i know i see ya everywhere huh? it does in fact pass safety net helper app, and android pay works as well too:)

I use the ABCrom on my flounder and i love it! Nice to have two different roms that work great. If you haven't tried the AOSiP 5.0 official yet, i highly suggest it to you, i believe they have a shamu build:good::cool:
[Magisk] harpin14789:
Yup, AOSiP is nice. I am currently on AOSiP for shamu. That's for the update.:good:
[Magisk] HaoZeke:
Hey, how do I intergrate magisk and phh superuser into my rom/kernel build?
[Magisk] HaloTechnology:
Majisk v9 is bootlooping in OP3 latest firmware v3.2.8
[Magisk] dondavis007:
Somehow I couldnt get v4a to work but root n stuff seems to be working lime it should.

Skickat frÃ¥n min Nexus 6P via Tapatalk
[Magisk] candiesdoodle:
Actually it's not. Make sure you have gotten rid of SuperSU and suhide.

I came from 3.2.7... Dirty flash 3.2.8, reboot to system, flash magisk, reboot to system, flash phh superuser 266, reboot to system.... Can pass safteynet as well as Pogo works.

Later flashed custom kernel.. all good.
[Magisk] HaloTechnology:
I just tried it works but seems like the systemless Xposded is the one causing the bootloop
[Magisk] habylab:
Yep, doesn't work with November security patch.
[Magisk] Iceyogurt:
That's NOT a problem of Magisk. It's all about the November security patch. Xposed v86 won't work with this patch. You have to use the v87 beta one from the official xposed installer, or the website of the author of xposed.
[Magisk] HaloTechnology:
ohh I am sorry I didnt know that my bad :( but at least I finally got android pay working with majisk
[Magisk] garthybarthy:
I have xposed 86.6 working with Magisk and November security patch, I didn't realise so many people have problems with it.
[Magisk] fobsi:
if I well understood, Android Pay works with rooted custom ROM?
[Magisk] Bryanx86:
Yes
[Magisk] fobsi:
Flashed via recovery? On my Xperia Z2 with rooted custom Rom didnt work. ;c i read that it needs stock rom flashed via flashtool. This may depend on the smartphone?
[Magisk] Artim_96:
Well, if you use a custom ROM that change might have been removed. You are the only one I heard having it working every other one would have bootloops when any module is activated.

Either way, rovo just released v87 with the fix so topjohnwu should be able to apply that soon (that last part was meant for everyone)
[Magisk] Bryanx86:
using magisk and phh superuser with the hide button ticked in magisk settings was able to pass safety net check AND set up android pay with my credit card. You have to use osmosis unsu script first to completely get rid of supersu, then i flashed my rom's boot. img, then magisk and phh. installed magisk apk and superuser apk and all works. nexus 6p, AOSiP 5.0 official with khronic custom kernel.
[Magisk] nabeelrazanaqvi:
Hi guys. I am new to Magisk. I want to know how to flash Magisk zip file because I am on stock E6633 Xperia Z5 dual. No recovery. How can I flash twrp recovery without root and modifying system to get future official OTA from Sony
[Magisk] rignfool:
There is quite possibly the most informative OP on XDA (if you follow the link... Sorry)... And 2 other posts trying to make it so everyone understands the mod...

Please have the respect to read it and realize you don't need TWRP... You're playing with fire... But it's not absolutely necessary...
[Magisk] yochananmarqos:
Yes, it is.
[Magisk] Skyrocket2Paradise:
Awesome, thanks!
[Magisk] JaymzTA:
On a Nexus 5 it only works with a stock rom.
[Magisk] garthybarthy:
Yes I'm on Griffin ROM on my S6, wasn't aware of any changes but guess he must of changed something then!
[Magisk] DeadlyByNite:
Every time I uninstall Majestic, it automatically encrypts my internal storage, system, etc. I can't see anything from TWRP except external SD card. So my question is... Is there any way to uninstall and keep my data unencrypted?
[Magisk] Iceyogurt:
It seems it's a limit in the boot.img. It forces to encrypt the data and the Magisk removes this forceencryption by default.

If you want keep unencrypted, give SuperSU a try. SuperSU remove forceencryption and system verity by default as well in the systemless mode, not sure about the system mode.
[Magisk] DeadlyByNite:
Yeah, actually I only use SuperSU, but somehow still it still encrypts data. I forget exactly what error it has in the logs (it's been a while since I've done it) but I think it said something about it can't modify boot.img, however it did still install SuperSU, but only in /system and I couldn't get it to install systemless. For some reason Majestic restores factory boot.img, and nothing, not even SuperSU can modify it. At least until it's restarted, which encrypts data. I can't remember if I tried to reboot my device in recovery mode, and then maybe install SuperSU. Does anyone know if after uninstalling Majestic in TWRP, then immediately restarting into TWRP, and finally flashing SuperSU will allow systemless installation, and keeping data unencrypted? Or maybe someone knows of a different, maybe more effective way of doing this?
[Magisk] Bryanx86:
You should try the AOSiP 5.0 nougat rom, they have a build on another forum. I have the 6p and thats the rom it works for me on
[Magisk] SeerePetrova:
anyone here knows how to hide the root for playing pokemon go?
[Magisk] ashyx:
[emoji55] [emoji52] [emoji50]
[Magisk] alexpower:
Yes, read the last pages and first one

Gesendet von meinem HTC 10 mit Tapatalk
[Magisk] jcrompton:
Sorry for pushing my own question forward but my experience is very varied. At this point my main question is what makes one kernel work and another not but depending on the ROM?

If I'm on SIX ROM on my Nexus 6 the stock kernel works (that is SN passes with Magisk v9, and phh 266 and Magisk hide), Flash Kernel works, and Elemental kernel works BUT Blackbird won't pass

Then on another ROM Flash kernel would not work, the ROMs native kernel would not work , but Elemental worked??

I've seen report of Nitrogen 7.1 working on that ROM thread but I am not successful at getting SN to pass regardless of the ROM
[Magisk] fobsi:
Mehhh, stock rom and AP doesnt work. What i make bad?

1. Install stock rom.

2. Root

3. TWRP

4. Unroot

5. Change kernel

6. Install Material Xposed Installer

7. Echo "systemless=True" > /data/.supersu

8. Install SR4 supersu in system-less mode

9. Magisk v9

10. Suhide 0.55

101. Remont

12. Magisk Manager 2.5

12. Xposed flamework systemless via magia manager

What is wrong?! I hate you SaftyNET!

Im going to cry. ;c

Wysłane z mojego D6503 przy użyciu Tapatalka
[Magisk] Artim_96:
Don't use XPosed, it can't be hidden at the moment.

It's said that you can use rootswitch for that matter since it allows you to disable XPosed too, but you have to check that for yourself
[Magisk] fobsi:
Ok, i uninstalled Xposed and flamework. Root checker work, AP still not. ;c

Wysłane z mojego D6503 przy użyciu Tapatalka
[Magisk] joshiameya:
how did you perform step 4 "unroot" , some custom ROMs have SuperSU as part of flashable zip , wondering how to uninstall root
[Magisk] fobsi:
for root i use this: http://xdaforums.com/xperia-z2/general/tool-rooting-23-5-1-291-supersu-t3437280

next: TWRP

unroot in SuperSU apk - Full Unroot

system-less kernel

root via SR4 SuperSU in system-less mode.

All on STOCK ROM. :)
[Magisk] :
Hi, on my s7E I have somehow 'pass' safetynet check with red screen success, PoGo works fine.

How I did is to tall any custom rom and a permissive kernel by prometheus 2.0.0 with built in magisk. then applied magisk hide and i can happily play PoGo with root.

However i have a problem: after i installed xposed 86.1 by wanam, safetynet check immediately broken, even after i disabled xposed with rootswitch 1.3.3.2. i even go further by disabling xposed from the xposed app itself, and finally uninstalled xposed with TWRP but sadly, safetynet check still failed. So I'm pretty sure once xposed is installed, there is some leftover that failed safetynet detection and I have to reflash the rom and start all over again.

But i missed xposed badly, any clue?
[Magisk] dynospectrum:
If you take 2min to read this thread you'll learn xposed triggers SN. No way around it on TouchWiz right now.
[Magisk] :
thanks for letting me know. i read alot of pages on many threads (suhide, magisk etc) but must have missed this.
[Magisk] bigcid10:
I checked yesterday at bestbuy and it worked

I just went through the add card process and backed out
[Magisk] JonesL:
Works great for me on the latest Pure Nexus (November update).

Install ROM

Install Gapps

Install kernel

Install Magisk

Install patches that were posted in this thread

Install Phh super user

Reboot

Install phh super user from play store.

Install Magisk manager

Enable Magisk hide

Reboot

Enjoy Android pay, I've personally not needed to use the add card trick. This is on Nexus 6.
[Magisk] VertigoOneX:
Does anyone know how I can use N0G33K with Magisk hide module? Arter Kernel works for me with Magisk and Im able to use Pokemon go. But with N0G33K Kernel I cant play anymore. Any help? Im using a S6 Edge 925F.
[Magisk] andrew2432:
Probably been said but does 86.2 work on touchwiz? Not the newest 86.6 but 86.2? Rootswitch hides system less on another phone I have. Also if you throw a ROM on top of it, cm I know works, you can use 86.2 and MAYBE still pass sn. My lg g2 with sr3, cm13, rootswitch, x86.2 passes and modules work. I don't know why I played that dumb game any other way...
[Magisk] Vipriel:
I have tried it just yesterday and yes 86.2 works BUT it needs to be installed in System mode. This will automatically happen if you are on Magisk setup because you will notice that Xposed 86.2 will state that it can't find Systemless SuperSu (it doesn't know about Phh's SuperSU) when it's getting installed and it will default to System mode.

I have also tried the new v87 (modified by Wanam) and that also works too. Once again, it needs to be toggled off by Root Switch for PoGo to work. I was trying all sorts of things again yesterday to try to get the Snorlax module to work but no cigar. Once Xposed is toggled off by Root Switch, none of the Xposed modules work. At least PoGo works though.

---------- Post added at 10:09 AM ---------- Previous post was at 10:01 AM ----------

There is so much misinformation on here that it's starting to get really frustrating. Every couple pages people post questions that have been answered a hundred times and and usually new answers will be BS.

Could we pin the working 2 methods on the front page? For anything Samsung newer and using DMVerity (S6, S7) as well as some other manufacturers we have Magisk v9 + Phh's SuperUser 266-2, and MagiskHide and RootSwitch 1.3.3.2 (if Xposed is involved). For anything that's an older Samsung (S5, Note4) not using DMVerity, as well as some other manufacturers we have SuperSU 2.78 SRx, SuHide 0.55, Root Switch 1.3.3.2 along with RAMDisk and SuperSU patches.

XPosed does trigger SafetyNet but it can be turned off with RootSwitch 1.3.3.2 as long as it's System based (86.1, 86.2 in System Mode, and 87) and PoGo WILL WORK. If it doesn't work right away, make sure to wipe cache + Dalvik and reboot. S/N helper will show Red if on Permissive Kernel and Green if on Enforcing.

---------- Post added at 10:14 AM ---------- Previous post was at 10:09 AM ----------

I am on an S7 too and what you need is a full reboot after disabling Xposed with Root Switch (the toggle does a soft reboot - not a full reboot). After a full reboot, give it a minute for everything to settle and SafetyNet will turn back to Red from Blue (I am also using Prometheus 2.0.0 which is a permissive kernel). Your Xposed modules will no longer work at this point BUT PoGo will work.

If a full reboot doesn't work, do a wipe of Cache and Dalvik from TWRP. I have had to do this in a couple scenarios.

Important point to remember here is this. Once you toggle on Xposed from Root Switch, XPosed becomes active right away BUT disabling it within Root Switch requires a FULL reboot rather than the soft reboot Root Switch will automatically do.
[Magisk] :
This is so much informative and useful. I suggest to pin this post in OP to avoid further confusion. Thanks for clarifying thumbs up!
[Magisk] DodoGTA:
Can I use Magisk Hide with SuperSU (without suhide because it only works on 6.0+)? If yes, then how?
[Magisk] Artim_96:
You can buy you won't be able to hide root so you won't pass SN.

Just flash SuperSU first, then Magisk
[Magisk] lge73:
Hide root working on Nougat ?

Tried on Samsung S7 Nougat beta, I am not able to hide root for some apps.

Hide root working on Android 7?

Thx
[Magisk] Rhoban:
Working for me on CM14.1.
[Magisk] 089man:
Hi, have a question..

I flashed magisk 9 and superSU sr4 successful.. Installing magisk manager 2.5 and xpose 86.6 systemless.. All works fine...

1. In magisk settings I enabled black background but it's not works, it's standard white..... Bug?

2. I enable magisk Hide and reboot... Now I can used android pay? I'm right?

3. Must I disable this hide feature or is this only working for Android pay and pokemon?

Thx for answer it's my first time I used magisk

Send with S7 Edge SM-G935FD from Munich / Germany
[Magisk] yochananmarqos:
1. I'm able to change the theme.

2. Not with Xposed installed.

3. Magisk Hide will hide root from any app that uses SafetyNet like Android Pay, Pokémon GO and some banking apps. However, the SafetyNet check will not pass with Xposed installed.
[Magisk] Artim_96:
This is only made for AOSP using the SafetyNet API, sometimes with the side effect that it can be hidden from other apps.

But if your asp uses a proprietary root detection methods, is possible that you can't hide root from it. There are root detection methods out there even Chainfire doesn't understand how they work (partially because they can detect something in Nougat when the system itself should make that impossible) and had no idea how to work around these methods.

These methods are mostly used in banking apps
[Magisk] eXtremeDevil:
Hi, one question.

I'm using Magisk v9 and SuperSU 2.78 SR1. Can I flash SR4 to update su? Will it break Magisk?

Thanks.
[Magisk] Didgeridoohan:
No. Magisk Hide only works with Magisk phh's superuser.

2. No. Magisk Hide only works with Magisk phh's superuser. And as already pointed out, you also need to hide Xposed somehow, which I believe can be done with an app called Root Switcher or something like that. Does not work with systemless Xposed though, from what I gather.
[Magisk] JaymzTA:
Can you say what page those patches are on? I don't remember seeing them.
[Magisk] HaoZeke:
The Viper magisk module totally ruins my system everytime I flash it. Only wiping /data makes it boot again. I don't even know HOW it manages that. :|