yashsingh1/xdaforums huggingface dataset:
[SuperSU] waylo:
Does suhide require an unencrypted data partition?

Trying to troubleshoot my first suhide install through TWRP.

I installed supersu 2.78sr1. Reboot. It is definitely installed systemlessly.

Then tried flashing the latest 0.55 suhide.

Fatal error: /su could not be mounted

Tried searching, could not find a similar post here though I'm sure there must be in 3000+ responses.

EDIT: relevant log entries:

********************

Installing suhide...

********************

mount: mounting /dev/block/sda16 on /system failed: Device or resource busy

Archive: /external_sd/Flashables/suhide/suhide-v0.55.zip

inflating: META-INF/MANIFEST.MF

inflating: META-INF/CERT.SF

inflating: META-INF/CERT.RSA

inflating: META-INF/com/google/android/update-binary

inflating: META-INF/com/google/android/updater-script

inflating: arm/haploid32

inflating: arm/libdiploid32.so

inflating: arm64/haploid32

inflating: arm64/haploid64

inflating: arm64/libdiploid64.so

inflating: arm64/libdiploid64_32.so

inflating: armv7/haploid32

inflating: armv7/libdiploid32.so

inflating: common/05suhide

inflating: common/add

inflating: common/list

inflating: common/rm

inflating: mips/haploid32

inflating: mips/libdiploid32.so

inflating: mips64/haploid32

inflating: mips64/haploid64

inflating: mips64/libdiploid64.so

inflating: mips64/libdiploid64_32.so

inflating: x64/haploid32

inflating: x64/haploid64

inflating: x64/libdiploid64.so

inflating: x64/libdiploid64_32.so

inflating: x86/haploid32

inflating: x86/libdiploid32.so

mknod: /dev/block/loop0: File exists

losetup: /data/su.img: No such file or directory

mknod: /dev/block/loop1: File exists

losetup: /data/su.img: No such file or directory

mknod: /dev/block/loop2: File exists

losetup: /data/su.img: No such file or directory

mknod: /dev/block/loop3: File exists

losetup: /data/su.img: No such file or directory

mknod: /dev/block/loop4: File exists

losetup: /data/su.img: No such file or directory

mknod: /dev/block/loop5: File exists

losetup: /data/su.img: No such file or directory

mknod: /dev/block/loop6: File exists

losetup: /data/su.img: No such file or directory

mknod: /dev/block/loop7: File exists

losetup: /data/su.img: No such file or directory

Fatal error: /su could not be mounted

Do you have SuperSU v2.78 SR1 or newer installed in systemless mode ?

Updater process ended with ERROR: 1

I:Legacy property environment disabled.

Error installing zip file '/external_sd/Flashables/suhide/suhide-v0.55.zip'

Hmm, looks like it's looking for /data/su.img, which is encrypted in my setup. That'd be the cause of the problem, right?

'Cause even though /su is available to mount from the root, anything located in /data would not be.
[SuperSU] Ch3vr0n:
Installed fine on my encrypted 6p. Don't even see an option in my 6p to decrypt but that's besides the point.
[SuperSU] waylo:
Once /data is encrypted (default in MM) the only way to decrypt is by formatting the whole /data partition and starting anew.

Still, odd... I reflashed stock /boot, /system (shouldn't have been affected), rerooted with 2.78SR1, and still get the same error.

EDIT: Tried flashfire and it seems to have installed.
[SuperSU] tech_head:
I think the only way for this to work long term is for this to go to a private forum/subscription model.

It will need to be unpublished so that those that be won't have the information to disable it.

Time to go stealth.

If not, it will be a losing battle, forever.
[SuperSU] corkiejp:
Who would decide who is allowed in. And what is stopping a mole been allowed into the group?
[SuperSU] ianmacd:
There's no way on Earth of keeping something like that under wraps.

Besides, do you really think Google doesn't have engineers capable of reverse-engineering something like suhide?
[SuperSU] tech_head:
I think they are entirely capable of reverse engineering it.

The only way to stay ahead is with an element of secrecy.

On a public forum, forget about this working for more than a weekend, at best.

Google has lots of engineers and they will keep patching holes just like Apple does for Jailbreaking.

Either this has to go underground or it is like trying to walk up and escalator.
[SuperSU] izeeqo:
How did you do that for Snapchat works please? were Snapchat working for you with Suhide enabled?
[SuperSU] bigcid10:
that was the whole reason why I flashed leedroid,as it gave me the option to set selinux to enforcing

I did read back a few pages ,that's how I found out
[SuperSU] kingwp1:
This was working great, but I guess Safetynet just got updated again. This stopped working for me sometime in the last hour or so.
[SuperSU] danieldmm:
Are you guys sure SElinux matters to Safety Net? Because my ROM is permissive and Safety Net its all green.

Android 7.0 CM14 + suhide 0.55 + 06suhide on OnePlus One

No problems.

Enviado do meu A0001 através de Tapatalk
[SuperSU] grep_i:
Unsu.

Supersu v2.78-sr1

Custom kernel (if you use that)

Xposed systemless v86.1 or v86.2(if you use that)

Suhide v0.55

06suhide script

On Nexus 5 you could flash all this in one ride so this would make your method the hard way.

---------- Post added at 09:47 PM ---------- Previous post was at 09:47 PM ----------

That's what I wrote.

Did nothing special to make snapchat work just flashed suhide v0.55 and created the 06suhide script.
[SuperSU] bobby janow:
Nope. Just paid with AP about half hour ago and SN still passes.
[SuperSU] stevvie:
double check you kernel hasn't been set to permissive, on my note 10.1 2014 running cm13 something sets the kernel to permissive after about 2-4 hours of up time. I just go into the terminal and setenforce 1 and it all works again. Strange
[SuperSU] dratsablive:
I was just playing PoGo a few moments ago.
[SuperSU] zapahacks:
Man that's really interesting, perhaps they changed it again. I'll do a full backup, change my kernel and report back:fingers-crossed:

I really hope they changed it again to accept permissive selinux. It totally makes sense.
[SuperSU] stevvie:
NOPE

my S4 using ressurectionRemix and my note 10.1 2015 CM13 and my Tab 3 CM13 all have to be enforcing still, just checked
[SuperSU] zapahacks:
So it might be something with the Rom itself. Maybe they have a way of hiding it. I can't try CM14 on my phone. But it would be really nice to know how can he play with a permissive SElinux state...
[SuperSU] kingwp1:
Thanks, I'll give that shot later and report back. When safety net started failing on me I jumped back on my unrooted nandroid. I'll have to re-root later to try this.
[SuperSU] grep_i:
No it does not make sense.

Safetynet means to be a secure environment to do your banking.

So disabling security does not add up there's no logic in that not ever.

But it's pretty interesting to know how [MENTION=1427327]danieldmm[/MENTION] seems to be the only person who can pass safetynet with SELinux permissive.
[SuperSU] _litz:
Aha! Got it to work on my Moto X Pure finally (presumably just for Google to turn around and update things again) .... took a little different tact than others ...

1st, I added the "setenforce 1" line to the end of 05suhide within the suhide055 zip file

2nd, I added the 06suhide file to the zip (common folder, same place as 05suhide), then modified the installer script to install it as well, using same parameters as 05suhide.

(note: unless you're familiar with how installer zip files work, you're probably not going to be able to do the same thing)

Then I deleted the su.img from /data/data, reflashed boot.img

and finally, flashed supersu again, then flashed suhide

Rebooted, used the GUI to add AP, Play Services, etc, did a final reboot, and all seems happy ... at least for the current point in time.

Future? who knows.
[SuperSU] Jayman007:
Confirmed. Stopped working for me just today as well.

---------- Post added at 07:51 AM ---------- Previous post was at 07:50 AM ----------

Confirmed. Stopped working for me just today as well.
[SuperSU] dtriguero:
Safetynet helper and playground no longer passing

sent from my SGH-M919 BadAss TinkerToy
[SuperSU] Pig Vomit:
Helper, Playground, Android Pay all working fine for me on 6P with suhide06.
[SuperSU] waylo:
Just installed suhide06 script and both Safetynet apps still pass for me. LG G5 stock, no xposed.
[SuperSU] vt.thomaso:
Out of ignorance, where did you get the stock boot.img
[SuperSU] Triviox:
Here cm13 Galaxy s5 with SuperSU v2.78 SR1, suhide 0.55, 06suhide and xposed still pass OK (and selinux enforcing, with SELinux permisive dont pass)
[SuperSU] eg1122:
Made a backup before rooting. You can also search xda for an ota/ruu zip for your device and extract it.
[SuperSU] kingwp1:
Rerooted and tried setenforce 1. No luck. Still failing safety net
[SuperSU] tallgrasshawk:
Nexus 5x with pure nexus 7. Supersu, suhide .55. AP appears to pass (I can add a card), but sn playground fails.
[SuperSU] _litz:
Failing for me now ... was working just a couple hours ago after I did a reinstall.
[SuperSU] vt.thomaso:
So when you leave the "05suhide" and "06suhide" files without an extension my "05suhide" shows as an exe whereas the "06suhide" does not...I think that's why it's not flashing properly for me...any suggestions or did you have the same experience?
[SuperSU] bobby janow:
It's working on stock n5x. I mean right now.
[SuperSU] grep_i:
I'm clueless as why you change the script files inside the installer.

You could easily flash the installer and change the scripts afterwards when they are in their place it has the same effect but safes you the hassle of changing the installer.

Also I'm clueless to why you install and than remove everything to install it again clearly indicates that you are not knowing what you are doing.

Also there's no need to add AP and play services because they are blacklisted by default.

You only have to flash SuperSU v2.78-sr1 systemless and suhide v0.55 after that in your case add the setenforce line to 05suhide and run the echo command to create 06suhide and reboot that's all.

If possible search for a kernel for your device that's SELinux enforced.

That way you don't need the setenforce line in 05suhide.
[SuperSU] _litz:
[/COLOR]well, that's a little harsh.

1. - why I changed the scripts in the zip files? for ease of use. This is for my use only, after all, and why have to flash or execute some extra file if I don't have to?

2. if you actually READ what I wrote, I added setenforce 1 to force selinux enforcing mode. This isn't actually needed on my device, but better to be sure.

3. I'm a stock Moto X. There is no such thing as "go find a kernel" when you're on stock.

By default, it's already enforcing selinux.

If you'd read my sig, you'd see I've been messing with this stuff since the Droid Incredible was ... well ... "Incredible".

I know a thing or two here.
[SuperSU] dtriguero:
No sure what's up with my s4 all was working and safetynet helper and playground was passing then all of a sudden neither one will pass

Tried reboot=didn't work

Tried reinstall all(supersu,suhide0.55and fix)=didn't work

Tried unmount and uninstall xposed=didn't work either way

kernel is set to enforcing

So I am unable to get mine to pass safetynet again and not sure what else to try given It was working and have changed nothing on my end and others still report theirs is working fine maybe something in custom roms its looking for now cause I did see a notification pop-up saying google play services was updated right before mine stopped passing safetynet

sent from my SGH-M919 BadAss TinkerToy
[SuperSU] _litz:
I've given up for now on getting this to work without rootswitch.

That, at least, can be automated in Tasker, so it just kills root when needed.

(won't help the people who want to run PoGo "helper" apps, but hey, that's their issue)

The cat and mouse game is clearly moving faster than the patches can be applied, for the time being.
[SuperSU] danieldmm:
Always used my kernels on permissive mode. And it always pass the Safety Net check. That's not a new thing to me. It's been like this since my use of V4a and my early try of suhide when it comme outs. Still all good with 06suhide. Safety Net still passes.

Enviado do meu A0001 através de Tapatalk
[SuperSU] robertjayc:
After flashing suhide any version, my note3 (touchwizMM rom) wont load. its just restarting and wont load the desktop. any advise please?

my TWRP is 3.0.2-1
[SuperSU] grep_i:
My apologies if it sounds harsh to you, that was not my intention I was just real with you.

If you think my words are not right you have every right to refute it.

I think I made myself clear as what I think what was strange in your story and why I thought you are not sure about what you are doing.

3. And in the kernel division there are some for moto X I know of 3 don't know if they work with stock rom

PureBliss

Frankenclark

Squid kernel

2. And there you go again making my point valid, you add a line to a script to enforce SELinux although it is not needed because your stock kernel has this setting as a default.

1. This part is unclear to me.

In my story there was never anything about an extra file or executing something extra that's not needed.

I simply stated the normal installation instructions and the workaround posted by [MENTION=631273]Chainfire[/MENTION] in this thread nothing more, you at the other hand are doing something extra by changing the flashable zip.

Again this is not to attack you but to make you see there's another way maybe a lot easier than your way.
[SuperSU] DeadlyByNite:
Yeah, I was using kernel in permissive mode as well, up until Chainfire released 06suhide fix. Then the only way I could get SafetyNet to pass/green screen is to set it back to enforcing. I figured that when SafetyNet was updated, it was a new thing that it checked to see if kernel was in enforcing mode now. I asked here if it now checks for permissive kernel, and I got flamed, saying it's been stated several times in here now that it only passes in enforcing mode, so I shrugged it off, deleted my permissive boot script, rebooted, and it passed with green screen. So prior to the 06suhide fix, I used permissive mode, but post 06suhide fix, I have been using enforcing mode.
[SuperSU] Jayman007:
And ap is working again for me. All safetynet checks pass. Not sure wtf is going on today.
[SuperSU] venomrat:
Thanks for the guide.

I re-flashed the stock rom.

SafetyNet passed validation.

I followed the subsequent steps but SafetyNet failed validation for the Note 4 LTE. :(

I even added the suhide06 script given by Chainfire.

Guess which game won't be running for the time being?
[SuperSU] x_one:
Here also. Permissive kernel and SafetyNet pass green. But i use xposed so i need RootSwitch.

Configuration: Z3C, Advanced Stock kernel, Systemless Su, SuHide, 06suhide. Xposed 86.2

BTW I couldn't manage it with EliteKernel witch is SELinux Enforcing..
[SuperSU] Atratus:
Looks like safetynet may have updated again, I don't use AP but the other thing doesn't connect anymore. But I am just using rootswitch, since missed the 06suhide fix post. Unless someone can link that post.
[SuperSU] G U C C I:
It did get updated. It broke everything. I think it even broke Magisk as well.
[SuperSU] 135Shadowsoul:
here :

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

as far as i know, -e is not required on SOME terminal emulators and not on ADB shell, but as far as i know it produces no problems in any case.

---------- Post added at 08:55 AM ---------- Previous post was at 08:53 AM ----------

still green on safetynet helper app
[SuperSU] Atratus:
I assume I need to download a file also? And -e won't hurt anything if it isn't needed will it?
[SuperSU] 135Shadowsoul:
no, you dont need to download a file.

-e will not hurt, but may be needed depending on your input method (some terminal emulator interpret the commant correctly, others not, adb shell for example does without -e)

the command itself creates the file "06suhide". the echo "..." > ,,, writes the input (...) to the new file (,,,)

after creating 06suhide you need to reboot your device

i also edited my prev. post and added the "no" => "... produces no problems..."
[SuperSU] smint86:
For me, everything still works. Enforcing kernel, Magisk v7, SuperSU SR1, suhide 0.55 with 06suhide, xposed 86.6, all systemless obv. But I got the feeling it's rolling out in stages and I just don't got it in Germany, yet. But there's hope :).

Swyped via Tapatalk
[SuperSU] duowing:
Weird, safety net helper and playground are giving me fail, but Pokemon loads up. This is using the 06suhide
[SuperSU] 135Shadowsoul:
SafetyNet helper green here, pg/go working, too. Strange things are going on it seems...
[SuperSU] mustang.l:
Looks like it just updated also in Italy, this morning was working like a charm thanks to 06suhide and now PoGo is not letting me in. Didn't actually tried AP because here isn't really used but with supersu 2.78+suhide 0.55+xposed 86.2+06suhide there wasn't problem till some minutes ago.

Edit:

It works sporadically, now it letted me in... Don't now what's going on
[SuperSU] 135Shadowsoul:
maybe google tries to update it again? iirc they last safetyNet update let "china-phones" fail, even if they should not
[SuperSU] SamuelBegui:
[2016.10.10] suhide v0.55 [EXPERIMENTAL/UNSUPPORTED]

It seems the root switch method is no longer working for me either. I'm getting safety net failing to pass. I read back and saw that Chainfires terminal method is still working. Anyone else confirm this?

Copying and pasting those lines to the terminal is rather tedious, you said it's possible using ADB correct?

---------- Post added at 03:50 AM ---------- Previous post was at 03:48 AM ----------
[SuperSU] 135Shadowsoul:
i did it with adb (and without -e), just "adb shell", "su" and copy/paste. worked on my Windows laptop with my android phone.

and po/go still working here, SafetyNet helper still green (no xposed, no magisk, no rootswitch, just CF-mods)
[SuperSU] Insou:
When SafetyNet turn red (or blue) ?

I did not add the script 06suhide.

Check if your kernel is "Enforcing" : https://www.dropbox.com/s/wofz1qtgyzr6vma/IMG_20161016_204406.jpg?dl=0
[SuperSU] rolandvrielink:
When I change my selinux from permissive to enforced will my installed Optimized CM 13 works normall

Will it give any problems?
[SuperSU] ruchern:
Well, your Titanium Backup sometimes might face problems like unable to uninstall apps, unable to freeze apps. It depends. Sometime it will work, sometime it won't work.
[SuperSU] oTeMpLo:
Safetynet updated again? ?
[SuperSU] starcms:
Anyone else just start getting a red screen in SafetyNet helper and fail in SafetyNet playground as well? It was working a couple hours ago!

SuperSU 2.78 SR1 + suhide 0.55 + 06suhide script. It had been working perfectly since the addition of 06suhide. Guess they updated again...

Also, could someone briefly explain exactly what the 06suhide script does? It appears to simply mount rootfs -rw (which I'm guessing is where /su/ is stored), change perms, and mount back as -ro. Don't understand how that fixed things (for a while anyway).
[SuperSU] bobby janow:
Still passes.
[SuperSU] rolandvrielink:
Well this is very strange:

I placed the code in the terminal:

su

Setenforce 1

Phone goes off and had to start it with the on/off button

After that I looked at selinux-> permissive

Safety net helper is red

And I can play Pogo.

How is this possible?????
[SuperSU] 135Shadowsoul:
SafetyNet Helper still green for me (Loaction: Germany), GT-I9505 with CM13 + SR1+suhide+06suhide + NO magisk, NO xposed
[SuperSU] ruchern:
Kernel problem i guess. I have the samr problem as you.
[SuperSU] AbiDez:
Me, too...

Suhide + Stock Kernel enforce... No problem here...

CarHDRom V.24.7 by Carotix S6e
[SuperSU] hammerhead2:
Same here (I mean green helper) on n9005 on last rr, with enforcing kernel, supersu systemless+suhide and root switch. I am currently in Berlin, don't know if this is region-dependent.
[SuperSU] RandomPooka:
I believe the intent here is to create a one shot zip that can be flashed and forgotten about each time. Normally, I'd be all over doing something like this as well. But, it's too much of a cat and mouse game for me to bother rolling all the scripts into the flashable zip only to find out that they no longer work in 8 hours anyway.
[SuperSU] 135Shadowsoul:
My Sophos Antivirus currently told me, google forces a Play Services update. SafetyNet Helper still green and po/go working. same config like few posts before mentioned (add: SELinux enforce)
[SuperSU] starcms:
Is Enforcing a new requirement to pass SafetyNet? I've been using a Permissive kernel forever, and have had perfect success with SU 2.78 SR1 + suhide 0.55. Then after they updated, adding 06suhide got me going again. Had been working perfectly until just a couple hours ago. Now failing in both SafetyNet checker apps.
[SuperSU] SamuelBegui:
[2016.10.10] suhide v0.55 [EXPERIMENTAL/UNSUPPORTED]

Perhaps I made a typo typing it manually on my device. Did you flash SuperSU systemless, flash Suhide then type that in the terminal and does it matter if xposed is flashed immediately afterwards ?

I have flashed systemless root first, then Suhide, then xposed v86.2. If I typed the terminal command in ADB, I should be good to go hopefully?
[SuperSU] 135Shadowsoul:
i dont know how xposed interacts with the other modifications. i did never flash any xposed in combination with my CM13 rom and suhide

try with adb and reboot, good luck :)
[SuperSU] danieldmm:
Just checked now, still all good.

CM14 OnePlus One

suhide 0.55 + 06suhide

Kernel permissive

SafetyNet Play / Helper check all OK.

PoGo all good, Snapchat login ok. Location: France

Enviado do meu A0001 através de Tapatalk
[SuperSU] grep_i:
Only if the apps you have installed are very old and not updated for like 3 years or not so well engineered.

When that happens it's time to remove that app and search for an equivalent.

---------- Post added at 11:21 AM ---------- Previous post was at 11:13 AM ----------

Exactly my point that's why I didn't understand why he starts to hassle with the flashable zip for the probably short amount of time that this workaround is still working.

---------- Post added at 11:39 AM ---------- Previous post was at 11:21 AM ----------

I do it like this:

Flash all in one go

Supersu v2.78-sr1 systemless
Elementalx-n5-6.24
Xposed v86.1 systemless
Suhide v0.55

Reboot

Create 06suhide file

adb shell

su

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

ls -l /su/su.d/

reboot
[SuperSU] oTeMpLo:
ok it working AGAIN...
[SuperSU] lucbondar:
there is some people reporting that "magically" his pogo back to work.. wtf?
[SuperSU] 135Shadowsoul:
mine did not even make problems today
[SuperSU] grep_i:
Here it never stopped working.
[SuperSU] danieldmm:
Yha, this place sucks, no pokestops here... Althought it never stopped working.

Enviado do meu A0001 através de Tapatalk
[SuperSU] SamuelBegui:
Something is up I removed root ran two different flashable root removers then flashed the same boot.IMG and I still get safetynet being blocked. Let me see if I can figure this out.
[SuperSU] alexpower:
Looks like google working on safetynet

Both checker are red.

Safetynet helper is red because cts profile mismatch

Other 2 messages are success.

I think because of this 2 success

Pogo stills works with 06suhide.

It seem google increases his updates.

We have Tuesday not Thursday :(

Gesendet von meinem HTC 10 mit Tapatalk
[SuperSU] grep_i:
You can copy/paste the command in terminal or in ADB so you can be assured you make no typos.
[SuperSU] oTeMpLo:
06 suhide did not work for Me from 11 - 13h CET..

now is all Green again.. and pogo Good to...
[SuperSU] Surfinette:
I played PoGo 10 minutes ago.

Without 06suhide fix, but with Root switch.

Initially, I couldn't connect to PoGo anymore (unlike yesterday). Had to erase PoGo data before being able to play again.
[SuperSU] grep_i:
Maybe just bad internet connection.
[SuperSU] lucbondar:
Pogo leaves safetynet?? just tried and I got red in both safetynet testers but i can play anyway :eek: