Xiaomi EU
created: Mon, 29 Jul 2024 15:09:34 GMT, modified: Fri, 03 Jan 2025 16:43:23 GMT
There is a long-standing issue with custom firmwares, xiaomi.eu included, and Google, which tries to detect unauthorized operating system running, and reduce reported security level, which breaks applications like Wallet.
Fixing the issue includes:
- installing the latest version of xiaomi.eu rom
- downloading and running xiaomi.eu module app
- clearing all data for Google Play and Google Play Services
Unfortunately, sometimes these action leads to Wallet failure to start with an error like There was a problem setting the active account
, which means that Google Play Services
doesn't have SMS permissions granted (who would've thought).
Grant permissions for Google Play Services
:
adb shell pm grant com.google.android.gms android.permission.RECEIVE_SMS
adb shell pm grant com.google.android.gms android.permission.READ_SMS
adb shell pm grant com.google.android.gms android.permission.SEND_SMS
adb shell pm grant com.google.android.gms android.permission.BODY_SENSORS
Complete permissions list: https://developer.android.com/reference/android/Manifest.permission