Guías avanzadas
Site Map > Documentación > Guías avanzadas1. Guía s1fwx
(taken from http://www.stud.uni-karlsruhe.de/~uwa8/s1mp3/?Tools.s1fwx)
Description and basic usage:
s1fwx (s1 firmware extractor) is a free commandline tool (public domain) which lets you extract the original firmware from your s1 mp3 player device.
Additional features support operations on the firmware files like decrypt, extract and archive. This way you could investigate all the files included in any fw file, change their content and put them back together.
There are two known archive formats:
- AFI: this archives include files needed to flash the device, a minimal set may consist of an BRECFxxx.BIN (the bootloader) and a FWIMAGE.FW file (see below)
- FW/FWI: firmware image files include all firmware files needed during runtime
Commandline usage:
How to extract and repair firmware:
Extracting your players firmware is a very good idea just to create a backup of the original firmware files. It's no promise that you could always backup your player after some bad firmware update, but at least you have some more possibilities.
First download newest version(La aplicación de Wire) of s1fwx and extract the archive. Then connect your mp3 player device to your computers USB port and wait until it gets detected. Now double click the extracted file "extract.bat" or run
Before you can update your player with this firmware file using the original "Mp3 Player Update Tool" you will first have to repair it. Start "repair.bat" or type
A backup will be saved at "dump.bi$" automatically and the repaired file is now available as "dump.bin". Notice that its not possible to do a firmware recovery with this file (only regular firmware updates) since there are missing files needed by the "Mp3 Player Update Tool" recovery mode.
Since this files couldn't be found on your player you will need to get them from some official firmware file which is known to work with your players hardware. Either you first could recover to this firmware before updating to "dump.bin", or you could insert the needed files from the original AFI file into "dump.bin" using s1fwx. The original firmware has to support your flash chip(s). It doesn't matters if its just using different backlight or key-mapping.
Extract Firmware Files
Here some example how to extract the whole content of the AFI file "firmware.bin".
Place firmware and s1fwx in one folder, open commandline console (run "cmd") and go to the folder containing the files. To extract the AFI and the firmware files, type:
Now you should have extracted all the files usually included in some general firmware file.
Archive Firmware Files
To modify files in a firmware you will have to extract, modify and then archive the files back together to one AFI file.
First generate the script from the firmware file "firmware.bin", using:
Then extract the files and modify their content if you want. if you want to add or remove files or change file specific parameters edit the generated script using an usual text editor (i think the syntax is self explaining).
To archive the files back together type:
Recover To Extracted Firmware Files
Flashing your player with an extracted firmware file is a very simple procedure, just take care you repaired the extracted file (see above) and use the latest "MP3 Update Tool" available at the download section.
This works good until the day we flash our player with some partial corrupted firmware (a total corrupted firmware will damage the player permanently) and the update tool tells something about recovery mode and just opens an open-dialog. (maybe you will have to open your player and short some pins to get to this point, read the forum for further instructions).
If you select an extracted firmware file now, it just displays "Invalid upgrade firmware file". This isn't a bug of s1fwx! The problem is that recovering needs some extra files included inside our AFI-file that isn't needed for simple flashing. This files couldn't be found on the players flash, the only source is to look for them inside some original firmware files.
There are two methods to solve this problem and each of them expects you could find some original firmware file which is compatible to your players hardware and extracted firmware.
[Method 1][Method 2]
- - recover using some official firmware
- - format the player (with the "MP3 Player Disk Tool")
- - finally update to the extracted firmware file
- - extract the extracted and the official firmware file using s1fwx (only the AFI part)
- - generate a script for both files ("s1fwx s dump.bin >dump.script")
- - merge the scripts to some new script file using a text editor
- - build a firmware using the new script ("s1fwx a new.bin:afi new.script")
Both methods should have the same effect, give it a try!
2. Guía s1res
(taken from http://www.stud.uni-karlsruhe.de/~uwa8/s1mp3/?Tools.s1fwx)
s1res (s1 resource editor) is a free win32 gui licensed as public domain.(La aplicación de Wire)
To change graphics or text on the S1 MP3 Player, just extract and repair your firmware using s1fwx. Then run s1res and edit the extracted firmware file directly. Save the file and upload it using the original MP3 Update Tool.
Meet us at the mail listSite translator(Español) : Alejandro Somozas Mancilla - jandro_AT_ieee.org and Luis E Salazar M
Protected by the FreeBSD Documentation License - click for details









Español | v2.00 - 18/09/05