I am using superSU, and I need temporary unroot to try and fix my issue with google Wallet.
However, I can't find the option called "Temporary Unroot"! I have searched XDA and also done a general google search. the feature is mentioned all over the place, but nowhere does anybody explain where it is or how to access it.
In SuperSU, under settings, I found the option to enable or disable "superuser", but that's all. Is that it? Confused.
if you or anybody else coming across this thread is interested in the technical details around how this works, the process is very simple with some background knowledge.
there are two elements in play when an application, such as Google Wallet, or any other application attempts to verify whether or not the device has root access. It can directly attempt to issue the "su" command see if it gets returned elevated privileges, or it can look for the su binary to be specifically located in /system/bin or /system/xbin.
based on the methods used to determine root access, you can "temporarily" unroot by moving/renaming root access away from the standard location.
example:
adb shell
su
mount -o remount,rw /system /system
mv /system/bin/su /system/bin/backupsu
mount -o remount,ro /system /system
exit
now root access has been moved and android apps requiring root or searching for root access won't be able to locate it. when you want to restore root access, follow these steps based on the example above:
adb shell
backupsu
mount -o remount,rw /system /system
mv /system/bin/backup /system/bin/su
mount -o remount,ro /system /system
exit
these steps will moved the su binary back to the standard location. hope that helps provide some insight and detail to the process!