Rules | Recent posts | topic RSS | Search | Register  | Log in

how can i convert binary file

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Embedded Systems and Real-Time OS
Author Message
ha



Joined: 19 Feb 2004
Posts: 28


Post03 Mar 2004 16:13   how can i convert binary file

Sad Hey

Anyone can help me?

I have binary file for starsat stb (digital sattlite reciever),how can i convert

this file to instrections and change it's pictures to personal or

famely pictures.

Thanks.
Back to top
jhonny_yang



Joined: 08 Mar 2002
Posts: 140
Helped: 1


Post27 May 2004 13:44   Re: how can i convert binary file

ha wrote:
Sad Hey

Anyone can help me?

I have binary file for starsat stb (digital sattlite reciever),how can i convert

this file to instrections and change it's pictures to personal or

famely pictures.

Thanks.


Found the header jpeg in your binary or make some program to show bmp file.
Back to top
nerd77



Joined: 15 Feb 2004
Posts: 276
Helped: 1
Location: Germany


Post27 May 2004 14:07   Re: how can i convert binary file

Some ? most? all? microprocessor based devices like STB, DVP Layer etc. have a checksum routine inside. This routine will be active at startup and should prevent to install unvalidated (i.e. hacked) code on the device. And if this checksum routine is not too generous, it will also calculate the checksum across the picture data itself (reason: picture data needs a lot of space, and is a fine place to store some code there, as you dont need always some background pictures or are able to disable the view of a background picture)

So first you have to identify if there is really a JPEG format of picture within your STB. Probably the picture is stored in JPEG, but it might also be possible that the picture is stored as plain bitmap.

After this, you might find a way to modify your software (including to generate a checksum)

Then you have to transfer the modified file in your STB. I would assume that there is some available transfer software from the box vendor to upgrade the firmware.
Back to top
jhonny_yang



Joined: 08 Mar 2002
Posts: 140
Helped: 1


Post27 May 2004 14:40   Re: how can i convert binary file

nerd77 wrote:
Some ? most? all? microprocessor based devices like STB, DVP Layer etc. have a checksum routine inside. This routine will be active at startup and should prevent to install unvalidated (i.e. hacked) code on the device. And if this checksum routine is not too generous, it will also calculate the checksum across the picture data itself (reason: picture data needs a lot of space, and is a fine place to store some code there, as you dont need always some background pictures or are able to disable the view of a background picture)

So first you have to identify if there is really a JPEG format of picture within your STB. Probably the picture is stored in JPEG, but it might also be possible that the picture is stored as plain bitmap.

After this, you might find a way to modify your software (including to generate a checksum)

Then you have to transfer the modified file in your STB. I would assume that there is some available transfer software from the box vendor to upgrade the firmware.


Some is yes but much of STB don't use checksum to validate so try it first
Back to top
CatKing



Joined: 05 Jun 2001
Posts: 277
Helped: 1


Post27 May 2004 16:47   how can i convert binary file

you need to know what cpu inside the stb first, then uses ida to disassemble it.
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Embedded Systems and Real-Time OS
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap