Remove supolicy commands, use magisk-custom-sepolicy-installer instead
This commit is contained in:
parent
b9b10b510e
commit
dd042478d7
|
|
@ -1,4 +1,4 @@
|
||||||
version: '0.4.5.5_beta({build})'
|
version: '0.4.6.0_beta({build})'
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
ANDROID_HOME: C:\android-sdk-windows
|
ANDROID_HOME: C:\android-sdk-windows
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import org.gradle.internal.os.OperatingSystem
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
// Values set here will be overriden by AppVeyor, feel free to modify during development.
|
// Values set here will be overriden by AppVeyor, feel free to modify during development.
|
||||||
def buildVersionName = 'v0.4.5.5_beta'
|
def buildVersionName = 'v0.4.6.0_beta'
|
||||||
def buildVersionCode = 10000
|
def buildVersionCode = 10000
|
||||||
|
|
||||||
if (System.env.APPVEYOR_BUILD_VERSION != null) {
|
if (System.env.APPVEYOR_BUILD_VERSION != null) {
|
||||||
|
|
|
||||||
|
|
@ -7,18 +7,18 @@ MODDIR=${0%/*}
|
||||||
# More info in the main Magisk thread
|
# More info in the main Magisk thread
|
||||||
|
|
||||||
# necessary for using mmap in system_server process
|
# necessary for using mmap in system_server process
|
||||||
supolicy --live "allow system_server system_server process {execmem}"
|
#supolicy --live "allow system_server system_server process {execmem}"
|
||||||
# supolicy --live "allow system_server system_server memprotect {mmap_zero}"
|
# supolicy --live "allow system_server system_server memprotect {mmap_zero}"
|
||||||
|
|
||||||
# for built-in apps // TODO maybe narrow down the target classes
|
# for built-in apps // TODO maybe narrow down the target classes
|
||||||
supolicy --live "allow coredomain coredomain process {execmem}"
|
#supolicy --live "allow coredomain coredomain process {execmem}"
|
||||||
|
|
||||||
# read configs set in our app
|
# read configs set in our app
|
||||||
supolicy --live "allow coredomain app_data_file * *"
|
#supolicy --live "allow coredomain app_data_file * *"
|
||||||
supolicy --live "attradd {system_app platform_app} mlstrustedsubject"
|
#supolicy --live "attradd {system_app platform_app} mlstrustedsubject"
|
||||||
|
|
||||||
# read module apk file in zygote
|
# read module apk file in zygote
|
||||||
supolicy --live "allow zygote apk_data_file * *"
|
#supolicy --live "allow zygote apk_data_file * *"
|
||||||
|
|
||||||
. ${MODDIR}/util_functions.sh
|
. ${MODDIR}/util_functions.sh
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue