yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] GeekMcLeod:
Not sure which app is to blame but I don't get prompts for Viper4arise 2.3.4.0

Is there any way to manually give that app supersu?
[Android Software/Hacking General [Developers Only]] Robot76:
Yo! ViPER4Arise doesn't need or use SU, just normal permissions via settings/app/

ViPER4Arise has no business accessing system...

[emoji7]

For further troubleshooting, why not ask guitardedhero...

No SU:

A.R.I.S.E. Z3C SLiMM EliteKernel Phh.Superuser Rr.Xposed Substratum Systemless
[Android Software/Hacking General [Developers Only]] GeekMcLeod:
It says I need it to install my driver. Before switching to magisk and phh, it was working fine.
[Android Software/Hacking General [Developers Only]] Toutatis_:
[MENTION=5444464]PunchUp[/MENTION]

Any chance you could change the position of the dial pad when we're prompted to enter our PIN code?

I wish it were at the bottom instead of the top. This placement is not very convenient, especially when you have a big display and/or only one hand available (I have a 6P).

Curious to read what other users think of this.

Cheers
[Android Software/Hacking General [Developers Only]] Robot76:
Oooo... My bad...

Try this:

Disabling Viper4arise fx, and install the systemless ViPER4Android at the OP here...

Also try asking Joe Blogs at the ViPER4Android thread about your predicament, he's also familiar with Arise project..

Sorry, not much help am I...

[emoji7]

A.R.I.S.E. Z3C SLiMM EliteKernel Phh.Superuser Rr.Xposed Substratum Systemless
[Android Software/Hacking General [Developers Only]] PunchUp:
That's strange. I see a dialog on my device.
[Android Software/Hacking General [Developers Only]] exchequer598:
I totally agree. A dialpad on the bottom of the screen also makes it easier for one-hand operation.
[Android Software/Hacking General [Developers Only]] ftarules:
I've Magisk V6 installed on my Nexus 6P. If I want to flash the latest superuser zip from this forum, I think it's v259, do I just flash that or do I need to do anything special? I like the ability to toggle superuser in Magisk to let Android Pay work.
[Android Software/Hacking General [Developers Only]] krelvinaz:
Hmmm did some searching but didn't see anything like what happened after I rebooted my Nexus 5x this evening and root was lost with a notice from superuser that a binary update was needed??

Everything was working just fine for more than a week with the configuration.

Nexus 5x

Android 7.0 NRD90S

Was configured with a flash via TWRP v3.0.2-2 Bullhead of both:

Magisk-v6.zip

phh-superuser-17.magisk.zip

and the apps for both:

Magisk_Manger_v1.2.apk

phh's superuser apk v1.0.3.3

Has been working just fine for more than a week however after the reboot tonight, there was a notification from superuser that binary needed to be updated but clicking on the notification just took you to the app itself with no indication of or how to update.

Root was lost in the reboot.

It is not clear how the binary for superuser is to be updated as there doesn't appear to be a newer version available or mentioned anywhere.

BTW there are a number of "reviews" on the phh superuser app google page that others are seeing the same so it is not just me.

It is late, so I will check back tomorrow to see if this rings any bells or a solution is available.

Thanks!
[Android Software/Hacking General [Developers Only]] xUniversal:
First off - I utmostly appreciate the efforts you are putting into making root opensource. Thank you!

I'm testing this on Xperia Z1C - and I'm getting the ERROR: 139 - recovery.log attached. Before flashing I have used the supersu app to cleanup to switch to another superuser app.

Details:

Sony Xperia Z1 Compact

unlocked bootloader

dstrikerZ1 rom - http://xdaforums.com/sony-xperia-z1-compact/development/rom-dstrikerz1-kai-rom-4-5-t2980761

advanced kernel - http://xdaforums.com/sony-xperia-z1...rnel-advanced-14-5-0-242-kernel-v1-0-t3096060

Is it possible that the problem is on my side?
[Android Software/Hacking General [Developers Only]] Toutatis_:
I'm also getting the centered pop-up when opening "PIN Protection" in the settings, just like on your screenshot.

However, when I'm prompted to enter the PIN code after granting root access for a specific app, the dial pad appears as shown on my screenshot.
[Android Software/Hacking General [Developers Only]] Robot76:
Maybe you tried this already, but here goes:

You must 'Full unroot' and not the switch option...

[emoji7]

It's working fine on Z3C stock based Slimm and custom kernel...

A.R.I.S.E. Z3C SLiMM EliteKernel Phh.Superuser Rr.Xposed Substratum Systemless
[Android Software/Hacking General [Developers Only]] Lrs121:
The zip/img from this thread does not work with magisk. It must be formatted as a module for magisk. Go through the whole magisk thread, I'm pretty sure someone posed and updated su zip there for magisk.

This belongs in the magisk thread.

On a note do not reboot/shutdown with root unmounted in magisk. You will have to restore your original boot.img and reinstall magisk and to corresponding su zip
[Android Software/Hacking General [Developers Only]] xUniversal:
I'm not sure what the difference is but tried that as well (after few problems) but the result is still the same unfortunatelly
[Android Software/Hacking General [Developers Only]] garrettsessions:
Could someone please explain how to install/execute hidesu by PHH? Thanks in advance for your help!

https://github.com/phhusson/super-bootimg/commit/3f51b03597ddee135517c6e82a3e06ffde8e1c8c
[Android Software/Hacking General [Developers Only]] 4RK4N:
interested in that as well
[Android Software/Hacking General [Developers Only]] nathanchance:
It isn't available yet, the commit was four days ago, last release was a week ago.
[Android Software/Hacking General [Developers Only]] barturblits:
1.4 factory image is available now:

https://developer.nvidia.com/gameworksdownload#?search=SHIELD Tablet K1&tx=$additional,shield

Havent checked the latest builds of superuser yet for nvidia. On omnirom it is working perfectly now.
[Android Software/Hacking General [Developers Only]] phhusson:
Sorry, this is not really usable, just a PoC.

And it doesn't work the way intented (it does hide SU to one app, but Pokemon Go still find my SU... I'm not sure how yet).

If I am to implement this fully, do you think it would be a blacklist or a whitelist?

(i.e. select which apps can see the "su" binary, or which ones can NOT see it)
[Android Software/Hacking General [Developers Only]] nathanchance:
I would prefer the "which ones can not see it". Most apps are not an issue, only certain ones need to have root hidden.
[Android Software/Hacking General [Developers Only]] phhusson:
Even if the choice is not an easy one?

Like SafetyNet checks might go through another app than the originating app itself (i.e. by Google Play Services), so users would have to know that they also need to hide SU to Google Play Services.

And Pokemon Go no longer gives an explicit error message, it just shows something that appears to be a timeout, but isn't, so user would need to search for the problem first.
[Android Software/Hacking General [Developers Only]] adrman:
Interesting perspectives. I think I fall on the side of "which ones CAN see it". I probably have 5-10 apps that require root when I use them. For the rest it doesn't matter. Currently with Magisk, I'm default root disabled and just enable when I need access.
[Android Software/Hacking General [Developers Only]] Orphee:
I agree with "which app can see". Safer to enable only needed apps than seen by default and easier to maintain I guess
[Android Software/Hacking General [Developers Only]] nathanchance:
I mean I am of the mindset that not everyone needs to hide root and I don't honestly want to mess with giving my root apps additional permissions. As I understand it, I would have to add my root apps to the list then grant them permissions. I couldn't care less about Android Pay or Pokemon Go, when I flash root, I want it available right away. If that isn't the case, please correct me.
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
I'd prefer either/both options. ;)

In the case of apps that use SafetyNet, it should be sufficient to automatically hide root from Play Services; that's what suhide does and all apps function as if root isn't present. There should be no need to also hide root from the other individual apps, unless they use a different verification method.
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
I agree completely with this. I use NO apps that I need to hide root, but plenty of apps that use root access.
[Android Software/Hacking General [Developers Only]] knpk13:
Is it possible to implement options for both a blacklist and a whitelist, so the user can select whatever he wants?
[Android Software/Hacking General [Developers Only]] garrettsessions:
Thanks for the response. I think blacklist would be better, but I'll take anything. Thanks for all your hard work on this.
[Android Software/Hacking General [Developers Only]] barturblits:
Tested kernel 1.4 with superuser 259 and works correctly now. Very nice! Thanks.
[Android Software/Hacking General [Developers Only]] El Gunslinger:
Using Nexus6 SHAMU :: somehow I've "Improperly Installed" my root with this PHH .... trying to get Android pay working. How can I fully unroot my phone / get rid of all of the files so that I can reflash phh-superuser-17-magisk.zip ??
[Android Software/Hacking General [Developers Only]] Lrs121:
Searching the thread will show that this has been answered several times. All you need to do is flash the stock unmodified boot.img
[Android Software/Hacking General [Developers Only]] El Gunslinger:
Well tried these answers that were mentioned ' several times' and it hasn't worked.
[Android Software/Hacking General [Developers Only]] Lrs121:
If you are still having problems then you will probably need to flash the system image as well.
[Android Software/Hacking General [Developers Only]] aaron74:
[MENTION=1915408]phhusson[/MENTION]

Freakin awesome. I just rooted my Note 4 with your zip and app. I just love seeing this is open source, only reason i tried it and give up other root app.

Open source is whole reasoning behind me switching to Linux and android in the first place.

Thank you for your continued hard work, will keep using. :good:
[Android Software/Hacking General [Developers Only]] VoiceGuy:
I have a Nexus 6 Shamu as well. This is what I did today to get Pokémon Go working. I don't use Android Pay so I can't say for sure that it would work for that. Pretty sure it has for others, though. Since I use the PureNexus rom & was a build behind I started with a clean flash of the latest rom, gapps, and ElementalX kernel. The rom isn't pre-rooted and passed the checks. After all my apps downloaded and things were set up the way I like I rebooted into TWRP (make sure you aren't on an older version), made a backup, flashed Magisk, flashed phh's super user, rebooted the system, installed the Magisk app, phh su app, and AutoMagisk app. All my root apps work and so does Pokémon Go. Hope this helps.
[Android Software/Hacking General [Developers Only]] :
Adaway does not work. Is there a fix?
[Android Software/Hacking General [Developers Only]] Portgas D. Ace:
AdAway does work fine for me. So maybe an issue with your device or ROM.
[Android Software/Hacking General [Developers Only]] Robot76:
This is not helpful as you probably know this already, but here goes:

Either Adaway tries to write to the hosts file in /system/ which fails, which suggests you're not properly rooted, or you need to open the superuser app and re-enable AdAway's permission for root.

Try copying a file to the /system/ directory, if this too fails, then you are not rooted properly

[emoji7]

I sometimes use AdAway as a test to see if I am indeed rooted properly[emoji23]

A.R.I.S.E. Z3C SLiMM EliteKernel Phh.Superuser Rr.Xposed Substratum Systemless
[Android Software/Hacking General [Developers Only]] :
Root works just fine in every other app. This might be nougat related. Adaway says the problem occurs when copying the hosts file.
[Android Software/Hacking General [Developers Only]] Robot76:
Oooo... Hmmm [emoji15]

A.R.I.S.E. Z3C SLiMM EliteKernel Phh.Superuser Rr.Xposed Substratum Systemless
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
Flash the systemless zip from post one in recovery and then install the Adaway apk.

Please do not double / cross post in multiple forums! Thanks

This is NOT a PHH SuperUser problem.
[Android Software/Hacking General [Developers Only]] stokholm:
That systemless zip is for SuperSU.

[MENTION=4216470]Corndude[/MENTION], try this: http://xdaforums.com/android/software-hacking/wip-selinux-capable-superuser-t3216394/post68608082
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
Well, I have it running just fine here with PHH SuperUser on a MultiROM setup with MM 6.0.1 and Nougat 7.0.0.0_r6! :highfive:
[Android Software/Hacking General [Developers Only]] stokholm:
That's nice. But it does you no good.
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
Adaway does a great job of blocking ads and runs fine with PHH SuperUser. The other poster said Adaway does not work with PHH SuperUser, yet in my experience it works well.
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
He's talking about the systemless zip.
[Android Software/Hacking General [Developers Only]] phhusson:
But my SU only exists as system-less?!?
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
*sigh*

The Adaway systemless zip is only for SuperSU.
[Android Software/Hacking General [Developers Only]] xUniversal:
Not sure if that is relevant in this case but running SELinuxModeChanger tells me that SELinux can't be detected or is not present at all. So maybe there's the problem.
[Android Software/Hacking General [Developers Only]] friedchikkin:
http://xdaforums.com/showthread.php?t=2190753

First post, under 'Flash for Systemless Hosts File.' As soon as I flashed this AdAway worked with PHH's su (Ironically I did *not* need this zip file for AdAway to work with any version of SuperSU.) I just updated to Oct 5 Nougat security build, flashed this, still works. I'm also using noverity PHH, it wasn't working with the other PHH su build options I tried.
[Android Software/Hacking General [Developers Only]] phhusson:
So, I've made a quick and dirty version of hidesu which hides su enough for current version of Pokemon Go. (noone cares about anything else anyway right? Oh right it also circumvents SafetyNet...)

I fully agree to what ChainFire says about circumventing SU detection (on http://xdaforums.com/showpost.php?p=68424605&postcount=2 )

The demo superuser.zip is available at http://phhusson.free.fr/superuser-r266-hidesu.zip (you'll notice this is not hosted on https://superuser.phh.me, so don't consider it a real release).

hidesu is enabled by default for the "com.google.android.gms.unstable" process (this is the one scanning for Pokemon Go and SafetyNet as far as I know)

I think this actually could be easily used to circumvent SafetyNet with Xposed enabled (we can make the process think it has the original /system), but that's out of the scope of this PoC.

(I have no clue how this compares to CF's suhide)
[Android Software/Hacking General [Developers Only]] skidaway:
The zip you provided works with the latest Pokemon Go on my Nexus 6. I'd be interested to test out a future version that could circumvent Xposed. If you need a tester, just let me know.

Thanks for the work you put into this project.
[Android Software/Hacking General [Developers Only]] KaMyKaSii:
No version for Magisk?
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
Read the Magisk announcement post.
[Android Software/Hacking General [Developers Only]] jackdulouz:
How can i unistall Superuser-17-magisk? I wish to update to the superuser-magisk-r259. Thanks.
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
Did you read the instructions in the Magisk release thread?
[Android Software/Hacking General [Developers Only]] Surge1223:
Hey, I came across your git and saw you and another guy have started or at least tried to make some of the setools/selinux packages NDK buildable.

I'm glad others are finally doing this. That being said if you are looking/need help making converting more of the tools to be android NDK/bionic buildable. I can surely upload my stuff to git. It's not that I was against any of it being opensource, it's just since I rarely see any development in this area from people on xda that I didn't bother. Even Chainfire doesn't usually comment too in depth on his experience with having to use these tools.

Some of those tools are hard to make on Linux let alone android.

sediff, checkpolicy, checkmodule, libpoldiff, etc are really useful.

Edit: Apparently I'm like the only person who doesn't know what this magic disk business is
[Android Software/Hacking General [Developers Only]] kartikb:
Hi, how can I add my ANZ banking app to it so root is hidden and I can get the Wallet function working?

Any advice would be appreciated.
[Android Software/Hacking General [Developers Only]] adrman:
Just installed this on my angler with the October security update, nbd90x. Everything seems to be working properly. I'm passing Safetynet, but haven't been able to test with an actual Android Pay transaction yet. Magisk v7 working as well.
[Android Software/Hacking General [Developers Only]] CBMC:
Wasn't working properly on the nexus 6 factory image (NBD90Z). Was working fine on preview 5. Unable to edit build.prop or hosts. Some apps were working. Went back to supersu, able to edit my build.prop and hosts, not able to use es file Explorer (root) now, but am able to use root Explorer (root).
[Android Software/Hacking General [Developers Only]] adrman:
Did you edit the config.txt file and change to "noverity"?
[Android Software/Hacking General [Developers Only]] CBMC:
No I hadn't. Didn't know it was required. Seems to be working now. Thanks. I guess the preview build I installed had dm verification disabled.
[Android Software/Hacking General [Developers Only]] Azuritko:
What Android version is needed for "hidesu"? Can it work on 5.1.1 or it needs 6.0 as "suhide"?
[Android Software/Hacking General [Developers Only]] ameel:
I modified zip to add ZF2 signature needed for boot and tried to flash using TWRP on Zenfone 2 (ZE551ML), which is x86. It doesn't work. I get error "Updater process ended with ERROR: 2", which shows up after "seSuperuser: Found bootimg @ /dev/block/by-name/boot".

I also tested r259 and r266 (both unmodified to make sure my changes didn't somehow screw up the package).

Any ideas?
[Android Software/Hacking General [Developers Only]] Tkkg1994:
Please upload your recovery log after failed flash
[Android Software/Hacking General [Developers Only]] driftmetal:
Still failed with MagiskV7 + SuperUser r259 + superuser-r266-hidesu + systemless xposed (sdk22) on my Android 5.1...:crying:
[Android Software/Hacking General [Developers Only]] TheSpaceManatee:
Hi i flashed this over r259 magisk version and I cant get around safetynet. Was I supposde to flash this over a non rooted ROM?

Edit: Holy **** it works i just had to disable and remove r259 phh magisk version from the amgisk app and reboot.
[Android Software/Hacking General [Developers Only]] ameel:
So my issue is:

+ /tmp/superuser/scripts/bin/bootimg-extract /dev/block/mmcblk0p1
/tmp/superuser/scripts/bin/bootimg-extract: line 1: syntax error: unexpected word (expecting ")")

any ideas?
[Android Software/Hacking General [Developers Only]] phhusson:
The zip isn't supposed to work on x86, sorry about that.

To do that, you'll have to rebuild all the tools (run ndk-build from inside super-bootimg), change make-zip.sh and line 31 replace armeabi with x86, then call make-zip.sh, and you'll get a brand new superuser.zip which should work for you
[Android Software/Hacking General [Developers Only]] exodius48:
Anyone can report if using superuser-r266-hidesu can hide xposed 86.6 from detected by safety net?
[Android Software/Hacking General [Developers Only]] topjohnwu:
No, it cannot. I tried many ways, and none seems to work.
[Android Software/Hacking General [Developers Only]] exodius48:
So it won't be resolved in the future?
[Android Software/Hacking General [Developers Only]] Skyrider:
Doesn't appear to be working for me with the S7 (no edge) INT version. I'm not using xposed. It does say that it cannot check for latest versions within the magisk manager, and pokemon go still cannot auth thus it still sees the root. Anyway this can be made into a module instead rather than overwriting magisk?
[Android Software/Hacking General [Developers Only]] HtHNightwolf:
Thanks man.

Unfortunately PoGo still tells me unable to log in. I flashed it a second time and I get stuck in a non-booting phone. Do you have any suggestions about what to install it with or in what order?

I used

Magisk v7

phh superuser Magisk r259

superuser-r266 hidesu and

xposed v86.6
[Android Software/Hacking General [Developers Only]] evildog1:
I have SuperSU installed. No Xposed Installed. Will this work for Android 5.1.1?
[Android Software/Hacking General [Developers Only]] Robot76:
Successful with Xperia z3c

[emoji7]

A.R.I.S.E Z3C SLiMM EliteKernel Magisk Phh.superuser Substratum
[Android Software/Hacking General [Developers Only]] repulse:
What's the Android minimum version required ?
[Android Software/Hacking General [Developers Only]] DzikrRully:
How to add or remove another apps?

And how check the list?
[Android Software/Hacking General [Developers Only]] phhusson:
You'll need to rebuild hidesu.

The matching is done there:

https://github.com/phhusson/super-bootimg/blob/master/jni/hidesu.c#L67

You can just add several if(strcmp)
[Android Software/Hacking General [Developers Only]] DzikrRully:
Sorry, I don't understand. Can't you make in GUI version? Or explain to me how to rebuild suhide.

I'm noobie:D
[Android Software/Hacking General [Developers Only]] HtHNightwolf:
Would you be so kind and give me a reply aswell, please?

I have a bq Aquaris M4.5 with Android 6 and end up in a non-booting phone when I use suhide. Since Magisk and your Superuser worked fine, I was very glad to read that you made a version that hides Magisk v7 and systemlesss xposed from Safetynet and PoGo. But again I do not succeed;

Until now I have 2 different phenomenons: WITH xposed the safetynet check is blue (Safetynet: success but Response calidation failed) and WITHOUT it even is red CTS profile match: false

Do I have any old data on my system drive. What can I delete to make the check pass.
[Android Software/Hacking General [Developers Only]] phhusson:
I've explicitly said this version doesn't support hiding Xposed....

As for Magisk, please see with topjohnwu, ATM he is the one maintaining this zip.

I have a hard time testing my own SU.zip at the moment, I don't have time to support Magisk version, sorry
[Android Software/Hacking General [Developers Only]] kgptzac:
Hi [MENTION=1915408]phhusson[/MENTION], my use case is that I don't use xposed or android pay and I need to hide root from games that isn't pokemon go. Looking at your post yesterday I got the impression that hide root is not ready for this purpose. Please correct me if I'm wrong, and thank!
[Android Software/Hacking General [Developers Only]] PunchUp:
You can hide the other games if you know how to slightly modify the code to include the app names you want.

If you can't do that, you'll have to wait till this black/white list is integrated into the app.
[Android Software/Hacking General [Developers Only]] exchequer598:
[MENTION=5444464]PunchUp[/MENTION] Just curious, and not asking for an ETA, but how's the superuser app coming along? I'm super excited about it because it looks amazing!