Author Topic: WDTV Live Firmware anatomy  (Read 4082 times)

December 17, 2009, 03:05:05 PM
Read 4082 times

pibos

  • Full Member

  • Offline
  • ***

  • 235
A while ago i released a modifyed tool that was able to unpack WDTV Live firmware.
Since then I did not had the time or the energy to go on the packer.

As many of you know, the HD firmware image was composed from 2 parts:
a 32 bytes signature followed by cromfs image containing the firmware files.
(the 32 bytes signature is an ascii representation of a 16 bytes md5 hash of the actual cromfs image)


The new Live fw is composed from 3 parts:
a 32 bytes signature followed by
the cromfs image containing the firmware files followed by
a 16 bytes signature

Edit:
(the 32 bytes signature is an ascii representation of a 16 bytes md5 hash of the actual cromfs image and the 16 bytes that follows)


the new 16 bytes are as follows (ex FW 01.01.00):
CE FA BE BA 02 00 00 00  00 80 8F 01 00 00 00 00

CE FA BE BA 02 00 00 00 represent a two unsigned int it the value 0xBABEFACE and 0x2 in little indian data and is constantly present in official fw, I haven't seen it in brad releases
00 80 8F 01 00 00 00 00 represent a long with the hexa value 0x018F8000 (26181632 decimal) representing the actual data size 26,181,680 bytes - 26,181,632 = 48 bytes representign the size of the prefix and suffix header



Now, I have only validated CE FA BE BA 02 00 00 00 against fw 01.01.00 and fw 01.01.11; can someone validate it againt the faulty fw 01.01.12?


Hope this plus the info on the unpacker http://wdtvforum.com/main/index.php?topic=2922.msg22806#msg22806 is enough information for packing back the firmware.
Do not blame me if you bricked your box using this info, I am only sharing what I have observed.



pibos.


« Last Edit: December 18, 2009, 04:00:26 AM by pibos »
Wanna help WDTVExt for WDTVLive and RemoteView?

December 17, 2009, 03:49:00 PM
Reply #1

rodfeli

  • Full Member

  • Offline
  • ***

  • 148
Great info!! (almost chinese 4 me  :P)
I hope somebody can use this info and found the way to repack so people like Lilibabe can release a new semi-official FW...
Thank you Pibos!
WDTV LIVE | FW 1.02.21 | Lilibabe's Picto OSD Mod
WDTV1 | FW 1.03.01 | Lilibabe's v2.0 OSD Mod