I get support requests every other day about Raccoon not being able to find an download certain apps from Google Play. In many cases this is because Raccoon has to mimic an Android device and the device it mimics by default is not compatible with the app in question. The good news is: Raccoon can be configured to act like a different device, the bad news is that this is going to be a bit techy.
Ok, so how do you get the User Agent String for your device? Sadly it’s hardcoded in the Play client app, so there is no convenient way to get it, meaning you have to construct it by hand, using the following template (one line, no line breaks):
The %s and %d are placeholders that you have to fill in with the right values. In the following, I’ll assume that you are familiar with ADB and how to execute shell commands. So in order of appearance:
1dumpsys package com.android.vending | grep versionName
1dumpsys package com.android.vending | grep versionCode
The whole thing then goes into credentials.cfg in your archive’s directory, prefixed with “useragent=”.
In case you are using a custom ROM, an Amazon Kindle or any other device without the GApps package installed, dumpsys naturally won’t give you the version information for the com.android.vending package. Just try “3.10.10” as the versionName and “8016010” as the versionCode (values taken from a 2012 Nexus 7).