Changes between Version 4 and Version 5 of g2_root_new
- Timestamp:
- 03/31/11 09:01:22 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
g2_root_new
v4 v5 8 8 rooting files [http://www.thinkthinkdo.com/trac/project1/raw-attachment/wiki/gfree/gfree_temp-root.zip] (md5sum d36df32bb08606f8368a73c65f148cbc) 9 9 10 flash_image [http://www.thinkthinkdo.com/trac/project1/raw-attachment/wiki/vision_utilities/flash_image.zip] 10 flash_image [http://www.thinkthinkdo.com/trac/project1/raw-attachment/wiki/vision_utilities/flash_image.zip] (md5sum bd475f29e0665c702f8eaf57a0423b58) 11 11 === engineering hboot === 12 12 Download the '''appropriate HBOOT for your phone''': … … 32 32 33 33 Unpack all the zip files to a directory on your PC. 34 Open a terminal or command windowand change the current directory to where the files are on your PC and execute these commands:34 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: 35 35 {{{ 36 36 $ adb push psneuter /data/local/tmp/ … … 39 39 $ adb push hboot-eng.img /data/local/tmp/ 40 40 $ adb push root /data/local/tmp/ 41 $ adb push flash_image /data/local/tmp/ 41 42 $ adb push su /sdcard/ 42 43 $ adb push Superuser.apk /sdcard/ 43 44 $ adb shell chmod 755 /data/local/tmp/* 45 }}} 46 === clockwork recovery for T-Mobile G2 and HTC Desire Z=== 47 For 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=== 52 For 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 44 55 }}} 45 56 … … 53 64 Leave this terminal (or command window) that contains the root shell open. 54 65 55 == S-OFF, Super-CID, SIM-unlock, engineering hboot and root ==66 == S-OFF, Super-CID, SIM-unlock, engineering hboot, clockwork recovery and root == 56 67 From now on we recommend to install the engineering hboot as part of the gfree procedure. 57 68 … … 62 73 # cd /data/local/tmp 63 74 # ./gfree -f -b hboot-eng.img 75 # ./flash_image recovery recovery.img 64 76 # ./root 65 77 # sync … … 80 92 If the md5sums match -> reboot your phone. 81 93 82 == S-OFF, Super-CID, SIM-unlock and root ==94 == S-OFF, Super-CID, SIM-unlock, clockwork recovery and root == 83 95 If you do not want to install the engineering hboot follow this steps! 84 96 … … 89 101 # cd /data/local/tmp 90 102 # ./gfree -f 103 # ./flash_image recovery recovery.img 91 104 # ./root 92 105 # sync … … 99 112 Reboot your phone. 100 113 101 == Next steps==102 gfree_verify - TO BE DONE 114 == Verify the success of gfree == 115 You can verify the success of gfree by using gfree_verify. 103 116 104 clockworkmod - TO BE DONE 117 Download gfree_verify.zip from [http://www.thinkthinkdo.com/trac/project1/raw-attachment/wiki/gfree/gfree_verify_v01.zip] 118 119 Unzip gfree_verify_v01.zip to a place on your PC. 120 121 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: 122 {{{ 123 $ adb push gfree_verify /data/local/tmp 124 $ adb shell chmod 755 /data/local/tmp/gfree_verify 125 $ adb shell 126 }}} 127 In this shell 128 {{{ 129 $ su 130 # cd /data/local/tmp 131 # stop ril-daemon 132 # ./gfree_verify 133 }}} 134 You should see the following output: 135 {{{ 136 gfree verify_cid returned: 137 @CID: 11111111 138 139 OK 140 141 gfree verify_secu_flag returned: 142 @secu_flag: 0 143 144 OK 145 146 gfree verify_simlock returned: 147 @SIMLOCK= 00 148 149 OK 150 }}} 151 Start the interface layer again (IN THE ADB SHELL ON YOUR PC) - (or reboot your phone): 152 {{{ 153 # start ril-daemon 154 }}} 155 Did 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. 105 162 106 163 == Backup and cleanup == … … 110 167 111 168 You can delete the files in /data/local/tmp they are not needed anymore. 169 170 == Next steps == 171 Find a custom rom that you would like to install and install it using the clockwork recovery. 172 173 Enjoy the freedom of your phone. 174 175 If you like free phones and our work we would like to ask you to support the EFF.