From 0f61c627b15a50af56a9cceb3ee69e98dea3ce82 Mon Sep 17 00:00:00 2001 From: corsicanu Date: Sun, 17 Feb 2019 17:34:22 +0200 Subject: [PATCH] Support deodexed ROM on Pie (Samsung) - cc @abrahamgcc --- native/jni/magiskpolicy/rules.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/native/jni/magiskpolicy/rules.cpp b/native/jni/magiskpolicy/rules.cpp index 622a5e7af..e9907a104 100644 --- a/native/jni/magiskpolicy/rules.cpp +++ b/native/jni/magiskpolicy/rules.cpp @@ -175,6 +175,10 @@ void sepol_magisk_rules() { // Support deodexed ROM on Oreo sepol_allow("zygote", "dalvikcache_data_file", "file", "execute"); + // Support deodexed ROM on Pie (Samsung) + sepol_allow("system_server", "dalvikcache_data_file", "file", "write"); + sepol_allow("system_server", "dalvikcache_data_file", "file", "execute"); + // Allow update engine to source addon.d.sh sepol_allow("update_engine", "adb_data_file", "dir", ALL);