Firmware Aufbau Arcor
From t-hack.com - Hack X300T / X301T
Die Firmware Release_FW_1.7.12.zip ist wie folgt aufgebaut.
Nach dem entpacken hat man die Datei telecomstb-1.7.12-0001-PROD-Rel.tar.gz._SIGNED.
Diese Datei hat eine 0x80 Signatur(128 Byte).
dd if=telecomstb-1.7.12-0001-PROD-Rel.tar.gz._SIGNED bs=128 skip=1 | tar xzvf - //bzw. dd if=telecomstb-1.7.12-0001-PROD-Rel.tar.gz._SIGNED bs=128 skip=1 > newroot.tar.gz
Nun hat man den Ordner newroot und das Linux Filesystem. Jedoch ist dies bei weitem noch nicht alles!
In dem Rootdir ist nun z.B. die Datei flash-image-1.7.12-0001-PROD-Rel.BIN.kr._SIGNED. Nach der 0x80 Signatur befindet sich ein romfs.
dd if=flash-image-1.7.12-0001-PROD-Rel.BIN.kr._SIGNED bs=256 skip=1 >flash-image-1.7.12-0001-PROD-Rel.BIN mkdir mount mount -o loop flash-image-1.7.12-0001-PROD-Rel.BIN mount/
Die Datei zbimage-splash-xrpc_rossoalice_480_HDMI_OK_PROD ist direkt ein romfs.
mount -o loop zbimage-splash-xrpc_rossoalice_480_HDMI_OK_PROD mount/
Ebenso die Datei zbimage-yamon-PROD-Rel._SIGNED.
mount -o loop zbimage-yamon-PROD-Rel._SIGNED mount/
Gefolgt von der Datei zbimage-yamon-recovery-PROD-Rel._SIGNED.
mount -o loop zbimage-yamon-recovery-PROD-Rel._SIGNED mount/
Wenn man sich die flash-image-1.7.12-0001-PROD-Rel.BIN von der Größe her anschaut, muss sich in der noch mehr verbergen als das erste romfs.
Im Header des romfs steht die Größe, 0x14C1E0. Dies enspricht in etwa der enthaltenen Datei.
Bis zu 0x1FFF00, 2096896 Bytes steht entweder 0x00 oder 0xff. Anschließend folgt ein cramfs File.
dd if=flash-image-1.7.12-0001-PROD-Rel.BIN bs=2096896 skip=1 > flash-image-1.7.12-0001-PROD-Rel.BIN.cramfs mount -o loop flash-image-1.7.12-0001-PROD-Rel.BIN.cramfs mount/
Dieses cramfs File enthält wiederum ein Linux Filesystem.
