rockbox/utils
Amaury Pouly b130b50734 Add jz4760 tool
This tool can pack/unpack a jz4760 archive (like the one used for the fiio
x1/x3/x5), and can descramble/scramble (it's the same operation) a firmware
file (the sys.bin file in the archive). I did my best to keep the compatibility
with the leaked Fiio/Ingenic tool which has the same name.

I wrote the tools from scratch, but here are some remarks:
- the format used is a slightly modified IHFS used in the older JZ4640 series,
  I used the information on the wiki about the IHFS format
- the CRC computation done was already reversed engineered by someone on the
  forums but I realised this later
- There are a few unknown fields in the headers, see comments in the source code
- The firmware scrambling was discovered by pure guess, I realised there were
  some repetitve sequences, some I guessed it was a rotative XOR and ran some
  analysis to find the most probable sequence

Change-Id: Ib83735b3db8475be5de9c94231714e88668a0340
2015-03-29 14:08:28 +02:00
..
AMS/hacking amsinfo: save files with .bin extension 2011-12-13 03:01:16 +00:00
analysis Introduce a new analysis tool to detect which macros are defined in each build. 2015-02-16 11:31:05 +01:00
atj2137 Fix uninitialized variable (should fix libusb retry handling) 2015-01-04 13:35:47 +01:00
bootchart Add simple bootchart -> gnuplot shell script 2010-04-05 19:58:51 +00:00
common Rework langstat. 2013-06-09 16:54:59 +02:00
disassembler/arm Make sure files which aren't windows-specific use \n line endings only 2010-06-17 16:59:51 +00:00
e200tool Add new tool to upload code on e200/c200/view in manufacturer mode 2014-04-07 22:25:06 +02:00
editors Move sample.emacs to utils/editors 2010-02-18 23:32:08 +00:00
hwpatcher hwpatcher: add generic RKW file patching script 2014-09-02 22:35:26 +02:00
hwstub hwstub: implement read/write data abort recovery 2015-01-13 23:35:33 +01:00
imxtools sb1: fix buggy comparison 2014-12-20 15:31:18 +01:00
ipod Add some notes describing how the bin2note exploit works 2009-07-16 17:40:55 +00:00
jz4740_tools Fix crash on uninitialized variable 2015-01-13 21:57:24 +01:00
jz4760_tools Add jz4760 tool 2015-03-29 14:08:28 +02:00
meizu_dfu meizu_dfu: supports a single argument to run some code from RAM 2010-06-08 23:04:17 +00:00
MTP MTP: put libs after files in the Makefile, to please old gcc versions 2014-12-13 12:58:08 +01:00
nwztools imxtools/nwztools: fix compilation for windows 2013-01-10 00:51:35 +00:00
regtools qeditor: Add external static libraries to build dependecies 2015-03-04 22:46:03 +01:00
rk27utils Fix uninitialized variable (should fix libusb retry handling) 2015-01-04 13:35:47 +01:00
rknanoutils rknanoutils: fix boot tool 2013-03-21 19:02:03 +01:00
rockbox_api Fix menu (update to newer one) 2008-10-09 12:28:09 +00:00
samsungtools samsungtool: allow firmware creation 2012-12-06 12:17:50 +01:00
skinupdater SKIN BREAK: %pb, %bl and %pv (bar types) changed so the image is the last param instead of the first. skin updater, skins and manual all updated. 2010-06-09 16:15:01 +00:00
tcctool tcctool: fix Makefile 2013-09-18 13:14:20 +02:00
themeeditor Convert one more file from DOS to UNIX. 2011-11-06 22:52:21 +00:00
time-sync time-sync: allow passing an arbitrary time. 2013-06-09 19:51:08 +02:00
ypr0tools ypr1: Add some commands to rockbox.sh which are needed for playback 2014-03-09 23:25:50 +01:00
zenutils Clean up bogus 'make compiler happy' code 2015-01-12 21:13:00 +01:00
parse_testcodec.rb Update parse_testcodec to parse AAC-HE files with parametric stereo. 2011-04-12 20:24:43 +00:00