Creating a Gold Card for Hacking HTC Magic on OSX

Update: I never could get the goldcard method to work.

I did get the bootloader to unlock the bootloader using the official unlocker at htcdev.com

BUT to do that I had to put the phone in fastboot usb mode first. Starting it with the phone up and running didn't work.

Make sure you used the RUU HTC lists on the bootloader unlock page BEFORE you unlock the bootloader.


http://wiki.cyanogenmod.org/wiki/Howto:_Create_a_Goldcard

These instructions don't work on OS X.

Here's the dealio:

First, su to get the # prompt in OS Terminal.

Then:


sh-3.2# mount
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk1s1 on /Volumes/RECOVERY (ufsd_NTFS, local, noowners)
/dev/disk1s2 on /Volumes/Vista Boot (ufsd_NTFS, local, noowners)
/dev/disk2s1 on /Volumes/NO NAME (msdos, local, nodev, nosuid, noowners)

The last devices is the USB drive.

sh-3.2# umount -f /dev/disk2s1
sh-3.2# sudo dd if=/Users/username/Downloads/goldcard.img of=/dev/disk2s1
0+1 records in
0+1 records out
384 bytes transferred in 0.001070 secs (358871 bytes/sec)

Substitute 'username' with your home folder name, or, just type 

sudo dd if= 

into terminal, drag the goldcard.img file over the terminal window and release it and the path will be put in for you.

Eject the USB drive. 

If you get dd: /dev/disk2s1: Permission denied

it might be a bad micro SD card adapter. I had a Patriot one that I trashed and used a Sandisk micro to SD adapter to a usb thumb drive.

Hope it helps!

Now why I'm doing this in 2012...well, just can't stand the stock OS. :)




Comments

Popular Posts