yashsingh1/xdaforums huggingface dataset:
[Magisk] kyzn:
It's an issue with 6P. It doesn't like Magisk audio modules and props on boot. Fixed on Ainur Pandora and Arise sound mod. Something about moving to late start?

Check out the ARISE and its Magisk compatibility module.

ARISE comes with it's own viper4android. Just install the core and the apk and skip the rest to keep it light.
[Magisk] MightyW:
So, is hiding xposed with Magisk Hide in the works? Is it even possible?
[Magisk] :
Nope. Topjohnwu mentioned that he didn't plan it for Magisk so he won't do it.
[Magisk] sonysingh1983:
O ok thanx. What files exactly would I need for arise? Sorry for being a noob.
[Magisk] Nogster:
Thanks! 11.6 works! What's strange for me is that on my first use I originally got PS Vue working under 11.5 and it still worked after upgrading to 12.0. Today I did a fresh install due to random app crashes and when I performed my reinstall I could no longer get PS Vue to work. The most significant difference between this install and the previous one is that this time my PS Vue settings were cloud backed up by Google. When I was finally able to get past the root check I didn't have to enter name/password, I was already logged into PS Vue. Don't know if that means anything but it's the only significant difference I could discern.

Nexus 6 running Pure Nexus 7.1.1-20170317, ElementalX.
[Magisk] Didgeridoohan:
Yeah, you went a little too far into the folder structure the first time. It's the post-fs-data.d folder that needs to be linked, not an init.d folder inside it. But you found that out already...

Regarding the original issue: does the mic fix module always work, and other modules never? If it's 100% repeatable you should be able to figure out what's causing the issue.

Without any kind of logs of the actual issue it's hard to figure out, but since it sounds like boot hangs before you can start saving logs, well...
[Magisk] Akshatpunj:
Help me please!

I have Lineage OS 14.1 without su-addon.

I downloaded magisk manager from play store and then downloaded Magisk v12.0 and flashed it using TWRP.

After that i went to magisk manager's settings and turned on magisk hide.

But after that too i am getting CTS profile mismatch :(
[Magisk] Didgeridoohan:
Not uncommon with Lineage OS... Try rebooting after enabling Hide. If that doesn't work, continue reading.

Check if Hide is otherwise functioning by hiding a root checker app, and check if basic integrity passes with the help of SafetyNet Playground or SafetyNet Helper.

If the above is true, Magisk is working as it should and there's something about your setup causing the CTS mismatch.
[Magisk] Akshatpunj:
I tried it after hiding root checker app in magisk hide. It worked well and it was not able to detect root.

But after that i ran SafetyNet Helper and it did exactly as you said.

Is there any solution?
[Magisk] ddimple4:
" As far as I know just disabling the module doesn't completely scrub Xposed from your phone. Magisk cannot hide Xposed. So, yes. Doomed to fail. You'd need to completely uninstall Xposed and likely dirty flash your ROM."

When I've disabled Xposed entirely from the Xposed manager app and then rebooted, I pass Safety Net if Magisk Hide is enabled.

Android Pay allowed me to add a card.
[Magisk] Didgeridoohan:
It's not an issue with Magisk then, it's working as it should. It's most likely your ROM. Go to your ROM's thread and see if anyone's been able to get it working.

You could also try iSu (search), i believe it works for passing SafetyNet on Lineage (but not with SuperSU or MagiskSU). I've no experience with it, so no follow-up questions please.

---------- Post added at 10:02 ---------- Previous post was at 09:43 ----------

What about the Magisk logs? Is there anything in there about permissive being detected? How about posting the log from a reboot where you have permissive enabled...
[Magisk] aqilsoomro:
Is there any way magisk survive dirty flashing rom? (Although my poor search skills get me the answer NO! yet I am making to know since this is magic mask so may be some magic there??:):):)
[Magisk] teddy0209:
Magisk won't survive, but your mods will... you just have to reflash magisk and magisk alone...
[Magisk] tag68:
If you flash the boot partition (that's where MagiskSU is installed), you expect the partition to get the contents you flashed. Would there be a mechanism being used to make Magisk automatically install after that flash on first boot, people who want to uninstall Magisk might get a bad time. On the other hand, if you're on the way flashing boot anyway, what is the problem to flash Magisk additionally?

In my opinion it is a bad idea wanting to make Magisk survive a dirty flash.
[Magisk] kryptikal:
Try disabling 'Systemless hosts'. My Nexus 7 2013 on Lineage OS won't pass CTS unless I do this (still using adaway too).
[Magisk] Didgeridoohan:
Do you pass basic integrity of you have systemless hosts enabled?
[Magisk] kryptikal:
Nope. But as soon as I disable systemless hosts it passes fine again.
[Magisk] Didgeridoohan:
Then you probably don't have the same issue as the guy you quoted. He can pass basic integrity, but not CTS.
[Magisk] kryptikal:
Yup, I see it now. Sorry, I misread that part.. been awake too long. I need some sleep.. or coffee :D
[Magisk] DodoGTA:
Me
[Magisk] Shellyaffff:
Magisk v4a not sticking after reboot app. Not there butbsays it installed it
[Magisk] Didgeridoohan:
Are your saying you can't find the V4A app? If you installed the module from the Manager you have to install the app separately. Link in the module readme (click the module in "Downloads").
[Magisk] linkboy:
I'm having a similar issue where I lose root access with Bluetooth enabled. If I turn Bluetooth off and reboot my phone, it works again.

A Nexus 6P running the latest release of Benzorom.

Busy box setting is off

As is systemless host

I'll try to get a logcat
[Magisk] Citizen_Snips:
Sounds more like a ROM issue. Also on a Nexus 6P, but using Vanilla ROM. Bluetooth is on and connected to my smart watch and root works just fine.
[Magisk] linkboy:
I posted it in the benzo thread as well. I just saw that people are having similar issues in here.

It's a weird issue.
[Magisk] Citizen_Snips:
Yeah it sounds really weird. Then again I do have systemless hosts and BusyBox enabled. Any change for you if you enable those?
[Magisk] enzoevo:
Safety net no longer passing. It was working fine yesterday. Made a Pay purchase last night. No updates on my Nexus 6, so maybe something server side? Latest PN, magisk v12, rooted.
[Magisk] Shellyaffff:
magisk won't install modules tried a lot but after reboot no apps before it worked
[Magisk] linkboy:
I just enabled them again, I'll keep an eye on it.

Also, here's my logcat, hopefully it helps if anyone else is having a similar issue.
[Magisk] Citizen_Snips:
All my Google apps / services are up to date and I still pass both aspects, though it is possible since they usually roll out updates like that in waves. I'll keep an eye on it on my end.
[Magisk] Scrapyard Loot:
Weird. 1st picture, (more X) had Magisk Hide disabled.

2nd, Magisk Hide enabled, detected SU binary.
[Magisk] linkboy:
It's passing on my install as well. Do you have USB debugging enabled? I know that can trip it and cause it to fail.
[Magisk] Tesla:
USB debugging on.

Safety net passes.

Note 4 stock 6.0.1

Magisk 12
[Magisk] carlcarl2014:
Hi guys, I am on resurrection remix 7.1 for the asus zenfone max, it comes with magisk but fails safteynet, I do have magisk hide on, any suggestions?
[Magisk] linkboy:
Check if you have USB Debugging enabled. I've had to turn it off to get mine to pass safetynet.
[Magisk] carlcarl2014:
I've disabled it but still not passing

---------- Post added at 03:34 PM ---------- Previous post was at 03:27 PM ----------

It says cts profile mismatch if that helps
[Magisk] Didgeridoohan:
If you've rebooted your device in past 24 hours, have you made sure Magisk Hide started properly on boot? You can see in the logs if it did. If it didn't, toggle Hide off and on again in settings. It's possible a reboot is required as well.

I answered your last post. What about that? And what modules are you talking about? Far from all off them come with any apps...

In the second picture I only see it detecting "Test keys" and "SELinux flag", everything else passes. The fact that it says "Rooted" just means it found one or more of the things it's looking for, not the SU binary. The first one, "Test keys" means it found your devices ro.build.tags being set to "test-keys". The other one, "SELinux flag", means it found a value in ro.build.selinux that it didn't like. You can set ro props with the resetprop tool through a Magisk module. See the link I posted below for more details ("Dangerous props").

Many suggestions, right here:

https://xdaforums.com/apps/magisk/magisk-magisk-hide-troubleshooting-tips-t3561828
[Magisk] DodoGTA:
[MENTION=4667597]Didgeridoohan[/MENTION] How can I fix high CPU usage in Magisk v12+?
[Magisk] Didgeridoohan:
Thank's for the confidence mate, but I've no idea. I don't suffer from that issue on any of the devices I use Magisk on (OnePlus 3T, Nexus 6 and Nexus 6P)...
[Magisk] Tesla:
Unroot completely

Install magisk 12

Install magisk app

Edit: Have you asked the Dev if the rom can pass Safety net? As far as i understand it not all can.
[Magisk] xQuestx:
I updated samsung pay on my gear 3 watch and nexus 6p and now I can't get into samsung pay app without a popup saying I'm rooted. I've even tried hiding the app and nothing seems to work. anyone have a fix?
[Magisk] teddy0209:
Read a few pages back, if i remember correctly someone did post about spay...
[Magisk] Tesla:
Go back to the appversion before this update. That should work for now.
[Magisk] xQuestx:
I did but it makes you update on the watch before you can use it.
[Magisk] wz68XDA:
Could you try disabling Magisk Hide and rebooting, then turning it back on and rebooting? That's what I did to solve the change network issue
[Magisk] enzoevo:
So on a whim I enabled the setting to only load just Magisk without addons, which I didn't enable or install, and rebooted. Now it's passing safetynet again. Not sure why that made a difference because I tried rebooting and reinstalling Magisk 3 times without any luck, but I'm glad it's working again.
[Magisk] bluetigger68:
So did a quick search and didn't find anything regarding my question. Is there any possibility to hide magisk icon in the drawer bc my rom has it built in in settings?

Gesendet von meinem Nexus 6P mit Tapatalk
[Magisk] ScuZziE:
Unfortunately, the answer is NO. Why would you want to hide Magisk icon from the drawer? :confused:
[Magisk] carlcarl2014:
I used the magisk uninstaller and even then it did not pass, does resurrection remix really not pass safetynet?
[Magisk] rignfool:
I hate that...

High CPU usage for magisk would be:

Bad SU permission...

Too many items checked in magiskhide...

Recent reboot requiring lots of permissions and mounting...

Otherwise... (Here comes the boiler plate)

Get better battery stats and figure out what is really using battery... When you trust Android battery settings fragment... You're gonna have a bad time
[Magisk] Raijin:
Magisk Manager isn't letting me install any modules.

It says Installation error, but don't give any more info.

I tried the Performance DAC enabler (downloaded), and AM3D Zirene Sound from both the repo and the downloaded file from thread, and both failed.

Is someone able to tell me what is the fault here?

My log is in https://pastebin.com/hEzK31K1

Thank you very much.
[Magisk] Tesla:
I don't know. You have to ask the Dev.
[Magisk] Nazariyhuhalo:
V12 Magisk

Note 5 N920T

Custom ROM by Khongloi

<Samsung pass still detects root>

Is there a way around this tried hiding root with magisk didn't work still detect root

Any advice is appreciated
[Magisk] bluetigger68:
PN has magisk baked into settings, just like SuperSU, so I don't need it in my drawer.

Gesendet von meinem Nexus 6P mit Tapatalk
[Magisk] DodoGTA:
This problem didn't occur on Magisk v11.6 and below:

https://github.com/topjohnwu/Magisk/commits/master/jni/magiskhide
[Magisk] Tesla:
If you use a new luncher you can hide apps/icons in drawer.

I use Nova Launcher.
[Magisk] enzoevo:
+1
[Magisk] bluetigger68:
Thanks, no I wanna stick with pixel launcher.

Gesendet von meinem Nexus 6P mit Tapatalk
[Magisk] :
I too Want this :crying: Please [MENTION=4470081]topjohnwu[/MENTION]
[Magisk] gghose:
It's a known problem. You can simply flash back the 11.6 version and it's fine.
[Magisk] Bradl79:
here is the issues i am having

Pics
[Magisk] kyzn:
Magisk should have never been fixed for Samsung devices. :silly: :p

I'm constantly needing to reboot now.
[Magisk] kopitalk:
https://xdaforums.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382/post71233375
[Magisk] ryaniskira:
Is SafetyNet now broken for anyone else?
[Magisk] kyzn:
A reboot usually fixes the CTS profile mismatch for me.
[Magisk] ScuZziE:
The easier way is to install another launcher like Nova or Apex.

Otherwise install the module Xposed GEL Setting... This has the ability to hide apps in Google Now Launcher.
[Magisk] Didgeridoohan:
Ok, I think I see the problem with SELinux. I'm stumped as to why your log is empty though. Use a root file explorer and see if you have the logs in the /cache folder.

About SELinux... Is your system by default enforcing and you're just trying to set it to permissive through terminal after booting up? I believe you need to set SELinux to permissive at boot for Magisk Hide to be able to properly mask it.

Try putting a file (doesn't matter what you name it) with the following two lines in /magisk/.core/post-fs-data.d to make your system permissive at boot and see if that works.

#!/system/bin/sh
setenforce 0

I just realised I haven't asked why you want SELinux to be permissive? There are a lot of advantages to keeping it enforcing...
[Magisk] Bradl79:
Thank u so much it worked, the reason for permissive is BC the OS I use for my oneplus 3 kills my battery life with enforcing, it uses Max cpu speed constantly while booting in enforcing
[Magisk] azsde:
Hello,

I am having huge issues with Magisk V12.

I have a OnePlus 3T with 7.1.1 Android. I have flashed Magisk V12 with TWRP and am using Magisk Root Hide, I did not flash another root, and am using the Magisk One.

For some reason, I loose root and I have to flash Magisk again to get it back.

Also, I am experiencing some lags on my device, I don't know if they are related or not, but I've seen people complaining about very high CPU usage.

How can I fix this ? Is there a log I can provide to see what's is going on ?
[Magisk] Didgeridoohan:
Interesting. I'm also using an OP3T, with OxygenOS 4.1.1 (Android 7.1.1). I also use Franco Kernel. I have not experienced any such issues with Magisk v12 on this device.

Have you tried just rebooting when root is lost? What apps and process are you putting on the Hide list? And do you have any other mods on your device?

The Magisk log probably doesn't show anything. A logcat from the moment root is lost might...
[Magisk] azsde:
Yes I have tried rebooting it, and it doesn't solve the issue, a reflash is mandatory.

Nothing is selected in the Hide List, I just enable Magisk Hide so that SafetyNet can pass without any issue.

Not a single mod is installed either.

So, next time I encounter the issue, I should provide a logcat trace ?
[Magisk] Didgeridoohan:
Interesting... So the only difference between our two setups is Franco Kernel? Maybe there's something about the stock kernel causing issues.

If you can catch a logcat from the moment it happens it might show something, yes. Posting it to a relevant issue on GitHub might then be helpful for the developer.
[Magisk] tdunham:
My apologies if this has been reported, I did a search without much success...

Stock deodexed Nougat 7.0 with stock kernel:

Users are reporting the inability to uninstall system apps (not user apps) with Titanium Backup and also Rom Toolbox Pro app manager.

This has been confirmed with both Magisk 12.0 & also Magisk-v13-170403 builds.

Just for the sake of it I tried SuperSU and system app uninstall works properly with that root method. I even installed Magisk over SuperSU which keeps some SuperSU patches and it works there as well but this removes some functionality of MagiSK doing it that way.
[Magisk] Tkkg1994:
Maybe I can help you here somehow. Can you upload the boot.img only patched with Magisk V12 and the boot.img only patched with SuperSU?

Then maybe me or someone else can figure out what's going on. Thanks man :)
[Magisk] joeyddr:
I have this same issue.

---------- Post added at 01:40 PM ---------- Previous post was at 01:39 PM ----------

using purenexus here also....
[Magisk] N00dle:
Well got it working.

I went back in and re-flashed the boot.img, system.img and then TWRP.

After that followed the above and bam all working.
[Magisk] :
Really? it modifies a file in /system so I am surprised.

I tried the steps at http://xdaforums.com/showpost.php?p=65189125&postcount=259 but that did not work on my 6P
[Magisk] trythat:
I'm not using this mod which seems a brillant idea and looking forward to seeing how it progresses. Any way I use Purenexus on my N5 and I beleive if you want to root it you have to add Supersu yourself, it's not included as standard now, which I personally prefer, saves having to mess about if you don't need root, of course Magisk looks as though it may cure this!
[Magisk] Cares:
Well you can just test it yourself. Adaway has a button to revert to your original host file. Either way I'm telling you it works.
[Magisk] CSX321:
You're right, modifying hosts has never (so far) interfered with AP.
[Magisk] steveo17:
edit:

delete
[Magisk] koko115:
Galaxy S7 Bootloop on first screen, after flash magiskV1 on stock kernel.
[Magisk] tech_head:
Quite a few people are confused and think that just changing any file in the system prevents Pay from working.

This is far from reality. There are numerous files that can be changed on the system partition and not have an effect.

Anytime a system Application changes the system partition changes. So the test cannot be if any file changes.

Adaway uses a modified host file to redirect requests to a null IP address instead of the real address.

On a Linux or any "Unix Like" system testing the host file for system modifications would be silly.

The host file is not a static file.
[Magisk] leo.riv:
[MENTION=4470081]topjohnwu[/MENTION]

I have a Lenovo Vibe X3 Stock 6.0.1 Rom with Boot loader unlock, System Based SuperSU, System Based Xposed Installed, Busybox-1.25.0-YD & TWRP v3.0.2.

What should I do to install Magisk, Magisk SuperSu & Magisk Systemless Xposed please help me.

I am sorry for my bad English.
[Magisk] SpasilliumNexus:
Confirmed working on Moto X Pure Edition with stock 6.0. Unfortunately, I'm going back to SuperSU since FolderMount doesn't work with phh's SuperUser, nor does ViPER4Android unless I set my kernel to permissive for this app.

One idea that came across my mind is would it be possible to add intents to the Magisk app, to toggle the mount and SELinux switches? That way, anyone using Tasker could like make a shortcut that toggles the mount switch to off before launching and using Android Pay.
[Magisk] 0x7C2f:
Will this resolve the Snapchat force close issue as well?
[Magisk] ahrion:
I'm wondering if you could do some type of ramdisk modification to this, similar to the way custom kernels do with anykernel, but ONLY for ramdisk editing, ie adding a custom .rc to be loaded by init.rc. Maybe magiskinit.rc that also allows those who use your template to add custom lines to it at their will. It also adds a great deal of power to this.

I think this would be a great addition. I can't think of any interface (system or systemless) that allows strictly ramdisk modifications without changing the kernel itself. I can also think of several ways we could use that functionality.

Thank you for your great work!
[Magisk] ohlin5:
I'm also having the exact same "toggle re-enables itself", also running PureNexus, also on an N6P...shoot :(
[Magisk] StephenSpig:
Got it... Last night I had just come off of a 48 hour shift... When are keeping up I realized that there was probably an updated xposed zip in the OP, and sure enough... Everything is up and running, I'm passing SafetyNet test, and now I just have to confirm that Android Pay is working...!

Thanks!
[Magisk] :
Well, I added cards no problem however I just tried to make a purchase and got the "you cannot use Android Pay with this device" message when trying to pay at the POS terminal. *sad* and yes i double then triple checked that root was unmounted and green

After setting all of this up with a fresh stock system the only changes were the adaway hosts update and adding a line to the end of my build.prop to allow tethering
[Magisk] N00dle:
Time to check the logs, for whatever reason the Xposed framework just crashed. it was working fine

---------- Post added at 03:30 PM ---------- Previous post was at 03:07 PM ----------

I had the issue but not on Pure Nexus rom. I was however on a stock Nexus 5x with root
[Magisk] driverdis:
I found that by enabling the No Device Check Xposed module, I can pass SafetyNet (SafetyNet helper) without unmounting root but Android Pay still catches it and won't work.
[Magisk] Haldi4803:
I still don't get it.... Can someone explain this to a noob?

Compared to the previous Systemless Xposed mod which modified the boot.img the Magisk only modifies Boot.img to set a flag/symlink and the whole stuff is saved in /UserData partition?

So flashing another Kernel deactivates Magisk untill it's reflashed. Does it make any sense for Kernel Dev's to include Magisk already in their Kernel?

And about the Mods flashed with Magisk... If they're system Mod's they Overwrite System every Boot right? So it's not persistent. Meaning it should be possible to simply deactivate a Mod and reboot instead of uninstalling it and reinstalling it? Like Xposed Mods?

So about custom ROM's via Magisk would only work if they have the same Kernel, or is it possible to boot another Kernel via Magisk? At least on the HTC10 it seems as hotboot is disabled. Or might this be possible via Kexec in the Kernel?

P.S Bonusquestion.....

Is this a fox? or a gazelle?
[Magisk] SirVilhelm:
I just have to say this is amazing! Being able to have root and AP is so nice. I litterally only want root to block ads and enable double tap to wake on my 6P. This allows me to have the best of both worlds. Thank you so much!
[Magisk] Captain_Throwback:
Magisk won't change the state of encryption on your device. You don't need to worry about that.
[Magisk] topjohnwu:
Sorry for my last emotional post, I'm just frustrated that I've done a lot to fix AP, and overall I seem to be the bad guy who is taking other people's work, so I regret to start doing all of this.

Also for my comment on Samsung, I do know that Samsung is selling great and has the largest user base for Android, and people have their own preferences to decide whether device they like. Samsung is creating great phones and I cannot deny the truth, so I know that saying Samsung is cancer is a bit too aggressive. I'm just super pissed that I wasted so many time in supporting them, and I still cannot figure it out unless I take the ready-made supolicy to help, and the bad mood triggered me the rant.

I'll contact Chainfire for the AP stuff. I hope we can make things work out.

Also, I'm back, continuing to support everything, and to compensate the postpone I'll introduce some new neat features in the next upgrade :)