Skip to content

Commit e893bb0

Browse files
authored
Add --system-server-max-retry argument in service mode (#511)
User reports that system server injection can still fail even when the daemon is started in service mode. Hence, we add argument `--system-server-max-retry=3` to address this problem.
1 parent 4cec46a commit e893bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

magisk-loader/magisk_module/service.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ MODDIR=${0%/*}
2222
cd "$MODDIR"
2323

2424
# To avoid delaying the normal mount timing of zygote, we start LSPosed service daemon in late_start service mode instead of post-fs-data mode
25-
unshare --propagation slave -m sh -c "$MODDIR/daemon $@&"
25+
unshare --propagation slave -m sh -c "$MODDIR/daemon --system-server-max-retry=3 $@&"

0 commit comments

Comments
 (0)