yashsingh1/xdaforums huggingface dataset:
[Magisk] LucentBirch:
OnePlus One, CrRom 7.1.1. Phh root 266-2 (or whatever the latest is). Magisk hide is enabled, no modules or any other mods.

How can I capture a log for a random event? Do I just keep it running until it happens again? I've never quite figured out how to work with the logs.
[Magisk] Didgeridoohan:
At least a Magisk log. Probably won't show anything, but you never know. Also, try to find a pattern to loosing root. Does it happen when you start a certain app, etc? Does root start working again after a reboot?

My gut feeling is that there's something with OnePlus devices that's incompatible with Magisk Hide... People with 3T devices seem to have a lot of issues even getting Magisk Hide to work. Does your device pass Safety Net?

(I'm gonna assume you're talking about phh's superuser topjohnwu r2, since you're using v10.2.)
[Magisk] LucentBirch:
Okay, I'll save the magisk log the next time it happens. I've tried seeing a pattern, but I can't tell. I use power toggles to go from battery saving to high accuracy quickly when opening maps or Pokemon go. That's usually the only way I tell I've lost root. On reboot it works again. I don't suppose there's a rootchekcer app that has a notification or anything that can tell me when it's gone?

Yeah, that's the one I have.
[Magisk] eberhardweber:
Currently on Samsung Tab S 10.5" stock 6.0.1., using the new IronStock V3.2 kernel, Magisk 10.2 and phh phh-superuser-topjohnwu-r2.zip together with Systemless Xposed 87.0. Magisk Hide fails to work still. Log is as follows:

The difference on the new IronStock kernel is that I now get the last line, "Zygote(0) ns=mnt:[4026535552]". On stock kernel, that was omitted.
[Magisk] mucha.k1994:
Try switch your selinux to permissive, then uninstall and install drivers via app. Always with reboot and when finish, selinux switch to enforcing.
[Magisk] jsaxon2:
Quick question, did you happen to read anywhere in this thread that Magisk Hide does not work with Xposed??? If not, try reading...

Face palm
[Magisk] eberhardweber:
:) I've tried disabling Xposed as well. Result is the same. I'm not trying to bypass Safetynet, either, just hiding root :)
[Magisk] culiacanazo:
Mine can coexist and at times picks up where phh leaves off for whatever the reason is at the particular moment. Unlike SuperSU which in my experience it was a one or the other deal
[Magisk] alentduslow:
Questuon

I didn't see thé root toggle option in magisk manager. Do you know why?

Thanks!
[Magisk] bigknowz:
Thank you

[MENTION=4470081]topjohnwu[/MENTION] thanks for your hard work, made first successful AP transaction in month

N6P, PN 01/06/17, faster kernel, Magisk + phh topjohnwu2
[Magisk] phen0m2016:
Hi teddy0209,

Are you using Magisk 10.2 on a HTC One M9 with Stock Android 6.0 ROM? Does it pass the Safety Net Check??
[Magisk] Didgeridoohan:
I'm gonna guess that you found your way here via a seriously outdated guide on how to pass Safety Net with Magisk. The root toggle was removed from Magisk many months ago...

Since you are a new user, I'm gonna give you a tip pin where you can find the information you need. Start of by reading the Official announcement thread (https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445) and when you're done with that you can try out Magisk Hide (hide Magisk and root, but NOT Xposed). If you you cannot get it to work, try searching this thread since it's been discussed many, many, many times...
[Magisk] Alpine-:
Can you just disable systemless xposed, then reboot? After that, no Xposed is detected and magisk hide works and safety net passes. Isn't that the point of being able to toggle off systemless Xposed?
[Magisk] Didgeridoohan:
Yes, I should probably have written "Xposed cannot be installed and/or active (systemless)".
[Magisk] teddy0209:
Yes, and Yes... Stock 6.0 w/ xposed disabled.
[Magisk] laggardkernel:
v4a with oos? Try to replace /magisk/v4a/system/vendor/etc/audio_effects.conf with /magisk/v4a/system/etc/audio_effects.conf after you flashed the v4a module. And there is no need to set SELinux permissive, since v4a magisk module uses the sepolicy-inject trick.

This is a known problem about the confs on OOS.
[Magisk] ochen85:
If anyone could help me out it would be greatly appreciated. I am on a nexus 5x on pure nexus rom with magisk installed with phh Superuser. I also enabled magisk hide and checked Snapchst. Magisk makes Safetynet pass(checked on 4 different apps) however Snapchat still does not let me login. My account is definitely not blocked or anything as I have it working on my iPad (don't mind jailbroken IOS). Can someone tell me how to fix or why this is happening. Do snapchst use there own method of detecting root? Thanks
[Magisk] an0n981:
Login while no you have no root, then do a TiBu backup, restore backup whenever you need to login again. Somebody may know another way, but this has always worked for me.
[Magisk] ochen85:
That was quick mate. Thanks. Hopefully there's a better solution as I constantly change between using on my iPad or phone but it's better than nothing. Will try now :)
[Magisk] mucha.k1994:
I had similar problem with my bank app (lloyds). I install it, it check my root because I forget lock it in Hide rules. So I tip the V, reboot, re-install app BUT? Still app know I'm rooted! After that I remind yourself I have similar problem (or feature?) that app like SIMCITY always when I download this from play store - I was always already logged into without any action. Anyway what device I use (but logged in same acc, ofc) - always logged.

SO>>> Just clear data and CLEAR APP DATA into google acc. Reboot, reinstall and - Voilà :)

---------- Post added at 10:50 AM ---------- Previous post was at 10:27 AM ----------

Well.. Can I do it via change files in module directly? And then flash it? But anyway, thanks a lot. I will PROBABLY try this option too. But now, I f*** this nougat. I downgrade to MM for viper (lol) so now I'm (a little...) happy.
[Magisk] ochen85:
So I have to login to snapchat first without root and then flash su with titanium Backup to backup the working app?

---------- Post added at 12:41 PM ---------- Previous post was at 12:40 PM ----------
[Magisk] an0n981:
No, you have to login while you have no root. Then root and create a backup of snapchat with TiBu. Restore this backup whenever you need to 'login' again.
[Magisk] ochen85:
OK got it thanks. Will try with multirom soon.
[Magisk] aryan531:
Any suggestions
[Magisk] jsaxon2:
You are using SuperSU. Suggestion to read
[Magisk] aryan531:
I am on RR rom based on cynogenmod 14... While following instructions I got brick got recovery again and again... Can u plzz suggest proper way to install it
[Magisk] Didgeridoohan:
- Remove pre-installed root (check your ROM-thread on how to do that).

- Install Magisk v10.2 (phh's superuser will be installed automatically but don't forget to install the app)

-Enable Magisk Hide

-Reboot

If it doesn't work after that you need to look around this thread. Also, it's a good thing to read the entire Official announcement thread (which I'm assuming you haven't based on your questions). There are several things besides root that trigger Safety Net and it's been discussed over and over and over again. Search and read. No need to clutter up the thread until you've tried it all.
[Magisk] CrsMthw:
I know I know. Just that it isn't as polished as chainfire superSU.

---------- Post added at 02:52 PM ---------- Previous post was at 02:49 PM ----------

I did say I am using SuperSU. Magisk hide only works with phh.

---------- Post added at 02:52 PM ---------- Previous post was at 02:52 PM ----------

78 here :)
[Magisk] Equi1:
Switching selinux had no effect. With marshmallow it said that the driver status was abnormal with wrong selinux state, but I have no idea whats going on with it this time. The driver says that it is working normally although no processing is done.

Do you have V4A working on 7.0? Are there perhaps some system files that I have to edit?

EDIT:

Okay I got it working! Here is the solution in case someone is struggling with it as well:
[Magisk] mobileman88:
Magisk 10.2 had already fixed the problem mentioned in September
[Magisk] sabangan:
Need help how to fix.. thanks
[Magisk] Didgeridoohan:
Start by reading the instructions (Official announcement thread). Hint: your root method.

After that you can continue by searching through this thread since this is discussed and asked in every second post.
[Magisk] aryan531:
Anyone know bypassing
[Magisk] sabangan:
Thanks..

I apologise.:angel:
[Magisk] Didgeridoohan:
Ok, you've got the correct root now. But, have you really read all the instructions and tried everything/searched through this thread?

If you have, you'll need to provide details. No-one here are mind readers. Details, details, details. Also, logs are immensely useful.
[Magisk] jsaxon2:
How did you remove SuperSU? Dd you try running the UPDATE-unsu.zip. You can google it to find it. Being that you started with the wrong root for Magisk Hide, I can only guess that you have something left over that SafetyNet is detecting. Please search this thread as this has all been gone over before.
[Magisk] aryan531:
Thanks

---------- Post added at 05:31 PM ---------- Previous post was at 05:30 PM ----------

Thnks bro for you quick response... :good:
[Magisk] Sylphia:
tried to install on Huawei mate9, managed to get find_boot_image work but the phone reboots while mounting loop device for magisk.img

mount loop device under adb shell shows:

HWMHA:/cache/tmp # /data/busybox/mount -t ext4 /dev/block/loop0 /magisk
mount: mounting /dev/block/loop0 on /magisk failed: Invalid argument

no difference between using busybox mount or toybox mount

any help?
[Magisk] Ssbroly:
Hello. The same happens to me with snapchat. Before yesterday I could connect and since yesterday, impossible to connect. I'm not touched in the system. And I'm not changing "update-script." I tried flashing the firewire stock and then reflecting my personal rom behind it and it's still impossible for me to connect while it's the same versions of Magisk and snapchat I do not want to use the method of restoring data with titanium backup because I would like to be able to connect to snapchat directly after the installation of the ROM .. And it is a ROM that I would like to share. I tried to install an old ROM that I have and Snapchat even worked with the root and magisk.But the snapchat still do not connect to me.I deduced that it is snapchat that did an update to locate the Root, yet magisk is installed out of the system so how do snapchat see that we are root ??? Even by disabling pph's superuser magisk and xposed, the connection does not pass .. what can be the solution to get past this problem? Sorry for my english. I use a translator because im'french ..
[Magisk] mGforCe:
Magisk Hide - Feedback

I have MIUI 8 7.1.5 installed. I am using phh's SuperUser topjohnwu r2 along with latest Magisk v10.2 and Xposed.

While all is working fine but when tried using Magisk Hide for two different bank apps, but both the apps still detects that phone is rooted. I tried running these apps after enabling Magisk Hide for that app and rebooting once. Any idea what can be wrong?

If one checks the Magisk Log, it does says that *Starting Magisk Hide - Screenshot attached

I tried this too, remove cache & data for the two bank apps but still not working

So if we have Xposed Systemless (Magisk compatible) installed Magisk Hide won't work??
[Magisk] eep2378:
I just clean flashed pure Nexus on the 6p, with latest magisk zip but I'm not getting proper root?
[Magisk] cicciocant:
How Can I solve?

Inviato dal mio Redmi 3S utilizzando Tapatalk
[Magisk] 5m4r7ph0n36uru:
Unlocked bootloader and custom kernel can cause SafetyNet to fail. Without precise information about what has been modified on your phone it is impossible to tell.

Maybe, only maybe, it helps to read and to provide a full status of your phone...

State the full status of your phone always to enable other to help you, or do a little bit of reading.
[Magisk] mucha.k1994:
[MENTION=719438]mGforCe[/MENTION] Xposed. Delete it when you want pass SN. it's reply here a XXX times. Xposed, system less or not = fail SN.
[Magisk] aryan531:
i m on RR rom based on cynogenmod 14 nougat ....any chances of xposed working on magisk
[Magisk] mGforCe:
If you read my post, am not asking about SN not working. Rather I refer to Magisk Hide not working for Bank apps. One is local one and am sure it won't ave very strict checks.

The bank apps are still detecting phone as rooted even with Magisk Hide enabled. Pls help and guide here.
[Magisk] Didgeridoohan:
Do you have phh's superuser app installed?

---------- Post added at 19:38 ---------- Previous post was at 19:36 ----------

Your bank apps may very well detect Xposed as well. Have you tried without it?
[Magisk] mucha.k1994:
If you read topic, or just 1/4, you must know banking apps working probably same as other apps with root check. They can check SN too, so I told you about SN. BTW - I don't mean clear cache in settings. I mean go to google in setting, and when u're there press 3x "." in right up corner and then press clear data. It might work, for me work already. And PS - after you tick a "V" in magisk hide, try reboot device. Maybe it is solution for you, because sometimes magisk manager don't unmount files for apps after tick the V. After reboot it's OK.
[Magisk] mGforCe:
No, not checked that way. Let me try without xposed and report that method too. Didn't try as these apps say rooted phone.

By the way in past these two bank apps were working well with suhide. Today changed to phh superuser and Magisk and so was expecting that with this too the apps should work well.

I did read and hence had quoted your posts. As mentioned just in above post, these apps were working well with suhide for these bank apps. SN has not been used in India so far. I had rebooted twice but will now try once after removal of xposed also.
[Magisk] Filip013:
Any hope of [MENTION=4470081]topjohnwu[/MENTION] developing a version of Magisk that hides Xposed? I'm currently using MIUI on my Xiaomi Redmi Note 3 Pro. I use SuperSU + suhide + Magisk + Xposed for Magisk (developed by SolarWarez because topjohnwu's doesn't work on MIUI). With this config I can pass SafetyNet, but the latest Beta version of MIUI has some problems with SuperSU (topjohnwu's phh SuperUser works just fine). So if suhide can hide Xposed for Magisk why couldn't Magisk Hide do the same?

Also to make things more complicated, MIUI uses the November security patch but has no problem with suhide. The problem is that the newest version doesn't work with SuperSU, even without suhide.
[Magisk] alexpower:
Because its a cat mouse game

Gesendet von meinem HTC 10 mit Tapatalk
[Magisk] eep2378:
Just installed from play store. Still nothing.

Edit: thanks, working now.
[Magisk] Didgeridoohan:
Ok.... So you have phh's superuser app installed and have granted root access to Magisk Manager, right? And you don't have any leftovers from previous/pre-installed root? How about providing a recovery log from the flash (you'll probably have to re-flash) and a magisk log (you can find it in the /cache folder through TWRP).

Edit: Nevermind...
[Magisk] :
Blu R1 HD, Android 6.0, Magisk v10.2 (this bug has been present since v9)

I am unable to get phh's SuperUser to actually root at all. I can't check logs, since I'm not rooted.

----

I installed SuperSU 2.79 systemless ( echo "SYSTEMLESS=true" > /data/.supersu ). When I enable "Enable Magisk Hide" in Magisk Manager, it tells me to reboot. After reboot, it's unchecked.

----

Many Magisk modules do not work for me. "Emoji One" works, ViPER4Android works. However, Xposed 87.0 does not work. "Xposed Installer Material" claims that "Xposed Framework version 87.0 (Systemless by topjohnwu) is installed, but not active...". The Xposed logs are empty.

Magisk logs: https://gist.githubusercontent.com/jimbo1qaz/bb0504ee1ea8a602d609426e8786cdfe/raw/
[Magisk] Didgeridoohan:
When installing Magisk with phh's superuser, try catching a recovery log from the installation. You should also be able to get the Magisk log from /cache in recovery (needs one boot to generate). Those two logs should be able to shed some light on the issue.

Magisk Hide does not work with SuperSU.
[Magisk] Captain_Throwback:
If he knew how, it would already be done. Right now, there are no plans to even look into that, especially since there isn't even Xposed yet for Nougat.

Because Magisk Hide and suhide aren't the same thing. Again, if it was that simple, it would already be done. Suhide is closed source, so it's not as if [MENTION=4470081]topjohnwu[/MENTION] and just kang [MENTION=631273]Chainfire[/MENTION]'s code or something...:rolleyes:.
[Magisk] bobbarker2:
Delete
[Magisk] Elmarigo:
Hello!

I have Magisk running for several months now, but I find the recent version too confusing:

1. It's giving me a big red warning about SafetyNet failing. Well it has probably always failed on my phone and it was okay, because I don't and won't ever need SafetyNet. But this very intrusive warning is just too annoying for probably being of no importance at all.

-Could you move this to a less inteusive place?

-Or is there a way for maiking it work, so that the warning vanishes?

-Why doesn't it work?

-Which of those following options and settings would I need to enable and use for making SafetyNet work?:

Activate Magisk Hide?

Keep force-encrpytion?

Keep dm-verity?

2. I now have the option for installing Magisk by using the "Magiskify" button. Well, I have magisk up and running.

-Do I need this button?

-Will I ever need this, unless I uninstall Magisk?

-Should I use it now?

-Would it make any difference?

-When should I use it?

-Could it do harm, especially considering the encryption and partition related settings?

You see, this update brings up a lot of agonizing questions, that probably could be avoided, if those functions would be hidden, unless one really needs them or manually activates this features by an option. I was much happier with Magisk before, when it just worked and didn't make me feel that my phone had big problems all the time.

Thank you
[Magisk] Artim_96:
Magiskify is just an onboard updater for Magisk to be able to decide if you want Magisk to remove dm-verity and force encryption or not. That's it. And as long as your OEM didn't made it impossible to detect where the boot image lies, I don't see any chance that it's more dangerous than flashing the zip through TWRP.

And you are the only one thinking about problems if he has easy options...
[Magisk] SphunaR:
Hello!

Any chance to fully working on Xiaomi Mi 5, with MIUI EU Dev? (Open bootloader and root)
[Magisk] mGforCe:
I removed xposed and tried these two apps - same message : phone rooted and can't be run :(

[MENTION=4313166]Filip013[/MENTION] was referring to MIUI8 7.1.5 which is Android M only.

It is surprising that setup which was all working broke just now - so most likely something to do with damn google security patches.

---------- Post added at 11:42 AM ---------- Previous post was at 11:39 AM ----------

We guys, owner of Redmi Note 3 with xiaomi.eu 7.1.5 rom also having same issues and raised in this thread. let's hope some solutions comes out.
[Magisk] txtsd:
Is resetprop capable of creating new props? Or does it only modify and delete existing ones?
[Magisk] oreo27:
Try to test it out by creating a new prop and having your module read it from common/system.prop and enabling the same in config.sh.

Test it out by running the

getprop [I]propname[/I]

in a terminal emulator.
[Magisk] Didgeridoohan:
Ok... I'm guessing Safety Net doesn't pass either.

As was suggested by someone (can't remember and too lazy to look up), have you completely removed any previous/built in root? If there are any remnants they will make anything Magisk Hide does null and void.
[Magisk] Elmarigo:
Thank you, that's at least partially relieving.

Now I still wonder if it would be possible to get rid of the SafetyNet warning.

I really can't stand watching big red warnings in any Software for too long.
[Magisk] Didgeridoohan:
Try enabling Magisk Hide and rebooting. That might solve it, if you're using phh's superuser (topjohnwu r1 or later), have completely removed any previous root, don't have Xposed installed (or active), SELinux enforcing and your device is otherwise compatible.
[Magisk] mGforCe:
SN was not passing... but that was not concern as don't use same. I was more keen to make Magisk Hide work to stop phone's rooted status being detected by apps.

Apart from using supersu unroot option has also ensured checking for su images in data & other folder before patching phh superuser. So am sure there was no previous root.

Anyways, thanks for support & guidance. I went back to earlier version (of my ROM ) which had everything work well
[Magisk] Didgeridoohan:
Since it seems to work on v9 (i assume that's the version you're taking about), maybe you could file a proper bug report on github? With Magisk log and a copy of your boot image.

Maybe even try building a version yourself with the latest commits to see if any of them fix the issue. Topjohnwu talks about the build script in one of the latest posts in the Official announcement thread.
[Magisk] mGforCe:
Sorry fo lack of clarity.

I meant moving to previous version of ROM (with not latest google patches). That ROM works with SuperSu 2.79 SR2, Magisk v10.2, Xposed for Magisk (MIUI build) v87 and suhide.

So rather using Magisk Hide (with phh Superuser) am now using suhide (with SuperSU) to block root access detection by bank and MDM apps.

Hope it clarifies.
[Magisk] dragonmo:
I got a red warning about Safety Net checking before and the warning is resolved by updating the bootloader and radio to latest version. I am using Nexus6p + Pure Nexus 0106 + Flash Kernel. Hope it will helps.
[Magisk] Didgeridoohan:
Ok, I understand. But, my suggestion still stands... To help the community it would be great if you could open an issue about it, with full logs and boot image.
[Magisk] snke:
Latest phh superuser work with January update?
[Magisk] Didgeridoohan:
No reason why it shouldn't. Give it a try...

(It works just fine.)
[Magisk] kryptikal:
Thank you!

[MENTION=4470081]topjohnwu[/MENTION]

Just wanted to say thank you for all you do in maintaining Magisk and for fixing SafteyNet. It's really amazing what you've accomplished :) I've been away for quite a while but recently installed your v10.2 and all I can say is WOW!! Awesome work sir!

Donation: 2612375725208757
[Magisk] gk1984:
Don't you mean breaking SafetyNet? It's designed to block apps based on certain criteria. SafetyNet isn't blocking anymore. :silly:
[Magisk] txtsd:
How can I add directories and files to /data? I don't suppose I can just make a data folder like the existing system folder.
[Magisk] oreo27:
I tried doing this but I wasn't successful. I think magisk only works in /system and /vendor
[Magisk] txtsd:
Were you trying to port v4a to magisk?
[Magisk] Captain_Throwback:
You should add stuff to /data however you did it prior to the existence of Magisk. Magisk is a systemless framework, not a data-less framework. Once you're rooted, you can access data however you want. So that shouldn't have anything to do with Magisk.
[Magisk] X46X:
Hi, I upgraded to magisk 10.2 but I getting SafetyNet Failed: CTS profile mismatch. What is wrong? How can I fix that? Thanks.
[Magisk] yung40oz84:
OK, so I am back on f2fs and running a custom ROM, Dirty Unicorns on my OP3. Now, we have already came to the conclusion that superSU and magisk and phh work on stock with f2fs, but for some reason Magisk and Magisk compatible superuser not working on custom ROMs. Oddly enough the Regular phh superuser r259 is working perfectly on f2fs. SO, when I get some time I am going to be willing to provide anything the developers need in order to get this issue ironed out. Would [MENTION=4470081]topjohnwu[/MENTION] and [MENTION=1162986]Captain_Throwback[/MENTION] please let me know exactly what u need in order to investigate. I did already provided a log and boot.img on post 6950 and 6951 which you can check. But, if you need more I can get more. I would just like this fixed if possible.