Permalink
Browse files

vendor: Switch to Magisk as the built in root [1/2]

Adapted for aicp
Credits to topjohnwu for Magisk.

Change-Id: I4bfd62ba120055215f187c4e9690f16b98c0e472
  • Loading branch information...
Miccia94 authored and Drgravy committed Feb 6, 2017
1 parent 284bd7e commit c29c8d325f5963d64a6fdd2dc1227decba99cafc
@@ -119,10 +119,9 @@ ifneq ($(TARGET_DISABLE_CMSDK), true)
include vendor/aicp/configs/cmsdk_common.mk
endif
# SuperSU
#PRODUCT_COPY_FILES += \
# vendor/aicp/prebuilt/common/UPDATE-SuperSU.zip:system/addon.d/UPDATE-SuperSU.zip \
# vendor/aicp/prebuilt/common/etc/init.d/99SuperSUDaemon:system/etc/init.d/99SuperSUDaemon
# Copy Magisk zip
PRODUCT_COPY_FILES += \
vendor/aicp/prebuilt/common/magisk.zip:system/addon.d/magisk.zip
# Copy latinime for gesture typing
#PRODUCT_COPY_FILES += \
@@ -98,10 +98,9 @@ ifneq ($(TARGET_DISABLE_CMSDK), true)
include vendor/aicp/configs/cmsdk_common.mk
endif
# SuperSU
#PRODUCT_COPY_FILES += \
# vendor/aicp/prebuilt/common/UPDATE-SuperSU.zip:system/addon.d/UPDATE-SuperSU.zip \
# vendor/aicp/prebuilt/common/etc/init.d/99SuperSUDaemon:system/etc/init.d/99SuperSUDaemon
# Copy Magisk zip
PRODUCT_COPY_FILES += \
vendor/aicp/prebuilt/common/magisk.zip:system/addon.d/magisk.zip
# Copy latinime for gesture typing
#PRODUCT_COPY_FILES += \
@@ -47,7 +47,6 @@ PRODUCT_PACKAGES += \
PhotoPhase \
procmem \
procrank \
Superuser \
Torch \
VisualizationWallpapers
@@ -149,3 +148,7 @@ PRODUCT_PACKAGES += \
# OMS Verified
PRODUCT_PROPERTY_OVERRIDES := \
ro.substratum.verified=true
# Magisk Manager
PRODUCT_PACKAGES += \
MagiskManager
@@ -64,3 +64,13 @@ include $(BUILD_PREBUILT)
#LOCAL_MODULE_SUFFIX := .jar
#LOCAL_MODULE_CLASS := JAVA_LIBRARIES
#include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := MagiskManager
LOCAL_MODULE_OWNER := aicp
LOCAL_SRC_FILES := common/app/$(LOCAL_MODULE).apk
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_SUFFIX := .apk
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
include $(BUILD_PREBUILT)
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit c29c8d3

Please sign in to comment.