In passato esistevano diversi tool per vecchi smartphone Android (ad esempio Goldcard Helper), ma oltre a non essere più compatibili con le nuove versioni di Android, molti smartphone recenti non dispongono nemmeno di un lettore microSD.
Dimenticate Windows, perché sarebbe necessario utilizzare driver modificati.
Attualmente, il metodo migliore consiste nell'utilizzare un PC con lettore SD/microSD integrato che non utilizzi un bus USB, con un sistema operativo basato su Linux (installato o avviato tramite Live USB).
Inserite la microSD nel lettore e recuperate il nome del dispositivo tramite il comando lsblk o tramite Utility Disco (esempio: mmcblk0).
Se il dispositivo lo permette, troverete il CID normale (non invertito) nel file /sys/block/mmcblk0/device/cid (potete ottenerlo tramite il comando cat).
Fino a qualche anno fa erano disponibili siti per la generazione dell'immagine da flashare nella microSD per convertirla in GoldCard. Gli unici tool offline rimasti sono flashgc_x86 (che ho testato, ma per qualche motivo non ha effettuato correttamente il flash della microSD) e gcard by Gene Poole, disponibile sia come eseguibile Linux che come tool da linea di comando.
Supponendo di aver recuperato precedentemente il CID normale 008b00e5ed4403102020494d534d531b, il comando corretto da lanciare sarà:
gcard.exe -c 008b00e5ed4403102020494d534d531b -o test.imgQuesto comando genererà l'immagine test.img.
È consigliato utilizzare una microSD di piccole dimensioni (max 2GB), preferibilmente non SDHC, per garantire la massima compatibilità.
Formattare la microSD in FAT32.
Avviare un hex editor (ad esempio HxD) come amministratore.
Aprire il disco nell'editor (su HxD, “Extra” -> “Open Disk”). Selezionare la microSD nella lista come Disco fisico (non logico) e disattivare la spunta "apertura in solo lettura".
Aprire l'immagine creata precedentemente (su HxD, “Extra” -> “Open Disk Image”). Selezionare la dimensione dei settori “512 (Hard disks/Floppy disks)”.
Selezionare la tab relativa all'immagine e copiarne tutto il contenuto (su HxD, “Edit” -> “Select All” e “Edit” -> “Copy”).
Selezionare la tab relativa alla microSD, evidenziare da 0 a 17F (tutte le righe da 00000000 a 00000170 inclusa), quindi incollare (su HxD, “Edit” -> “Paste Write”).
Salvare le modifiche effettuate (su HxD, “File” -> “Save” e confermare).
Se avrete fatto tutto correttamente, la card verrà accettata dallo smartphone (ad esempio per il downgrade su dispositivi europei).
In the past, there were several tools for older Android smartphones (e.g. Goldcard Helper), but besides being incompatible with newer Android versions, many recent smartphones do not even have a microSD reader.
Forget about Windows, as you would need to use modified drivers.
Currently, the best method is to use a PC with a built-in SD/microSD reader that does not use a USB bus, running a Linux-based operating system (either installed or booted via Live USB).
Insert the microSD into the reader and retrieve the device name using the lsblk command or Disk Utility (e.g. mmcblk0).
If the device allows it, you will find the normal (non-inverted) CID in the file /sys/block/mmcblk0/device/cid (you can get it using the cat command).
Until a few years ago, there were websites available to generate the image to flash onto the microSD to convert it into a GoldCard. The only remaining offline tools are flashgc_x86 (which I tested, but for some reason did not correctly flash the microSD) and gcard by Gene Poole, available both as a Linux executable and as a command-line tool.
Assuming you have previously retrieved the normal CID 008b00e5ed4403102020494d534d531b, the correct command to run is:
gcard.exe -c 008b00e5ed4403102020494d534d531b -o test.imgThis command will generate the test.img image.
It is recommended to use a small microSD card (max 2GB), preferably not SDHC, to ensure maximum compatibility.
Format the microSD in FAT32.
Start a hex editor (e.g. HxD) as administrator.
Open the disk in the editor (in HxD, “Extra” -> “Open Disk”). Select the microSD from the list as a physical (not logical) disk and disable the "open as read-only" option.
Open the previously created image (in HxD, “Extra” -> “Open Disk Image”). Select the sector size “512 (Hard disks/Floppy disks)”.
Select the tab for the image and copy all its contents (in HxD, “Edit” -> “Select All” and “Edit” -> “Copy”).
Select the tab for the microSD, highlight from 0 to 17F (all rows from 00000000 to 00000170 included), then paste (in HxD, “Edit” -> “Paste Write”).
Save the changes made (in HxD, “File” -> “Save” and confirm).
If you have done everything correctly, the card will be accepted by the smartphone (for example, for downgrading European devices).
https://xdaforums.com/t/guide-how-to-make-a-goldcard-goldcard-generator.1248095/ https://xdaforums.com/t/how-to-downgrade-root-and-upgrade-any-g1-dream-even-continental-european.485364/ https://github.com/Razorbacktrack/flashgc_x86 (FORK)