[2017.10.01] suhide-lite v1.09 [EXPERIMENTAL/UNSUPPORTED]

Search This thread

darryl_co

Senior Member
Aug 29, 2011
156
6
@Chainfire what do you mean by Xposed not supported? After installing suhide can I install xposed or suhide Will not be able to hide root from apps? Please explain
 

jcmm11

Inactive Recognized Contributor
Feb 10, 2012
3,589
3,614
Google Pixel 4a 5G
@Chainfire what do you mean by Xposed not supported? After installing suhide can I install xposed or suhide Will not be able to hide root from apps? Please explain
If you install Xposed you will not pass Safety Net, you will always be detected as rooted. suhide is, along with SuperSU, no longer developed or maintained. For active root development/hiding see Magisk. But you still won't be able to hide xposed.
 

JhinCuatro

Senior Member
Mar 2, 2017
290
78
If you install Xposed you will not pass Safety Net, you will always be detected as rooted. suhide is, along with SuperSU, no longer developed or maintained. For active root development/hiding see Magisk. But you still won't be able to hide xposed.

Xposed is now able to pass safetynet on android pie. EdXposed and Riru Core bypass safetynet. But it's still not enough when it comes to snapchat apparently.

---------- Post added at 05:49 PM ---------- Previous post was at 05:40 PM ----------

If you install Xposed you will not pass Safety Net, you will always be detected as rooted. suhide is, along with SuperSU, no longer developed or maintained. For active root development/hiding see Magisk. But you still won't be able to hide xposed.

Remove /data/adb/su/suhide folder in TWRP.

**This is not regarding Su, but magisk.**

Hello, I'm really wanting to get some major help and don't know where to start yet; unless someone can point me in the right direction. I'm looking for a really really effective way to hide root and what Snapchat considers "3rd party" or not within their bs police state rules regarding things.. Passing SafetyNet and bypassing many (if not all)root hide methods and ultimately even (secretly and privately; appops, xprivacy) revoke permissions, isolate storage, even use workprofile (Island) isn't even enough for snapchat (god knows what other apps can do then..) To this day it doesn't seem possible to hide apps from other apps (sudohide is dated and crashes a lot; repackaging is cumbersome and not viable for every app that snapchat may throw a fit on (how it works around Island, I do not know). Use advanced root detector or any it use root detector, and it picks up that magisk manager is installed even with ZERO permissions granted. There isn't any articles (as far as I know) about how and what snapchat even picks up! Since snapchat can pick up any package name, like magisk's, this does mean it's possible for it to lock you out even without having the "risky" edxposed framework, assuming it does trigger a random ban occasionally.

Magisk (magisk hide enabled) + Riru Core + EdXposed + EdXposed Manager (unmodified package name) + Magisk manager (repackaged) + AppOps/xprivacylua (deny relevant permissions)/Storage Redirect (deny app to see entire phone storage). To make things complicated, when I used Island, which keep apps isolated from the actual device (apps can still detect root/busybox if magisk hide not enabled) snapchat randomly locked me out after a while; I denied it certain permissions via appops before the random ban, so maybe denying it certain permissions is suddenly grounds for a ban?
 

Shuaib_Ahsan

Senior Member
Feb 8, 2011
99
16
OnePlus 8 Pro
Xposed is now able to pass safetynet on android pie. EdXposed and Riru Core bypass safetynet. But it's still not enough when it comes to snapchat apparently.

---------- Post added at 05:49 PM ---------- Previous post was at 05:40 PM ----------





Remove /data/adb/su/suhide folder in TWRP.



**This is not regarding Su, but magisk.**



Hello, I'm really wanting to get some major help and don't know where to start yet; unless someone can point me in the right direction. I'm looking for a really really effective way to hide root and what Snapchat considers "3rd party" or not within their bs police state rules regarding things.. Passing SafetyNet and bypassing many (if not all)root hide methods and ultimately even (secretly and privately; appops, xprivacy) revoke permissions, isolate storage, even use workprofile (Island) isn't even enough for snapchat (god knows what other apps can do then..) To this day it doesn't seem possible to hide apps from other apps (sudohide is dated and crashes a lot; repackaging is cumbersome and not viable for every app that snapchat may throw a fit on (how it works around Island, I do not know). Use advanced root detector or any it use root detector, and it picks up that magisk manager is installed even with ZERO permissions granted. There isn't any articles (as far as I know) about how and what snapchat even picks up! Since snapchat can pick up any package name, like magisk's, this does mean it's possible for it to lock you out even without having the "risky" edxposed framework, assuming it does trigger a random ban occasionally.



Magisk (magisk hide enabled) + Riru Core + EdXposed + EdXposed Manager (unmodified package name) + Magisk manager (repackaged) + AppOps/xprivacylua (deny relevant permissions)/Storage Redirect (deny app to see entire phone storage). To make things complicated, when I used Island, which keep apps isolated from the actual device (apps can still detect root/busybox if magisk hide not enabled) snapchat randomly locked me out after a while; I denied it certain permissions via appops before the random ban, so maybe denying it certain permissions is suddenly grounds for a ban?
Can you confirm if snapchat checks for permissive or enforcing kernel.

Sent from my SM-N960F using Tapatalk
 

mo5lis

Member
Oct 20, 2017
16
4
I tested it on my note 3 with C9 pro rom 6.0.1
After flashing supersu to sbin mode, the root doesn't work
After flashing suhide, the suhide gui doesn't appear in app drawer and device seem that is not rooted
Reflashing supersu zip file in system mode and root worked again
Thanks
 
  • Like
Reactions: andrew2432

billa

Senior Member
Mar 30, 2006
864
389
I tested it on my note 3 with C9 pro rom 6.0.1
After flashing supersu to sbin mode, the root doesn't work
After flashing suhide, the suhide gui doesn't appear in app drawer and device seem that is not rooted
Reflashing supersu zip file in system mode and root worked again
Thanks

After you flashed SUhide then reflashed SuperSU, did the hiding feature work?
 

Ch3vr0n

Senior Member
May 6, 2009
1,693
668
41
Wrong topic, suhide needs root, it doesn't root by itself. Oh and chainfire retired from all his root needing aps. This is no longer developed

Sent from my Pixel 3 XL using Tapatalk
 
  • Like
Reactions: ipdev and osm0sis

KaMyKaSii

Senior Member
Feb 25, 2015
1,391
687
It's what I usually use but I have a module making me loop and wanted to delete it from /data, my rom is encypted and twrp does not decrypt it

Run the adb command below on your computer, turn on your device and plug in the USB cable. As is off-topic, any additional help should be requested in the Magisk discussion thread.
Code:
adb wait-for-device shell magisk --remove-modules
 

Cursed Chico

Senior Member
Jul 9, 2011
432
5
Istanbul
I first flash SuperSU Config and select Systemless SBIN mode then Reflash SuperSU v2.82 SR2 then Flash the suhide ZIP

in xiaomi mis5s plus. When i open supersufree, it immediately closes it. i cant also see suhide as an app.

I only want to use an app that needs to be shown as unrooted

edit
i again did flashing suhid zip. this time i wiped cache and rebooted. it waited at start, becasuse there was a progress bard. then i could login. There was different screensaver.

i cant see again suhudi icon. Now i cant open any app.. nothing is clickable :(

edit: after tryings, now i can click apps. UI changed but still cant see suhide icon
 
Last edited:

DB126

Senior Member
Oct 15, 2013
15,363
10,175
I first flash SuperSU Config and select Systemless SBIN mode then Reflash SuperSU v2.82 SR2 then Flash the suhide ZIP

in xiaomi mis5s plus. When i open supersufree, it immediately closes it. i cant also see suhide as an app.

I only want to use an app that needs to be shown as unrooted

edit
i again did flashing suhid zip. this time i wiped cache and rebooted. it waited at start, becasuse there was a progress bard. then i could login. There was different screensaver.

i cant see again suhudi icon. Now i cant open any app.. nothing is clickable :(

edit: after tryings, now i can click apps. UI changed but still cant see suhide icon
SuperSU (and by extension, suhide) is EOL and no longer supported. Best use Magisk if you are looking to hide root.
 
  • Like
Reactions: Cursed Chico

Top Liked Posts

  • There are no posts matching your filters.
  • 159
    suhide-lite is an experimental (and officially unsupported) mod for SuperSU that can selectively hide root (the su binary) from other applications. It can also toggle visibility of packages (such as SuperSU).

    SafetyNet verified passing on 2017.08.10.

    This is ultimately a losing game (see the next post). suhide may stop working at any time.

    Requirements
    - SuperSU v2.82 SR2 or newer (link)
    - SuperSU installed in SBIN mode (default on O+)
    - Android 6.0 or newer
    - TWRP (3.0.2 or newer with access to /data), FlashFire is not (yet) supported.

    Xposed
    Not supported.

    CyanogenMod/LineageOS
    Not currently tested or supported. Might work, might not.

    Custom kernels/ROMs
    If they changed build props, they will probably fail SafetyNet check (for now).

    Installation

    First make sure you are using SuperSU in SBIN mode on Android 6.x and 7.x
    - Boot into TWRP
    --- adb shell: echo "BINDSBIN=true">/data/.supersu
    --- OR: flash SuperSU Config and select Systemless SBIN mode
    - Reflash SuperSU v2.82 SR2 or newer
    - Reboot into Android at least once

    With SuperSU in SBIN mode
    - Flash the suhide ZIP in TWRP
    - Reboot into Android

    If your TWRP does not fully decrypt /data, reflashing the SuperSU ZIP and immediately flashing the suhide ZIP without rebooting in between may sometimes allow suhide to be installed as well where it would otherwise throw an error.

    Usage

    The suhide GUI available from your app drawer should be fairly self-explanatory. The About tab lists further instructions.

    Advanced usage

    You can manually add/remove/list entries to suhide's blacklist by using these commands:

    /sbin/supersu/suhide/add UID-or-processname
    /sbin/supersu/suhide/rm UID-or-processname
    /sbin/supersu/suhide/list

    App package names are usually the same as the process name, but not always. Using the UID is safer. You can find the UID by running 'ps -n' (6.x/7.x) or 'ps -An' (8.x). The UID is the first column, and is a 5-digit number starting with 10: 10xxx.

    Uninstall

    Remove /data/adb/su/suhide folder in TWRP's file manager. You can uninstall the suhide app through Android's settings.

    Download

    UPDATE-suhide-v1.09-20171001222116.zip

    In case that bootloops, try the old v1.00 version, and let me know your device and firmware:
    UPDATE-suhide-v1.00-20170809130405.zip

    Sauce @ https://github.com/Chainfire/suhide-lite
    54
    Hiding root: a losing game - rant du jour

    Quoting myself from the OP of the old suhide thread:

    Most apps that detect root fall into the payment, banking/investing, corporate security, or (anit cheating) gaming category.

    While a lot of apps have their custom root detection routines, with the introduction of SafetyNet the situation for power users has become worse, as developers of those apps can now use a single API to check if the device is not obviously compromised.

    SafetyNet is of course developed by Google, which means they can do some tricks that others may not be able to easily do, as they have better platform access and control. In its current incarnation, ultimately the detection routines still run as an unprivileged user and do not yet use information from expected-to-be-secure components such as the bootloader or TPM. In other words, even though they have slightly more access than a 3rd party app, they still have less access than a root app does.

    Following from this is that as long as there is someone who is willing to put in the time and effort - and this can become very complex and time consuming very quickly - and SafetyNet keeps their detection routines in the same class, there will in theory always be a way to beat these detections.

    While reading that may initially make some of you rejoice, this is in truth a bad thing. As an Android security engineer in Google's employ has stated, they need to "make sure that Android Pay is running on a device that has a well documented set of API’s and a well understood security model".

    The problem is that with a rooted device, it is ultimately not possible to guarantee said security model with the current class of SafetyNet tamper detection routines. The cat and mouse game currently being played out - SafetyNet detecting root, someone bypassing it, SafetyNet detecting it again, repeat - only serves to emphasize this point. The more we push this, the more obvious this becomes to all players involved, and the quicker SafetyNet (and similar solutions) will grow beyond their current limitations.

    Ultimately, information will be provided and verified by bootloaders/TrustZone/SecureBoot/TIMA/TEE/TPM etc. (Samsung is already doing this with their KNOX/TIMA solutions). Parts of the device we cannot easily reach or patch, and thus there will come a time when these detection bypasses may no longer viable. This will happen regardless of our efforts, as you can be sure malware authors are working on this as well. What we power-users do may well influence the time-frame, however. If a bypass attains critical mass, it will be patched quickly.

    More security requires more locking down. Ultimately these security features are about money - unbelievably large amounts of money. This while our precious unlocked bootloaders and root solutions are more of a developer and enthusiast thing. While we're all generally fond of shaking our fists at the likes of Google, Samsung, HTC, etc, it should be noted that there are people in all these companies actively lobbying to keep unlocked/unlockable devices available for us to play with, with the only limitation being that some financial/corporate stuff may not work if we play too hard.

    It would be much easier (and safer from their perspective) for all these parties to simply plug that hole and fully lock down the platform (beyond 3rd party apps using only the normal APIs). Bypassing root checks en masse is nothing less than poking the bear.

    Nevertheless, users want to hide their roots (so do malware authors...) and at least this implementation of suhide is a simple one. I still think it's a bad idea to do it. Then again, I think it's a bad idea to do anything financial related on Android smartphone that isn't completely clean, but that's just me.

    Note that I have intentionally left out any debate on whether SafetyNet/AndroidPay/etc need to be this perfectly secure (most people do their banking on virus ridden Windows installations after all), who should get to decide which risk is worth taking, or even if Google and cohorts would be able to design the systems more robustly so the main app processor would not need to be trusted at all. (the latter could be done for Android Pay, but wouldn't necessarily solve anything for Random Banking App). While those are very interesting discussion points, ultimately it is Google who decides how they want this system to work, regardless of our opinions on the matter - and they want to secure it.

    I still stand behind this statement I made a year ago.

    I will add to this another concern that I've posted before: on the A/B layout devices such as the Google Pixel (XL), it is possible to detect the device is rooted with a handful of lines of code, and I do not see any way to beat this detection aside from custom kernels. As soon as this detection is added to SafetyNet, it is pretty much game over. Frankly I'm surprised it hasn't been added yet.
    47
    The new suhide-lite vs the old suhide

    The old suhide was completely different under the hood. It proxied zygote and created two different process trees for the real zygote and descendants (apps), one with root and one without, and multiplexed app instantiation calls between them. The new suhide-lite uses a completely different mechanism to achieve a similar outcome (some apps with and some apps without root).

    One thing the old suhide had and the new suhide-lite version does not, is full binder interception. It could listen to and change most API calls and responses between apps and the Android system dynamically. While this may not sound like a big deal to some, from a malware-perspective this is almost a holy-grail class hack. suhide only used it to hide application packages (such as SuperSU) from apps selectively, so for example the launcher could still find it, but to some games it was completely invisible.

    The binder interception code was the part that really interested me and the desire to get that working was the driving force behind the old suhide implementation. The security measures in Android's November 2016 security update blocked the old mechanism and with it the binder interceptor. Of course, I have actually written the code to bypass those (naive) protections in turn, but since that implementation of suhide was possible to detect in other ways, I kept that patch private. It may still prove useful in other projects, so it didn't make any sense to burn those work-arounds.

    It may be possible to port the interceptor to the new mechanism, but it would be a lot of work and I don't think I'll be doing it any time soon, if ever. The lack of this intercepter is what makes the new suhide lite. The new suhide is able to hide packages such as SuperSU from other apps and games, but it does so via a toggle mechanism (3x alternating volup/voldown) that hides and unhides them, rather than handling the whole thing transparently.
    38
    Changelogs

    2017.10.01 - v1.09
    - Remove ODM and OEM mounts
    - Setpropex: set multiple properties
    - Cleanup: remove /boot

    2017.08.15 - v1.08
    - Fix a process freeze issue
    - Fix framework restart survival (stop && start)
    - Fix double free crash

    2017.08.11 - v1.07
    - Startup: Fix parallelism

    2017.08.10 - v1.06
    - Startup: Disable parallelism (temporary?), causes things to break sometimes

    2017.08.10 - v1.05
    - GUI: Synchronize changing items with the same UID
    - GUI: Hide system apps (UID < 10000)
    - GUI: Fix UID / package display line to ellipsize instead of wrap
    - Properties: Adjust various build, adb, debug and security properties
    - Startup: Improve performance by running operations in parallel
    - ZIP: Allow flashing directly after SuperSU switch from image to SBIN mode, without reboot in between

    2017.08.09 - v1.00
    - Initial release of new code
    - For old code, see https://xdaforums.com/apps/supersu/suhide-t3450396
    26
    v1.08 released

    v1.08 is now available from the opening post of this thread ( https://xdaforums.com/apps/supersu/suhide-lite-t3653855 )

    This will hopefully fix the freezing issue some have been seeing. I've had a couple of devices run the boot-sequence and monkey-testing apps for a few minute in a loop, and fixed all the freezes I could find that way. Hopefully that includes the ones that have been reported here.