init: include more services in TWRP by default
vndservicemanager should be included with crypto support boot and health services are needed for bootctrl and fastbootd hwservicemanager and servicemanager should be included regardless of crypto status Change-Id: Ie76dac11b733c4549c2d55301cf614fe82905884
This commit is contained in:
committed by
bigbiff
parent
8bd1ac5f7c
commit
49df5475db
+6
-4
@@ -146,7 +146,7 @@ endif
|
||||
ifeq ($(AB_OTA_UPDATER),true)
|
||||
LOCAL_CFLAGS += -DAB_OTA_UPDATER=1
|
||||
LOCAL_SHARED_LIBRARIES += libhardware android.hardware.boot@1.0
|
||||
TWRP_REQUIRED_MODULES += libhardware
|
||||
TWRP_REQUIRED_MODULES += libhardware android.hardware.boot@1.0-service android.hardware.boot@1.0-service.rc
|
||||
endif
|
||||
|
||||
ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true)
|
||||
@@ -390,22 +390,24 @@ TWRP_REQUIRED_MODULES += \
|
||||
init.recovery.hlthchrg.rc \
|
||||
init.recovery.service.rc \
|
||||
init.recovery.ldconfig.rc \
|
||||
hwservicemanager \
|
||||
hwservicemanager.rc \
|
||||
servicemanager \
|
||||
servicemanager.rc \
|
||||
awk \
|
||||
toybox \
|
||||
toolbox \
|
||||
mkshrc_twrp \
|
||||
android.hardware.health@2.0-service
|
||||
android.hardware.health@2.0-service \
|
||||
android.hardware.health@2.0-service.rc
|
||||
|
||||
ifneq ($(TW_INCLUDE_CRYPTO),)
|
||||
TWRP_REQUIRED_MODULES += \
|
||||
plat_service_contexts \
|
||||
plat_hwservice_contexts \
|
||||
vendor_hwservice_contexts \
|
||||
hwservicemanager \
|
||||
servicemanager \
|
||||
vndservicemanager \
|
||||
vndservicemanager.rc \
|
||||
vold_prepare_subdirs \
|
||||
task_recovery_profiles.json \
|
||||
fscryptpolicyget
|
||||
|
||||
Reference in New Issue
Block a user