1. anon(4086706)'s Avatar
    Assumptions : You have sucessfully made a BAR file from xSacha's tutorial
    http://forums.crackberry.com/android...erry10-817781/

    Okay... so I realized that we are basically running unsigned flavours of our favorite Android apps by doing this. We are all aware that these apps expires every 30 days and that we need to re-generate the debug token and re-install the apps (correct me if i'm wrong). In my boredom I decided to check the BAR files and read the Android app docu on the Blackberry SDK site. Of course, common knowledge is that we simply cannot sign anything that has Native code (to make it NOT expire).

    I was looking at the Viber BAR file I just made. It works perfectly, I can call and message. But one thing that bothers me is that it isn't a background app like Skype as I have to keep the active frame open. So, I decided to dig the BAR file of the Skype (that actually starts up and runs as a background) and to my surprise. There's a Manifest file that you can simply edit to give it more permissions. Note that this is generated after the BAR and is inside the BAR (you open 7Zip).

    Here's what the manifest file of Skype looks like

    Add additional permissions to generated BAR files from APK Conversions-dir_bar.jpg
    Add additional permissions to generated BAR files from APK Conversions-manifest_skype.jpg
    Add additional permissions to generated BAR files from APK Conversions-manifest1.jpg

    So I decided to edit my Viber's Manifest file by adding "_sys_android_autostart_service" on Entry-Point-System-Actions and saved it. Of course the Archive tool will ask if you if you want to overwrite it. I clicked yes. Then I sideloaded the app and rebooted. Poof, it now runs as Background and even starts up at... startup just like Skype. I used another phone to call me in Viber and even if the Window is closed, the app opens for the Call prompt.

    I'm no Android Dev but I'm not really sure what are the full "Permissions" you can give. Though I think these are the list of permissions that you CANNOT give.
    https://developer.blackberry.com/and...rmissions.html

    Any thoughts?
    06-14-13 01:20 PM
  2. 00stryder's Avatar
    Sounds cool, thanks for the find. Definitely more tinkering than most here would be willing to do but certainly helpful!

    Posted via CB10 on my Z10 & loving it!
    06-14-13 01:22 PM
  3. Bilaal's Avatar
    Good work! I might just do this myself..

    Posted via CB10
    06-14-13 05:24 PM
  4. 00stryder's Avatar
    I wonder if through this process you could grant Android apps the same permissions other apps have in things like the browser, like invoking a password vault app like LastPass to input your login credentials?

    Posted via CB10 on my Z10 & loving it!
    06-14-13 05:46 PM
  5. anon(4086706)'s Avatar
    I haven't tested some as I need to get u hands on other BAR's to test it


    Posted via CB10
    06-14-13 09:44 PM
  6. 00stryder's Avatar
    I haven't tested some as I need to get u hands on other BAR's to test it


    Posted via CB10
    Gotcha, well it's a compelling development in the new controls we seem to have over the Android runtime.

    Posted via CB10 on my Z10 & loving it!
    06-14-13 11:15 PM
  7. zocster's Avatar
    Thanks!

    Sent from my Z10 using Tapatalk 2
    06-14-13 11:33 PM
  8. dustmalik's Avatar
    I'm definitely going to try this out. Nice find OP.

    Posted via CB10 using my Gorgeous Z10
    06-15-13 12:11 AM
  9. yueytan's Avatar
    fanastic work! will give it a shot
    06-15-13 12:15 AM
  10. yueytan's Avatar
    mate this is FANTASTIC! it works perfect for viber. am going to try on google maps now...

    you could use this on any app that won't run in the background? words with friends here i come!

    EDIT: if this works for every android app this is a very big deal. this thread needs to be a sticky

    EDIT #2: ok false start. didn't quite work on words with friends or google maps. all good, still worked for viber!
    Last edited by yueytan; 06-15-13 at 12:36 AM.
    06-15-13 12:25 AM
  11. xsacha's Avatar
    How about I just add this to my script As well as a few other permissions.
    Wasn't sure people would like apps running in background all the time.
    06-15-13 01:19 AM
  12. annon91221's Avatar
    How about I just add this to my script As well as a few other permissions.
    Wasn't sure people would like apps running in background all the time.
    hey xsacha...
    I am trying to load viber, it keeps giving me -9 error...app loads asks me for permissions and crashes....what gives
    06-15-13 01:22 AM
  13. xsacha's Avatar
    Viber works fine here. Are you sure you used my tutorial to convert it?
    06-15-13 01:26 AM
  14. ealvnv's Avatar
    How about I just add this to my script As well as a few other permissions.
    Wasn't sure people would like apps running in background all the time.
    Any way to make it optional to choose which permissions to enable?
    06-15-13 01:30 AM
  15. annon91221's Avatar
    Viber works fine here. Are you sure you used my tutorial to convert it?
    you bet... you are a genius...
    all other seem to work for me...shazam, that I tried after the comment... before that maps, temple run etc...
    seems like its just viber... i've tried two different versions and two different phones.. no luck..
    I am using ddpb, and it gives me this error -9...
    06-15-13 01:30 AM
  16. HaTaX's Avatar
    I think the only other permission you're missing from those two is : _sys_use_consumer_push

    Could be more, but those seem to be the ones looked at by the current 2.3.3 AP.
    06-15-13 01:33 AM
  17. xsacha's Avatar
    I think the only other permission you're missing from those two is : _sys_use_consumer_push

    Could be more, but those seem to be the ones looked at by the current 2.3.3 AP.
    I already added that permission HaTaX
    06-15-13 01:34 AM
  18. anon(4086706)'s Avatar
    How about I just add this to my script As well as a few other permissions.
    Wasn't sure people would like apps running in background all the time.
    Yes please =)) but I wonder if there are other options other than the one posted

    Posted via CB10
    06-15-13 01:38 AM
  19. Dealz417's Avatar
    Assumptions : You have sucessfully made a BAR file from xSacha's tutorial
    http://forums.crackberry.com/android...erry10-817781/

    We are all aware that these apps expires every 30 days and that we need to re-generate the debug token and re-install the apps (correct me if i'm wrong).
    Just sideload the new debug token 30 days later. All the apps can remain installed. No need to reinstall.
    Posted via CB10
    06-15-13 01:41 AM
  20. xsacha's Avatar
    Yes please =)) but I wonder if there are other options other than the one posted
    Already added every permission that Android 2.3.3 allows.
    Try out latest script.
    annon91221 and fbloise like this.
    06-15-13 01:43 AM
  21. anon(4086706)'s Avatar
    Note : you can use Ghost Commander to close the background app should it go haywire

    Posted via CB10
    xsacha likes this.
    06-15-13 01:48 AM
  22. abUdi4's Avatar
    Already added every permission that Android 2.3.3 allows.
    Try out latest script.
    Just wondering when you added the permissions for apps to run in the background, will it be applied on all apps/games or only on specific apps such as viber,whats,skype,etc. Because I'd rather not have games running in the background.
    06-15-13 02:28 AM
  23. xsacha's Avatar
    Autostart is a permission. It's only used if the app uses it.
    abUdi4 and dustmalik like this.
    06-15-13 02:34 AM
  24. abUdi4's Avatar
    Autostart is a permission. It's only used if the app uses it.
    Ohh ok sounds great, thanks mate.
    06-15-13 02:39 AM
  25. dustmalik's Avatar
    Autostart is a permission. It's only used if the app uses it.
    Great work man.

    Posted via CB10 using my Gorgeous Z10
    06-15-13 06:56 AM
33 12

Similar Threads

  1. Is it possible to run .bar files from the Z10 (I'm a noob)
    By farteater in forum More for your BlackBerry 10 Phone!
    Replies: 2
    Last Post: 05-14-13, 04:22 AM
  2. How to extract .bar files from playbook?
    By TheWozny in forum BlackBerry PlayBook
    Replies: 29
    Last Post: 10-16-12, 07:57 PM
  3. Unable to download excel files from email
    By shutterbuggy in forum BlackBerry Bold Series
    Replies: 0
    Last Post: 01-29-09, 07:50 AM
  4. How to delete a file from the directory?
    By vic_lamb in forum BlackBerry Bold Series
    Replies: 2
    Last Post: 10-06-08, 03:18 AM
  5. how to dl music files from my computer to my BB
    By wondermind in forum BlackBerry 88xx Series
    Replies: 7
    Last Post: 07-24-08, 02:30 PM
LINK TO POST COPIED TO CLIPBOARD