Rockbox Development > New Ports

Creative Zen Vision:M

<< < (53/136) > >>

mcuelenaere:

--- Quote from: iSE on July 11, 2007, 11:06:12 AM ---Well sure, if you can post the code for it I'll take a look. But why would the checksum of the firmware ever need to be calculated unless verifying it to be real and when first inserting the checksum into the file?

--- End quote ---
Indeed, it is very odd. But someone found some traces of a SHA-1 calculation and I investigated a (little bit) further and found some kind of SHA-1 (based) routine in the .exe (see some posts back, I've posted some code)

edit: it starts at page 12

saratoga:

--- Quote from: iSE on July 11, 2007, 10:17:11 AM ---I've been able to get the ARM code for the nk.bin using EMU8086 emultator, but the firmware uploader is too big to load for some reason.

--- End quote ---

I posted the nkbin directly earlier in the thread.  You don't need to emulate anything, it saves it to the hard disk.


--- Quote from: iSE on July 11, 2007, 10:17:11 AM ---If anyone knows of anythin that will disassemble a file n output the ARM code to a txt file to read through, that would be very benificial.

--- End quote ---

Sure, use objdump (comes with the rockbox dev tools) or IDA Pro.  Check earlier in this thread, theres a lot of posts on it from around January or so.


--- Quote from: iSE on July 11, 2007, 10:17:11 AM ---Since this is the case, would it be possible to modify some firmware to be uploaded directly to the HDD, which would output the algorithm? Long shot I know but might be worth a hefty effort if it works?

--- End quote ---

You mean replacing their bootloader?  Without spec sheets, that would be very hard to do.

iSE:
I used the emulator as its possible to view the ARM code of the nk.bin file itself. I will checkout objdump.

If, say, the firmware updater does indeed calculate the checksum of the nk.bin file and then upload it to the firmware, and the firmware is merely a series of commands designed to upload an inbuilt nk.bin file, can we not change the nk.bin file slightly, put it back into the firmware updater program, and then try that to upload it to the Zen?

mcuelenaere:

--- Quote from: iSE on July 11, 2007, 11:56:28 AM ---If, say, the firmware updater does indeed calculate the checksum of the nk.bin file and then upload it to the firmware, and the firmware is merely a series of commands designed to upload an inbuilt nk.bin file, can we not change the nk.bin file slightly, put it back into the firmware updater program, and then try that to upload it to the Zen?

--- End quote ---
You could try, if you know how : )
The firmware is compressed (with a deflate algorithm, don't know out of my head which one; I think ZLIB) in the firmware updater program and can be extracted (there is a little C program bundled with libnjb that does this; I've never tested it with ZVM's firmware updater program though)

iSE:
I'm still strugglin with the 010 editor template lol. Could you please post the exact template you know to work as lookin at the script I know theres an error, theres 1 { n 2 }'s and a ( without any ). Unfortunately I don't know enough about the scripting language to fix the syntax. I've tried trust me lol.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version