12-24-2010 07:02 PM - edited 12-24-2010 07:10 PM
Hi, I'm not an actual BB developer, but for personal use I've slightly modified a BB cod file and reloaded it onto the device only to encounter an error telling me that I need a license to use the API.
I am not very familiar with anything having to do with BB, but I'm fairly certain that the modified cod would work if it werent for the API restriction: I've simply altered some directory strings directly in the cod files and corrected the file's CRC32 in the cod-zip for it to properly load onto the device.
So... am I infringing some sort of RIM copyright while doing so? and what steps do I need to take to make the modified RIM application functional? Thanks
12-24-2010 08:21 PM
Copyright? No. License? Probably.
I'll leave the legal stuff up to someone else and focus on the signing.
The CRC32 is for the COD with the signing code. The signing code is everything but the CRC32. So by changing the code you invalidated the signing code. Changing the CRC32 will let you load the COD onto the BlackBerry but if the signing key doesn't match because everything else is changed then you're stuck.
12-25-2010 12:09 PM
I don't really see the problem, shism2. I'm asking about copyright because I wasn't sure if modifying RIM apps and submitting them for licensing was common practise...
About the signing, from what you said I take it that my file passes the integrity test but doesn't match the key, which is generated from the whole cod file. Although I'm still not sure what exactly is the key and where it is located, and what type of file can be signed (do I need the source code)?
Is there documentation on this?
12-25-2010 12:24 PM
Correct. I don't know much about the key either. It isn't documented anywhere and it is expected you have source code, compile it, and sign it. You might be able to resign the COD but I don't know exactly (never tried).