GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
346 stars 19 forks source link

eSIM Multiple Enabled Profiles #2098

Open Majesty6338 opened 1 year ago

Majesty6338 commented 1 year ago

As I know Android can now support dual eSIM (MEP). https://source.android.com/docs/core/connect/esim-mep But on the latest version of GrapheneOS and on Pixel 7 this functionality does not work and gives an error: "Only one downloaded SIM can be active at a time".

$ adb shell pm list features | grep android.hardware.telephony.euicc.mep
feature:android.hardware.telephony.euicc.mep
$ adb logcat
04-10 09:49:09.349 10949 10949 I ToggleSubscriptionDialogActivity: isMultipleEnabledProfilesSupported():false
04-10 09:49:09.349 10949 10949 D ToggleSubscriptionDialogActivity: Handle subscription enabling.
04-10 09:49:09.349 10949 10949 D ToggleSubscriptionDialogActivity: DSDS is already enabled. Condition not satisfied.
04-10 09:49:09.373 10949 10949 I ConfirmDialogFragment: Showing dialog with title =Switch to [***]?

Two of my providers say they support eSim MEP. What could be wrong?


[ro.build.fingerprint]: [google/panther/panther:13/TQ2A.230305.008/2023040400:user/release-keys]
FullStackSoftwareLLC commented 1 year ago

following... I'm having the same problem with android 13 on a pixel 5a utilizing AT&T and Vodafone

Shapes0 commented 1 year ago

Same issue with AT&T and T-Mobile for me on my Pixel 7

erroriel commented 1 year ago

I'm unable to properly activate service on Helium Mobile on a Pixel 7 without this feature on GrapheneOS due to them relying on multiple eSIMs being active simultaneously. I can download both eSIMs and use them one at a time, but have the same message as OP when trying to activate them simultaneously. Tested on GrapheneOS 2023062300.

https://support.google.com/pixelphone/answer/9449293?hl=en "On Pixel 7 and Pixel 7 Pro phones and if your carrier allows, you can use 2 eSim profiles simultaneously."

https://support.hellohelium.com/en/articles/7130896-installing-and-activating-your-sims "Voice eSIM (Google Pixel 7 and 7 Pro)" and "Data eSIM (Google Pixel models)"

https://support.hellohelium.com/en/articles/7240207-supported-devices "Users of devices with Dual eSIM compatibility should continue to use a Voice and Data eSIM."

simpsonstuart commented 1 year ago

Has there been any updates for this? I am facing the same issue on helium mobile where I have to use dual esim. I tested the stock os with my 7pro and both esims at once work just fine, so I believe this is just a bug where graphene isn't getting if the phone supports MEP properly for supported hardware.

ryanriske commented 11 months ago

I also have a need for dual active esims on a Pixel 7 Pro and would appreciate it if this issue was addressed.

FullStackSoftwareLLC commented 11 months ago

I also have a need for dual active esims on a Pixel 7 Pro and would appreciate it if this issue was addressed.

https://www.androidpolice.com/dual-esim-pixel-7/

ryanriske commented 11 months ago

I also have a need for dual active esims on a Pixel 7 Pro and would appreciate it if this issue was addressed.

https://www.androidpolice.com/dual-esim-pixel-7/

Yes, the phone supports it with the stock operating system but GrapheneOS does not yet. It disables the active esim when I try to activate a second one stating "Only one downloaded SIM can be active at a time."

Shapes0 commented 11 months ago

On Android 14 now and still no dual eSIM

jnelsontn commented 9 months ago

On Android 14 now and still no dual eSIM

Has this been fixed?

Shapes0 commented 8 months ago

On Android 14 now and still no dual eSIM

Has this been fixed?

Sadly no, I still can't enable multiple eSIMs on the latest update.

Shapes0 commented 8 months ago

@thestinger is it possible to get insight on the extent that GOS can support/port this function present in the stock OS?

muhomorr commented 7 months ago

I'm unable to reproduce this issue on Pixel 7 and on Pixel 8: activated 3 eSIMs, 2 eSIMs are enabled at the same time.

Check again whether this is still an issue on the latest OS release.

erroriel commented 7 months ago

Still not working for me on a Pixel 7 with the latest release.

Screenshots
Shapes0 commented 7 months ago

Also not working for me on 20240126 on my Pixel 7. I have tried to disable and re-enable eSIM support to no avail. I wonder if a wipe and reinstall is necessary to get it working.

muhomorr commented 7 months ago

@erroriel @Shapes0 Post your carrier settings versions (Settings -> Network -> SIMs -> -> Long press "Carrier settings version" -> Copy)

Shapes0 commented 7 months ago

@erroriel @Shapes0 Post your carrier settings versions (Settings -> Network -> SIMs -> -> Long press "Carrier settings version" -> Copy)

Both eSIMs: tmobile_us-52000000043 MCC: 310 MNC: 240 2023-09-27

erroriel commented 7 months ago

Physical SIM:

att5g_us-52000000018
MCC: 310 MNC: 410
MVNO: gid: 53FF
2023-08-24

eSIM 1:

tmobile_us-52000000043
MCC: 310 MNC: 260
2023-09-27

eSIM 2 and 3:

tmobile_us-52000000043
MCC: 310 MNC: 240
2023-09-27
muhomorr commented 7 months ago

@Shapes0 @erroriel T-Mobile US doesn't allow to use eSIM MEP:

Your Google Pixel 7 lets you store multiple eSIM profiles, but only one can be used at a time

https://www.t-mobile.com/support/tutorials/device/google/pixel-7/topic/esim/how-to-switch-between-esim-profiles

I've found several reports online that state that MEP doesn't work on T-Mobile US.

erroriel commented 7 months ago

@muhomorr Please see above about Helium. This is a supported setup that only does not work on GrapheneOS. I have tested this successfully with stock and other custom ROMs.

muhomorr commented 7 months ago

@erroriel Have you tested it on the same device?

Check whether DSDS (dual SIM, dual standby) is enabled in phone testing menu: dial *#*#4636#*#*, tap Phone information, then scroll down to "Enable DSDS".

erroriel commented 7 months ago

No, not on this device specifically, but on another testing/development Pixel 7 because of having to factory reset to change ROMs.

Before I originally joined this issue, I downloaded two cheap prepaid Tello (T-Mobile MVNO) eSIMs on my test device and successfully activated them both simultaneously on stock and another custom ROM. Then I installed GrapheneOS and could not activate them simultaneously, only swap. I kept the eSIMs on the device for each ROM tested, meaning I did not redownload them each time. I can repeat this experiment on the current build if that would help narrow things down.

On this device, DSDS is enabled and I am using it with the physical SIM and one eSIM. No difference to MEP after toggling off and on.

What carriers are you testing with? @muhomorr

muhomorr commented 7 months ago

@erroriel

I downloaded two cheap prepaid Tello (T-Mobile MVNO) eSIMs on my test device and successfully activated them both simultaneously on stock and another custom ROM

Did you have a physical SIM active at the time? If there's a physical SIM active, at most one eSIM can be enabled.

What carriers are you testing with?

LTE carrier from Eastern Europe.

erroriel commented 7 months ago

Did you have a physical SIM active at the time? If there's a physical SIM active, at most one eSIM can be enabled.

No, I did not. Right - only two can be active - one physical and one eSIM (or) two eSIMs. The test I ran which succeeded on other ROMs was with two eSIMs. If I deactivate the physical SIM on GrapheneOS and try to activate a second eSIM, the situation does not change - it still says only one eSIM can be active at a time as in the screenshot above. @muhomorr

muhomorr commented 7 months ago

@erroriel Check the log for isMultipleEnabledProfilesSupported text after trying to enable the second eSIM. Can do it without adb access, by going to Settings -> System -> View logs and searching for that text.

I get ToggleSubscriptionDialogActivity: isMultipleEnabledProfilesSupported():true on both Pixel 7 and 8 (unlike the OP).

Shapes0 commented 7 months ago

Screenshot_20240131-134449~2_20240131134555 It looks to be false on my device

Shapes0 commented 6 months ago

As an update to this, I reinstalled GrapheneOS on my phone and now I have the ability to enable both eSIMs. It seems that updates never triggered some change made in the fresh install image.

thestinger commented 6 months ago

Resetting cellular configuration might have worked. I don't think carrier configurations that are in use are updated without provisioning again.

crx60 commented 6 months ago

I'm facing the same issue.

Resetting cellular configuration might have worked. I don't think carrier configurations that are in use are updated without provisioning again.

Assuming you're referring to settings > reset options > reset mobile network settings (erase esims checked), that didn't help. I also get ToggleSubscriptionDialogActivity: isMultipleEnabledProfilesSupported():false in the logs.