[Touch GSM ROM Development] Zagaulo:
In the folowing we will talk about SD card, in reel we use SD card adapter for a mini SD card 1Go (not tested for SDHC card).

This method is tested with a SD/MMC card reader usins PCI controller. (exp Laptop HP Pavillon)

to chek de PCI device connected tape : $> lspci

Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller

for chek all usb device connected tape $> lsusb

Having the live CD ubuntu version 9.10 "Karmic Koala" available here

Step 1

+ Run ubuntu from CD

+When loading linux is finished, open a terminal => go to [Start / Accessories / Terminal]

+ Insert your SD card,

+ Change to administrator mode by the command (it's optional)

$> sudo -s

Step 2

The key command and alternative of wich presented in the WIKI Efl goldcard is : hal-device

ubunti@ubuntu$ hal-device

ubunti@ubuntu$ hal-device | grep mmc

A little part of what we can see on the screen :

---------------------------------------------------------------

linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.4/0000:03:04.3/tifm_sd0:3/mmc_host/mmc3/mmc3:e624/block/mmcblk0/mmcblk0p1' (string)

block.device = '/dev/mmcblk0p1' (string)

storage.drive_type = 'sd_mmc' (string)

storage.originating_device = '/org/freedesktop/Hal/devices/pci_104c_8033_mmc_host_mmc_card_rca58916' (string)

linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.4/0000:03:04.3/tifm_sd0:3/mmc_host/mmc3/mmc3:e624/block/mmcblk0' (string)

info.parent = '/org/freedesktop/Hal/devices/pci_104c_8033_mmc_host_mmc_card_rca58916' (string)

block.device = '/dev/mmcblk0' (string)

storage.bus = 'mmc' (string)

2: udi = '/org/freedesktop/Hal/devices/pci_104c_8033_mmc_host_mmc_card_rca58916'

linux.subsystem = 'mmc' (string)

mmc.rca = 58916 (0xe624) (int)

mmc.cid = '0334455655303156211111111f0075e1' (string)

mmc.csd = '002600325f5983c83156211111111f0e' (string)

info.linux.driver = 'mmcblk' (string)

mmc.type = 'SD' (string)

mmc.scr = '0225000000000000' (string)

mmc.vendor = 'Unknown (3)' (string)

mmc.oem = 'Unknown (21316)' (string)

mmc.date = '10/2007' (string)

mmc.hwrev = 8 (0x8) (int)

mmc.fwrev = 0 (0x0) (int)

mmc.serial = 272118175 (0x1038319f) (int)

info.subsystem = 'mmc' (string)

linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.4/0000:03:04.3/tifm_sd0:3/mmc_host/mmc3/mmc3:e624' (string)

info.parent = '/org/freedesktop/Hal/devices/pci_104c_8033_mmc_host' (string)

info.udi = '/org/freedesktop/Hal/devices/pci_104c_8033_mmc_host_mmc_card_rca58916' (string)

3: udi = '/org/freedesktop/Hal/devices/pci_104c_8033_mmc_host'

linux.subsystem = 'mmc_host' (string)

info.capabilities = { 'mmc_host' } (string list)

info.subsystem = 'mmc_host' (string)

linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.4/0000:03:04.3/tifm_sd0:3/mmc_host/mmc3' (string)

info.udi = '/org/freedesktop/Hal/devices/pci_104c_8033_mmc_host' (string)

info.category = 'mmc_host' (string)

mmc_host.host = 3 (0x3) (int)

42: udi = '/org/freedesktop/Hal/devices/pci_104c_8034_mmc_host_1'

linux.subsystem = 'mmc_host' (string)

info.capabilities = { 'mmc_host' } (string list)

info.subsystem = 'mmc_host' (string)

linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.4/0000:03:04.4/mmc_host/mmc2' (string)

info.udi = '/org/freedesktop/Hal/devices/pci_104c_8034_mmc_host_1' (string)

info.category = 'mmc_host' (string)

mmc_host.host = 2 (0x2) (int)

43: udi = '/org/freedesktop/Hal/devices/pci_104c_8034_mmc_host_0'

linux.subsystem = 'mmc_host' (string)

info.capabilities = { 'mmc_host' } (string list)

info.subsystem = 'mmc_host' (string)

linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.4/0000:03:04.4/mmc_host/mmc1' (string)

info.udi = '/org/freedesktop/Hal/devices/pci_104c_8034_mmc_host_0' (string)

info.category = 'mmc_host' (string)

mmc_host.host = 1 (0x1) (int)

44: udi = '/org/freedesktop/Hal/devices/pci_104c_8034_mmc_host'

linux.subsystem = 'mmc_host' (string)

info.capabilities = { 'mmc_host' } (string list)

info.subsystem = 'mmc_host' (string)

linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.4/0000:03:04.4/mmc_host/mmc0' (string)

info.udi = '/org/freedesktop/Hal/devices/pci_104c_8034_mmc_host' (string)

info.category = 'mmc_host' (string)

mmc_host.host = 0 (0x0) (int)

45: udi = '/org/freedesktop/Hal/devices/leds_mmc2'

linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.4/0000:03:04.4/leds/mmc2::' (string)

info.udi = '/org/freedesktop/Hal/devices/leds_mmc2' (string)

leds.device_name = 'mmc2' (string)

46: udi = '/org/freedesktop/Hal/devices/leds_mmc1'

linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.4/0000:03:04.4/leds/mmc1::' (string)

info.udi = '/org/freedesktop/Hal/devices/leds_mmc1' (string)

leds.device_name = 'mmc1' (string)

47: udi = '/org/freedesktop/Hal/devices/leds_mmc0'

linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.4/0000:03:04.4/leds/mmc0::' (string)

info.udi = '/org/freedesktop/Hal/devices/leds_mmc0' (string)

leds.device_name = 'mmc0' (string)

------------------------------------------------------------

So to refine the research of the famous CID, we proceed by a search using a keyword = "mmc.cid", see the following command:

ubunti@ubuntu$ hal-device | grep mmc.cid

The result is displayed in the terminal screen as following in one line:

mmc.cid = '0334455655303156211111111f0075e1' (string)

If you want write the CID in a txt file :

ubunti@ubuntu$ hal-device | grep mmc.cid > MyCID.txt

Step 3

As I said above this result does not give the CID in the right direction is slightly inverted with letters are interchanged in pairs.To follow it exactly what it says in the wiki i.e:

+ Open QMAT, go to Cryptoanalysis Tools, then Crypto Toolbox, and enter the string at the bottom where it says "Reverse String". Press the button and you will get your actual Card ID.

Step 4

And generate the goldcard image under "goldcard.img" name into c:\itsutilsbin directory

Step 5

Return to the windows OS and format the SD card :

console-dos> format <sddrive:> /FS:FAT32 /A:4096

Step 6

Write this image on your SD card, a part of this image paste the boot sector of the SD card it's magic :o)

console-dos> psdwrite <sddrive:> goldcard.img 0 0x120

Step 7

You have to follow the wiki now ..

Before i close, I want mentioned that I encountered a problem during installation of the sheeped ROM (exp: ELF0100 * 0 for my device ID ELF010050).

Error [328]: Invalid command

I managed to solve the problem by updating of the SPL 1.17 to 2.20, using "ROMUpdateUtility.exe" wih HTC in bootloader mode, The SPL.nbh exists already in the directory of sheeped ROM, before that rename the "RUU_signed.nbh" or move temporarily from the directory (extarcted from My_Shepped_ROM.exe).

Let me read you if you have any other questions or comments