Just thought I'd throw a few thoughts out there for you guys:
1. Yeah, as you may have seen and can guess, I would imagine that most apps that look for root would simply check for the presence of
/system/bin/su (
/system/xbin/su is usually soft-linked to
/system/bin/su).
2. The SuperUser app (SuperUser.apk or sometimes Superuser.apk) just helps you manage root and does not actually give you root access (just pointing this out for those that don't know). Checking for the precense of this app would also be a good indicator that your Android device is rooted. Freezing this app would not remove the .apk (freezing basically disables the app from being launched) so its presence could still be detected file a file check.
3. You should be able to temporarily hide root by doing the following:
- download
Android Terminal Emulator (you'll use this later in lieu of adb--although using an adb shell is much more straightforward and less typing error-prone)
- use your favorite tool (Root Explorer, adb, etc.) to remount
/system as read/write; you will need to know the explicit mount command because you'll have to manually type it in later on (but you don't need it here)
- then rename
/system/bin/su to something like
/system/bin/su-backup
- now that the
su program is "hidden" (-ish) and that satistfies your requirements; continue on below when you are done and ready to "re-root"...
- launch the
Android Terminal Emulator app and regain root by typing "
/system/bin/su-backup" (minus the double-quotes, of course); you'll see the
$ prompt change into the beloved
#
- now, in order to rename
su-backup back to
su, you'll have to re-mount
/system as read-write again (unless you have retained this ability from the previous re-mount above); type "
mv -i /system/bin/su-backup /system/bin/su" to rename the file
Anyway, I think the above should work for you.
I also think its
possible that if you can still keep Root Explorer launched (and it root privileges intact), you'd be able to skip all of the above.
Good luck and cheers!