Skip to content

Commit

Permalink
Prepare for Project Kokoro
Browse files Browse the repository at this point in the history
To integrate Magisk using Project Kokoro, we wil have to make sure the init.*.rc get the right file and also start to copy the files if ANDROID_INTEGRATE_MAGISK return true
  • Loading branch information
hmtheboy154 committed Jan 30, 2022
1 parent 18feff7 commit 2a37e98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@ $(call inherit-product-if-exists, vendor/opengapps/gapps.mk)

endif

ifeq ($(ANDROID_INTEGRATE_MAGISK),true)
$(call inherit-product-if-exists, vendor/supremegamers/kokoro/kokoro.mk)
endif

# Boringdroid
$(call inherit-product-if-exists, vendor/boringdroid/boringdroid.mk)

Expand Down
4 changes: 2 additions & 2 deletions init.x86.rc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import /init.superuser.rc
import /init.kokoro.rc

on early-init
write /proc/sys/kernel/ctrl-alt-del 1
Expand Down Expand Up @@ -163,4 +163,4 @@ on property:persist.sys.nativebridge=0
stop nativebridge

on property:sys.boot_completed=1 && property:vendor.thermal.enable=1
start thermal-daemon
start thermal-daemon

0 comments on commit 2a37e98

Please sign in to comment.