yashsingh1/xdaforums huggingface dataset:
[Magisk] andrew2432:
Ughhhh so only cap gets to play with magisk passing SN for now :'(
[Magisk] :
Hehe yes
[Magisk] andrew2432:
Are you messing with xposed?
[Magisk] :
No didn't bother. I'll wait for magisk :)
[Magisk] loserskater:
You could build it from source. I've got it running just fine. :cool:
[Magisk] andrew2432:
Well that's what makes open source so awesome!!

But ME? No, I could not lol
[Magisk] gohamstergo:
just tried, still says its not a magisk module
[Magisk] ddee105:
I just updated within the magisk app but after reboot my superuser app crashes when opening
[Magisk] waylo:
Did you get a corrupt download? Works fine here.
[Magisk] Papote3:
Are you running it directly in the magisk app?

Try flashing the zip directly in recovery

Or viceversa try running it in the app
[Magisk] TPMJB:
I have had nothing but trouble with Magisk.

I installed Magisk manager 2.1 and everything I try to install says "this is not a magisk module!" when I try to install it. I even get these things from the download section and it still fails. All I need to do is hide root long enough to login to snapchat.

On Android 7.1. Not running xposed.
[Magisk] Muhammad Rihawi:
Anyone tried to root S7 android 7.0 beta?
[Magisk] Flash-User:
seems to be andoid 7 encrypt the data partition on start up, i've formated data partition and restored my old mm backup data partition after 1st boot everything is working fine, all apps are workin etc but when i boot in twrp i cant mount data partition anymore.
[Magisk] waylo:
Thank you. This was randomly happening to me last week where the root files would just disappear, sometimes needing multiple reboots.
[Magisk] hasek82:
Works on S7 Edge nougat beta 7.0?

Skickat från min SM-G935F via Tapatalk
[Magisk] xringo:
File Type: zip	phh-superuser-magisk-r259.zip

File Type: zip	phh-superuser-magisk-r266.zip

File Type: zip	phh-superuser-magisk-r266-2.zip

Which one of these do i download for the nexus 6p using magisk v8?
[Magisk] joshuaw84:
Any should be fine, though I was losing root with r266-2 on my m8 so reverted to r266
[Magisk] Ezraneut:
I'm trying to install the phhs superuser r266-2 zip with CWM v6.0.4.7, but I'm getting the following:

I'm using a Samsung galaxy S4 GT-I9505, Cyanogenmid 13.0, Android 6.0.1.

Does anyone have am idea how to fix this?
[Magisk] darksideofdamoon:
I'm also running 7.1 on an LG G4. I'm OEM unlocked, rooted... all that good stuff. I was able to log into Snapchat bc I hadn't enabled root access in Developer options. Hope this helps
[Magisk] TPMJB:
I just migrated to a CM-based rom. No need to bother with hiding root. Also, I'm using the CM-native superuser.
[Magisk] darksideofdamoon:
I'm running CM 14.1, forgot to mention it
[Magisk] TPMJB:
Yeah, I'm running AICP right now.
[Magisk] grimloktt:
Me too. I'm using Nexus 6P. :rolleyes:
[Magisk] asiansaga:
Is magisk hide in v9 also hiding root? If not, how can I hide this root from apps?
[Magisk] :
MagiskHide has to be enabled in magisk manager settings. It then reveals a magiskhide section which shows a list of apps to hide root from. Be sure to reboot after applying these changes.

Some people have success, some don't. I didn't.
[Magisk] :
Then what hides root?

Genuinely curious because if Magisk (magiskhide) and phh superuser are claimed to pass SN, that would suggest that since magiskhide hides itself and its modules (phh superuser being one) then magiskhide is hiding phh superuser (root).

As for supersu, it is not a module and therefore requires rootswitch to disable it.

Thats my understanding.

Also was just pointing out how to enable magiskhide.
[Magisk] garthybarthy:
Just what I read somewhere, if it's wrong then sorry.
[Magisk] :
Its all good man :)

I could be wrong in how i described it but it is how i understood it.
[Magisk] Captain_Throwback:
Yes, if you're using this Magisk module, Magisk Hide also hides root from SafetyNet (by default) and whatever apps you select in Magisk Manager.
[Magisk] Shemploo:
Please remove post, bug seems related to Magisk.
[Magisk] Setialpha:
[MENTION=3704663]Shemploo[/MENTION] There's AdAway 3.2 beta 2 in AdAway thread, which does properly work with systemless, magisk etc. on my Moto X Play.
[Magisk] Shemploo:
You mean this right? - https://www.androidfilehost.com/?fid=385035244224397908

I'm already running this version.
[Magisk] Voldemort13:
PHH "crashing"

I have a problem. everything worked fine when i tried with my s3 i9305 cm14.1

phone s3 i9305

Magisk working flawlessly:

cm 14.1 without playstore

PHH crash:

cm13 with playstore

Phh app does some kind of crash when i try to allow root accsess the phh allow screen flashes up for a split second and then dissapears so i cant allow root. I put in the phh settings that allow root without asking. still the same problem. PHH log says that root accsess deinied.

any help?
[Magisk] knipp21:
Tried flashing 266-2 from here in recovery.. No root upon reboot

Tried with magisk.. Same thing

Any help?

Phh app installed
[Magisk] Captain_Throwback:
Try uninstalling Magisk (using the latest uninstaller), flash stock boot.img and re-installing both Magisk and root.
[Magisk] knipp21:
That fixed my issue.

Now to see if I can get my SN to pass lol
[Magisk] latouffe:
I don't know what I'm doing wrong...

Im trying to get Android pay to work on my i9505

I have a cm13.1 custom rom, nightly 11, aicp 6.0.1 with twrp recovery

First I flashed the Magisk Zip, supersu Magisk Zip,.

Then Installed The Magisk Material Manager, phh supers, and automagisk. All root accesses are granted.

However the Android pay app is still telling me I'm rooted.

Edit. I have an idea why the uprooting process isn't working. Maybe because my rom has a built-in root?
[Magisk] Didgeridoohan:
Are you using Magisk v9, Magisk phh superuser 266-2 and have you activated Magisk Hide? If you don't, you won't pass Safety Net with Magisk installed (sounds like you're using an old version of Magisk).
[Magisk] latouffe:
Using the latest v9, 226-2 and hide checked in.

Maybe it is due to the fact that the aicp rom has his own built in root?
[Magisk] Didgeridoohan:
In that case you don't need Automagisk. It hasn't had any use since v7. And yes, the problem is your roms built in root... It needs to be disabled/removed.
[Magisk] DoctorStrange96:
I'm using Magisk v9 + latest phh's superuser + Xposed (disabled via Xposed installer), with Magisk Hide enabled. However, the SafetyNet test still fails (CTS profile match: false).

Moto G running a CM13 nightly (last one before the CM14.1 nightlies started). I also deleted /system/xbin/su (CM inbuilt root), but to no avail.

Edit: At least I can still use Snapchat. It runs a SafetyNet check before letting you log in but I guess only Xposed causes the check to fail.
[Magisk] ddarvish:
so am i understanding properly that with the new magisk and updated supersu-266 that android pay will work and the bootloader doesnt need to be locked?
[Magisk] Kris6699:
With magiskhide enabled my root apps refuse to work.
[Magisk] Captain_Throwback:
Did you grant them root access before enabling Magisk Hide?
[Magisk] Captain_Throwback:
Correct (provided Magisk, root & unlocked bootloader are the only reasons SafetyNet would fail on your device).
[Magisk] Kris6699:
Yep. That fixed the problem yesterday... Now it doesn't......
[Magisk] Captain_Throwback:
There's a known issue that apps will randomly lose root after some time with Magisk Hide enabled. Rebooting typically fixes it. Did you try that?
[Magisk] Kris6699:
Yes. I mean it's worse than that. They don't get root access at boot at all. Wierd thing is it works for magisk manager. I'm also getting a su binary needs updating. When in fact it doesnt
[Magisk] Captain_Throwback:
Best thing to do when that happens is to start over, as I described here.
[Magisk] Kris6699:
Okay. Thanks. I'll do that when I get home from school.
[Magisk] Mar-cel:
Many apps don't work with this superuser
[Magisk] Didgeridoohan:
Ok. What apps? I haven't had any problems with any of my apps that require root...
[Magisk] Mar-cel:
Here are a few examples

Adway :

Android Terminal Emulator :

Termux :
[Magisk] Kris6699:
With magiskhide enabled??
[Magisk] Mar-cel:
No, it is not selected

Edit.: Nothing changed if I enable Magisk hide.
[Magisk] Didgeridoohan:
Both AdAway and Terminal Emulator works flawlessly for me. Might be something wrong with your setup.
[Magisk] jsaxon2:
I don't have any issues with those either...
[Magisk] Mar-cel:
Hmm.. ?

I am 100% sure, That I have installed everything correctly.
[Magisk] Didgeridoohan:
Have you tried starting from scratch? Flashing the Magisk uninstaller and then reinstall. Also, could you provide the Magisk log?
[Magisk] Mar-cel:
yes, but that strange is superuser works for some apps. And for others not...

Log :

** Magisk post-fs mode running...

** Magisk post-fs-data mode running...

Preparing modules

Bind mount dummy system

Bind mount module items

post-fs-data: /magisk/xposed/post-fs-data.sh

Xposed: Mount: /magisk/xposed/system/lib64/libsigchain.so

Xposed: Mount: /magisk/xposed/system/lib64/libart.so

Xposed: Mount: /magisk/xposed/system/lib64/libart-disassembler.so

Xposed: Mount: /magisk/xposed/system/lib/libsigchain.so

Xposed: Mount: /magisk/xposed/system/lib/libart.so

Xposed: Mount: /magisk/xposed/system/lib/libart-compiler.so

Xposed: Mount: /magisk/xposed/system/bin/patchoat

Xposed: Mount: /magisk/xposed/system/bin/oatdump

Xposed: Mount: /magisk/xposed/system/bin/dex2oat

Xposed: Mount: /magisk/xposed/system/bin/app_process64

Xposed: Mount: /magisk/xposed/system/bin/app_process32

Enabling systemless hosts file support

Mount: /magisk/.core/hosts

Bind mount system mirror

Mount: /system

Bind mount mirror items

** Magisk late_start service mode running...

service: /magisk/phh/service.sh

phh: Live patching sepolicy

phh: Mounting supath

phh: Starting su daemon

** Removing tampered read-only system props

resetprop by nkk71 & topjohnwu

Initializing...

Modify data structure: 'ro.boot.veritymode'='enforcing'

Existing property: 'ro.boot.veritymode'='logging'

Recheck property: 'ro.boot.veritymode'='enforcing'

Done!

** Starting Magisk Hide

MagiskHide: Update process/package list:

MagiskHide: [com.google.android.gms.unstable]

MagiskHide: Disabling for process=com.google.android.gms.unstable, PID=7443, UID=10029

MagiskHide: Unmounted (/sbin)

MagiskHide: Unmounted (/magisk)

MagiskHide: Unmounted (/system/etc/hosts)

MagiskHide: Unmounted (/system/bin/app_process32)

MagiskHide: Unmounted (/system/bin/app_process64)

MagiskHide: Unmounted (/system/bin/dex2oat)

MagiskHide: Unmounted (/system/bin/oatdump)

MagiskHide: Unmounted (/system/bin/patchoat)

MagiskHide: Unmounted (/system/lib/libart-compiler.so)

MagiskHide: Unmounted (/system/lib/libart.so)

MagiskHide: Unmounted (/system/lib/libsigchain.so)

MagiskHide: Unmounted (/system/lib64/libart-disassembler.so)

MagiskHide: Unmounted (/system/lib64/libart.so)

MagiskHide: Unmounted (/system/lib64/libsigchain.so)
[Magisk] Didgeridoohan:
Have you tried rebooting or disabling Magisk Hide? There's a bug...
[Magisk] doki81:
just flashed my N6P to latest build today (but dirty flash) with Magisk V8 and phh superuser 2.66-2 and proceed to flash magisk v9 in TWRP...

i did flash the uninstaller before proceed to flash V9 and my phone is forever in start up phase....has been waiting for like 15mins and no help....something not right :(

edit- seem like i am in the wrong thread.
[Magisk] yochananmarqos:
Flash the updated Magisk uninstaller (just to be sure), stock boot.img, Magisk then the phh superuser Magisk module. Yes, you're in the wrong thread.
[Magisk] Mar-cel:
I have now reinstalled my Rom, flashed Magisk-V9, flashed phh's superuser zip. And now works superuser for all my apps. Thanks :)
[Magisk] IAmTheRad:
Is there a way to hide this superuser from a specific app?

An app I use detects this superuser and fails to load. Specifically LoveLive School Idol Festival. Magiskhide doesn't hide root from it.
[Magisk] Captain_Throwback:
Magisk Hide is the only way to do that, and if it's not working, then there's no other way.
[Magisk] Muhammad Rihawi:
Does Magisk hide allow me to activate snapchat?

update: I Activated it through magisk hide. :)
[Magisk] IAmTheRad:
I just had to find an apk with the root check disabled. It's a free app but since installing SuperSU on my phone causes a bootloop, and Magisk does not (so this module works) I guess I get the best of both worlds.

Weird thing is SafetyNet failed with the CTS Check before Magisk and this superuser with stock firmware, but after it's all green for some reason. Might be because my bootloader is unlocked.
[Magisk] razr96:
The app Recently by Chainfire doesn't work with PHH's SuperUser. It says cannot find su after giving it root permission. Anyone else have this problem? This is on Official RR 5.7.4 on a Redmi Note 3 Pro.
[Magisk] :
Recently requires SuperSU if SELinux is in Enforcing mode. Another root solution will work if SELinux is in Permissive mode.

(as per Chainfire)
[Magisk] razr96:
Hmm I try switching it to permissive it goes straight back to enfrorcing.
[Magisk] Georgi_Ko:
Can anyone confirm that this method works for Android Pay for any of the Android 7.x ROMs [OPO]?
[Magisk] haani86:
Hi,

I have Huawei P9, installed TWRP, Magisk v9, Phhs SuperSU, Magisk Manager app, Phhs SuperSu app, Xposed systemless v86.6, I have hide enabled in Magisk Manager but SafetyNet still fails at Response validation 'response payload failed' and android pay says not running a compatible android version. am I missing anything?

What do I need to hide 'android pay' or 'android system' because I tried both but still it fails.
[Magisk] Didgeridoohan:
Magisk can't hide Xposed.
[Magisk] haani86:
So I need to uninstall xposed? because I tried it without it been uninstalled and it still didnt work.
[Magisk] harpin14789:
On nougat,

Apps like AdAway, teminux, aren't able to get root through phh root. T fix this try installing the beta supersu app. It will work. It has worked for me.

Use the superuser beta app instead of the app from the play store. This beta is also by phh, its in his superuser thread. [MENTION=5314891]ELoTRIX[/MENTION] [MENTION=7626964]razr96[/MENTION]
[Magisk] Didgeridoohan:
There might be any number of things working against you... Unlocked bootloader (Magisk Hide covers this) and permissive SELinux trips SN and Google are always working on new ways to make SN more secure.

---------- Post added at 12:22 ---------- Previous post was at 12:19 ----------

No problems with AdAway on Nougat with Magisk phh's superuser 266-2 here...
[Magisk] haani86:
So I take it, android pay is now a gonner for now. Oh well going back to stock rom. I only rooted using magisk because I thought I could use android pay.
[Magisk] Didgeridoohan:
Not necessarily, I believe there are users that have AP working with Magisk. Myself, I don't use any apps that utilise Safety Net, so I can't really help any more than this...
[Magisk] haani86:
Yeah went through the forum and read some user do have it working, might be a new thing then google upping their security! Thanks for your reply on his this.

Update : uninstalled Magisk and Phhs SuperSu I can use android pay now. Looks like android did up their security.
[Magisk] andrew2432:
Root switch app to hide xposed, may not hide systemless
[Magisk] haani86:
Thanks wont work if it doesnt hide systemless android pay will still not work.
[Magisk] andrew2432:
Update us if you try it? I read but don't remember, we're you able to pass with only magisk/phh new versions and clean of xposed? Root switch WILL hide system xposed from SN. But magisk needs to succussfukly hide root for you or there's no need to even try xposed.
[Magisk] haani86:
The thing is I know magisk is hiding root (when I turn on hide and select my banking app) my banking app works, just that safetynet doesnt pass all the checks!
[Magisk] andrew2432:
Do all apps work? Just cts fail in SN?
[Magisk] yochananmarqos:
Beta 9 is the newest, you attached Beta 6.

http://xdaforums.com/android/software-hacking/wip-selinux-capable-superuser-t3216394/post69224582
[Magisk] harpin14789:
Yup, just saw that.
[Magisk] sansnil:
It isn't that hard to understand. Topjohnwu wrote about changing the design to try to make it work for other devices but the change could cause issues so why on earth would I want that since there's no benefit to me? Make it a configurable option and everyone is accommodated. Get it?
[Magisk] indocomsoft:
Working Perfectly

At first when I used Magisk v1 + phh superuser + xposed, I can use android pay and I had one transaction at McDonald's coming through. However, the next day I couldn't use it (passed SafetyNet CTS and able to add card but whenever used for transaction AP will say unable to blah blah blah and the terminal said aborted). However, after updating to Magisk v2 + phh superuser + systemless xposed v86.3 (and tinkering with the Magisk Manager not installed -- signature issue or something) I was able to get it running today. Just had a Starbucks transaction going through about 8 hours ago. I'm in Singapore if that helps. So Magisk v2 + phh superuser + systemless xposed v86.3 works just fine with AP. I'm on stock August update Nexus 5X with ElementalX v1.19 Kernel
[Magisk] ShapeShifter499:
It seems the symlink to "SU" needs to be moved or renamed during the temporary unroot. If that was already the idea, then it's not working here. The SU symlink stays in place tripping Android Pay. Tested on CyanogenMod 13.0 Moto X Pure.
[Magisk] elreydenj:
+1 to this.
[Magisk] SirVilhelm:
Can you explain how to remove it? I would like to test
[Magisk] topjohnwu:
It is how it work in v1 .............

That's an issue with Cyanogenmod, but I got a fix for it.

Please wait for v3 to come.
[Magisk] ShapeShifter499:
Well what I did was rename the symlink but I don't think that's correct as whatever had root already still continues on unless they quit/exit/kill. But it did work with version 2, however I did not test version 1 on my device with this particular CyanogenMod rom. I also did not test a actual payment though. If you want to try something anyways I just did the following below in "Android Terminal" but works with any shell/terminal app or via adb.

As root:

# mount -o remount,rw /system
# mv /system/xbin/su /system/xbin/s1
# mount -o remount,ro /system

Try to use Android Pay.

When done gain root with the new binary name, whatever name that is and rename su back to allow other apps to gain root again.

# mount -o remount,rw /system
# mv /system/xbin/s1 /system/xbin/su
# mount -o remount,ro /system

AS MENTIONED RIGHT BEFORE THIS POST BY [MENTION=4470081]topjohnwu[/MENTION] , It's how version 1 worked.
[Magisk] Recon0212:
Not working for me :/

Went back to stock, Flashed V2 and the SU app. Said I was mounted and rooted but no apps would prompt for SuperSU. Followed some tips in here and still nothing. Guess I'll wait for updates?
[Magisk] allen099:
*redacted*
[Magisk] topjohnwu:
I forgot to mention in the OP

You have to download the phh superuser app in the Play Store
[Magisk] pchel48:
This is hell of a useful info btw! I was wondering why I have no root until I installed the phh app. Please add it to OP, thanks.
[Magisk] sorewinner:
There seems to be a permissions issue with this on CYM13.0(6.0.1) You can see the adb log @ http://xdaforums.com/showpost.php?p=68137524&postcount=513 . I'm not sure if the problem is with your build of PHH's root, or PHH's root, or his superuser app.
[Magisk] Max88888:
On my Nexus 6P it doesn't work - I cannot disable root - UI doesn't react, safety net test fails.

Stock ROM + TWRP + Magisk v2 + phh's SuperUser v2.
[Magisk] sherlock5545:
How do I go to remove the root binaries? Or is simply following the steps for removing Magisk Systemless Interface enough to remove the changes and go back to stock?
[Magisk] chrisc93:
For those who are on a custom rom (like PureNexus) I have figured out how to get the toggle/timeout to stick!

I was debugging with [MENTION=4470081]topjohnwu[/MENTION] and we found out that /system/xbin is busy and that's why it stays mounted. Fortunately umount has a switch that will lazily unmount a partition - basically wait till the process that is using the partition is done then unmount the partition.

Open /sbin/magic_mask.sh, then find line 397

Change that line from

umount /system/xbin

to

umount -l /system/xbin

and you should be good to go!
[Magisk] joeyddr:
gonna give it a whirl, thank you.
[Magisk] Droidphilev:
Tried on a fresh install of a stock rom on a Nexus 6 (i had this problem before) but it didn't help it seems.

EDIT EDIT EDIT: root IS hiiden though!! Only the manager seems to give wrong (root mounted) info!
[Magisk] joeyddr:
worked great thank you.
[Magisk] chrisc93:
No problem! This change will be included in v3, so you won't have to worry about it in the future :)
[Magisk] joeyddr:
it worked once but now its not again.... something is holding on to the process.
[Magisk] haani86:
I am sure all other apps are working as I only tested two and they were working fine, SN failing on response validation.
[Magisk] harpin14789:
I have the same issue.
[Magisk] Kris6699:
I'm still passing safety net. If that helps at all.....
[Magisk] harpin14789:
Well, I know that magisk still passes safety net, it's just that I don't get why my phone isn't passing SN. lol
[Magisk] haani86:
May be someone can help us on this.
[Magisk] VictorLapin:
Works fine with enforcing and phh r259 here
[Magisk] haani86:
Got it to pass SN! Rooted again with Magisk v9 then isntalled Phh SuperSU 259 updated to 266-2 then found out that you needed to tick system in hide then boot, after that SN passed! haven't install xposed yet though dont think I will, but now my banking apps dont work they did before!
[Magisk] salman_dude:
can it be possible to set selinux permissive with phh superuser on A800f mm 6.0.1 stock rom with systemless root?

i want to use xtreme music systemless but can't cuz of enforcing
[Magisk] ScottIsMyName:
I haven't used phh's SuperUser in a few months. I switched back to SuperSU because I would randomly lose root and have to reboot to fix it. Does this problem still exist or has it been addressed?
[Magisk] Didgeridoohan:
It can happen if you have Magisk Hide enabled. Disabled there are no issues. topjohnwu has his eyes on it, so hopefully there'll be a fix in the near future.
[Magisk] ScottIsMyName:
Thanks for the reply. Do you know if root starts working again if you disable Magisk Hide, or is a reboot still required?
[Magisk] Didgeridoohan:
Reboot required.
[Magisk] andrew2432:
Only losing root when hide enabled I hear too. When it's disabled, good to go
[Magisk] HaoZeke:
Hey, how could I embed this into a custom rom like SuperSU often is?
[Magisk] koko115:
Hi. I have S7 edge with new firmware with november security deodex... on this i was have supersu 2.78 sr4 with xposed86.6 and magisk v9... Because on this configuration safety net no pass, i decide to install phhs superuser... So i totally remove SuperSu in app, then unninstall xposed, and magisk... after this i flash stock kernel and magisk v9 and phhs auperuser. For now safety net still no pass, and magisk log tell me error ocuret. How fix it ? Because android pay no working.
[Magisk] haani86:
error occurs on hide thats why its not working.
[Magisk] koko115:
Do You know how fix this ?
[Magisk] SamuelBegui:
It would appear that Magisk hide is no longer working and Safetynet was updated. I get a blue screen when running the test. Very unfortunate.
[Magisk] JaymzTA:
It only hides an unlocked bootloader on a Nexus 5 if you're running a stock rom.
[Magisk] yochananmarqos:
I just noticed SafetyNet wasn't passing, so I rebooted and now it is.
[Magisk] HeliosV:
help

I tried installing magisk but it doesn't work. I get Failed: unable to extract zip

Error executing updater binary in zip.

Same thing with the uninstaller

my rom came with magisk manager but i cant flash the zip. I have no root now..