File tree Expand file tree Collapse file tree 5 files changed +44
-0
lines changed
META-INF/com/google/android Expand file tree Collapse file tree 5 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /sbin/sh
2+
3+ # ################
4+ # Initialization
5+ # ################
6+
7+ umask 022
8+
9+ # echo before loading util_functions
10+ ui_print () { echo " $1 " ; }
11+
12+ require_new_magisk () {
13+ ui_print " *******************************"
14+ ui_print " Please install Magisk v20.4+! "
15+ ui_print " *******************************"
16+ exit 1
17+ }
18+
19+ # ########################
20+ # Load util_functions.sh
21+ # ########################
22+
23+ OUTFD=$2
24+ ZIPFILE=$3
25+
26+ mount /data 2> /dev/null
27+
28+ [ -f /data/adb/magisk/util_functions.sh ] || require_new_magisk
29+ . /data/adb/magisk/util_functions.sh
30+ [ $MAGISK_VER_CODE -lt 20400 ] && require_new_magisk
31+
32+ install_module
33+ exit 0
Original file line number Diff line number Diff line change 1+ #MAGISK
Original file line number Diff line number Diff line change 1+ id=hpesuperpower
2+ name=HPE Superpower
3+ version=1.0.0
4+ versionCode=1
5+ author=ChsBuffer
6+ description=remove no_install_unknown_sources_globally restriction
Original file line number Diff line number Diff line change 1+ #! /sbin/sh
2+
3+ MODDIR=${0%/* }
4+ exec /system/bin/app_process -cp ${MODDIR} /superpower.apk /sdcard Superpower
You can’t perform that action at this time.
0 commit comments