yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
You probably tried the wrong link like I did first time.

https://superuser.phh.me/
[Android Software/Hacking General [Developers Only]] Alxoom33:
Is r229 the last build?

---------- Post added at 12:02 PM ---------- Previous post was at 11:59 AM ----------

I take it we should dl the device specific image.
[Android Software/Hacking General [Developers Only]] phhusson:
Erf sorry, I didn't understand why so many people had troubles finding it :s

I fixed the symlink.
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
If you use the image method, yes. Or you can use the zip method. Use one or the other.
[Android Software/Hacking General [Developers Only]] BakedTator:
Using Android nougat and the zip gives me an error 1 in twrp...having to flash magisk to use root (getting away from SuperSU due to the change from chainsfire to ccmt) any other recommendations or is this the way I need to do it seeing as I'm using nougat? (I'm using a custom AOSP build of nougat and using the boot.img won't boot)
[Android Software/Hacking General [Developers Only]] Thunderbolt69:
I'm having the same issue...
[Android Software/Hacking General [Developers Only]] BakedTator:
I don't know that it's an issue but it's the only thing working for me ATM...may be the only way to root nougat for now because it's systemless
[Android Software/Hacking General [Developers Only]] Thunderbolt69:
Thanks for the heads up with the Magisk... I should done little more reading before making the switch.... Back working now...
[Android Software/Hacking General [Developers Only]] androcraze:
[MENTION=1915408]phhusson[/MENTION]:

Would it be a bad idea to have a "recipe" list (or table), by device, giving a quick-and-dirty guide for setting up your root?

It seems the N6 has unique issues, as do some other devices. Users could provide feedback with device, Android version, recommended root method (eng, user, etc.), and notes. Might save users from having to chase information.
[Android Software/Hacking General [Developers Only]] rebretz000:
i'm doing something wrong. How do I get root installed systemless? Same method as the other root version?
[Android Software/Hacking General [Developers Only]] androcraze:
Device?

Android Version?

BUILD?

ROM?
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
Is there any working procedure for oneplus 2?

As far as I understand there's a boot.img to be modified and every modification is stored on the homepage for future use of other users..

So how to proceed?

When installing super su on oxygenos 3.0.1 a patched super su zip was needed, to make those ramdisk changes..

Please direkt my to where I can learn about it..

Thank you!
[Android Software/Hacking General [Developers Only]] rebretz000:
yeah, that would have been smart to provide. Sorry about that

LG Nexus 5X

Stock Nougat nrd90m

Unless root goes in Systemless. I tried to install busybox by Stephen (Stericson) and it says root not installed as systemless.

like people uptop I could not get the zip to work. I used the boot image. Now I'm using Magisk for root.
[Android Software/Hacking General [Developers Only]] androcraze:
The standard way would be to:

- install PHH's SuperUser from the PlayStore or F-Droid

- download your boot.img from here: http://superuser.phh.me/nexus/bullhead/

- reboot the phone to TWRP

- touch "Install", touch "Image", select the boot.img to install, toggle "boot", swipe

- reboot to system

For the Nexus 5, I use the "eng" version of the boot.img (instead of noverity, user, or nocrypt).

Different devices have different install requirements, and Nougat has thrown a couple curves. I've not seen much headache with the 5X; usually it's the "6" model (6 & 6P) that give grief.

If you want to revert the boot.img, PHH has a factory image in that same folder.

---------- Post added at 15:37 ---------- Previous post was at 15:35 ----------

Try busybox from here:

http://xdaforums.com/showthread.php?t=2239421
[Android Software/Hacking General [Developers Only]] PunchUp:
I don't think boot images are available for OnePlus devices.

You have to use the zip method instead. Download the superuser zip. r229 works for me (some people prefer an older version). And then you just need to flash that zip. It will patch the boot image accordingly (you still need to install the Superuser app separately btw).

There are some configuration options available. You can do that by modifying the config text file inside the superuser zip. By default I think it is set to "eng crypt verity" but changing it to "eng noverity nocrypt" worked for me. You might need to change it too if flashing fails.
[Android Software/Hacking General [Developers Only]] phhusson:
I'm not saying no, but the problem is quite the same as handling Note 7:

I don't have the brain to handle every different devices, so I need to find out to handle and maintain those informations.
[Android Software/Hacking General [Developers Only]] jaben2:
user error?

I am trying to install this root on my nexus 6p. When I try to download the boot.img it goes to a page that shows all the language. no download. Am I supposed to just copy that?

Thanks and please excuse the ignorance on my part.
[Android Software/Hacking General [Developers Only]] androcraze:
http://superuser.phh.me/nexus/angler/

Each of those is a folder dedicated to a particular ROM. "About Phone" should list the ROM you have.

Click on the ROM version (each is a folder); you'll see the various .img files. you click on the one to download. You'll have to determine whether you want the "eng, verity, user, or nocrypt" version. I don't have a 6p; you'll have to search this thread and see what other 6p users recommend.
[Android Software/Hacking General [Developers Only]] adrman:
For the 6p start with eng. If that doesn't work for you, try noverity.
[Android Software/Hacking General [Developers Only]] wolfballz:
[MENTION=1915408]phhusson[/MENTION] in the OP the link for All Nexus-es takes you to the fugu device files instead of the parent directory for all the nexus devices. Great work and it works with my N6 and Galaxy Tab 4 10.1
[Android Software/Hacking General [Developers Only]] jaben2:
I ended up getting it. Needed to "save as" then rename the .htm to .IMG then flash.

Thanks
[Android Software/Hacking General [Developers Only]] androcraze:
As long as it worked ;)
[Android Software/Hacking General [Developers Only]] imarq24:
Can someone drop some knowledge on me. OK so I'm lost and I'm going through all the information but still confused. OK so here's my phone

N6

Rom : PN 8/21 build

Kernel: ExperimentalX

Question where do I find the Superuser zip or do flash the boot image in twrp btw don't know which one to use. Please excuse my noobness to this thread. Thanks. Also after I get the correct one, I should just be able to dirty flash correct? And of course delete the previous SuperSU right?
[Android Software/Hacking General [Developers Only]] androcraze:
http://superuser.phh.me/nexus/shamu/

Look in: Settings -> About phone -> Build number

And see if there's a match in the shamu folder I linked above.

Post #599 has a general walkthrough. Try the eng boot.img first, and if that doesn't work, try the noverty.
[Android Software/Hacking General [Developers Only]] yosmokinman:
^That would overwrite his kernel of choice though flashing boot.img wouldn't it?

The zip is what you should try. That will patch your current kernel and boot up with root.. maybe. You may need to change the config. I had to use 197 on my N7 229 wouldn't flash.
[Android Software/Hacking General [Developers Only]] nathanchance:
If the kernel is in an AnyKernel format (the majority of them are), the kernel can be flashed over the boot image without any issues.
[Android Software/Hacking General [Developers Only]] phhusson:
Thanks for reporting this.

Which recovery? Which ROM?

Could you get /tmp/recovery.log after the fail?
[Android Software/Hacking General [Developers Only]] azazello22:
Used latest .zip to root my Xiaomi Mi5. Everything worked fine.

sent from my Mi5
[Android Software/Hacking General [Developers Only]] Flynhx:
Hello phhusson, are there any guide on how to unroot phh's su? I can't seem to find unroot option from the app or uninstaller from your thread, btw i used your phh together with magisk v6 and xposed v86.5 systemless by topjohnwu on my Zenfone 2 x86. If there is or maybe manual delete kindly please teach me how to do it, thanks in advance. :)
[Android Software/Hacking General [Developers Only]] fmc000:
I tried to install the apk over my existent superuser installation and it fails. Is that expected?
[Android Software/Hacking General [Developers Only]] yosmokinman:
The most recent twrp 3.0.2-0.

The rom is the AOSP Nougat build we have for the N7 and could be the problem but r197 works pretty damn good mostly, busybox won't install/adaway issues. Otherwise great. Thanks.
[Android Software/Hacking General [Developers Only]] phhusson:
Yes, because the two APKs doesn't have the same signing key.

You first need to uninstall the original SU, then install PunchUp's
[Android Software/Hacking General [Developers Only]] fmc000:
And after that I have to grant the root permissions again to all my apps...

Edit: titanium is able to restore those permissions :)

Quick feedback: "SETTINGS/Multiuser Policy" does nothing, "SETTINGS/PIN Protection" FCs, "LOGS/Notifications" toggle doesn't work .
[Android Software/Hacking General [Developers Only]] phhusson:
I believe those issues are known. This application is more a mockup at the moment.
[Android Software/Hacking General [Developers Only]] relevant_placeholder:
Would you consider adding donate button to the app?
[Android Software/Hacking General [Developers Only]] adrman:
If you're just using phh's, flash your original boot image. If you've used the Magisk modified version of phh from the Magisk thread, use the uninstaller that's also found there.,
[Android Software/Hacking General [Developers Only]] PunchUp:
I know about the PIN protection crash. It's a small fix but I'll do it while cleaning up the code, once the main work is done.

And what do you mean by Multiuser Policy does nothing? Do you not see a dialog on clicking it?
[Android Software/Hacking General [Developers Only]] talkaboom:
Could you explain the process?

I am sorry for the dumb question, but I am not proficient in the technicalities of rooting yet. I have a RN3 Pro and am guessing the process may be similar. I am trying to replace SuperSU with this in a custom AOSP based ROM (Exodus). I have no idea which files to download or flash order.

Thanks.
[Android Software/Hacking General [Developers Only]] azazello22:
I used the "complete unroot" setting in SuperSU to remove it. Then downloaded r229 zip. I did a backup, to be safer. Then I flashed the zip in TWRP. Rebooted and installed phhSuperuser app from Play Store.

sent from my Mi5
[Android Software/Hacking General [Developers Only]] talkaboom:
Hmm, I wonder if that will work for a pre-rooted ROM. I will try it out and report here. Again, thanks.
[Android Software/Hacking General [Developers Only]] azazello22:
Why do you need this? If you already can get root through developer settings, I mean.

sent from my Mi5
[Android Software/Hacking General [Developers Only]] talkaboom:
The SuperSU drama last week got me thinking. Until the situation clarifies, I would prefer to use something else.
[Android Software/Hacking General [Developers Only]] fmc000:
No - nothing happens. SlimSaber ( 6.0.1 ) - Magisk.v6 + phh-superuser-17-magisk
[Android Software/Hacking General [Developers Only]] azazello22:
No no, that's not my point. I mean, does your ROM have "root" setting in "developer settings"? Or it comes with SuperSU already installed?

sent from my Mi5
[Android Software/Hacking General [Developers Only]] BakedTator:
Will said. This is my take on it as well. Though I trust chainsfire, I don't know or trust ccmt
[Android Software/Hacking General [Developers Only]] talkaboom:
As per the log in TWRP terminal, flashing the ROM installs SuperSU in the end. But after first boot, you have to download the playstore version and update binaries, reboot and you are g2g.

Even if you flash an older version of the SUperSU zip, you still have to download the playstore app. That kinda defeats the purpose of using an old 'secure' zip as the playstore account is not Chainfire's anymore.

So current update: I did the following:

1. Total unroot from SuperSU settings.

2. Reboot to recovery.

3. Dirty Flash ROM (it is still flashing the included version of SuperSU ofc)

4. Flash Superuser r229.

5 Reboot.

6 Install Phh Superuser app.

Result: Seems to be working, tested with KA, Flux and Nova root settings so far. I was expecting a binary download too, but there was not prompt. The fullscreen root permission window was a surprise, but it is actually practical.

I may have found an alternative to SuperSU. :victory:
[Android Software/Hacking General [Developers Only]] fmc000:
You can alter your ROM installation script to comment out or simply delete the lines that flash SuperSU.
[Android Software/Hacking General [Developers Only]] PunchUp:
That can only happen if Multiuser is not available on a device.

What happened when you clicked on Multiuser Policy in phh's Superuser app?
[Android Software/Hacking General [Developers Only]] talkaboom:
I wish I knew how. I am new to android, this is my first android phone, and it has only been 4 months.

I have been mostly experimenting with various ROMs, kernels and ARISE. I am trying to learn some Java so I can understand some of the basic android programming stuff, but I am some ways off yet.

Further update:

Flashed custom Kernel, Arise, avoiding Xposed for now.

Tested with Adaway, Macrodroid, Solid Explorer, Universal Init.d (not even sure I need that any more), Busybox (free). Everything working like a charm.
[Android Software/Hacking General [Developers Only]] fmc000:
There's no such option in the phh's Superuser app

---------- Post added at 02:01 PM ---------- Previous post was at 01:58 PM ----------

It's usually a plain text file within the ROM zipfile

META-INF\com\google\android\updater-script

.
[Android Software/Hacking General [Developers Only]] PunchUp:
There is. The only difference is that in phh's Superuser the option is removed when Multiuser is not available on a device. So don't worry about it.
[Android Software/Hacking General [Developers Only]] talkaboom:
Found these lines

run_program("/sbin/busybox", "unzip", "/tmp/supersu/supersu.zip", "META-INF/com/google/android/*", "-d", "/tmp/supersu");
run_program("/sbin/busybox", "sh", "/tmp/supersu/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/supersu/supersu.zip");

I will try commenting them out next time I flash. Thanks a lot.
[Android Software/Hacking General [Developers Only]] PunchUp:
Here's a new build of the Superuser app I'm working on

- Dark theme added. It is going to be the default. You may switch to black theme from settings. (There's also a light one, but work in progress)

- Per app settings available now. (If this crashes on pre-Lollipop devices, please send me a PM)

- Fixed some other other minor issues

Feedback will be helpful. Let me know what you think :)
[Android Software/Hacking General [Developers Only]] talkaboom:
Can we install this without uninstalling the playstore version?
[Android Software/Hacking General [Developers Only]] PunchUp:
Only if signature checking is disabled on your device
[Android Software/Hacking General [Developers Only]] fmc000:
If using Titanium backup, I suggest to:

backup the superuser app and don't close the titanium notification;

uninstall the superuser app;

install the test app;

enter titanium from the notification (it still has root privileges even without being granted by the new superuser app);

restore the superuser data only.

just tried, works perfectly.
[Android Software/Hacking General [Developers Only]] Toutatis_:
I've just installed it, great job, the UI is much better and I really dig the black theme. Thank you! :good:

Edit: I'm getting a FC when trying to open the PIN protection setting though (Nexus 6P, DU 6.0.1 latest weekly)
[Android Software/Hacking General [Developers Only]] PunchUp:
Glad you like it :)

And yes, I know about the PIN crash. It will be fixed soon.
[Android Software/Hacking General [Developers Only]] phhusson:
Could someone tell me what happened there?
[Android Software/Hacking General [Developers Only]] phhusson:
Thanks for the update

Could you publish your sources? :D
[Android Software/Hacking General [Developers Only]] talkaboom:
First of all, awesome job with superuser. Now for the story...

To make a long story short:

1 Chainfire sold supersu to CCMT a year ago.

2 last Thursday, CCMT released supersu 2.78 without Chainfire's approval.

3 new supersu website is dodgy. Internet sleuths figured out it was registered by a Chinese co with a front in US.

4 google play account is now controlled by CCMT. So downloading the app makes security precautions of chainfire approved zips pointless.

5 no one is claiming ownership of CCMT. Chainfire probably signed NDA. Some speculation even suggested it is owned by Josh, owner of XDA

6...

7. Clusterf**k.

I did have a question for you. The sound mod I use (Arise) puts 2 files in /system/su.d

Is there a corresponding folder in your setup?
[Android Software/Hacking General [Developers Only]] Eddiemc:
Edit: nevermind, talkaboom beat me to it with a nicer explanation ☺️
[Android Software/Hacking General [Developers Only]] PunchUp:
Still need to remove/edit a lot of Koush's stuff (mostly from the PIN protection and SU request activity). Once I finish that and clean up some of my own code, sure thing :)
[Android Software/Hacking General [Developers Only]] Milanche78:
Hi,

I have my phone already rooted by supersu, if i uninstall it, should i only install phh apk, or i have to flash superuser.zip from recovery?
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
Yes, you need two things to istall phh'sSuperUser.

1 - Flash the zip file or your device patched boot image - both can be found in the first post.

2 - Install the phh SuperUser apk from the Play Store or F-Droid
[Android Software/Hacking General [Developers Only]] Alxoom33:
With all due respect. Much of what you list as facts are unsubstantiated here say and speculation. Although I am concerned, as well, I am in more of a wait and see mode for now.
[Android Software/Hacking General [Developers Only]] talkaboom:
I actually agree with you. Maybe it wasn't apparent from the tone. I just gave a sequence of events. Personally, I am on the wait and see list too.

However, this episode highlights the need for more options, especially open source ones, for things like root managers. My search is for alternatives, and in the process, raise my own knowledge of android systems.

This is officially my most OT post on XDA. :silly:
[Android Software/Hacking General [Developers Only]] Milanche78:
Hi,

thanks for reply,

I might have to root the phone first, always do it with supersu.zip from recovery.

I tried this superuser.zip, but it wont boot to system.
[Android Software/Hacking General [Developers Only]] androcraze:
Is it repeating gossip if you only post it once?

CF's closed-source app has succeeded through sheer GOODWILL with the community. His name, and the trust that it brings, was part of the product. Can you transfer that goodwill to another entity?

I think many folks are watching this very carefully. You're right: it's certainly a wait-and-see game.
[Android Software/Hacking General [Developers Only]] Mikey:
What's the safest way of uninstalling this?
[Android Software/Hacking General [Developers Only]] androcraze:
Remove the app, then flash to stock boot.img from http://superuser.phh.me/nexus/

The implementation is relatively simple.
[Android Software/Hacking General [Developers Only]] imarq24:
-Hey [MENTION=4403217]Pkt_Lnt[/MENTION] gotta ? I looked in the Nexus Shamu file and didn't see the N6 8/21 build img. file . Now the question which zip do I need to grab?

-Also I should be able to just dirty flash right? ie rom, gapps, Superuser, Kernel

Btw phone info

N6

Rom: PN 8/21 build

Kernel: ElementalX

Thanks for your help
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
I used the superuser-r229.zip with ElementalX installed on PN 8/21 and then installed the apk from the Play Store and it is perfect.

https://superuser.phh.me/
[Android Software/Hacking General [Developers Only]] imarq24:
Yo!!!!! Thanks for that I've been trying to get that answer right there thanks again

---------- Post added at 11:14 PM ---------- Previous post was at 10:56 PM ----------

And the apk is just phh's Superuser right
[Android Software/Hacking General [Developers Only]] pkelly517:
I've been reading and lurking and I'm still confused on this.

Every post I've seen says that the Play Store superuser needs to be installed. But [MENTION=5444464]PunchUp[/MENTION] has a version that requires uninstalling the Play Store version. Does the phh play store version have bits that live elsewhere that makes the punch-up version usable?
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
Yes, of course. It is linked in post #1
[Android Software/Hacking General [Developers Only]] PunchUp:
The reason my builds cannot be installed over phh's is because it's signed with a different key. The new app is still in testing. Once it's done, phh will merge all my code and push it to Play store and elsewhere. In the meanwhile, you may test my build and provide your feedback.
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
Sorry, you are limited to 8 thanks per day

Guh. @#$%&! ;)
[Android Software/Hacking General [Developers Only]] drawde40599:
Very happy

There are a lot of users here say they're waiting, what are you guys waiting for ... It's not Chainfire's "app" anymore , there's absolutely no reason to keep being loyal to complete strangers that don't even have the respect to introduce themselves.

It's time to move on ... JMO . If you don't agree that's cool .

[MENTION=1915408]phhusson[/MENTION] Its working beautifully and Flawlessly on My N6P , thank you .
[Android Software/Hacking General [Developers Only]] imarq24:
OK so I believe I've installed this Superuser successfully but not how do I gain root again on my N6 running PN 8/21 build? More so systemless root? Thanks
[Android Software/Hacking General [Developers Only]] jaben2:
Neither the update zip or the superuser.zip for 229 is working on the 6p I am on N using twrp 3.0.2-1-

I get updater process ended with ERROR: 1

Error installing zip file '/sdcard/download/superuser-r229.zip

I couldn't use the boot.img because I am running a custom kernel and it kept overwriting it

Version 197 does flash though and I do have root access now.
[Android Software/Hacking General [Developers Only]] androcraze:
If you've installed the app, and either modified the boot.img or replaced it with a PHH version, all you should have to do is run an app that uses root. You should get a "toast", asking you to approve running the app as root.
[Android Software/Hacking General [Developers Only]] PunchUp:
Would help if you provide /tmp/recovery.log to phhusson. Fixing the issue is better than using an older version as a workaround.
[Android Software/Hacking General [Developers Only]] jaben2:
I can't seem to find the particular file. Where exactly would it be located at?

Never mind figured it out and pm'd phh.

Thanks