Hi guys,
I am a total linux noob and I would like to pack my own version of the firmware. But I've got 2 problems.
I put the cramfs binarys into the folder /usr/bin/ and the other files into another folder (/wdlxtv/firmware/).
I downloaded version 1.02.21_0.4.7.3 and unpacked it into /wdlxtv/firmware/. Then I used command "chmod -R 777" on /wdlxtv and /usr.
When I try to cramfs the wdtv.bin I get the following error:
- Code: Select all
root@ubuntu:/wdlxtv/firmware# tail -c +33 wdtvlive.bin > wdtvlive.stripped.bin
root@ubuntu:/wdlxtv/firmware# cramfsck-16k -x dump wdtvlive.stripped.bin
cramfsck-16k: file length too short
Does somebody know what I did wrong?

And my second problem is with mkcramfs. When I try to make a wdtv.bin with files from svn I get an error with the command "signFW".
- Code: Select all
root@ubuntu:/wdlxtv/firmware# mkcramfs-16k ./svn/ newFW.bin
Directory data: 248400 bytes
Everything: 86896 kilobytes
Super block: 76 bytes
CRC: 1fc17036
root@ubuntu:/wdlxtv/firmware# signFW newFW.bin signature
signFW: command not found
First of all, is "signFW newFW.bin signature" right or do I need to think of a signature? And second, well yea he is missing the command so how can I "teach" him (the OS) this command?

I already tried tjay's fw tool to pack the folder and it did not complain at all. (pack) But I flashed the firmware and it seems a little bit odd so maybe something went wrong there. Unpack is not working with the tool because of the same reason I already posted in the beginning
I hope somebody can help me and won't cost much effort :/
Sincerely BonzenPaule