yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] tikizondo94:
Running v266hidesu with superuser beta v7. I'm still passing safetynet. Purenexus Nougat, Flash kernel. Much appreciated!
[Android Software/Hacking General [Developers Only]] sakis_the_fraud:
I don't know if that helps, but root checker found su in /sbin/

View attachment 3902486

Is this a problem or its normal?
[Android Software/Hacking General [Developers Only]] deedeeceleb:
I just switched from supersu+suhide to phh 266 and it's working. I didn't flash rm-suhide, just did a full unroot in supersu app

Gesendet von meinem ONE A2003 mit Tapatalk
[Android Software/Hacking General [Developers Only]] oTeMpLo:
any chance on updated phh hidesu 266 version.. as "root" stops working once a day until reboot.. ? :) Please help us :) its the only "working" solution as google is driving us mad.
[Android Software/Hacking General [Developers Only]] phhusson:
Uh? On which device/ROM/android version?
[Android Software/Hacking General [Developers Only]] dinc2010:
Am still passing with 266 version. However I do have a question: I'm trying to modify the build.prop file under system folder and somehow I cannot mount system as read & write. Tried Root Explorer, Adb, Root Browser you name it and won't mount. Is that something hidesu is causing? Anything I can modify to make it work? Would like to use Google Assistant on my Nexus 6p
[Android Software/Hacking General [Developers Only]] oTeMpLo:
2pones ..

Lg g2 .. d802... ResurrectionRemix-M-v5.7.4-20160920-d802.zip rom. ..

Cm13

What to check?
[Android Software/Hacking General [Developers Only]] Tesla:
This has happened to me to.

Note 3

CM13
[Android Software/Hacking General [Developers Only]] oTeMpLo:
Just reboot...
[Android Software/Hacking General [Developers Only]] Tesla:
Yes, that works.

But don't you think this should be addressed?
[Android Software/Hacking General [Developers Only]] oTeMpLo:
Yes, but phh was Not aware of a problem, i think.
[Android Software/Hacking General [Developers Only]] Tesla:
And that's why we told phh this. Now phh knows. See? :)
[Android Software/Hacking General [Developers Only]] sakis_the_fraud:
Anyone knows what is the cts profile match is checking?

I have removed root and flashed a clean kernel, but it still fails. Because of this, i think that phh's v266 and v275 work as it should but something else is wrong.
[Android Software/Hacking General [Developers Only]] Drefsab:
is the hidesu something developed by phh? It doesnt work correctly with Sky Go for example, yet if I use magisk v6 and use phh's magisk su then using thats hide root options does work. I dont fully understand how sky go is detecting su under hidesu but thought it would help to mention it, chainfires suhide also doesnt work with this either.
[Android Software/Hacking General [Developers Only]] phhusson:
I updated the bot to Android 6.0.1 for Nexuses

Thanks [MENTION=2723217]stevetrooper[/MENTION] for the fast info
[Android Software/Hacking General [Developers Only]] stevetrooper:
---------- Post added at 10:44 PM ---------- Previous post was at 10:12 PM ----------

[MENTION=1915408]phhusson[/MENTION] using the new MMB29K for shamu, I ran the following command to flash:

fastboot flash boot boot-su-user.img

I gave permission to Root Explorer in phh's SuperUser but I get the following message when I try to mount r/w /system:

This function is only available for rooted devices, but your device doesn't appear to be rooted.

EDIT: Adaway is unable to create the hosts file, Titanium Backup stops when attempting a backup.

---------- Post added at 11:12 PM ---------- Previous post was at 10:44 PM ----------

I flashed the boot-su-eng.img and now everything is working again.

Some rooted apps are not working, root explorer still can't mount correctly, after flashing boot-su-eng.img.
[Android Software/Hacking General [Developers Only]] ashyx:
This has probably already been asked or stated somewhere, so apologies if so, but does this systemless root work on samsung 5.0.2 devices?
[Android Software/Hacking General [Developers Only]] r80ies:
Nexus 7 2013

Would it be possible to get the Nexus 7 2013 "flo" to get a boot img? I searched and I am not sure if the Razorg image works with the N7 2013 Flo. Let me know if I can assist with testing in any way.
[Android Software/Hacking General [Developers Only]] alphahere:
You are correct razorg does not work with flo. Anyway it is very easy to setup a build image. I posted one for razorg in this thread and that could be used as template for flo.

Good luck.
[Android Software/Hacking General [Developers Only]] phhusson:
BTW, I added an optional argument to download.sh so you don't need to download all other ROMs to test.
[Android Software/Hacking General [Developers Only]] r80ies:
Apologies if I sound as though I didn't research this because I have. However, where is the known-imgs/nexus/ located or how is it used in creating a boot img?
[Android Software/Hacking General [Developers Only]] phhusson:
That's not really properly documented, so no problem :)

Those files are in the git of the boot.img-editor: https://github.com/phhusson/super-bootimg see known-imgs folder.

For the file format, the idea is first line urls, and then the various intermediate files until the actual boot.img

You can check other devices for examples

To test just the download part, you can just

bash download.sh <newfile>

For example: bash download.sh known-imgs/nexus/fugu/MMB29M

And then, check that it properly created output/nexus/fugu/MMB29M/orig-boot.img

This should be enough for most cases.

Though if you want to test the whole chain, you need to call make install in jni folder (don't worry make install only copies to ../scripts/bin/ not system-wide)

and then bash build.sh will generate output/nexus/fugu/MMB29M/boot-su-*.img that you can test
[Android Software/Hacking General [Developers Only]] r80ies:
Thank you so much [MENTION=1915408]phhusson[/MENTION] for that explanation and [MENTION=3150696]alphahere[/MENTION] for your razorg template. I hope I was able to help.

Here is known-imgs/nexus/razor/MMBK29

https://dl.google.com/dl/android/aosp/razor-mmb29k-factory-a39e7047.tgz
image-razor-mmb29k.zip
boot.img
[Android Software/Hacking General [Developers Only]] r80ies:
I have root using boot-su-eng-razor.img. Thank you very much for all your hard work [MENTION=1915408]phhusson[/MENTION]
[Android Software/Hacking General [Developers Only]] r80ies:
With this root method using a custom boot.img would it be possible to use custom kernels? I ask because I wanted to test it out how it would work, as I use custom kernels. So I flashed a kernel and root access was gone. Then I tried to flash the superuser.zip, but that fails to flash successfully. Any input would be appreciated.
[Android Software/Hacking General [Developers Only]] phhusson:
Flashing superuser.zip is expected to work (unless you use multirom). Please give recovery logs
[Android Software/Hacking General [Developers Only]] r80ies:
Thank you for the quick response. Here is the recovery.log
[Android Software/Hacking General [Developers Only]] phhusson:
Right, the problem is just that there is a space in your folder name.

It should be fixed now, please redownload superuser.zip and test again
[Android Software/Hacking General [Developers Only]] jcase:
Can you (or anyone) tell me the output of su -v/su -V for your builds? Needing to block usage of my app on it for now, until time allows for debugging (I think its an selinux/capabilities issue).
[Android Software/Hacking General [Developers Only]] Lrs121:
$ su -v

16 me.phh.superuser cm-su

$ su -V

16
[Android Software/Hacking General [Developers Only]] hgoldner:
Same here on UT M9 Vzw running 3.35.90605.4 (it's a test build).
[Android Software/Hacking General [Developers Only]] r80ies:
Thank you it flashed successfully and works as it should.
[Android Software/Hacking General [Developers Only]] phhusson:
Great. Thanks
[Android Software/Hacking General [Developers Only]] phhusson:
Which app? Usually I do the debugging.
[Android Software/Hacking General [Developers Only]] m180up:
This has happened to me as well

Device: Sony Xperia M4 Aqua (E2306)

Rom: Stock rom (26.3.A.0.131)

Android version: 6.0.1
[Android Software/Hacking General [Developers Only]] androidfr33k:
[MENTION=1915408]phhusson[/MENTION],

Can you have a quick look at post #1499 regarding stickmount. Can you test on one of your devices. Thanks
[Android Software/Hacking General [Developers Only]] dinc2010:
Rebooting helped mounting system but somehow it won't allowed build.prop to be saved after editing the file
[Android Software/Hacking General [Developers Only]] PunchUp:
I already knew why it was happening. Earlier I was using a fixed dp size for the ImageView (which resized all the drawables consequently). But in this beta I switched to wrap_content so that the ripple effect could be applied properly but as you reported some apps didn't play nice (even though I tried all scale types). So now I have added some code to resize the drawable itself before it's applied to the ImageView.

Yes I know about this. This icon is added programmatically so I just hard coded the color. It will be fixed before the final release.
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
phh's hidesu only hides from SafetyNet. Any other apps/processes need to be added in the code and compiled into an updated binary. So it's not expected to work unless you do that, or you're sure your app uses SafetyNet ;).
[Android Software/Hacking General [Developers Only]] rmead01:
Sorry in advance for asking a basic question. I've been running the magisk/phh root method to preserve Pogo functionality but it doesn't seem to be working any more. Using Magisk7 with the experimental phh suhide version. Anyways, I don't really care about having root hidden anymore and want to just root my phone without using magisk to hide anything. I'm using a Nexus 5x and there seem to be a few options and I'm not really sure the exact difference or which one is best for me.

I just want a basic root (ad away, naptime, simple reboot, solid explorer) are the only root apps i'm using. I'd prefer to keep my phone as "safe" as possible when it comes to the SELinux permissions. There seem to be a few options listed on the front page but some of the details are lost on me as which one is the best pick. In the link I also see versions made specifically for my device rather than the universal one. I've also seen a v275 mentioned...

So all in all, which is the best root method to use here for my situation?
[Android Software/Hacking General [Developers Only]] chudy_85:
superuser-r266-hidesu work for me all the time. When I flash superuser-r275 I can't past safetynet
[Android Software/Hacking General [Developers Only]] xstahsie:
I can confirm this--CTS Profile match: false. After flashing the file you provided in TWRP, I wiped cache and reboot. Do I have to ALSO flash the hidesu that was developed by you? Is there a command that I have to input in the terminal?

I have a stock 6.0.1 ROM on my Nexus 6P.
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
Remove Magisk and use v266-hidesu.
[Android Software/Hacking General [Developers Only]] dinc2010:
[MENTION=1915408]phhusson[/MENTION] would you happen to know whether it is possible or not to modify build.prop file within the system folder with superuser-r266-hidesu?

I have a nexus 6p and using superuser-r266-hidesu. Passed safety net and can use both Pokémon Go and Android Pay. Would like to have Google Assistant running too but it wont let me save the build.prop file after editing it.
[Android Software/Hacking General [Developers Only]] sakis_the_fraud:
moved to new thread as it seems that it isn't a phh's root procedure problem.

http://xdaforums.com/android/general/safetynet-cts-profile-match-false-t3479689
[Android Software/Hacking General [Developers Only]] gunz.jones:
Note 4 910t with stock kernel and 266 has been working flawlessly for me. Most apps other than terminal seem to find root just fine. And pogo is working, which helps when I go out for walks and such. Thanks to phh. Also worked on emotion aosp for note 4 when I removed the base root. Will test on nougat soon hopefully. Using latest epg2 bl/mdm.
[Android Software/Hacking General [Developers Only]] waylo:
Trying to nail down why some of us with phh hidesu don't pass Safetynet now whereas others still do.

Device dependent?

I reverted to stock without root this AM and it passed safetynet. I then installed ONLY v266 and safetynet immediately failed.
[Android Software/Hacking General [Developers Only]] phhusson:
For people for which SafetyNet fails, is /sys/fs/selinux/enforce or policy readable by an application?

On standard Android it's not readable, but perhaps that's the difference on your devices.
[Android Software/Hacking General [Developers Only]] benlm72:
If you mean read permission for other (so keeping read permission only for owner and group) for this two files, yes they have it. I've tried disabling read permission for the two files, no success. After rebooting, read permissions are back. I'm on OptCM13 from JDCTeam on my galaxy S4.
[Android Software/Hacking General [Developers Only]] BramboetZ:
Can someone tell me what's wrong with my device??

SafetyNet Helper give me blue message,

response validation : error

Trying to play PoGo 0.41.4.. It's working anyway..

Did Niantic detect my rooted phone or not??

ASUS ZF2 Z00AD

Stock rom 6.0.1

TWRP 3.0.2

Using SuperUser r272 + hidesu

Thx..
[Android Software/Hacking General [Developers Only]] Lorien_Silmaril:
Hey there phhusson! I've been using the hidesu version of your root, and for the most part it works pretty well. However, I want to note a few odd things I've noticed:

On my Galaxy Note 3 (N900T) - I am on AryaMod's Galaxy S7 Edge port for this phone. The systemless root seems to randomly cause bootloader damage (it would be fine for a while, then either freeze during ROM usage, forcing a hard reboot, or would act up during a normal reboot), rendering the device unbootable. When the bootloader damage occurs, the phone would be stuck in a boot loop (and I know it's the bootloader because restoring the ROM's nandroid backup, or even a clean installation, does not fix the boot loop. The only way to fix it is to flash the stock bootloader image). Upon flashing the stock bootloader image, the phone would lose root after successful boot into OS, and require the hidesu package to be flashed again. (BTW this symptom started before I was using the hidesu r266. It was back when I was using the Magisk version of your SU, r251 I think. The ROM worked for a good long while with it, and then one day it froze during usage and got stuck in a boot loop. Ever since then, bootloop issue has been surfacing frequently).

On my wife's Galaxy Note 4 (N910T) - She's on a rooted stock ROM for this phone. She doesn't get the boot loop issue, thankfully, but she does lose SafetyNet after a while (both in the Magisk version and the hidesu version). I am talking about like, after two weeks of usage... so not a frequent occurrence. When this happens, the hidesu package needed to be reflashed (and I clear cache/dalvik just to be safe). While this isn't a big inconvenience, it does seem to indicate some sort of gradual degradation in the root... and based on my issues with the Note 3, that possibly means gradual changes/damage to the bootloader?

Sorry, I am not an expert on this, so if I am misdiagnosing any of this, I apologize in advance. But the issues have been really frustrating me and I can't give Chainfire's systemless root a try (I can't figure out how to flash his SU in systemless mode, and he provided no instructions for it. The online guides I found said his package is supposed to automatically install in systemless mode for MM roms, but it simply doesn't do that in my case).
[Android Software/Hacking General [Developers Only]] phhusson:
Nope that's not enough. By default in AOSP it's 755, but SELinux prevents apps from reading it. You would need to use a file manager application to check.
[Android Software/Hacking General [Developers Only]] koron393:
Thanks!

POGO was not works yesterday.

But I entered to shell and type "setenforce 1" (Enforcing), POGO works!

My environment.

*Phone - HTL23 KDDI Japan

*ROM - ResurrectionRemix-5.7.4 userdebug build

*Pokemon GO - ver.0.41.4

*Remove /system/bin/su and /system/xbin/su

and Install superuser-r266-hidesu.zip
[Android Software/Hacking General [Developers Only]] rmead01:
Thank you! This worked but now I have an issue where adaway is unable to update hosts file. I can't figure out how to get around this so i'm back on Magisk/phh.
[Android Software/Hacking General [Developers Only]] waylo:
On my stock LG rom, enforce has 644 permission. It is readable by root explorer. Text value of 1.

policy is 444 permission. It is not readable by root explorer, byte size is 0.

I did try both the v266 provided by you as well as my own noverity version. Both failed with red error screens. Currently on your stock version.

EDIT: Now I have the odd blue safetynet failure. (it started off red last night, then blue last night, then red this AM, now blue this late AM). Something must be happening on the servers :/

EDIT2: Figured it out, private messaged phhusson with my troubleshooting.
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
Here is the solution.

http://xdaforums.com/showpost.php?p=69022330&postcount=1367
[Android Software/Hacking General [Developers Only]] VGMC0001:
Can you please explain to me your process using the shell. I don't know shell to well.

Its not working for me. I open terminal emulator, type "su", then type "setenforce 1" and I get an "Invalid Argument" error. Is this because of how the kernel is built?

I'm on an Lg G3

Fulmics 6.5 with xceed kernel

I have superuser-r266-hidesu.zip installed.
[Android Software/Hacking General [Developers Only]] koron393:
$ getenforce

This prints SELinux mode. (Permissive or Enforcing)

$ su
# setenforce 1

This will set SELinux mode Enforcing.

or try

# setenforce Enforcing

or try this SELinuxModeChanger app. (not testing)

http://xdaforums.com/showthread.php?t=2524485
[Android Software/Hacking General [Developers Only]] rmead01:
Thank you as well!

Nexus 5x here. Flash factory system.img and boot.img. flash 266-hidesu from recovery. Verified root was working on bootup. Setup adaway with symlink. Everything is working as it should without magisk as I wanted. I even tested POGO, though at this point I didn't care if it worked, and it worked!
[Android Software/Hacking General [Developers Only]] benlm72:
I use es file explorer, do you think at another file explorer ? What permission values should I enter for these files ? Thanks for your help !
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
For me the Adaway generated symlink failed each update, whereas the bind mount persists.
[Android Software/Hacking General [Developers Only]] phhusson:
Try to copy the file with that file explorer.

If it can be copied, it means there is a permission issue.
[Android Software/Hacking General [Developers Only]] Alxoom33:
No. You need to read the threads.
[Android Software/Hacking General [Developers Only]] blastthenoise:
Looks like safetynet got updated again. r266suhide now returning the blue triangle from safetynet helper. Oh well, fun while it lasted
[Android Software/Hacking General [Developers Only]] Wlkchnbndgr:
Even a fully unroot doesn't help to bypass Safetynet.
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
I got the blue triangle, but then i tried PoGO and it still worked. Then I tried SafetyNet helper again and it was green. So just because it's blue doesn't mean it's all over.
[Android Software/Hacking General [Developers Only]] waylo:
For me, 'policy' can be copied. 'Enforce' returns an error.
[Android Software/Hacking General [Developers Only]] phhusson:
And which color is SafetyNet ATM for you?
[Android Software/Hacking General [Developers Only]] Boosik:
266-hidesu just stopped working. Was working fine yesterday.
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
It seems to vary. I get blue, but it doesn't seem to affect anything.
[Android Software/Hacking General [Developers Only]] peakwhite:
Having the same situation with Note 3 and Resurrection Remix 5.7.4. Today Safetynet Helper turned red then blue. and PoGo stopped working. However, RR has a setting for Selinux Mode which is Permissive by default. Changing this to Enforcing and PoGo is working OK although Safetynet is still blue. Have not tried AP yet.
[Android Software/Hacking General [Developers Only]] oTeMpLo:
Hidesu died... Just reboot.. it will work agan after that...
[Android Software/Hacking General [Developers Only]] waylo:
Right now blue. It's randomly alternated red or blue since last night.

Testing it just now, when it's blue Android Pay fails.
[Android Software/Hacking General [Developers Only]] snke:
Anyone can link me latest superuser apk? Hidesu has trouble with Pure Nexus?
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
They are all linked in post #1
[Android Software/Hacking General [Developers Only]] snke:
Nope...the latest beta 7 Is not in the play store
[Android Software/Hacking General [Developers Only]] jascolli:
http://xdaforums.com/android/software-hacking/wip-selinux-capable-superuser-t3216394/post69105510
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
Sorry, I misunderstood you wanted the manager app and not the superuser itself. Search PunchUp and you will find them.
[Android Software/Hacking General [Developers Only]] snke:
Thanks man ????????
[Android Software/Hacking General [Developers Only]] jascolli:
This APK is what you wanted correct
[Android Software/Hacking General [Developers Only]] PunchUp:
Don't worry. I think he used an emoji which got converted into question marks :D
[Android Software/Hacking General [Developers Only]] jascolli:
Ahhh. That gets me every time. Great superuser APK by the way. Thanks for sharing it with all of us!
[Android Software/Hacking General [Developers Only]] snke:
No problem :) i'd like to know if r266 works with 6p without setting up hidesu for nothing

---------- Post added at 08:37 PM ---------- Previous post was at 08:36 PM ----------

You're right :p
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
Setting up? What setting up?
[Android Software/Hacking General [Developers Only]] snke:
I mean flash
[Android Software/Hacking General [Developers Only]] Wlkchnbndgr:
Btw, can confirm: strickt seminar

Blue screen in snh

But pogo works.
[Android Software/Hacking General [Developers Only]] sakis_the_fraud:
Is SafetyNet Helper working for you?

I am trying with my rooted xperia z5 and a stock nexus 4, both getting "response signature validation error".
[Android Software/Hacking General [Developers Only]] Wlkchnbndgr:
Same here. Seems to be a a Google problem. Safetynet is broken
[Android Software/Hacking General [Developers Only]] garrettsessions:
I have a Nexus 6P on NBD90X. Using TWRP and r266 hidesu. Root working perfect with all apps, and I pass Safteynet and can use AP. However, every power off and reboot I lose root and must reflash. Did not have that issue with r242. Not using Xposed or any other mods. Just passing along info for the Dev. Thanks for your work!
[Android Software/Hacking General [Developers Only]] ScottIsMyName:
So is there any solutions besides rebooting when apps requesting root fail to get root? No idea if I can provide any logs or anything that would help provide some insight into why this happens. I usually have to reboot once every day or 2 because apps start failing to get root. Rebooting fixes it immediately.
[Android Software/Hacking General [Developers Only]] Pkt_Lnt:
Logs ALWAYS help, and are the ONLY way a dev can identify and fix issues. A logcat is the single best thing you can provide, here is how:

http://xdaforums.com/showthread.php?t=1726238
[Android Software/Hacking General [Developers Only]] dreamland2000:
Another option I found that works for me is to leave the default hosts file where it is but just change the permissions to rw-r-rw. This works fine but had to be changed again on reboot.