yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] theincognito:
Hey. Is there anyway to make Adaway work with Superuser? Secondly, from where can I find the latest Superuser zip? The buildbot seems to list only upto v259, but I have seen comments about v266 and v275.

PS: I tried a link given in the comments for v275, but it gave me a 403 error. :/

Help please :(

EDIT : I am LOS 7.1.1 with January Patch. TWRP 3.0.3-1. arm64 device.
[Android Software/Hacking General [Developers Only]] Younex:
I'm dirty flashing entire ROM zips, since it's not possible to flash system images from TWRP. It includes boot img so I guess that won't work.

I'm asking because I was used to pre rooted ROMs where you don't need to reflash SuperSU whenever you update... Right ?

Anyway it doesn't matter too much now, was just curious

Thanks for answering
[Android Software/Hacking General [Developers Only]] zelendel:
Yes that is right. Something you will have to get used to as more and more roms do not come pre-rooted.
[Android Software/Hacking General [Developers Only]] androcraze:
If you want root, you'll have to go with what's available.

I don't want you screwing-up your device, but a thought....

- Root the device with whatever works, that's not "systemless"

- Manually back-up the boot.img

- Use Flashify to install PHH's root zip.

- Un-root your current root.

- Install the Superuser APK.

- Profit.
[Android Software/Hacking General [Developers Only]] _yen_:
Flashify and Kernel Adiutor can both backup and restore boot (and recovery).

bye

yen
[Android Software/Hacking General [Developers Only]] skulldreamz:
Use a terminal emulator or a adb shell and just dd the boot.img to your storage of choice.

Example but DONT use this as my images will be located on different partitions than your phone. So I have a pixel xl so I would...

su

dd if=/dev/block/sda19 of=/sdcard/boot.img

https://goo.gl/photos/DbejLGWZHUH16HLQ6
[Android Software/Hacking General [Developers Only]] Vinicius Bode:
As most of you know, Lineage OS started releasing official builds and they won't come with root.

Is this working on LOS 14.1? If so, I'd like to know what to flash/install on my hammerhead. I've seen so many links that I'm not sure I could pick the right one for my device and ROM.
[Android Software/Hacking General [Developers Only]] BryanByteZ:
As I've read on my device forum (falcon) is working okay try the superuser.zip but first backup your boot.img.
[Android Software/Hacking General [Developers Only]] Mayex:
How do you guys do that? I can't have SafetyNet passed :( I use magisk + phh's su on official Lineage
[Android Software/Hacking General [Developers Only]] Elanza_48:
U need to also disable the adb on developer option to bypass.

whats steps have u did before and after flashing magisk. please elaborate.

u can post me in private.
[Android Software/Hacking General [Developers Only]] Mayex:
I disabled it and still cant pass SafetyNet
[Android Software/Hacking General [Developers Only]] teddy0209:
You can post logs and screenshots at magisk general discussion thread.
[Android Software/Hacking General [Developers Only]] Younex:
It seems that the official LineageOS root zips are based on Superuser and persist after ROM flash (not need to reflash rooting zip everytime)

I think it has to do with phh's being systemless ?

---------- Post added at 08:14 PM ---------- Previous post was at 07:21 PM ----------

I'm a bit confused, it says that 'eng' makes su selinux-perlissive yet I still have to set selinux to permissive manually at every boot... Any idea ?
[Android Software/Hacking General [Developers Only]] Nevermindthelabel:
Quote from op

Currently, four flavors of su are available on the build-bot:

- "eng" which puts "su" in permissive mode. This is the most compatible mode, but you should trust the apps you give root to. This does NOT put SELinux in permissive mode.
[Android Software/Hacking General [Developers Only]] androcraze:
It means that the ROM's author(s) modifies the boot.img during build, so the user has to do nothing other than install the ROM (and install the Superuser APK if it isn't included).
[Android Software/Hacking General [Developers Only]] Elanza_48:
Can u please elaborate what did u do before and after flashing the super su. U can PM me.
[Android Software/Hacking General [Developers Only]] jhadsfi:
Hi I have an HTC 10 with LOS 14.1. When I try flashing the zip through twrp it fails throws error 1 and says error installing zip. Any idea how it can be resolved?
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
Which zip exactly, there are more than one to choose from...
[Android Software/Hacking General [Developers Only]] jhadsfi:
Superuser.zip and r259. I also tried with no verity and no crypt but didn't work.
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
It's a repacking issue, for me superuser.zip works all the time.. Download & flash without unpacking it or try a different file explorer
[Android Software/Hacking General [Developers Only]] jhadsfi:
I did that the first time. I didn't even open it. Just downloaded and flashed through recovery. After that failed I tried different options.
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
OK, so the error mentioned first is from repacking the zip, try this again with a different file explorer.. It took me 2 or 3 different file explorer to successfully repack it
[Android Software/Hacking General [Developers Only]] jhadsfi:
But I just told you. First time I tried flashing I did not touch the zip at all. I downloaded it booted into recovery and flashed. And got error. After it failed I tried to unpack and repack the zip. Anyway I will try with another file manager. Which one did you use?
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
I understood that but changing the configuration didn't work for you yet, because recovery wouldn't even flash the repacked file..
[Android Software/Hacking General [Developers Only]] jhadsfi:
Hmm. So changing configuration should help me flash this? Thanks for helping! Which file manager worked for you? I'll try that one.
[Android Software/Hacking General [Developers Only]] kryzeK:
Hi, please can anyone reply some questions?

I'm on rooted stock 6P with SuperSU, the latest version of FlashFire added support for this superuser (I think).

My questions is:

1. When using FlashFire for update my phone, superuser is losted?

2. I can install this superuser using only the zip? Or a need a patched kernel?
[Android Software/Hacking General [Developers Only]] Didgeridoohan:
Not quite. Flashfire added support for the Magisk version of this superuser. Go to the Magisk forums instead...
[Android Software/Hacking General [Developers Only]] dnle71:
Titanium backup is not detecting root, however, as a workaround, root in development settings works alongside this one.
[Android Software/Hacking General [Developers Only]] Primokorn:
Logs or it didn't happen.

No issue here with TiBu on Nougat.
[Android Software/Hacking General [Developers Only]] jhpdroid:
I had a similar problem once, I deleted

/system/xbin/su and TiBu was happy again.
[Android Software/Hacking General [Developers Only]] dnle71:
You're right! It did solved the issue. Thanks!
[Android Software/Hacking General [Developers Only]] Mar-cel:
Update error 1 in TWRP with latest v170
[Android Software/Hacking General [Developers Only]] androcraze:
Device? ROM? TWRP version?
[Android Software/Hacking General [Developers Only]] Tkkg1994:
Twrp 3.0.3 due to mksh instead of sh used

Sent from my SuperMan powered SM-G930F
[Android Software/Hacking General [Developers Only]] kerbiii:
Im getting failed when trying to flash this on recovery, im from Supersu root Beta v2.67 and i fully unroot using the app, when i try to flash the phh it fails and when i try to root using magisk phh root it flash succesfully but booting i dont have root installed
[Android Software/Hacking General [Developers Only]] Mar-cel:
Device: OnePlus 3

Rom: RR 7.1.1

TWRP : 3.0.3
[Android Software/Hacking General [Developers Only]] frajofa:
As the last update of post 1 is from Jan. 2016, I don't know if I can use phh's in this situation:

Lineage OS official 7.1.1.

Twrp 3.0.3-0

LG G3 D855​

Thank you
[Android Software/Hacking General [Developers Only]] quintas84:
I use https://superuser.phh.me/superuser.zip without any problems....

Not any r....
[Android Software/Hacking General [Developers Only]] Regionella:
it worked at oneplus 3t. thanks.
[Android Software/Hacking General [Developers Only]] intxeon:
where did you get twrp 3.0.3 ?
[Android Software/Hacking General [Developers Only]] Tkkg1994:
Build it from source code of course
[Android Software/Hacking General [Developers Only]] gwynlordofcinder:
I want to replace SuperSU with phh superuser but I am unsure what the correct procedure is. Is it possible to install phh over SuperSU without wiping my device? I am running Nougat 7.1.2 on a Nexus 5X.
[Android Software/Hacking General [Developers Only]] matt4321:
Just use the unroot option in supersu, reboot, boot up phone and make sure all root is gone, download superuser.zip and apk, reboot to recovery, install superuser.zip, boot up phone, install superuser apk. Profit
[Android Software/Hacking General [Developers Only]] tag68:
Short addition: The unroot option of SuperSu is not always working reliable. There is some Unsu.zip around which should do better.
[Android Software/Hacking General [Developers Only]] theincognito:
How to disable mount namespace separation? I had that option in SuperSU, but I have switched to Superuser and I don't see that option anymore. Are there any commands that I could use?
[Android Software/Hacking General [Developers Only]] poboy975:
Hi, I accidentally hit the security, superuser access, disable, and not I can't reenable. And I have no more root. I've also tried to re root with no luck.
[Android Software/Hacking General [Developers Only]] androcraze:
Can you reinstall the boot.img? Do that, then re-root.

If you can't individually reinstall boot.img, you may have to reinstall your ROM.
[Android Software/Hacking General [Developers Only]] sijav:
bricked my device Sony Xperia Z5 Compact E5803 running android 7.0 build 32.3.A.0.376 flashed with TWRP, bootloader is unlocked, couldn't get a log, looks like kernel does not boot at all! (although it flashed successfully :()
[Android Software/Hacking General [Developers Only]] gr8st:
I have z3c and have never experienced any bricks with phh. But if you can't even get into recovery and it's full black screen on boot. Then just use flashtool to get into fastboot mode and flash stock kernel boot.img/boot.sin to get everything working again since phh only touches boot partition.
[Android Software/Hacking General [Developers Only]] AnonVendetta:
This is the best superuser I've seen yet. I like it so much that I've switched to this from SuperSU. But it has one missing feature, the ability to run su.d scripts. The Magisk version of phh can do this, but [MENTION=4470081]topjohnwu[/MENTION] dropped supporting his version of phh in favor of his own MagiskSU. I've had trouble with Magisk recently, so I stopped using it.

Any way to get su.d support with the regular version of phh? I noticed that [MENTION=1915408]phhusson[/MENTION] mentioned it in some documentation, but it doesn't seem to work.

Thanks!
[Android Software/Hacking General [Developers Only]] drawde40599:
Which file explorer finally worked for you ? All I've tried repack fine but they won't flash with TWRP
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
I think it was solid Explorer or file explorer, ES didn't work..

https://play.google.com/store/apps/details?id=pl.solidexplorer2

https://play.google.com/store/apps/details?id=nextapp.fx

But a while back I switched to Magisk so my memory might not be the best...

https://play.google.com/store/apps/details?id=com.topjohnwu.magisk

Did you tried to do a search inside this thread, there're certainly references about the repacking after changing the configuration..
[Android Software/Hacking General [Developers Only]] adrman:
FX wouldn't work for me. Root Explorer is fine.
[Android Software/Hacking General [Developers Only]] drawde40599:
Neither root explorer or solid explorer would work for me , they repack and create the zip just fine , it won't flash with TWRP though .
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
What about root Explorer? Like suggested just a post before..
[Android Software/Hacking General [Developers Only]] RobotPhone:
I wonder if your zips aren't preserving unix permissions. I think there's a special extension that can preserve permissions for zip files, but not sure which android programs do this.

I only know this because I'm about to backup my linux os and need to preserve permissions. You'll see tar.gz in unix quite a bit. The tar part preserves permissions and the gz part compresses. Zip file permission preservation is hit or miss, but mostly miss from what I read.

Anyway, you may want to try this as a test. Unzip your zip file into a directory, go to a terminal, and 'ls -al' the directory and see if the permissions are funky.
[Android Software/Hacking General [Developers Only]] tag68:
My guess is that storing the permissions in the zip archive is quite standard. The problem is that any Android app needs to be acting as root when extracting to succeed setting them. My recommendation would be to use Total Commander, it should always behave fine.
[Android Software/Hacking General [Developers Only]] Younex:
It has been answered here
[Android Software/Hacking General [Developers Only]] hobie99:
what is that ? how can u delete ? tutorial ?
[Android Software/Hacking General [Developers Only]] tag68:
My guess: If /system/xbin/su exists, there was an installation of SuperSU which was not systemless. Deleting it removes this.

If you never installed SuperSU on your system, this probably does not exist. This explains why some apps complain. SuperSU and phh superuser won't work at the same time.
[Android Software/Hacking General [Developers Only]] Berdi86:
Superuser Binary update

There comes the Info superuser binary is outdated....

What should i do? I have Xperia z5, original Firmware from last week, with customized Kernel from a verry clever developer.

I don't want to mod or remod the kernel myselve, becouse i'm not such genious, and additionally the kernel is fixed with drm tweaks and much other work what i never could.

---------- Post added at 11:34 PM ---------- Previous post was at 10:59 PM ----------

There comes the Info superuser binary is outdated....

What should i do? I have Xperia z5, original Firmware from last week, with customized Kernel from a verry clever developer.

I don't want to mod or remod the kernel myselve, becouse i'm not such genious, and additionally the kernel is fixed with drm tweaks and much other work what i never could.
[Android Software/Hacking General [Developers Only]] smardu:
same here

Is your phone encrypted? I have the same issue but only after encryption.
[Android Software/Hacking General [Developers Only]] wrecklesswun:
i'd volunteer for the devices i have, Nexus 6, Mate 9, Axon 7, Zenfone 3 deluxe
[Android Software/Hacking General [Developers Only]] celderic:
+1
[Android Software/Hacking General [Developers Only]] #Henkate:
I can confirm that is working on my Galaxy J5 (2015) running LineageOS 13 (lineage root has been lost for some reason since I'm using other kernel). Never going back to SuperSU.

Open Source FTW!
[Android Software/Hacking General [Developers Only]] chrcol:
Can anyone answer my question thanks.

I have updated magisk manager and magisk to latest versions.

I have working root still with supersu, but I want to switch to magiskSU but seems no guide or button in the app to do this.

I read magisksu is now built in and no longer phhsupersu.

So this means I dont download from the first post here to activate magiskSU?
[Android Software/Hacking General [Developers Only]] Nevermindthelabel:
It's all included in magisk zip, nothing else to download or flash
[Android Software/Hacking General [Developers Only]] franzyroy:
[MENTION=1915408]phhusson[/MENTION]

In the case where I would remove this root. How have I to make? With Chainfire supersu, we can make it via the app but in your app, I don't see how.
[Android Software/Hacking General [Developers Only]] Black-FR:
Flash the boot.img of your ROM again, then phhSU is gone.

(Ok, you have to uninstall the app too, which works via the normal system settings)
[Android Software/Hacking General [Developers Only]] franzyroy:
Thanks!
[Android Software/Hacking General [Developers Only]] SkyeNymph:
Is this still actively developed?
[Android Software/Hacking General [Developers Only]] jhedfors:
This thread is about the standalone PHH superuser only, and nothing to do with Magisk.

Questions about Magisk needs to be made in the Magisk thread (of course after reading the OP, and searching the threads).
[Android Software/Hacking General [Developers Only]] androcraze:
Yes. It's slow, deliberate development, but yes.
[Android Software/Hacking General [Developers Only]] SkyeNymph:
Alrighty, another question. I use HalogenOS, and this is supported, but it doesn't show in my settings menu, is there a way to make it show there?

EDIT: Nevermind, it is no longer supported it turns out. Foopy
[Android Software/Hacking General [Developers Only]] pure.by:
What?
[Android Software/Hacking General [Developers Only]] SkyeNymph:
The ROM I am currently using does not support phh's superuser officially.
[Android Software/Hacking General [Developers Only]] pure.by:
O_o

You're using an OEM ROM, what did you expect? Of course it does not support root "officially". That's exactly why you need to root and install PHH...
[Android Software/Hacking General [Developers Only]] SkyeNymph:
I am not using an OEM ROM.... I am using Halogen. And unless the superuser options show in the settings I won't use them. OCD is a b*tch
[Android Software/Hacking General [Developers Only]] Younex:
Lol in my case it's the complete opposite ? I don't like when ROMs have integration of supersu or superuser, because that way I can't hide it using a launcher, it eats up space in the settings list, can't change the way it looks (e.g SuperSU had themes).
[Android Software/Hacking General [Developers Only]] SkyeNymph:
Anyone know if there is a good rom for the OnePlus 2 that integrates this superuser? I don't want a closed source root program from some unknown chinese company on my phone, and lineage roms just aren't there yet so it is phh's or nothin'
[Android Software/Hacking General [Developers Only]] Mynacol:
You can simply flash/install phh's superuser on top of your current ROM. There is no need for direct ROM integration!
[Android Software/Hacking General [Developers Only]] SkyeNymph:
I've already mentioned there is. If it doesn't show in the settings menu it bothers my OCD
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
Do any of the ROMs support MagiskSU? That's based on this one and is also open source.
[Android Software/Hacking General [Developers Only]] SkyeNymph:
Yeah but Magisk comes with way too many features, many of which I don't want, I just want root.
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
So then don't use the other features, lol. If you only install it, all it will do is root your device.
[Android Software/Hacking General [Developers Only]] SkyeNymph:
Eh, it is redundant, I'll just keep looking for another ROM
[Android Software/Hacking General [Developers Only]] Bludwurst:
Magisk has the option to disable everything but root.
[Android Software/Hacking General [Developers Only]] SkyeNymph:
Yeah but it will still be installed on the system, and I'll still have the Magisk menu in my settings, which I don't like, I'll just look for a rom, thanks anyway
[Android Software/Hacking General [Developers Only]] Bludwurst:
OmniROM integrates Superuser in the settings. I wouldn't know if it's available for your device, though.
[Android Software/Hacking General [Developers Only]] SkyeNymph:
Nope it is not, thanks for the help though
[Android Software/Hacking General [Developers Only]] ashyx:
I've heard it all now. :silly:
[Android Software/Hacking General [Developers Only]] pure.by:
Many will disagree, but my 2¢: perform a clean install when switching from closed-source su to an open-source one.

You never know what was done to your system prior to switch and whether backdoors have been installed.

If clean install is for some reason unacceptable for you, just unroot according to SuperSU instructions, reboot, and root again using PHH instructions. All info can easily be found in recent posts in this thread and using little Google.

P.S. Try putting logs under spoiler or in a text file next time (-;
[Android Software/Hacking General [Developers Only]] dnlilas:
[MENTION=2309555]pure.by[/MENTION]

Thank you for your suggestion: I will try to reinstall stock ROM from scratch, without any root,

then to apply PHH superuser.

Note: as far as I know, PHH superuser only patches the boot partition (boot.img), so I already tried to reflash

stock ROM's boot.img then apply PHH superuser. But the result is the same as shown in log file,

segmentation fault during bootimg-extract:

+ cd /tmp/tmp.Gjspox
+ /tmp/superuser/scripts/bin/bootimg-extract /dev/bootimg
Segmentation fault
+ cleanup
+ rm -Rf /tmp/tmp.Gjspox
Updater process ended with ERROR: 139

Edit: I just tried to install stock ROM from scratch, then apply immediately PHH superuser. Same failure with Segmentation fault in bootimg-extract :(.
[Android Software/Hacking General [Developers Only]] BenHD:
Hi,

somehow I can't install phh's SuperUser.

Here is a screenshot from the google play store > http://i.imgur.com/A6Yjluc.jpg

And here if I download the apk and try to install it > http://i.imgur.com/Q2HxVgr.jpg

I check, I don't have "SU" apps installed

Could somebody please point to to what I am doing wrong?

Thanks,

Ben
[Android Software/Hacking General [Developers Only]] ktmom:
The 505 error is usually fixed by;

1) clear data and cache for the play store.

If that doesn't work try;

2) remove google account from phone then add it back.
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
Your 2nd screen shot shows you already have a package by that name installed. You have to remove that one first to install this one.
[Android Software/Hacking General [Developers Only]] BenHD:
Hi ktmom, thanks for your help, unfortunately that didn't help

---------- Post added at 09:36 AM ---------- Previous post was at 09:16 AM ----------

Hi Pkt_Lnt, I am not sure how I can delete the app, could you please point me the right direction.

With googles help I only find guides how to remove bloatware, phh's SuperUser doesn't show up in my App Manager: http://i.imgur.com/oKIp7lt.png

Thanks,

Ben
[Android Software/Hacking General [Developers Only]] ktmom:
I'd be inclined to factory reset.
[Android Software/Hacking General [Developers Only]] BenHD:
That work, I got root, thank you guys very much!