Handling invalid/zero EID #26
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Happy Monday
About 6 months ago I integrated the old/previous version of OpenEUICC into my DivestOS.
There was an issue with it crashing on an invalid EID on the Pixel 6a.
Log:
I fixed it with this patch: https://codeberg.org/divested-mobile/divestos-build/src/branch/master/Patches/LineageOS-20.0/android_packages_apps_OpenEUICC/0001-hacky-fix.patch
Today I tried updating to the latest OpenEUICC, but I'm getting a very similar error:
Any help appreciated.
Thank you.
edit:
for context, this issue is caused by the presence of a traditional sim, and it's eid from the system is all zeroes
How does this even happen? Does this "traditional SIM" present itself as an eSIM somehow? Does the system UiccPortInfo for that slot show as
isEuicc = true
?Also, for this to even happen, this slot needs to first pass this check:
override val valid: Boolean
so the eID was not null somehow when the LPA is created, but then became null?
Could you please check whether this first call to
eID
results in null or just an all-zero string?Ah wait, I just realized maybe we are missing a
valid
check when we first open the channel...Could you try out the latest commit? I added a check for validity across the board during the enumeration stage.
that worked! thank you!