yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] bezeek:
In case anyone's still thoroughly confused about the limbo these projects are in, I've outlined the steps I took today to test the latest versions of Magisk and phh's SuperUser, and the caveats I've encountered.

1. Rebooted my device into recovery

2. Made a full nandroid backup of my device running Magisk v6, Magisk Manager v1.2, phh's Superuser 17, and Xposed Installer 3.0 alpha4 by dvdandroid. I had no Xposed Framework installed at this time for a variety of reasons

3. Copied the Magisk v7 zip and Magisk Manager v2.0 to my sdcard

4. Flashed Magisk v7, wiped cache/dalvik, and rebooted to system

5. Installed the Magisk Manager v2.0 apk manually with Package Installer

6. Launched Magisk Manager v2.0 but for whatever reason, I was not prompted to update anything

7. Attempted to update phh's SuperUser to r259 in Magisk Manager's "Downloads" section, but this failed with a friendly Toast suggesting a manual flash

8. Rebooted to recovery and flashed the `phhs_SuperUser-r259.zip` that Magisk Manager so graciously left in `/storage/emulated/0/MagiskManager` for me, wiped cache/dalvik, and rebooted to system

9. Launched a few root apps to observe that they all work as expected

10. (Not necessary) Launched Cigital's SafetyNet Playground, which implements server-side validation of the AttestationResult, and the check failed as expected

11. Launched Magisk Manager v2.0 tapped to remove phh's SuperUser r259, and rebooted for removal as instructed by the Toast

12. Launched Magisk Manager v2.0 to observe that no modules were installed at this point

13. Launched SafetyNet Playground to observe that my device would pass

14. Rebooted to recovery, copied superuser-r266-hidesu.zip to my sdcard, flashed it, wiped cache/dalvik, and rebooted to system

15. Launched a few root apps to observe that they all work as expected, and noticed I now have a few odd duplicate entries for installed apps in my app drawer, the icons of which eventually reverted to generic "installed on sdcard" icons; they don't seem to be hurting anything, so whatever

16. Launched SafetyNet Playground to observe that my device would still pass

Now I have root, SafetyNet passes (for now), and I am in good shape to swap out the test build of phh's SuperUser for a proper Magisk build once available. I did not bother installing the latest Xposed Framework, because the device will not pass SafetyNet until further progress is made with either phh's SuperUser or Xposed Framework itself.

Aside from stopping to check logcat and peek at files being created and deleted during the course of all this, I performed no other steps to get everything working.

YMMV, attempt at your own risk, hide yo' kids, yadda yadda.

Oh, and I know nobody cares, but PoGo does work. :rolleyes:
[Android Software/Hacking General [Developers Only]] PunchUp:
Thanks :p

Well, here is a new update.

Main changes:

- New su request activity. Let me know what you guys think :) [MENTION=4880098]Toutatis_[/MENTION] this should take care of the problem you mentioned. And [MENTION=4958579]Primokorn[/MENTION] sorry but the cancel button could not be added.

- Grid size can be set manually. Click on the overflow menu button.

- Animation while switching between allowed and denied apps.

- There is a light theme in this build (needs some more work though)
[Android Software/Hacking General [Developers Only]] bezeek:
Works like a treat after uninstalling the old Play Store version! It even seems to be fine after restoring the old version's data via. TitaniumBackup - nice!
[Android Software/Hacking General [Developers Only]] Toutatis_:
Thank you for the update!

I really like the new pop-up for SU activity as well as the animation between allowed and denied apps.

However, I'm still having an issue with the dial pad for the PIN code. It's even worse than before actually, since the number "0" is invisible :laugh:

I'm using a 6P with stock nougat and display size is set to "small", if that matters.

See screenshot attached.
[Android Software/Hacking General [Developers Only]] dimm0k:
how would you actually remove this test build for a proper Magisk build once available? curious on this as flashing this test build a second time boot looped my device... luckily I did a backup prior
[Android Software/Hacking General [Developers Only]] bezeek:
So far as I've seen, the test build makes all its changes on the boot partition, so outright removal ought to be as simple as flashing a backup or stock boot image.

Just for fun, I compared my old (Magisk v6 + phh's SuperUser v17) and new (Magisk v7 + phh's SuperUser r266) boot images, and here's what changed on my device:

(The lines highlighted in blue are files affected by the SuperUser update; the rest were changed when updating Magisk. "Right only" means the file was found in the new boot image, but not the old.)

For the most part, init.rc only involves the addition of the su daemon as a system service, so that would be easy to revert manually. Reverting binary changes to sepolicy is beyond the scope of my curiosity, but the shell scripts inside the r266 zip probably include all the gory details. The rest of the files would just be deleted.

Anyway, unless someone bothers creating a flashable uninstaller, my plan is still just to roll back my boot partition when it comes time to install a new stack.
[Android Software/Hacking General [Developers Only]] exchequer598:
DAMN, SON!

[MENTION=5444464]PunchUp[/MENTION] Holy smokes, the request activity looks so sexy! But same thing with the hidden zero key on the numpad! I use a OnePlus 3, CM13, no on-screen navbar because I use the hardware capacitive keys, no display or DPI-related settings changed. I'd attach a screenshot too but it looks exactly like this.

EDIT: Also, a minor nitpick on the new request activity. The selected drop-down item text is truncated with an ellipse, leaving only 3 characters displayed. Not sure if that is intentional, but can be a tad confusing.
[Android Software/Hacking General [Developers Only]] hokiealumnus:
Thank you for this! Just tested and confirmed working on my LG G3 (vs985). I flashed your file, flashed a bump script as required for this quirky device, installed your app and rebooted...working, safety net passed superuser. The only thing that could make it better is if xposed worked, but I'm in no hurry for that.

Thanks for your great work!
[Android Software/Hacking General [Developers Only]] PunchUp:
Hey [MENTION=4880098]Toutatis_[/MENTION] thanks for pointing that out. Guess I was too tired last night to realise that the 0 is missing :p

Here is a new build with the fix

[MENTION=3545335]exchequer598[/MENTION] glad you like it :)

Can't do much about the ellipsized text though. If I make it wrap the text, then the widget gets too big and doesn't look nice
[Android Software/Hacking General [Developers Only]] gunz.jones:
Tapping to uninstal the 259 and installing this fixedy issue. Thanks for the heads up on that causing a hold up on hiding root.
[Android Software/Hacking General [Developers Only]] Toutatis_:
All good this time, thanks a lot :good:
[Android Software/Hacking General [Developers Only]] Wlkchnbndgr:
I flash it yesterday, and all works (New Magisk and this.) today i updated my Rom and try to get all working again. I do the same order but didnt pass saftynet anymore. I also updates your su via Magisk.
[Android Software/Hacking General [Developers Only]] Primokorn:
Thanks for the new improvements!

• I would use two different icons at the bottom right corner of allowed apps vs denied apps

• The superuser request is almost perfect. I would invert as explained attached.

• The "N" is missing for "Entrer PIN" - Nexus 5 - Android 6.0.1 - 400 dpi instead of 480

• There's no new su request when the timeout is over. I granted su access to Solid explorer for 10min. 15min later, I didn't have a new su request.
[Android Software/Hacking General [Developers Only]] PunchUp:
But I think the app continued to have su access right? It won't request for it again as long as you use the same process. Swipe it from recents and then you'll see a new request. If I remember correctly, this is how it worked previously in phh's Superuser app and CM's inbuilt Superuser as well.

The idea was to keep everything organised with the information on the left side and actions on the right. Also, the info/message for bind request is even longer. So I think, moving it the way you've suggested would probably not look nice.

Thanks! I'll fix that.

I'll see if I can come up with something good for that.
[Android Software/Hacking General [Developers Only]] Primokorn:
You're right.

One last suggestion. It seems there's a shadow below the PIN popup. Could you remove it? (see attached, the navbar should be black #ff000000)
[Android Software/Hacking General [Developers Only]] PunchUp:
This is probably because of a theme on your phone? I just activated the nav bar on mine and it's black (default CM theme) when I request su. Anyway, I'll override that color in styles :good:
[Android Software/Hacking General [Developers Only]] Primokorn:
Oops :) You give me some work :D
[Android Software/Hacking General [Developers Only]] dreamland2000:
I've just tried installing this and in recovery it says it's successful but when I try to boot I get constantly stuck on the initial white Samsung boot screen. I've removed all other su apps. Any ideas should be great and yes I've followed the instructions numerous times. Thanks
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
If you're going to use the hidesu version, you need to first disable/uninstall the Magisk version.
[Android Software/Hacking General [Developers Only]] Wlkchnbndgr:
Jeah, i thought i uninstall thrue the dirty flash oft the Rom. My mistake.
[Android Software/Hacking General [Developers Only]] smint86:
Unfortunately, safetynet seems to have been updated again. hidesu doesn't work anymore.
[Android Software/Hacking General [Developers Only]] Wlkchnbndgr:
Blue screen in safetynet helper? Same here, after i managed a few houers to work.
[Android Software/Hacking General [Developers Only]] ScottIsMyName:
Yep, same here. Payload verification problem. Hoping for an update soon!
[Android Software/Hacking General [Developers Only]] smint86:
Sorry for the offtopic spam, but I think in the end 50% of the people in here are reading this because of PokemonGO. I think Niantic has to make a change. Sign here and share it: http://www.ipetitions.com/petition/niantic-allow-legitimate-root-users-to-play
[Android Software/Hacking General [Developers Only]] PunchUp:
Why would they accept this petition and allow people to cheat again? :D
[Android Software/Hacking General [Developers Only]] bezeek:
Heh. I can't speak for anyone else, but I'd rather see Google remove PoGo from the Play Store than for this to continue. It won't surprise me in the least if this gets to a point where I can't check my bank balance without performing a full factory reset and relocking my bootloader.

Either way, people are still cheating, and if software fails to allow it, then hardware could be next.
[Android Software/Hacking General [Developers Only]] hamstrman:
Heh... so... didn't see the extra pages of posts, so... my comment is irrelevant. Everyone is discussing PoGo.

---------- Post added at 08:16 PM ---------- Previous post was at 08:13 PM ----------

As satisfying as that would be - my dad keeps asking why we don't do this - since Niantic has decided root = cheat, you have rooted = you have cheated. By all means, let's put our names on a list for them, along with our account emails and game names. *sigh*
[Android Software/Hacking General [Developers Only]] xT-g-K:
How do I uninstall this?
[Android Software/Hacking General [Developers Only]] oldman_58:
Remove the program and flash the factory bootloder.
[Android Software/Hacking General [Developers Only]] bezeek:
Flash the latest Magisk uninstaller if you're using Magisk. For good measure, also flash a backup of your boot partition or a clean boot image from your ROM.
[Android Software/Hacking General [Developers Only]] xT-g-K:
I did that but Pokemon Go is still not working, should everything have been removed with the Magisk Uninstaller?
[Android Software/Hacking General [Developers Only]] bezeek:
There may be things left over on your system partition from past roots/attempts. Try installing the SuperSU app (not the flashable zip) and use the unroot feature it offers.
[Android Software/Hacking General [Developers Only]] xT-g-K:
I was hoping to use that but it says there is no root and the app won't let me actually do anything. Sends me to a "How to root" page.
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
hidesu is working fine here.

The issue is if you have Magisk installed, not the superuser zip from this thread with the test hidesu binary.
[Android Software/Hacking General [Developers Only]] 4RK4N:
confirmed working. http://xdaforums.com/showpost.php?p=68999110&postcount=4143

just letting ppl know.
[Android Software/Hacking General [Developers Only]] Tesla:
Soo.. no root and then reboot to recovery.

Flash superuser-r266-hidesu.zip

Reboot.

Pogo and root works?

No app?
[Android Software/Hacking General [Developers Only]] 4RK4N:
ofc u need phh's superuser app from playstore. doenst affect safetynet helper.

just logged into pogo.
[Android Software/Hacking General [Developers Only]] Tesla:
This one? https://play.google.com/store/apps/details?id=me.phh.superuser

Not this one?

Superuser_2.0_Beta_6.apk
[Android Software/Hacking General [Developers Only]] 4RK4N:
i have tho one from play store. version 1.0.3.3 from january. where did u get that beta from lol gimme :D
[Android Software/Hacking General [Developers Only]] ridobe:
Go back to page 111
[Android Software/Hacking General [Developers Only]] Tesla:
Here, http://xdaforums.com/showpost.php?p=68986998&postcount=1107

Will that work?
[Android Software/Hacking General [Developers Only]] 4RK4N:
dunno. try it. i have the old playstore version atm. will try 2.0 beta tomorrow.
[Android Software/Hacking General [Developers Only]] Tesla:
Okey.

If i need to, how do i uninstall superuser-r266-hidesu.zip??

Something i want to know before i install it.
[Android Software/Hacking General [Developers Only]] Wlkchnbndgr:
Just dirtyflash your rom
[Android Software/Hacking General [Developers Only]] duowing:
I can't seem to install the Beta2 superuser app from page 111. I just keep getting install failed. The play store version is working fine for me though

Edit: Weird. I originally uninstalled phh superuser via Titanium for when I went back to SuperSU. Apparently this was problematic. I reinstalled phhsu from the play store and all permissions were still there. Then I uninstalled it via playstore, then tried installing the beta again and it worked. Apparently uninstall with Titanium caused the issue
[Android Software/Hacking General [Developers Only]] cantenna:
This is great! Thanks:)
[Android Software/Hacking General [Developers Only]] TapioH:
Oneplus One, CM14. Uninstalled magisk and did update_unSU.zip just to be sure to get rid of all SU folders. installed superuser-r266-hidesu.zip and rebooted. PoGO works !

Only weird thing happened, suddenly Nougat hardware keyconfig had changed. Menu key brings forward not recents, but menu.. Oh well Buttons Remapper did the trick to reverting it to normal.
[Android Software/Hacking General [Developers Only]] Tesla:
Tell me,, do you by any chance play pogo and use Beta2 with superuser-r266-hidesu.zip??

Edit: I tried it now and it works. :)

So ignore this post m8 ;)
[Android Software/Hacking General [Developers Only]] tinymiata:
So after magisk v6 broke I did a lot of reading to see what works.

For me doing this was the easiest.

Copy Magisk-uninstaller-20161004.zip to phone.

Flash Magisk-uninstaller-20161004.zip From TWRP

reboot phone.

Pokego works.

Uninstall all magisk and root helper apps.

reboot back into TWRP

Flash superuser-r266-hidesu.zip

Reboot.

installed https://play.google.com/store/apps/details?id=me.phh.superuser

opened up app and set to allow root to aps and started tibackup. It asked for root access and I gave it root, it works as before.

went back into the app after closing tibackup.

Set root to disabled.

Started pokego and it works.

I like that I can toggle off root, for 98% of the time my phone does not need root. Just for backup restore I turn it back on.

Big Thanks.

:good:

Edit: Phone is a Nexus 5X running stable CM13. I am Using the phh.superuser app from the play store. In the setting you can the first item is Superuser Access I have it set to disabled.
[Android Software/Hacking General [Developers Only]] gunz.jones:
What app are you setting root to disabled? Are you using a stock kernel on your device?
[Android Software/Hacking General [Developers Only]] chtan23:
Anyone here build a superuser-r266-hidesu.zip for x86 phone? Could you kindly share? Thanks
[Android Software/Hacking General [Developers Only]] iwantz:
After doing the dirty flash overnight

Pokémon no longer working... So

After reading a few pages backward

I decided to uninstalling magisk through twrp

Afterwards I flash superuser r266 hidesu

Then reboot

Install superuser via playstore then try to open pogo again... And thanks... it's work again without any root toogle :fingers-crossed:

Here is my screenshot :
[Android Software/Hacking General [Developers Only]] Tesla:
Good.

Same for me. Used Superuser_2.0_Beta_6.apk and pogo works and no need for toggle root.
[Android Software/Hacking General [Developers Only]] Triviox:
But not xposed, rigth? =/
[Android Software/Hacking General [Developers Only]] JRJ442:
[MENTION=5444464]PunchUp[/MENTION] On beta 6 and the previous beta I can't seem to get Tasker to gain root. I always get this pop-up attached. All of the other root apps gain root just fine. Tasker also gains root fine with PHH's app. Would a logcat show anything?
[Android Software/Hacking General [Developers Only]] elreydenj:
Does anyone have a way to enable systemless AdAway or another add blocker with the 266 PHH suhide?
[Android Software/Hacking General [Developers Only]] Tesla:
Nope, not now. Maby maby later. No need to bother topjohnwu with this.

The Dev is aware and will try to fix it, or not. We will just have to wait and see.

Edit: http://xdaforums.com/showpost.php?p=69000445&postcount=4156

topjohnwu

"Hello everyone!

I am aware that Google has updated Safety Net that makes Magisk itself a no go for Android Pay. In fact, I witnessed the change live while I am developing the new magiskhide, which should hide all Magisk modules and Magisk installed root.

Google is serious about Safety Net now, clearly hunting down all possibility to run Xposed with Safety Net passed. I spend quite some time examining the new security measures last midnight, and fortunately it seems that it is possible to run Magisk and root along with Safety Net if no Xposed is running. I'm glad I removed the old root toggle at the right time lol, that is no longer feasible with the latest detection.

So stay tuned for the next update, it will come with bug fixes, along with the new magiskhide to bypass that Safety Net.

Google, how will a few systemless mods do any harm "
[Android Software/Hacking General [Developers Only]] duowing:
I had no problem getting Root with the beta 6 app. To quickly gain root access I just made a quick task that I can run that just runs a shell and the only command it does is: su

Then I will get the root request pop-up.
[Android Software/Hacking General [Developers Only]] schizophrenia:
Same question, which app do you use to toggle root? thanks.
[Android Software/Hacking General [Developers Only]] elreydenj:
Is there any way to get an ad blocker working with newest PHh superuser? Preferably AdAway? Using 266 with suhide that PHH posted recently.
[Android Software/Hacking General [Developers Only]] duowing:
Just using the Superuser app. Under settings you just toggle superuser access to disabled

---------- Post added at 04:22 AM ---------- Previous post was at 04:20 AM ----------

Can try this: http://xdaforums.com/android/software-hacking/wip-selinux-capable-superuser-t3216394/post68608082
[Android Software/Hacking General [Developers Only]] Tesla:
"Just using the Superuser app. Under settings you just toggle superuser access to disabled"

And you don't have to reboot? Thats a first. Only magisk could do that.
[Android Software/Hacking General [Developers Only]] JRJ442:
I just made that su task and ran it. Got the pop up and root was granted. Crisis averted. Maybe I need to redo my other task for SELinux. Thanks man.

Edit: Even though Tasker is saying root is granted, I'm still getting no root from Tasker even though SU says so. Its definitely not running the SElinux Task I have set up. PHH's regular app does fine with it.
[Android Software/Hacking General [Developers Only]] adrman:
See here. The only thing I've had to do differently with Nougat is to create a blank "hosts" file in data/data before creating the bind mount.
[Android Software/Hacking General [Developers Only]] cokenol:
Did you have Xposed Framework?
[Android Software/Hacking General [Developers Only]] bezeek:
Silly question: does r266 expose any means of running one-off scripts during boot (like good ol' su.d), or could anyone give me a hint as to how I could execute a script as early in the boot sequence as possible?
[Android Software/Hacking General [Developers Only]] iwantz:
No, I don't use xposed anymore, previously I used Xposed just to make easier UI customization, but has since started using 6.0.1 and now 7.0

I no longer using xposed
[Android Software/Hacking General [Developers Only]] tinymiata:
Just to clarify After flashing

superuser-r266-hidesu.zip

once back in the system I downloaded from the play store.

https://play.google.com/store/apps/details?id=me.phh.superuser

After installing open the app it looks like # and is called superuser.

click the 3 dots on the left

click settings.

the very first one shows Superuser Access

Press that

you can toggle Disabled, Apps only, ADB only and Apps and ADB right there.

It works as soon as you press one.

I leave mine Disabled as I don't like things to have root. That said it seems when I gave tibackup root it stuck. So even though it shows disabled and PokeGo works Tiback up works too and shows it got root access.

Edit: the flash was buried in this thread.

http://xdaforums.com/showpost.php?p=68969947&postcount=1063
[Android Software/Hacking General [Developers Only]] chris9000:
Where can I pick up SU r266?
[Android Software/Hacking General [Developers Only]] bezeek:
So long as the process is alive, it continues running as root. If you swipe it away from your recents or if it's otherwise killed - in a low-memory situation, for instance - it will need to obtain root again upon next launch.

---------- Post added at 12:40 AM ---------- Previous post was at 12:35 AM ----------

Not too far back
[Android Software/Hacking General [Developers Only]] Arkain2K:
Danggit, everytime I try to flash superuser-r266-hidesu.zip on my Galaxy S5, it gives me an error and then the phone refuse to boot.

Dirtyflashed the stock ROM to get it going again, now patiently await the next update that might support Galaxy S5.
[Android Software/Hacking General [Developers Only]] kyrunter3:
Yeah :/ also stuck on Samsung boot logo on Galaxy S6 ,after two tries :/ me too dirtyflash then ...
[Android Software/Hacking General [Developers Only]] chris9000:
Here's to hoping someone figures out a way to get xposed up and working with this new root solution!
[Android Software/Hacking General [Developers Only]] PunchUp:
What do you mean? Xposed works fine
[Android Software/Hacking General [Developers Only]] desztan:
I don't understand the part when you need to flash phh suhide. Did we have root in the first place? If we dont have root in the first place why need to flash phh suhide when we can play pogo already? Can someone explain to me. TIA