OpenEUICC app(13M version) won't start after Feb 19th commit for Android 14 #17
Loading…
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?
OpenEUICC app(13M version) won't start after Feb 19th commit for Android 14. Only 12M version works now. thanks
I don't understand what any of this issue means.
@PeterCxy I guess @gbridge888 is referring to the size of the apk (debug version built under action)
@gbridge888 the issue is too broad can you provide some logcat and link the exact commit that introduced the FC.
Here is the logcat for the release with the following commit date and all later releases failed to start OpenEUICC too. The device is Pixel Pro 6 / Android 14
commit
c033ef5ba9
(HEAD)Author: Peter Cai peter@typeblog.net
Date: Wed Feb 21 21:09:20 2024 -0500
=========================================================
03-01 11:04:02.143 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: No UICC
03-01 11:04:02.144 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: No UICC
03-01 11:04:02.144 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: No UICC
03-01 11:04:02.145 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: No UICC
03-01 11:04:02.145 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: No UICC
03-01 11:04:02.145 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: No UICC
03-01 11:04:02.146 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: No UICC
03-01 11:04:02.146 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: No UICC
03-01 11:04:02.147 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: No UICC
03-01 11:04:02.147 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: No UICC
03-01 11:04:02.150 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: CommandException: com.android.internal.telephony.CommandException: INVALID_ARGUMENTS
03-01 11:04:02.205 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: CommandException: com.android.internal.telephony.CommandException: INTERNAL_ERR
03-01 11:04:02.213 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: CommandException: com.android.internal.telephony.CommandException: INTERNAL_ERR
03-01 11:04:02.222 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: CommandException: com.android.internal.telephony.CommandException: INTERNAL_ERR
03-01 11:04:02.230 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: CommandException: com.android.internal.telephony.CommandException: INTERNAL_ERR
03-01 11:04:02.240 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: CommandException: com.android.internal.telephony.CommandException: INTERNAL_ERR
03-01 11:04:02.247 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: CommandException: com.android.internal.telephony.CommandException: INTERNAL_ERR
03-01 11:04:02.256 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: CommandException: com.android.internal.telephony.CommandException: INTERNAL_ERR
03-01 11:04:02.263 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: CommandException: com.android.internal.telephony.CommandException: INTERNAL_ERR
03-01 11:04:02.272 2419 2419 E PhoneInterfaceManager: iccCloseLogicalChannel: CommandException: com.android.internal.telephony.CommandException: INTERNAL_ERR
03-01 11:04:02.357 2419 2460 E PhoneInterfaceManager: The calling package is not allowed to access ISD-R.
03-01 11:04:02.413 17181 17181 E AndroidRuntime: FATAL EXCEPTION: main
03-01 11:04:02.413 17181 17181 E AndroidRuntime: Process: im.angry.openeuicc, PID: 17181
03-01 11:04:02.413 17181 17181 E AndroidRuntime: java.lang.NullPointerException: Attempt to get length of null array
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at java.io.ByteArrayInputStream.(ByteArrayInputStream.java:108)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at net.typeblog.lpac_jni.impl.RootCertificatesKt.getCertificate(RootCertificates.kt:12)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at net.typeblog.lpac_jni.impl.RootCertificatesKt.keyIdToKeystore(RootCertificates.kt:22)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at net.typeblog.lpac_jni.impl.HttpInterfaceImpl.usePublicKeyIds(HttpInterfaceImpl.kt:61)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at net.typeblog.lpac_jni.impl.LocalProfileAssistantImpl.(LocalProfileAssistantImpl.kt:31)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at im.angry.openeuicc.core.OmapiChannel.(OmapiApduInterface.kt:56)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at im.angry.openeuicc.core.EuiccChannelManager.tryOpenEuiccChannelUnprivileged(EuiccChannelManager.kt:52)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at im.angry.openeuicc.core.EuiccChannelManager.tryOpenEuiccChannel(EuiccChannelManager.kt:82)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at im.angry.openeuicc.core.EuiccChannelManager.access$tryOpenEuiccChannel(EuiccChannelManager.kt:16)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at im.angry.openeuicc.core.EuiccChannelManager$enumerateEuiccChannels$2.invokeSuspend(EuiccChannelManager.kt:144)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
03-01 11:04:02.413 17181 17181 E AndroidRuntime: Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@1ffa7f, Dispatchers.Main.immediate]
03-01 11:04:02.429 599 789 E BpTransactionCompletedListener: Failed to transact (-32)
03-01 11:04:02.431 2335 16977 E SecureElement-Channel: binder:2335_A Client android.os.BinderProxy@6c3bf9b died
OpenEUICC has no permission to access the ISD-R channel on your device. You need to either place OpenEUICC inside /system/priv-app, or sign the app with platform certificate, or both. You might also need to add the privapp-permissions.xml available in the root of this repository.
APKs provided under Actions are built and signed with my signatures, and they are probably different from whatever you used before (because there were no builds provided by me until Actions became available). These APKs are provided as a courtesy and with absolutely no support. You will need to figure out exactly why your ROM did not grant necessary permissions to your OpenEUICC install.
Thanks for you answers, here are some information I provided for your references:
I did build the OpenEUICC apk all the time and install it in /system/priv-app with proper permission for all the previous releases and works without crash before Feb 21 releases all the times.
I did check previous working version and saw the message for no permission to access ISD-R channel, but it won't crash and can download/upload esim QR codes without issue.
I am not sure what're the changes for the versions after Feb. 19, but it caused the crash. But the previous versions worked. thanks again!
03-01 11:04:02.413 17181 17181 E AndroidRuntime: FATAL EXCEPTION: main
03-01 11:04:02.413 17181 17181 E AndroidRuntime: Process: im.angry.openeuicc, PID: 17181
03-01 11:04:02.413 17181 17181 E AndroidRuntime: java.lang.NullPointerException: Attempt to get length of null array
@gbridge888 Fixed. Seems to be an oversight because I do not have non-GSMA CI eUICC cards.