[Q] HTC DESIRE Z ROOT help - G2 and Desire Z Q&A, Help & Troubleshooting

Hi i'm trying to root my HTC DESIRE Z , i've rooted it before but after i broke it i sent it to a local htc service to fixit it ofcourse they unrooted me so now i'm running on 2.3.3 Android version , Sense 2.1 (Like before when i succeeded in rooting ) . So the problem is here
C:\>cd c:\android-sdk-windows\platform-tools
c:\android-sdk-windows\platform-tools>adb push busybox /data/local/tmp
2450 KB/s (1926944 bytes in 0.768s)
c:\android-sdk-windows\platform-tools>adb push gfree /data/local/tmp/
2338 KB/s (739858 bytes in 0.309s)
c:\android-sdk-windows\platform-tools>adb push hboot-eng.img /data/local/tmp
2522 KB/s (1048576 bytes in 0.406s)
c:\android-sdk-windows\platform-tools>adb push psneuter /data/local/tmp/
2487 KB/s (557962 bytes in 0.219s)
c:\android-sdk-windows\platform-tools>adb push recovery-clockwork-3.0.2.4-vi
.img /data/local/tmp/recovery.img
2399 KB/s (4573184 bytes in 1.861s)
c:\android-sdk-windows\platform-tools>adb push root_psn /data/local/tmp/
137 KB/s (564 bytes in 0.004s)
c:\android-sdk-windows\platform-tools>adb push su /sdcard/
918 KB/s (26324 bytes in 0.028s)
c:\android-sdk-windows\platform-tools>adb push Superuser.apk /sdcard/
2455 KB/s (196120 bytes in 0.078s)
c:\android-sdk-windows\platform-tools>adb shell
$ chmod 755 /data/local/tmp/*
chmod 755 /data/local/tmp/*
$ cd /data/local/tmp/psneuter$ /data/local/tmp/psneuter
/data/local/tmp/psneuter
Failed to set prot mask (Inappropriate ioctl for device)
$
Click to expand...
Click to collapse
C:\>cd c:\android-sdk-windows\platform-tools - Doing it because can't add platform-tools in my variables .. so i just go in to that directory .. i'm folowing cyanogedmod guide
If Anyone have any suggestions please help .
Sorry about my bad English.
Thanks !

You gotta downgrade first, http://forum.xda-developers.com/showthread.php?t=1178912
-Nipqer

Nipqer said:
You gotta downgrade first, http://forum.xda-developers.com/showthread.php?t=1178912
-Nipqer
Click to expand...
Click to collapse
Umm don't remember downgrading my phone last time .. but if i do so , it will help ?

last time you would've rooted it before the gingerbread update, so there was no need to downgrade.
but now that you're on a gingerbread rom, you have to downgrade to root.
If it didn't help, I wouldn't of posted it.
-Nipqer

Nipqer said:
last time you would've rooted it before the gingerbread update, so there was no need to downgrade.
but now that you're on a gingerbread rom, you have to downgrade to root.
If it didn't help, I wouldn't of posted it.
-Nipqer
Click to expand...
Click to collapse
Thanks , will try !

Related

[Q] problem downgrading my DHD(1.84)

this is the error i m facing(in bold):
E:\Setup\android\root\Downgrade>adb push misc_version /data/local/tmp
1104 KB/s (15837 bytes in 0.014s)
E:\Setup\android\root\Downgrade>adb shell chmod 777 /data/local/tmp/psneuter
E:\Setup\android\root\Downgrade>adb shell chmod 777 /data/local/tmp/misc_version
E:\Setup\android\root\Downgrade>adb shell /data/local/tmp/psneuter
mmap() failed. Operation not permitted
what should i do?
Well you did not push psneuter there, so you cannot run it You just pushed misc_version.
jkoljo said:
Well you did not push psneuter there, so you cannot run it You just pushed misc_version.
Click to expand...
Click to collapse
i did it its just that i missed it while copying the the text from cmd. here it is:
e:\Setup\android\root\Downgrade>adb push psneuter /data/local/tmp
1661 KB/s (557962 bytes in 0.328s)
e:\Setup\android\root\Downgrade>adb push misc_version /data/local/tmp
1189 KB/s (15837 bytes in 0.013s)
e:\Setup\android\root\Downgrade>adb shell chmod 777 /data/local/tmp/psneuter
e:\Setup\android\root\Downgrade>adb shell chmod 777 /data/local/tmp/misc_version
e:\Setup\android\root\Downgrade>adb shell /data/local/tmp/psneuter
mmap() failed. Operation not permitted
phone connected to Windows7 in charge only mode with usb debugging enabled.
hey,
I am facing the exact same problem, I live in India and my DHD isn't carrier branded or anything.
Earlier when i tried to downgrade, I was getting CID failed...so i did a goldcard and now I am getting the exact same error as mentioned above...can anyone plz help?
Yea, i got that error when i was trying to downgrade too, just a week ago!
my phone was branded, and when i didn't do the GoldCard, i didn't get the error.
but as soon as i did the goldcard, then the error came twice.
what i did was restart the phone, the computer and formatted the SD card and did the whole process again, then i typed
>adb shell /data/local/tmp/psneuter
and i got the error again. I waited like 3-6 seconds and tried the above command again, and it worked.
honestly, i dont know where the problem comes from. but good luck
wrong n missing image files error in bootloader
after the temp root.. when it goes in bootloader , it does say that the image files are missing and wrong image file…
m running on htc desire hd 1.84 stock rom unlocked.
please help me out

[Q] Needing help with HTC Desire Z root

Hey everyone
Lately i've been trying to downgrade/root my phone the HTC Desire Z,
but once i came across step 15 some problem ocurred. Once i pasted this command below in the cmd.
adb install AndroidTerm.apk
adb push busybox /data/local/tmp/
adb push gfree /data/local/tmp/
adb push rage /data/local/tmp
adb push root /data/local/tmp/
adb shell chmod 0755 /data/local/tmp/*
adb push su /sdcard/
adb push Superuser.apk /sdcard/
Then i received this as result.
C:\androidsdk\tools>adb install AndroidTerm.apk
1380 KB/s (49478 bytes in 0.035s)
pkg: /data/local/tmp/AndroidTerm.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
C:\androidsdk\tools>adb push busybox /data/local/tmp/
1716 KB/s (1926944 bytes in 1.096s)
C:\androidsdk\tools>adb push gfree /data/local/tmp/
1874 KB/s (134401 bytes in 0.070s)
C:\androidsdk\tools>adb push rage /data/local/tmp
752 KB/s (5392 bytes in 0.007s)
C:\androidsdk\tools>adb push root /data/local/tmp/
112 KB/s (575 bytes in 0.005s)
C:\androidsdk\tools>adb shell chmod 0755 /data/local/tmp/*
Unable to chmod /data/local/tmp/misc_version: Operation not permitted
C:\androidsdk\tools>adb push su /sdcard/
failed to copy 'su' to '/sdcard//su': Permission denied
C:\androidsdk\tools>adb push Superuser.apk /sdcard/
failed to copy 'Superuser.apk' to '/sdcard//Superuser.apk': Permission denied
Does anyone know what the exact problem is? , because i cant get further through the tutorial now.
The one i'm using atm is the http://forum.xda-developers.com/showthread.php?t=905261
but translated in dutch.
Hopefully someone can help me !

Downgrade help

I am following these steps
http://theunlockr.com/2011/07/22/how-to-downgrade-a-gingerbread-t-mobile-g2-so-it-can-be-rooted/
I typed /data/local/tmp/fre3vo -debug -start FBA90000 -end FFFFFFFF
it then says exploiting device and then goes back to C:\androidsdk\tools and I never get the # command prompt. Looking for advice on what to do next.
Thanks in advance.
Did you retry 'adb shell' when it sends you back to C:\androidsdk\tools?
Cause the exploit is meant to kick you out of shell, then you have to go back in it.
-Nipqer
Nipqer said:
Did you retry 'adb shell' when it sends you back to C:\androidsdk\tools?
Cause the exploit is meant to kick you out of shell, then you have to go back in it.
-Nipqer
Click to expand...
Click to collapse
Yes, and I am now following this guide http://forum.xda-developers.com/showthread.php?t=999796 .
Am I ok to proceed even though I am getting permission denied below?
C:\AndroidSDK\tools>adb push hboot_7230_0.76.2000_100820.nb0 /data/local
1709 KB/s (1048576 bytes in 0.599s)
C:\AndroidSDK\tools>adb shell
$ md5sum /data/local/hboot_7230_0.76.2000_100820.nb0
md5sum /data/local/hboot_7230_0.76.2000_100820.nb0
md5sum: permission denied
$
obas said:
Yes, and I am now following this guide http://forum.xda-developers.com/showthread.php?t=999796 .
Am I ok to proceed even though I am getting permission denied below?
C:\AndroidSDK\tools>adb push hboot_7230_0.76.2000_100820.nb0 /data/local
1709 KB/s (1048576 bytes in 0.599s)
C:\AndroidSDK\tools>adb shell
$ md5sum /data/local/hboot_7230_0.76.2000_100820.nb0
md5sum /data/local/hboot_7230_0.76.2000_100820.nb0
md5sum: permission denied
$
Click to expand...
Click to collapse
i also get this following this guide http://forum.xda-developers.com/showthread.php?t=999796 .
Am I ok to proceed even though I am getting permission denied below?
C:\AndroidSDK\tools>adb push hboot_7230_0.76.2000_100820.nb0 /data/local
1709 KB/s (1048576 bytes in 0.599s)
C:\AndroidSDK\tools>adb shell
$ md5sum /data/local/hboot_7230_0.76.2000_100820.nb0
md5sum /data/local/hboot_7230_0.76.2000_100820.nb0
md5sum: permission denied
$
That guide is for removing eng hboot, if you have eng hboot, there would be easier ways to remove it.
You need to get a root shell to proceed.
You could get help faster if you went to the #g2root channel on freenode irc [link]
-Nipqer
Nipqer said:
That guide is for removing eng hboot, if you have eng hboot, there would be easier ways to remove it.
You need to get a root shell to proceed.
You could get help faster if you went to the #g2root channel on freenode irc [link]
-Nipqer
Click to expand...
Click to collapse
I went to that page and got no help . I was wondering if you could look over my steps before I attempt this any further, does this look like it will work.
C:\AndroidSDK\tools>adb push fre3vo /data/local/tmp
adb server is out of date. killing...
* daemon started successfully *
956 KB/s (9796 bytes in 0.010s)
C:\AndroidSDK\tools>adb push misc_version /data/local/tmp/misc_version
1405 KB/s (15837 bytes in 0.011s)
C:\AndroidSDK\tools>adb shell chmod 777 /data/local/tmp/fre3vo
C:\AndroidSDK\tools>adb shell chmod 777 /data/local/tmp/misc_version
C:\AndroidSDK\tools> /data/local/tmp/fre3vo -debug -start FBA90000 -end FFFFFFFF
---- Also if the above process looks good can my next command be the following
$ adb push PC10IMG_Vision_TMOUS_1.19.531.1_Radio_12.21.60.09b _26.02.01.15_M2_release_149459_signed.zip /sdcard/PC10IMG.zip ????
Yeah should be working.
If no one responds immediatly in irc just wait a bit. It's not the most active channel, but someone will come along to help.
I'm not sure why it's not working for you.
-Nipqer
Nipqer said:
Yeah should be working.
If no one responds immediatly in irc just wait a bit. It's not the most active channel, but someone will come along to help.
I'm not sure why it's not working for you.
-Nipqer
Click to expand...
Click to collapse
Actually everything worked up till this command
$ adb push PC10IMG_Vision_TMOUS_1.19.531.1_Radio_12.21.60.09b_26.02.01.15_M2_release_149459_signed.zip /sdcard/PC10IMG.zip
when I did that it said "file not found" I do believe. So I then tried $ adb push PC10IMG.zip /sdcard/PC10IMG.zip and I got the same error.
I have both the PC10IMG_Vision_TMOUS_1.19.531.1_Radio_12.21.60.09b_26.02.01.15_M2_release_149459_signed.zip and PC10IMG.zip in the androidsdk\tools folder so this should work right? not sure why I am getting file not found.
Thanks for all you help also I am also there I can feel it
You can use the TAB key to auto-complete file names, so you can make sure you're not misspelling anything.
Make sure the adb push command is done in a C:\> prompt, not $/# (push before adb shell)
-Nipqer
Nipqer said:
You can use the TAB key to auto-complete file names, so you can make sure you're not misspelling anything.
Make sure the adb push command is done in a C:\> prompt, not $/# (push before adb shell)
-Nipqer
Click to expand...
Click to collapse
Ok, now I'm confused because this link http://forum.xda-developers.com/showthread.php?t=1178912 has this command under the "downgrade" section.
$ adb push PC10IMG_Vision_TMOUS_1.19.531.1_Radio_12.21.60.09b_26.02.01.15_M2_release_149459_signed.zip /sdcard/PC10IMG.zip
$ adb reboot bootloader
That seems to me they are saying to do adb push from the $ command.

[Q] Perma Root CMD problems

using this guide http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
On a 2.2(1.34) Desire Z,I get this error
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\RaRemoz>cd \DZ-G2 Downgrade-Rooting Tools
C:\DZ-G2 Downgrade-Rooting Tools>adb push psneuter /data/local/tmp/
2697 KB/s (557962 bytes in 0.202s)
C:\DZ-G2 Downgrade-Rooting Tools>abd push gfree /data/local/tmp/
'abd' is not recognized as an internal or external command,
operable program or batch file.
C:\DZ-G2 Downgrade-Rooting Tools>adb push gfree /data/local/tmp/
1965 KB/s (716548 bytes in 0.356s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push busybox /data/local/tmp/
2102 KB/s (1926944 bytes in 0.895s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push hboot-eng.img /data/local/tmp/
1729 KB/s (1048576 bytes in 0.592s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push root_psn /data/local/tmp/
110 KB/s (564 bytes in 0.005s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push su /sdcard/
134 KB/s (26264 bytes in 0.191s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push Superuser.apk /sdcard/
1900 KB/s (196521 bytes in 0.101s)
C:\DZ-G2 Downgrade-Rooting Tools>adb shell 755 /data/local/tmp/*
755: permission denied
C:\DZ-G2 Downgrade-Rooting Tools>adb shell chmod 755 /data/local/tmp/*
Unable to chmod /data/local/tmp/sh: Operation not permitted
C:\DZ-G2 Downgrade-Rooting Tools>
Click to expand...
Click to collapse
the bold is where it screws up.
Thought i was making good progress after downgrading but nope.
thanks in advance
try 'adb shell rm /data/local/tmp/sh'
then retry the chmod command.
-Nipqer
Nipqer said:
try 'adb shell rm /data/local/tmp/sh'
then retry the chmod command.
-Nipqer
Click to expand...
Click to collapse
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\RaRemoz>cd /DZ-G2 Downgrade-Rooting Tools
The system cannot find the path specified.
C:\Users\RaRemoz>cd \DZ-G2 Downgrade-Rooting Tools
C:\DZ-G2 Downgrade-Rooting Tools>adb push psneuter /data/local/tmp/
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
1681 KB/s (557962 bytes in 0.324s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push gfree /data/local/tmp/
1698 KB/s (716548 bytes in 0.412s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push busybox /data/local/tmp/
1887 KB/s (1926944 bytes in 0.997s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push hboot-eng.img /data/local/tmp/
1783 KB/s (1048576 bytes in 0.574s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push root_psn /data/local/tmp/
110 KB/s (564 bytes in 0.005s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push su /sdcard/
1508 KB/s (26264 bytes in 0.017s)
C:\DZ-G2 Downgrade-Rooting Tools>adb push Superuser.apk /sdcard/
2702 KB/s (196521 bytes in 0.071s)
C:\DZ-G2 Downgrade-Rooting Tools>adb shell rm /data/local/tpm/sh
rm failed for /data/local/tpm/sh, No such file or directory
C:\DZ-G2 Downgrade-Rooting Tools>adb shell chmod 755 /data/local/tmp/*
Unable to chmod /data/local/tmp/sh: Operation not permitted
so does that mean something is not there that should be?
Can you join the #G2ROOT irc channel on freenode?
It'll be easier/faster to help you there.
-Nipqer
Nipqer said:
Can you join the #G2ROOT irc channel on
It'll be easier/faster to help you there.
-Nipqer
Click to expand...
Click to collapse
I can in about half an hour when class has finished

how can i instal instal official froyo to my 2.3.3

i was able to download stock froyo from HTC but i don't know how to instal it in my 2.3.3 Gingerbread version.
also i don't understand this instructions attached to firmware
Please follow below command to download the official android toolchain: (arm-eabi-4.4.3)
git clone https://android.googlesource.com/platform/prebuilt
NOTE: the tool ¡¥git¡¦ will need to be installed first; for example, on Ubuntu, the installation command would be: apt-get install git
--Modify the .bashrc to add the toolchain path, like bellowing example:
PATH=/usr/local/share/toolchain-eabi-4.4.3/bin:$PATH
Are you rooted with s-off? If not you must do this first if you want to easily change between roms. actually to properly root and obtain true s-off one of the steps will be to downgrade to stock froyo, follow the xda or cyanogen wiki to get there
Sent from my HTC Vision using xda premium
demkantor said:
Are you rooted with s-off? If not you must do this first if you want to easily change between roms. actually to properly root and obtain true s-off one of the steps will be to downgrade to stock froyo, follow the xda or cyanogen wiki to get there
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
i have tired to downgrade my htc vision but its not working please below is my cmd log
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Patrolscsn>adb devices
List of devices attached
SH0B1RT02382 device
C:\Documents and Settings\Patrolscsn>adb shell cat /dev/msm_rotator
/dev/msm_rotator: invalid length
C:\Documents and Settings\Patrolscsn>adb push fre3vo /data/local/tmp
cannot stat 'fre3vo': No such file or directory
C:\Documents and Settings\Patrolscsn>adb shell
$ chmod 777 /data/local/tmp/fre3vo
chmod 777 /data/local/tmp/fre3vo
Unable to chmod /data/local/tmp/fre3vo: No such file or directory
$ /data/local/tmp/fre3vo -debug -start FAA90000 -end FFFFFFFF
/data/local/tmp/fre3vo -debug -start FAA90000 -end FFFFFFFF
/data/local/tmp/fre3vo: not found
$ /data/local/tmp/fre3vo -debug -start 10000000 -end 1FFFFFFF
/data/local/tmp/fre3vo -debug -start 10000000 -end 1FFFFFFF
/data/local/tmp/fre3vo: not found
$
Either you forgot to extract the files or you didnt put them in the same folder as adb
Sent from my HTC Vision using xda premium
kenanibeze said:
C:\Documents and Settings\Patrolscsn>adb push fre3vo /data/local/tmp
cannot stat 'fre3vo': No such file or directory
$
Click to expand...
Click to collapse
This is your first error message. All following commands fail because of this. You cannot simply continue when one step is executed with error. You have to fix it and then continue.
The reason for the error message is simple. There is no such file as 'fre3vo' in the directory ‘C:\Documents and Settings\Patrolscsn’. Copy the file 'fre3vo' in this directory or change current directory to one where the file is located. If you don’t know how, then you should probably stop trying to root your device.
the fre3vo is in the directory!!!!!
shared_ptr said:
This is your first error message. All following commands fail because of this. You cannot simply continue when one step is executed with error. You have to fix it and then continue.
The reason for the error message is simple. There is no such file as 'fre3vo' in the directory ‘C:\Documents and Settings\Patrolscsn’. Copy the file 'fre3vo' in this directory or change current directory to one where the file is located. If you don’t know how, then you should probably stop trying to root your device.
Click to expand...
Click to collapse
i have the fre3vo in the directory and i downloaded it from the link provided by xda
kenanibeze said:
i have the fre3vo in the directory and i downloaded it from the link provided by xda
Click to expand...
Click to collapse
Yes, the file fre3vo is in the directory:
C:\platform-tools
But your current directory is (the directory where you execute the commands):
C:\Documents and Settings\Patrolscsn
Execute this command to change your current directory:
cd C:\platform-tools
Good luck, you'll definitely need it
Hold shift and right click in the folder where fre3vo and fastboot.exe etc, then choose open command here
Now start from the begining
Sent from my HTC Vision using xda premium
shared_ptr said:
Yes, the file fre3vo is in the directory:
C:\platform-tools
But your current directory is (the directory where you execute the commands):
C:\Documents and Settings\Patrolscsn
Execute this command to change your current directory:
cd C:\platform-tools
Good luck, you'll definitely need it
Click to expand...
Click to collapse
Thanks so much for the tip, finally after two weeks of searching how to get the magical // sign, I got it I’m ever grateful.:victory:
Please I want to upgrade my HTC sense, but I have no idea which custom sense is good for htc desire Z (I would have preferred sense 4.0 but sense 3.0 looks ok) which one should I go for?
Also which of the custom rom of ICS is best for desire z :highfive:
kenanibeze said:
Thanks so much for the tip, finally after two weeks of searching how to get the magical // sign, I got it I’m ever grateful.:victory:
Please I want to upgrade my HTC sense, but I have no idea which custom sense is good for htc desire Z (I would have preferred sense 4.0 but sense 3.0 looks ok) which one should I go for?
Also which of the custom rom of ICS is best for desire z :highfive:
Click to expand...
Click to collapse
You’re welcome.
I’m not a big fan of Sense, but I would go for Sense 4, since it is more "lightweight" (consumes less storage and CPU) than Sense 3.x. You also have to distinguish between Sense 4.0 and Sense 4.0A which is even more lightweight.
Remember that our device has no official support from HTC, so all ICS ROMs are not perfect. You will notice some glitch here and there, but everything is getting better and better. Some ROMs are pretty stable thought, for example Andromadus Mimicry (which is based on Cyanogenmod 9.1). If you can live without Sense I would recommend you this ROM.
Here are some links to ROMs:
Cyanogenmod 9.1 - Andromadus Mimicry
Sense 4.0A - Gen.Y VisionX
Sense 4.0 - Ice Cream SENSEwich
is my phone bricked?
shared_ptr said:
You’re welcome.
I’m not a big fan of Sense, but I would go for Sense 4, since it is more "lightweight" (consumes less storage and CPU) than Sense 3.x. You also have to distinguish between Sense 4.0 and Sense 4.0A which is even more lightweight.
Remember that our device has no official support from HTC, so all ICS ROMs are not perfect. You will notice some glitch here and there, but everything is getting better and better. Some ROMs are pretty stable thought, for example Andromadus Mimicry (which is based on Cyanogenmod 9.1). If you can live without Sense I would recommend you this ROM.
Here are some links to ROMs:
Cyanogenmod 9.1 - Andromadus Mimicry
Sense 4.0A - Gen.Y VisionX
Sense 4.0 - Ice Cream SENSEwich
Click to expand...
Click to collapse
hello please i need your help i think i have screwed up my htc, i was trying to run the permanent root by strawmental, after running the sequence the phone could not boot again, it stuck at the white background with htc logo.
How can i boot it back to life.
The S is off
h.boot now is 0.76.2000 (PC1011000)
MICROP 0425
CID 11111111
OS 1.34.405.5
this is d cmd log of the permanent root
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Patrolscsn>cd C:\platform-tools
C:\platform-tools>adb devices
List of devices attached
SH0B1RT02382 device
C:\platform-tools>adb push psneuter /data/local/tmp/
1453 KB/s (557962 bytes in 0.375s)
C:\platform-tools>adb push gfree /data/local/tmp/
1357 KB/s (716548 bytes in 0.515s)
C:\platform-tools>adb push busybox /data/local/tmp/
1468 KB/s (1926944 bytes in 1.281s)
C:\platform-tools>adb push hboot-eng.img /data/local/tmp/
1456 KB/s (1048576 bytes in 0.703s)
C:\platform-tools>adb push root_psn /data/local/tmp/
0 KB/s (564 bytes in 1.000s)
C:\platform-tools>adb push su /sdcard/
109 KB/s (26264 bytes in 0.234s)
C:\platform-tools>adb push Superuser.apk /sdcard/
1535 KB/s (196521 bytes in 0.125s)
C:\platform-tools>adb shell chmod 755 /data/local/tmp/*
C:\platform-tools>adb push recovery-clockwork-5.0.2.7-vision.img /data/local/tmp
/recovery.img
1479 KB/s (3739648 bytes in 2.468s)
C:\platform-tools>adb shell /data/local/tmp/psneuter
property service neutered.
killing adbd. (should restart in a second or two)
C:\platform-tools>adb shell
# cd /data/local/tmp
cd /data/local/tmp
# ./busybox md5sum /dev/block/mmcb1k0p18
./busybox md5sum /dev/block/mmcb1k0p18
md5sum: can't open '/dev/block/mmcb1k0p18': No such file or directory
# ./gfree -f -b hboot-eng.img -y recovery.img
./gfree -f -b hboot-eng.img -y recovery.img
--secu_flag off set
--cid set. CID will be changed to: 11111111
--sim_unlock. SIMLOCK will be removed
--hboot set. hboot image hboot-eng.img will be installed in partition 18
--recovery set. recovery image recovery.img will be installed in partition 21
Section header entry size: 40
Number of section headers: 44
Total section header table size: 1760
Section header file offset: 0x000138b4 (80052)
Section index for section name string table: 41
String table offset: 0x000136fb (79611)
Searching for .modinfo section...
- Section[16]: .modinfo
-- offset: 0x00000a14 (2580)
-- size: 0x000000cc (204)
Kernel release: 2.6.32.21-gd2764ed
New .modinfo section size: 204
Attempting to power cycle eMMC... OK.
Write protect was successfully disabled.
Searching for mmc_blk_issue_rq symbol...
- Address: c02a6a54, type: t, name: mmc_blk_issue_rq, module: N/A
Kernel map base: 0xc02a6000
Kernel memory mapped to 0x40002000
Searching for brq filter...
- Address: 0xc02a6a54 + 0x34c
- 0x2a000012 -> 0xea000012
Backing up current partition 18 and installing specified hboot image...
Backing up partition /dev/block/mmcblk0p18 to /sdcard/part18backup-315983571.bin
...
Writing image hboot-eng.img to partition /dev/block/mmcblk0p18 ...
Backing up current partition 21 and installing specified recovery image...
Backing up partition /dev/block/mmcblk0p21 to /sdcard/part21backup-315983571.bin
...
Writing image recovery.img to partition /dev/block/mmcblk0p21 ...
Backing up current partition 7 and patching it...
Backing up partition /dev/block/mmcblk0p7 to /sdcard/part7backup-315983571.bin .
..
patching secu_flag: 0
Done.
# ./root_psn
./root_psn
# sync
sync
# cd /data/local/tmp
cd /data/local/tmp
# ./busybox md5sum hboot-eng.img
./busybox md5sum hboot-eng.img
7669ae12dc2faa10ae555a164980efd0 hboot-eng.img
# ./busybox md5sum /dev/block/mmcb1k0p18
./busybox md5sum /dev/block/mmcb1k0p18
md5sum: can't open '/dev/block/mmcb1k0p18': No such file or directory
#

Categories

Resources