Page 1 of 10 1234 ... LastLast
Results 1 to 25 of 233
Like Tree35Likes
  1. johanb99's Avatar
    CrackBerry Abuser

    Posts
    182 Posts
    PIN
    A9UWISH88D
    Thread AuthorThread Author   #1  

    Default Tutorial: Converting .APK to .Bar using BBHTool

    Hey Everyone, I just wanted to post this in case anyone is having trouble using HaTaX's Method to convert and sign .APK files to .Bar.

    Note that before you can do this, you have to have your .p12 file (registered from your .csj files). Also, you will need Android-SDK, Adobe Air SDK, and Playbook OS for Adobe Air

    This is the First part of the Tutorial, which teaches you how to create a .p12 file ALLOWING you to be able to SIGN .Bar files =)

    Step 1- Register on Blackberry's Website for your .csj files: Signed Keys Order Form

    Step 2- Fill out all info, remember your Company Name, and your PIN, Then Select the Key to be "Blackberry Tablet OS Code Signing Key" (It can take up to 2 hours for RIM to send you your .csj files!)

    Step 3- While waiting for your .csj files, download and install these files IN ORDER!

    -Adobe Air SDK: rich Internet applications | Adobe AIR SDK
    -Black Berry Tablet OS for Adobe Air: Tablet OS for Adobe Air Updated Tablet OS for Adobe Air Link
    -Android SDK: Android SDK | Android Developers

    **I would install the Android SDK directly on your C:\ Drive, so it should be like C:\Android-SDK**

    Step 4- Open "SDK Manager", let it load, scroll down to "Android 2.3.3", open the subfolders, and Checkmark "SDK Platform", then Click "Install Packages"

    Step 5- Go back and download your .csj files. There is one called "client-PBDT-XXXXXXXXXX.csj" and one called "client-RDK-XXXXXXXXXX.csj" Download both and make copies of them.

    Step 6- Now navigate to where you Playbook Tablet OS for Air Installed. Usually, it will install INSIDE Research In Motion's "Program Files" folder. So for me it would look something like this: C:\Program Files\Research In Motion\blackberry-tablet-sdk-1.1.1

    Step 7- Once you have found your Blackberry Tablet SDK for Air, navigate to the "bin" folder and copy your .csj files into it. (Yes both the client-PBDT and client-RDK)

    Step 8- We need to open up a command prompt now. Go to your windows icon and search "Cmd", find that program, right click, and run as an administrator. If you have something like Windows XP look for a program called "Run" and then type "Cmd" to launch the commant prompt.

    Step 9- Since our command prompt is up, we need to direct it to that bin folder. Copy the Address bar at the top of the "bin" folder, so for me it would be: C:\Program Files\Research In Motion\blackberry-tablet-sdk-1.1.1\bin. Once this has been copied, go back to your command prompt and type:

    cd C:\Program Files\Research In Motion\blackberry-tablet-sdk-1.1.1\bin

    (It depends on where your "bin" file is located for you so change that based on your harddrive!)

    Step 10- Now once our command prompt is directed to that "bin" folder, put this following code in, but replace where it says "YOURPINHERE":

    WHEN ENTERING IN YOUR PIN DO NOT USE ANY CAPITOL LETTERS, USE LOWERCASE OR ELSE YOU GET ERRORS!!!!!!!!!!!!

    blackberry-signer -csksetup -cskpass YOURPINHERE

    NOTE: I am making this simple by have you put all your passwords the same as your pin. This just helps you, you don't have to use your pin, but I reccommend it so you don't ever forget!

    Step 11- Next, we must now register our .csj files in order to get the .p12 files. YOU HAVE TO REGISTER BOTH .CSJ FILES, THE PBDT AND RDK FILES OR ELSE IT WILL NOT WORK!

    Paste this code in after changing to fit your information:

    blackberry-signer -register -csjpin YOURPINHERE -cskpass YOURPINHERE client-PBDT-putyourfilecodehere.csj

    You HAVE TO put your pin after the "-csjpin YOURPINHERE" part because you registered for your keys online with your pin, after "-cskpass YOURPINHERE" you just have to put the password that you created that is most likely your pin!

    Now register the other .csj file with the same code EXCEPT you have to change the file in the last part:

    blackberry-signer -register -csjpin YOURPINHERE -cskpass YOURPINHERE client-RDK-putyourfilecodehere.csj

    Step 12- Make sure that you don't get any errors when you register those files, you should get a message saying you connected/registered to RIM's servers. You should also get an email saying you are registered.

    Step 13- Now that you are registered, you can generate your .p12 file. To do that, input this following code into the command prompt:

    REMEMBER NO CAPS IN PIN!!!

    blackberry-keytool -genkeypair -keystore QNX.p12 -storepass YOURPINHERE -dname "cn=YOURCOMPANYNAMEHERE" -alias author


    What this code does is, creats your .p12 file, I put QNX as the name just to make it easier to find, you can change the QNX part, but I would keep that, because it is easier to find. When you registered online with RIM, you put in your company name, well you have to put that in where it says "YOURCOMPANYNAMEHERE" you have to leave the cn= part. You are also creating another password, but you should just use your pin once again.

    Step 14- You have just created your .p12 file. If you didn't change the command lines from mine, it will be called "QNX.p12" YOU CAN LOCATE IT IN YOUR "BIN" FOLDER WHERE YOU HAVE ALREADY NAVIGATED TO! MAKE SURE YOU SAVE IT AND BACK IT UP BECAUSE IF YOU LOSE IT YOU HAVE TO DO THIS WHOLE PROCESS OVER!

    Note: You can copy your .p12 file to an easier location for access when using the BBHTool in the tutorial below.


    When using BBHTool, all files inputted have to be .APK you cannot just sign a .bar, it converts and signs at the same time!

    Here is the second part of the Tutorial, showing you how to Convert and Sign apps using the BBHTool

    Step 1- Download the lastest version of BBH Tool here and install it: BBHTool (Public Version) - Downloads - BBH-Plus Forums BBHTool Latest Version

    Step 2- Once installed, open it up.

    Step 3- Go to the tab at the top and click "Playbook"

    Step 4- Click on "APK Converter"

    Step 5- Under the "Android-SDK (Required): Browse for your android-sdk folder. I just saved mine to C:\android-sdk to make it easier.

    Step 6- At "Conversion Info" make sure you browse where you want your converted .APK files to be saved to (it will automatically place your converted and signed .Bar file into this folder)

    Step 7- Click the checkmark for "Sign Converted File"

    Step 8- Browse for your Keystore file (that is the .p12 file that you got from registering your .csj files in the tutorial above)

    Step 9- Enter Your Keystore Password and your CSK Password into both fields. Remember when you were registering your .csj files, you created both passwords. If you followed my tutorial, then all of your passwords will most likely be your Playbook's PIN. That's what I have mine set to, it's easiet to remember.

    Step 10- Once you are done with all of that info, click "Add Files" and browse to your .APK file you wish to convert.

    Step 11- Click "Convert/Sign It!" And your converted and signed .Bar file will be where you set it to be!

    For me, I can only convert and sign one file at a time or else it doesn't work, so only do one at a time!

    After all this is done you can then install the file using DDPB Installer, or any other tools. I prefer HaTaX's tool.

    Thanks So MUCH for reading! =)

    This took awhile to make, and a lot of work, so let me know if you have any questions!

    Feel Free to Donate by clicking Here!

    -Johan =)
    Last edited by johanb99; 02-11-2013 at 10:35 PM.
    Thanked by 45:
    + Show/Hide list of the thanked
    Akuji52 (03-17-2012),  allisfair (05-10-2012),  aminrajabi (02-24-2012),  ankur7753 (03-03-2012),  bengalt9 (08-12-2012),  bluetroll (02-25-2012),  bmsox622 (03-01-2012),  citystars41 (10-31-2012),  cuong205a (12-17-2012),  DeCop (02-21-2012),  duken0101 (09-04-2012),  ericlc2 (02-23-2012),  fbloise (02-18-2013),  genericscissors2 (02-26-2012),  GGKoul (02-26-2012),  heitty (03-13-2012),  Hobbes2099 (02-01-2012),  i-love (02-22-2012),  irvc.666 (03-06-2012),  johnwfrancis (02-21-2012),  Kingkracker (04-06-2012),  Land0man (02-29-2012),  Lendo (04-03-2013),  LewLew23 (02-22-2012),  lyricidal (02-04-2012),  MetalxAssassinx (12-30-2012),  mrskycar (02-24-2013),  MTM1986 (08-12-2012),  nojotech (03-10-2012),  pkcable (02-06-2012),  portal (02-26-2012),  PowderJockey (03-10-2012),  RedCatcher56 (03-09-2012),  s74uk (02-25-2012),  spiculated (02-27-2012),  sstephanie40 (03-01-2012),  starfleet_k (02-23-2012),  swosnick (02-06-2012),  tarmpung (02-22-2012),  technomensch (01-31-2012),  Tvistedhead (03-21-2012),  Utkarsh (04-07-2012),  void11 (02-28-2012),  willm (02-06-2013),  wout000 (03-23-2012) 
  2. Hobbes2099's Avatar
    CrackBerry Abuser

    Posts
    228 Posts
    #2  

    Default

    Could we get additional, separate posts explaining:
    - where to download Android SDK
    - how to obtain a .p12 file
    - how to register .csj file
  3. johanb99's Avatar
    CrackBerry Abuser

    Posts
    182 Posts
    PIN
    A9UWISH88D
    Thread AuthorThread Author   #3  

    Default

    Quote Originally Posted by Hobbes2099 View Post
    Could we get additional, separate posts explaining:
    - where to download Android SDK
    - how to obtain a .p12 file
    - how to register .csj file
    I can point you to other tutorials, but I don't really feel like explaining it ! It's hard, I might later... You have to know a few command prompt lines, I forgot them.... If you find another tutorial (one on youtube) and have any questions though, I would be more than happy to answer them!
  4. Hobbes2099's Avatar
    CrackBerry Abuser

    Posts
    228 Posts
    #4  

    Default

    I was aiming for a catch-all so anyone new to rooting, and looking for .bar files might venture into converting and signing their own apps.

    Thanks though,
  5. johanb99's Avatar
    CrackBerry Abuser

    Posts
    182 Posts
    PIN
    A9UWISH88D
    Thread AuthorThread Author   #5  

    Default

    Quote Originally Posted by Hobbes2099 View Post
    I was aiming for a catch-all so anyone new to rooting, and looking for .bar files might venture into converting and signing their own apps.

    Thanks though,
    I guess I could put something together, I only have spare time right now!
  6. Hobbes2099's Avatar
    CrackBerry Abuser

    Posts
    228 Posts
    #6  

    Default

    Thansk for filling in the rest of the tutorials.
    I think most people interested in APK --> BAR are not developer, but eager users trying their favorite Android Apps. This is my case.

    As more developers jump on to the BBPB OS, we'll see more apps going from ported BARs running in the Android Player to native BBPB OS apps!
    sstephanie40 likes this.
  7. johanb99's Avatar
    CrackBerry Abuser

    Posts
    182 Posts
    PIN
    A9UWISH88D
    Thread AuthorThread Author   #7  

    Default

    Stickie Please?
    Convert Here!<--- Learn to easily Convert & Sign your own .APK files! (Android Apps)

    Convert Now!<--- Same link, so Please don't Click it!!
  8. pkcable's Avatar


    Posts
    27,079 Posts
    Global Posts
    30,711 Global Posts
    PIN
    PIN:K Floyd!
    #8  

    Default

    Quote Originally Posted by johanb99 View Post
    Stickie Please?
    Done!


    10 Char
    Thanked by 2:
    ericlc2 (02-23-2012),  johanb99 (02-06-2012) 
    ericlc2 likes this.
  9. slickmastajay's Avatar
    CrackBerry User

    Posts
    22 Posts
    #9  

    Default

    I registered for my signing keys last night and I got an email with only the PBDT csj. I didn't get the RDK csj so I can't sign my bars

    Sent from my myTouch_4G_Slide using Tapatalk
  10. johanb99's Avatar
    CrackBerry Abuser

    Posts
    182 Posts
    PIN
    A9UWISH88D
    Thread AuthorThread Author   #10  

    Default

    Quote Originally Posted by slickmastajay View Post
    I registered for my signing keys last night and I got an email with only the PBDT csj. I didn't get the RDK csj so I can't sign my bars

    Sent from my myTouch_4G_Slide using Tapatalk
    Try signing up again... Make sure you are clicking you are a Tablet OS key user!

    You will get new files, don't worry you can keep signing up...

    Also, when I got my two files they came as like two "Reply" emails so I had to go to Old and find the other email.
  11. slickmastajay's Avatar
    CrackBerry User

    Posts
    22 Posts
    #11  

    Default

    Quote Originally Posted by johanb99 View Post
    Try signing up again... Make sure you are clicking you are a Tablet OS key user!

    You will get new files, don't worry you can keep signing up...

    Also, when I got my two files they came as like two "Reply" emails so I had to go to Old and find the other email.
    Yeah thanks for the reply! I signed up for the keys once again and I hit the tablet os option which I hadn't done before ( I had selected the tablet os and blackberry option which gave me another file for the bbs without the rdk for the pb).

    But now I have another problem /: I can convert my apks but I can't sign them it says in the eventlog that the error was they've already been signed when in fact they have not

    Sent from my myTouch_4G_Slide using Tapatalk
  12. Roscopcoletrain's Avatar
    CrackBerry Genius

    Posts
    1,792 Posts
    Global Posts
    1,849 Global Posts
    #12  

    Default

    quick question. Can you overwrite a bar or always good to delete the old before installing the new?
    The Nameless Channel
    Canada | C000F0BDE
  13. johanb99's Avatar
    CrackBerry Abuser

    Posts
    182 Posts
    PIN
    A9UWISH88D
    Thread AuthorThread Author   #13  

    Default

    Quote Originally Posted by Roscopcoletrain View Post
    quick question. Can you overwrite a bar or always good to delete the old before installing the new?
    I haven't really tried that yet... I guess you could probably just overwrite one... Try it and let me know!
  14. johanb99's Avatar
    CrackBerry Abuser

    Posts
    182 Posts
    PIN
    A9UWISH88D
    Thread AuthorThread Author   #14  

    Default

    Quote Originally Posted by slickmastajay View Post
    Yeah thanks for the reply! I signed up for the keys once again and I hit the tablet os option which I hadn't done before ( I had selected the tablet os and blackberry option which gave me another file for the bbs without the rdk for the pb).

    But now I have another problem /: I can convert my apks but I can't sign them it says in the eventlog that the error was they've already been signed when in fact they have not

    Sent from my myTouch_4G_Slide using Tapatalk
    Try some fresh and different .APK files. I find that sometimes, if the APK is bad, it won't even sign it at all........

    Yea.

    Let me know

    -Johan
  15. stesyl's Avatar
    CrackBerry Abuser

    Posts
    116 Posts
    Global Posts
    163 Global Posts
    #15  

    Default

    I got the QNX.p12 file fine.

    When I open the BBH tool, i get a message "No blackberry OS installed please brouse for your OS folder". It then opens the tool, i followed the instructions, but when i try to convert a .APK file It says " the selected APK file have not been sucessfully converted .BAR and signed. Please try again"

    Any suggestions on what I did wrong.

    And thanks for the Tutorial
  16. johanb99's Avatar
    CrackBerry Abuser

    Posts
    182 Posts
    PIN
    A9UWISH88D
    Thread AuthorThread Author   #16  

    Default

    Quote Originally Posted by stesyl View Post
    I got the QNX.p12 file fine.

    When I open the BBH tool, i get a message "No blackberry OS installed please brouse for your OS folder". It then opens the tool, i followed the instructions, but when i try to convert a .APK file It says " the selected APK file have not been sucessfully converted .BAR and signed. Please try again"

    Any suggestions on what I did wrong.

    And thanks for the Tutorial
    The part about the OS doens't matter... If you followed the tutorial you should have your ANDROID SDK installed in the C drive so make sure you point it to that correctly. ALSO, you have to point it to the QNX FILE or it wont work. Finally, put in your passwords, (probably your pin) AND FINALLY, not all files will work. TRY A FEW OTHER FILES IF IT STILL DOESNT WORK!
  17. SatishAhlawat's Avatar
    CrackBerry Abuser

    Posts
    108 Posts
    #17  

    Default

    Quote Originally Posted by Roscopcoletrain View Post
    quick question. Can you overwrite a bar or always good to delete the old before installing the new?
    yes, you can overwrite it. but better you uninstall old first.
  18. stesyl's Avatar
    CrackBerry Abuser

    Posts
    116 Posts
    Global Posts
    163 Global Posts
    #18  

    Default

    Got it working, thanks again
  19. johanb99's Avatar
    CrackBerry Abuser

    Posts
    182 Posts
    PIN
    A9UWISH88D
    Thread AuthorThread Author   #19  

    Default

    Quote Originally Posted by stesyl View Post
    Got it working, thanks again
    No problem.
  20. DeCop's Avatar
    CrackBerry Newbie

    Posts
    1 Posts
    #20  

    Default

    Thanks this works awesome!
  21. meercura's Avatar
    CrackBerry Newbie

    Posts
    8 Posts
    #21  

    Default

    Working nice , clear and easy ^^ , thx for the tutorial
    Last edited by meercura; 02-21-2012 at 08:38 PM.
  22. dbmalloy's Avatar
    CrackBerry Genius

    Posts
    1,538 Posts
    #22  

    Default

    Great post... always nice to see how much work goes into the app side of things....
  23. crackberryjill's Avatar
    CrackBerry Abuser

    Posts
    312 Posts
    #23  

    Default

    When installing the Blackberry OS for Adobe Air, it wants to find Adobe Flash Builder.

    And they want money for that.

    So what the heck am I doing wrong?
  24. worldwarj's Avatar
    CrackBerry User

    Posts
    29 Posts
    #24  

    Default

    Finally got it to work, thank you!
  25. ales17's Avatar
    CrackBerry Newbie

    Posts
    1 Posts
    #25  

    Default

    Just one quick question ... is procedure from first post still the same now after upgrade to OS 2.0!?

    Thanks!
Page 1 of 10 1234 ... LastLast

Posting Permissions