How To Create a Goldcard

March 10, 2010 in Android General How To's, Android How To's, Featured, How To's, Video, Wireless General How To's

I. Before You Begin

1. Some memory cards simply will not let you edit them in the way we are about to, so you may need to do this procedure and if it doesn’t work, try a new memory card. 2GB Kingston SD card DOES work for sure so up to you if you want to just buy one of those before beginning.

2. YOU WILL NEED AN SD ADAPTER! This can be a MicroSD to USB that allows you to plug the SD card into your computer’s USB port OR a MicroSD to SD adapter if you have a SD port on your computer.

II. Setup ADB

1. Follow these instructions (with video) to setup ADB for your phone, then come back to this procedure to continue.

How To Setup ADB

III. Create a Goldcard

1. Put the memory card you want to use for the GoldCard into your phone.

2. With the memory card in your phone, click on Settings, SD and Phone storage, then click Unmount SD card. Once it unmounts, click Format SD card. (Please keep in mind that some memory cards don’t work, and this will erase all data on your SD Card so back all the data up first to your computer)

3. On the Phone, goto Settings, Applications, Development and then make sure USB Debugging is checked.

4. *Make sure you have installed the SDK and Fastboot correctly from Section I!!!
Plug the phone into the computer and then open the Command Prompt (goto the start menu and type in cmd in the search box). Then type the following with hitting enter at the end of each line.

cd\
cd\AndroidSDK\tools\
adb devices

(wait for it to show a serial number underneath, if it doesn’t then reinstall the drivers from section I).
Then type:

adb shell
cat /sys/class/mmc_host/mmc1/mmc1:*/cid      (There is no spaces in this line EXCEPT right after the word cat in the beginning, make sure to put that space in)

5. A code will display, write the code down      (MAKE SURE TO WRITE IT DOWN EXACTLY!)

6. Now with the code written down, simply write it backwards (it must be reversed, so if the code is 123456789, slowly write it backwards and make sure not to make a mistake so it becomes 987654321 then continue to the next step).

7. Now, on your computer, goto http://psas.revskills.de/?q=goldcard and enter your email in the appropriate field and for CID enter the reversed CID you just copied down BUT REPLACE THE FIRST 2 DIGITS WITH 2 ZEROS! (i.e. 12345678910 becomes 00345678910). *Thanks to Viper for providing these Goldcards for FREE!

8. Click continue and then you will receive your goldcard.img via email. Once it arrives save it to your computer.

9. Now, goto http://download.cnet.com/HxD-Hex-Editor/3000-2352-10891068.html?part=dl-HxDHexEdi&subj=uo&tag=button to download the HxD Hex Editor. Save it and install it to your computer.

10. Take your SD card out of your phone and put it into the SD adapter it came with. Then put that into your computer so it shows up on your computer as Removable Disk.

11. Open the Hex Editor (Run as Administrator if one Vista or Windows 7) and click on the Extra tab, then click on Open Disk. Under Physical Disk select Removable Disk (your SD card you just put into the computer). Make sure to UNcheck “Open as ReadOnly”. Click OK.

12. Goto the Extra tab again and click Open Disk Image. Open up the goldcard.img that you saved from your email. You should now have two tabs, one is the SD card (Removable Disk) and the other is the goldcard.img
Press OK when prompted for Sector Size 512 (Hard Disks/Floppy Disks).

13. Click on the Goldcard.img tab and click on the Edit tab and click Select All. Then click on the Edit tab again and click Copy.

14. Click on the Removable Disk tab (Your SD Card) and select offset 00000000 to 00000170 then click on the Edit tab and click Paste Write.

15. Click on File then click Save.

16. Close the Hex Editor.

17. Test what we’ve done:

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

18. You can now use this goldcard to root phones that were previously unrootable!

Reported Issues:

Issue: I get no such directory or file when I type:

cat /sys/class/mmc_host/mmc1/mmc1:*/cid

Solution: Try to type this instead (replace the 1′s after mmc with zeros):

cat /sys/class/mmc_host/mmc0/mmc0:*/cid

Issue: Having difficulty with the cat command…

Solution:

“Plug your phone into your computer with the going to be gold card
Go to my computer
Make sure you mount your phone to your computer
Right click after mounted FORMAT on your drive NOT IN THE SETTINGS>FORMAT MODE (trust me)
dont do quick format let it run its course
After it has completed formatting come back to the steps starting at step number 4.”

Thanks to MBerue for this solution! Hope it helps people!

323 responses to How To Create a Goldcard

  1. Pro tip:  go to android market, and DL “gold card helper”  its free and pulls the CID, reverses it and has a link under menu button to enter it into the website that generates the goldcard.img file.

    Also, I overlooked this.  When opening the SD card in the Hex Editor, Notice this guide says open the PHYSICAL DISK in bold…  repeatedly editing the LOGICAL drive was frustrating for me.  :)

  2. $ cat /sys/class/mmc_host/mmc1/mmc1:*/cid
    cat /sys/class/mmc_host/mmc1/mmc1:*/cid
    123456544620324700177074d300b6ea
    $ 123456544620324700177074d300b6ea
    123456544620324700177074d300b6ea
    123456544620324700177074d300b6ea: permission denied
    what is the solution for this “permission denied”

  3. C:>cdandroidsdktools
    The sistem cannot find the path specified. ??? What is that??

  4. After I’ve entered the command
    cat /sys/class/mmc_host/mmc1/mmc1:*/cid
    I get the response “No such file or directory”

    All the previous steaps have been correct

    Please help

  5. hi peeps,

    can i downgrade and root my dhd without gold card?
    coz my dhd is unbranded

  6. Что за фигня в 6 пункте ? там написано что код надо записать наоборот , а по видео полный разброс цифр не по порядку , без прослеживания логической цепочки 

  7. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    Hi

    I am now installing SDK and it’s super slow, is it normal ? (downloading a lot).

    After having made a Goldcard, do you know which ROM i could install on HTC WILDFIRE S (Marvel phone, NOT Buzz which is wildfire WITHOUT S).

    Thank you for your help.

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  8. Excellent tut. Must read “very carefully”. Hit a couple of hurdles but re-read and everything worked.
    A couple of points that may help someone. I was using a HTC Wildfire and Windows 7 laptop

    Tip1
    No need to go and buy a USB sd card. It does work by leaving your memory card in the phone.
    1. Have the cable connected to the phone
    2. Unmount the memory card using the phone
    3. Format the memory card using the phone.
    4. re-mount the memory card using the phone
    5. It will show up on the computer as a Removable drive. (if not unplug USB and plug in again”
    6. I re-formatted the drive using the computer to do the format (Not sure this was needed)

    Tip2
    When trying to obtain the CID of the phone using the AndroidSDK. Have notepad open and cut and paste between the black “cmd” box and notepad. The “edit – mark – copy” facility is available by clicking on the the top left corner of the black “cmd” box.

    Tip3
    When using HexEdit.
    1. Must open HexEdit as administrator (Easy to forget this)
    2. Open the “disk” and not the “file” “Removable drive”. Once “Removable Drive” selected “un-click” the “read only” focus. Another one I kept forgetting to do.

    Apart from that….Bob’s your uncle!

  9. The faster way to get ur CID is coping ur sdk to ur sd card and download terminal from the market and use cat /sys/class/mmc_host/mmc0/mmc0:*/cid and u will get ur sd card number. write it down! thats wat i did and it worked for me now i got my gold card very easy..

  10. you should clarify how to reverse the cid numbers cuz it was hard to figure out

  11. hey man what’s all of this i did my sd as a gold card in less than a minute just d/l the gold card program then use the button to create CID after that go to the site and enter your CID and they gonna send you your image by mail through the program locate the image and then press patch to patch your sd that’s all now u got a gold card cheers :)

  12. Goldcard generetor says “error: no MMC card found” …does this mean i can skip the goldcard step?

  13. Good tutorial so far for me, but is there any other way to get a goldcard than the psas.revskills.de site? It says “page not found.” Any help would be greatly appreciated, thanks.

  14. Having trouble, the PSAS site is reading with an error of the CID being to short ???

  15. I think I’m doing something wrong? I can’t even get past adb devices. . . also on the sdk manager log it keeps saying access denied and skipping things I select to download?

  16. Hi Dave, Thanks for the tutorial.  I got this:

    C:androidsdktools>crackin.bat
    “Copying tools”
    1616 KB/s (0 bytes in 698452.000s)
    432 KB/s (0 bytes in 76044.000s)
    1575 KB/s (0 bytes in 655360.000s)
    “Freeing primary PERM linker”
    rm failed for /data/DxDrm/fuse/*, No such file or directory
    rm failed for /data/DxDrm/fuse, No such file or directory
    rmdir failed for /data/DxDrm/fuse/, No such file or directory
    cannot create /data/DxDrm/fuse: directory nonexistent
    Unable to chmod /data/DxDrm/fuse: No such file or directory
    “Freeing secondary PERM linker”
    rmdir failed for /data/DxDrm/fuse/, No such file or directory
    rmdir failed for /data/DxDrm, No such file or directory
    link failed Permission denied
    “Rebooting to normal mode to unlock CHMOD links”
    rmdir failed for /data/dontpanic, Permission denied
    rm failed for /data/DxDrm, No such file or directory
    link failed File exists
    link failed Permission denied
    “Rebooting to normal mode to downgrade ROM”
    /dev/mtd/mtd0: Permission denied
    cr–rw—-    1 1001     2002      90,   0 Nov 20 11:34 /dev/mtd/mtd0
    error writing misc: Permission denied
    “Freeing links”
    rm failed for /data/DxDrm, No such file or directory
    rm failed for /data/dontpanic, Permission denied
    C:androidsdktools>

    Does this mean I have done something wrong?

    Thanks in  advance

  17. Another way of doing it in *nixes is using dd issuing the following command  
    dd if=goldcard.img of=/dev/sd· bs=1 count=368 conv=notrunc

    Where · is your SD card.

    ·· Be careful to avoid wiping your hard drive :-) ··

  18. Use http://hexrev.soaa.me/ to properly reverse the CID!

  19. Hi all, I hope someone can help as I have noticed that it’s been a while since someone wrote on here.
    I’m trying to get my goldcard img, but it don’t ask for your email so where does it go? When I put my CID code in then the code as you see at the bottom click Download Goldcard it vanishes to “Internet Explorer cannot display the webpage” but if I refresh the page it states “The goldcard image has been downloaded !” but to where? I even given some money  (Donated) for the codes but still nothing! I even checked all my mail accounts and nothing so what is wrong? I can’t even find the join link so I can put my email in but still nothing. Have I done something wrong? I’m using W7 if that is any help.
    John

  20. Don’t Worry about it I did it on another W7 pc and it worked. so thanks for looking. :)

  21. hi, so i got this gold card and it will help me downgrade my wildfire 000 2……but how do i use it?  what is next (unrevoked3 won’t help if you have the htc above)

  22.  When I type adb devices in Candroid-sdktools, I get this message ‘adb’ is not recognized as an internal or external command, operable program or batch file. HELP!

    • Use candroid-sdkplatform-tools

      Remember to put the “fastboot.exe” in the platform-tools folder then.

1 6 7 8

51 trackbacks