Keeping Root For Future Ics Updates --Beyond Ota Rootkeep--
#1
Posted 30 July 2012 - 06:52 PM
OTA Rootkeeper by Voodoo is a great app, but fastbooting will removed the su binary's backup unfortunately. So the ideas are starting to flow.
An idea I have for keeping it in the future is to kind of make your own backup root exploit, in a sense, using your ~/data/local/ folder [Recommend to do this right before you fastboot back, as having this all the time may effect on how your device runs normally].
Studying the Debugfs ICS root exploit by miloj and the batch by pedrotorrestfilho and kholk this is what I can figure from looking at this:
Pushing files...
Now, looking inside the input for debugfs (cmds) we can see this:
Key code:
"rm" = Delete directory/or file.
"mv" = rename
"cd" = change directory to
"chmod" = changing permissions of a file
"ln" = linking folders
"push" = place file into
Now, we do not want to actually run the root exploit obviously! This will be what I was thinking to do to ensure that we do not..
And now for what we want to do for actually launching the root exploit when on the new, non-exploitable system:
Now to test if it worked...uid and gid should both be 0.
If it worked great the idea works! Time to clean up. If not... the idea was worth a shot!
Clean up:
More cleanup:
Installing busybox and superuse.apk:
Thank you to EternityProject's easyRootICS, if this idea is proven I can turn it into a batch file
EDIT: Here is my batch file for testing. Steps should be obvious, if you are rooted on ICS (on a NON-Safestrap Rom, because Safestrap messes with ADB), you only run 1st_Step-Pushing.bat. USB Debugging must be enabled, drivers installed, plugged into computer, not USB Mass Storage (MTP or Camera).
- lownslow200sx likes this
Please do not Personal Message me for help or troubleshooting. They will be ignored. Post in threads or start one in Q&A sections.
#2
Posted 30 July 2012 - 07:17 PM
1) Use 1st_Step-Pushing.bat on a non-safestrap rom as the above post explains.
2) Fastboot to stock 211 and do NOT wipe data. (In 1.8 or 1.81 exit instead of wiping data, when it asks after the fastboot).
3) Run the 2nd_Step-Rooting and the 3rd_Step-Testing. If there is no errors..then it worked well. You can then run the 4th and 5th step for cleanup and busybox/Superuser.apk install.
Thanks to anyone who can test this
- lownslow200sx likes this
Please do not Personal Message me for help or troubleshooting. They will be ignored. Post in threads or start one in Q&A sections.
#3
Posted 30 July 2012 - 07:47 PM
If you feel the need to buy me a beer, or help pay my bills, here's the link:http://bit.ly/O4ZnLW
#4
Posted 31 July 2012 - 05:25 AM
1. FB'ing to 211
2. Re-rooting
3. Rooted, Ran option 1 successfully, now FB'ing to 211 again (this time not wiping data since I wasn't on a non-SS ROM)
4. FB'd. Prepping to run steps 2 and 3
Snagged at 2nd step. Rooting bat doesn't work, link failed because file exists. Looking into it.
Unrooted and ran step 1
Step 2 successful. Getting ready to run Step 3.
Step three snag:
If you feel the need to buy me a beer, or help pay my bills, here's the link:http://bit.ly/O4ZnLW
#5
Posted 31 July 2012 - 07:28 AM
1. Did that no problem
2. Did that
3. Told me link failed file exists and rebooted phone
4. 2nd step rooting doesn't seem to work cause 3rd step testing did not work.
#6
Posted 31 July 2012 - 11:20 AM
Can someone tell me using a root explorer if the files were still in /data/local/ after running 1 and fastbooting?Steps
1. Did that no problem
2. Did that
3. Told me link failed file exists and rebooted phone
4. 2nd step rooting doesn't seem to work cause 3rd step testing did not work.
Please do not Personal Message me for help or troubleshooting. They will be ignored. Post in threads or start one in Q&A sections.
#7
Posted 31 July 2012 - 11:28 AM
#8
Posted 31 July 2012 - 11:31 AM
Crap I already reset everything maybe house can look
Starting from scratch.
Pushed files, now FB'ing to 211 without wiping data.
In my 12m folder shows the following:
- mattlgroff likes this
If you feel the need to buy me a beer, or help pay my bills, here's the link:http://bit.ly/O4ZnLW
#9
Posted 31 July 2012 - 03:34 PM
Well hey that's great the generally idea works then! Having those file's safe in there will be good.Starting from scratch.
Pushed files, now FB'ing to 211 without wiping data.
In my 12m folder shows the following:
Please do not Personal Message me for help or troubleshooting. They will be ignored. Post in threads or start one in Q&A sections.
#10
Posted 31 July 2012 - 03:48 PM
If you get this to work you keeped the permissions
debugfs may work.
Please do not Personal Message me for help or troubleshooting. They will be ignored. Post in threads or start one in Q&A sections.
#11
Posted 31 July 2012 - 04:19 PM
Sent from my DROID RAZR using Xparent ICS Blue Tapatalk 2
#12
Posted 31 July 2012 - 04:39 PM
I would not put it as "left out to dry", but we need to have more involved in the process behind finding and making a root exploit for devices. Dan put enormous work into his exploits and lots of users take it for-granted.Okay either Matt or House could you tell us what affects if any Dan's retirement will have on the RAZR community? Does this mean future OS's will have no "Root Crusader" to get us into our handsets? I'm just worried we are left out to dry now if you could clear some of this up that would be great.
Sent from my DROID RAZR using Xparent ICS Blue Tapatalk 2
I am working with others to make our own exploit for the Atrix HD..and hopefully this can be re-used on later ICS versions, if we release it in a way in which Motorola cannot see the code we use , like an encrypted executable or something along those lines.
- PillClinton likes this
Please do not Personal Message me for help or troubleshooting. They will be ignored. Post in threads or start one in Q&A sections.
#13
Posted 31 July 2012 - 06:37 PM
X
Sent from my DROID RAZR using Tapatalk 2
GTalk/Email: xlightwaverx[@]gmail.com | Android Development | CrackFlasher Downloads
#14
Posted 31 July 2012 - 08:53 PM
I'm down with the sickness.
X
Sent from my DROID RAZR using Tapatalk 2
fwiw. i marketed that album
#15
Posted 01 August 2012 - 06:26 AM
Try:
If you get this to work you keeped the permissions debugfs may work.
If you feel the need to buy me a beer, or help pay my bills, here's the link:http://bit.ly/O4ZnLW
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users