samedi 12 janvier 2013

Dump de microSD interne sans démontage

Ack nous propose son outil permettant de dumper l'intégralité des partitions de sa carte microSD interne d'une Handheld 337. Tout ceci sans démonter la console en passant par linux et devrait, selon Ack, être aussi compatible avec les versions 370.





L'auteur nous offre aussi les sources de son programme.

Utilisation :

Pour vérifier que la console est bien reconnue :
# ./ingenic-boot --probe
probe only
 CPU data: JZ4770V1


Pour dumper la microSD :
# ./ingenic-boot --dump=sd.img@3862528

probe 1th
 CPU data: JZ4770V1

addr set 0x80002000
 addr=0x80002000

download fw_ddr2.bin
 download len=6600

start1@0x80002000
 choice=1, addr=0x80002000

probe 2th
 CPU data: JZ4770V1

addr set 0x80002000
 addr=0x80002000

download usb_boot.bin
 download len=123944

flush cache

start2@0x80002000
 choice=2, addr=0x80002000

probe 3th
 CPU data: Boot4770

 Configuring XBurst CPU succeeded.

#SD init

dumping sd card to sd.img
  wrote 108003328 bytes 5.5%
















Pour vérifier après le dump :

dumping sd card to sd.img
  wrote 1977614336 bytes 100.0%
done


Devrait vous donner :

# ls -l sd.img
-rw-r--r-- 1 root root 1977614336 Jan 11 21:54 sd.img

# file sd.img
sd.img: x86 boot sector; partition 1: ID=0x83, starthead 0, startsector 24576, 983040 sectors; partition 2: ID=0x83, starthead 0, startsector 1007616, 266240 sectors; partition 3: ID=0x83, starthead 0, startsector 1273856, 40960 sectors; partition 4: ID=0xb, starthead 0, startsector 1314816, 2097152 sectors, code offset 0x0

# fdisk -l sd.img
Disk sd.img: 1977 MB, 1977614336 bytes
1 heads, 63 sectors/track, 61309 cylinders, total 3862528 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

 Device Boot      Start         End      Blocks   Id  System
sd.img1           24576     1007615      491520   83  Linux
sd.img2         1007616     1273855      133120   83  Linux
sd.img3         1273856     1314815       20480   83  Linux
sd.img4         1314816     3411967     1048576    b  W95 FAT32


 




Liens de téléchargement :


Pour réagir à cet article : http://neogeox.grafbb.com/t348-dump-de-microsd-interne-sans-demontage