[General Topics] Markpeng0315:
Hi, I'm mark. I apylogized if this may be not fit this part but I didn't think this is associated to any single brand.

I tried using esim on my phone, but it didn't support it. My module was Oneplus 8 and oppo was swap it to color os now.

And on color os, when I inject an esim card which used st33 chip (yes you could use an external esim chip sorted on sim base, I called REUICC for removeable euicc), it shows 'no esim' on the sim/ mobile network manager in setting app

I think it must be support there, but not for my moudle. so I installed the app which used for manage esim on the same os (coloros/oxygenos) on

the oneplus11 that support esim. This is my journal，and welcome who are interested in euicc/esim to join the develop (due to euicc api it must be android 9/10 or above i think)

for other manufactor i also think it is possible. For example xiaomi one could extract other xiaomi model system which support esim to build an manisk model (for friend's help or use ubuntu to mount erofs/f2fs partion )

why not use openeuicc? this magisk moudle is 1、not compatible with my phone 2、sometimes it found my esim card but still unable to download profile 3、it seems only support single sim profile but still say thank you to @PeterCxy and @AndroPlus

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

first，I created an base magisk package (opeuicc_gen1) used to make com.google.android.euicc as system app to grant premission (attached below)

DO NOT DIRECTLY SWAP THIS ZIP FILE OR YOU MAY SUFFER BOOT LOOP

UNLESS YOU ARE COLOR OS/OOS 13 AND INSTALLED MOUDLE TO SAVE FROM BOOTLOOP​

that becaused I contained some app from oos13 on oneplus 11 and if you are other manufactor like xiaomi will easyly be incompatible

the core files is the com.google.android.euicc called euiccgoog in the system_ext/priv-app and the grant premission file in the system_ext/etc/premission

but makesure it would be scuccessfully I installed all possible files for my oneplus8 (IN2010)

second, I created apk for lsposed/edxposed/xposed to hook moudle error (to hook the com.google.android.euicc) to call the sim slot mapping/other incompatible issue

i will update progress here and upload files on my github such as not fully work

i created hooker for call hooker 1\2\3 on the class.

hook1 was hooker for sim_mapping_json which normally provided by com.android.phone which has an format:

<string name="sim_slot_mappings_json">{ \"sim-slot-mappings\": [ { \"devices\": [ \"OP4F57L1\", \"OP4F2BL1\", \"OP4F7FL1\", \"OP4EF3L1\", \"OP52D1L1\", \"OP52D5L1\", \"OP52EBL1\", \"OP532BL1\", \"OP56CDL1\", \"OP56B9L1\", \"OP5349L1\", \"OP594DL1\", \"OP5701L1\", \"OP56DBL1\", \"OP56BBL1\", \"OP5973L1\", \"OP56CFL1\" ], \"esim-slot-ids\": [1], \"psim-slot-ids\": [] } ] }</string>

which is provided by com.android.phone

hooker2 and 3 will handle error such as euiccimpl , but an error occured becaused for the package is actually called com.google.android.euicc and it contained a class imported and located at "package com.android.euicc.card"

which google is disappear thus i think it must be this caused error and my lsposed told me error for class not found

credit:

@xymeng for oneplus 11 support and helps