Related
Been searching for about 30 minutes now, and there doesn't seem to be any descrition of how to do a full NAND unlock with a Mac?
I used Unrevoked 3 to Root my phone, thinking this would work... now I need to do a NAND unlock - but all the instructions tell me to use WINDOWS COMMAND PROMPT... so what about Mac?
Anyone with information, it would be greatly appreciated..
And yes, I read the posts that you find in search... they all just talk confusingly about stuff I have never heard about...
------
After searching for what seems like forever, I found a guide for another phone and I am doing my best to update it for the EVO 4G..
In terminal type CD, a space, then drag and drop your SDK TOOLS folder. Then you type:
./adp shell
Now you should see something like this:
braden-napiers-macbook-pro-3:tools bradennapier$ ./adb shell
* daemon not running. starting it now *
* daemon started successfully *
--- THIS IS WHERE I AM STUCK AT THE MOMENT... I see this when I type in the next step:
$ ./cat /sdcard/flash_image > /data/flash_image
cannot create /data/flash_image: permission denied
Other attempts:
cd braden-napiers-macbook-pro-3:~ bradennapier$ cd /Users/bradennapier/Desktop/Aoid/NAND\ Root/androidsdk/tools
braden-napiers-macbook-pro-3:tools bradennapier$ ./adb shell
* daemon not running. starting it now *
* daemon started successfully *
error: device not found
braden-napiers-macbook-pro-3:tools bradennapier$ ./cat /sdcard/flash_image > /data/flash_image
-bash: /data/flash_image: No such file or directory
braden-napiers-macbook-pro-3:tools bradennapier$ chmod 755 /data/flash_image
chmod: /data/flash_image: No such file or directory
braden-napiers-macbook-pro-3:tools bradennapier$ /data/flash_image misc /sdcard/mtd-eng.img
-bash: /data/flash_image: No such file or directory
braden-napiers-macbook-pro-3:tools bradennapier$
Can't someone make a REAL tutorial... like one that actually says step for step what to type in? This shouldn't be only for programmers...
Search for how to use ADB. Also, you may want to have a gander at the ADB for mac installation instructions.
bradynapier said:
Been searching for about 30 minutes now, and there doesn't seem to be any descrition of how to do a full NAND unlock with a Mac?
I used Unrevoked 3 to Root my phone, thinking this would work... now I need to do a NAND unlock - but all the instructions tell me to use WINDOWS COMMAND PROMPT... so what about Mac?
Anyone with information, it would be greatly appreciated..
And yes, I read the posts that you find in search... they all just talk confusingly about stuff I have never heard about...
------
After searching for what seems like forever, I found a guide for another phone and I am doing my best to update it for the EVO 4G..
In terminal type CD, a space, then drag and drop your SDK TOOLS folder. Then you type:
./adp shell
Now you should see something like this:
braden-napiers-macbook-pro-3:tools bradennapier$ ./adb shell
* daemon not running. starting it now *
* daemon started successfully *
--- THIS IS WHERE I AM STUCK AT THE MOMENT... I see this when I type in the next step:
$ ./cat /sdcard/flash_image > /data/flash_image
cannot create /data/flash_image: permission denied
Click to expand...
Click to collapse
You're rooted (even with unrEVOked), right?
I can't remember what I did exactly, but once you get into the adb shell, you shouldn't see "braden napier's macbook pro" anymore in Terminal, because you're in the phone (not the Macbook, see?). Once you're in the phone, you are trying to use a cat to insert stuff into a protected partition. You need to be root (this is the same "root" as in "rooting your phone". Rooting your phone gives you super-awesome special powers in the computer) to perform this command. The way you be root for one command only is by adding "sudo" to the beginning. So, that command should look something like this:
Code:
$ sudo ./cat /sdcard/flash_image > /data/flash_image
How's that working?
Will try this now - I am 100% suprised now ONE person has said anything about this yet.
Update: no luck:
$ sudo cat /sdcard/flash_image > /data/flash_image
sudo: permission denied
And yes, I am rooted via Unrevoked 3
To Javal: Oh and as for your response "search for this and that' - both of those come up with NOTHING, am I typing in something wrong here?...
This is the whole process I am going through as of right now.
1. I downloaded and used Unrevoked 3 thinking that's all I needed to do - backed up and wiped everything as the instructions to install CM say.
2. Found out that Unrevoked 3 doesn't do a NAND Unlock so I looked up instructions to Unlock NAND on Mac... they do not exist... so I am going to figure out step-by-step instructions and make a damn tutorial myself... but I do need help, I am not a programmer...
3. I get shell open by typing CD then dragging the tools folder from the SDK I downloaded into terminal, I then type ./adb shell and it opens
4. I get a blank $ sign to give a command... at this point anything I do simply says "Permission Denied", I was told to try a sudo command (above) and I get sudo: permission denied... so it would seem I have NO permissions to do anything
Oh, and by the way, My phone is NOT mounted - thats the way everyone else seems to have fixed this..
Like you, I rooted with Unrevoked 3 and then had problems with the NAND unlock using ADB on my Mac as well. But I found a solution that worked perfectly. Simply follow the steps listed in the following post under "Section 2 - No Computer." This is essentially Toast's method, but without ADB. Had my Evo NAND unlocked within about 10 minutes and have been happily running CM6 ever since. Thanks to FastRX8 for the great instructions!
http://forum.xda-developers.com/showthread.php?t=721055
davpel
Yes, I am downloading the extra file needed for that version which is going to take an entire hour - annoying... why does this version require eng-PC36IMG when the other does not?
Anyways, yeah thanks I had just found this post and it's good to hear it worked for someone else.
I have been trying to root my phone. I ended up downgrading my phone back to 2.1, but when I try to flash a rom using the update.zip I end up getting the following errors:
E:Can't open /cache/recovery/command (this comes up before even trying to run the update)
--Install From sdcard...
Finding update package...
Opening update package...
Verifying update package...
E:signature verification failed
Installation aborted.
I don't have root access. I haven't really found a method that I could understand fully. I want to flash a much better rom on this device. Any help would be greatly appreciated.
I too am having problems rooting. Here is an output from adb of what is going on with me. I imagine it is something pretty simple.
Code:
$ cd /data/local
$ chmod 04755 *
$ /data/local/flash_image misc /data/local/mtd0.img
[1] Illegal instruction /data/local/flash_image misc /data/local/mtd0.img
$ chmod 04755 * /data/local/flash_image misc /data/local/mtd0.img
Unable to chmod misc: No such file or directory
$
Thanks!
Illegal instruction
danipoak said:
I too am having problems rooting. Here is an output from adb of what is going on with me. I imagine it is something pretty simple.
Code:
$ cd /data/local
$ chmod 04755 *
$ /data/local/flash_image misc /data/local/mtd0.img
[1] Illegal instruction /data/local/flash_image misc /data/local/mtd0.img
$ chmod 04755 * /data/local/flash_image misc /data/local/mtd0.img
Unable to chmod misc: No such file or directory
$
Thanks!
Click to expand...
Click to collapse
I am having the same problem with the above error:
cd /data/local
$ chmod 04755 *
$ /data/local/flash_image misc /data/local/mtd0.img
[1] Illegal instruction /data/local/flash_image misc /data/local/mtd0.img
I am definitely a noob and could use a little help to get this old phone rooted so I can flash CyanogenMod 7.2.
Thanks,
Dan
My Touch 3G Slide on T-Mobile moving to AT&T
Me too...
dav8or said:
I am having the same problem with the above error:
cd /data/local
$ chmod 04755 *
$ /data/local/flash_image misc /data/local/mtd0.img
[1] Illegal instruction /data/local/flash_image misc /data/local/mtd0.img
I am definitely a noob and could use a little help to get this old phone rooted so I can flash CyanogenMod 7.2.
Thanks,
Dan
My Touch 3G Slide on T-Mobile moving to AT&T
Click to expand...
Click to collapse
Same issue here when running flash_image.
Prior to attempting to run it, though, I can't get the "rageagainstthecage-arm5.bin" to work correctly. When I run it, debug mode never comes back until I reboot the device. So, I tried using superoneclick to root it, assuming that grants enough permission to run flash_image, so I'm not sure if this issue is related or not. (FYI: I'm using the cyanogenmod instructions, which I assume you're trying to do too). (Superonecliek DOES give me a root prompt [#])
Anybody have any ideas?
Google search "install flash_image binary android"
Sent from my Nexus 7 using xda premium
demkantor said:
Google search "install flash_image binary android"
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
I have tried googling that, and almost every possible combination of "espresso, android, s-off, root, flash_image, misc, etc.".
I have tried at lease 4 different root methods:
One gets stuck at "adb push exploid /sqlite_stmt_journals" erroring: "failed to copy 'exploid' to '/sqlite_stmt_journals': Read-only file system"
One gets stuck at the place i described in my prior post.
Others fail otherwise.
One thing I haven't tried is factory resetting the phone (clear user data) before trying.
I've spent hours and hours researching and trying things for this. Just keep getting stuck.
I'll see how it goes from scratch tonight (forgot to bring my microSD card with me today).
Solved on my end, if anyone else is wondering...
mobrien118 said:
One thing I haven't tried is factory resetting the phone (clear user data) before trying.
I'll see how it goes from scratch tonight
Click to expand...
Click to collapse
For some reason, factory resetting was the key.
Thanks for the suggestion to google, though.
problem with rooting
pls i nid help urgently.
i hav been on attemps to rooot my t-mobile mytouch 3g slide for more than four weeks but have been unable to get at anything untill i stumbled over the superoneclick method which helped me to effect root, but i got stocked at the point on of flashing clockmod recovery. instead of displaying the downgrading bar at the uper right angle in recovery mod after holding down volumedown and pressing power, it takes me to the this "image not found....." and the
fastboot
recovery
.bootlaoder
........
if i select recovery, it will tell me
E: cant open .......catche......bla bla bla,
it will display the options to r
reboot system
,....update.zip from sdcard,
wipe catche/factory reset
wipe catche/sdcard partition
(this is just an idea of what is displays not exactly word-for-word).
if i select install update.zip from sdcard it ends up telling me several junks and that update.zip file verification failed.
PLEASE WHAT DO I DO GUYS.ALMOST FED UP PLSSSSSSSSSSSSSSS
I'm trying to root my Bell HTC Desire Z and I'm getting stuck pretty early just trying to downgrade to Froyo.
No matter what guide I've followed this is far as I'll get typing in the terminal:
adb push fre3vo /data/local/tmp
adb push misc_version /data/local/tmp
adb shell
chmod 777 /data/local/tmp/fre3vo
I'll then get a response saying unable to chmod /data/local/tmp/fre3vo: no such file or directory.
I've placed the fre3vo file in the same folder as adb so I'm super confused.
Any help would be super appreciated!
edit you first post and change the title of the post... it will change the title of the thread's name too
Now, I'm making even less progress.
adb push fre3vo /data/local/tmp
turns back with:
cannot stat 'fre3vo': No such file or directory
That error means fre3vo is not in the directory cmd/terminal is pointed at.
You need to either use the 'cd' command (change dir) or, if you're on windows, you can hold shift and right click in the dir fre3vo is, and select 'open cmd here'
-Nipqer
Alright, so I'm having slightly more luck following this guide http://forum.xda-developers.com/showthread.php?t=1178912&highlight=root+bell+desire+z
I've got to the portion about "Changing Version Number to Allow Downgrade and Gaining SuperCID with a Goldcard" but when I type:
# cd /data/local/tmp
I get cd /data/local/tmp: not found
I thought I was making progress...
EDIT: Never mind - I just decided to re-type the command in and it worked...moving on to downgrading
Success! Rooted my phone and flashed CM 7.2. Big thanks to Nipqer on #G2Root!!!!
Mods this thread could probably be deleted.
I am stuck on the same spot the OP was. I have done as nipqer suggested and opened a cmd window directly in the platform-tools folder and now the response coming back is
Code:
C:\platform-tools>adb shell
$ chmod 777/data/local/tmp/fre3vo
chmod 777/data/local/tmp/fre3vo
Usage: chmod <MODE> <FILE>
$ /data/local/tmp/fre3vo -debug -start FAA90000 -end FFFFFFFF
/data/local/tmp/fre3vo -debug -start FAA90000 -end FFFFFFFF
/data/local/tmp/fre3vo: permission denied
suggestions ?
I have read a lot of threads and tutorials on this and honestly there's so many it has become confusing. Help a fella out! :good:
follow this guide first
http://wiki.cyanogenmod.com/wiki/TMobile_G2:_Firmware_Downgrade_(Gingerbread)
now go to this guide when complete
http://wiki.cyanogenmod.com/wiki/TMobile_G2:_Rooting
dont skip steps and if you need more help log onto freenode
You ran the chmod command wrong, didn't put a space between the 777 and the /data/local/tmp/fre3vo
-Nipqer
righto, thanks guys, will take a look at the threads you linked and try again. will post back one way or the other as soon as I have something.
ok I have run into a real problem. it looks as if I have semi bricked. I skipped nothing, followed the guide to a T.
Code:
NOTE: Take note of this number, we will need it later. For the remainder of this guide, we will refer to this number md5 #3.
If md5 #1 & md5 #3 match, then gfree 0.7 failed to powercycle the eMMC chip on the device. Either the software version is too high and the device was not downgraded per the previous section, or you did something wrong. Try again or join #G2Root on Freenode for further help..
If md5 #2 & md5 #3 match, then everything should be fine and you continue on.
Code:
md5 #1 - b532ca54a073f0c4043bd7be69ebce8d
md5#2 - 2ce1bdd5e4c1119ccfcecb938710d742
md5#3 - 2ce1bdd5e4c1119ccfcecb938710d742
as you can see they match so reboot command should have been fine but all O get now is hanging at the HTC screen, unless I reboot holding the volume down button then that takes me to hboot screen. What do I do?
UPDATE - As I worked out how to use clockwork I realized I had s-off so I downloaded CM7 and followed the instructions on wiping cache and what not then installed. All seems to be working now.
Thank you.
for future reference these is very common when switching hboots (part of the rooting process) you will not be able to boot into your previous rom as partition checks will have changed. when you have completed rooting you should either boot into fastboot or recovery to flash rom of choice
Sent from my HTC Vision using xda premium
Hi Everybody,
I know, that there are a lot of threats about this fact in the forum. But nothing will work for me, aspessially important links will not work anymore. Could anybody help me?
If I go to the bootloader (noise - and Power-On) there are the following informations written:
VISION PVT SHIP S-ON
HBOOT-0.85.0013
MICROP-0425
RADIO-26.10.04.03_MeMMC-boot
Apr 11 2ß11,23:36:27
HBOOT
OK, on my cell is working a Android 2.3.3, so I have to root my cell and downgrade.
I tryed to do this with the following threat: http://forum.xda-developers.com/showthread.php?t=905261
1. I Tryed to create a GOLDCARD. I read this threat, got the CID of my cell with the the code
Code:
adb shell cat /sys/class/mmc_host/mmc2/mmc2:*/cid
. Now I should type this CID in a webformular at this link to reverse it. This formular is still working, but there is also a Excel-Tool on this page for downloading, which should do the same. So my CID like "035344534d49202010000073b900d494" was reversed to "00d400b9730000102020494d53445303".
This code I should input to this formular for creating a GOLDCARD, but it doesn't work anymore.
So I looked around and found this threat, where a goldcardcreator is downloadable.
In this zip-file is included a program named "SimpleGoldCard", which read a reversed CID from the cell. On a command-Line I typed in
Code:
gcard -c 00d400b9730000102020494d53445303 -r -o "GoldCard.img"
Than I putted in the sd-Card into the Card-Reader of my Desktop, formatted it, used the tool "HeX Editor", copyed (line) 00000000 to offset (line) 00000170 (including the 00000170 line) and pasted it to the SD-Card.
After that I hope to created a correct GoldCard.
2. After that I downloaded the files psneuter, PC10IMG.zip and root. But in this threat is written, that I have to extract "misc_version_01.zip". Where is this file? I searched in this forum and downloaded a file named like this. Are there Differences or is a special version needed? I copyed the PC10IMG.zip to the SD-Card and put this to the cell.
3. then I booted the cell again, connected it to the desktop and used the following commands to put the downloaded files to the cell
Code:
adb push psneuter /data/local/tmp
adb push misc_version /data/local/tmp
adb shell chmod 777 /data/local/tmp/psneuter
adb shell chmod 777 /data/local/tmp/misc_version
adb shell /data/local/tmp/psneuter
adb shell
After that I should get the # - symbol instead of the $ - symbol which means, that I rooted the phone. But here is my first problem, I didn't get the # - symbol, so I don't have the permission to start the next programms.
4. Normally I would do next the following commands and then to reboot and flash the older Firmware.
Code:
/data/local/tmp/misc_version -s 1.33.405.5
exit
adb reboot bootloader
But when I reboot, the bootloader is looking for the PC10IMG.zip, is loading and checking this ... and gives me the information
CID incorrect!
Update Fail!
Press <POWER> to reboot.
Well, this is the next big problem.
Cold anybody tell me, where my mistakes are? I read 2 days in the forum, tryed a lot to get the final result, but now I don't have the time anymore to continue in this way.
THanks a lot. with best regards, Speedy8
Mods please move to q&a
Always check the stickies
http://forum.xda-developers.com/showthread.php?p=43195539
Follow the threads linked here, don't use any other to root your phone, they will either be outdated or cause you trouble.
After following these threads if you still have issues post back and I'll try to help ya
Best of luck!
Sent from my Nexus 4 using xda premium
well ... I searched again today ... and found the following threat, which was working on my cell-phone.
And also at the cyanogenmod-page you can find the relevant things to root the Desire Z. You can find it here.
Now I will first install the latest cyanogenmod, which is for the Desire Z not the Android 4, but at the moment newer than 2.3.3.
Thanks for answering, my Questions are answered.
With best regards.
Hi. I did a factory reset and now I cannot get past the white HTC welcome screen. I don't have the phone rooted, hboot says S-ON. I had USB debugging disabled when doing the reset, so now I can't turn it on (since I won't get anywhere near the actual system).
Also, I don't know if this is the cause of not having USB debugging on - adb can't seem to find my device. When connected, it shows HBOOT USB PLUG, but adb devices returns an empty list..
Is there a way I can root/unlock the phone, without having debugging on, so that I can flash a recovery and a new system?
Thanks
Not too likely, adb will never work in bootloader mode but fastboot should. adb only works in os and recovery.
What you'll need to do is flash an RUU through bootloader or fastboot to get things working again. Check the development section here for a list of the latest RUUs for the vision
Sent from my Nexus 4 using XDA Premium 4 mobile app
I was swamped and got back to it by now. Thank you for your suggestion. It doesn't work though.
I downloaded the newest RUU from htcdev.com, the phone did get recognized by fastboot and the RUU installer seemed happy. However, when the actual update started, it got stuck on "Rebooting bootloader" or similar for over half an hour. That's when I decided to cancel it.
Next on, I tried steps shown here: androidforums .c o m/htc-desire-s/678126-desire-s-stuck-bootloader.html
fastboot erase cache - this got stuck on 'erasing cache', nothing happened afterwards
fastboot oem rebootRUU - this wrote "..." and nothing else happened
Is there anything else I can try?
ROOT
http://forum.xda-developers.com/showthread.php?t=2348266
http://forum.xda-developers.com/showthread.php?t=1178912
http://forum.xda-developers.com/wiki/HTC_Vision
How To Get R/W Access (Permanent Root / "Permaroot") using gfree v1.0[edit]
Prerequisites
Having the proper USB drivers installed - HTC Sync including Windows USB Drivers for the Vision
Disable auto-run or uninstall Visionary if you have it (It's important!)
adb (installed as part of the Android SDK.) See this guide on how to install/setup adb on your PC.
The HTC Desire Z with a firmware version higher than 1.34, T-Mobile G2 with a firmware version higher than 1.22 and the Desire HD with a firmware version higher then 1.32 have to be downgraded before proceeding.
Downgrading HTC Desire Z, T-Mobile G2 and Desire HD
For the 1.XX firmware HTC Desire Z follow this guide Downgrade DZ till step 12 and then come back.
For the 1.XX firmware HTC Desire HD follow this guide Downgrade HD and then come back.
For the 2.XX firmware HTC Desire Z/Desire HD and T-Mobile G2 follow this guide GUIDE Downgrade G2 2.13.531.8 (2.3.3 T-Mobile Rom w/ S-ON) & DZ 2.3.3 w/ S-ON" and come back. The history can be found in this thread New exploit works with Gingerbread! and Desire Z users see this posting of the thread Desire Z explanation.
Please use your brain when following these postings / guides. Especially make sure that you use a PC10IMG.zip for your device!
1. Necessary files
psneuter psneuter.zip (md5sum 89c2dec8d72d87b4c669f44dd31c8d17)
gfree v1.0 gfree_10.zip (md5sum 0bc9fc22bda897c765b02066f8a3c83b)
root_psn root_psn.zip (md5sum c8fe38ef55eb8951def9ff17b2eb99c1)
Superuser package su-2.3.6.2-efgh.zip (md5sum 43d9a40b63e916635d5ad7ca32433fab)
1.1. engineering hboot
Download the appropriate HBOOT for your phone:
T-Mobile G2: vision.hboot-0.76.2000.zip / Mirror (md5sum 7669AE12DC2FAA10AE555A164980EFD0)
HTC Desire Z: vision.hboot-0.84.2000.zip / Mirrors in this thread (md5sum 2CE1BDD5E4C1119CCFCECB938710D742)
HTC Desire HD: ace_glacier.hboot-0.85.2007.zip (md5sum df4fd77f44993eb05a4732210d2eddc6)
Note that the md5sums are for the actual hboot img contained within the zip file, not the for the zip file itself. Note also that the dz, g2, and dhd each use their own version of the engineering boot, as the phones are partitioned differently. (If you have previously installed the wrong HBOOT for your phone, you may need to reflash everything after partition 18)
1.2. clockwork recovery
Download the appropriate clockwork recovery for your phone:
ClockworkMod Recovery 5.0:
T-Mobile G2 and HTC Desire Z: recovery-clockwork-5.0.2.7-vision.img (md5sum 87a428549440894dbe2f96dd5efc4fb5)
HTC Desire HD: recovery-clockwork-5.0.2.0-ace.img (md5sum b8d77b9352dcbb41839e45342ea35658)
ClockworkMod Recovery 5.8 (touch):
T-Mobile G2 and HTC Desire Z: recovery-clockwork-touch-5.8.1.0-vision.img (md5sum b21aa5a0d593b6ebce880be3316ff64a)
HTC Desire HD: recovery-clockwork-touch-5.8.1.5-ace.img (md5sum fd6abfbc459663455a25b88ca7d77442)
Rename the file to 'recovery-clockwork.img'.
2. Copy the files to the phone
Before you can adb as described below you need to enable debugging in the settings on the phone. In Settings go to "Applications -> Development" and check the "USB debugging" option.
Connect the phone to the USB of your PC. The phone will stay connected during the complete procedure.
Make sure that you do NOT turn on USB storage. There has to be a sdcard in the phone and it has to be mounted to the phone!
In the commands to run below, $ or # represent the prompt and should NOT be entered as part of the commands (in Windows this will be something like C:\> instead).
Unpack all the zip files to a directory on your PC. Open a terminal (or command window) on your PC and change the current directory to where the files are on your PC and execute these commands:
$ adb push psneuter /data/local/tmp/
$ adb push gfree /data/local/tmp/
$ adb push busybox /data/local/tmp/
$ adb push hboot-eng.img /data/local/tmp/
$ adb push root_psn /data/local/tmp/
$ adb push su /sdcard/
$ adb push Superuser.apk /sdcard/
$ adb shell chmod 755 /data/local/tmp/*
2. clockwork recovery for T-Mobile G2 and HTC Desire Z
To copy your clockwork recovery execute the following command in the terminal or command window
$ adb push recovery-clockwork.img /data/local/tmp/recovery.img
3. Temporary root
In the terminal (or command window) execute these commands:
$ adb shell /data/local/tmp/psneuter
$ adb shell
after the last command you should have a root shell in adb (this is indicated by a # prompt). Leave this terminal (or command window) that contains the root shell open.
4 S-OFF, root and its friends Super-CID, SIM-unlock, engineering hboot, clockwork recovery and root
In the following section we are trying to gain write access to the emmc by power cycling it.
We recommend to install the engineering hboot as part of the gfree procedure.
In the root shell (indicated by the #) that you got in the Temporary root section execute the following commands:
# cd /data/local/tmp
# ./gfree -f -b hboot-eng.img -y recovery.img
# ./root_psn
# sync
Wait a few seconds for the changes to "take".
4.1. Automatic gfree hboot verification
As it is very important that the hboot was installed correctly gfree calculates md5sums of the partition. It will calculate the following 3 checksums
md5sum #1 - checksum of partition 18 before the installation
md5sum #2 - checksum of the hboot image that should be installed
md5sum #3 - checksum of partition 18 after the installation
gfree will check the md5sums and give you a proper success or error message. The messages are explained in detail at gfree-wiki
The messages that you want to see are either:
md5sum #1 == md5sum #2 - the hboot image is already installed -> skipping installation
or
md5sum #3 == md5sum #2 - the hboot image was successfully installed -> OK!
If you get a different error message you should run for help at #G2ROOT on Freenode.
If you got one of the two success messages described above -> You are fine, Reboot your phone by executing the following command in the root shell (indicated by the #):
# reboot
5. Verify the success of gfree
You can verify the success of gfree by using gfree_verify.
Download gfree_verify.zip from gfree_verify_v01.zip (md5sum 8e3535fd720d19fa0aec4eb711b897c4)
Unzip gfree_verify_v01.zip to a place on your PC.
Open a terminal (or command window) on your PC and change the current directory to where the files are on your PC and execute these commands:
$ adb push gfree_verify /data/local/tmp
$ adb shell chmod 755 /data/local/tmp/gfree_verify
$ adb shell
In this shell:
Remark: When you run su for the first time in the adb shell make sure the the screen of the phone is unlocked. Because when you enter the command the Superuser app will show up and ask you if you want to grant superuser access to app Unknown (2000).
Check the Remember check box and click allow.
$ su
# cd /data/local/tmp
# stop ril-daemon
# ./gfree_verify
You should see the following output:
gfree verify_cid returned:
@cid: 11111111
OK
gfree verify_secu_flag returned:
@secu_flag: 0
OK
gfree verify_simlock returned:
@simlock= 00
OK
Start the interface layer again (IN THE ADB SHELL ON YOUR PC):
# start ril-daemon
Did it work? Here's what you're looking for:
@cid: 11111111 <--- this response means you have superCID!
@simlock= 00 <--- this means your simlock is off.
@secu_flag: 0 <--- this means your radio is S-OFF.
6. Backup and cleanup
During the process gfree created backups of the partitions that it changed on your sdcard in /sdcard/
The files are called /sdcard/part7backup-.bin, part18backup-<time>.bin (if you installed hboot) and part21backup-<time>.bin. It is highly recommended that you copy these files to a save location on your PC and keep them!
You can delete the files in /data/local/tmp they are not needed anymore.
7. Next steps
Find a custom rom that you would like to install and install it using the clockwork recovery.
Enjoy the freedom of your phone.
If you like free phones and our work we would like to ask you to support the EFF.
Support the EFF[edit]
or
http://forum.xda-developers.com/showthread.php?t=1097977