| 7 | == incsfree and it's options == |
| 8 | |
| 9 | === --recovery === |
| 10 | -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. |
| 11 | |
| 12 | == gfree version 0.5 contained in gfree_05.zip == |
| 13 | '''WARNING''' if you are using the new -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. |
| 14 | {{{ |
| 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] |
| 34 | -h | -? | --help: display this message |
| 35 | -v | --version: display program version |
| 36 | -s | --secu_flag on|off: turn secu_flag on or off |
| 37 | -c | --cid <CID>: set the CID to the 8-char long CID |
| 38 | -S | --sim_unlock: remove the SIMLOCK |
| 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 |
| 42 | -d | --debug: enable debug output |
| 43 | |
| 44 | -f | --free_all: same as --secu_flag off --sim_unlock --cid 11111111 |
| 45 | }}} |
| 46 | |
| 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.''' |
| 49 | |
| 50 | Changes: |
| 51 | |
| 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) |
| 53 | |
| 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 | }}} |
| 88 | |
| 89 | == gfree_verify == |
| 90 | Short guide how to verify that gfree worked. |
| 91 | |
| 92 | Download and unpack gfree_verify.zip and unpack it on your PC. |
| 93 | |
| 94 | Copy gfree_verify to the phone: |
| 95 | {{{ |
| 96 | adb push gfree_verify /data/local |
| 97 | }}} |
| 98 | Get a shell |
| 99 | {{{ |
| 100 | adb shell |
| 101 | }}} |
| 102 | In the shell |
| 103 | {{{ |
| 104 | su |
| 105 | cd /data/local |
| 106 | chmod 777 gfree_verify |
| 107 | stop ril-daemon |
| 108 | ./gfree_verify |
| 109 | }}} |
| 110 | You should see this output: |
| 111 | {{{ |
| 112 | gfree verify_cid returned: |
| 113 | @CID: 11111111 |
| 114 | |
| 115 | OK |
| 116 | |
| 117 | gfree verify_secu_flag returned: |
| 118 | @secu_flag: 0 |
| 119 | |
| 120 | OK |
| 121 | |
| 122 | gfree verify_simlock returned: |
| 123 | @SIMLOCK= 00 |
| 124 | |
| 125 | OK |
| 126 | }}} |
| 127 | |
| 128 | Start the ril-daemon again by using |
| 129 | {{{ |
| 130 | start ril-daemon |
| 131 | }}} |
| 132 | (or reboot your phone) |
| 133 | |