10-13-16 01:08 PM
733 ... 89101112 ...
tools
  1. 8jcc's Avatar
    Was trying to patch the car2go apk but kept getting error messages similar to the text below ( truncated):


    android/com.car2go/res/values/public.xml:428: error: Public symbol drawable/widget_add declared here is not defined.
    ...
    APKTOOL9013216784521938156.tmp, -android/framework/1.apk, -S, /home/icode/apktool/Settings/res, -M, /home/icode/apktool/Settings/AndroidManifest.xml]
    at brut.androlib.res.AndrolibResources.aapt.....
    APKTOOL9013216784521938156.tmp, -I, /home/icode/apktool/framework/1.apk, -S, /home/icode/apktool/Settings/res, -M, /home/icode/apktool/Settings/AndroidManifest.xml]
    at brut.util.OS.exec(OS.java:89)
    at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:355)
    ... 6 more

    So I tried to simply re-decompile the apk without making any modifications and recompiling, but was still getting the same errors. Using apktool 1.5.2 on win7. Wondering if anyone had a similar issue and I'd they have a possible fix.

    Thanks.

    Posted via CB10
    11-27-13 05:54 PM
  2. Cobalt232's Avatar
    I had the same problem. Use the -r option with apktool to avoid that the resources are decompiled. You can then modify the smali code and recompile without errors.
    11-28-13 03:55 PM
  3. 8jcc's Avatar
    @Cobalt232

    Thanks, that fixed the recompiling error, but i'm getting a "failure-9" when trying to sideload the. bar. Actually skipped the step of removing the "uses-library.." line from the .xml because I wasn't able to edit the file, maybe this maybe causing the issue?

    Were you able to successfully convert the app and sideload it?

    Thanks

    Posted via CB10
    11-28-13 10:19 PM
  4. 8jcc's Avatar
    Guess it's better to note that the AndroidManifest.xml was still encoded and I couldn't figure out how to edit it.

    Can the apktool encode and decode only the AndroidManifest.xml file?

    Posted via CB10
    11-29-13 11:17 AM
  5. zaid-z10's Avatar
    Can anyone make viber 4.0 work please share one

    Posted via CB10
    11-29-13 04:31 PM
  6. dustmalik's Avatar
    Guess it's better to note that the AndroidManifest.xml was still encoded and I couldn't figure out how to edit it.

    Can the apktool encode and decode only the AndroidManifest.xml file?

    Posted via CB10
    Once you decompile the apk using apktool, AndroidManifest.xml gets decoded.

    Posted via CB10 using my Gorgeous Z10
    11-29-13 10:47 PM
  7. 8jcc's Avatar
    @dustmalik

    I'm aware of how to decompile the apk but for the car2go apk in particular I am unable to recompile unless the resources are left uncompressed. In this case, the manifest is left encrypted so I was wondering if there is another way to decrypt/ encrypt without decompressing the entire apk.



    Posted via CB10
    11-30-13 08:16 AM
  8. websterny's Avatar
    I found the latest version of Tinder v2.0.1 works find sideloaded unmodified .... I got the BAR from PlayBook .apk to .bar converter
    11-30-13 12:34 PM
  9. websterny's Avatar
    I actually created a sizable collection of BAR files that I have tested with Blackberry OS10.2 on my Q10. I was unable to upload this archive to one of the major torrent sites (if someone else know how to do it feel free), which means that the torrent will only stay alive if others seed it. If you download this torrent I hope you'll keep it seeded for as long as you can so others can get the most from their Blackberries. Here is the link (if you paste into your browser it should launch uTorrent and start the download): http://tinyurl.com/magnet:?xt=urn:bt...org%2fannounce

    This is a list of the fils I found to work:
    -----------------
    _BB10 LIST OF Sideload Apps_WORKING
    -----------------
    --------------------------------------------
    _Key apps - Navigation
    --------------------------------------------
    BingMaps [perfect].bar
    Google_Maps_6.14.1_BB10_Maps-Core [special BB mod, stable, recommended].bar
    Mapquest_v1.8.1 [great].bar
    maverick.lite_v2.2_codesector [offline GPS maps with tracking].bar
    Nokia HERE (excellent nav, browser link)
    x_Google_Maps_1.936 bld 19_BB10_Maps [good but unstable, settings crashes].bar
    x_net.osm+ Free_v1.4.1.20beta [Unstable; Open Streets Maps_Offline].bar

    --------------------------------------------
    _Key apps - Other
    --------------------------------------------
    bloomberg-android [perfect; NOTE Native version now available].bar
    craigslist_Ver_3.24 [perfect].bar
    ebay.mobile_v1.0.29.0 [perfect].bar
    Evernote_5.1 [perfect].bar
    flyersoft.moonreader_v1.9.9 [perfect].bar
    Grace - learn what you love 0Excellent Online coursese]
    Hopstop_v1.01 [perfect].bar
    IMDB [perfect].bar
    instagram [perfect but top row of buttons obscured on Q10].bar
    meetup_v1.0.95.0 [great].bar
    netflix-mediaclient 1.8 build 561 [perfect].bar
    ogqcorp.tpa_Ted Talks_TedAir_v1.0.121206 [video, perfect, great controls].bar
    PayPal_2.2 [perfect].bar
    PicasaTool_5.2.0.2 [PERFECT].bar
    Plume for Twitter [perfect]_v5.21.bar
    RecipeSearch_v3.23 [perfect].bar
    snapchat.android_v2.1.0.26.bar
    tripadvisor.tripadvisor_v3.0.1 [may crash in initial install].bar
    trixiesoft.clapp Craigslist_v1.0.31.0.bar
    Tumblr_3.3.2 [perfect].bar
    urbanspoon [perfect].bar
    us.news_v1.0.3.0.bar
    v2_je.yelp.free_1_102 [yelp mobile v1.02 web app all functions work].bar
    Words with Friends [good].bar
    Yelp [v. 4.4.1 Sept 9, 2013, great but no bookmarks or monocle; monocle works w debug token].bar
    youmail.android.vvm_v3.7.30.05.1482.bar

    --------------------------------------------
    _Key apps - PodCast & Audiobook
    --------------------------------------------
    astroplayerbeta_v1.135.145 [PERFECT].bar
    BeyondPod Podcast Manager_v3.1.39 [great but won't accept pro license key].bar
    MortPlayer_Audio_Book_0.8.6 [perfect].bar
    Podcast-Addict_1.10.3.bar
    Podtrapper_v1.0.7.0 [perfect].bar
    x_ak.alizandro.smartaudiobookplayer_v1.4.18.62 [v good but no SD support].bar
    x_BeyondPod Podcast Manager_v3.1.36 [great, license key prob for pro].bar
    x_BeyondPod_3.0.371.bar

    --------------------------------------------
    Debug Token - Working
    --------------------------------------------
    BrotheriPrintScan_v1.11.02 [works with debug token method].apk
    BrotheriPrintScan_v1.11.02.bar
    Clone Camera v1.5.4 apkmania.com [paid].apk
    Clone Camera v1.5.4 apkmania.com [paid].bar
    Color Booth Pro v1.2.9 apkmania.com.apk
    Color Booth Pro v1.2.9 apkmania.com.bar
    com.spotify.mobile.android.ui.apk
    com.spotify.mobile.android.ui.bar
    HD Panorama+ v2.00 apkmania.com.apk
    HD Panorama+ v2.00 apkmania.com.bar
    Pandora internet radio.bar
    v2_com.yelp.android_1_809203.apk
    Yelp 4.4.1 Sep 9, 2013.bar

    --------------------------------------------
    Other apps
    --------------------------------------------
    3D camera.pro_v1.0.386.0.bar
    American Airlines_v2.4.2040000 [perfect].bar
    amtrak.rider_v1.0.794.0.bar
    angeloid.Ted Talks_v1.12 [video, v good but Ted Air is better].bar
    aol.mobile.techcrunch_v2.1.0.22.bar
    APMobile__v1.0.3713.0.bar
    AVR_Remote_v1.0.104.0 [Marantz Denon_great].bar
    BGR_v1.0.1.2 [Boy Genius Report].bar
    bojandevic.ubergenius_v1.3 [brain games].bar
    booking.com hotel search_v3.9.7.43.bar
    chess for Android_v4.2.bar
    CNN Money [perfect, text & video].bar
    ConvertPad - Unit Converter_2.6.bar
    Dropbox_v2.3.1.230100 [newer versions don't work].bar
    duolingo-18-v1.01 [language learning].bar
    Economist_v1.3.3.bar
    episode6.android.nycsubwaymap_v1.0.30.0.bar
    exavore.Rfi remote for Roku_rokumote_v2.10 [simple, works perfect].bar
    firecrackersw.wordbreaker_v4.3.1.bar
    flipboard.app_v2.0.5 [beautiful].bar
    French Dictionary - Offline_v1.9.3.bar
    GateGuru_v1.0.8.bar
    Google Sky Map [perfect].bar
    Google Translate_v2.7 [excellent, written and spoken translation].bar
    hamoosh.cityguide.casablanca_v1.0.bar
    huffingtonpost.android_v12.9.0.bar
    iremote.android.itunes_v3.1 [server for PC only].bar
    j2.efax_v2.2.0.bar
    kep.iRemote.free_v1.1.0 [would not connect to iTunes].bar
    Kingsoft-Office_5.1 [good but only docs in misc/android folder].bar
    knickerbockerapps.schednyc_v1.0.46.0 [MTA train status, very good].bar
    Learn French Phrasebook_v2.1.bar
    Listen Audiobook Player [works but unstable].bar
    lulo.scrabble.classicwords_v1.5.5 [perfect].bar
    mobilereference.TravelMoroccoAppFree_v21.9.16.bar
    mtasubway.bus_v1.0.1.0.bar
    News Republic_v3.1.6.bar
    NYCMate_4.21.bar
    OpenSignal_3G 4G WiFi maps [v good, adv funcs not available].bar
    org.dayup.stocks_v2.2.2 [good but sync w Google Fin not working].bar
    pinterest_v1.6.2 [perfect].bar
    Pocket.Readitlater.pro_v4.6.3 [great].bar
    Pulse News_v3.1.8 [News Aggregator, crash on 1st launch then OK].bar
    Relmtech.Remote_ Unified Remote_v2.9.1 [Server for PC only].bar
    Seeking Alpha Dividend_v1.1.0.bar
    Seeking Alpha Portfolio_v3.5.5 [excellent].bar
    Seeking Alpha Tech_v1.1.0.bar
    shazam-android [excellent].bar
    SignNow_1.52 [add signature to PDFs, great].bar
    sixones.remote_ Remote+ for Plex, XBMC, Boxee_v0.6 [could not connect].bar
    springpad [perfect].bar
    stumbleupon_v3.0.2.115.bar
    talkray-client-text call [good].bar
    td_ameritrade_mobile.bar
    tinder_v2.0.1 [seems perfect].bar
    tm.app.worldClock_v1.0.148.0 [great].bar
    TradeKing_v1.0.3.0 [web app].bar
    treemolabs.apps.Rick Steves Audio Europe_v1.0.7.0.bar
    TripAdvisor_seatguru_v1.1.bar
    tripadvisor.android.apps.cityguide.amsterdam_v4.0. 1.bar
    tripadvisor.android.apps.cityguide.london_v4.0.1.b ar
    tripadvisor.android.apps.cityguide.newyorkcity_v1. 0.30.0 [great].bar
    v2_com.tradeking.mobile_1_9 [v.2.1.0 perfect].bar
    visualit.zuti.nycLite_v2.1.7 [NY Subway router].bar
    waring.NYC Transit Status.MTAStatus_v1.0.2.0.bar
    waring.RightTrack.LIRR_v1.0.12.0.bar
    Wiki_Encyclopedia_wikipedia+news_v3.1.7.bar
    Yahoo Finance_v1.1.9.1187014080 [unstable].bar

    --------------------------------------------
    Paris Metro & Guides
    --------------------------------------------
    Metro 01 Paris_v2.3.2 [Metro, RER, tram, transilien].bar
    ParisBusMetroTrain_v1.0 [map only].bar
    Tripadvisor Cityguide Paris_v4.0.1 [excellent].bar
    Visit Paris by Metro - RATP v1.0.1 [v useful but navigation reqs Google Play Servs].bar
    Zuti ParisLite_v2.1.4 [Paris Metro router].bar

    --------------------------------------------
    x_Older versions working
    --------------------------------------------
    x_[old version] com.tripadvisor.tripadvisor_v2.6 [perfect].bar
    x_[older vers]_Google Maps with Navigation v1.64.bar
    x_[older vers]_Google Maps with Navigation v1.936 bld 16.bar
    x_com.chriskonieczny.RoMote_rokuremote.ui_v1.0.1.0 [could not connect].bar
    x_com.jetshred.plexremote_v1.0.1 [works but bottom buttons cut off on Q10; didn't test server].bar
    x_com.tallsnail.newyorker_v1.0.3.0 [installs but doens't download material].bar
    x_Google Maps Plus_gps.voice_.navigation.gmapsplus_1 [works but no voice recg, no key bd input].bar
    x_Pinterest_1.5.4 [percfect].bar
    x_Roku_v2.1.2065609 [works but would not connect].bar
    x_super mario [poor gameplay].bar
    x_yelp_v4.2.0.808703 [good but bookmarks req google play services].bar
    hemacedric and ami.one like this.
    11-30-13 12:50 PM
  10. christian-georgescu's Avatar
    I believe this process can be automated. I'm hoping someone with the required knowledge look into it and see what they can come up with. TBH, the process of modifying one app takes a lot of time.

    As I understand it, those who are on OS 10.2.1.1055 don't have to worry about modifying apps with Maps api v1 because it's already been implemented in the OS. Only apps with Maps api v2 still needs modification, right? Could someone clarify this for me?

    Posted via CB10 using my Gorgeous Z10
    Greetings,

    Due to the time consuming changes, I have put up some automated process for Api v1 only and Windows 7. It uses a all the tools mentioned in this thread (apktool, signapk,openssl) and some other. See the batch file for details and usage and feel free to adjust it for your needs.

    I have tested in my environment with some apk's using Api v1 that I needed and it worked. If it would not work on you... well.. you've got the sources, have fun .

    You can find the script and dependencies here. Give it a try. Hope it will help.

    Regards,
    12-02-13 11:48 AM
  11. Sally Mack's Avatar
    Greetings,

    Due to the time consuming changes, I have put up some automated process for Api v1 only and Windows 7. It uses a all the tools mentioned in this thread (apktool, signapk,openssl) and some other. See the batch file for details and usage and feel free to adjust it for your needs.

    I have tested in my environment with some apk's using Api v1 that I needed and it worked. If it would not work on you... well.. you've got the sources, have fun .

    You can find the script and dependencies here. Give it a try. Hope it will help.

    Regards,
    Awesome! Hopefully this makes it easier for those less technically inclined to patch their own apks
    12-02-13 01:00 PM
  12. dustmalik's Avatar
    Greetings,

    Due to the time consuming changes, I have put up some automated process for Api v1 only and Windows 7. It uses a all the tools mentioned in this thread (apktool, signapk,openssl) and some other. See the batch file for details and usage and feel free to adjust it for your needs.

    I have tested in my environment with some apk's using Api v1 that I needed and it worked. If it would not work on you... well.. you've got the sources, have fun .

    You can find the script and dependencies here. Give it a try. Hope it will help.

    Regards,
    Thanks man. This is really great. I hope i'm not asking for too much, could you do same for v2? Once again thanks.

    Posted via CB10 using my Gorgeous Z10
    12-03-13 12:38 PM
  13. BennyX's Avatar
    I actually created a sizable collection of BAR files that I have tested with Blackberry OS10.2 on my Q10. I was unable to upload this archive to one of the major torrent sites (if someone else know how to do it feel free), which means that the torrent will only stay alive if others seed it. If you download this torrent I hope you'll keep it seeded for as long as you can so others can get the most from their Blackberries. Here is the link (if you paste into your browser it should launch uTorrent and start the download): http://tinyurl.com/magnet:?xt=urn:bt...org%2fannounce

    This is a list of the fils I found to work:
    -----------------
    _BB10 LIST OF Sideload Apps_WORKING
    -----------------
    --------------------------------------------
    _Key apps - Navigation
    --------------------------------------------
    BingMaps [perfect].bar
    Google_Maps_6.14.1_BB10_Maps-Core [special BB mod, stable, recommended].bar
    Mapquest_v1.8.1 [great].bar
    maverick.lite_v2.2_codesector [offline GPS maps with tracking].bar
    Nokia HERE (excellent nav, browser link)
    x_Google_Maps_1.936 bld 19_BB10_Maps [good but unstable, settings crashes].bar
    x_net.osm+ Free_v1.4.1.20beta [Unstable; Open Streets Maps_Offline].bar

    --------------------------------------------
    _Key apps - Other
    --------------------------------------------
    bloomberg-android [perfect; NOTE Native version now available].bar
    craigslist_Ver_3.24 [perfect].bar
    ebay.mobile_v1.0.29.0 [perfect].bar
    Evernote_5.1 [perfect].bar
    flyersoft.moonreader_v1.9.9 [perfect].bar
    Grace - learn what you love 0Excellent Online coursese]
    Hopstop_v1.01 [perfect].bar
    IMDB [perfect].bar
    instagram [perfect but top row of buttons obscured on Q10].bar
    meetup_v1.0.95.0 [great].bar
    netflix-mediaclient 1.8 build 561 [perfect].bar
    ogqcorp.tpa_Ted Talks_TedAir_v1.0.121206 [video, perfect, great controls].bar
    PayPal_2.2 [perfect].bar
    PicasaTool_5.2.0.2 [PERFECT].bar
    Plume for Twitter [perfect]_v5.21.bar
    RecipeSearch_v3.23 [perfect].bar
    snapchat.android_v2.1.0.26.bar
    tripadvisor.tripadvisor_v3.0.1 [may crash in initial install].bar
    trixiesoft.clapp Craigslist_v1.0.31.0.bar
    Tumblr_3.3.2 [perfect].bar
    urbanspoon [perfect].bar
    us.news_v1.0.3.0.bar
    v2_je.yelp.free_1_102 [yelp mobile v1.02 web app all functions work].bar
    Words with Friends [good].bar
    Yelp [v. 4.4.1 Sept 9, 2013, great but no bookmarks or monocle; monocle works w debug token].bar
    youmail.android.vvm_v3.7.30.05.1482.bar

    --------------------------------------------
    _Key apps - PodCast & Audiobook
    --------------------------------------------
    astroplayerbeta_v1.135.145 [PERFECT].bar
    BeyondPod Podcast Manager_v3.1.39 [great but won't accept pro license key].bar
    MortPlayer_Audio_Book_0.8.6 [perfect].bar
    Podcast-Addict_1.10.3.bar
    Podtrapper_v1.0.7.0 [perfect].bar
    x_ak.alizandro.smartaudiobookplayer_v1.4.18.62 [v good but no SD support].bar
    x_BeyondPod Podcast Manager_v3.1.36 [great, license key prob for pro].bar
    x_BeyondPod_3.0.371.bar

    --------------------------------------------
    Debug Token - Working
    --------------------------------------------
    BrotheriPrintScan_v1.11.02 [works with debug token method].apk
    BrotheriPrintScan_v1.11.02.bar
    Clone Camera v1.5.4 apkmania.com [paid].apk
    Clone Camera v1.5.4 apkmania.com [paid].bar
    Color Booth Pro v1.2.9 apkmania.com.apk
    Color Booth Pro v1.2.9 apkmania.com.bar
    com.spotify.mobile.android.ui.apk
    com.spotify.mobile.android.ui.bar
    HD Panorama+ v2.00 apkmania.com.apk
    HD Panorama+ v2.00 apkmania.com.bar
    Pandora internet radio.bar
    v2_com.yelp.android_1_809203.apk
    Yelp 4.4.1 Sep 9, 2013.bar

    --------------------------------------------
    Other apps
    --------------------------------------------
    3D camera.pro_v1.0.386.0.bar
    American Airlines_v2.4.2040000 [perfect].bar
    amtrak.rider_v1.0.794.0.bar
    angeloid.Ted Talks_v1.12 [video, v good but Ted Air is better].bar
    aol.mobile.techcrunch_v2.1.0.22.bar
    APMobile__v1.0.3713.0.bar
    AVR_Remote_v1.0.104.0 [Marantz Denon_great].bar
    BGR_v1.0.1.2 [Boy Genius Report].bar
    bojandevic.ubergenius_v1.3 [brain games].bar
    booking.com hotel search_v3.9.7.43.bar
    chess for Android_v4.2.bar
    CNN Money [perfect, text & video].bar
    ConvertPad - Unit Converter_2.6.bar
    Dropbox_v2.3.1.230100 [newer versions don't work].bar
    duolingo-18-v1.01 [language learning].bar
    Economist_v1.3.3.bar
    episode6.android.nycsubwaymap_v1.0.30.0.bar
    exavore.Rfi remote for Roku_rokumote_v2.10 [simple, works perfect].bar
    firecrackersw.wordbreaker_v4.3.1.bar
    flipboard.app_v2.0.5 [beautiful].bar
    French Dictionary - Offline_v1.9.3.bar
    GateGuru_v1.0.8.bar
    Google Sky Map [perfect].bar
    Google Translate_v2.7 [excellent, written and spoken translation].bar
    hamoosh.cityguide.casablanca_v1.0.bar
    huffingtonpost.android_v12.9.0.bar
    iremote.android.itunes_v3.1 [server for PC only].bar
    j2.efax_v2.2.0.bar
    kep.iRemote.free_v1.1.0 [would not connect to iTunes].bar
    Kingsoft-Office_5.1 [good but only docs in misc/android folder].bar
    knickerbockerapps.schednyc_v1.0.46.0 [MTA train status, very good].bar
    Learn French Phrasebook_v2.1.bar
    Listen Audiobook Player [works but unstable].bar
    lulo.scrabble.classicwords_v1.5.5 [perfect].bar
    mobilereference.TravelMoroccoAppFree_v21.9.16.bar
    mtasubway.bus_v1.0.1.0.bar
    News Republic_v3.1.6.bar
    NYCMate_4.21.bar
    OpenSignal_3G 4G WiFi maps [v good, adv funcs not available].bar
    org.dayup.stocks_v2.2.2 [good but sync w Google Fin not working].bar
    pinterest_v1.6.2 [perfect].bar
    Pocket.Readitlater.pro_v4.6.3 [great].bar
    Pulse News_v3.1.8 [News Aggregator, crash on 1st launch then OK].bar
    Relmtech.Remote_ Unified Remote_v2.9.1 [Server for PC only].bar
    Seeking Alpha Dividend_v1.1.0.bar
    Seeking Alpha Portfolio_v3.5.5 [excellent].bar
    Seeking Alpha Tech_v1.1.0.bar
    shazam-android [excellent].bar
    SignNow_1.52 [add signature to PDFs, great].bar
    sixones.remote_ Remote+ for Plex, XBMC, Boxee_v0.6 [could not connect].bar
    springpad [perfect].bar
    stumbleupon_v3.0.2.115.bar
    talkray-client-text call [good].bar
    td_ameritrade_mobile.bar
    tinder_v2.0.1 [seems perfect].bar
    tm.app.worldClock_v1.0.148.0 [great].bar
    TradeKing_v1.0.3.0 [web app].bar
    treemolabs.apps.Rick Steves Audio Europe_v1.0.7.0.bar
    TripAdvisor_seatguru_v1.1.bar
    tripadvisor.android.apps.cityguide.amsterdam_v4.0. 1.bar
    tripadvisor.android.apps.cityguide.london_v4.0.1.b ar
    tripadvisor.android.apps.cityguide.newyorkcity_v1. 0.30.0 [great].bar
    v2_com.tradeking.mobile_1_9 [v.2.1.0 perfect].bar
    visualit.zuti.nycLite_v2.1.7 [NY Subway router].bar
    waring.NYC Transit Status.MTAStatus_v1.0.2.0.bar
    waring.RightTrack.LIRR_v1.0.12.0.bar
    Wiki_Encyclopedia_wikipedia+news_v3.1.7.bar
    Yahoo Finance_v1.1.9.1187014080 [unstable].bar

    --------------------------------------------
    Paris Metro & Guides
    --------------------------------------------
    Metro 01 Paris_v2.3.2 [Metro, RER, tram, transilien].bar
    ParisBusMetroTrain_v1.0 [map only].bar
    Tripadvisor Cityguide Paris_v4.0.1 [excellent].bar
    Visit Paris by Metro - RATP v1.0.1 [v useful but navigation reqs Google Play Servs].bar
    Zuti ParisLite_v2.1.4 [Paris Metro router].bar

    --------------------------------------------
    x_Older versions working
    --------------------------------------------
    x_[old version] com.tripadvisor.tripadvisor_v2.6 [perfect].bar
    x_[older vers]_Google Maps with Navigation v1.64.bar
    x_[older vers]_Google Maps with Navigation v1.936 bld 16.bar
    x_com.chriskonieczny.RoMote_rokuremote.ui_v1.0.1.0 [could not connect].bar
    x_com.jetshred.plexremote_v1.0.1 [works but bottom buttons cut off on Q10; didn't test server].bar
    x_com.tallsnail.newyorker_v1.0.3.0 [installs but doens't download material].bar
    x_Google Maps Plus_gps.voice_.navigation.gmapsplus_1 [works but no voice recg, no key bd input].bar
    x_Pinterest_1.5.4 [percfect].bar
    x_Roku_v2.1.2065609 [works but would not connect].bar
    x_super mario [poor gameplay].bar
    x_yelp_v4.2.0.808703 [good but bookmarks req google play services].bar
    nice.. thanks man. I doubt I will make use of most of this but still, between us all it'll come in handy for sure!
    12-03-13 09:58 PM
  14. christian-georgescu's Avatar
    Thanks man. This is really great. I hope i'm not asking for too much, could you do same for v2? Once again thanks.

    Posted via CB10 using my Gorgeous Z10

    Greetings,

    Happy news, I have updated the tool to support both v1 and v2 automatically. For v2 you will need your API key value from google (see first post).

    Simple usage (v1 or v2):

    Code:
    patch.bat com.your.app.apk
    For more, see the readme.txt file from package.

    Features:
    • detects automatically which API version the apk uses, so you don't need to check it for yourself;
    • for APIv2 only, prompts the user for the value if not configured;
    • renames final patched apk to a more human value (com.shazam.android.apk ==> Shazam-4.2.0-JB80349.apk);
    • included Google Play Services apk in the output folder for easy install (for API v2);
    • other minor goodies.


    If anyone is interested, you can find the script and dependencies here. Feel free to use it, changed or improve it. Give it a try

    Regards

    Last edited by christian-georgescu; 12-12-13 at 03:09 AM. Reason: v1c - RSA/DSA, fixed APIv2 script
    dustmalik and afewyz like this.
    12-05-13 05:54 AM
  15. dustmalik's Avatar

    Greetings,

    Happy news, I have updated the tool to support both v1 and v2 automatically. For v2 you will need your API key value from google (see first post).

    Simple usage (v1 or v2):

    Code:
    patch.bat com.your.app.apk
    For more, see the readme.txt file from package.

    Features:
    • detects automatically which API version the apk uses, so you don't need to check it for yourself;
    • for APIv2 only, prompts the user for the value if not configured;
    • renames final patched apk to a more human value (com.shazam.android.apk ==> Shazam-4.2.0-JB80349.apk);
    • included Google Play Services apk in the output folder for easy install (for API v2);
    • other minor goodies.


    If anyone is interested, you can find the script and dependencies here. Feel free to use it, changed or improve it. Give it a try

    Regards

    This is really Awesome. Thanks for all the hard work you put into this. Much appreciated.

    Posted via CB10 using my Gorgeous Z10
    12-05-13 06:57 PM
  16. Nicholas Chow's Avatar
    Ok, so I am still confused, can this solve the problem with the youtube apk files that prevent us from signing in?
    12-06-13 09:25 PM
  17. bluetroll's Avatar
    i tried to use this on garmin connect app

    Error: Unable to rebuild garminconnect132.apk. Exiting.
    12-07-13 05:48 PM
  18. TheWiredGoon's Avatar
    Can anyone please patch the game Dr Driving ?

    Link to the apk : https://drive.google.com/file/d/0B0D...it?usp=sharing

    I tried patching with the tool,but no success.

    Thanks in advance.
    12-08-13 07:06 AM
  19. Alastair Livingston's Avatar
    Hi I am trying to make the automated tool kindly posted by Christain, to convert the apk for citymapper (below), but I am a little confused on the instructions. Would anyone be able to help me do this for me?

    com.citymapper.app.release.apk - Speedy Share - upload your files here
    12-11-13 06:39 AM
  20. christian-georgescu's Avatar
    Hi I am trying to make the automated tool kindly posted by Christain, to convert the apk for citymapper (below), but I am a little confused on the instructions. Would anyone be able to help me do this for me?

    com.citymapper.app.release.apk - Speedy Share - upload your files here
    Hi, there is a new version here. Your APK uses DSA instead of RSA and also there was a small bug in the script. Give a try. Regards.
    dustmalik likes this.
    12-12-13 03:11 AM
  21. dustmalik's Avatar
    Hi, there is a new version here. Your APK uses DSA instead of RSA and also there was a small bug in the script. Give a try. Regards.
    Thanks for the great tool you have developed in other to simplify this whole process. I really appreciate it.

    I observe that there are some apps that checks for the 'isGooglePlayServicesAvailable', but don't contain the Google maps Android Api. So when trying to patch those kind of apps with your tool, once your tool checks and it doesn't find the Google maps Android Api, it automatically stops the patching process. In other words it doesn't get to the part where it tries to patch the 'isGooglePlayServicesAvailable'. I believe your already existing tool can be edited to patch only the 'isGoogleServicesAvailable', but I'm not technical enough to edit it.
    Please could you edit and post one that only patches the 'isGooglePlayServicesAvailable'? Thanks in anticipation.

    Posted via CB10 using my Gorgeous Z10
    Last edited by dustmalik; 12-12-13 at 09:08 AM.
    12-12-13 05:13 AM
  22. Cobalt232's Avatar
    Your APK uses DSA instead of RSA and also there was a small bug in the script. Give a try. Regards.
    Christian, I looked into your batch file an compiled the citymapper app to see what happens.

    As it uses Maps V2 it should be sufficient to patch AndroidManifest (add V2 Key) and com/google/android/gms/common/googleplayservices.smali (remove method isGooglePlayServicesAvailable)

    Why does this app need the DSA hash? Did I miss something?
    12-12-13 07:30 AM
  23. christian-georgescu's Avatar
    Thanks for the great tool you have developed in other to simplify this whole process. I really appreciate it.

    I observe that there are some apps that checks for the 'isGooglePlayServicesAvailable', but don't contain the Google maps Android Api. So when trying to patch those kind of apps with your tool, once your tool checks and it doesn't find the Google maps Android Api, it automatically stops the patching process. In other words it doesn't get to the part where it tries to patch the 'isGooglePlayServicesAvailable'. I believe your already existing tool can be edited to patch only the 'isGoogleServicesAvailable', but I'm not technical enough to edit it.
    Please could you edit and post one that only patches the 'isGooglePlayServicesAvailable'? Thanks in anticipation.

    Posted via CB10 using my Gorgeous Z10
    Greetings,

    I think version 2.0 answers your question and more. Enjoy

    Kind regards

    How to fix any Android app dependent on Google Maps API and make maps working-gmaps-apk-patcher-v2.0.png
    Blaby likes this.
    12-14-13 01:53 PM
  24. christian-georgescu's Avatar
    Christian, I looked into your batch file an compiled the citymapper app to see what happens.

    As it uses Maps V2 it should be sufficient to patch AndroidManifest (add V2 Key) and com/google/android/gms/common/googleplayservices.smali (remove method isGooglePlayServicesAvailable)

    Why does this app need the DSA hash? Did I miss something?
    There was a bug indeed. The 2.0 version simplifies and fixes that. Thanks for the remark
    12-14-13 01:54 PM
  25. Cobalt232's Avatar
    There was a bug indeed. The 2.0 version simplifies and fixes that. Thanks for the remark
    Christian, well done! Thanks for fixing :-)

    I have patched quite a lot of apps manually and I have learned, that the method "isGooglePlayServicesAvailable" can easily be found by searching for com.android.vending and using the header as additional identification. This works quite well, even if the methods are obfuscated.

    Example of an obfuscated method:

    .method public static a(Landroid/content/ContextI
    .registers 8
    const/16 v0, 0x9
    const/4 v2, 0x1
    const/4 v1, 0x0

    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
    move-result-object v3
    :try_start_8
    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
    move-result-object v4
    const v5, 0x7f0a005b
    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
    :try_end_12
    .catch Ljava/lang/Throwable; {:try_start_8 .. :try_end_12} :catch_6b
    :goto_12
    :try_start_12
    const-string v4, "com.android.vending"
    const/16 v5, 0x40
    ------ truncated -----

    The method always defines the registers and the three constant values and then defines a string as "com.android.vending"

    const/16 v0, 0x9
    const/4 v2, 0x1
    const/4 v1, 0x0
    ...
    const-string v4, "com.android.vending"

    Maybe you can use this identification to a) find the correct file and b) patch the correct method.

    What is your opinion on this?

    regards
    Last edited by Cobalt232; 12-25-13 at 01:32 PM.
    Sally Mack and Blaby like this.
    12-14-13 05:14 PM
733 ... 89101112 ...

Similar Threads

  1. Best Leak to Run on T-Mobile Network?
    By AfroZepher in forum BlackBerry 10 OS
    Replies: 16
    Last Post: 01-21-15, 08:29 AM
  2. Manually program BB10 device to set MDN and MSID?
    By onlinespending in forum BlackBerry 10 OS
    Replies: 3
    Last Post: 10-20-13, 01:26 PM
  3. My Z10 updated now I can't hook up to wifi
    By Tony Stashuk in forum BlackBerry Z10
    Replies: 5
    Last Post: 10-20-13, 12:44 AM
  4. Used sachesi and SR version still says 4181??
    By sinnar in forum BlackBerry 10 OS
    Replies: 4
    Last Post: 10-19-13, 09:18 PM
LINK TO POST COPIED TO CLIPBOARD