Build OpenEUICC #13

Closed
opened 2024-02-19 17:15:19 +01:00 by moon-cacke · 3 comments

Hello,

First thank you a lot for your amazing work your app is super useful :)

There is a magisk module that uses OpenEUICC signed with android test key... buy the app is outdated... I don't often have an android build environment... can you please release an apk for OpenEUICC similar to what you do with EasyEUICC, I know it need to be signed with the system key, but most custom roms uses the android test key.

Plus it will be super useful for test purpose, and more than that we can still resign the built app with a different key.

Thanks a lot for your consideration :)

Hello, First thank you a lot for your amazing work your app is super useful :) There is a magisk module that uses OpenEUICC signed with android test key... buy the app is outdated... I don't often have an android build environment... can you please release an apk for OpenEUICC similar to what you do with EasyEUICC, I know it need to be signed with the system key, but most custom roms uses the android test key. Plus it will be super useful for test purpose, and more than that we can still resign the built app with a different key. Thanks a lot for your consideration :)
Owner

I have just updated the README.md for this yesterday -- you can find a debug mode apk for both OpenEUICC and EasyEUICC inside the "Actions" tab in this repository. No release build is planned, but you should be able to use the debug apk just fine.

Also, it looks like the app might just need to live in priv-app and have the correct privapp-permissions XML file. It may not actually need to be signed by the platform certificate, but I have not tested this claim.

I have just updated the README.md for this yesterday -- you can find a **debug** mode apk for both OpenEUICC and EasyEUICC inside the "Actions" tab in this repository. No release build is planned, but you should be able to use the debug apk just fine. Also, it looks like the app might just need to live in `priv-app` and have the correct `privapp-permissions` XML file. It may not actually need to be signed by the platform certificate, but I have not tested this claim.
Author

@PeterCxy Wow, amazing ! thanks a lot :) 👍

@PeterCxy Wow, amazing ! thanks a lot :) 👍
Author

As a side note yes indeed it does not need to be signed with the system...

The app need to be on 'priv-app' indeed (plus chmod 755)
/system_ext/priv-app/OpenEUICC/OpenEUICC.apk or
/system/priv-app/OpenEUICC/OpenEUICC.apk

And here is the permission file if anyone need it (plus chmod 644) /system_ext/etc/permissions/openeuicc.xml or /system/etc/permissions/ope euicc.xml

<?xml version="1.0" encoding="utf-8"?>
<permissions>
    <privapp-permissions package="im.angry.openeuicc">
        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
        <permission name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS" />
        <permission name="android.permission.MODIFY_PHONE_STATE" />
        <permission name="android.permission.SECURE_ELEMENT_PRIVILEGED_OPERATION" />
    </privapp-permissions>
</permissions>
As a side note yes indeed it does not need to be signed with the system... The app need to be on 'priv-app' indeed (plus `chmod 755`) `/system_ext/priv-app/OpenEUICC/OpenEUICC.apk` or `/system/priv-app/OpenEUICC/OpenEUICC.apk` And here is the permission file if anyone need it (plus `chmod 644`) `/system_ext/etc/permissions/openeuicc.xml` or `/system/etc/permissions/ope euicc.xml` ``` <?xml version="1.0" encoding="utf-8"?> <permissions> <privapp-permissions package="im.angry.openeuicc"> <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE" /> <permission name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS" /> <permission name="android.permission.MODIFY_PHONE_STATE" /> <permission name="android.permission.SECURE_ELEMENT_PRIVILEGED_OPERATION" /> </privapp-permissions> </permissions> ```
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: PeterCxy/OpenEUICC#13
No description provided.