I’m trying to install and use a government-issued secure-login app “MitID”, which is used log in to government services, doctors, etc… There is sadly no alternative app.
The installation works just fine, it’s the activation that fails as that’s when the app seems to “phone home” to check if the device is “valid”. That’s where I get this error (excuse the poor image quality, screenshots are blocked by the app, so had to take a photo) :
**The MitID app cannot be activated**
Activation cannot be completed on your phone. It may be due to:
- Your phone or tablet could be rooted or compromised
- The app is installed outside Google Play
- Your version of Google Play is outdated
- Your phone or tablet does not support Google Play Services
Specs
Fairphone 5
/e/os 2.6.3-t
IMG-e-2.6.3-t-20241217455358-official-FP5.zip from here
Comments from other users on the Aurora store mention, that you need
Booting into bootloader to ensure it’s locked - it is
Logging out, logging back in with anonymous google account
Logging into legit google account in App Lounge and also adding it to microG
Rebooting, trying again
Disabling VPN
Disabling advanced privacy
I’m out of ideas for how to get it to work - other than rolling back to stock Android with official Google libraries, which I’d very much like to avoid or waiting for a newer, official /e/os release, that’ll hopefully fix this.
Has anyone faced a similar problem? How did you solve it? Got any other good ideas for troubleshooting this?
No, I have not found a fix just yet. I’ll update this thread with any progress regarding getting the MitID app to work.
However I have found a workaround to bridge the gap:
From the MitID website I ordered a code viewer. It’s a free hardware device they’ll send to you via post or you can pick up at a municipality center. It’s surely not the same as a working app, but I think it’s an acceptable option to bridge the gap. Even if I do get the app to work eventually, I think I’ll be happy to have the code viewer as a backup.
This was never part of the isRooted() check but as we are unable to get ro.build.selinux in later versions of Android it has been removed from the Util and sample app.
Thanks for the quick answer. I had the same idea with the code viewer after writing to you, and it works fine. Not as convenient as an app but totally doable.
However, I cannot install MobilePay nor my bank app (Merkur) either. Have you encountered the same issue?
I’m still waiting for the code viewer to arrive, but will test it thoroughly once I’ve got it.
I spoke to a friend, who has a Fairphone 3 running LineageOS and uses a MitID code viewer, which he’s happy with. He was not been able to get MobilePay or MitID to work on the FP3 though because he could not lock the bootloader again. So he got a super basic standard Android Google’d phone for MobilePay, that he keeps at home.
I did lock the bootloader, which I confirmed following the steps in the CLI installation guide (see above). So I suspect there is something missing or not up-to-date enough to comply with the requirements MitID and MobilePay have.
I already had a code viewer and I can also confirm that it works fine
Alright - based on your answer and your friend’s example, I’ve installed both Mobile Pay and MitID on my work phone (an iPhone) - not exactly what I had in mind when changing for e/OS/ but well, that will work for now.
Small update: Still no progress to get either app to work on e/OS.
But I found “Plexus”, an OpenSource app for checking if/how well a given app works on a de-googled phone. Its crowd sourced info, so consider sharing your experience.
I looked up MobilePay and some CalyxOS users report it working with microG:
have a try opening it, but on the photo, your phone seems much more recent than mine (s4mini),
so i am affraid my file don’t match with a armv8 devices.
anyway others users on armv7 devices can enjoy my file by place it in their /data/app folder using TWRP or a file manager with root privilèges.
and some others users on armv8 can be inspired to share their .apk
I received my MitID code viewer (the hardware gadget)
I activated it using the MitID app on my old, still working phone (an iPhone)
On a computer I logged into my bank using the now activated code viewer → worked
I installed MobilePay on the FP5, got to the MitID login, entered the code from the code viewer → Error: Whoops! Something went wrong. Please try again later.
So I’m assuming it’s the same problem as with MitID: “Device integrity can’t be verified, therefore we won’t let you use this app on this phone.”
Side note (let’s not widen the scope of this thread too much, but thought it was relevant to the topic): As I went on with setting up other things on the phone I tried installing Authy (the MFA app on my iPhone) and that was blocked, too… After some reading and some more: I’m switching to Aegis.
So I think I won’t to tinker much more now as I don’t want to apply too many “hacks” to the /e/OS operating system, so that my hacky fixes don’t accidentally interfere with the otherwise perfectly functional system.
I’ll wait patiently and hope for a “proper” fix by microG or /e/OS
If anyone finds solutions, or has ideas for fixes, please do share them as they might still help other people (and even convince me to try more hacky things anyway).
I will of course update this post, should I happen to stumble upon a fix.
I have the same issue, but MitID works with my banking app. It works because I can choose to use another browser (Kiwi) whereas with MobilePay it refuses to use my systems standard browser app and defaults to the preinstalled browser. This doesnt work with MitId. And choosing to open another browser from within the preinstalled browser results in the same error as described above.
So I am wondering if there is a way to avoid MobilePay defaulting to the preinstalled browser? I thought about uninstalling it, but I am unaware of the consequences of doing this for the OS.