Hi,
I saw that people commented in the request of the game about the fact they weren't able to play the game due the Beta Limited.
I was pretty sure it was just a simple license check, so I thought let's show you guys how to disable it
Requirements:
- Apktool (or any tool where you can decompile the apk with)
- A text editor which can read smali files (sublime, notepad++ etc)
Alright so it's pretty simple & is always the same file (from my experience)
Go to:
/smali/com/google/android/vending/licensing/LicenseValidator.smali
or
/smali_classes2/com/google/android/vending/licensing/LicenseValidator.smali --> Some apps have 2 classes.dex files nowadays
Open that file in your text editor.
Search for 'handleRespone' as a method:
Now inside this method, 'mPolicy' & under that you see 'allowAcces()Z' --> ()Z means BOOLEAN in smali
Now you can bypass the license check in two ways:
1. Return allowAccess to true (0x1)
2. comment out the jump (if-eqz v0, :cond_0)
I prefer option two, since I don't have to type 2 lines of code
How it should look like after patch:
Original Code:
Patched Code:
Hope you learned something
Credits:
- @Ted2