Before You Begin
- Some SD cards simply will not work as a “goldcard”. The most likely reason is that the SD card does not have a partition table(MBR) and sector 0 of the card starts with the file system boot sector, So writing the Goldcard image on the SD card will overwrite the boot sector of file system thus rendering the card unusable. You can use HP USB Disk Storage Format Tool to format the card correctly with MBR partition scheme, just make sure to format the card with fat32 file system(This will erase everything that is on the SD card, so backup anything that is on it that you consider important). But If you still cannot get the SD card to work properly, try a different SD card.
- You will need some form of adapter to connect the SD card to the computer, whether it be a microSD to USB adapter, or a microSD to SD adapter plugged into a SD card slot on the computer.
- You will need to install the Terminal Emulator from the Android Market.
Creating a Goldcard
- Insert the SD card you want use for the goldcard into the device.
- Unmount the SD card (Settings » SD card & device storage » Unmount SD card) and then format it (Erase/Format SD card).
- NOTE: This will erase everything that is on the SD card, so backup anything that is on it that you consider important.
- NOTE: Make sure your sdcard was formatted to fat32.
- On the device, open the Terminal Emulator and type the following command:
cat /sys/class/mmc_host/mmc1/mmc1:*/cid
- NOTE: If that does not work, try
cat /sys/class/mmc_host/mmc0/mmc0:*/cid
- NOTE: For Desire HD / Inspire 4G phones, try
cat /sys/class/mmc_host/mmc2/mmc2:*/cid
- NOTE: If that does not work, try
- A 32 character, alphanumeric code will be displayed. Write it down exactly as it is presented.
- Take out the memory card from the computer, then put it back in.
- Try to open the memory card on the computer (Removable Disk), if it lets you, you are all set. If it asks/tells you to reformat the card, then try steps 13 – 19 again. If it gives you the same error again, then try a different memory card (Erlern said it didn’t work for him until he finally went and bought a Kingston 2GB card, then it worked on that card).
Creating a Goldcard on POSIX
- Insert the SD card you want use for the goldcard into the device.
- Unmount the SD card (Settings » SD card & device storage » Unmount SD card) and then format it (Erase/Format SD card).
- NOTE: This will erase everything that is on the SD card, so backup anything that is on it that you consider important.
- NOTE: Make sure your sdcard was formatted to fat32.
- On the device, open the Terminal Emulator and type the following command:
cat /sys/class/mmc_host/mmc1/mmc1:*/cid
- NOTE: If that does not work, try
cat /sys/class/mmc_host/mmc0/mmc0:*/cid
- NOTE: For Desire HD / Inspire 4G phones, try
cat /sys/class/mmc_host/mmc2/mmc2:*/cid
- NOTE: If that does not work, try
# umount -l /dev/(usbdevice) # on linux # umount -f /dev/(usbdevice) #on mac
# dd if=goldcard.img of=/dev/(usbdevice)
- Take out the memory card from the computer, then put it back in.
- Try to open the memory card on the computer (Removable Disk), if it lets you, you are all set. If it asks/tells you to reformat the card, then try steps 13 – 19 again. If it gives you the same error again, then try a different memory card (Erlern said it didn’t work for him until he finally went and bought a Kingston 2GB card, then it worked on that card).
Content of this page is based on informations from wiki.cyanogenmod.org, under CC BY-SA 3.0 licence.