yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] linkultima:
Hi, I have a note 5 with a custom ROM. I have tried different custom roms with custom kernels and after unrooting them and trying to flash superuser-r266-hidesu.zip, it always gives me the ERROR:1 saying that it could not be installed.

Whan can I do? Is it a kernel problem ? or a custom rom problem?

Edit: When I unroot I select not to restore boot.img, do I need to restore it or just unrooting by deleting the SU app and deleting the folders work? On some customs roms it wont let me restore original boot.img

Regards.
[Android Software/Hacking General [Developers Only]] Tesla:
Everything you need is for you to find if you search.

Magisk and xposed no longer works.

I will do you a favor.

http://xdaforums.com/apps/magisk/discussion-pokemon-magisk-discussion-t3465722
[Android Software/Hacking General [Developers Only]] stokholm:
Wait, Captain_Throwback, 4RK4N and elreydenj. Are you using Magisk? I'm pretty sure Magisk does its own stuff regarding the hosts file specifically. I might be going mad here, but Captain_Throwback, you did extensive support and testing with Magisk, you know how it deals with the hosts file, right?

Anyway, if you are NOT using Magisk guys, try this:

First make sure /data/hosts exist (note, I'm not using /data/data/hosts in my examples here). Tell AdAway to write to that file, apply but never create a symlink. It will say it's disabled.

IMPORTANT! # means root, $ means normal user.

# rm /data/su/binds
$ su --bind --ls (make sure it's empty)
$ su --bind /data/hosts:/system/etc/hosts
$ su --bind --ls (make sure the bind is created)

Reboot

, then, if it's not working, post the output of (remember # means root, $ means normal user):

$ su --bind --ls

# mount | grep hosts

# ls -l /data/hosts /system/etc/hosts

EDIT: And everyone, please stop talking about AdAway_systemless_hosts_v2.zip. It's for SuperSU only.
[Android Software/Hacking General [Developers Only]] Lorien_Silmaril:
Hmm, so I have some mixed success with the suhide..

I have a Galaxy Note 3 (N900T), and my wife has a Galaxy Note 4 (N910T3).

Galaxy Note 3: Running a custom ROM (AryaMod Edge 7 port). After unrooting the preloaded Chainfire SuperSU, I was able to simply flash phh's suhide (r266) to pass SafetyNet test. (DO NOT install Magisk! At least in my case, having Magisk V7 installed made the SafetyNet test fail).

Galaxy Note 4: Running rooted stock ROM (latest official MM). After I unrooted via SuperSU's built-in unrooting feature, I flashed phh's suhide... but for some reason, this does not allow this phone to pass the SafetyNet test. :(

I am a bit confused about the case with the Note 4, if anything I would have expected the custom ROM of the Note 3 to have a tougher time passing SafetyNet (since that ROM has a lot of tweaks built in). Anybody might know what's up with the stock ROM on the Note 4?

EDIT: I think I figured it out... in the case of the Note 4, when I unrooted, I had to enter "Yes" when prompted by SuperSU if I wanted to restore the stock boot image.
[Android Software/Hacking General [Developers Only]] Enzomatrx:
Excellent work! But like Magisk on a Moto X 2013 I have found when this is flashed, the touchscreen does not work. I searched this thread for "touch" or "moto" and didn't find this reported. I was using suhide with Chainfire's SU and everything worked, so I think it is something in this that breaks the touch screen.

Anything I can do to help out?
[Android Software/Hacking General [Developers Only]] adrman:
The same with /data/data/hosts if your using it instead. When I went to Nougat I received an error trying to create the bind mount until I created a blank hosts file first. I don't remember having that issue on MM. Also, on MM you only were asked by Adaway about creating the symlink on the first download. Under Nougat, it's every time.
[Android Software/Hacking General [Developers Only]] HamsterHam:
Safetynet fails here with the superuser beta 6.0 and r266 zip. Tried everything I can think of. Any ideas anyone?
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
You must have something else installed that is causing it to fail.
[Android Software/Hacking General [Developers Only]] =m=:
Amazing work! r266 ran perfectly on my oneplus one and passed the SafetyNet test.

Any plans to include a on-phone method to add additional process to hidesu (similar to suHide)? Currently hidesu only filters out com.google.android.gms.unstable, and I do not have the skills to modify your hidesu.c . I would like to also hide both (com.citrix.mail) and (com.zenprise) from root detection. Can anyone with the skills to do so assist me?

Once again, thanks for the excellent work!
[Android Software/Hacking General [Developers Only]] HamsterHam:
Strange, suhide was working fine but now that failed I thought I'd use this.

Completely removed supersu and flashed 266 and installed superuser beta and it doesn't pass. So can't see what I have installed that is making it fail. Hmm.
[Android Software/Hacking General [Developers Only]] alexpower:
Works fine

Ice 2.2.2 tbalden kernel

Phh r266

Gesendet von meinem HTC 10 mit Tapatalk
[Android Software/Hacking General [Developers Only]] 4RK4N:
see the attached screenshot. su --bind --ls says its there, mount | grep cant grep anything, ls -l like always 56 byte system hosts. basically i alrdy tried what u suggested anyway xD

[MENTION=1915408]phhusson[/MENTION] can this be a bigger prob with bind on nougat?

edit: xda labs messes up

blocks -.-
[Android Software/Hacking General [Developers Only]] 4RK4N:
ofc rebooted. not using magisk anymore until magiskhide is released. in its current state magisk itself trips safetynet. afaik phh_r266-hidesu is the only root not failing safetynet atm.

edit: tupac4u's stock+ rom (october stock just debloated) and elementalx kernel if it matters.

edit2: atm i have no busybox. that got removed along with superSU. could that be the issue?
[Android Software/Hacking General [Developers Only]] kingwp1:
How do you remove r259 from within the app? I can't figure out how to do it.
[Android Software/Hacking General [Developers Only]] yung40oz84:
I am in the same boat, I only used the superuser suhide zip and the beta superuser app and I am still failing.........not sure why?
[Android Software/Hacking General [Developers Only]] stokholm:
Did you reflash stock boot image, from the factory image, before flashing phh's Superuser? What I'm thinking is that something might be wrong with the ramdisk.

I'm on ElementalX too. Stock system image though.
[Android Software/Hacking General [Developers Only]] ridobe:
Not really sure if it helps but I never could get it to work through terminal. Used adb shell and it worked immediately.
[Android Software/Hacking General [Developers Only]] stokholm:
Really!? Yeah, definitely try that. I always used adb shell.
[Android Software/Hacking General [Developers Only]] craigacgomez:
Check if you have a /system/xbin/su? I had and since hidesu binds /sbin to /system, if su is in /system/xbin, SafetyNext check fails.
[Android Software/Hacking General [Developers Only]] 4RK4N:
yes. the rom zip flashed factory boot.img after /system and i also answered yes on supersu full unroot to restore stock boot. so that shouldnt be the issue.

ok will try adb and report back.
[Android Software/Hacking General [Developers Only]] bezeek:
Beautiful, thanks so much! Before I go and make any stupid assumptions while toying with init functionality, would you kindly confirm the su binaries in the phhusson/super-bootimg/scripts/bin master branch are built from the current code in the master branch of phhusson/Superuser/Superuser/jni/su?
[Android Software/Hacking General [Developers Only]] HamsterHam:
No su in bin or xbin.
[Android Software/Hacking General [Developers Only]] stokholm:
Yeah, Terminal Emulator is not working. Don't know what it's actually doing when you execute "su --bind", but it's clearly wrong. Nice to know!
[Android Software/Hacking General [Developers Only]] crackerstyle:
Got this working on my Nexus 6 and am able to use Pokemon Go. I did the same thing (uninstalled Magisk, flashed r266+hidesu in recovery) on my gf's Galaxy S5, and the phone boots fine, recognizes root in TiBackup, but Pokemon Go still doesn't work on that one. Is this not working on the S5 currently?
[Android Software/Hacking General [Developers Only]] ridobe:
Here is what I did. I just did this from scratch for my new 5X on Monday.

superuser-r242.zip: noverity/nocrypt

-adb shell

-su --bind --ls

-delete /data/su/binds - had to do this through the phone. Wouldn't let me do rm.

-su --bind /data/data/hosts:/system/etc/hosts

-reboot

-apply hosts in adblock but say NO to symlink.
[Android Software/Hacking General [Developers Only]] 4RK4N:
thanks u so much guys. adb shell instantly worked. still passing safetynet. i had some weird uid or w/e at the start of su --bind --ls output. probably the uid of the terminal app i used. with connectbot i had a different number at the beginning of the output.

now its 2000 like in ur screenshot. also adaway reports enabled after rebooting.

u dont happen to know how to get a busy box working? also with bind i guess.
[Android Software/Hacking General [Developers Only]] ridobe:
With noverity, BusyBox on rails applies immediately for me.
[Android Software/Hacking General [Developers Only]] gunz.jones:
You may need to restore the boot image from odin for the s5. Cannot use a custom kernel or anything other than flashing the suhide 266 and using phh superuser. My note 4 was being weird and that was how I fixed it.
[Android Software/Hacking General [Developers Only]] 4RK4N:
safetynet helper still green?
[Android Software/Hacking General [Developers Only]] ridobe:
Oh, no. Sorry, not worried about safetynet.
[Android Software/Hacking General [Developers Only]] yung40oz84:
I ended up getting it to work but now I ran into a problem, I didn't know superuser doesn't work with Arise/Viper, fails to detect root to install driver
[Android Software/Hacking General [Developers Only]] HamsterHam:
Got it to work, cheers! Custom kernel I was using was the reason. Flashed Roms stock kernel and it works. Cheers!
[Android Software/Hacking General [Developers Only]] crackerstyle:
I'll have to look into that. Admittedly I don't know much about the S5 process. Her phone is a rebranded VZN phone for Straight Talk, and was stuck at 4.4.2. I loaded a VZN 5.0 ROM that I thought was stock back when I put Magisk on it but maybe it still had a custom kernel, I don't know.
[Android Software/Hacking General [Developers Only]] gunz.jones:
It could be magisk causing the issue and when you ran the uninstall it did not fix the boot.img correctly. Seems to be another common issue. Unless you made a backup of the stock boot.img that you can restore.
[Android Software/Hacking General [Developers Only]] crackerstyle:
Wonder if dirty flashing the rom back on top would work. Worth a shot I suppose.
[Android Software/Hacking General [Developers Only]] gunz.jones:
Anything is worth a try.
[Android Software/Hacking General [Developers Only]] crackerstyle:
Yeah Odin and I have a love/hate relationship right now. I somehow managed to wipe her phone just installing TWRP using Odin. Anything I can do to just use TWRP is going to make me feel better about it hahaha.
[Android Software/Hacking General [Developers Only]] elreydenj:
Worked beautifully and i learned a bit more about how to use ADB! Thank you. I stumbled a bit in the beginning because i didnt have the hosts file in system/etc already. I manually copied it from data/data/hosts and then it worked. Was it supposed to be understood that system/etc/hosts already existed from a pre install? Thanks again!
[Android Software/Hacking General [Developers Only]] bhiga:
Same here with both r266-hidesu and r273 on Galaxy S5 SM-G900T stock 5.1.1 build G90TUSVS1FOL1
[Android Software/Hacking General [Developers Only]] steviemch:
Many thanks, adb shell command works without a hitch and Adaway is working again.
[Android Software/Hacking General [Developers Only]] Kyrat:
[MENTION=2961139]bezeek[/MENTION] I have a question, do I have to uninstall Magisk v6 before the installing of Magisk v7?
[Android Software/Hacking General [Developers Only]] Tesla:
Yes.

Do a complete uninstall. You will get a new uninstaller with v7, a new app, and of course a new zip.
[Android Software/Hacking General [Developers Only]] bezeek:
If you're posting in this thread because you want to use phh's Superuser and still pass SafetyNet, Magisk needs to be uninstalled entirely. Otherwise, v7 should dirty-flash just fine over v6. Make a backup of your boot partition just in case, or grab a clean copy from your ROM or custom kernel.
[Android Software/Hacking General [Developers Only]] Kyrat:
Thank you, I have to unroot my phone right?
[Android Software/Hacking General [Developers Only]] Syoenth:
I fully unroot my Samsung S3 and SafetyNet pass, but after I installed the phh superuser with hidesu SafetyNet fail to pass, why? I'm using Resurrection Remix
[Android Software/Hacking General [Developers Only]] mrxtc89117:
I have Resurrection Remix on LG G3 and it passes safetynet.

uninstall magisk

uninstall xposed

unroot

install superuser-hidesu

install phh superuser from play store.
[Android Software/Hacking General [Developers Only]] galarond:
i was just wondering how r u unrooting a custom rom, only with the full unroot option in the supersu app? cause that will give you a bootloop cause theres no stock boot only the one with custom rom...
[Android Software/Hacking General [Developers Only]] mrxtc89117:
I do full unroot from supersu. No bootloops for me. No custom kernels. no other weird stuff.
[Android Software/Hacking General [Developers Only]] Syoenth:
I just install the ROM, I unrooted it by deleting /system/bin/su and /system/xbin/su, then flash superuser-hidesu and phh superuser and nothing, still fail SafetyNet :(
[Android Software/Hacking General [Developers Only]] mrxtc89117:
No, I installed rom, then install supersu. Then unroot using supersu. I don't do any manual deleting of files. It does not matter what version of supersu. I used the normal 2.76. I just use it to unroot.
[Android Software/Hacking General [Developers Only]] magnum73:
Is there an uninstaller for ?
[Android Software/Hacking General [Developers Only]] Syoenth:
That works for me to unroot, I test the SfaetyNet and passes flawlessly
[Android Software/Hacking General [Developers Only]] bezeek:
If you or your ROM installed SuperSU, then use the SuperSU app to unroot. Otherwise, uprooting first is typically optional.

Once again: flash a backup copy of your boot partition or a clean one from your ROM or custom kernel. (Seriously, this was literally answered on the previous page, and ten times before in the last two days.)
[Android Software/Hacking General [Developers Only]] linkultima:
m also havig prooblems with customs roms on NOTE 5, I have tried Sick Rom, Darth Stalker rom and unrooted both of them fully (restoring boot image) and just by removing SU from system and no luck at all with safety net

Installing superuser-r266-hide fails or if it gets to install safetynet always gives an error on custom roms, I guess it detects a custom kernel .

I went to stock TMO ROM and flashed superuser-r266-hide but it gets stuck at samsung logo with boot loop :(

What can I do?

Regards
[Android Software/Hacking General [Developers Only]] MiePx3:
Do I miss something? I uninstalled root via SuperSU App and flashed superuser-r266-hidesu. SaftyNet works, but now I dont have root at all!
[Android Software/Hacking General [Developers Only]] mrxtc89117:
Did you install the phh superuser app from the Play Store?
[Android Software/Hacking General [Developers Only]] magnum73:
Once again: flash a backup copy of your boot partition or a clean one from your ROM or custom kernel. (Seriously, this was literally answered on the previous page, and ten times before in the last two days.)[/QUOTE]

Damn,I missed that ! Sorry.

Does somebody have a clean copy of the boot partition of this one ? Or is that same as boot.img ? In that case I can extract it from the ROM zip file ? See attachment:
[Android Software/Hacking General [Developers Only]] galarond:
Tried M8, Dr keatan ROMS, both bootloop when i put yes in the warning in supersu option to fully unroot. Note 5 btw
[Android Software/Hacking General [Developers Only]] MiePx3:
Yes, directly after flashing r266
[Android Software/Hacking General [Developers Only]] mrxtc89117:
I don't know then. That's what I did. I had problems flashing it with twrp because the LG G3 has a locked bootloader. I used flashfire from the play store. twrp would not flash it correctly
[Android Software/Hacking General [Developers Only]] beatLeo:
Works perfectly on huawei Y6, pokemon go ok, and titanium backup too. I'll try later adway. Many thanks to the developer for his effort.
[Android Software/Hacking General [Developers Only]] kyrunter3:
Anyone got r266 working on Galaxy S6 ? im always stuck on boot logo after flashing it . im on stock 6.0
[Android Software/Hacking General [Developers Only]] phhusson:
Erf, that's the exact same issue, I must have failed my release somehow.

Could you first try http://phhusson.free.fr/root-tb3.img ?

Could be. --bind didn't get a lot of love from me, I've never tested it on N

I'm not promising the versions matches exactly, but that's the idea yes.

Well, SafetyNet finds su first in /system/xbin/su before finding it in /sbin :P

But yes that could be a problem indeed (actually on my early development I hit this exact problem, the ROM I was using had a /system/xbin/su)

If I get the motivation to do directory binds, I'll also hide su if found in system/xbin, but that's for another day...
[Android Software/Hacking General [Developers Only]] sansnil:
I wonder if there was some way to make the installed directory names random when flashed if that would defeat Safetynet fails because it's looking for certain directory names/files.
[Android Software/Hacking General [Developers Only]] dtriguero:
can confirm working on my s4 I can now play pkgo with my kids again using r266-hidesu zip but sadly had to remove everything I've been using for years(xposed and supersu) but fun time with my boys is worth it thank u for ur had work and making it possible again

sent from my SGH-M919 BadAss TinkerToy
[Android Software/Hacking General [Developers Only]] b.eslabon:
i know its just a demo release (but i works thanks).

i want to know how can i uninstall r266? im using samsung stock rom only.
[Android Software/Hacking General [Developers Only]] rling:
Are you sure you want to flash your phone with a LOCKED bootloader???
[Android Software/Hacking General [Developers Only]] galarond:
can anybody upload the supersu modified zip and the hide one to another place, im getting network error since yesterday.
[Android Software/Hacking General [Developers Only]] mrxtc89117:
Not as easy as it seems. These apps rely on tokens issued by safetynet from the google servers. I think for example pokemon go renews these requests every few minutes. So if you unroot and play, then turn on root, you wont get a token next time a request is made, which will prevent you from playing the game any further.

That's my little understanding of how it works.
[Android Software/Hacking General [Developers Only]] Aldo6:
I've searched this thread like crazy and haven't found a single UNINSTALL or REMOVE flashable zip for this PHH's HIDESU, anybody?

I returned to Chainfire's SuperSU and I'm stuck in bootloop and I think this is the reason (inappropiate uninstall).

Please. :)
[Android Software/Hacking General [Developers Only]] bezeek:
Well then... some day I'm going to sneak up on you with a couple PRs to make su a module of your other repos, and you will rue the day you maybe forgot to document, commit, and push your changes before distributing... maybe. :cool:

(P.S. Your brainstorming with lbdroid on phhusion/Superuser issue 4 was both a fun and informative read. I love it when the opportunity arises to observe how a critical thinking challenge such as that one unfolds.)
[Android Software/Hacking General [Developers Only]] Rls4ever12:
Dirty flash your rom
[Android Software/Hacking General [Developers Only]] crackerstyle:
As an update, I dirty flashed the ROM I have on the S5, unrooted, then installed hidesu. No dice. I might just unroot her for now since I don't immediately need it and have an easy way to re-root later.
[Android Software/Hacking General [Developers Only]] gunz.jones:
I think the rom may have a custom kernel. That will stop it dead in the water even with hidesu. Or the s5 is as ornery as the note 4.
[Android Software/Hacking General [Developers Only]] ZedAz:
For the love of God, Titanium Backup fails to detect root with 266su installed :/ any ideas guys?

Edit: a bunch of other apps like SELinux mode changer can't get root access either. However solid explorer works fine. Wth is happening :/
[Android Software/Hacking General [Developers Only]] crackerstyle:
Custom kernel seems likely. Ah well. At lease Go works without root on this rom.
[Android Software/Hacking General [Developers Only]] gunz.jones:
Yeah. There's a plus. Stock TW with all the carrier BS removed and Knox taken out runs clean for me. Just wish we could use custom kernels again and still evade the safteynet. Waiting game
[Android Software/Hacking General [Developers Only]] adrman:
I'm running Franco Kernel on stock NBD90X, angler with 266 hidesu. I used AP twice today, no problems.
[Android Software/Hacking General [Developers Only]] Kyrat:
I need this archive please "superuser-r266-hidesu.zip "
[Android Software/Hacking General [Developers Only]] gunz.jones:
No such luck on the note 4 and others with Galaxy devices seem to be having similar issues regarding this process. Samsung just doesn't like us
[Android Software/Hacking General [Developers Only]] pokepokepoke:
There was a bug that granted su via adb without any popup.Any commits fixing that yet?
[Android Software/Hacking General [Developers Only]] xXCoolGuYXx:
Hello is there a way to change selinux on idol 3 on android mm 6.0.1
[Android Software/Hacking General [Developers Only]] ZedAz:
Search XDA for an app called SELinux mode changer.
[Android Software/Hacking General [Developers Only]] pokepokepoke:
Use Selinux mode changer apk from XDA or look in kernel adiutor settings if your kernel supports it
[Android Software/Hacking General [Developers Only]] dtriguero:
http://cloud.tapatalk.com/s/57f716faaa07e/superuser-r266-hidesu.zip

Here u go hope helps

sent from my SGH-M919 BadAss TinkerToy
[Android Software/Hacking General [Developers Only]] Kyrat:
Thank you very much!!!!
[Android Software/Hacking General [Developers Only]] 4RK4N:
safetynet got updated again? was green before i went to bed.

superuser-r266-hidesu.zip
[Android Software/Hacking General [Developers Only]] Kyrat:
Guys I've installed the new mthod on my phone but I still having problems with pokemon Go, any help?
[Android Software/Hacking General [Developers Only]] 4RK4N:
update: another safety net checker called "safetynet playground" reports success and PoGo can login as well.

safetynet helper broken? lol
[Android Software/Hacking General [Developers Only]] magnum73:
Nope...works here !
[Android Software/Hacking General [Developers Only]] benlm72:
Just to let you know that this zip works perfectly with my galaxy s4 running JDCTeam OptCM13 with stock cm kernel, for AndroidPay and PGO. For your information, I've tried boon too, but it always detects root. Many thanks !
[Android Software/Hacking General [Developers Only]] IzaacJ:
I guess that's a premodified boot.img? Will flash it asap and let you know.

Should I expect a working su and a passed safetynet if it's successful?
[Android Software/Hacking General [Developers Only]] galarond:
yeah i was getting mad cause i was playing GOPO like 3 hours ago and now this crap again.

---------- Post added at 08:33 AM ---------- Previous post was at 08:30 AM ----------

happened to me too, i was flashing back a rom that was working and got that blue screen and reflashed like 10 times lol, guess im not mad-