Hi,
This is based on work by
http://simeonpilgrim.com. I invented nothing, but this is open source and ready to use. Do not forget credit and feel free to update it !
to decrypt a package:
python nikon_fir_dec.py D3S_0101.bin D3S_0101_ext.bin
to dump / parse the package content:
python nikon_fir_dump.py -c D3S_0101_ext.bin
Dump decrypted Nikon firmwares v0.2
based on work by http://simeonpilgrim.com
--- header ---
0x0000: ? = 91873f9a04d225c0dc2abdbe4bb4e594ed1e372231432bcf4d8ef76be9e1fb45
0x0020: nb_record = 2
0x0024: 1st record offset = 0x70
0x0030: --- record name | offset | length ---
0x0030: ad3s010100.bin 0x00000070 0x00080002 0 0
0x0050: bd3s101c.bin 0x00080072 0x00700000 0 0
--- contents ---
0x00000070: 0101000009120415443353204669726d ...
... e250000fe25007000000000fc000 0e6e , length = 0x80002, sum = 0x0e6e
0x00080072: 9f8050000000c011150187109f8f0000 ...
... ffffffffffffffffffffffffffff e76e , length = 0x700000, sum = 0xe76e
--- footer ---
0x00780072: 6f73 0000000000000000000000000000
package sum = 0x00000000
-c to check sums
-x to extract firmware files
Tested with D5100, D3100, D7000 and D3S firmwares (which contains Fujitsu FR and Toshiba TX19A code)
who will start CHDK for the yellow ones ;-)
Indy