summarylogtreecommitdiffstats
path: root/magisk-init-rc.patch
blob: d812afb1c8ec7a2136b9604bc4aeb34ff0d93435 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/squashfs-root/init.rc
+++ b/squashfs-root/init.rc
@@ -668,3 +668,12 @@
 service flash_recovery /system/bin/install-recovery.sh
     class main
     oneshot
+
+on property:dev.bootcomplete=1
+    start magisk
+
+service magisk /system/bin/init-magisk.sh
+    class main
+    user root
+    group root
+    oneshot
\ No newline at end of file