Changes between Version 4 and Version 5 of g2_root_new


Ignore:
Timestamp:
03/31/11 09:01:22 (13 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • g2_root_new

    v4 v5  
    88rooting files [http://www.thinkthinkdo.com/trac/project1/raw-attachment/wiki/gfree/gfree_temp-root.zip] (md5sum d36df32bb08606f8368a73c65f148cbc)
    99
    10 flash_image [http://www.thinkthinkdo.com/trac/project1/raw-attachment/wiki/vision_utilities/flash_image.zip]
     10flash_image [http://www.thinkthinkdo.com/trac/project1/raw-attachment/wiki/vision_utilities/flash_image.zip] (md5sum bd475f29e0665c702f8eaf57a0423b58)
    1111=== engineering hboot ===
    1212Download the '''appropriate HBOOT for your phone''':
     
    3232
    3333Unpack all the zip files to a directory on your PC.
    34 Open a terminal or command window and change the current directory to where the files are on your PC and execute these commands:
     34Open 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:
    3535{{{
    3636$ adb push psneuter /data/local/tmp/
     
    3939$ adb push hboot-eng.img /data/local/tmp/
    4040$ adb push root /data/local/tmp/
     41$ adb push flash_image /data/local/tmp/
    4142$ adb push su /sdcard/
    4243$ adb push Superuser.apk /sdcard/
    4344$ adb shell chmod 755 /data/local/tmp/*
     45}}}
     46=== clockwork recovery for T-Mobile G2 and HTC Desire Z===
     47For the T-Mobile G2 or the HTC Desire Z execute the following command in the terminal or command window
     48{{{
     49$ adb push recovery-clockwork-vision.img /data/local/tmp/recovery.img
     50}}}
     51=== clockwork recovery for HTC Desire HD===
     52For the HTC Desire HD execute the following command in the terminal or command window
     53{{{
     54$ adb push recovery-clockwork-ace.img /data/local/tmp/recovery.img
    4455}}}
    4556
     
    5364Leave this terminal (or command window) that contains the root shell open.
    5465
    55 == S-OFF, Super-CID, SIM-unlock, engineering hboot and root ==
     66== S-OFF, Super-CID, SIM-unlock, engineering hboot, clockwork recovery and root ==
    5667From now on we recommend to install the engineering hboot as part of the gfree procedure.
    5768
     
    6273# cd /data/local/tmp
    6374# ./gfree -f -b hboot-eng.img
     75# ./flash_image recovery recovery.img
    6476# ./root
    6577# sync
     
    8092If the md5sums match -> reboot your phone.
    8193
    82 == S-OFF, Super-CID, SIM-unlock and root ==
     94== S-OFF, Super-CID, SIM-unlock, clockwork recovery and root ==
    8395If you do not want to install the engineering hboot follow this steps!
    8496
     
    89101# cd /data/local/tmp
    90102# ./gfree -f
     103# ./flash_image recovery recovery.img
    91104# ./root
    92105# sync
     
    99112Reboot your phone.
    100113
    101 == Next steps ==
    102 gfree_verify - TO BE DONE
     114== Verify the success of gfree ==
     115You can verify the success of gfree by using gfree_verify.
    103116
    104 clockworkmod - TO BE DONE
     117Download gfree_verify.zip from [http://www.thinkthinkdo.com/trac/project1/raw-attachment/wiki/gfree/gfree_verify_v01.zip]
     118
     119Unzip gfree_verify_v01.zip to a place on your PC.
     120
     121Open 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:
     122{{{
     123$ adb push gfree_verify /data/local/tmp
     124$ adb shell chmod 755 /data/local/tmp/gfree_verify
     125$ adb shell
     126}}}
     127In this shell
     128{{{
     129$ su
     130# cd /data/local/tmp
     131# stop ril-daemon
     132# ./gfree_verify
     133}}}
     134You should see the following output:
     135{{{
     136gfree verify_cid returned:
     137@CID: 11111111
     138
     139OK
     140
     141gfree verify_secu_flag returned:
     142@secu_flag: 0
     143
     144OK
     145
     146gfree verify_simlock returned:
     147@SIMLOCK= 00
     148
     149OK
     150}}}
     151Start the interface layer again (IN THE ADB SHELL ON YOUR PC) - (or reboot your phone):
     152{{{
     153# start ril-daemon
     154}}}
     155Did it work? Here's what you're looking for:
     156
     157'''@CID: 11111111''' <--- this response means you have superCID!
     158
     159'''@SIMLOCK= 00''' <--- this means your simlock is off.
     160
     161'''@secu_flag: 0''' <--- this means your radio is S-OFF.
    105162
    106163== Backup and cleanup ==
     
    110167
    111168You can delete the files in /data/local/tmp they are not needed anymore.
     169
     170== Next steps ==
     171Find a custom rom that you would like to install and install it using the clockwork recovery.
     172
     173Enjoy the freedom of your phone.
     174
     175If you like free phones and our work we would like to ask you to support the EFF.