Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,173 Members 40,868 Now Online
XDA Developers Android and Mobile Development Forum

[Guide] Full system temproot (no traces) [0.11] (no hboot-1.56)

Tip us?
 
fenstre
Old
(Last edited by fenstre; 14th April 2014 at 06:21 AM.)
#1  
Senior Member - OP
Thanks Meter 469
Posts: 1,039
Join Date: Jan 2012
Default [Guide] Full system temproot (no traces) [0.11] (no hboot-1.56)

These are instructions (and a helper script) to root the phone without unlocking or installing a recovery partition. It's based on temproot, and is ideal for anyone who doesn't want to modify their system software, or someone without a RUU who wants to make a full dump of their phone for backup in case they want to unroot.

Prerequisites:
- This will not work with hboot-1.56 (comes with Android 4.4.2)
- USB debugging should be enabled
- Get temproot from the Firewater folks (based on code by hikezoe and fi01)
- Get the SuperSU or SuperUser APK (I got it from inside this zip): http://download.chainfire.eu/396/Sup...erSU-v1.94.zip
- Get a `su` executable (also inside the same zip): http://download.chainfire.eu/396/Sup...erSU-v1.94.zip
- full-system-temproot.zip from this post and unzip the two files

Instructions:
- The Firewater folks recommend disabling screen lock and rebooting.
- Put SuperSU.apk, su, busybox, and root.sh into /sdcard/Download
- Connect to USB and run:
Code:
Select Code
adb shell sh /sdcard/Download/root.sh
Follow the instructions, which consist of waiting for the root shell to appear (wait 10 minutes, then see a command prompt starting with "#"), then typing
Code:
Select Code
/data/local/tmp/root2.sh
and hitting enter.

Note: the difference between this and the "naked" temproot hack is that the naked hack leaves you with a root shell which can run root commands, but no way for installed programs to use root capabilities. Either way, rebooting will unroot the device. (There are still some root-related files, but they are inactive and will disappear when the device is factory reset.)

Warning:
This has had minimal testing, but there is nothing that seems like it could cause obvious harm. It's a privilege escalation exploit, not a system change.
Attached Files
File Type: zip full-system-temproot.zip - [Click for QR Code] (456.1 KB, 13 views)
If I helped, click Thanks!
The Following User Says Thank You to fenstre For This Useful Post: [ Click to Expand ]
 
v
Old
#2  
v's Avatar
Senior Member
Thanks Meter 1
Posts: 84
Join Date: Dec 2003
Hi, Thank you very much for this!
Can this be used to prepare for rumrunner or firewater?
I have two HTC Ones w. HBOOT 1.54 and 1.55.
As I want to avoid losing warranty
The phones can't be opened w/ firewater and rumrunner without HTCDEV.
Kind regards,
V
W48+HP-41CX HP 200LX+Nokia 2110i Himalaya Wizard Kaiser One S One (M7)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes