How to obtain the eSIM EID (Embedded Identification Document) from a device with DO (Device Owner) active?

danielbeninca
Level 1.5: Cupcake

Hello,

We are looking to implement the functionality to provision eSIM profiles on devices with Android 15+. However, we encountered a telecom provider that requires the EID of the devices before providing us with the eSIM activation code.

In this initial stage, we are simply trying to obtain the EIDs of all devices so that we can send them to the telecom provider and receive the eSIM activation code in return. To obtain the EID, we are using the following approach:

 

`euiccManager.createForCardId(slot).eid`

 

However, we are encountering this issue as noted here:

*Must have carrier privileges on subscription to read EID for cardId=0 [java.lang.SecurityException: Must have carrier privileges on subscription to read EID for cardId=0]*

 

The same issue occurs with `euiccManager.eid`.

According to the documentation mentioned above, Android 15 introduced the possibility of managing eSIM profiles without requiring carrier privileges. However, it seems that the same should also apply to obtaining the EID.

I noticed a similar situation reported here that has been unanswered since September 2024.

Is there any other way to retrieve the EID, or is there any plan to include EID in the bypass for managed corporate devices (which have Device Owner active)?

Looking forward to any insights on this. Thanks in advance!

0 REPLIES 0