Skip to content
Browse files

Add USB support

  • Loading branch information...
1 parent 4f2ef31 commit e7552f50e524cc4b4a775a462350d36bb83cf8f3 @pawitp pawitp committed Nov 20, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 galaxysmtd.mk
View
5 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

0 comments on commit e7552f5

Please sign in to comment.
Something went wrong with that request. Please try again.