yashsingh1/xdaforums huggingface dataset:
[SuperSU] WhipeeDip:
Got SafetyNet to pass and Android Pay (partially tested, keep reading) to work on the klte CM 13 2016/09/04 nightly. I used the SuperSU v2.78 zip and suhide v0.16. No Xposed.

I was able to add both my Bank of America debit and credit card (both Visas) successfully, with a confirmation email from BofA stating that I had added both cards to Android Pay. I tested Android Pay at a BofA ATM and was successfully able to withdraw cash. I have First Data FD130 terminals at work, which is made to accept tap to pay cards but not Android Pay, and thus the terminals errored out saying that there were multiple cards. I'll test Android Pay soon (probably tomorrow) on a terminal that actually accepts Android Pay and let you guys know if it works.

Steps (I'm not responsible for any damage that may result):

Make a backup.

If you are flashing a new ROM/update, I'd let it boot fully first as stated in the first post, but also reboot once more after that. Not sure if it helps, but it's something I always do with a new ROM/update.

As Chainfire already stated, you must use the latest version of TWRP. 3.0.0-0 did NOT work for me. I didn't want to update TWRP as I heard the latest versions didn't work with big SD cards, so I used FlashFire with success. I flashed both the suhide zip and the SuperSU zip in one run, both with auto mount enabled.

Make sure the four suhide files exist in /data/adb. The default UID 10013 in suhide.uid worked for me, but I'd double check to make sure this matches the Google Play Services UID on your device, and add it if it doesn't (refer to first post). I didn't have to add Android Pay's UID.

Delete /system/xbin/su and /system/bin/su (thanks to [MENTION=4670039]LLStarks[/MENTION] for this). I was able to delete /system/xbin/su while booted. However, I wasn't able to delete /system/bin/su while booted, so reboot to TWRP, mount system, start a terminal, and run the following commands (be extremely careful here):

cd /system/bin
mount -o rw,remount,rw /system
rm su

This did not break su for me. Titanium Backup, SD Maid, FlashFire, and other root apps were able to acquire root privileges without issues.

SafetyNet should pass now.

Thanks to [MENTION=631273]Chainfire[/MENTION], [MENTION=4670039]LLStarks[/MENTION], and everyone else in this thread and anyone who may have helped. It's nice to have Android Pay working with root and a custom ROM (while suhide works, at least).

Notes:

As noted elsewhere in this thread, Snapchat doesn't properly work. Casper works fine (with root login method).

I haven't encountered any other bugs yet.

Since I didn't see this anywhere and I like to get a hash on any semi important files, here are the MD5 hashes I got for the suhide zips:

suhide-v0.16.zip: 2a3aba04dbce4e5c0b473e21171d6c08

suhide-rm.zip: 8ab87ca5ba70376f6c2075a830806e15
[SuperSU] HamsterHam:
[MENTION=5478256]WhipeeDip[/MENTION] I can only get the 4 files to appear on certain ROMs even though I use the same process on each. Strange. Any ideas? I ensure SystemSU is systemless as well.
[SuperSU] gumbi2400:
Finally got it working, and my card isn't supported in android pay, and my banking app still detects root (barclays UK). Figures. Either way still good work.
[SuperSU] HamsterHam:
[MENTION=2875504]gumbi2400[/MENTION] you added the Barclays UID to the list? How many files do you have in /data/adb?
[SuperSU] Chainfire:
For those that are having (root) app crashes, can you get me the output of the 'ps' command, as root (adb shell, su; or terminal emulator, su) ?

Either copy/paste the output here inside "HIDE" tags, or post it on http://pastebin.com/ and post the resulting link.
[SuperSU] ruchern:
The problem here is the RootSwitch.
[SuperSU] pharmdeon:
And if he does need this, should be done before flashing sr1
[SuperSU] davy4475:
[MENTION=631273]Chainfire[/MENTION] I know that you have an s7. I have the edge. Can I ask you steps you have taken to get it working as I can't get suhide to boot. What Rom are you running?
[SuperSU] grep_i:
Yes indeed but SYSTEMLESS must be in capitals and it must be done before flashing SuperSU
[SuperSU] rolandvrielink:
Why is the 06suhide fix not in the OP?

Can't find this fix
[SuperSU] pharmdeon:
Look at post 2617
[SuperSU] uicnren:
here.
[SuperSU] snke:
Same for me
[SuperSU] nyknight77:
SR1-SuperSU-v2.78-SR1-20160915123031 + suhide-v0.55.zip + 06suhide fix = Didn't Work = SafetyNet Helper "Response validation: fail" Error Msg: "Response payload validation failed"

CM13 ROM :(
[SuperSU] rolandvrielink:
Thanks,

Can I place this fix in android >terminal or do I have to go to in the twrp recovery and going in the recovery to the terminal?
[SuperSU] ryan42680:
how do we know if i'm systemless or system root ?
[SuperSU] Ingenium13:
Same here. They updated SafetyNet again apparently. Worked fine yesterday with the 06 script.

Sent from my Nexus 6P
[SuperSU] pharmdeon:
I did it thru terminal emulator on my phone ... s5 with rooted stock pca
[SuperSU] pharmdeon:
Look in superuser app

View attachment 3904707

It wont allow you to install to system
[SuperSU] ryan42680:
so this is systemless ? right ?
[SuperSU] AsturzioAugias:
Done the "echo bla bla bla" command in terminal, now android Pay works and SafetyNet Helper shows a green confirmation.

I also have Xposed v86.2.
[SuperSU] pharmdeon:
Interestingly enough, i am failing now as well ... both saftey net helper and playground. Worked just 5 min ago. I was messing with root switch as well ... not sure if this is the reason. The 06suhide file still in the su.d folder.

Edit: removed and readded 06suhide and still failing??

Edit2: forgot to reboot after adding again (duh!). Working fine again. Appears that the root switch messes with the 06suhide fix ...
[SuperSU] 135Shadowsoul:
i am sorry for my not existing knowledge about magisk :(

as i said: i dont know a lot about it, thats why i said "imo" ( = in my opinion) and "afaik" ( = as far as i know). if i was wrong, i apologize. I will edit my post and delete those wrong information
[SuperSU] CrazyCypher:
If I have xposed 86.6 with magisk v7 and supersu and suhide0.55 and also root switch, can I remove suhide and still pass SafetyNet?

I have HTC10 with stock rim and elemental kernel. When I normally reboot phone and have all of the above flashed my phone is working normally, but if I soft reboot I notice that suhide deletes all dalvik cache in arm64 folder - that is when if I toggle root off I pass SafetyNet, but also if I reboot normally again I get updating apps 1/253 and have to wait for half hour so it finish the updating... After that I cannot pass SafetyNet even if root is toggled off, but if I soft reboot again and then toggle off I can pass SafetyNet - but dalvik cache is gone again ...

So does anyone have any suggestion or solution on how to bypass this?
[SuperSU] aStRaL_dRaGoN:
what is 06 suhide script?
[SuperSU] Ch3vr0n:
The fix that works with the current version of SafetyNet.

Verstuurd vanaf mijn Nexus 6P met Tapatalk
[SuperSU] RayMcGrath:
Perhaps previous command was still in place. And I got lucky. Lol. That's just the order I did it in this morning. And with success.
[SuperSU] pharmdeon:
Just an fyi ... appears that messing with the root switch after implementing the 06suhide fix "breaks" the 06suhide fix
[SuperSU] shellcool:
Hi, a noob here. Suhide v0.55 installed using TWRP. How do I know it's running and what version is running?

"ps | grep su" can see Supersu, but not Suhide.

Please help?
[SuperSU] Jorgesanux:
hello, I have a custom rom that already brings root by default, but would like to change this root by which it is systemless, as you would, or I have to do?

Enviado desde mi MotoG3-TE mediante Tapatalk
[SuperSU] ruchern:
Step 1: If you have SuperSu by Chainfire, go to settings and do a full permanent unroot.

Step 2: Flash the SuperSU 2.78 SR1 and suhide-v0.55 in recovery after doing Step 1.
[SuperSU] iwantz:
I have SuperSU 2.78 sr1 and suhide v0.55, but after the install root switch, I can no longer open the application SuperSU, is this so? I intend to disable toast notification of SuperSU,

Sorry for bad English

Edit : solved by uninstall on playstore then install again [emoji8]

sent from my optimus g e975!!!
[SuperSU] -Happy Feet-:
Has anyone an working automate profile?
[SuperSU] Jorgesanux:
I'm Resurrection Remix and this brings rom and root by default, but is not SuperSU, then my question is how you remove the root native to the ROM is clean

Enviado desde mi MotoG3-TE mediante Tapatalk
[SuperSU] ruchern:
For me, I just install Chainfire's SuperSU no matter what root it is and just do a full permanent unroot from there

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

SafetyNet from red screen to blue screen again. Anyone else?
[SuperSU] Kris5490:
For me not, passed safety net check. Anyone else here experiencing the same? Running suhide 0.55 with root switch.
[SuperSU] bobby janow:
Please explain. I have both running with no issues. Well let me rephrase that. With root enabled and the 06 fix SafetyNet passes. If I turn off root on switcher naturally it still passes but there is no root. The only reason at this point to use switcher is if you, for some reason, don't want root temporarily since suhide works either way.
[SuperSU] ruchern:
Very surprisingly that after running the 06suhide, I am still unable to pass SafetyNet check. :(
[SuperSU] Gamu79:
Read op first page
[SuperSU] rolandvrielink:
After the input in the terminal I got the next message:

Permission denied.

See also the screenshot
[SuperSU] -Happy Feet-:
All things working good. But, Paypack Pay tells me I have an unsecure phone. Root was disabled and both safetynet passes.

Anyone an idea how can I collect an log without root?

---------- Post added at 08:06 PM ---------- Previous post was at 08:05 PM ----------

su is the command you need.

There must an # not an $ at the front of the commandline.
[SuperSU] fire7777777:
until a few days suhide works perfectly for pokemon go, now i dont know how but it isnt work, i install superSu 2.72 SR1 with sudhide 0.55 but my app pokemon go detect the rooted device mmh any suggestion?
[SuperSU] Ulti2x:
Hey guys,

Is there any possible way to get AP working on an S3 with a custom 6.0.1 aosp ROM? Also, how would you get systemless xposed working on a custom ROM? I have tried to find info on doing it but no luck.
[SuperSU] fluffi444:
Read the thread before asking. That's my suggestion. Just some pages back...
[SuperSU] rolandvrielink:
Okay, the terminal worked. I rebooted the phone and nothing happens. Safetynet is red. When I start Pokémon the message appears that the OS is not compatible??
[SuperSU] pharmdeon:
All was running good. Then i was showing my daughter the root switch and turned off root. Then turned back on. This was all after the 06suhide was working. When i turned on root again, the safteynets did not pass. The root switch still worked. I then romoved the fix (rm /su/su.d/06suhide) and re"installed" rebooted and saftey nets passed again

---------- Post added at 12:54 PM ---------- Previous post was at 12:50 PM ----------

I think its been answered but, at $ type su and hit return first. Then you will see #

Now enter the 06suhide code
[SuperSU] -Happy Feet-:
have you installed the rootswitch App? also suhide?
[SuperSU] JimSmith94:
I just connected my phone to my PC, did adb shell, su, and then copied and pasted the script. No chance of fat fingering that way. :p
[SuperSU] MrMeeseeks:
Did you use a terminal app on your phone and reboot? I tried with terminal emulator and it created the file but would not pass SafetyNet. I had to use an adb shell with root on my laptop and just copy/paste the commands and it passed after rebooting.
[SuperSU] mrxtc89117:
Thank you. I looked at TWRP file manager and it does not see /system/su.d or /su/su.d folder so I will just put it in /su/su.d I have a backup anyways.
[SuperSU] fire7777777:
i cant find some util , i find that :

Finally had time to test v55.

I completely unrooted using su app

Reboot

Booted recovery - flashed supersu 2.78sr1

Then did the echo SYSTEMLESS=true>>/data/. supersu

Then flashed suhide v0. 55

Reboot

Used suhide gui - selected AP

Reboot

Safety net passed

but work for all?
[SuperSU] bobby janow:
My apologies, you are correct. When you turn on root again with root switch 06suhide does not work. Only way to get SN to pass again is to use the toggle for unroot. Unless!! A reboot brings 06 back into working order. You didn't have to uninstall and reinstall it. But it's pointless to use root switch at this time. I might just freeze it so as not to confuse me system.
[SuperSU] pharmdeon:
Duh! [emoji13] I didnt even think of the easy solution of just rebooting!! Lol.
[SuperSU] subscope:
Not for me for exemple. I can't get the game work with SU at all. I will wait for a fix, it's better :)

Well I just used terminal emulator nothing more. It creates the file so I didn't care at that moment. What you advise, just doing the procedure but with adb or flash again SU and Suhide? thank you for your answer :)
[SuperSU] MrMeeseeks:
If you still have SU and suhide installed I would just run it again using adb. That's how I got it to work
[SuperSU] leolawliet:
I successfully bypassed safetynet detection thank goodness :victory:

Here's what I did, so try this:

Flash a systemless compatible kernel over the stock kernel of the ROM you have installed.

Follow the instructions necessary get the echo command to create the needed .supersu file in /data/ before flashing SuperSU.

Then flash the latest SuperSU SR1 and reboot your device.

Install Root Switch and suhide GUI then reboot into recovery.

Flash suhide v0.55 then reboot.

Once booted open suhide GUI and start checking as much Google services as you can, especially ones that work alongside safetynet. I also checked whatever safetynet test apps I had to ensure it goes through smoothly. Don't reboot yet.

Also open Root Switch and grant it su permission. Make sure toggling root with it switches SELinux to enforcing when root is disabled and to permissive when root is enabled.

Now reboot. Once booted run a safetynet test and see if it passes. I'm not sure if continuously switching root on and off makes it possible to get detected with safetynet so maybe a reboot is needed if the test fails.

It all works fine for me, I hope my instructions help someone out. I went through days of testing all of this out but I just needed to do it all in a specific order to get it right. Thank you guys for all of the tips and pointers throughout the thread, I learned a lot from reading and researching and probably wouldn't have found a solution if I didn't have the patience to check through everything carefully.

Also, I'm running Pure Nexus (N) on N5X with Flash Kernel.
[SuperSU] dinc2010:
Well I passed SafetyNet and all I did was:

- unroot and flash stock images for Nexus 6P

- flash SuperSU v2.78 SR1 systemless

- flash suhide-v0.55

- adb shell....su.....suhide06 fix

- reboot

All is working! PoGo, SafetyNet, Android Pay
[SuperSU] CoolJandee:
Anybody familiar with my situation?

Managed to hide root with Root Switch but evertime I try to either enable location or enter settings, my phone restarts...

Running on Xperia Z3 MM

Custom rom + custom kernel

Systemless SU 2.78 r1

Suhide 55

Thanks in advance
[SuperSU] subscope:
It doesnt work at all. I tried again switch root and nothing... I think the only way is with phh supersu but i dont want to flash phh with su i dunno if it can be "break" the rom and i dont want to flash rom again i have too many things :S btw thank you for your tips :)
[SuperSU] bobby janow:
Of course. It's stock and no shenanigans. No xposed, no custom roms, no built in root. If I recall correctly that is basically what Chainfire runs with stock recovery to boot. I've gone that route too and his fixes always work for me.
[SuperSU] lucbondar:
i'm officially done with this.. too much time spending trying to get this sh&%y game works for some hours.
[SuperSU] subscope:
Me too... too much time lost in this stupid fix to run a basic game. Anyway it looks like Niantic is just a small company testing safetynet for google because I didn't see Niantic developing new things for game, I just see new ways to block users to not play this game. Well they just loose one more player today lol

Sorry for this offtopic :)
[SuperSU] Switcherd:
This behavior could have thousands of causes but I'm pretty sure suhide won't be one of them.

Furthermore, there's no more need for root switch or any other kind of 3th party app.

Just use the terminal command posted earlier and you'll be fine (for as long as it lasts)
[SuperSU] CoolJandee:
Thanks. About the terminal command, been looking for it several pages back but can't seem to find it.

Is there a file that I need to flash or is it just a conmand that I'll run on terminal if I already have suhide55?
[SuperSU] bobby janow:
http://xdaforums.com/showpost.php?p=69132799&postcount=2617
[SuperSU] Ceiryus:
What is this suhide06 fix?
[SuperSU] CoolJandee:
Thank you again. Do I just type that one line on terminal? I really apologize for these questions I'm not really familiar how to execute this.

EDIT: i think it worked. I got the 06suhide file on su.d folder. Should it look like this?

#!/su/bin/sush

mount -o rw,remount rootfs /

chmod 0751 /

mount -o ro,remount rootfs /
[SuperSU] jsaxon2:
Yes, that looks correct. Reboot and you should be good.
[SuperSU] bobby janow:
If you have SafetyNet working then yes, you got it. Not that hard but if you have problems, the last few pages will guide you accordingly. Good luck. It does work.
[SuperSU] CoolJandee:
Not sure if I missed anything. Still failing SN. Scanning previous posts. Anyway, thank you for the guidance.
[SuperSU] grep_i:
After reading that many people do not succeed using this workaround when doing this in terminal on Android I tried myself via "terminal emulator for android".

I removed the fix and rebooted.

Safetynet does not pass and Pogo and Snapchat didn't work.

Copy paste the line the file got created and after reboot it passes safetynet and Pogo and Snapchat were working again.
[SuperSU] NWTSCL:
After adding the 06suhide file, SafetyNet Playground and Helper both show pass. But Pokemon fails with "Failed to detect location".
[SuperSU] jsaxon2:
I was having the problem not passing and found that I needed to set SELinux to Enforcing. All is working good now.
[SuperSU] CoolJandee:
When you say copy paste line the file got created, you mean the lines within the 06suhide file and run it on terminal?

---------- Post added at 08:07 AM ---------- Previous post was at 07:57 AM ----------

Switching Enforcing, is that another command? Im thinking I saw that somewhere within the kernel auditor app
[SuperSU] jsaxon2:
I used app from here http://xdaforums.com/showthread.php?t=2524485
[SuperSU] dinc2010:
Is there a way, after installing supersu-v2.78 with suhide06 fix, to be able to edit the build.prop file within the system folder? Can't seem to be able to save it after editing it either with Root Explorer or Adb. Would like to run Google Assistant on my Nexus 6p but not at the expense of not been able to use Android Pay or PoGo
[SuperSU] tchavei:
Ok, I found out what was going on with chainfire's fix

The problem comes from the terminal apps we are using to put the command.

As it seems, most terminal apps will not recognize escape commands so in the end, the instructions in the 06suhide file aren't carried out.

You can fix this through two ways. The most simple is running the instruction through ABD shell or edit the file through nano which is available in the terminal. Nano requires you to use ctrl + o and ctrl + x to save and exit so make sure you know how to issue those keys before you edit the file (usually volume down + letter you want).

Now all you need to do is replace the carriage return (\n) escape characters with real enters and we're done

Good luck

Enviado do meu GT-I9195 através de Tapatalk
[SuperSU] JonathanRAZ:
Got it working problem was selinux i had to get stock kernel for it to work it does not work with permmesive mode

Thanks chainfire
[SuperSU] FuNKSioN:
simplest way to update is to plug phone into a computer. run adb shell. from adb shell,. type su and hit enter. your phone should prompt you that adb shell is requesting su, accept it on your phone. then type the command in. it should just accept it. if you dont see any error, its done. reboot your phone.
[SuperSU] vt0r:
No need for all that. Just add the "-e" command line switch to echo to interpret backslash escape chars. Here's the full command with the "-e" added that you run after running "su" and getting a root shell with the hash prompt (#):

echo -e '#!/su/bin/sush\nmount -o rw,remount rootfs /\nchmod 0751 /\nmount -o ro,remount rootfs /' > /su/su.d/06suhide ; chmod 0700 /su/su.d/06suhide

That should work in any version of BusyBox, any terminal emulator and any version of sush.
[SuperSU] tchavei:
But it's way more fun doing it directly on the phone. Who needs a computer and cable? [emoji14]

Enviado do meu GT-I9195 através de Tapatalk
[SuperSU] johnp357:
Sigh....safety net blue screen again today... .55.. never ending battle... Go chainfire win
[SuperSU] tabp0le:
Me too
[SuperSU] Artim_96:
Which version? The one you flashed.

If it's running? Well, if SafetyNet passes or if a different app that detects root (and can be tricked by suhide) is now running after you properly blacklisted it
[SuperSU] tech_head:
Yep, blue again.

Yawn..... Getting real tired of this cat and mouse game.
[SuperSU] FuNKSioN:
Blue here, but everything still seems to work.
[SuperSU] vt0r:
Try SafetyNet Playground instead. There's some sort of parsing or hashing error with SafetyNet Helper that has been causing intermittent blue screens for myself and several others, Chainfire included.

I'm using 0.55 plus the earlier 06suhide fix (use "echo -e" instead of "echo" if you haven't already applied that patch) on a stock NBD90X 6P with my custom kernel that's SELinux enforcing, and it passes consistently in Playground. AP works fine as well; I used it about an hour ago.
[SuperSU] bobby janow:
You need to mount the root/system as r/w first otherwise it won't save. Double check after you save it and then reboot.

---------- Post added at 08:08 PM ---------- Previous post was at 08:06 PM ----------

10pm EDT and it's still working with 06suhide. Not sure what you're talking about. Both Helper and playground passing.
[SuperSU] vt0r:
If you're already using Magisk, the following cache module is working fine for me to systemlessly make the necessary build.prop change, so you won't need to make system RW:

http://xdaforums.com/apps/magisk/module-nexus-assistant-t3478316/post69083965

The above needs to be flashed in recovery once you have Magisk installed, and then you need to ensure your Google app version is new enough + wipe data on the Google app (search history + Google now / launcher stuff) and likely reboot after.

This is all off topic, by the way, so we should end this discussion here.
[SuperSU] grep_i:
I mean open terminal app than do type the following commands.

su

echo '#!/su/bin/sush\nmount -o rw,remount rootfs /\nchmod 0751 /\nmount -o ro,remount rootfs /'>/su/su.d/06suhide; chmod 0700 /su/su.d/06suhide

reboot
[SuperSU] osm0sis:
echo -e for best compatibility across devices, as [MENTION=5451244]vt0r[/MENTION] brought up. :good:
[SuperSU] grep_i:
In which terminal you have nano I sure don't have it but than again in my terminal app the carriage returns are just accepted.

I only have plain old busybox and "terminal emulator for android" or "bash X"
[SuperSU] :
Safetynet helper shows red for me. Is permissive kernel the culprit here?

I have root 2.78sr1, suhide 0.55, xposed 86.2 with or without root switch the same.

I tried to change kernel to enforcing but it won't let me change, always go back to permissive.
[SuperSU] dtriguero:
Yes need set to enforcing maybe try a different kernel that allows u to change it

sent from my SGH-M919 BadAss TinkerToy
[SuperSU] hayser:
You can!!!

https://youtu.be/aEFc2tCuEZQ

Enviado desde mi Redmi Note 3 mediante Tapatalk