MyMPx.org

MyMPx.org (http://mympx.org/forum/)
-   General Discussion (http://mympx.org/forum/general-discussion/)
-   -   Merging Firmware (http://mympx.org/forum/general-discussion/33659-merging-firmware.html)

Trv 12th Jul 2006 5:38 am

Merging Firmware
 
How exactly do I go about merging two different versions of firmware. Thanks.

nabilash 12th Jul 2006 8:12 am

http://www.s1mp3.org/wiki/index.php/...e_Modification

Read it. ;)

greets

Trv 12th Jul 2006 1:58 pm

Re: Merging Firmware
 
That really doesnt tell you how to merge firmware.....

cerahati 12th Jul 2006 4:42 pm

Re: Merging Firmware
 
What do you mean with merging firmware? Can you tell us more what you would like to do?

tadad1 12th Jul 2006 5:00 pm

Trv,
You need 2 firmware a full version named "Full.bin" and a repaired dump file you want to merge named "Dump.bin".
Put them both in the s1fwx folder.

Open notepad and paste this:

@echo off
::make script from full.bin to recompile from
s1fwx s full.bin > merge.script
::extract files from the full.bin
s1fwx x full.bin
::extract files from dump.bin overwriting files extracted from full.bin
s1fwx x dump.bin
::rebuild full firmware with files from dump.bin included
s1fwx a merged.bin:afi < merge.script
::delete surplus files
for %%t in (dump full merged) do ren %%t.bin *.bak
for %%t in (script ap fw bin bi$) do del *.%%t
ren *.bak *.bin


Then save as Merge.txt.
Rename the file Merge.bat and place in the s1fwx folder along with the 2 .bin files.
When you run Merge.bat it will merge the 2 .bin files and create a new one called merge.bin.

Hope this helps.

Trv 12th Jul 2006 7:19 pm

Re: Merging Firmware
 
Thanks. Ill try that out on the music list firmware and mine.

Also, wouldn't it make merge.bin not merge.bat. And just to clarify, the full.bin is the firmware extracted from my mp4 and the dump.bin is the firmware with features I want to add. Thanks again.

tadad1 12th Jul 2006 8:29 pm

Trv, Sorry yes merge.bin (oops). The firmware with the new features will need to be called dump.bin, your firmware full.bin. The problem I see with your plan is all the files with the same name will be overwritten which if both files are dump files will be all files so your merged.bin will just be a copy of your full.bin as all files will be replaced.

The only way I see it possibly working is knowing which file has the neccessary code for file browsing and replacing just that file in your original dump.bin

razzer001 12th Jul 2006 11:23 pm

Re: Merging Firmware
 
Just curious, is this possible, say take better features of a new firmware and combine with your old working firmware and have it successfully work on your player?

If this was the case, than wouldn't this be a better way to do things than upgrading to a new firmware which might kill your player, as the old firmware would only have some of its features updated, but it wouldn't affect the old firmwares compatibility with your player.

I hope what i wrote makes sense i am not a programmer (well i took 3 comp sci classes in uni, but i cheated off my friends :D )

tadad1 13th Jul 2006 12:12 am

razzer001, I have tried this method of extracting say the game files from one firmware and replacing them in another firmware and in all cases there has been one problem or another. Either the firmware did not work or buttons did not work or games then just refused to load.
The other thing I tried was replacing the 8 image shutdown animation with a 16 image animation in an attempt to increase the number of frames and although it worked and I could then add 8 more frames the player still only played 8 of the 16.
So in answer to your question I doubt if this is a viable upgrade path. There are just so many variables in all the players as far as button control and components are concerned.

Weecho 13th Jul 2006 12:45 am

Re: Merging Firmware
 
Quote:

Originally Posted by Trv";p=&quot (Post 5013)
Thanks. Ill try that out on the music list firmware and mine.

Also, wouldn't it make merge.bin not merge.bat. And just to clarify, the full.bin is the firmware extracted from my mp4 and the dump.bin is the firmware with features I want to add. Thanks again.

Let Me Know How This Goes.. THX...

..::Weecho::..

Trv 13th Jul 2006 1:46 pm

Re: Merging Firmware
 
what about unpacking the .bin file of my firmware and the list firmware. Then replace my "music.ap" file with the list's "music.ap" file. Or possibly do the same process with a different file that has the code to list music. Then make a hybrid firmware.
Did that make sense? Is that even possibe?

Thanks

Also, weecho, I guess is where you would change the screen driver. Am I right?

Quote:

Originally Posted by ace68";p=&quot (Post 5072)
okay dude...mine and madman's used brecf641's while fabdn's is 644's. That makes all the difference. Try merging ur brec files with fabdn's to fix ur situation. Use ur brec file from ur backup firmware.


tadad1 13th Jul 2006 3:58 pm

Trv, I have swapped over .ap files before with no success but no harm in trying, the key is knowing where the code resides.

Trv 13th Jul 2006 6:08 pm

Re: Merging Firmware
 
Alright, Im gonna try modify my firmware by just swaping music.ap files. If I am not successfuly and teh music app does not load could I just upload my old firmware dump without going through the dead player recovery process. Or would i have to go through the dead player recovery guide.

tadad1 13th Jul 2006 6:37 pm

Trv, I can not say 100%. I have done the same thing with game.ap and a few others trying to incorporate different features and although all attempts have met with one problem or another I have always been able to reload my backup dump.

Trv 14th Jul 2006 5:34 am

Re: Merging Firmware
 
So you only ever have to do the recovery porcess if the firmware doesnt boot.

tadad1 14th Jul 2006 7:53 pm

Trv,
All I ever had to do was reload my backup to put things right.
There is no telling how your player will react though, If you swap core files that the player needs to run you could run into difficulty. I only played with game files, font files etc not system files.

Trv 15th Jul 2006 11:34 am

Re: Merging Firmware
 
IT WORKED... well kind of

I have two major problems.
1. All the text is off center. it is lower than it should be. Its kind of readable but not really.
2. The video on amvs is not working. I have really tried fixing it yet.

Any one have any ideas on how to fix either of these problems, particularly the first,

Trv 16th Jul 2006 8:11 pm

Re: Merging Firmware
 
Alright. Ive tried everything possible. Sadly, I give up. :cry: :cry: :cry:


All times are GMT -7. The time now is 9:15 pm.

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