[DEPRECATED][GUIDE] Temporary root your Desire Z

Search This thread

kholk

Retired Recognized Developer
May 20, 2007
2,293
3,829
Torino
HTC Vision // Desire Z Temporary Rooting

1. Download this package: MegaUpload
2. Copy the content of the package in a folder called "temproot" in your SDCard root.

3. Execute this script:
Code:
#!/system/bin/sh
cp -R /mnt/sdcard/temproot/* /data/local/tmp/
cd /data/local/tmp/
chmod 755 *
./rageagainstthecage-arm5.bin
ps

4. Restart Terminal Emulator

5. Execute this script:
Code:
#!/system/bin/sh
/data/local/tmp/busybox killall rageagainstthecage-arm5.bin
mount -o rw,remount -t ext3 /dev/block/mmcblk0p25 /system
/data/local/tmp/busybox cp /sdcard/temproot/Superuser.apk /system/app/Superuser.apk
/data/local/tmp/busybox cp /sdcard/temproot/su /system/bin/su
/data/local/tmp/busybox cp /sdcard/temproot/busybox /system/bin/busybox
chmod 4755 /system/bin/su
chmod 4755 /system/bin/busybox
mount -o ro,remount -t ext3 /dev/block/mmcblk0p25 /system

Now your phone is temporairily rooted and you can even get root on adb.


Thanks to:
*- C-Skills for the exploit
*- Guys in G2 section for testing it.
 
Last edited:

kholk

Retired Recognized Developer
May 20, 2007
2,293
3,829
Torino
G2 and Z are the same device.... HTC Vision.
Radio ROMs and BootLoaders should be compatible, we only need someone that can verify, but AFAIK a G2 owner flashed a full Desire Z ROM and worked without problems.
 

theclueless

Senior Member
Jul 30, 2008
518
41
Chicago
G2 and Z are the same device.... HTC Vision.
Radio ROMs and BootLoaders should be compatible, we only need someone that can verify, but AFAIK a G2 owner flashed a full Desire Z ROM and worked without problems.

any idea if the G2 is a test unit or retail unit? i want senseui (sad i know, but im a sucker for nice graphic)
 

M9x3mos

Senior Member
May 12, 2008
776
58
Around
Correction. The Desire Z rom currently be flashed to G2 but the PC10IMG.zip original G2 rom does work on the Desire Z
 

waiting89

Senior Member
Jul 2, 2009
116
6
I try using this but My G2 didn't work, I got stock here at this step:
"#!/system/bin/sh
cp -R /mnt/sdcard/temproot/* /data/local/tmp/"
 

absinthenyc

New member
Sep 27, 2010
2
0
do changes persist?

If I do this temp root and install busybox or tether, will the changes be wiped out on restart?
 

waiting89

Senior Member
Jul 2, 2009
116
6
"cp: permission denied." Yes this is the error code I get.

"export PATH=/data/local/bin:$PATH
$ $ #! /system/bin/sh
$ cp -R /mnt/sdcard/temproot/* /data/local/tmp/
cp: permission denied
$"

That's exactly what it appears on the terminal.
 
Last edited:

stian230

Senior Member
Oct 29, 2009
1,425
1,837
Nesttun
I read this on androidspin :

If you root your new G2 phone, HTC has embedded a chip that will detect this and return the phone back to its original factory settings. So much for open source!

They can do this?
 
Last edited:

alau1158

Member
Dec 7, 2006
25
0
Hmm, yep same problem, cp gives me a permission denied, and the folder /data is a system file seems like we don't have any access to it. on the example, seems like there's # instead of $ which means it has admin access, how did you get to that state? sorry android noob here :-\
 

timsterzzz

Senior Member
Aug 30, 2010
150
38
I read this on androidspin :

If you root your new G2 phone, HTC has embedded a chip that will detect this and return the phone back to its original factory settings. So much for open source!

They can do this?
Actually no, and its covered in many threads, and I'm sure the op doesn't want the discussion started again.
 

kholk

Retired Recognized Developer
May 20, 2007
2,293
3,829
Torino
There isn't any chip that will magically transform your HTC Vision in an airplane / automobile / house / cigarette industry.