1. bounce007's Avatar
    Hi,

    So when I use xsacha's method to convert, sign and install android bars, I must have the debug token associated with that bar file on my phone in order for the app to be side loaded. Is there anyway to convert, sign and install apps without having a debug token on your phone? For example, using a method posted some time ago by HaTaX, .apks could have been converted to to bars, signed and installed without a debug token on the PlayBook. Also, you can find android bars online and just side load them and they work fine... This is not the case when I use xsacha's method. I must have a debug token on my phone for xsacha's method to work.

    Any help would be much appreciated
    adamlau likes this.
    10-30-13 11:51 AM
  2. AnimalPak200's Avatar
    10-30-13 11:54 AM
  3. adamlau's Avatar
    Apps which require debug tokens are not signed.
    bounce007 likes this.
    10-30-13 11:57 AM
  4. bounce007's Avatar
    Apps which require debug tokens are not signed.
    OOHHHH Thanks
    10-30-13 12:03 PM
  5. bounce007's Avatar
    So instead of using the debug token method from xsacha, I could use HaTaX's PlayBook tools - of course I would have to be on an unlocked runtime...

    Any of you remember HaTaX's tools for the PlayBook? Those were some great batch files, however, signbar.bat seems to not be working. In order for me to sign my bar files I have been using command line... Anybody knows any drag and drop method to sign bars for BB10 (similar to HaTaX's tools here: http://forums.crackberry.com/playboo...easier-662772/?
    10-30-13 02:36 PM
  6. thurask's Avatar
    Hi,

    So when I use xsacha's method to convert, sign and install android bars, I must have the debug token associated with that bar file on my phone in order for the app to be side loaded. Is there anyway to convert, sign and install apps without having a debug token on your phone? For example, using a method posted some time ago by HaTaX, .apks could have been converted to to bars, signed and installed without a debug token on the PlayBook. Also, you can find android bars online and just side load them and they work fine... This is not the case when I use xsacha's method. I must have a debug token on my phone for xsacha's method to work.

    Any help would be much appreciated
    You can edit the ConvertAndroidApp.bat file that comes with xsacha's Android Pack to disable the debug token. There should be a line that looks like this:
    Code:
    java -Djava.awt.headless=true -Xmx512M -cp "%~dp0lib\BarPackager.jar;%~dp0lib\Apk2Bar.jar" net.rim.tools.apk2bar.Apk2Bar -os 10.2 -d "%~dp0debugtoken.bar" -ma "%~dp0lib\test.mf" %1 "%~dp0sdk"
    Just delete
    Code:
    -d "%~dp0debugtoken.bar"
    and resave the bat, then it'll work just as before, but without using the debug token.
    10-30-13 04:15 PM
  7. pvphooman's Avatar
    You can edit the ConvertAndroidApp.bat file that comes with xsacha's Android Pack to disable the debug token. There should be a line that looks like this:
    Code:
    java -Djava.awt.headless=true -Xmx512M -cp "%~dp0lib\BarPackager.jar;%~dp0lib\Apk2Bar.jar" net.rim.tools.apk2bar.Apk2Bar -os 10.2 -d "%~dp0debugtoken.bar" -ma "%~dp0lib\test.mf" %1 "%~dp0sdk"
    Just delete
    Code:
    -d "%~dp0debugtoken.bar"
    and resave the bat, then it'll work just as before, but without using the debug token.
    Holy moly. This is great info. Someone edit and upload the .bat!
    P.s. I could/will do it myself in a few days...

    STL3 1791 hybrid w/10.2.1 bars
    10-30-13 04:21 PM
  8. thurask's Avatar
    Here's the latest Windows Android Pack, with the modified .bat file.
    Attached Files
    pvphooman likes this.
    10-30-13 04:28 PM
  9. pvphooman's Avatar
    Here's the latest Windows Android Pack, with the modified .bat file.
    Thank u thurask. This is great and deserves it's own thread. I had my security concerns with downloading bars online. I mean even Google says be cautious of APKs you find outside of the Google Play store...let alone an apk someone uploaded to a apk2bar site...
    I'd prefer knowing where my bar came from.
    Now all we need is a program that modifies permissions of the apk. If such a thing is possible.

    STL3 1791 hybrid w/10.2.1 bars
    10-30-13 04:38 PM
  10. thurask's Avatar
    Thank u thurask. This is great and deserves it's own thread. I had my security concerns with downloading bars online. I mean even Google says be cautious of APKs you find outside of the Google Play store...let alone an apk someone uploaded to a apk2bar site...
    I'd prefer knowing where my bar came from.
    Now all we need is a program that modifies permissions of the apk. If such a thing is possible.

    STL3 1791 hybrid w/10.2.1 bars
    Try this.

    http://www.reddit.com/r/Android/comm...modify_an_apk/
    pvphooman likes this.
    10-30-13 04:45 PM
  11. bounce007's Avatar
    You can edit the ConvertAndroidApp.bat file that comes with xsacha's Android Pack to disable the debug token. There should be a line that looks like this:
    Code:
    java -Djava.awt.headless=true -Xmx512M -cp "%~dp0lib\BarPackager.jar;%~dp0lib\Apk2Bar.jar" net.rim.tools.apk2bar.Apk2Bar -os 10.2 -d "%~dp0debugtoken.bar" -ma "%~dp0lib\test.mf" %1 "%~dp0sdk"
    Just delete
    Code:
    -d "%~dp0debugtoken.bar"
    and resave the bat, then it'll work just as before, but without using the debug token.
    Thank you but I'm just gonna sign my bar files so i don't have to have a debug token
    10-30-13 05:13 PM
  12. pvphooman's Avatar
    Thanks again!. Book marked for later...

    STL3 1791 hybrid w/10.2.1 bars
    10-30-13 05:16 PM
  13. zavar's Avatar
    You can edit the ConvertAndroidApp.bat file that comes with xsacha's Android Pack to disable the debug token. There should be a line that looks like this:
    Code:
    java -Djava.awt.headless=true -Xmx512M -cp "%~dp0lib\BarPackager.jar;%~dp0lib\Apk2Bar.jar" net.rim.tools.apk2bar.Apk2Bar -os 10.2 -d "%~dp0debugtoken.bar" -ma "%~dp0lib\test.mf" %1 "%~dp0sdk"
    Just delete
    Code:
    -d "%~dp0debugtoken.bar"
    and resave the bat, then it'll work just as before, but without using the debug token.
    I tried this, when sideloading the bar that was generated (with no debugtoken.bar on my Z10), I get an Error: failure 881 required signatures missing (RDK, AUTHOR).
    10-30-13 06:18 PM

Similar Threads

  1. Where is Asphalt 7 ?
    By bloodyyogi in forum BlackBerry 10 Games
    Replies: 6
    Last Post: 11-01-13, 01:31 AM
  2. Just saw a Q10 in the wild, but not really!
    By Saiga in forum BlackBerry Q10
    Replies: 7
    Last Post: 10-30-13, 09:58 PM
  3. BBM messages to Android not delivered
    By rennardd in forum General BBM Chat
    Replies: 5
    Last Post: 10-30-13, 01:59 PM
  4. Replies: 8
    Last Post: 10-30-13, 01:45 PM
  5. Side loaded app not fully working even after editing AndroidManifest. Any way to debug?
    By manlymatt83 in forum More for your BlackBerry 10 Phone!
    Replies: 1
    Last Post: 10-30-13, 12:08 PM
LINK TO POST COPIED TO CLIPBOARD