How does OTA Root Keeper work? - Moto X Q&A

Just want to get educated. I did search but was not able to find an answer.
I understand it can make a copy of su.
How does it temp un-root? Does it remove the su from bin folder?
Then, most confusing, how does it restore it? It would have to copy the su back to bin, right? How does it gain permission to do so? Is it a binary with setuid bit set?
Thanks

Related

Backup all apps without rooting?

Is it possible?
google backup?
then again i rooted and upgraded to CM7 which has android 2.3.4 so perhaps it only works on gingerbread or 2.3+
I do believe you are able to adb pull /system/app without root access.
to adb push back you must remount ro rw, and to do that you need root access.
Or if you are unable to use adb, you can copy everything with a filemanager.
My phone is rooted, but I am able to copy /system/app with both adb pull and File Expert without requesting su.
For the ease of rooting/unrooting, why wouldn't you just do it properly?

Unable to delete or rename install-recovery.sh

Using Root Browser I am unable to delete or rename the install-recovery.sh file. Does anyone know why? Thank you. I also tried ES file explorer.
You need to have R/W privileges. Do you have root?
Mark Once Again said:
You need to have R/W privileges. Do you have root?
Click to expand...
Click to collapse
Yes root has been verified. Thanks for any help you can give Mark.
I use root explorer. Just navigate to the file. Make sure the permissions are R/W. If not, just push the Mount button so that it shows R/W instead of R/O. Should be good to go....
Mark Once Again said:
I use root explorer. Just navigate to the file. Make sure the permissions are R/W. If not, just push the Mount button so that it shows R/W instead of R/O. Should be good to go....
Click to expand...
Click to collapse
Thanks Bro. Good to go now.
I had the same problem, which is how I found this thread, and was not able to resolve it by remounting /system RW. However it turns out the file had the immutable attribute "i". I was able to remove the attribute and delete the file via:
Code:
su
chgattr -i /system/etc/install-recovery.sh
rm /system/etc/install-recovery.sh
recovery upgrade
how to upgrade the recovery. i have a old recovery. i want upgrade it to touch philz recovery plz help

Help unrooting

Need to load an app on my phone that can detect the presence of superuser.apk and su, so I'm trying to delete those items. I installed them by flashing a zip in recovery. However, due to the kernel level r/w protection on /system, I can't delete superuser or su by normal means (i.e., a root file explorer).
Anybody know how I can get rid of them? I assume I need some sort of a flashable zip, but haven't found one. Thanks.
Edit: Never mind. Figured out that if I just delete the /system folder from the SuperSU zip, the updater script automatically deletes all old superuser files, and then has no source for the new files. So basically it just removes SuperSU and su. I think that got the job done.

Write Access to system/apps

Hi!
Sorry for the noob question but how do I gain full access (specifically write access) to system/app? I am rooted with NUTs .681 and every time I try to copy/paste a file into system/app I get permission denied. I am using ES file explorer with root explorer set to "ON".
I have tried a few apps from the playstore but none of them work!
An easy way would be appreciated!
Regards,
Alan
Try this test to check if root working properly
Install Android Terminal Emulator from Play Store
From terminal emulator type "su" without quotes
Check if any superuser app prompt your answer to grant it using root privileges
If you're asked, then your root working properly.
Now type "mount -o remount,rw /system". Is it still permission denied? If so, so your problem is Sony RIC. If it's success, then your /system can be wrote now. Try to copy something to /system now. Check if the permission still denied or granted.
Sent from my C6903 using Tapatalk
nalab1 said:
Hi!
Sorry for the noob question but how do I gain full access (specifically write access) to system/app? I am rooted with NUTs .681 and every time I try to copy/paste a file into system/app I get permission denied. I am using ES file explorer with root explorer set to "ON".
I have tried a few apps from the playstore but none of them work!
An easy way would be appreciated!
Regards,
Alan
Click to expand...
Click to collapse
First of all you have full root.
I have xplore as file manager and allows me to modify any directory phone with xplore test application you headed to options> settings> access root> root + mount script and ready

There is no su folder in my device

Thanks for the useful app. I have a stupid problem hope anyone give me a solution.
My device is S-ON, TWRP, UNLOCKED, Android 5.0.2 I flashed SuperSU-v2.78-201609011115.zip in TWRP, and use Root Checker checked my access, but when I want to add script file in "su.d" folder, I can't find the "su" folder in root directory, system folder or anywhere in MiXplorer/Root Explorer with root access, I even tried flash SuperSU again. Could anyone tell me why and how to add files to su folder? Thank you!
------
PS. I want su folder because I flashed AdAway_systemless_hosts_v2.zip but AdAway didn't work, also tried this but as I said, there is no su folder.

Categories

Resources