Hi,
I've just bought a Samsung S9 and installed LineageOS with microG 15.1.
I wanted to install "Paylib" (French e-wallet that contains cards) via "Aurora Store" but when I launch the app I have this error message : "Blocked Application: Your device is not compatible with the service" ( translated from French ).
I saw in French Forums that this message appears if the Phone is rooted OR has SuperSU installed.
But my phone is not rooted neither has SuperSU installed.
Does your device pass SafetyNet attestation? If not, that's likely the cause.
I suppose SafetyNet is properly enabled from microG Settings and set to use official servers in the advanced SafetyNet settings in microG?
SafetyNet was not enabled. I enabled it and installed DroidGuard Helper to use official servers.
But Paylib still prints the error message.
I can't test to pass the SafetyNet attestation because this option is greyed (I have Samsung S9).
I've just installed "SafetyNet Helper Sample" app.
Result:
"- SafetyNet request: success
Ah yes, @mar-v-in has not yet merged the changes @ThibG made to microG DroidGuard Helper, so the upstream version currently only works on 32 bit arm (and your device is 64 bit arm).
Uninstall DroidGuard Helper and use my build instead, which is based on upstream + ThibG's changes
Now I have new result:
OK. So something on your device triggers SafetyNet
su)?all this and several other things may trigger SafetyNet. The easiest work-around is to use Magisk, it's Magisk Hide functionality eliminates any SafetyNet triggers in 99 % percent of all cases.
Once you pass SafetyNet you may re-setup the Play Store (clear data and all), after that in the Play Store settings you should see device certified instead of the current device not certified.
@Nanolx , with the droidguard helper from the microg fdroid-repo, both the tests fail. With your version, basicintegrity is true, but ctsprofile is false. This is on AOSP build of Android P on pixel with magisk.
Edit: I didn't build droidguard helper in the ROM as a priv-app. Is that a requirement ? If so, I'm less enthusiastic about it.
@pgera depends, on some ROMs it works as user-app, some ROMs need it as priv-app. If attestation works, it's fine (regardless of result). If ctsProfile is false, there's still something that SafetyNet doesn't like about the ROM.
Did you use the Magisk 17.2 beta release? It contains additional improvements. Else there's a Magisk module that aids in passing SafetyNet, but that's obviously out-of-scope here.
Just check the Magisk section of XDA.
@Nanolx , thanks for the hints. priv-app is required. Also had to change the build fingerprint based on the module that you mentioned. Works after that. I don't have a real use for it, but good to know that it works.
Most helpful comment
Ah yes, @mar-v-in has not yet merged the changes @ThibG made to microG DroidGuard Helper, so the upstream version currently only works on 32 bit arm (and your device is 64 bit arm).
Uninstall DroidGuard Helper and use my build instead, which is based on upstream + ThibG's changes