Author Topic: lilibabes's OSD mods for Gen2!  (Read 31704 times)

February 03, 2010, 03:00:24 AM
Read 31704 times

Jekil

  • Newbie

  • Offline
  • *

  • 18
with permission of lilibabe I offering my Gen2 firmare with his OSD, based on 1.01.77:
"picto" (blue) OSD: http://depositfiles.com/files/a9gkehi89
"simple" OSD: http://www.rapidshare.ru/1363173

also, I've included b-rad's cd-manager in this firmwares, but my USB-DVD-drive is probably poopout...
so, if anybody can test external DVD - please, report results!

gfx/xml same as lilibabes, except font - it's original WD due to international support.
« Last Edit: February 03, 2010, 03:15:03 AM by Jekil »

February 03, 2010, 03:19:50 AM
Reply #1

mdex

  • Newbie

  • Offline
  • *

  • 23
Great news!

Cheers lilibabe.

February 03, 2010, 03:42:10 AM
Reply #2

lilibabe

  • Hero Member

  • Offline
  • *****

  • 1462
    • http://wdtv.free.fr/
I hope people will be happy, now the Gen2 owners will no longer be the casualties of WD !  ;)
If you appreciate my work and want to contribute, feel free to donate at http://wdtv.free.fr/

February 03, 2010, 09:16:14 AM
Reply #3

mdex

  • Newbie

  • Offline
  • *

  • 23
Do movie sheets work with this or is it just an icons, graphics and layout mod?

February 03, 2010, 10:45:44 AM
Reply #4

proove2613

  • Newbie

  • Offline
  • *

  • 7
Could you please post some pics of the new mod firmware?

February 03, 2010, 11:34:04 AM
Reply #5

mdex

  • Newbie

  • Offline
  • *

  • 23

February 03, 2010, 11:48:01 AM
Reply #6

capitaofantasma

  • Newbie

  • Offline
  • *

  • 6
thank you so much. i was waiting for something like this :)

will you make it with other lilibabe's themes too?


February 03, 2010, 01:43:18 PM
Reply #7

mdex

  • Newbie

  • Offline
  • *

  • 23
Lilibabe or Jekil......

Hope you don't mind but I am thinking of modding the existing .bin file myself..... if thats ok. Just to add different background.

I would like to get started but I am unable to mount the .bin image or convert it to iso.

Any tips?

February 03, 2010, 07:34:40 PM
Reply #8

Jekil

  • Newbie

  • Offline
  • *

  • 18
here what i used:
http://wdtvforum.com/main/index.php?topic=2922.0
but ROMBUFFER_BITS value for Gen2 is 15.
...and take attention to trailing 16 bytes! :)

February 04, 2010, 03:06:12 AM
Reply #9

rambo4ever

  • Newbie

  • Offline
  • *

  • 17
Hi! This is wonderful!

Jekil, could you be more specific on the trailing 16 bytes?
In this topic: http://wdtvforum.com/main/index.php?topic=2922.0 there is no sign of the trailing 16 bytes.
While here: http://wdtvforum.com/main/index.php?topic=3594.0 Pibos wrote about that, however this is still confusing for me.

In the downloaded lilibabe's simple file, the signature is a bit different:
CE FA BE BA 02 00 00 00 00 | 00 80 0D 01 00 00 00 00

The first part is the same, but could someone tell me the value of the second part?

Also, I have found no kernel file, so I assume, that the box should be updated first to the recent official firmware. Am I right?

Thanks,
R4E

February 04, 2010, 05:24:45 AM
Reply #10

Jekil

  • Newbie

  • Offline
  • *

  • 18
if you can compare some firmwares for Live and Gen2, you will notice that 16 bytes is a standert "magic word" to firmware loader.
just keep it original - and WDTV will recognize your firmware.

i suppose, fff-file is loader update.
i would recommend to update to official 77 first, but it is no need to put this file to alternative firmware anyway.

February 04, 2010, 11:08:11 AM
Reply #11

rambo4ever

  • Newbie

  • Offline
  • *

  • 17
Hmmm. But what is the original one? The latest 8 bytes:

In firmware 1.01.75 it is 00 C0 0D 01 00 00 00 00
In firmware 1.01.77 it is 00 80 0D 01 00 00 00 00

Looks like it has some function.. (or not)

Anyway, if it works, then I hope I can customize the firmware as well :) Big thanks!

Bye,
R4E

February 04, 2010, 01:25:56 PM
Reply #12

mdex

  • Newbie

  • Offline
  • *

  • 23
I have made it as far as trying to unpack the .bin using

./cramfsck -v -x rootfs wdtvhd.bin

But I get the error    ./cramfsck: superblock magic not found

I tried another .bin file lilibabe.osd.bin which worked ok?

Any idea why?

I think the above was because I forgot to change the ROMBUFFER entry. I have gone back to do it again but make -f GNUmakefile doesn't create any executables

This is the log.


mat@ubuntu:~/Desktop/cramfs-1.1$ make -f GNUmakefile
gcc -W -Wall -O2 -g -I.   mkcramfs.c  -lz -o mkcramfs
mkcramfs.c:37:18: error: zlib.h: No such file or directory
mkcramfs.c: In function ‘parse_directory’:
mkcramfs.c:245: warning: passing argument 4 of ‘scandir’ from incompatible pointer type
/usr/include/dirent.h:252: note: expected ‘int (*)(const struct dirent **, const struct dirent **)’ but argument is of type ‘int (*)(const void *, const void *)’
mkcramfs.c:287: warning: pointer targets in assignment differ in signedness
mkcramfs.c: In function ‘write_superblock’:
mkcramfs.c:392: warning: implicit declaration of function ‘crc32’
mkcramfs.c:392: error: ‘Z_NULL’ undeclared (first use in this function)
mkcramfs.c:392: error: (Each undeclared identifier is reported only once
mkcramfs.c:392: error: for each function it appears in.)
mkcramfs.c:399: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness
/usr/include/bits/string3.h:119: note: expected ‘char * __restrict__’ but argument is of type ‘u8 *’
mkcramfs.c:401: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness
/usr/include/bits/string3.h:119: note: expected ‘char * __restrict__’ but argument is of type ‘u8 *’
mkcramfs.c: In function ‘write_directory_structure’:
mkcramfs.c:480: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/usr/include/string.h:397: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
mkcramfs.c: In function ‘do_compress’:
mkcramfs.c:598: warning: implicit declaration of function ‘compress2’
mkcramfs.c:598: error: ‘Z_BEST_COMPRESSION’ undeclared (first use in this function)
mkcramfs.c:599: error: ‘Z_OK’ undeclared (first use in this function)
mkcramfs.c:600: warning: implicit declaration of function ‘zError’
mkcramfs.c: In function ‘write_data’:
mkcramfs.c:647: warning: pointer targets in passing argument 3 of ‘do_compress’ differ in signedness
mkcramfs.c:578: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
mkcramfs.c: In function ‘main’:
mkcramfs.c:824: error: ‘Z_NULL’ undeclared (first use in this function)
make: *** [mkcramfs] Error 1


Or to make it easier can anyone uploaded the created files?
« Last Edit: February 04, 2010, 01:50:38 PM by mdex »

February 05, 2010, 12:44:48 PM
Reply #13

A-Tom

  • Newbie

  • Offline
  • *

  • 2
Tried and works fine on my WDTV2.
Thanks for the work Jekil.

February 13, 2010, 02:12:56 AM
Reply #14

capitaofantasma

  • Newbie

  • Offline
  • *

  • 6
hello friends,
i have already extracted wdtv2 firmware and i have a osd folder inside firmware.

the question is, if i replace that folder with the osd folder you have in your firmware it will work? or i need to change anything else?

the purpose is to understand how it works to try to make my own osd.

sorry my bad english.

« Last Edit: February 13, 2010, 02:24:05 AM by capitaofantasma »