Rockbox Development > New Ports

Creative Zen Vision:M

<< < (120/136) > >>

mcuelenaere:

--- Quote from: GuybrushThreepwood on August 22, 2008, 06:26:35 PM ---Hello to everyone! :) I'm new and I'm writing here because I'm having some serious problems with the update_extract tool included in the Zenutils package. While on many ZVM 30Gb firmware packages (like 1.50.01 and 1.61.01) it works very well, on many other (like the last 1.62.02) it gives the following error:

--- Code: --->update_extract.exe -u ZENVisionM_30GB_PCFW_1_62_02.exe -V
[*] Looking for firmware archive offset...
[*] Printing input variables...
    Updater executable:  ZENVisionM_30GB_PCFW_1_62_02.exe
    Firmware archive:    ZENVisionM_30GB_PCFW_1_62_02_rk.bin
      Key:               34d122FD84fc7CD9143584962572593
      Offset:            0x0005e0c0
      Size:              0x00e91cec
[*] Reading firmware archive...
[*] Decrypting firmware archive...
[*] Decompressing firmware archive...
Failed to decompress the firmware archive.

--- End code ---
I've checked the key (it's enough to open the package executable with an hex editor and search for the string 'PAVCString': the key is stored there repeated three times; I think that update_extract checks the key in this way too) and it's correct. I've also tried to specify it by the -k switch but it didn't help. Is this a common problem? I'm using update_extract v0.1, perhaps a newer version exists that solves this issue but I couldn't find either the sources for it (I've instead found the sources for the main libraries it's based on: zlib 1.2.3 for the compression and beecrypt 4.1.2 for cryptography). 
Thanks in advance to everyone for the help! :)

p.s. Is there a manual way alternative to using update extract to extract the firmware from the package executable?

--- End quote ---
Hi!

Did you use the ZenUtils from current Rockbox SVN or the ones attached in the wiki?

AFAIK I fixed this problem in SVN..

GuybrushThreepwood:

--- Quote from: mcuelenaere on August 22, 2008, 06:33:19 PM ---Did you use the ZenUtils from current Rockbox SVN or the ones attached in the wiki?

AFAIK I fixed this problem in SVN..

--- End quote ---

Thank you very much for your fast reply! :) I've used a precompiled version found here:

http://www.pimpmyzen.com/download.php?list.15

If you can tell me where to get the revised version (even its sources if not precompiled), it would be great! Thank you! :)

mcuelenaere:

--- Quote from: GuybrushThreepwood on August 22, 2008, 06:42:35 PM ---Thank you very much for your fast reply! :) I've used a precompiled version found here:

http://www.pimpmyzen.com/download.php?list.15

If you can tell me where to get the revised version (even its sources if not precompiled), it would be great! Thank you! :)

--- End quote ---
Yes, those are outdated currently.

The current ones are in utils/zenutils/.
Instructions how to work with SVN are on the wiki; compiling zenutils will need CMake and even more info is in notes.txt.

GuybrushThreepwood:
Thanks for your advices! Unfortunately, I couldn't use the SVN (it asks for a username and a password and I don't have them). I've tried to use cmake too but it gives me a ton of errors though it's correctly configured. I've manually downloaded update_extract and all of its libraries sources and tried to compile the update extract main.cpp but, even there, I receive another ton of errors though all the includes are where they should be. I'm starting to consider giving up... I'd like to know where I'm wrong...

AlexP:
You only need to svn username and password to commit.  To check out source you don't need anything.

http://www.rockbox.org/twiki/bin/view/Main/UsingSVN

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version