| 1 | = flashgc (by skorgon) = |
| 2 | |
| 3 | flashgc is a tool for the HTC android phones to create a goldcard directly on the phone without the use of a external card reader or external service. |
| 4 | |
| 5 | It creates the goldcard image standalone and writes it to the micro-sdcard that is in the phone. |
| 6 | == License == |
| 7 | flashgc is licensed under the GPL v3. |
| 8 | |
| 9 | It's source code can be found at [https://github.com/skorgon/flashgc]. |
| 10 | |
| 11 | '''Please respect the license'''! |
| 12 | |
| 13 | == Mini How-To == |
| 14 | Download flashgc that is in the attachments of this page and copy it to your platform-tools directory. |
| 15 | |
| 16 | temp-root your phone and then do from a terminal / command window from within your platform-tools directory: |
| 17 | {{{ |
| 18 | adb push flashgc /data/local/tmp |
| 19 | adb shell |
| 20 | cd /data/local/tmp |
| 21 | ./flashgc |
| 22 | }}} |
| 23 | |
| 24 | == flashgc and it's options == |
| 25 | |
| 26 | {{{ |
| 27 | flashgc usage: |
| 28 | Usage: |
| 29 | ./flashgc [options] |
| 30 | Options: |
| 31 | --help Print this help message and exit. |
| 32 | --cid <cid> Read CID from file <cid>. |
| 33 | --backupfile <file> Specify a path and file for the backup. |
| 34 | --restore <backup image> Restore backup image to sd-card. |
| 35 | --dumpgc Dump gold-card image to a file. |
| 36 | }}} |
| 37 | |
| 38 | '''Note''' |
| 39 | Running flashgc without options will generate and install the goldcard image to your sdcard and creade a backup file of the first 512bit of the sdcard in your current directory that is called sdcardMbr-backup.img. |
| 40 | |
| 41 | So make sure that you either run flashgc from a directory like /data/local/tmp or specify the --backupfile option. |