09-23-2009 05:35 AM - edited 09-23-2009 05:39 AM
09-23-2009 11:03 AM
I'm not sure what you mean with "just hash the module's contents (e.g., SHA-1 or MD5)"
Do you mean that i should check if the module gets corrupt in downloading process or in saving process?
09-28-2009 10:37 AM
Hi Klyubin and sorry for the delay in my tests, but i'm a bit of bussy these days...
Today my tests bring me new questions and no answers... I've been able to correctly upgrade de module and I've checked that the binary comparison between the modules (the one before downloaded and the other from the bb) also have this last difference in the last line... so, I don't know what to think...
I'll try as soon as possible to check the modules before installing it and after downloading...
10-01-2009 10:57 AM
Just to keep track of what I'm getting about this issue...
I've managed to guess when this was happening exactly. If I try to upgrade a module for the first time, after a device wipe, it works. But if later I try to upgrade it again and I'm using a library module with the same name, vendor and version and with different code it doesn't work and the linker/verify error appears again during start up process.
At least is a controlled error.
Now that I have more or less controlled in 4.5 version, when I do the same with 4.7 os, the behaviour is not the same. Compiled and build with 4.7 the library module upgrade doesn't work becouse of a
appystem data:CMM: MyLibrary(1401) invalid sig for 0x52435
and later the CodeModuleManager.saveModule() call returns a CMM_HASH_INVALID error...
Tested on a Storm 126.96.36.199
App Built with 188.8.131.52
¿Any idea about this "invalid sig for 0x52435" or the CMM_HASH_INVALID?
10-01-2009 01:15 PM
10-02-2009 08:44 AM - edited 10-02-2009 08:45 AM
Ok, i've just made a binary comparison between the downloaded library module with the original one and as you said it may have corrupted during downloading process, becouse they are not the same. The last line is different from one to another.
¿How can I solve or prevent this?