Preload modules

This commit is contained in:
Nullptr
2023-01-31 18:40:49 +08:00
parent d7877ea959
commit 335a1c3437
8 changed files with 33 additions and 20 deletions

View File

@@ -49,6 +49,7 @@ ui_print "- Extracting module files"
extract "$ZIPFILE" 'daemon.sh' "$MODPATH"
extract "$ZIPFILE" 'module.prop' "$MODPATH"
extract "$ZIPFILE" 'post-fs-data.sh' "$MODPATH"
extract "$ZIPFILE" 'sepolicy.rule' "$MODPATH"
extract "$ZIPFILE" 'service.sh' "$MODPATH"
HAS32BIT=false && [ -d "/system/lib" ] && HAS32BIT=true

2
module/src/sepolicy.rule Normal file
View File

@@ -0,0 +1,2 @@
allow * tmpfs * *
allow system_server system_server process execmem