Implement EuiccService methods for carrier partner apps' download flow #99
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I followed [https://github.com/AndroPlus-org/magisk-module-openeuicc/releases](the installation instructions) to install the debug apk of
https://gitea.angry.im/PeterCxy/OpenEUICC/actions/runs/240
When I try to install an esim using the GMX Freephone app, I get
I am running LineageOS 21 build 20241201 on Pixel 3a (sargo).
Downloading a GMX esim worked on another Pixel 3a running stock Android w/o any issues.
Is that not supported or do I do something wrong?
Thanks
Rainer
This is currently unsupported because there is no carrier partner app for me to test this download flow without spending money on every single attempt.
There is plan to implement everything needed in our EuiccService sometime soon, but whether that'll work is another story.
java.lang.UnsupportedOperationException: LPA must override onGetDownloadableSubscriptionMetadatato Implement EuiccService methods for carrier partner apps' download flowChanged title to better reflect that. Again, this is on the roadmap, but I don't have a good way to test this even if it becomes implemented at some point.
Thanks for looking at it so fast.
As the name says, the GMX Freephone app is free of charge (unlimited calls and SMS in Germany and many European countries and 3 GB of free data volume). I can help to guide you through the application process, if that helps and if the esim is somewhat useful for you.
Ah, i didn't know there's an app using the partner eSIM download API that also provides free profiles. That's good to know. That might be useful when I implement this.
Hello Rainer,
I have a hard time understanding your approach.
Do you hope that installing the OpenEUICC magisk module enables the "GMX Freephone App" to see the eSIM?
From my understanding this is not what OpenEUICC does right now.
On the other hand you can trick apps to believe there is eSIM functionality where it's not with an LSPosed module called "EnableEUICC", but that's probably another story.
As I understand if your Lineage 21 does not support the build-in eSIM functionality of your Pixel 3a any App which would rely on it would not be able to access the eSIM but there OpenEUICC steps in.
So just get the QR Code for the GMX contract and read it with OpenEUICC which then should activate it and create the profile on your eSIM.
Let me try to explain: The gmx app allows to order an esim. Then the GMX freephone app is used to "install" the esim. And that step fails.
Not to see the eSIM but to "install" the eSIM, they call it "activate eSIM".
Not quite, I can install the eSIM if I go back to stock Android and then install the eSIM. After reinstallation of LineageOS, the eSIM works well. It works even with postmarketOS, so I assume there is not too much needed on the SW side. I want to avoid the cycle over stock Android, because I would have to do that on multiple phones.
I tried that, but I don't have a response yet. Since the eSIM is free of charge, I don't have high expectations that the GMX response will help me.
But don't you mix things here?
What has OpenEUICC to do with the process of company GMX to provide you the QR code/activation information?
That the GMX FreePhone App does not work activating the eSIM profile could have many reasons. Maybe they detect a custom rom now especially if you know that they already changed the app so it does not show the QR code anymore since this free phone & data plan was probably meant to be for eSIM phones only and the company did not count with physical eSIM adapters or even Smart-Watches which could use it with that QR code.
And more off-topic:
If you need the QR code you don't have to reach out to the GMX support just check this thread and the comments before that if you are not already on it!
I did successfully download and activate it with the QR code using EasyEUICC and a USB adapter/reader on a physical eSIM card.
Easily possible, I am not an expert on how SIMs are supposed to work.
I provided and adb log and PeterCxy responded that methods for carrier partner apps need to be implemented.
Many thanks for this link. Displaying the QR code worked for me as well.
Adding the esim with the QR code through Android did not work though, greping for Euicc in adb log reveals an error that
Multiple active slots supported, but slotId -1 is not active
The -1 sounds wrong :-/
The full grep output:
Roamless also lets you happily install, delete and reinstall the profile from the same activation code.
Did you do some research on Lineage and eSIM functionality?
I found this thread as 1st thing in Google search results where it was mentioned that SIM Manager would fix/enable it.
It's about LOS20 but maybe you need to do this on LOS21 too?!?
After that I would check if eSIM is enabled and try downloading the profile again with the QR code and OpenEUICC.
I installed MindTheGapps with LineageOS and this seems to include SIM Manager:
Version D.2.1.656331786-google
com.google.android.euicc
I realized that I could update to
Version D.2.1.692833496-google
com.google.android.euicc
But that alone did not help. I still get the message "Network not activated - Something went wrong while trying to activate your number"
In the adb log I see:
E ActivityThread: Package [com.google.android.euicc] reported as REPLACED, but missing application info. Assuming REMOVED.
The full euicc log is contained here:
https://dpaste.com/9QN8G8F5Z
That's unfortunate.
Have you tried the "Roamless" app as tcmaps recommended?
Here you can find more alternative apps you could give a try.
Apart from that I might switch to physical eSIM adapters and an USB card reader if I where in your situation instead of going back and force between stock and LOS. Last idea try another custom rom. Maybe ask user with such a rom 1st if they can confirm that eSIM works.
Many thanks for the advice. The physical eSIM seems indeed the most robust solution.
The Roamless app did not work either ("A technical problem occured"). Maybe the OpenEUICC installation as Magisk module did not work (or the version I installed was buggy.
Since the eSIM works well with LineageOS on the Pixel 3a, another alternative is a good backup app, flashing stock Android, downloading the eSIM and flashing LineageOS again. In the past the fdoid apps always were somewhat troublesome in the backup process.
It seems the world is more complex. Also with physical esims it seems that there are many incompatibilities. In particular 5ber and Drillisch does not seem to be a good solution. E.g. here is a thread with over 40 pages on physical esims (unfortunately in German, but gemini, chatgpt, and other tools can help :-)).
Just curious: Is there any custom ROM configuration and phone which managed to download an esim into the internal phone storage?