1. Ginowine's Avatar
    Some of you already know that youtube is one of the apps that can't be patched by GMaps patcher. This is because that app has two signature checks in the code and the patcher can only remove one of the two checks.

    Here is the procedure how to manually patch Youtube:

    What you need:
    1. A PC
    2. GMaps Patcher
    3. Grep Win (get it at grepwin - Browse Files at SourceForge.net)
    4. The latest YouTube APK file

    Install GrepWin after download. You will need it later to find the second signature check.

    Patching the first signature check:

    1. Run GMaps patcher
    2. In options tab unselect "decompile resources"
    3. In options tab select "keep processing folder"
    4. Choose the YouTube apk file and press analyze
    5. GMAPS Patcher will suggest two patches: "Google Play Services Patch # 1" and "Android Protection Level"
    6. Unselect "Android Protection Level" patch, DO NOT PRESS CONTINUE!!

    Patching the second signature check:

    1. Run Grep Win. The GUI will display two input fields: "Search in" and "Search for"
    2. Fill the input field "Search in" with the path of the decompiled youtube app. This normally is GMaps Patcher\tmp\com.google.android.youtube\smali. Use the 3 dots on the right to find that folder.
    3. Fill the input field "Search for" with the string "GooglePlayServicesUtil" (without "") and press "Search"
    4. Two files will show up. They will be called something like agm.smali and dvp.smali
    5. Open (double click) the second file in the list and you will see the smali code of that class. Scroll in that file until you see the code below:

    Code:
    .method public static a(Landroid/content/Context;)I
        .locals 9
    
        .prologue
        const/4 v4, 0x2
    
        const/4 v2, 0x1
    
        const/4 v1, 0x0
    
        const/16 v3, 0x9
    change the 0x9 to 0x0. that is zero x zero. Then save the file. .

    Now go back to GMaps patcher and press CONTINUE. The patcher will rebuild the app and the patched version will be put into the GMaps Patcher\output folder.

    That's it. You should now have a working version of YouTube.
    Posted via CB10
    07-28-15 02:36 PM
  2. Ecm's Avatar
    There is no need to link to a post in the well known Cobalt thread.

    /closed
    07-28-15 04:34 PM

Similar Threads

  1. How about crowd funded consumer device?
    By tatail in forum General BlackBerry News, Discussion & Rumors
    Replies: 36
    Last Post: 05-13-17, 11:15 PM
  2. How to delete my CrackBerry account?
    By Ayesha Omair in forum Ask a Question
    Replies: 16
    Last Post: 10-04-15, 01:48 AM
  3. Replies: 4
    Last Post: 07-28-15, 07:41 PM
  4. Android apps that work - list
    By GoodInfo in forum BlackBerry 10 OS
    Replies: 3
    Last Post: 07-28-15, 03:31 PM
  5. How secure could Android be in comparison to BB10, or any BB for that matter?
    By Mattster723 in forum General BlackBerry News, Discussion & Rumors
    Replies: 1
    Last Post: 07-28-15, 11:59 AM
LINK TO POST COPIED TO CLIPBOARD