[Video Tutorial] How to remove Google Ads from any apk

Thảo luận trong 'Hướng dẫn, chia sẻ kinh nghiệm - Hỏi/Đáp (BB10)' bắt đầu bởi vnbb, 5/1/14.

Chia sẻ trang này

  1. vnbb Super Moderator
    BB Model:
    Passport

    Tham gia:
    5/1/11
    Số bài viết:
    19.533
    Được thích:
    18.731
    This tutorial will learn you how to remove Google Ads from any APK (app), the ads are a specific part in the source code that can can be removed easily without damaging the app.

    Any ways, I encourage you to keep supporting the app developers by buying their apps. The outcome of this tutorial is made personal use only and you may not share (or even sell) the apps you cleaned from ads.

    Requirements:
    Youtube Video:
    Instructions:

    Step 1. Download and install/extract all needed packages. (Install JRE/JDK 6/7 and unpack APK Multi Tool and ADB)


    Step 2. Looking what apps you have installed on your phone to pull (make sure you're in debugging mode)

    - In ADB folder, run adb.bat
    - Enter: "cd data/app"
    - Enter: "ls", now your apps will show up
    - Copy an apk name by right clicking in the cmd window and click mark, then mark the text and right click again to copy
    - Now terminate adb.bat by either pressing Control+C and enterying "y" or closing the window.


    Step 3. Pulling the apk

    - In ADB folder, hold shift and right click in an empty place in the folder (not on some file/folder) > Open Command window here
    (or press windows key + r and enter cmd, now enter "cd C:\your\adb\folder\here")
    - once in command prompt, enter: "adb pull /data/app/[right click > paste]"
    - After pulling the apk it will appear in your ADB directory. Now copy the apk


    Step 4. APK Multi Tools Setup

    - In APK-Multi-Tool folder, open setup.bat
    - Enter "3" and press enter
    - Enter "00" and press enter to exit setup
    - Browse to /place-apk-here-for-modding/ and press Control + V to paste your pulled apk


    Step 5. APK-Multi-Tool Decompilation

    - In APK-Multi-Tool folder, open script.bat and press enter
    - Enter: "24" and press enter, now choose your apk, probably #1
    - Enter: "9" and press enter to decompile your apk
    - Browse to the /projects/apkname folder


    Step 6. Removing the ads

    - In APK-Multi-Tool\projects\apkname.apk folder, open the smali folder
    - Then browse to the com folder and then to the google folder
    - Now you will see a folder called ads. remove this folder.


    Step 7. Compiling the apk

    - In APK Multi Tool, enter: "12" to start compiling the apk
    - When a new text dialog appears, enter: "3" and press enter
    - When the "keep folder" question shows press enter
    - Now your signed apk (without ads) can be found in the APK-Multi-Tool\place-apk-here-for-modding folder
    - Copy the apk (with "signed" in front of the name) and paste it in the ADB directory


    Step 8. Installing the result

    - Select the apk and press F2 (or change name) to copy then name to the clipboard then press enter to discard the name change
    - Now, hold shift and right click in an empty place in the folder (not on some file/folder) > Open Command window here
    (or press windows key + r and enter cmd, now enter "cd C:\your\adb\folder\here")
    - Enter "adb install [right-click > paste]"
    - Now the app will successfully install! Enjoy!
    Source: xda-developers
    P/S: Tut này chỉ dành cho người có chút kiến thức về lập trình nên cứ để nguyên gốc Tiếng Anh cho dễ hiểu nhỉ :D
     
    Tags:
    comedownChangDau thích bài này
  2. comedown

    comedown Active Member

    Tham gia:
    18/5/11
    Bài viết:
    751
    Được thích:
    121
    BB Model:
    Z10 + 9700
    hay đấy
     
  3. sev3n_k3n

    sev3n_k3n Active Member

    Tham gia:
    29/11/13
    Bài viết:
    443
    Được thích:
    120
    BB Model:
    Q10 + Z10 + PB
    mất công không dịch đi bác ơi
     
  4. vnbb

    vnbb Super Moderator

    Tham gia:
    5/1/11
    Bài viết:
    19.533
    Được thích:
    18.731
    BB Model:
    Passport
    Cố tình không dịch mà bạn, mình đã nói ở P/S cuối bài đó :)

    Tut không dành cho người dùng phổ thông, chỉ cho những ông Dev mà dân Dev thì ông nào cũng biết Tiếng Anh rồi :D
     
  5. comedown

    comedown Active Member

    Tham gia:
    18/5/11
    Bài viết:
    751
    Được thích:
    121
    BB Model:
    Z10 + 9700
    sao mình chạy cái file adb.bat mà nó không nhảy lên cửa sổ lệnh nhỉ
     
Đang tải...