Citation :
MRB5_FW_UP method [opt1] [opt2] [opt3] ...
method Specifies the desired function.
[opt1][opt2]... Optional arguments for the chosen method.
method can recieve the following values:
'DecryptFile' or 'decrypt' :
MRB5_FW_UP decrypt [inputfile = N5002-BD.BIN] _
[outputfile = N5002-BD.DEC]
Decrypts the original firmware file (inverse it and reorder the bits)
'EncryptFile' or 'encrypt' :
MRB5_FW_UP encrypt [inputfile = N5002-BD.DEC] _
[outputfile = N5002-BD-NEW.BIN]
Encrypts the updated firmware file (inverse it and reorder the bits)
'GetImage' :
MRB5_FW_UP GetImage imgnum [inputfile = N5002-BD.DEC] _
[offset = 0x100000 - 0x18]
MRB5_FW_UP GetImage all [inputfile = N5002-BD.DEC] _
[offset = 0x100000 - 0x18]
Reads the $imgnum$'th (a number 0-389 or 'all') image from the decrypted
firmware and saves it to a file named 'imagenum.ext'
(where the extension comes from the file type.
offset ($opt3$) is the offset of the static image table addresses.
Use "MRB5_FW_UP\ GetImage all" to get all the image files out.
'UpdateImage' :
MRB5_FW_UP imgnum imagefile [inputfile = N5002-BD.DEC] [outputfile = N5002-BD.DEC] [offset=0x100000-0x18]
MRB5_FW_UP all [inputfile = N5002-BD.DEC] [outputfile = N5002-BD.DEC] [offset=0x100000-0x18]
Updates the $imgnum$'th image from the file $imagefile$.
outputfile, inputfile and offset are like before.
"MRB5_FW_UP\ UpdateImage all" will search for all the $number$.jpg/png.
files in the current directory, and update them.
'CorrectCRC' or 'corcrc':
MRB5_FW_UP corcrc [inputfile = N5002-BD.DEC] _
[outputfile = N5002-BD.DEC]
Updates the CRC according to the updated _DECRYPTED_(!) file.
Standart flow of usage:
DecryptFile -> GetImage -> [Change the images] ->
UpdateImage -> CorrectCRC -> EncryptFile
new in version 0.965BETA:
* small bug fix.
new in version 0.96BETA:
* added "GetImage all" function
* added "UpdateImage all" function
* added support for a new file description (0x1L)
|