yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] phhusson:
Thanks for your tests!

As for deletion, you can see in binds.c line 131 there are some UIDs checks, can you confirm you pass them? Perhaps it's /system/etc/ instead of /system/etc that you want?

I know I'm missing logs around there :/

To force remove it, I suggest deleting /data/su/binds, and re-adding the hosts one.

What would a --rbind option do? I guess what you want is basically to be able to add files in a folder?

I have thought about it, and I have no good idea for it yet. Various ideas are: Create a system_vendor_overlay folder in tmpfs, with symlinks or mount binds to original system/vendor/overlay (this might need an intermediate mount --bind of the folder in the case of symlinks), then add files in this tmpfs, and finally mount --bind the result to system/vendor/overlay/

But symlinks will have compatilibity problems, and mount --binds may have performance issues because of two many mounts.

Would you mind maintaining a git repo containing those known-imgs, and you send me a PR when there are updates?

Also, what's the difference between signed and signed-fastboot?
[Android Software/Hacking General [Developers Only]] Inphi:
I'm pretty sure i'm passing the uid checks, because i'm running as shell (uid 2000). I've also tried removing both /system/etc and /system/etc/ to no avail.

I just realized that MS_BIND works recursively, as long as the src doesn't contain any bind mounts in its subdirectories. But even if there are bind mounts (really any mounts) in subdirectories, one could use MS_BIND and MS_REC to get the desired behavior.
[Android Software/Hacking General [Developers Only]] SkandaH:
1.

If AFH is good for you. then things will be easier. [MENTION=2948558]Spannaa[/MENTION] & me have covered most of them:

http://xdaforums.com/oneplus-one/general/official-cm11s-roms-ota-updates-t2906746

http://xdaforums.com/yureka/general/yu-yureka-mirrors-official-cyanogen-t3107684

http://xdaforums.com/yu-yuphoria/development/yu-yuphoria-mirrors-official-cyanogen-t3140830

For the sake of simplicity, couple of folks in OnePlus forums (including me) are involved with a website + API for Cyanogen OS OTA tracking, which can also be used when its ready.

Last but not the least, using a git repo is feasible for now as you suggested. Allow me some time to set it up.

2.

3.

I've tested the same on YU Yureka and it works perfectly (as expected).

4.

CyanogenMod File Manager v3.0.0, which is included by default in COS, can't detect root in this systemless approach. I can provide you necessary logcats if required.

:highfive:
[Android Software/Hacking General [Developers Only]] phhusson:
I download firmwares only once, and I keep the boot.img-s forever (there might be some cleanup one day). I don't really care about old firmwares

So I prefer having only last firmware in git, but from official website. buildbot will keep building updated root-ed boot.imgs for older firmware which have already been downloaded.

Unless there are reasons for which you want to support more firmwares? (They update too often?)

Though I do plan on supporting AFH for OEMs which don't have official ROM download.
[Android Software/Hacking General [Developers Only]] SkandaH:
[MENTION=1915408]phhusson[/MENTION]

Umm... not exactly. My idea is to maintain a complete repo of rooted boot images, just like the firmware one. I've already started one for tomato (YU Yureka/Yureka Plus).

Regarding update cycle, COS devices are not so update friendly. Usual time difference between OTAs is around 2-3 months, sometimes more.

If you're planning to grab the latest one always, then it would be better to monitor this page & download the boot-debuggable images directly.
[Android Software/Hacking General [Developers Only]] BreckZeBoulay:
Is it possible to have an alternative way of DL superuser.apk ? (other than Playstore)
[Android Software/Hacking General [Developers Only]] androcraze:
It's in a zip file here, isn't it?

http://superuser.phh.me/

EDIT: Nope. It isn't.
[Android Software/Hacking General [Developers Only]] BreckZeBoulay:
I don't see any apk in superuser.zip
[Android Software/Hacking General [Developers Only]] androcraze:
No, there isn't. My error. The APK should be at http://superuser.phh.me/, for those not in the "Google-Sphere", or perhaps F-Droid.
[Android Software/Hacking General [Developers Only]] phhusson:
It is in F-Droid
[Android Software/Hacking General [Developers Only]] androcraze:
Got it:

https://f-droid.org/repository/browse/?fdfilter=superuser&fdid=me.phh.superuser

You need to have that link a little more prominent :)
[Android Software/Hacking General [Developers Only]] BreckZeBoulay:
I'm totaly agree :D

Thanks both of you !
[Android Software/Hacking General [Developers Only]] VictorLapin:
Last superuser version to be used standalone was r259. r266 requires Magisk. So if you just want root, flash superuser r259 and install superuser app from play store.
[Android Software/Hacking General [Developers Only]] LucentBirch:
Anyone else having issues with having phh magisk su installed and randomly losing it until reboot? Am I missing something here?
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
Wrong thread.
[Android Software/Hacking General [Developers Only]] adrman:
That question is asked every few pages in this thread. A search would have revealed the answer. In any case, simply flash the original boot image from your rom, then uninstall the superuser apk.
[Android Software/Hacking General [Developers Only]] irocevo:
Does anyone have another link to Superuser 2.0 Beta 11.apk . The download page isn't loading for me
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
https://xdaforums.com/showpost.php?p=70150700&postcount=2150

and maybe this

https://twitter.com/xdadevelopers/status/814858638812659712
[Android Software/Hacking General [Developers Only]] irocevo:
Thanks but it looks like download servers are down right now. Looks like I'll have to wait.
[Android Software/Hacking General [Developers Only]] liver20:
Do you tried with valdius rom?

Enviado desde mi ONEPLUS A3003 mediante Tapatalk
[Android Software/Hacking General [Developers Only]] BustedFly:
I have this issue only with phh r275.

With phh r266-2 and Magisk no problem
[Android Software/Hacking General [Developers Only]] laolang_cool:
hello, sorry if the issue is known, superuser r259 can't be flashed in twrp 3.0.3.
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
Please post the recovery log that shows what happens and then the issue can probably be fixed.
[Android Software/Hacking General [Developers Only]] PerfectSlayer:
Hi all and [MENTION=1915408]phhusson[/MENTION]

It looks like I found another bug with bind option (yes I'm still trying add the support for your SuperUser in AdAway).

When su starts and should mount files, it should first copy itself in /dev/su/su.

But before copying itself, it checked if /dev/su/su already exists.

And if it NOT exists, it does NOT the copy (return) instead making a copy only if missing.

static void prepare_su_bind() {
int ret = 0;

//Check if there is a use to mount bind
if(access("/system/xbin/su", R_OK)[COLOR="Red"] != [/COLOR]0)
[COLOR="Red"]return[/COLOR];

ret = copy_file("/sbin/su", "/dev/su/su", 0755);

I send you a PR on Github with the fix and all the details. What do you think about it?

Thanks!
[Android Software/Hacking General [Developers Only]] denilriveraa:
I can not flash the superuser.zip in twrp always shows error 2, how can I fix this?
[Android Software/Hacking General [Developers Only]] khan_frd2002:
[MENTION=1915408]phhusson[/MENTION] its seems the script is not supported by latest twrp

../bootimg.sh[69]: syntax error: '=~' unexpected operator/operand

installation aborted

full log
[Android Software/Hacking General [Developers Only]] PerfectSlayer:
Here is the line 69:

[[ "toto2" =~ "toto" ]] && good_expr=1

Ok, there is a problem with the "=~" operator support detection (and maybe the shell -e option).

As the command fails, the script stops. So the command should be in a subshell if you would like to test its support without breaking the whole script.

I just make a PR on GitHub to fix it ;)
[Android Software/Hacking General [Developers Only]] androcraze:
You could revise your patched version in the AdAway thread. That way TWRP users can benefit too. You'll need to start putting versions on your zips ;)

Thank you for helping with Superuser. You're exemplifying the need and benefit of open source collaboration!
[Android Software/Hacking General [Developers Only]] kep2008:
[MENTION=1915408]phhusson[/MENTION]

Hello. I use the superuser-r275 and Superuser_2.0_Beta_11. Database Editor does not see the root. :crying:
[Android Software/Hacking General [Developers Only]] androcraze:
Already merged. PHH is alive!
[Android Software/Hacking General [Developers Only]] androcraze:
Odd. I wonder if a "Catlog" (or a Matlog) output would be useful.

Have you contacted the app developer?
[Android Software/Hacking General [Developers Only]] dieselbuddeh:
Which policies should I use to make this more like SuperSU? Eng noverity nocrypt, or user, or?
[Android Software/Hacking General [Developers Only]] androcraze:
I don't use SuperSU, but I've had best results with the N5 using "eng", which I believe is the default for the zip. I just flash the zip as-is.
[Android Software/Hacking General [Developers Only]] SirSoviet:
Deleted
[Android Software/Hacking General [Developers Only]] skulldreamz:
Has anyone tried to be able to use phh's superuser on the pixel and if so could you please share the method and steps in order as you used to arrive to this, thanks.
[Android Software/Hacking General [Developers Only]] truneaux:
kinda rooted ?

Hi everyone,

I'm like new to android but very familiar with linux. I got a brand new Nexus 5X from a store and was able to install Copperhead and su with super-bootimg. I tweaked the scripts of the Tor guy Mike Perry which has "mission-improbable" on github. I left out the gapps and the Tor part with orwall as this seems to be dead. As firewall I decided to go for AFwall+.

Now the device is up, everything looks fine, AFwall is filtering packages and blocks unwanted traffic. BUT ... I installed "Root Verifier" and "Network Log" from Fdroid and both seem to not see my mobile as rooted.

"Root Verifier" says not rooted. The java source of Root Verifier seems to try to remount /system in rw-mode as check method, which doesn't work

The "Network Log" complains about non present iptables / netfilter modules in the kernel

So, do these apps simply not work with this way su is implemented and my device is really rooted ? Or did something go wrong in my super-bootimg and my device is only kind of rooted ? Would I need /system rw-remountable for a truly rooted device ?

My guess would be that these apps simly don't work with this su implementation.

Thanks in advance for some explaining words

Happy New Year
[Android Software/Hacking General [Developers Only]] VictorLapin:
You need the Superuser app to grant root access, can be found in the play store (search for phh superuser), or 2.0 beta somewhere in this thread. After you install it, run your verifier. A splash window will appear with grant/deny options. If you grant root to verifier app, all should be good.
[Android Software/Hacking General [Developers Only]] truneaux:
Sorry, I forgot to mention: Superuser v1.0.3.3 is installed and handles the su-requests. Root-Verifier did get it access granted fpr 10 minutes .. but it moans about busybox ... maybe busybox isn't properly installed ... it asks for install every time I open it, I grant su-access bur it doesn't install ...
[Android Software/Hacking General [Developers Only]] skulldreamz:
[MENTION=1915408]phhusson[/MENTION] do you have any testers or know if your Superuser works with the pixel? Appreciate everything that your doing my dude
[Android Software/Hacking General [Developers Only]] ridobe:
Open source.
[Android Software/Hacking General [Developers Only]] matt4321:
Also has full compatibility with magisk should you chose to use that and want root
[Android Software/Hacking General [Developers Only]] NoSyt15:
Thank you.

So much.

For this!

I don't think I could've done it without your zip builds. It took me most of the afternoon, but I now have an open source su app!
[Android Software/Hacking General [Developers Only]] snke:
Hi everyone, latest superuser work with January update? There is a thread with all superuser versions?
[Android Software/Hacking General [Developers Only]] Mynacol:
Go on the buildbot Website, there are a couple of versions (I'm talking about the zips)
[Android Software/Hacking General [Developers Only]] snke:
But are stuck by September...now there is r275 or am i wrong?
[Android Software/Hacking General [Developers Only]] androcraze:
https://superuser.phh.me/ has September as the last update.
[Android Software/Hacking General [Developers Only]] _yen_:
Hello,

r266 is last official build, r275 is a test build from here:

https://xdaforums.com/showpost.php?p=69025291&postcount=1386

I'm currently using the latest one with "eng noverity nocrypt" on an aosp based rom with January patches (and kernel permissive), but better to ask on your phone forum.

bye

yen
[Android Software/Hacking General [Developers Only]] skulldreamz:
I would really like to use your open source su on my pixel xl and I'm trying to get a respond if anyone has successfully flashed your 266 or 275 zip to see if it it works. Thanks
[Android Software/Hacking General [Developers Only]] Tkkg1994:
Why don't you make a backup of the boot.img and flash it? And if anything goes wrong give a recovery log and restore your original boot.img?

Sent from my SuperMan powered SM-G930F
[Android Software/Hacking General [Developers Only]] Sands207:
OP could you add support for the LG LS676V3?
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
It's supposed to work on any device, just use the superuser.zip and make a backup of boot on twrp..
[Android Software/Hacking General [Developers Only]] sceryavuz:
Thanks to [MENTION=1915408]phhusson[/MENTION] Worked with both Zach's Kernel and Stock. SuperSU zip not work but phh work, how? I had been used SuperSU years, now i am using phh. phh is simple and powerful. Thanks again..
[Android Software/Hacking General [Developers Only]] PunchUp:
Because phh is the boss :D
[Android Software/Hacking General [Developers Only]] 24imelqui:
Is 275 for magisk or general user who wants root?
[Android Software/Hacking General [Developers Only]] kyzn:
Well do you just want root or do you need to pass Safety net? If you are the former flash this. The latter needs Magisk. I don't but I like being able to.
[Android Software/Hacking General [Developers Only]] 24imelqui:
I don't use magisk yet. But will I still pass safety net with 275 w/o magisk?
[Android Software/Hacking General [Developers Only]] silvercat:
No it won't pass
[Android Software/Hacking General [Developers Only]] Kr47os:
Hi I have this issue; when tap on Superuser icon take this message. My configuration is RR5.8.0 build 5.8.0 latest 10.2 magisk latest phh root and latest Holo kernel. Selinux state is enforcing and the Superuser app is 2.0 beta 11.

Anyone know how to solve it?

Thanks in advance to everyone for your answer and your time
[Android Software/Hacking General [Developers Only]] Lrs121:
What Device do you have? Also is RR5.8.0 resurrection remix?
[Android Software/Hacking General [Developers Only]] 24imelqui:
I think you need to use the latest zip, r275 for latests magisks.
[Android Software/Hacking General [Developers Only]] Kr47os:
I have a Z00A Zenfone 2 Asus whit x86 processor and yes RR5.8.0 is resurrection remix rom

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

But the problem is when open superuser phh app and not on Magisk. I try thanks for answering
[Android Software/Hacking General [Developers Only]] JohnCorleone:
Hell, I have been using SuperSU since Beta 1! I didn't ever think I would change... but the Magisk, phh Superuser and Magisk Manager are working perfectly with Nougat on my HTC 10! The bootloader even still says Original software, not modified
[Android Software/Hacking General [Developers Only]] JohnCorleone:
Do you also have the Magisk Manager installed? I am about to do this incremental update myself...except I have not found that latest phh Superuser although my head is possible right now

If anyone can steer me in the right direction to get the latest beta, I would appreciate it... Don't bash me if it is somewhere right nearby! ,?
[Android Software/Hacking General [Developers Only]] Kr47os:
Yes I have latest Magisk installed the same configuration of your screenshot
[Android Software/Hacking General [Developers Only]] JohnCorleone:
Make sure it isn't somehow disabled in Magisk Manager...once you get set up and install any modules and such, enable Magisk Hide and reboot then things should be passing any checks...I can't guarantee that if it is a Samsung though...they stick Knox in the kernel, lots of system apps, possibly the modem and bootloader even! The last couple of Sammy devices I had were just infested with monitoring and logging software! I know Google, Facebook and Twitter have all sold us out so I joined Gab.ai , Voat, and Vid.me for the people who are getting YouTube channels closed for investigating the leads about these creepy pedophiles who are very connected with Washington DC elites and Hollywood sickos! Even 4chan and Reddit had these subjects banned from discussion.
[Android Software/Hacking General [Developers Only]] Sam Nakamura:
Say it loud! :good:
[Android Software/Hacking General [Developers Only]] laolang_cool:
sorry for so late...

I changed line 69:

[[ "toto2" =~ "toto" ]] && good_expr=1

with

$([[ "toto2" =~ "toto" ]]) && good_expr=1

still ERROR 1

log attached, thank you!
[Android Software/Hacking General [Developers Only]] JohnCorleone:
Can I get a link for thev10.2 when you get a chance please? There are at least 5 or 6 Magisk threads and I can't remember what I did the first time! I must be exhausted!
[Android Software/Hacking General [Developers Only]] skulldreamz:
Here ya go my dude

https://www.dropbox.com/s/gj52vyht840phww/Magisk-v10.2.zip?dl=0
[Android Software/Hacking General [Developers Only]] X46X:
Hi, I using phhs Superuser, but the Chooses installer can't get root access, other apps working fine but Xposed not, when I try installing Xposed framework it only says that it can't get root access. Anyone know what is wrong?
[Android Software/Hacking General [Developers Only]] skulldreamz:
You first need to flash the latest phh superuser zip and then reboot to the system and install the app
[Android Software/Hacking General [Developers Only]] Younex:
Hi, I am having trouble using root functions with this file manager app : X-plore.

I can't edit/write stuff in the /system partition, permissions are set to 755 but can't be modified as well.

And BusyBox won't install, do I need noverity ?

Device is OnePlus A0001, ROM is Slim7 (7.1.1), Rooted using the stock superuser.zip.
[Android Software/Hacking General [Developers Only]] westeight:
Try Solid Explorer :cowboy:
[Android Software/Hacking General [Developers Only]] Bludwurst:
Eeyup. You need noverity to edit system.
[Android Software/Hacking General [Developers Only]] Younex:
Thanks for confirming

My device is not encrypted, is it of any good to replace "crypt" with "nocrypt_all" ?

I don't have microSD slot so adoptable storage is not an issue for me.

Thanks for the suggestion. I already use Solid Explorer on other devices, but it lacks some features. X-plore is overall more reliable most of the time, faster and lightweight.

I also use Total Commander when X-plore fails, been doing that since switching to a non-rooted ROM.
[Android Software/Hacking General [Developers Only]] Bludwurst:
I just use "noverity nocrypt", myself.

Not that I know what would or wouldn't happen with, say, "crypt" on unencrypted devices.
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
I'm encrypted (always have been) and rooted.
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
As I said, I have always been encrypted, never wiped my data. I have restored it many times via TWRP and TiBu on stock, and other custom ROMS with no problems. Just have a data backup first.

Some months ago I converted from SuperSU to PHH superuser by unrooting with SuperSU, then flashing osmOsis UnSU zip, and then flashed PHH superuser with no problems. I just always make a nandroid first.
[Android Software/Hacking General [Developers Only]] Link_of_Hyrule:
A while back I got this superuser 2.0 beta 11 are there any new versions of this some where?
[Android Software/Hacking General [Developers Only]] orbitthewebv2:
Hi dude , im working on the same problem , drop me a pm and we can smash heads together and help each other. Im currently running copperhead os on its own and trying to workout the mission improbably scripts too.
[Android Software/Hacking General [Developers Only]] Elanza_48:
Works like a charm on my moto e 2015 !!:cool:
[Android Software/Hacking General [Developers Only]] drawde40599:
Aroma

[MENTION=5444464]PunchUp[/MENTION] . Hi , I was wondering if you had a aroma installer version for the latest Superuser build that you could share ? I've been using the one you gave me some months back and I'd like to update to the newest .

Appreciate it
[Android Software/Hacking General [Developers Only]] PunchUp:
Umm I don't think phh has released anything after that
[Android Software/Hacking General [Developers Only]] Ashtrix:
Well Hello,

I never checked the thread, but felt like so cause of SuperSU being proprietary and Closed and the old fiasco of some copy work from Phh to SuperSU by CF, wanted to move. And thanks for those heads up on some cool things :highfive: Waiting for some progress with this Root Solution to make it more compatible across most of the Android use cases.

Also in case if you didn't knew - Windows 10 can be exorcised off the spyware infestation too with DISM tools and use LTSB.
[Android Software/Hacking General [Developers Only]] twin prime:
Please, leave the fake news out of the thread. Thank you.
[Android Software/Hacking General [Developers Only]] Elanza_48:
Sir

Does the superuser beta2.0build11 apk does a verbose logging, and if yes then where is it located.?

---------- Post added at 10:56 AM ---------- Previous post was at 10:54 AM ----------

Can u share the last aroma package again :)
[Android Software/Hacking General [Developers Only]] PunchUp:
What do you need this for?

http://xdaforums.com/android/software-hacking/wip-selinux-capable-superuser-t3216394/post68730104
[Android Software/Hacking General [Developers Only]] Elanza_48:
One thing u can do is ,Remove the magisk and phh supersu or clean flash the rom. Boot the device and make sure the root is set to disabled in developer option. Reboot to recovery and mount the system to rw and browse to /system/bin and xbin, find the su files and delete the both or rename them as su.bak, then flash the magisk 10.2 and install the superuser beta2.0.
[Android Software/Hacking General [Developers Only]] Elanza_48:
Nothing serious, Just for information. Because the superSU does that, so thought this may do the same.
[Android Software/Hacking General [Developers Only]] 24imelqui:
whats the aroma installer for?
[Android Software/Hacking General [Developers Only]] Kapil Tapsi:
How can I remove the root or remove phh from my phone?
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
Flash your boot image or the rom.
[Android Software/Hacking General [Developers Only]] Younex:
Hi, is there any way to preserve root between ROM updates ? (Dirty flashing new builds on top of rooted builds)

TIA.
[Android Software/Hacking General [Developers Only]] androcraze:
If you're flashing a boot image, no, I don't think that will work, as PHH's root modifies the boot.img.

If you're keeping the SuperUser app by dirty-flashing, then all you should have to do is reflash the superuser zip immediately after flashing the ROM from TWRP. That's not that complex.

Is that what you mean?
[Android Software/Hacking General [Developers Only]] Kapil Tapsi:
Thanks.