yashsingh1/xdaforums huggingface dataset:
[Magisk] Nomelas:
I'm not sure if AP works on non-stock Roms? I could be wrong but last I read it doesn't work with CM at least.
[Magisk] Captain_Throwback:
Wrong thread...
[Magisk] insaned:
edit: OTA works on a clean install. Dunno why i put in my head it doesn't...
[Magisk] Didgeridoohan:
Funny... After several reboots, a couple of flashed system images (I've been playing around a bit today) it suddenly worked, our of the blue. Sort off...

The new density value got set from Magisk, but it wasn't fully functional. Even though i also ran the corresponding "wm density" in terminal, to get rid of the graphical glitches that normally can come from changing ro.sf.lcd_density in build.prop, the glitches still remained. Tried rebooting and the glitches were still there, with getprop and wm density reporting the proper (new) values.

Hmm... Seems like there's something not quite right with the loading of the post-fs script in Magisk, at least not on my device.

And after another couple of reboots and system image flashes everything is working as expected. lcd_density gets set correctly through Magisk and everything looks fine.
[Magisk] dbroer91884:
So I'm thinking about trying this out and had a couple of question. And these questions come from my confusion about the installation part of OP.

1) I read that you need to be stock. Does that mean what came with your phone originally or just a clean flash of the ROM you're on? I'm using Pure Nexus right now and don't know if I just need to do a clean flash of Pure Nexus or revert to the original stock.

2) The order seems to be clean flash PureNexus (assuming this is the answer to question 1), flash magisk, then flash root such as the systemless root in post 2, lastly download the manager. Is this correct? Sorry, this MOD intrigues me but I'd rather not destroy my device by doing it in the wrong order.

Thanks

P.S. TWRP 3.0.2-0 work for this?

EDIT: So really, my main question is the first one. The rest seems well laid out. Can I just flash PureNexus ROM clean (there is no Root in that one to begin with) and then start with these steps?
[Magisk] steveo17:
Yes. Really what you need is a clean kernel

Any twrp works
[Magisk] insaned:
Ok, so on samsuns S7 Edge is giving a LOT of headaches...

Before I had it completely systemless (Magisk v3 + phh root + xposed) in a older Android version (G935FXXS1APG3) and all was working smooth... until I updated for android (G935FXXU1BPH6) and updaed TWRP at the same time to twrp-3.0.2-3.

So I tried to update magisk to v6 which later I found out that was giving issue with samsung yet, so I tried to use v3 which worked once... However I reflashed and after that I cannot make work any version. TWRP also cannot be downgraded to twrp-3.0.2-2 (EVEN in fresh install either recent or older android version) otherwise it doesn't load.

Obviously I tried to use everything like before, same android version, same magisk version, same phh supersu version EXCEPT twrp-3.0.2-2 because it doesn't work now anymore. What I noticed is that now whenever I flash it doesn't appear anymore the green screen "ANDROID IS UPGRADING - OPTIMIZING APP X of XX"

The root modifying system works, but I need android pay to work.... any ideas... I'm going around this for a couple of hours

Just a detail.... I flashed all the systemless files and despite the fact Root is not working the OTA updates stopped working... so something is getting broken aswell.
[Magisk] buffal0b1ll:
Are you using the kernel that came with pure nexus?

All you need to do is unroot (you can use the "UNSU ZIP" GOOGLE THAT, or in supersu click full unroot and finish what it tells you you need to do next) and uninstall xposed (if you have it already).

Then follow the magisk install instructions.
[Magisk] JudgeDread11:
If you switch selinux to permissive in magisk manager FlashFire should work with phh's root and superuser.
[Magisk] jcrompton:
Understand that this AP questions/discussions are not directly related to Magisk BUT isn't making things like AP work on a rooted device the whole point of Magisk? Also if I take this to another thread like one devoted to AP -- the users there know very little about Magisk

:confused::confused::confused:
[Magisk] Nomelas:
You need an unmodified system partition and kernel. If you were rooted be sure to follow the uproot process and to avoid issues simply reflash system and boot images or reflashing your rom should do it.
[Magisk] putridfoetus:
Does the rom come with busybox already integrated? Did you install the phh superuser app from play store after flashing? The custom nature of the rom may be the issue there.

---------- Post added at 06:51 PM ---------- Previous post was at 06:48 PM ----------

topjonwu stated earlier in this thread that AP was not the point of Magisk, just a happy side effect. The point, I believe, is to allow stock firmwares to be modified without touching /system so that OTAs will still work. Reduce the hassle of updating monthly only to have to redo/reflash all your customizations.
[Magisk] dbroer91884:
Substratum doesn't seem to work with phh superuser. I used the zip from here and that didn't work. It asked for root with substratum but never for masquerade. Because of this I can't apply themes. Any ideas? When I used the phh from the official thread, magisk didn't work right but masquerade did.
[Magisk] jun_ng_1208:
I'm using phh superuser with substratum and it with without issue tho... Have you tried clearing cache and data for substratum?
[Magisk] dbroer91884:
That's odd. I tried clear cache and data didn't work. I uninstalled substratum, still doesn't work. Only asks for root for substratum, not masquerade.
[Magisk] DrAgNbOi:
You need to set selinux to permissive in magisk manager.
[Magisk] waylo:
SEARCH!

http://xdaforums.com/android/software/magisk-phh-s-superuser-android-pay-t3435921

Magisk-specific AP thread. Also listed in the OP.
[Magisk] Didgeridoohan:
Yes, I know about that part... I meant about having to use su for the getenforce command.
[Magisk] Umbardacil:
I waited for the su permission. That's not working neither.

What I've noticed, that even I change kernel to enforcing with SELinux toggler, after I enter the app again I see permissive. Strange. It looks like my kernel is permissive only. Any other way to check if I can change kernel to enforcing? Is enforcing kernel a must if I want my SafetyNet Profile to pass?
[Magisk] Didgeridoohan:
Enforcing SELinux is necessary for SafetyNet to pass. But, Magisk Hide can mask a permissive system and you'll still be able to pass SafetyNet. On your system that doesn't seem to work though, most likely because your kernel have completely disabled/doesn't allow enforcing SELinux.
[Magisk] joncy92:
Yo,

I tried searching for this issue but couldn't find much. Any module I install will cause safetynet to fail. Only pass if magisk core check box is checked. Any ideas?

Thanks
[Magisk] kramer04:
With my kernel i have permissive too and i can pass safetynet.

have you check /uncheck magisk hide ?

you could also try beta v13
[Magisk] mrjlturner:
Concur flagging ROOT on ZTE Axon 7 (no root installed)

I just started seeing this. Every attempt today to contact Concur support has turned up empty. Even their call center states they are "experiencing a high call volume" and wouldn't allow me to speak with anyone. Nice...
[Magisk] tool666schism:
Not sure if anyone else is seeing this but I just started failing Safetynet on my OnePlus 3T on stock OOS 4.1.3 using Magisk v12. As someone mentioned earlier, enabling magisk core mode allows me to pass safetynet but as soon as that is disabled I fail.
[Magisk] twcobra:
Same here on my Moto G5. Looks like Google updated. As it rolls out I think more and more complaints will come rolling in.
[Magisk] ggkameleon:
Hi ! Every body.

I use MagiskSu with my op3 For a while with the Rom Freedom Os which is based on OxygenOs debloated.

But with the last update 4.1.6 of OxygenOs (FreedomOs 2.10) I can't Safetynet Magisk v12.

I had error profile CTS ?

It's normal ? Just stay an update or they are a solution to resolve it ? Thanks.
[Magisk] frrancuz.:
Same here.

Yesterday - SafetyNet pass

Nothing changed in phone

Today - CTS error.

NOTE3, magisk 12, magma MM port.
[Magisk] MonteXMat:
Hi everyone,

I have been using Magisk v12.0 for about two weeks now, but I have been getting CTS profile mismatch for the last couple of hours. I haven't installed or updated anything. Device certification in the Play Store says "Uncertified". I tried reinstalling Magisk using the proper zips, but that haven't fixed a thing. Also, Magisk Hide works with my apps as usual.

OnePlus 3T

7.1.1 - OOS 4.1.3

Android security patch level - 1 March 2017

EDIT:

Fixed it by enabling "Magisk Core Only Mode"!
[Magisk] tool666schism:
Yup.. I was afraid of that. For now disabling all modules seems to do the trick for me. Not sure how google is managing to detect modules...
[Magisk] cheptii:
any idea if there is a module to enable long press volume button to skip song please ? if not is there a request module section or something like that ?
[Magisk] L.F.B.:
Latest playservices broke cts pass...

Its happen to everybody...
[Magisk] Iradj:
Try the Core Only mode
[Magisk] biomech91:
Is there a reason why SafetyNet fails after the latest Play Services update but still passes in Core Only Mode?
[Magisk] twcobra:
Maybe Google found a way to detect modules
[Magisk] Iradj:
I don't know the exact reason but it seems it have something with the modules to do. Google now detects them somehow.
[Magisk] biomech91:
Let's hope it's not too difficult of a fix for the dev. To be honest, I only use an emoji replacement module, so I don't really mind staying in Core Only Mode until a fix is (hopefully) found.
[Magisk] :
Google, ruining my experience one day at a time....

Anyway thanks so much for at least trying to give us administrator rights on a locked down device we pay outrageous prices for :)
[Magisk] Alison.Souza:
Hello guys.

I would like your help. First of all I apologize for the bad English.

My cell phone is a Galaxy S4 I9505, rooted a couple of years ago by CF Auto Root + Odin3, and used SuperSU 2.6. A few days ago I tried to flash Magisk 12.0 through TWRP 3.0.2 and apparently everything happened normally. However, when I rebooted my phone, I noticed that I had lost root access. After a few tests, I decided to flash SuperSU 2.8 .zip by TWRP, but my phone went into bootloop. I thought something could have gone wrong during the SuperSU flash and tried again without success. I decided to reflash the Magisk and my cell phone ran again, but it still did not have root access.

After that, I decided to try to redo root for Odin3, using the same CF Auto Root I had used years ago (I had kept the files saved on my PC if I needed to). And once again the phone went into bootloop, only this time the TWRP was also lost. So I used Odin3 to flash TWRP 3.1.1, and with it again I flashed the Magisk so I could have my cell phone working again, but still no root.

Has anyone gone through this, and do you know how I can get root again? I would not mind losing the Magisk, since I was just wanting to test it.

Thanks
[Magisk] twcobra:
Although maybe a coincidence. But it did seam to be timed with the Pogo event. Maybe they think or who knows maybe there is a module for spoofing.
[Magisk] L.F.B.:
Core olnly works. Hope our master dev solve the modules problem...
[Magisk] negroxxx:
Safetynet pass

Unninstall Magisk v12

Install Magisk v13

Install Magisk Manager v5

Reboot

Pass Safetynet
[Magisk] tool666schism:
Hmm.. I will have to try this. I'm assuming the best way to reinstall Magisk is flashing via TWRP (or something similar)? I
[Magisk] negroxxx:
Yes I use TWRP

Unninstall Magisk. Zip (NO Reboot)

Install Magisk v13 .zip

Install Magisk Manager v5

Reboot

No use modules or not pass Safetynet
[Magisk] JEANRIVERA:
Do you have any modules active?
[Magisk] negroxxx:
No :(
[Magisk] KaMyKaSii:
Magisk Hide revokes the global read permission of the files, so the getenforce command can't see the current status. But with root, it's another case. But it turns out that the denied permission itself can be an indication of rooted device. So I don't know why this is not a Safetynet check, unless this "problem" also happens in some stock firmwares (Samsung?)
[Magisk] L.F.B.:
Even with core only enabled... Im not able mario run withou that dawm 5100 error...

Safetynet passes ok... Also not able to see in playstore... Neither Netflix... This last playservices update broken deep the magisk hide...
[Magisk] killj0y:
I tried removing all magisk components and I pass safetynet then tried both v12 and v13 and fail no modules. Anything else I can try?
[Magisk] kaneelias:
Might be a stupid question but where did you obtain V13 of Magisk and V5 of Magisk Manager?

Thanks
[Magisk] killj0y:
From the magisk beta forum

Also just tried enabling core mode and it passes safetynet so that's working at least.
[Magisk] kaneelias:
Cheers
[Magisk] yochananmarqos:
No, it didn't and no it hasn't.
[Magisk] f0xG3:
In my case, here's what I did to make SafetyNet checks pass again.

1. Download Magisk Uninstaller (flashable ZIP file)

2. Boot to Recovery (TWRP)

3. Run the said Uninstaller (well literally flash the zip file); this also restored my unrooted Flash Kernel boot image

4. Reboot and let the device boot fully. I also ran SafetyNet checks and it passed; indicating that root is indeed the issue here.

5. Reboot again to Recovery

6. Installed Magisk v12 again and clear cache and dalvik

7. Reboot again fully

8. This time, set Magisk to Core Mode only

9. Reboot again fully

10. Well, I ran SafetyNet checks again and it passed. Looks like Google updated SafetyNet and it hit the modules.

Also one more thing : Enabling Systemless Hosts kinda breaks SafetyNet checks (yeah sad :( ).
[Magisk] kaneelias:
For me to get safetynet to pass I had to use the uninstaller, then install the beta v13 and it passed. Not running any modules.
[Magisk] angelus_kun:
Why do you think that? I have similar issue with Mario run, but before, like a month, i played normally until now :( Even with core mode enabled And safetynet pass, Super Mario run refuses to launch
[Magisk] kaneelias:
I have safetynet pass on V13 beta and Super Mario Run fails for me as well.
[Magisk] JBadas30:
Any way to use modules yet?
[Magisk] yochananmarqos:
Riddle me this: SafetyNet check is failing right now, my device shows uncertified but I can play Super Mario Run and use Android Pay.

It turns out other people are having issues as well, so something might have happened.
[Magisk] Didgeridoohan:
Yes. Install them through the Manager or recovery. If that doesn't work you'll need to provide details and a recovery log from the installation.

If you're talking about the SafetyNet debacle that's going on, it's been less than a day since the update that broke the world. If it can be fixed it will, otherwise it won't. Wait. Patiently.

---------- Post added at 06:24 ---------- Previous post was at 06:09 ----------

If you haven't already, try flashing the unSU script and then a stock boot image. After that, try flashing either Magisk or SuperSU again.
[Magisk] _ImPat:
Any ideas on how safetynet is able to detect modules?
[Magisk] angelus_kun:
Solved issue

Mario run work again i solved the issue deleting all modules enable magisk core And systemless host (for adaway at least) magisk hide with Mario run selected, clear Mario run data And reboot oh Well :/ bye bye to ad away OGyoutube module however, i can use the APK files instead :D
[Magisk] malcolmm21:
I by mistake rejected the SU request for settings when it first came up. Now I can't get it to come back again as a result wake lock options aren't working I think. Tried clearing settings cache n data but still no request shows up.. It's not showing settings in Magisk su section. How can I grant IT SU access?
[Magisk] Umbardacil:
After changing kernel which allows to change SELINUX to enforcing I've got this in terminal:

But the SafetyNet check still failed.

Tried core only (no modules at all), restarting magisk hide (off/on), rebooting, clean install, v13 beta+magisk manager 5.0, got Magisk SU and Magisk Busy Box BUT STILL NO-GO. I'm getting tired of this...[emoji29]
[Magisk] JEANRIVERA:
no body is forcing you to use it, either you can build a solution for SN your self or don't root or modify your phone!! ;)

PD: topjohnwu already fixed the issue just wait for release....
[Magisk] bigo72:
Thank you very much .... even if it didn't worked for me, unfortunately. Phoenix AOSPExtended on OnePlus 3T.

I got "cannot create symbolic link from '/magisk/.core/post-fs-data.d' to '/system/etc/init.d/post-fs-data.d': read only file system"

And I was SU..... I think I should change /system permissions, but I'm a bit scared
[Magisk] ForgottenDude:
https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589/post72665021

Guys, it's already been fixed by the dev. Wait for the update.
[Magisk] Z0DY:
Since Yesterday evening safetynet does not pass anymore, it says "CTS profile mismatch"

If u need more information, just say how I could gain it and I'll post it here

Device: Huawei P8

ROM: Stock B393
[Magisk] Didgeridoohan:
I have /system mounted read-only and can create the link just fine. To be honest, I'm not too familiar with the inner workings. I just know enough to make it work... :laugh:

You've got the link messed up though. It's "/system/etc/init.d", nothing else.
[Magisk] veez21:
Just mount /system to read write
[Magisk] Karls0:
GP Services update... Probably MagiskHide is no longer working. I hope Dev will fix it.
[Magisk] olivercervera:
I am failing SafetyNet test but just installed Super Mario Run and works.

Xiaomi Mi5, running AOSP (Android 7.1.2), Magisk v12 without modules.
[Magisk] anba94:
I can confirm it. Did last Night the Update and it´s detecting Root. I pass SafteyNet with v12 and Core Only Mode, but at this App it won't work. Maybe they did something new for detecting rootet phones?
[Magisk] Karls0:
So it depends... some games/apps needs just basic integrity, not full CTS profile. Maybe in this case it works. Any ideas for temporary fix?

Edit:

Hotfix - set to "core only mode" and it will pass safetynet for the price of disabling half of functionality of Magisk.
[Magisk] MaFiBoSS:
Thanks. I know, but in my case after installed the busy box, the Concur app stopped to work (Magisk hide option enabled).

If remove the busy box, works again (Magisk hide option enabled).
[Magisk] NoSkypeOnCM:
How is SafetyNet updated?

server-side only? part of play services? Is it a separate Android OS component (like WebView)? is it a library? Is it an apk bundled with a dependent app?

I read that it is a snet binary that is maintained via play service, is that true? and play service probably checks weather it is up-to date? (how about using a modified or older snet binary? (most likely somebody already thought about that, but just in case)
[Magisk] MaFiBoSS:
Yes, after update the problem with root appeared.

But now, the app its work again (last version) with Magisk and wihout busy box installed (Maybe the Concur app checks busy box installation??) :D
[Magisk] Iradj:
Yes definitely some new detection modes maybe the App detects now Magisk/Magisk Manager or some other Apps that are blacklisted or some other detections not sure what they adjusted and what it detects exactly.
[Magisk] shadavis08:
so I get profile mismatch. What can I do to fix this?

LG V20 - NATF 5.0 - Magisk 11.6
[Magisk] teddy0209:
Wait... For the fix to be released...
[Magisk] SpasilliumNexus:
Read a few posts up. . .
[Magisk] shadavis08:
I'm still on 11.6 have not updated to v12 yet and this "hotfix" core only mode doesn't work. Still won't pass.
[Magisk] Andi46:
v13.0 runs fine ;)

https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589/page55
[Magisk] teddy0209:
That temp fix doesn't work for all...

Edit: try renaming /dev/com....magisk into something else like suggested in mi sn fix thread...
[Magisk] twinko:
[MENTION=4470081]topjohnwu[/MENTION]

Will you release a safetynet fix for the v12 aswell or only v13?

Kind regards!
[Magisk] shadavis08:
If I want to go to v13 all I have to do is uninstall magisk through the app and Flash 13 in recovery right?

LG V20 - NATF 5.0 - Magisk 11.6
[Magisk] Andi46:
i flashed the uninstaller and Magisk-v13.0(b3da28e) at once, did the sn check and deleted ps cache and data;) manager app gets aut. updated to 5.0.1....
[Magisk] shadavis08:
How did you check the SN and and I don't get what PC cache is

LG V20 - NATF 5.0 - Magisk 11.6

---------- Post added at 05:58 AM ---------- Previous post was at 05:57 AM ----------

Forgive me I'm still learning or relearning how to do all this stuff thank you for your patience

LG V20 - NATF 5.0 - Magisk 11.6
[Magisk] Andi46:
with the manger after flashing uninstaller + v13.

PlayStore - to get a certified device in settings of playstore (to download for example netflix...)

EDIT: don't forget to tick magisk hide in manager settings....
[Magisk] shadavis08:
Thanks worked like a charm!

LG V20 - NATF 5.0 - Magisk 13
[Magisk] surenther.ss:
flashing new Magisk v13 (b3da28e) is fixing safteynet problem

I have followed this steps (May be helpful for some one)

1, Uninstall v12 using uninstaller zip

2, Booted system and cleared Playstore data to make it certified device

3, Flashed v13

4, Ticked Magisk hide

5, Safety net passed
[Magisk] deepu458:
Do u have any modules active with SafetyNet being passed?
[Magisk] surenther.ss:
I am not using any modules for now. Going to flash viper arise module.
[Magisk] alfioman:
Hi, i have a problem with teclast tbook 11. After installed magisk, the device at each restart changes the language in Chinese, but magisk works well.
[Magisk] deepu458:
Could you please update after flashing the magisk Module ? as the problem exists of failing Safetynet only after having any active Modules.
[Magisk] bednim:
Hi, still on v12. Situation from 30min ago. Android pay paid fine I'm one store, 15 mins later android pay failed with message that I may to unroot device before continuing.

Anyone else expected similar?

Thanks!

Edit: updated to v13, SN passes fine but play store doesn't see any app updates. Cache cleared. Anything else to look for? Thanks!
[Magisk] ForgottenDude:
That's because Magisk doesn't pass SafetyNet as of now. Google updated it.
[Magisk] bednim:
Thanks! I have updated to v13 but play store has hard time, spins forever when checks for updates. Would you have any idea how to resolve this?

Thank you!
[Magisk] surenther.ss:
You're right Safetynet is failing after installing viper 4 Arise Module
[Magisk] MultiKoopa:
Aw damn. Any way this can be fixed, the Safetynet issue?
[Magisk] ForgottenDude:
Dev has already fixed it. Wait for an updated version.

---------- Post added at 06:54 PM ---------- Previous post was at 06:54 PM ----------

Sorry mate, no idea about that?
[Magisk] MultiKoopa:
Already? Damn that's fast lol

Hopefully this'll be available soon :)
[Magisk] shadavis08:
I have v13 installed and everything works fine with the playstore. Of course I don't have any modules installed.

I have werewolf kernel.

LG V20 - NATF 5.0 - Magisk 13
[Magisk] grandpajiver:
OnePlus3T, AOSPA, WhiteWolf Kernel, Magisk v12.0, set to Core Only mode, Busybox, MagiskHide, Systemless Hosts enabled, hiding Android pay, Pokemon, Fire Emblem, and Play store... all is well. With no modules. Better than nothing :)

I know that [MENTION=4470081]topjohnwu[/MENTION] has a fix in place... just adding to the list of configs that do work.
[Magisk] MultiKoopa:
Hmm? What's the fix? I'm not using any modules either on 12.0, it's not working for me. Why?
[Magisk] Umbardacil:
By me still doesn't work

I'm beginning thinking that I should change my ROM from stock to custom. .. What do you think about it guys?
[Magisk] coto39:
EDIT- TO Delete

The same issue that was posted above (can't pass the safetyNet check if "Core mode only" is not enabled)
[Magisk] L.F.B.:
Guys, wait for Master Johnwu to update a fix! Please be patient.

He wrote many times in the beta thread. Its all fixed! Please wait!