magisk metadata
This commit is contained in:
parent
a05290740c
commit
f38539f0ce
3 changed files with 40 additions and 0 deletions
33
META-INF/com/google/android/update-binary
Normal file
33
META-INF/com/google/android/update-binary
Normal file
|
@ -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
META-INF/com/google/android/updater-script
Normal file
1
META-INF/com/google/android/updater-script
Normal file
|
@ -0,0 +1 @@
|
||||||
|
#MAGISK
|
6
module.prop
Normal file
6
module.prop
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
id=s10e-volume
|
||||||
|
name=s10e-volume
|
||||||
|
version=v1.0
|
||||||
|
versionCode=1
|
||||||
|
author=caspervk
|
||||||
|
description=fix s10e call volume
|
Reference in a new issue