eSim fails to install for the app with carrier privileges on Samsung S20 Android 11

Steps to reproduce:

  • get the DENT app from the Play market
  • Register with a real phone number
  • Go to Data Plan tab
  • Press Get Started button
  • Buy an initial package of 200 MB Worldwide for small amount of DENTs
  • Press “Set Up DENT eSim”
  • On the eSim installation screen, Allow DENT app to install the eSim

Expected result : eSim is installed successfully
Actual result : on Samsung S20 with Android 11 eSim installation fails.
Additional info :

  1. DENT app has carrier privileges and installs eSim without any issues on Samsung devices with Android 10
  2. EuiccManager.downloadSubscription() method first returns with a result code EMBEDDED_SUBSCRIPTION_RESULT_RESOLVABLE_ERROR (result code 1).
  3. After receiving a result code 1, DENT app tries to launch a resolution activity, the process fails with code 1 (resolvable error)
  4. After second attempt to launch a resolution activity, the process fails with code 2 (unresolvable error)
  5. The received result intents have no additional descriptions or codes in extras.

Notice:
Installation goes successful only if the user scans the QR-code of our eSim with a system QR-scanner.
Samsung devices with Android 10 and devices from other brands with Android 11 install esim from our app without any problems

App link: https://play.google.com/store/apps/details?id=com.dentwireless.dentapp

2 Likes

Hi,
I think you may report the issue in Samsung developer support officially.
Here is the link- Support | Samsung Developers

Thanks

1 Like

Hello,
Please check the issue on latest software version. It should be fixed with latest update.
If you get the fix on latest software, please share your test result/opinion here so that other developers can get help.

Thank you.

1 Like

Hello! Thanks for update!
Right after update I was available to install the esim, but then I went into some other issues with eSim visibility and working state. Will describe in the next comment.

UPD:
If the phone had no eSim before, the installation goes successfully.
If there is already another eSim installed, issues can occur
If previous eSims were removed, they can still be attached to phone in some “invisible” state and cause weird issues. Currently searching for exact steps to reproduce

Further constraints to those who have problems:

  1. if the esim gives you notice “SIM card busy” and is not shown in the Settings as the installed eSim, restart the phone and wait for 2-4 minutes. It can appear and activate after restart
  2. if the esim is not visible after reboot, try removing all existing esims, restarting the phone, and then installing your esim. If your esim does not appear in the list right after installation, consider rebooting.
  3. If you have some outstanding installation problems, please comment in this thread

Hello,

I reported the issue eSIM download does not work on Galaxy S20 since Android 11

We also have problems with eSIM download on S20 from our 3rd party app.
We shared data with Samsung Dev support, but they apparently don’t reproduce. We are using commercial S20 phones.

From the latest firmware update, it is possible to download a eSIM profile, but it takes 2 minutes and this is very problematic.
For comparison, it takes 15 seconds on a Pixel 3, from the system LPA, and was also 15 seconds on S20 with Android 10.

BR,
Johann

1 Like

Hi all
When do you expect this issue will be resolved?

Hi there!

I have an Note20.

I have deleted the esim, when installing the new esim it always says “eSIM full - delete one eSIM mobile plan and try again”.

I already rebooted the phone with fabric settings, however after doing it, the message persist “eSIM full …”

Is there anyway with code or other software hacks to erase the eSIM slot?

Thanks in advance!

I have same problem with esim too on Samsung S21 Ultra 5G.
I installed 3 esim on phone, all was OK. Then 1 of them deleted. And Try to install again new 3rd esim - and got error - esim memory full. How fix? Tried safe mode, clear network settings - not helped. Help!

Johann U have the same problem Do you resolve this problem?

It’s the same for me, when activating LUI Do you want to allow the application to add eSim? After confirmation immediately reject null, if after that you press again - confirm reset eSim 1? You confirm and then eSim is activated, I don’t understand how it should work. Samsung S22.

@RequiresApi(api = Build.VERSION_CODES.P)
  private void handleResolvableError(Intent intent, PluginCall call) {
    PendingIntent callbackIntent = PendingIntent.getBroadcast(
        getContext(),
        Activity.RESULT_OK/* requestCode -1*/,
        intent,
        Build.VERSION.SDK_INT >= Build.VERSION_CODES.S ? PendingIntent.FLAG_MUTABLE : PendingIntent.FLAG_UPDATE_CURRENT);
    try {
      mgr.startResolutionActivity(
          getActivity(),
          Activity.RESULT_OK /* requestCode -1*/,
          intent,
          callbackIntent);
    } catch (IntentSender.SendIntentException e) {
      Log.d("CODE_LOG_E", String.valueOf(e.getLocalizedMessage()));
    }
  }