Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
soralis0912 committed Jan 27, 2024
0 parents commit 436ce3a
Show file tree
Hide file tree
Showing 16 changed files with 173 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
workflow_dispatch:
branches-ignore:
- '**'
tags:
- 'v*'
create:
branches-ignore:
- '**'
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: 'magisk-module-googleeuicc.zip'
exclusions: '*.git*'
- name: Upload Release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "magisk-module-googleeuicc.zip"
token: ${{ secrets.GITHUB_TOKEN }}
33 changes: 33 additions & 0 deletions META-INF/com/google/android/update-binary
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/sbin/sh

#################
# Initialization
#################

umask 022

# echo before loading util_functions
ui_print() { echo "$1"; }

require_new_magisk() {
ui_print "*******************************"
ui_print " Please install Magisk v20.4+! "
ui_print "*******************************"
exit 1
}

#########################
# Load util_functions.sh
#########################

OUTFD=$2
ZIPFILE=$3

mount /data 2>/dev/null

[ -f /data/adb/magisk/util_functions.sh ] || require_new_magisk
. /data/adb/magisk/util_functions.sh
[ $MAGISK_VER_CODE -lt 20400 ] && require_new_magisk

install_module
exit 0
1 change: 1 addition & 0 deletions META-INF/com/google/android/updater-script
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#MAGISK
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Magisk module to add GoogleEuicc Manager.
6 changes: 6 additions & 0 deletions module.prop
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
id=googleeuicc
name=GoogleEuicc
version=v01
versionCode=1
author=soralis0912
description=Add GoogleEuicc for eSIM
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
14 changes: 14 additions & 0 deletions system/etc/felica/common.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
00000001,100008
00000002,000068
00000003,com.android.chrome
00000004,com.android.vending
00000005,1
00000010,1
00000011,eSE1
02020001,3031333030360000000000
02030001,0
02030002,0
02030003,intent:#Intent;action=android.settings.NFC_SETTINGS;end
00000012,1
00000013,1
00000016,0001
29 changes: 29 additions & 0 deletions system/etc/felica/mfm.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
02030201,3000
02030202,0
02030304,30000
02030306,60000
02030308,60000
02030309,D78810210439CEACCCD1E56E0BF8D09F
0203030A,https://ms.fnopf.jp/ws/trouble
0203030B,30000
0203030C,Asia/Tokyo
02030311,0001
02030312,30000
02030313,60000
02030314,60000
02030316,30000
02030319,30000
0203031A,30000
02030501,0
02030601,com.felicanetworks.mfs
02030602,com.felicanetworks.mfs.MobileFeliCaSettings
02030607,com.felicanetworks.mfm.START
02030702,10000
02030703,10000
02030704,10000
02030801,MIIB4DCB2BYEMDAwMRYCMDIWBjAwMDAwMBYMU04wMDAwMDAxMzA5FgQwMDAwMCoYEzIwMTAwNzA3MDAwMDAwKzA5MDAYEzIwOTkxMjMxMDAwMDAwKzA5MDAWCFNWMDAwMDAzFgAweDASFgQwMDAxBAowCBYGMTAwMDA4MDQWBDAwMDIELDAqBAIAAQQCAAMwIDAeFgRGRkZGMBYwFBYIMDAwMDAwMDAWCEZGRkZGRkZGMCwWBDAwMDQEJDAiBCC+Udv0/sib0yhGRXsTtzAIdq9VlNKHTe4CaQSWWuSmywOCAQEATm92Zj58RmAyhXILb1TP2fh/1ZIn624h22hQHdJGxG+oIJc47fo3sJukbXLip6I4VhELwFQmLhmhdj6uryHYDNE+szKJoBB2mctd0F7GJwuENm6AUhsYIYV0xb7Lt7wybb4RUkmiZPd6tMJUfmAJVEa6IuHYcXl+vz/Lpu+2fmIq3I9dI9uEHDDQb0QiP5xCRK5YHSk9ncCZngf/ZOP0/UVFzJsrOlgBLtna+sbZpmAIWNs3E9Rg6a6YirCDOpuZ7FpSc1WyqgFgqkTCEf4QFPMQsww1Nq3ptKB74zpitPbcP2qNyGIc5Eiim97UfN4xOqi3tCsY5ulAUZfMtKft4g==
02030906,1
02030A01,com.felicanetworks.mfm.main
02030A02,com.felicanetworks.mfm.main.ServiceListActivity
02030A03,BE51DBF4FEC89BD32846457B13B7300876AF5594D2874DEE026904965AE4A6CB
02030A04,market://details?id=com.felicanetworks.mfm.main
14 changes: 14 additions & 0 deletions system/etc/felica/mfs.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
02020201,3000
02020202,0
0202030A,https://ms.fnopf.jp/ws/trouble
0202030B,30000
0202030C,Asia/Tokyo
0202030D,https://int.fnrs.jp/ios/auth?cid=C0
0202030E,60000
0202030F,00
02020315,60000
02020316,30000
02020317,720
02020501,0
02020801,0
02020A04,market://details?id=com.felicanetworks.mfm.main
21 changes: 21 additions & 0 deletions system/etc/permissions/android.hardware.nfc.ese.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<!-- This feature indicates that the device supports eSE-based NFC card
emulation -->
<permissions>
<feature name="android.hardware.nfc.ese" />
</permissions>
21 changes: 21 additions & 0 deletions system/etc/permissions/android.hardware.se.omapi.ese.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<!-- This feature indicates that the device supports The device supports
Open Mobile API capable ESE-based secure elements-->
<permissions>
<feature name="android.hardware.se.omapi.ese" />
</permissions>
5 changes: 5 additions & 0 deletions system/etc/sysconfig/android.hardware.telephony.euicc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Feature for devices with an eUICC. -->
<config>
<feature name="android.hardware.telephony.euicc" />
</config>
Binary file added system/priv-app/EuiccGoogle/EuiccGoogle.apk
Binary file not shown.

0 comments on commit 436ce3a

Please sign in to comment.