wiki:flashgc

flashgc (by skorgon)

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.

It creates the goldcard image standalone and writes it to the micro-sdcard that is in the phone.

License

flashgc is licensed under the GPL v3.

Its source code can be found at https://github.com/skorgon/flashgc.

Please respect the license!

Mini How-To

Download flashgc that is in the attachments of this page and copy it to your platform-tools directory.

temp-root your phone and then do from a terminal / command window from within your platform-tools directory:

adb push flashgc /data/local/tmp
adb shell
cd /data/local/tmp
chmod 755 flashgc
./flashgc

flashgc and its options

flashgc usage:
Usage:
	./flashgc [options]
Options:
	--help				Print this help message and exit.
	--cid <cid>			Read CID from file <cid>.
	--backupfile <file>		Specify a path and file for the backup.
	--restore <backup image>	Restore backup image to sd-card.
	--dumpgc			Dump gold-card image to a file.

Note 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.

So make sure that you either run flashgc from a writable directory like /data/local/tmp or specify the --backupfile option.

Last modified 10 years ago Last modified on 11/09/11 00:01:03

Attachments (1)

Download all attachments as: .zip