Correct. They only have the one from the Play Store which only works in a very limited number of countries.
No problem. It is actually possible to bypass the region lock in an unmodified app too but it requires you to use an intercepting proxy to MITM the encrypted request sent to Shazam during the registration process and modify the appropriate values. My modified app just simplifies the process by sending the correct request for you.
Hey. I know it's little off topic but could you perhaps tell a little more about how you modified the app? Could this method work for other apps perhaps (such as JOOX or Spotify) to make it work without a VPN?
I know a little about apktool and smali but it's very hard to find any tutorials beyond the basic modifications.
EDIT: I tried using Packet Capture to mitm the requests of the JOOX app but I can't figure out which is the right one or what can be modified, etc.
The changes needed are simple if you know smali code. You need to patch a few lines in smali\com\shazam\android\lite\b\e.smali to hardcode certain supported values (I decided on values matching a carrier in India) instead of doing a lookup based on your SIM. Essentially, the app performs a registration the first time you start it where it transmits information like country, mcc, mnc, device, platform, etc. This information is then validated server-side to determine if your country and SIM is from a supported region. Spoofing values for a supported region is enough to successfuly complete the registration, either by modifying the app or by using an intercepting proxy like Burp Suite or OWASP ZAP to intercept and edit the request. If the latter, you can use the unmodified app as long as the registration remains valid.
Thanks for the prompt response! Unfortunately the application I'm trying to modify checks the IP address each time the app is opened so I'll have to find another way (of that is even possible).
I've noticed that the latest Spotify mods seem to be able to login without a VPN in my country so maybe that is possible I'll keep looking. Thanks for your help
Try the one linked below. I changed it from forced portrait to rotate based on the orientation sensor. I have no idea if the app actually functions properly in landscape however.
|Thread Tools||Search this Thread|