From 8dc23d0eadf22b62bd55fbce8502c33196833486 Mon Sep 17 00:00:00 2001 From: Wang Han <416810799@qq.com> Date: Sat, 16 Aug 2025 13:44:19 +0800 Subject: [PATCH] Avoid triggering magisk --zygote-restart twice We have already used on restart keyword to inject zygote restart, so triggering it here on prop is not needed. --- native/src/init/rootdir.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/native/src/init/rootdir.rs b/native/src/init/rootdir.rs index 9f2c4a7f8..788847e69 100644 --- a/native/src/init/rootdir.rs +++ b/native/src/init/rootdir.rs @@ -32,9 +32,6 @@ on nonencrypted on property:sys.boot_completed=1 exec {0} 0 0 -- {1}/magisk --boot-complete - -on property:init.svc.zygote=stopped - exec {0} 0 0 -- {1}/magisk --zygote-restart "#, "u:r:magisk:s0", tmp_dir )