davinci: Add init.recovery.qcom.rc

Change-Id: Ib6904420afbb15f81b6a238225f75165d1f09257
This commit is contained in:
Arian 2020-05-01 13:36:04 +02:00
parent 3eefee6e89
commit aa57d3d050
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9
3 changed files with 19 additions and 0 deletions

View File

@ -288,6 +288,9 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
librecovery_updater_xiaomi
PRODUCT_PACKAGES += \
init.recovery.qcom.rc
# RenderScript
PRODUCT_PACKAGES += \
android.hardware.renderscript@1.0-impl

9
rootdir/Android.mk Normal file
View File

@ -0,0 +1,9 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.qcom.rc
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.recovery.qcom.rc
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)
include $(BUILD_PREBUILT)

View File

@ -0,0 +1,7 @@
on fs
wait /dev/block/platform/soc/${ro.boot.bootdevice}
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
on init
setprop sys.usb.configfs 1
setprop sys.usb.controller ${ro.boot.usbcontroller}