rockbox/utils/AMS/hacking
2008-10-01 23:19:14 +00:00
..
amsinfo.c Some tools for hacking Sansa V2 (AMS) firmware files and injecting our own code. 2008-05-11 18:29:53 +00:00
extract_fw.c Untested (i.e. will almost certainly brick your device if you attempt to use it) first attempt at making mkamsboot store the original firmware as a UCL compressed image. If it works, then this means we have about 40KB (depending on target and OF version) for our bootloader code. I repeat: This is UNTESTED and needs reviewing fully before attempting to install on a device. 2008-10-01 09:15:44 +00:00
Makefile Untested (i.e. will almost certainly brick your device if you attempt to use it) first attempt at making mkamsboot store the original firmware as a UCL compressed image. If it works, then this means we have about 40KB (depending on target and OF version) for our bootloader code. I repeat: This is UNTESTED and needs reviewing fully before attempting to install on a device. 2008-10-01 09:15:44 +00:00
mkamsboot.c Correct the content of an error message (thanks to Jens for spotting) and fix a warning 2008-10-01 19:54:12 +00:00
nrv2e_d8.S Untested (i.e. will almost certainly brick your device if you attempt to use it) first attempt at making mkamsboot store the original firmware as a UCL compressed image. If it works, then this means we have about 40KB (depending on target and OF version) for our bootloader code. I repeat: This is UNTESTED and needs reviewing fully before attempting to install on a device. 2008-10-01 09:15:44 +00:00
README Some tools for hacking Sansa V2 (AMS) firmware files and injecting our own code. 2008-05-11 18:29:53 +00:00
test.S It turns out that in-place UCL decompression isn't as easy as we thought, so we copy the OF to an unused part of RAM before decompressing it. This works - I have successfully patched m300a-1.1.17A.bin and installed on my Clip with this code. Thanks to Rafael Carre (funman) for the actual patch. 2008-10-01 23:19:14 +00:00

This directory contains the following tools related to the Sansa V2
(AMS) firmware files:

1) amsinfo

A tool that dumps information from an AMS firmware file.

2) mkamsboot

A tool to inject some code (contained in test.S) into a firmware file.

Edit the INFILE variable in the Makefile to point to the original
firmware file you want to patch, edit "test.S" appropriately, and then
type "make".