myMPX
Advertisement


Go Back MyMPx.org > MyMPx.org Forum > Mods and Themes

EDITING FIRMWARE WITH HEX EDITOR!
Reply
Post New Thread
 
LinkBack Thread Tools
  #11 (permalink)  
Old 30th Jun 2006, 6:27 pm
Member
Keen on MPx players
 
Join Date: Jun 2006
Posts: 55
Default


Lol, thats easy. :P
I improved the translations with extracting the firmware (you can write longer sentences without having errors when saving...). You need the prog "s1fwx_v30", then you create two batch files in the folder (new text document>rename to .bat instead of .txt).

the first one we call "extract_fw_file.bat"

Quote:
@echo off

echo Firmware Modifying Tool 0.1
echo ===========================
echo.
:repair
echo 1. Repair firmware
pause
s1fwx r dump.bin
:scriptfordump
echo 2. Create script file for dump.bin
pause
s1fwx s dump.bin > dump.script
:extractdump
echo 3. Extract dump file
pause
s1fwx x dump.bin
:extractfwimage
echo 4. extract fwimage.fw
pause
s1fwx x fwimage.fw
:scriptforfwimage
echo 5. create script file for fwimage.fw
pause
s1fwx s fwimage.fw > fwimage.script
and the second one you call something like "pack_fw_file.bat"

Quote:
@echo off

echo Firmware Modifying Tool 0.1
echo ===========================
echo.
:rename
echo 1. 1. rename oryginal fwimage.fw to some other name
pause
ren fwimage.fw fwimagebackup.fw
:scriptrecreate
echo 2. use script to recreate fwimage with modified files
pause
s1fwx a fwimage.fw:fw < fwimage.script
:createmoddump
echo 3. use dump.script to create modified dump file
pause
s1fwx a mod_dump.bin:afi < dump.script
:logs
echo 4. check logs displayed on screen for errors!!
pause
:scriptforfwimage
echo 5. check if final dump file size seems to be correct!!
pause
The extraction process was described in the wiki of s1mp3.org, I created the batch files to make it easier.

But I think switching games wont work, because nearly all resource files (for games, too) are in the UI30.RES file...

greets.
Reply With Quote
  #12 (permalink)  
Old 1st Jul 2006, 12:03 pm
New Member
 
Join Date: Jun 2006
Posts: 9
Default Re: EDITING FIRMWARE WITH HEX EDITOR!

yep, I think I screwd up my player.... tried editing the firmware with a hex editor, and uploaded it back on...now the player is stuck on the blue screen with the hourglass and doesnt do anything else. Windows can detect some USB device as USB2 (FS) ADFU Device, but no drive apears in "My computer" and the firmware upgrade tool cant "recover" or reload another firmware.

I guess i killed my MpxPlayer
if anyone has any suggestions just psot a reply
Reply With Quote
  #13 (permalink)  
Old 1st Jul 2006, 6:11 pm
Member
Keen on MPx players
 
Join Date: Jun 2006
Posts: 55
Default

In the "dead recovery section" of this forum are good tips, that may help you.

greets
Reply With Quote
  #14 (permalink)  
Old 1st Jul 2006, 11:27 pm
Member
I love my MPx player
 
Join Date: Jun 2006
Posts: 98
Default

Quote:
Originally Posted by nabilash";p=&quot View Post
Lol, thats easy. :P
I improved the translations with extracting the firmware (you can write longer sentences without having errors when saving...). You need the prog "s1fwx_v30", then you create two batch files in the folder (new text document>rename to .bat instead of .txt).

the first one we call "extract_fw_file.bat"

Quote:
@echo off

echo Firmware Modifying Tool 0.1
echo ===========================
echo.
:repair
echo 1. Repair firmware
pause
s1fwx r dump.bin
:scriptfordump
echo 2. Create script file for dump.bin
pause
s1fwx s dump.bin > dump.script
:extractdump
echo 3. Extract dump file
pause
s1fwx x dump.bin
:extractfwimage
echo 4. extract fwimage.fw
pause
s1fwx x fwimage.fw
:scriptforfwimage
echo 5. create script file for fwimage.fw
pause
s1fwx s fwimage.fw > fwimage.script
and the second one you call something like "pack_fw_file.bat"

Quote:
@echo off

echo Firmware Modifying Tool 0.1
echo ===========================
echo.
:rename
echo 1. 1. rename oryginal fwimage.fw to some other name
pause
ren fwimage.fw fwimagebackup.fw
:scriptrecreate
echo 2. use script to recreate fwimage with modified files
pause
s1fwx a fwimage.fw:fw < fwimage.script
:createmoddump
echo 3. use dump.script to create modified dump file
pause
s1fwx a mod_dump.bin:afi < dump.script
:logs
echo 4. check logs displayed on screen for errors!!
pause
:scriptforfwimage
echo 5. check if final dump file size seems to be correct!!
pause
The extraction process was described in the wiki of s1mp3.org, I created the batch files to make it easier.

But I think switching games wont work, because nearly all resource files (for games, too) are in the UI30.RES file...

greets.
Very interesting indeed! ;D
I've just came back of a party and I'm too sleepy... =P
Tomorrow if I have time I'll create these batch files and see if I find something ok?!
Thaks for the contribuition!! =D
Reply With Quote
  #15 (permalink)  
Old 23rd Jul 2006, 12:56 pm
Junior Member
 
Join Date: Jun 2006
Posts: 26
Default

Do you know what would be fantastic? A MP4 emulator for the PC! we wouldn't need to upload the firmware to check the changes... we could see the changes almost in real time.. and withouth the danger of harming the player...

probably it doesn't exist..but who knows...
Reply With Quote
  #16 (permalink)  
Old 23rd Jul 2006, 11:25 pm
New Member
 
Join Date: Jul 2006
Posts: 3
Default Re: EDITING FIRMWARE WITH HEX EDITOR!

Any file that is executed in every machine in every S.O. can be read in Hexa. BUT if you want to make a change you must know the microcontroller that is executing the codes, how to program it, and the S.O. then diassemble the file. Then you must undertand what the code does, find what changes into the code you want to make and where in the address of the file you want to change and the code of it in hex. Then and just then you can open that file with an Hex Editor and change the values. If not, you're making a MPx killer firmware. :lol:

Never do HexEdit without diassembling the code and know what it do. And it's impossible to do it without having the processor model of the MP4, his instruction set, without knowledge of how the codes executes, etc...

Also, making a MP4 emulator needs the same kind of knowledge.

If you guys still want to make some hexedit, i've heard some rumors that the processor is Z80, a very extended use processor. Here's some info: http://en.wikipedia.org/wiki/Z80
The best way to verify this is opening the player.
Reply With Quote
  #17 (permalink)  
Old 24th Jul 2006, 3:04 am
New Member
 
Join Date: Jul 2006
Posts: 3
Default

This is my third day with my MP4 player.
I've open the player and i've found 2 chips. 1 samsung memory and a atj2085tj chip. It works with Z80 intruction set. Also searching for the datasheet of the chip, i've found a page that is working on a proyect for making a firmware, an atj2085tj emulator and some interesting things. Here is: http://www.s1mp3.org/
Reply With Quote
Sponsored Links
  #18 (permalink)  
Old 8th Nov 2006, 8:12 pm
Junior Member
 
Join Date: Oct 2006
Posts: 36
Default

Bump!
Yep, Z80 is a very common chip. There have been many microcomputers based on the architecture, and TI calcs too. (I've been doing the USB flash drive to calc thing.)
What we need is some really good programmers. Anyone know where to look? I know camerahacking.com is a nice place, for one.
In any case, I thought s1mp3 released their firmware open source. True?
Reply With Quote
  #19 (permalink)  
Old 22nd Nov 2006, 8:05 pm
New Member
 
Join Date: Nov 2006
Posts: 12
Default

Quote:
Originally Posted by Smeag";p=&quot View Post
Do you know what would be fantastic? A MP4 emulator for the PC! we wouldn't need to upload the firmware to check the changes... we could see the changes almost in real time.. and withouth the danger of harming the player...

probably it doesn't exist..but who knows...

that's a awesome Idea!!
Reply With Quote
  #20 (permalink)  
Old 25th Nov 2006, 5:45 pm
Senior Member
Valued Member
 
Join Date: Sep 2006
Location: Singapore
Posts: 2,962
Default Re: EDITING FIRMWARE WITH HEX EDITOR!

i've tried various Z80 dis-assembly softwares to dis-assemble the firmware file, but many at which either hangs my laptop while doing so, or totally is unable to dis-assemble it.

What Fuma had mentioned about editting the hex directly is true, editting directly without knowing the microcontroller's process handling would most definately kill the player. Just take a look at the number of dead players in the forum, all the wrong firmware updates were actual working extracted firmwares from other members. But in the wrong player with probably different hardware layout, killed their players instantly.

I guess it is pretty much a long way to go to be able to fully customise the player in every particular detail. But lets hope someone is able to do it!
__________________
Why are clones called MP4 Players, when they don`t play .MP4 at all?
It`s like an MP3 Player which plays Music CDs only.


T39 doesn''t sound as good as my T29
Reply With Quote
Reply

Sponsored Links



Similar Threads
Thread Thread Starter Forum Replies Last Post
RockChip RK27SDK Firmware Editing Tools Guide travis90 Mods and Themes 0 14th Jan 2009 3:19 am
EXIM MP4 Firmware editing Flariut Mods and Themes 8 17th Aug 2008 9:11 am
FirmWare Editor Ver 1.0.2.0 Dancemammal Mods and Themes 15 30th Dec 2007 11:56 pm
Download the New Firmware Editor From Here Dancemammal Mods and Themes 14 12th Nov 2007 5:28 am
Theme or firmware editing on v9.0.50 satdog75 Support and How To 1 27th Oct 2007 8:48 pm


All times are GMT -7. The time now is 3:59 pm.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 RC 2
Back to Top

Designed by indiqo.media