universal7580: Set sys.usb.ffs.aio_compat in recovery as well
authorNolen Johnson <johnsonnolen@gmail.com>
Sat, 27 Jul 2019 23:21:29 +0000 (23:21 +0000)
committerJan Altensen <info@stricted.net>
Fri, 16 Aug 2019 21:23:23 +0000 (23:23 +0200)
Change-Id: I36d76f74ceae3029f49c3cb564cd876bbb6b5b81

device-common.mk
ramdisk/Android.mk
ramdisk/etc/init.recovery.samsungexynos7580.rc [new file with mode: 0644]

index 7f2edb9c2a81eab3b811f843d96a9904e6d757cc..fb6a9fb2296aa601831f01af4dde4bd5dd4a5633 100644 (file)
@@ -126,6 +126,7 @@ PRODUCT_PACKAGES += \
     init.samsung.rc \
     init.samsungexynos7580.rc \
     init.samsungexynos7580.usb.rc \
+    init.recovery.samsungexynos7580.rc \
     init.wifi.rc \
     ueventd.samsungexynos7580.rc
 
index ad5a41162ff3fc2c7005b80cb8d581e6b563abc0..9f16216a7c133124f161950065b69389a2f889e5 100644 (file)
@@ -34,6 +34,14 @@ LOCAL_SRC_FILES         := etc/init.wifi.rc
 LOCAL_MODULE_PATH       := $(TARGET_ROOT_OUT)
 include $(BUILD_PREBUILT)
 
+include $(CLEAR_VARS)
+LOCAL_MODULE           := init.recovery.samsungexynos7580.rc
+LOCAL_MODULE_TAGS      := optional eng
+LOCAL_MODULE_CLASS     := ETC
+LOCAL_SRC_FILES                := etc/init.recovery.samsungexynos7580.rc
+LOCAL_MODULE_PATH      := $(TARGET_ROOT_OUT)
+include $(BUILD_PREBUILT)
+
 include $(CLEAR_VARS)
 LOCAL_MODULE           := init.samsungexynos7580.usb.rc
 LOCAL_MODULE_TAGS      := optional eng
diff --git a/ramdisk/etc/init.recovery.samsungexynos7580.rc b/ramdisk/etc/init.recovery.samsungexynos7580.rc
new file mode 100644 (file)
index 0000000..a404173
--- /dev/null
@@ -0,0 +1,2 @@
+on fs
+    setprop sys.usb.ffs.aio_compat 1