eSIM LPA (Local Profile Assistant) implementation for Android. System privilege or ARA-M allowlisting required.
Peter Cai b2abe5ee84 ui: wizard: Make download details nullable | hai 3 días | |
---|---|---|
.forgejo | hai 6 meses | |
.idea | hai 6 días | |
app | hai 1 semana | |
app-common | hai 3 días | |
app-deps | hai 1 mes | |
app-unpriv | hai 3 días | |
art | hai 4 meses | |
buildSrc | hai 8 meses | |
gradle | hai 1 ano | |
libs | hai 4 días | |
.gitignore | hai 6 días | |
.gitmodules | hai 1 ano | |
Android.bp | hai 10 meses | |
Android.mk | hai 1 ano | |
LICENSE | hai 4 meses | |
README.md | hai 2 meses | |
build.gradle.kts | hai 10 meses | |
gradle.properties | hai 1 ano | |
gradlew | %!s(int64=2) %!d(string=hai) anos | |
gradlew.bat | %!s(int64=2) %!d(string=hai) anos | |
privapp_whitelist_im.angry.openeuicc.xml | hai 1 mes | |
settings.gradle.kts | hai 10 meses |
A fully free and open-source Local Profile Assistant implementation for Android devices.
There are two variants of this project:
/system/priv-app
and be signed with the platform certificate.T=0
readers that use the standard USB CCID protocol are supported. In this mode, EasyEUICC can access any eSIM chip loaded in the card reader regardless of their ARF/ARA, as long as they implement the SGP.22 standard.2A2FA878BC7C3354C2CF82935A5945A3EDAE4AFA
This project is Free Software licensed under GNU GPL v3, WITHOUT the "or later" clause. Any modification and derivative work MUST be released under the SAME license, which means, at the very least, that the source code MUST be available upon request.
If you are releasing a modification of this app, you are kindly asked to make changes to at least the app name and package name.
Make sure you have all submodules cloned and updated by running
git submodule update --init
A file keystore.properties
is required in the root directory. Template:
storePassword=my-store-password
keyPassword=my-password
keyAlias=my-key
unprivKeyPassword=my-unpriv-password
unprivKeyAlias=my-unpriv-key
storeFile=/path/to/android/keystore
Note that you must have a Java-compatible keystore generated first.
To build the privileged OpenEUICC:
./gradlew :app:assembleRelease
For EasyEUICC:
./gradlew :app-unpriv:assembleRelease
There are two ways to include OpenEUICC in your AOSP-based system image:
manifest.xml
is required, remember to set the sync-s
option to clone submodules.OpenEUICC
. You can include it in PRODUCT_PACKAGES
, or simply build it standalone using mm
.Android.bp
is provided for this case but it should be straightforward to write.privapp_whitelist_im.angry.openeuicc.xml
as well.A: Debug-mode APKs are available continuously as an artifact of the Actions CI used by this project. However, these debug-mode APKs are not intended for inclusion inside system images, nor are they supported by the developer in any sense. If you are a custom ROM developer, either include the entire OpenEUICC repository in your AOSP source tree, or generate an APK using gradle
and import that as a prebuilt system app. Note that you might want privapp_whitelist_im.angry.openeuicc.xml
as well.
Q: AOSP's Settings app seems to be confused by OpenEUICC (for example, disabling / enabling profiles from the Networks page do not work properly)
A: When your device has internal eSIM chip(s) and you have inserted a removable eSIM chip, the Settings app can misbehave since it was never designed for this scenario. Please prefer using OpenEUICC's own management interface whenever possible. In the future, there might be an option to exclude removable SIMs from being reported to the Android system.
Q: Can EasyEUICC manage my phone's internal eSIM?
A: No. For EasyEUICC to work, the eSIM chip MUST proactively grant access via its ARA-M field.
Q: Removable eSIMs? Are they a joke?
A: No, even though the name "removable embedded SIM" can sound like an oxymoron. In fact, there can be many advantages to these chips compared to fully embedded ones. For example, the ability to transfer eSIM profiles without carrier support or approval, or the ability to use eSIM on devices that do not and may never get the support, such as Wi-Fi hotspots.
Everything except libs/lpac-jni
and art/
:
Copyright 2022-2024 OpenEUICC contributors
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, version 3.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
libs/lpac-jni
:
Copyright (C) 2022-2024 OpenEUICC contributiors
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation, version 2.1.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
art/
: Courtesy of Aikoyori, CC NC-SA 4.0.