From e7552f50e524cc4b4a775a462350d36bb83cf8f3 Mon Sep 17 00:00:00 2001
From: Pawit Pornkitprasan
Date: Sun, 20 Nov 2011 21:41:48 +0700
Subject: Add USB support
---
galaxysmtd.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/galaxysmtd.mk b/galaxysmtd.mk
index 0a8a527..c6e73b8 100644
--- a/galaxysmtd.mk
+++ b/galaxysmtd.mk
@@ -50,6 +50,7 @@ PRODUCT_COPY_FILES := \
# Init files
PRODUCT_COPY_FILES += \
device/samsung/aries-common/init.aries.rc:root/init.aries.rc \
+ device/samsung/aries-common/init.aries.usb.rc:root/init.aries.usb.rc \
device/samsung/aries-common/lpm.rc:root/lpm.rc \
device/samsung/aries-common/ueventd.aries.rc:root/ueventd.aries.rc \
device/samsung/aries-common/setupenv.sh:recovery/root/sbin/setupenv.sh
@@ -156,6 +157,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.checkjni=false \
persist.sys.vold.switchexternal=1
+# Set default USB interface
+PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
+ persist.sys.usb.config=mtp
+
# we have enough storage space to hold precise GC data
PRODUCT_TAGS += dalvik.gc.type-precise
--
cgit v1.1