Changes between Version 22 and Version 23 of BB10


Ignore:
Timestamp:
Jan 8, 2013, 3:32:12 PM (11 years ago)
Author:
Martin Kolman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BB10

    v22 v23  
    9191
    9292=== Packaging ===
     93
     94==== Getting the debug token ====
     95To install correctly to the BB10 device, the package needs to be signed with a valid debug token.
     96
     971. ''source'' the ''bbndk-env.sh'' script to your shell, so that you have the various BlackBerry utilities in your ''$PATH''
     98{{{
     99source bbndk-env.sh
     100}}}
     101
     1022. fill in the online form for signing keys
     103Note the PIN you've entered somewhere.
     104
     1053. generate a keypair
     106'''NOTE: This step is very important, as it is completely omitted in the official BB10 documentation and without it the debug token generation will fail with a ''author.p12 file missing'' error'''
     107
     108'''NOTE2: use only lowercase letters and numbers in the store password as reportedly uppercase letters cause problems. '''
     109
     110{{{
     111blackberry-keytool -genkeypair -storepass <new keystore password>3 -author <some string without spaces>
     112}}}
     113
     1144. register the signing keys
     115{{{
     116blackberry-debugtokenrequest -register -csjpin <the pin you entered to the online form> -cskpass <probably also the pin you entered to the online form> client-RDK-*.csj
     117}}}
     118The following is probably only needed for the Playbook ?
     119{{{
     120blackberry-debugtokenrequest -register -csjpin <the pin you entered to the online form> -cskpass <probably also the pin you entered to the online form> client-PBDT-*.csj
     121}}}
     122
     1236. find you device PIN
     124Should be visible on-device in settings->About->Harware
     125
     1265. generate the debug token
     127{{{
     128blackberry-debugtokenrequest -storepass <the keystore password you've entered in step 3> -devicepin <device PIN> debug_token.bar
     129}}}
     130
     131The debug_token.bar file now contains the debug token you can use to build packages (just for) your BB10 device. Plain and easy, not needlessly convoluted at all. :)
     132
     133==== Package contents ====
     134
    93135The package needs to contain the application and any other libraries modRana needs to run. The libraries are stored in the folder the application gets installed into and are loaded by manipulating the ''PATH'' and ''LD_LIBRARY_PATH'' variables.
    94136