Skip to content

Commit

Permalink
breeze: Enable USB ConfigFS in recovery mode
Browse files Browse the repository at this point in the history
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I0e7385500a53cbe56bfca66f3c648ca45ad02c5b
  • Loading branch information
bengris32 authored and Hadenix committed Oct 9, 2023
1 parent 14af665 commit 8994c08
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ PRODUCT_PACKAGES += \
fstab.mt6763 \
ueventd.mt6763.rc

PRODUCT_PACKAGES += \
init.recovery.mt6763.rc

# RCS
PRODUCT_PACKAGES += \
com.android.ims.rcsmanager \
Expand Down
9 changes: 9 additions & 0 deletions recovery/Android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.mt6763.rc
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := root/init.recovery.mt6763.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
2 changes: 2 additions & 0 deletions recovery/root/init.recovery.mt6763.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
on init
setprop sys.usb.configfs 1

0 comments on commit 8994c08

Please sign in to comment.