11-24-13 04:09 AM
41 12
tools
  1. moneytoo's Avatar
    I just checked the latest Android runtime from latest leak 10.2.1.1055 and found quite interesting piece... In previous version Google Play Store (billing service identified by com.android.vending.billing.MarketBillingService.B IND was blacklisted). Now I found that in the system main framework there's a whitelist of Google Play Store. It whitelists the obvious package "com.android.vending", signed with Google release keys to escalate it with required privileges (ALLOWED_IN_APP_BILLING & ALLOWED_SYSTEM_PRIV). Decompile it yourself and you'll see. It's all there.

    Code:
    .class public final Lcom/qnx/internal/installer/PrivilegedApplications;
    .super Ljava/lang/Object;
    .source "PrivilegedApplications.java"
    
    
    # static fields
    .field public static final ALLOWED_IN_APP_BILLING:[Landroid/content/pm/PackageParser$Package;
    
    .field public static final ALLOWED_SYSTEM_PRIV:[Landroid/content/pm/PackageParser$Package;
    
    .field static final sGoogleVending:Landroid/content/pm/PackageParser$Package;
    
    
    # direct methods
    .method static constructor <clinit>()V
        .registers 6
    
        .prologue
        const/4 v5, 0x1
    
        const/4 v4, 0x0
    
        .line 28
        new-instance v0, Landroid/content/pm/PackageParser$Package;
    
        const-string v1, "com.android.vending"
    
        invoke-direct {v0, v1}, Landroid/content/pm/PackageParser$Package;-><init>(Ljava/lang/String;)V
    
        sput-object v0, Lcom/qnx/internal/installer/PrivilegedApplications;->sGoogleVending:Landroid/content/pm/PackageParser$Package;
    
        .line 30
        sget-object v0, Lcom/qnx/internal/installer/PrivilegedApplications;->sGoogleVending:Landroid/content/pm/PackageParser$Package;
    
        new-array v1, v5, [Landroid/content/pm/Signature;
    
        new-instance v2, Landroid/content/pm/Signature;
    
        const-string v3, "308204433082032ba003020102020900c2e08746644a308d300..." # trimmed
    
        invoke-direct {v2, v3}, Landroid/content/pm/Signature;-><init>(Ljava/lang/String;)V
    
        aput-object v2, v1, v4
    
        iput-object-quick v1, v0, field@0x4c
    
        .line 34
        new-array v0, v5, [Landroid/content/pm/PackageParser$Package;
    
        sget-object v1, Lcom/qnx/internal/installer/PrivilegedApplications;->sGoogleVending:Landroid/content/pm/PackageParser$Package;
    
        aput-object v1, v0, v4
    
        sput-object v0, Lcom/qnx/internal/installer/PrivilegedApplications;->ALLOWED_SYSTEM_PRIV:[Landroid/content/pm/PackageParser$Package;
    
        .line 38
        new-array v0, v5, [Landroid/content/pm/PackageParser$Package;
    
        sget-object v1, Lcom/qnx/internal/installer/PrivilegedApplications;->sGoogleVending:Landroid/content/pm/PackageParser$Package;
    
        aput-object v1, v0, v4
    
        sput-object v0, Lcom/qnx/internal/installer/PrivilegedApplications;->ALLOWED_IN_APP_BILLING:[Landroid/content/pm/PackageParser$Package;
    
        .line 41
        return-void
    .end method
    
    .method public constructor <init>()V
        .registers 1
    
        .prologue
        .line 11
        invoke-object-init/range {p0 .. p0}, Ljava/lang/Object;-><init>()V
    
        return-void
    .end method
    Round two, fight...
    11-12-13 06:07 PM
  2. mufc1's Avatar
    And this means what to a novice like me? BlackBerry just camd out and directly said GP isn't happening

    Posted via CB10
    sosof likes this.
    11-12-13 06:09 PM
  3. AfterHoursWelds's Avatar
    Third

    Posted via CB10
    11-12-13 06:09 PM
  4. Jtaylor1986's Avatar
    Even if it was happening they would have to deny it
    11-12-13 06:13 PM
  5. anon(4216152)'s Avatar
    Please explain to me again, what does white listing mean?

    Posted via CB10
    11-12-13 06:16 PM
  6. moneytoo's Avatar
    Please explain to me again, what does white listing mean?

    Posted via CB10
    User installed apps don't have the right privileges to do some things. This whitelisting gives Play Store the same rights as system apps - the rights it needs to install apps & update apps (without user interaction) and other things.
    anon(4216152) likes this.
    11-12-13 06:19 PM
  7. bennelong's Avatar
    That doesn't look like it got there by accident.
    Jeepers!

    Z10 via CB10
    11-12-13 06:24 PM
  8. mufc1's Avatar
    Hmmmm, interesting

    Posted via CB10
    11-12-13 06:25 PM
  9. cptpeachfuzz's Avatar
    maybe Blackberry denying google play officially is just them covering their tracks while they test and improve the google play store. Since we know you will be able to install apks on 10.2.1 maybe they whitelisted it in order to test and optimize it for bb10. *PURE SPECULATION*
    Benjamin Simoens likes this.
    11-12-13 06:45 PM
  10. mapaulo's Avatar
    Would this mean that we would get push notifications with our android apps?

    Posted via CB10
    11-12-13 06:59 PM
  11. teeuwen's Avatar
    Does this mean my phone will have malware soon? is norton antivirus porting over to blackberry?

    jokes, just wanted to be in on this thread early.
    11-12-13 07:09 PM
  12. bommber's Avatar
    Maybe just put APK from GP in whitelists and don't need sign again when install
    11-12-13 07:14 PM
  13. jpvj's Avatar
    Just tested on Q10 with com.android.vending-4.4.21.apk

    It installs but does not work when launched.

    Will try other versions and get back if something works.
    bungaboy likes this.
    11-12-13 07:15 PM
  14. BCITMike's Avatar
    Sounds like BB is saying they won't ship Google Play on the devices, but they won't stop people from installing it themselves.
    11-12-13 07:25 PM
  15. berrylucifer's Avatar
    we can get push notifications with android apps now in 10.2.1.155!!!
    11-12-13 07:37 PM
  16. heyjohnnybravo's Avatar
    we can get push notifications with android apps now in 10.2.1.155!!!
    If that's what this means..I'm very excited.
    11-12-13 08:24 PM
  17. Henry Jr's Avatar
    Does this mean my phone will have malware soon? is norton antivirus porting over to blackberry?

    jokes, just wanted to be in on this thread early.
    LMAO!

    Posted via CB10 from my Q10 (SQN100-3)
    11-12-13 08:28 PM
  18. berrylucifer's Avatar
    sorry i misunderstand,it is just get android apps update ,haha
    If that's what this means..I'm very excited.
    11-12-13 08:30 PM
  19. howarmat's Avatar
    Android apps had push notifications in previous builds. its nothing new as you would get them as long as the runtime was active
    11-12-13 08:34 PM
  20. cptpeachfuzz's Avatar
    Android apps had push notifications in previous builds. its nothing new as you would get them as long as the runtime was active
    What do you mean when you say if the "runtime was active"?
    11-12-13 08:44 PM
  21. Coffee Shampoo's Avatar
    Android apps had push notifications in previous builds. its nothing new as you would get them as long as the runtime was active
    That's not entirely true, many apps didn't send notifications when you got something new like Facebook Messenger.

    Posted via CB10
    11-12-13 09:04 PM
  22. SubCamp's Avatar
    Would this mean that we would get push notifications with our android apps?

    Posted via CB10
    I've been getting push notifications from appy geek since early 10.2

    Posted via CB10
    11-12-13 09:11 PM
  23. guygardner73's Avatar
    Third

    Posted via CB10
    Lol


    Z10STL100-2/10.2.0.1803 O2 UK
    11-12-13 10:04 PM
  24. dusun1's Avatar
    I just checked the latest Android runtime from latest leak 10.2.1.1055 and found quite interesting piece... In previous version Google Play Store (billing service identified by com.android.vending.billing.MarketBillingService.B IND was blacklisted). Now I found that in the system main framework there's a whitelist of Google Play Store. It whitelists the obvious package "com.android.vending", signed with Google release keys to escalate it with required privileges (ALLOWED_IN_APP_BILLING & ALLOWED_SYSTEM_PRIV). Decompile it yourself and you'll see. It's all there.

    Code:
    .class public final Lcom/qnx/internal/installer/PrivilegedApplications;
    .super Ljava/lang/Object;
    .source "PrivilegedApplications.java"
    
    
    # static fields
    .field public static final ALLOWED_IN_APP_BILLING:[Landroid/content/pm/PackageParser$Package;
    
    .field public static final ALLOWED_SYSTEM_PRIV:[Landroid/content/pm/PackageParser$Package;
    
    .field static final sGoogleVending:Landroid/content/pm/PackageParser$Package;
    
    
    # direct methods
    .method static constructor <clinit>()V
        .registers 6
    
        .prologue
        const/4 v5, 0x1
    
        const/4 v4, 0x0
    
        .line 28
        new-instance v0, Landroid/content/pm/PackageParser$Package;
    
        const-string v1, "com.android.vending"
    
        invoke-direct {v0, v1}, Landroid/content/pm/PackageParser$Package;-><init>(Ljava/lang/String;)V
    
        sput-object v0, Lcom/qnx/internal/installer/PrivilegedApplications;->sGoogleVending:Landroid/content/pm/PackageParser$Package;
    
        .line 30
        sget-object v0, Lcom/qnx/internal/installer/PrivilegedApplications;->sGoogleVending:Landroid/content/pm/PackageParser$Package;
    
        new-array v1, v5, [Landroid/content/pm/Signature;
    
        new-instance v2, Landroid/content/pm/Signature;
    
        const-string v3, "308204433082032ba003020102020900c2e08746644a308d300..." # trimmed
    
        invoke-direct {v2, v3}, Landroid/content/pm/Signature;-><init>(Ljava/lang/String;)V
    
        aput-object v2, v1, v4
    
        iput-object-quick v1, v0, field@0x4c
    
        .line 34
        new-array v0, v5, [Landroid/content/pm/PackageParser$Package;
    
        sget-object v1, Lcom/qnx/internal/installer/PrivilegedApplications;->sGoogleVending:Landroid/content/pm/PackageParser$Package;
    
        aput-object v1, v0, v4
    
        sput-object v0, Lcom/qnx/internal/installer/PrivilegedApplications;->ALLOWED_SYSTEM_PRIV:[Landroid/content/pm/PackageParser$Package;
    
        .line 38
        new-array v0, v5, [Landroid/content/pm/PackageParser$Package;
    
        sget-object v1, Lcom/qnx/internal/installer/PrivilegedApplications;->sGoogleVending:Landroid/content/pm/PackageParser$Package;
    
        aput-object v1, v0, v4
    
        sput-object v0, Lcom/qnx/internal/installer/PrivilegedApplications;->ALLOWED_IN_APP_BILLING:[Landroid/content/pm/PackageParser$Package;
    
        .line 41
        return-void
    .end method
    
    .method public constructor <init>()V
        .registers 1
    
        .prologue
        .line 11
        invoke-object-init/range {p0 .. p0}, Ljava/lang/Object;-><init>()V
    
        return-void
    .end method
    Round two, fight...
    Wow interesting..

    Posted via CB10
    11-13-13 12:30 AM
  25. mnc76's Avatar
    Interesting. I've never gotten a KIK notification unless it was running in an active frame. Are you saying that I would get KIK notifications as long at least one Android app was running (and hence ensure the Android runtime was active)?
    11-13-13 12:58 AM
41 12

Similar Threads

  1. Options for 10.2.1.XXXX for call phone grafic interface.
    By Ginowine in forum BlackBerry 10 OS
    Replies: 12
    Last Post: 02-10-14, 11:48 AM
  2. BBM Channels on 10.2.1.1055
    By Prince Radebe in forum BlackBerry 10 OS
    Replies: 4
    Last Post: 11-16-13, 06:33 PM
  3. TAT is going to show their skills in the coming months!
    By mphillips828 in forum General BlackBerry News, Discussion & Rumors
    Replies: 91
    Last Post: 11-14-13, 03:58 PM
  4. OK this is really weird...
    By jeebussss in forum BlackBerry 10 OS
    Replies: 5
    Last Post: 11-12-13, 10:38 PM
  5. If Google Play comes to BB10, would that...
    By jcordova2819 in forum General BlackBerry News, Discussion & Rumors
    Replies: 3
    Last Post: 11-12-13, 06:02 PM
LINK TO POST COPIED TO CLIPBOARD