15 | | adb push busybox /data/local/ |
16 | | adb shell chmod 777 /data/local/busybox |
17 | | }}} |
18 | | And then in your temp-root shell (the one with the # prompt) |
19 | | {{{ |
20 | | /data/local/busybox md5sum /sdcard/hboot-eng.img |
21 | | /data/local/busybox md5sum /dev/block/mmcblk0p18 |
22 | | }}} |
23 | | If the md5sums don't match then '''first of all - DON'T REBOOT''' and second run for help at the #G2ROOT IRC channel on freenode. |
24 | | |
25 | | '''gfree version 0.5 is known to have problems to disable the write protection on some vodafone desire z devices.''' |
26 | | |
27 | | Changes: |
28 | | |
29 | | * added -b option to install a hboot image file to partition 18. It will create a backup file of your existing partition 18 named /sdcard/part18backup-<time>.bin. ''' Please make sure that you are using the correct hboot image file for your device! '''. One can use -b together with -w: This will disable the write protection of the emmc and install the hboot image but will not change anything in partition 7. |
30 | | |
31 | | {{{ |
32 | | gfree usage: |
33 | | gfree [-h|-?|--help] [-v|--version] [-s|--secu_flag on|off] |
| 10 | incsfree usage: |
| 11 | incsfree [-h|-?|--help] [-v|--version] [-s|--secu_flag on|off] |
39 | | -w | --disable_wp: disable write protect on eMMC and remove kernel filter only |
40 | | -b | --hboot: <hbootFile>: install hboot from image file |
41 | | -r | --restore <backupFile>: restore partition from backup file |
| 17 | -w | --disable_wp yes|no: disable write protect on eMMC |
| 18 | -k | --disable_kf yes|no: remove kernel filter |
| 19 | -b | --hboot: <hbootFile>: install hboot from image file |
| 20 | -y | --recovery: <recoveryFile>: install recovery from image file |
| 21 | -r | --restore <backupFile>: restore partition from backup file |
47 | | == gfree version 0.4 contained in gfree_04.zip == |
48 | | '''gfree version 0.4 is known to have problems to disable the write protection on some vodafone desire z devices.''' |
| 27 | === --secu_flag, --cid, --sim_unlock === |
| 28 | These options will change the configuration information of the phone in partition 7. Using one of these flaga will create a backup file of your existing partition 7 named /sdcard/part7backup-<time>.bin. '''Please make a backup of these files in a secure place on your computer - especially the first file created is the only chance you have to restore the phone to it's original state'''. |
| 29 | ==== -- |
| 30 | === --recovery === |
| 31 | -y (or --recovery) option allows you to install a recovery image file to partition 21. It will create a backup file of your existing partition 21 named /sdcard/part21backup-<time>.bin. ''' Please make sure that you are using the correct recovery image file for your device! '''. You can use -y together with -w: This will disable the write protection of the emmc and install the recovery image but will not change anything in partition 7. |
52 | | * added -w option to ONLY disable the write protection on eMMC and remove the kernel filter. (this will make no changes to partition 7) |
| 36 | '''WARNING''' if you are using the -b option then i '''highly recommend''' that after running it and syncing you create md5sums of the hboot.img that you installed and /dev/block/mmcblk0p18. This can be done using busybox. |
| 37 | {{{ |
| 38 | adb push busybox /data/local/tmp/ |
| 39 | adb shell chmod 777 /data/local/tmp/busybox |
| 40 | }}} |
| 41 | And then in your temp-root shell (the one with the # prompt) |
| 42 | {{{ |
| 43 | /data/local/tmp/busybox md5sum /sdcard/hboot-eng.img |
| 44 | /data/local/tmp/busybox md5sum /dev/block/mmcblk0p18 |
| 45 | }}} |
| 46 | If the md5sums don't match then '''first of all - DON'T REBOOT''' and second run for help at the #G2ROOT IRC channel on freenode. |
54 | | * added -d option to enable debug output |
55 | | |
56 | | * added -r option to restore a backup file of partition 7 that was created during a previous run of gfree. |
57 | | |
58 | | {{{ |
59 | | gfree usage: |
60 | | gfree [-h|-?|--help] [-v|--version] [-s|--secu_flag on|off] |
61 | | -h | -? | --help: display this message |
62 | | -v | --version: display program version |
63 | | -s | --secu_flag on|off: turn secu_flag on or off |
64 | | -c | --cid <CID>: set the CID to the 8-char long CID |
65 | | -S | --sim_unlock: remove the SIMLOCK |
66 | | -w | --disable_wp: disable write protect on eMMC and remove kernel filter only |
67 | | -r | --restore <backupFile>: restore partition from backup file |
68 | | -d | --debug: enable debug output |
69 | | |
70 | | -f | --free_all: same as --secu_flag off --sim_unlock --cid 11111111 |
71 | | }}} |
72 | | |
73 | | == gfree version 0.2 contained in gfree_02.zip == |
74 | | The new gfree version can be used to go back to S-ON and to set the CID back to whatever 8-character string you want. |
75 | | |
76 | | It is still to be tested so use it with care. |
77 | | {{{ |
78 | | gfree usage: |
79 | | gfree [-h|-?|--help] [-v|--version] [-s|--secu_flag on|off] |
80 | | -h | -? | --help: display this message |
81 | | -v | --version: display program version |
82 | | -s | --secu_flag on|off: turn secu_flag on or off |
83 | | -c | --cid <CID>: set the CID to the 8-char long CID |
84 | | -S | --sim_unlock: remove the SIMLOCK |
85 | | |
86 | | -f | --free_all: same as --secu_flag off --sim_unlock --cid 11111111 |
87 | | }}} |