Embedded Sim Card¶
Dump all esim activities
adb shell dumpsys package com.samsung.android.app.telephonyui \
|grep -Eo "^[[:space:]]+[0-9a-f]+[[:space:]]+com.samsung.android.app.telephonyui/[^[:space:]]+Activity" \
|grep -io com.* \
|sed "s/^/adb shell am start -n '/g" \
|sed "s/$/'/g"|grep -i esim
- Output
adb shell am start -n 'com.samsung.android.app.telephonyui/.netsettings.ui.esim.QrTransferActivity'
adb shell am start -n 'com.samsung.android.app.telephonyui/.netsettings.ui.esim.ResetEsimActivity'
adb shell am start -n 'com.samsung.android.app.telephonyui/.netsettings.ui.esim.oda.OdaD2dTransferActivity'
adb shell am start -n 'com.samsung.android.app.telephonyui/.netsettings.ui.esim.oda.OdaD2dVerificationCodeActivity'
adb shell am start -n 'com.samsung.android.app.telephonyui/.netsettings.ui.esim.oda.OdaPushActivity'
adb shell am start -n 'com.samsung.android.app.telephonyui/.netsettings.ui.esim.LuiActivity'
adb shell am start -n 'com.samsung.android.app.telephonyui/.netsettings.ui.esim.LuiActivity'
adb shell am start -n 'com.samsung.android.app.telephonyui/.netsettings.ui.esim.LuiActivity'
adb shell am start -n 'com.samsung.android.app.telephonyui/.netsettings.ui.esim.SuwAddMobilePlanActivity'
adb shell am start -n 'com.samsung.android.app.telephonyui/.netsettings.ui.esim.LuiActivity'
adb shell am start -n 'com.samsung.android.app.telephonyui/.netsettings.ui.esim.LuiActivity'
Intent Broadcasting - Remove/Wipe ESIM
If ResetEsimActivity
is designed to respond to certain intents,
you might be able to launch it or trigger its functionality via adb by sending an appropriate intent.
This approach requires knowledge of the intent filters declared by the activity in the app's manifest.
A generic example to start an activity looks like this: