yashsingh1/xdaforums huggingface dataset:
[Magisk] ZedAz:
ok so substratum doesn't work unless the SELinux mode is set to permissive. Which I can't on the latest Magisk Manager. Any fixes planned for this?
[Magisk] Captain_Throwback:
There are plenty of apps on the Play Store that can toggle SELinux mode. It can also be set manually or with startup scripts. Magisk Manager is completely unnecessary for that, so there's nothing to "fix."
[Magisk] ZedAz:
Can you please guide me to any such app? Because I thought if an app changed SELinux status it got taken off the play store. O found one at XDA but that doesn't work...
[Magisk] Captain_Throwback:
You're right; they're not available on the Play Store anymore - but there are other app stores. Google and you will find.
[Magisk] TarekElsakka:
I have Efficient ROM installed and I just flashed the latest Magisk v7 and the proper supersu but I have no root. What can I do at this point? I start Googling about the issue and I saw posts regarding setting SELinux to Permissive but I don't know how to do that.

EDIT: I just realized that SELinux is set to permissive but I still have no root.
[Magisk] Orvils:
Not sure if I am missing something or not. First time installing Magisk.

I have rooted Nexus 6P running Bezon ROM with phh superuser.

I downloaded and installed Magisk Manager v2. It prompted to install Magisk-V7. Did that.

After reboot I opened Magisk Manager and I see this:

https://drive.google.com/file/d/0Bz-GMm4KgQJlSWY3NUVnR2lJbkU/view?usp=sharing

Looked through all the settings but can't find any toggle to disable/enable root.
[Magisk] Captain_Throwback:
That's because there isn't one. Read the Magisk release thread.
[Magisk] LewisGauss:
Hi, does anybody have any StickMount alternative?

I just started using Magisk, Phh's Superuser, and I discovered that StickMount doesn't work with this configuration.

Any suggestion?
[Magisk] locolyric:
hi ,

Where's the UnSU for this ? i tried magisk v7 but it cause boot loop on my phone. So i use magisk uninstaller and one unSU from don't know where i get it(it works before but now i use it and my phh superuser still remain)
[Magisk] Bsanborn:
Anyone try with F2FS on Data and Cache? I'm able to flash but can't get SU access. Works fine on Ext4 so I'm guessing it's the F2FS causing issues? Is there any fix for that?
[Magisk] bezeek:
r259 should disappear when you run the latest Magisk uninstaller, because it is a Magisk module and lives inside magisk.img.

r266 (as linked to at the start of the Magisk v7 thread) is not a Magisk module and puts files directly on your boot partition, so that partition needs to be flashed with a backup or clean copy.
[Magisk] ZedAz:
Am I the only one who misses the root and SELinux switch tools :(

SafetyNet updated today and can't bypass it for the time being, even with phh's hidesu
[Magisk] elreydenj:
+1 , I love that he is working on a new method with PHH but i feel like there will always be a place for the old toggle version. I would be using it right now!
[Magisk] ZedAz:
Yeah maybe we could get that back until there's a definite new method.
[Magisk] Captain_Throwback:
[MENTION=4470081]topjohnwu[/MENTION] already said it's not going to happen.

Besides the fact that SafetyNet will likely still fail because Magisk is installed.
[Magisk] H4X0R46:
This zip keeps giving me error 1 no matter what I try. Am I doing something wrong? I flashed a clean stock boot.img, installed a custom kernel, installed magisk v7, and then try to flash this zip and just get error 1. Thanks.
[Magisk] waylo:
It fails with the old version (v6) toggle also now. Looks like Google's caught up =/.
[Magisk] nyknight77:
What's the point of magisk without a toggle?

Can't we just unroot and reboot to be unrooted.... and then flash superuser and reboot when we want root again?
[Magisk] SamuelBegui:
But are you willing to do that while at a store shopping?

It's just too much of an inconvenience really, I use Android Pay, some may use Pokemon Go which could work if they're willing to do that each time they want to play.
[Magisk] TotalerBob:
How do I unroot this again? Is it enough to uninstall the phhs SuperSU app and flash the uninstaller or will I need to Uninstall phhs SuperSU -> Flash Magisk uninstaller -> Install SuperSU -> Remove Root

Thanks in advance!
[Magisk] Captain_Throwback:
FYI: http://xdaforums.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382/post69006411
[Magisk] habylab:
Thanks for this. I would out in brackets next to SuperSU that ph superuser can be used. Some may read it as no root at all, even though you do say that isn't the case earlier.
[Magisk] kgptzac:
I would imagine the toggle option is more convenient because in theory when it's toggled off, *all* root-detecting apps would work instead of needing to manually whitelist each app, especially when the target app isn't Pogo or Android Pay.

Also, I agree with the thought that temporarily making the system safetynet compatible vs attacking specific apps may give Google less motive to play the arm race with xda developers.
[Magisk] thomasyke:
I've checked that i don't have su remnants in /data or /system/xbin /system/bin. Something to note, i have android ver 7.0.0 though
[Magisk] eigen:
Anyone having issues with not getting a root privilege prompt with adaway. I've tried reinstalling yet still don't get prompt.
[Magisk] thechilipepper:
I'm having the same problem. I did update to the October security update and even reflashed magisk v6. But even after toggling root off, safetynet fails. Looks like google is adapting ?
[Magisk] JohnRogers23:
I have an Allwinner tablet with no recovery that I rooted and put Magisk on, added phh's Su module and removed Chainfire's. Every other app asks for and uses root fine except for AdAway. My phone with the same Magisk and phh runs AdAway fine.
[Magisk] Eddiemc:
So I've just installed Magisk 7 and this modded phh superuser 259 on stock nougat on nexus 6

Everything including adaway works fine except substratum (and selinux changer which I tried as a workaround for substratum)

Earlier phh superuser before v242 had this issue, but it was fixed. Somehow this issue is back now with Magisk and phh.

Any advice to get substratum working?

I'm posting here since I assume it's a Magisk phh superuser issue.

Edit: solution:

Delete vendor/overlay, apply again.

It looked like the same issue as with phh <241, but apparently it wasn't. My bad.
[Magisk] Devilix:
Somebody know how to remove this phh root???
[Magisk] teddy0209:
For magisk version, just remove from magisk manager... for the original version just restore the boot.img... then remove the apk...
[Magisk] Devilix:
Thanks for reply!

I'm talking about superuser-r266-hidesu.zip, i don't know if its the original... i don't understand your mean...
[Magisk] allen099:
I used this site here:

http://www.addictivetips.com/mobile/how-to-install-any-app-as-system-app-on-android/

Make sure you set permissions.

---------- Post added at 05:09 PM ---------- Previous post was at 05:09 PM ----------

[MENTION=4470081]topjohnwu[/MENTION], amazing work sir.

I have a N6p running stock. I installed Magisk v2, followed by the phh superuser v2. I had to pull the Magisk app out of the common folder and install as a system app, which now shows up and works.

My phone, however, is still not able to pay for items after disabling root. Is there anything that you'd like/recommend for me to try? Thanks again!!
[Magisk] datafoo:
I was able to extract Magisk Manager and install it as you suggested.

Question [MENTION=4470081]topjohnwu[/MENTION] I prefer Magisk Manager V1, any expected issues if I install that instead of the V2?
[Magisk] CSX321:
Mine, either. I have an N5. I have no trouble installing any of this, but AP doesn't work.

Here's what I did:

Uninstalled v1 Magisk Manager app and phh Superuser app

Flashed stock boot, recovery, and system

Booted to system

Made a successful payment (vending machine here at work--got a Dew!)

Booted to bootloader

Temp booted TWRP

Flashed v2 Magisk and v2 Magisk-compat phh Superuser

Booted to system

Installed phh Superuser app and made sure root was working normally

Disabled root in v2 Magisk Manager app

Tried a payment, but got the "unroot your device" message :(
[Magisk] elreydenj:
I can report the same. Came from a fresh install and followed the exact same instructions as above. DP5 on Nexus 6P.
[Magisk] adrman:
And another reporting the same. :( N6P, stock, rooted phh, Magisk v2, no other mods, stock recovery. Just tried to buy a bottle of bourbon and the transaction failed. I do still pass Safetynet though.
[Magisk] BeRniTo:
I had the same issue but it got fixed after I installed phh's Superuser app. After opening Titanium Backup I was asked to grant root permission.
[Magisk] agentdr8:
I think you misunderstood my post. It wasn't that I can't get root access for TiBu (or any other app for that matter), but that I couldn't unroot fully via the button. This is an issue with custom roms like PN and Chroma, and [MENTION=4470081]topjohnwu[/MENTION] has stated v3 should resolve this.
[Magisk] Cares:
I can't seem to install Magisk Manager since upgrading versions. I deleted the folder from /data/apps. When I try to install the apk it doesn't let me. I also tried flashing the phh magisk file and it doesn't work, it only recreates the folder in /data/apps but not show up in my app drawer. Help?

Edit: Nevermind figured out I had to install as system app.
[Magisk] n2phoenix:
[IMG="Screenshot of SafetyNet Helper App"]https://i.imgsafe.org/a9fb193c45.png[/IMG]

FYI, turns out there is no CTS profile match with Xposed and phh superuser. I believe there's an additional check at the point when Android Pay needs to actually make a payment, compared to when we should add a card.
[Magisk] gqukyo:
I think people are disabling root which passes safetynet but they are still unable to pay via AP so it's not whether or not it passes safetynet because it does.
[Magisk] n2phoenix:
If they have Xposed, can they try deactivating it first in the Xposed Installer, reboot and try making a payment again? I did that (except the payment because I have no cards) and SafetyNet is completely passing the tests. No confirmation on whether we can make payments, however.
[Magisk] gqukyo:
Well the whole point was to be able to use AP without the reboot so even if that works, it's not what people want
[Magisk] n2phoenix:
I don't have a card unfortunately, so I can't verify if it makes payments. However, I'm checking it using the SafetyNet Helper app, and I've got these findings in relation to Xposed:

With Magisk's systemless Xposed disabled (but not completely removed from the phone) I ran the SafetyNet test and it returned all successful (request, response validation, CTS profile match) with Android Pay able to add a card. With the same Xposed enabled, however, it fails the CTS profile match, but AP is still able to add a card. I think the CTS test is what determines whether a payment can be made?

---------- Post added at 04:17 AM ---------- Previous post was at 04:14 AM ----------

The step forward here is that we can toggle root without rebooting. That's a positive for those who don't have Xposed, but have Magisk's systemless root and phh's superuser.
[Magisk] gqukyo:
What positive? People want to use AP and even though it passes safetynet, AP doesn't work and the reports mentions xposed wasn't even installed so it's not xposed. Unless you've actually added a card successfully don't say it works. Just because you got to a certain point in the AP app doesn't mean you can add a card successfully.
[Magisk] topjohnwu:
OK, then maybe I'll use the super aggressive kill in the next update.

This will kill all current root apps process and background root shells.

Be aware! This may cause issues to background running root apps. I'll include them in the next update.
[Magisk] sorewinner:
Thank you for this, even though PHH's root management apk is, to put it politely, not very well-received, if the app's reviews are anything to go by, and personal use. It only works from first install, until reboot. Then, all root requests are denied, since the prompt disappears almost immediately. Are there any other root manager apps that work with this version? I'm running CM13 on an HTC One S.
[Magisk] sansnil:
Maybe make this an option? The v2 is working beautifully for me so would prefer to have a choice if it might cause problems. Thanks!
[Magisk] elreydenj:
Beautifully in what way? Can you make payments via AP? What does it enable you to do that you couldn't quite do before? Not being sarcastic here. I am interested.
[Magisk] sansnil:
Correct. I can now have my cake and eat it: I'm rooted and running Xposed but can use AP and receive OTA's without even having to reboot.
[Magisk] joeyddr:
so why upgrade to the new version if its to help people with issues if the current runs perfect for you?
[Magisk] teddy0209:
Original/Official from phh... that test build is not a magisk version, so you need to restore your boot.img, just like that and you're good...
[Magisk] bhughes3:
Looks like they updated safety net again. R266 is now failing
[Magisk] mobileman88:
This is getting to be a pain. Is there a quick and easy way to remove root just to get Android Pay to work, then root again after using Android Pay? Right now, once I remove root, I will no longer be able to go to TWRP unless I reflash TWRP in Bootloader.
[Magisk] teddy0209:
No easier way than to have twrp, su.zip and unsu.zip... Blame niantic... ?
[Magisk] bhughes3:
I don't think that's correct. If you don't have magisk, just dirty flash the latest OTA through two and you'll be good to go. You'll need to reinstall and root and kernel changes after though
[Magisk] mobileman88:
I can't flash TWRP once I remove root without a PC, that's the problem. What a pain. Don't really do Pogo anymore but I want AP to work when I want to use it and still have root most times except when using AP.

---------- Post added at 08:25 AM ---------- Previous post was at 08:24 AM ----------

It's easier than that for me, but I still need a PC.

- Remove root

- Use AP

- Boot to bootloader

- Flash stock boot.img

- Reboot

- After full boot, reboot again

- Flash TWRP

- Re-install supersu/phh superuser in TWRP

- Reboot

---------- Post added at 08:27 AM ---------- Previous post was at 08:25 AM ----------

That's what I am doing right now, but it's a pain without a PC as I will need a PC to reflash TWRP in bootloader
[Magisk] Alxoom33:
If you have to do all that you might as well use a credit card.
[Magisk] mobileman88:
Exactly which is why I would like to know if there's a way to root/unroot and reroot without requiring a PC each time since phh/superuser/supersu are all a cat and mouse game which is going nowhere.
[Magisk] bhughes3:
I'm telling you, just dirty flash the latest OTA (https://developers.google.com/android/nexus/ota) it puts you stock but should keep twrp...I was able to unroot, reroot, try with and without magisk, and finally figure out that I just needed to install phh r266 all without using a PC... As long as you're not on a custom ROM You should be fine
[Magisk] westeight:
New fix available:

http://xdaforums.com/apps/supersu/suhide-t3450396/page246

:cowboy:
[Magisk] mobileman88:
once unrooted, and rebooted , i won't be able to go back to TWRP recovery as the recovery would say "invalid command" until i reflash TWRP
[Magisk] Primokorn:
If you have the error message "Updater process ended with ERROR: 1" when flashing Phh's Superuser, try flashing Magisk zip first. It's well explained in the recovery log:
[Magisk] markwebb:
This works! I only installed phh r266 and not magisk. In SuperUser disable access and SafetyNet passes. Reenable when you want it. Simple! Thanks!

EDIT: Now not working. Rebooted. Don't know what happened. Oh well.
[Magisk] ameel:
It really helps when you say "not working" without giving any context. What's not working? SuperUser? Your phone? Installing OTA? what exactly?

if you're referring to SafetyNet not passing anymore, read directly from the other relevant sub-forums. Only thing that's passing SafetyNet is latest SuperSu + suhide + root switch (well at least 2 days ago when I bothered checking). SuperUser isn't passing SafetyNet anymore.
[Magisk] bmg1001:
Can anyone confirm if SafetyNet has updated? It appears that an unlocked bootloader trips it now.
[Magisk] xringo:
Can someone tell me if phh su works with magiskm v8? I'm used to superuser but wanted to try this out. I'm currently on v7 with phh flashed. Can i just flash magisk v8 and then phh and wont have any problems?
[Magisk] Eddiemc:
I just updated Magisk from 7 to 8. Everything seems fine. Did it through the Magisk app and phh seems fine.
[Magisk] xringo:
oh right forgot about the magisk app. Will try this, thanks.!
[Magisk] metrize:
How do you turn off root?
[Magisk] metrize:
So no android pay? Oh well
[Magisk] Captain_Throwback:
Have you tried Magiskhide?
[Magisk] ruchern:
I like this answer very much.
[Magisk] linkultima:
Hi, I installed Magisk V8 and phh superuser magisk r259 but cant seem to make root work, It keeps telling me the binaries are outdated and I cant get any app to get root access.

What am i doing wrong?

Regards
[Magisk] carlosggb:
Have you installed the phh supersu app from playstore?
[Magisk] linkultima:
Yes I did, I have done every step and no luck at all. Some say that V8 also broke phh SU as in my case...

Im still trying to igure out what is going wrong as with v7 everything worked fine
[Magisk] garthybarthy:
I had a similar problem, installed all fine including apk. Apps seemed to be given root access but no prompt for it?? I went back to SuperSU for the time being.
[Magisk] Captain_Throwback:
Make sure you grant all apps root access that need it before enabling magiskhide. That seems to cause issues for me. I seem to lose root when installing a new module, but re-installing the phh root module through recovery seems to bring it back.
[Magisk] blastagator:
Binaries outdated = root isn't installed correctly, but the su manager apk is installed (the apk looks for the root binary and doesn't find them). You either disabled the root module, didn't install it correctly, or something else occurred that broke root.

Even with magisk hide turned on, I am able to grant root to new apps that did not have permission granted prior to enabling hide.

Perhaps instead of a black-list as magiskhide currently has, the root solution could have a white-list, so nothing can find root unless user manually adds an app. Do away entirely with the su-prompt when loading an app that checks for root (i.e. if no permission explicitly set in root app, immediately deny the request as if root isn't installed, otherwise grant access). This might make it easier to pass future safetynet changes. I'm not sure how this would affect backwards-compatibility with apps looking for root, or if that would require those to be updated as well. Just a thought.

.
[Magisk] tommy255:
Back when I installed the phh suhide test, I had root randomly disable after my device being on for a prolonged amount of time (12 hours to 24 hours). No Idea why, and I have exactly the same issue here with Magisk superuser. Anybody know of a fix?
[Magisk] Haldi4803:
Hi,

I have a Problem with Magisk v8 and Phh's SU r259 on my HTC 10 with 1.96.709.5 ROM.

When i connect the phone via USB to my PC and use ADB shell the dumpsys battery command works fine.

C:\Users\Haldi>adb shell
shell@htc_pmeuhl:/ $ dumpsys battery
Current Battery Service state:
AC powered: false
USB powered: true
Wireless powered: false
Max charging current: 1500000
Overload: true
USB overheat: false
Extension: 0
PowerJacketExist: false
PowerJacketStatus: 0
PowerJacketLevel: 0
PluginStatus: false
Unsupport Charger: false
status: 2
health: 2
present: true
level: 14
scale: 100
voltage: 3671
temperature: 425
technology: Li-ion

But wenn i use a Terminal Emulator or Script Manager's integrated Terminal i get an Unknown Error.

# su
root@htc_pmeuhl:/data/data # dumpsys battery
Error dumping service info: (Unknown error -2147483646) battery
root@htc_pmeuhl:/data/data #

Which kind of Log might be helpfull in finding this error?

P.S the dumpsys command works fine without Magisk and SuperSU v2.46
[Magisk] linkultima:
Hi, I now have root +pogo working on my NOTE 5 TMO.

What I did is install darthstalker, right after finishing installing the rom, flashed arters kernel which also unrooted my phone automatically, then I installed magisk v8 and phh super user and all set!!!

safetynet passes and pogo can be played.
[Magisk] LucentBirch:
So on latest magisk and phh superuser, I still can't use Android pay? If they find another loophole, how do I enable and disable root? Old guides say there's a switch somewhere, but my guess is that it's not here anymore, cause I can't find it.
[Magisk] gvalro:
Huawei P9 Lite

Magisk V8 + Phh´s Super User r259.zip

Working Pogo + caixabank pay

Safety net REd
[Magisk] FurySh0ck:
Magisk v8 and superuser r259

Hello there!

If I want magisk (ver 8) to bypass safetynet, do I have to use this specific superuser?

I have the latest magisk version (8) and I've seen he added back the safetynet surpass option, but I can't really use it (nor I know how to do that).

I am using the good old SuperSU (I can provide the updates i've been using for this one if needed) on a galaxy S4 GT-I9515 device.

Can I surpass safetynet with that SuperSU? Or I should get Superuser r259 instead in order to bypass it?

BTW, I've seen I can install superuser r259 straight up from magisk manager (v2.1). Is that the proper way to install it?

Thanks a lot for anyone who answers :D
[Magisk] andrew2432:
[MENTION=363728]fury[/MENTION]shock

Su has an Su hide module with magisk v8. Needs marshmallow, otherwise su/suhide/root switch won't work.

Have to completely remove root and flash the zips in recovery. Probably want to see if removing root and booting up lets you pass. Custom firmwares and unlocked bootloaders are causing issues as well. Magisk and the phhsu zip files need flashed in recovery prior to installing the application executables through the play store

[MENTION=5031300]blastagator[/MENTION] is a cool guy...knows his stuff, glad to see you in here!!

Any chance you play with that Franken d800 and get this working for the old ass g2?!?! Cant find a marshmallow because its too old and i dont think they released one.I lose the ability to boot to twrp after flashing your stripped rom and uninstalling supersu within the rom. Can i update to your 3.0.2-1 once on your ROM then unroot? I had it there once but somehow found a bootloop or lost safety net: ability to Pgo. If I unroot on the stock 4.4.2 roms with a single specific moved system app I can't boot. If I unroot while on your d80030b, I lose twrp. Any thoughts if you're not busy??
[Magisk] FurySh0ck:
Is there any way to hide root using these tools on lolipop (5.0.1)? Any of them (magisk v8, supersu or phh's supersu)?
[Magisk] HtHNightwolf:
Hey, this is not so great and easy for me.

I just installed Magisk v8 and phh r259 but no PoGo is working. Are there any steps required to hide it?

And can I install xposed lateron?