Sign up here and you can log into the forum!

Beginers Guide to creating custom OSD

Anything and everything related to OSD modifcation & theming.

Re: Beginers Guide to creating custom OSD   

Postby recliq » Tue May 24, 2011 12:39 am

­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Beginers Guide to creating custom OSD   

Postby pacman2007 » Tue May 24, 2011 9:53 am

Thanks! That cleared up a lot of confusion!
I still have a problem though.
After building the firmware I must sign it. According to the link it's done by writing:
signFW newFW.bin signature
However signfw is not a recognized command. What am I doing wrong.
Thanks for your help so far!
pacman2007
n00b
 
Posts: 6
Joined: Thu Mar 10, 2011 6:21 am

Re: Beginers Guide to creating custom OSD   

Postby b-rad.cc » Tue May 24, 2011 10:02 am

how about you read that post again...especially the line that says heres details to the firmware signature... :roll:
PM's are for private matters only, please post public matters on the forum to help others who might have the same issue.
:mrgreen:
User avatar
b-rad.cc
WDLXTV Team
 
Posts: 3003
Joined: Sat Apr 03, 2010 9:35 am
Location: New York

Re: Beginers Guide to creating custom OSD   

Postby scoobydo » Thu Jul 14, 2011 10:54 pm

Hello there

Its a great Post and i started to do my own OSD. I prepared all my files, Pictures and so on for my OSD.
But now i got Problems with the rights to write in the XML and changing Pictures. I mounted the .bin file.. Opened the Folder and tried to change some Text in the XML and changing my pictures. But i cant save the Files cause i have no writing rights. I changed to chmod to -r 777 (is -r not only readable?) but nothing happens. When i try to copy the files to another place of the PC, but i have only empty files after copying.
I Know i make something wrong, but i dont know what exactly.

I tried to find a tut with step by step pictures, but couldnt find..

Would be great if anyone can help..

Thank you so much

Andy
scoobydo
Donor
 
Posts: 26
Joined: Mon Feb 21, 2011 1:52 am

Re: Beginers Guide to creating custom OSD   

Postby KAD » Fri Jul 15, 2011 10:59 am

not sure if it make a difference by linux is case sensitive,
I've always used -R (for recursive) and 777 (read/write access to everybody)

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Beginers Guide to creating custom OSD   

Postby scoobydo » Fri Jul 15, 2011 3:32 pm

Im Using Kubuntu on my Acer Netbook, and same in a virtual Machine on my Laptop.

It´s a bit strange. So where could be the mistake that i cant get the writing rights to configure the files?
scoobydo
Donor
 
Posts: 26
Joined: Mon Feb 21, 2011 1:52 am

Re: Beginers Guide to creating custom OSD   

Postby b-rad.cc » Fri Jul 15, 2011 3:56 pm

if you're trying to directly edit a cramfs bin it will never work, period, no matter what you change the permissions to. ext3 is for writing cramfs is read only.
PM's are for private matters only, please post public matters on the forum to help others who might have the same issue.
:mrgreen:
User avatar
b-rad.cc
WDLXTV Team
 
Posts: 3003
Joined: Sat Apr 03, 2010 9:35 am
Location: New York

Re: Beginers Guide to creating custom OSD   

Postby scoobydo » Sun Jul 17, 2011 1:39 pm

I really dont know what im doing wrong. I cant get my files writable. Is there nobody who can help? Or maybe can someone upload the mounted Folder writable in a zip?
that would be really great.

Thank you so much
scoobydo
Donor
 
Posts: 26
Joined: Mon Feb 21, 2011 1:52 am

Re: Beginers Guide to creating custom OSD   

Postby mad_ady » Mon Jul 18, 2011 12:14 am

scoobydo: you are trying to write over files on a read only filesystem (cramfs is a read-only, compressed filesystem), and you can't overwrite the files with conventional methods.
You could convert the osd.bin you are trying to use from cramfs to ext3, and then it would be writable (and slightly larger). The way you would do the "conversion" would be to create a new ext3 filesystem and copy the files from the osd.bin to the new filesystem.

I haven't tried this, but try the following (change the path to your USB drive where appropriate):
Code: Select all
#create an empty file big enough to hold the osd.bin (16M)
dd if=/dev/zero of=/tmp/mnt/USB-UID/osd-ext3.bin bs=1M count=16
#create a new ext3 filesytem inside the file
mkfs.ext3 /tmp/mnt/USB-UID/osd-ext3.bin
#mount the new filesystem
mkdir /tmp/newosd
mount -o loop,rw /tmp/mnt/USB-UID/osd-ext3.bin /tmp/newosd
#copy the files over (assuming they are all under /osd - you need to check what files are exposed from your osd.bin)
cp -ar /osd/* /tmp/newosd
#sync
sync
#umount
umount /tmp/newosd


You will need to know the file structure of the original osd.bin and copy the relevant files to the new image. When you are done cloning the original one, rename it as osd.bin and reboot with it attached. Then, you should be able to overwrite the files you want.

Good luck!
User avatar
mad_ady
Developer
 
Posts: 4553
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Beginers Guide to creating custom OSD   

Postby jumbalaya » Tue Jul 19, 2011 1:03 pm

bgvjghvjghcjh
jumbalaya
OSD Themer
 
Posts: 251
Joined: Fri Apr 16, 2010 7:12 pm

PreviousNext

Return to WDTV G2 & WDTV Live Theming

Who is online

Users browsing this forum: No registered users and 0 guests

cron