Introduction #
Telephony Manager is an API how system applications can acces SE (Secure Elements) including SIM cards and eUICCs. As it is system application specific, it can not be accessed from a random third-party APK application on a standard (non-rooted) device. Therefore, the Telephony Manager AP is mostly relevant for people performing custom builds of Android.
This feature is available in Android 9 (API level 28) or later.
Checkpoints #
- PackageManager#FEATURE_TELEPHONY_SUBSCRIPTION
- PackageManager#FEATURE_TELEPHONY_EUICC
- PackageManager#FEATURE_TELEPHONY_EUICC_MEP
getSystemService(Context.EUICC_SERVICE)
EuiccManager#isEnabled()
esim.enable_esim_system_ui_by_default
(source code)ro.telephony.sim_slots.count
(source code)ro.setupwizard.esim_cid_ignore
(source code)
Privileged Permissions #
FOSS Applications #
- OpenEUICC, does not provide an official precompiled installation package.
- magisk-module-openeuicc, Unofficial Magisk Module for OpenEUICC.
- ISD-R Access Provider
- eUICC Probe
References #
- Implementing eSIM
- android.telephony.euicc (source code)
- com.android.internal.telephony.euicc (source code)
- 2018-10-21 Android 系统对 eSIM 的支持 (Chinese)
- 2020-06-14 Google Pixel 4 がデュアル SIM 端末になるとき (Japanese)
- 2021-01-28 eSIM が無ければ Pixel 4 を潰せばいいじゃない (Japanese)
- 2022-12-28 eSIM RSP Android App Privilege Elevation for
WRITE_EMBEDDED_SUBSCRIPTIONS
- 2023-07-05 较低价格的 eSIM.me 平替 (Chinese)
- 2023-10-09 Pixel 7 のログから逆引きして学び始める eSIM MEP (Japanese)
- 2023-11-24 Android eSIM - LPA 基于 Android13 的实现 (Chinese)
- 2024-02-04 给想入坑的朋友再次提个醒, OpenEUICC 并不是所有手机都可以用 (Chinese)