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

February 13, 2010, 11:16:37 AM
Reply #15

lilibabe

  • Hero Member

  • Offline
  • *****

  • 1462
    • http://wdtv.free.fr/
If you appreciate my work and want to contribute, feel free to donate at http://wdtv.free.fr/

February 14, 2010, 06:56:04 AM
Reply #16

capitaofantasma

  • Newbie

  • Offline
  • *

  • 6
thank you

i will try to make some modifications in wdtv osd to see how it works. :)
« Last Edit: February 14, 2010, 07:17:11 AM by capitaofantasma »

February 24, 2010, 12:25:22 PM
Reply #17

progreat

  • Newbie

  • Offline
  • *

  • 13
how can I change backround pic

February 25, 2010, 02:21:04 AM
Reply #18

RailWar

  • Newbie

  • Offline
  • *

  • 37
progreat
Now you must change this file and rebuild firmware.

February 25, 2010, 05:01:25 AM
Reply #19

progreat

  • Newbie

  • Offline
  • *

  • 13
how?
can you explain step by step

February 25, 2010, 11:18:29 AM
Reply #20

RailWar

  • Newbie

  • Offline
  • *

  • 37
Look http://wdtvforum.com/main/index.php?topic=2922.0
but instead
#define ROMBUFFER_BITS 13
need
#define ROMBUFFER_BITS 15
(I compile cramfs utility in linux, but you can in Windows with cygwin)

next
dd if=wdtvhd.bin of=unpacked.img bs=32 skip=1c
./cramfsck -v -x wdtvhd unpacked.img
(here wdtvhd - the folder for created tree)

It's for the building rootfs tree. You can get bin-file form Jekil instead wdtvhd.bin
Now you can change files. Look those in /osd (sorry for my english)
There is the file md5sum.txt in root of tree. Recalculate md5 for new files and rewrite this file.

Then you rebuild bin-file
./mkcramfs ./wdtvhd wdtvhd.cram
cat wdtvhd.cram magic > wdtvhd.cramfs
md5sum wdtvhd.cramfs | dd bs=32 count=1 > wdtvhd.md5
cat wdtvhd.md5 wdtvhd.cramfs > wdtvhd.bin
rm wdtvhd.cram wdtvhd.cramfs wdtvhd.md5
Magic is file with 16 bites. 8 bites is signature and 8bit is size. I create it in windows, but I build BIN in linux
Here http://wdtvforum.com/main/index.php?topic=3594.0 is written about this

For begining I thing you must try to rebuild the original firmware, e.g. 1.01.77. If you get equal file then it is Ok.
 

February 26, 2010, 04:01:37 AM
Reply #21

progreat

  • Newbie

  • Offline
  • *

  • 13
./cramfsck -v -x wdtvhd unpacked.img
when ı wright this command say error

February 26, 2010, 06:58:51 AM
Reply #22

rambo4ever

  • Newbie

  • Offline
  • *

  • 17
Hi!

I tried it also, and it works for me. But I have some corrections:
1. I did "dd if=wdtvhd.bin of=unpacked.img bs=32 skip=1" since I think this is the right command to cut the first 32 bytes.
2. I modified the mkcramfs source as well, changing the PAGE_CACHE_SIZE to 4096*4, similarly to the cramfs source.

When I did the unpacking and then the repacking, I got the same file (of course without the magic 16 byte tail)

If you tell me the error message, probably I can help you.

I read the topic about this magic 16 bytes, and I already asked a question about it here somewhere. I still don't understand it...

February 26, 2010, 10:10:22 AM
Reply #23

RailWar

  • Newbie

  • Offline
  • *

  • 37
I don't see any difference in results after dd with skip=1 or skip=1c. But I don't understand why need this key.
About make cramfs. I wrote a small program. It calculates and adds needed parts.
It is here with pascal source. http://rapidshare.com/files/356257028/meat.zip.html
Here is batch file
./mkcramfs ./wdtvlive wdtvhd.cram
./meat wdtvhd.cram

February 26, 2010, 12:34:21 PM
Reply #24

progreat

  • Newbie

  • Offline
  • *

  • 13
ysndnz@ysndnz-desktop:~$ dd if=wdtvhd.bin of=unpacked.img bs=32 skip=1c
551936+1 kayıt girdi
551936+1 kayıt ıktı
17661968 bytes (18 MB) copied, 2,44097 s, 7,2 MB/s
ysndnz@ysndnz-desktop:~$ ./cramfsck -v -x wdtvhd unpacked.img
bash: ./cramfsck: No such file or directory
ysndnz@ysndnz-desktop:~$

ı got this error what can ı do?

February 26, 2010, 01:04:34 PM
Reply #25

rambo4ever

  • Newbie

  • Offline
  • *

  • 17
Hi!

You have to modify a bit and compile the cramfs and mkcramfs files. Once you have them you can extract and repack the image. This link was previously posted: http://wdtvforum.com/main/index.php?topic=2922.0 It contains almost all the necessary steps to compile your tools.

RailWar, Thank you! Now I understand that the last 8 bytes are the length of the cram image (which is 48 byte less than the whole file) I always wanted to get this info! :) Thx!

March 27, 2010, 06:42:26 AM
Reply #26

mihof33

  • Newbie

  • Offline
  • *

  • 16
Hi guys, is it possible to add to your firmware moviesheets? I now that they work with B-rads firmware, but with OSD on, USB dont power off, and with your firmware this is working just fine. Thanks

P.S. Sorry for my English
« Last Edit: March 27, 2010, 12:21:39 PM by mihof33 »

March 30, 2010, 10:16:48 AM
Reply #27

lilibabe

  • Hero Member

  • Offline
  • *****

  • 1462
    • http://wdtv.free.fr/
No, at least not with the actual firmware.

But there's a "trick" : modify the layout of thumbnail mode so that only 1 big frame is displayed instead of 2x5 thumbnails... not very comfortable but until something better !
If you appreciate my work and want to contribute, feel free to donate at http://wdtv.free.fr/

April 03, 2010, 11:32:34 AM
Reply #28

Padavan

  • Newbie

  • Offline
  • *

  • 15
lilibabe
all

Hi guys!
I've done re-compile lilibabe-simple OSD for WDTV-Gen2. This is work with b-rad FW WDLXTV_G2.
Usage:
Simple copy bin file to the root on pen drive (or HDD) and full reboot device. This build supported video stream info label, correct Russian translation.

Russian tools caption:
gen2.lilibabe.simple.rus.osd.bin
http://depositfiles.com/files/ey6bkidnk

English tools caption:
gen2.lilibabe.simple.eng.osd.bin
http://depositfiles.com/files/nt4u1cgjf

PS.
More-more personal thanks and respect to lilibabe. I like your work, dude! Greetings from Russia!
« Last Edit: April 03, 2010, 11:38:56 AM by Padavan »

April 03, 2010, 11:58:39 AM
Reply #29

lilibabe

  • Hero Member

  • Offline
  • *****

  • 1462
    • http://wdtv.free.fr/
thank you to you to give a second life to my "antiques" !  ;)
If you appreciate my work and want to contribute, feel free to donate at http://wdtv.free.fr/