add fascinatemtd target
diff --git a/overlay/fascinatemtd/frameworks/base/core/res/res/values/config.xml b/overlay/fascinatemtd/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..8b667e7
--- /dev/null
+++ b/overlay/fascinatemtd/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2009, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+<resources>
+
+ <!-- Component name of the default wallpaper. This will be ImageWallpaper if not
+ specified -->
+ <string name="default_wallpaper_component">com.android.wallpaper/.nexus.NexusWallpaper</string>
+
+</resources>
diff --git a/overlay/fascinatemtd/packages/apps/CMParts/res/values/config.xml b/overlay/fascinatemtd/packages/apps/CMParts/res/values/config.xml
new file mode 100644
index 0000000..357f4bf
--- /dev/null
+++ b/overlay/fascinatemtd/packages/apps/CMParts/res/values/config.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <!-- Whether or not to display the trackball settings -->
+ <bool name="has_trackball">false</bool>
+ <bool name="has_rgb_notification_led">false</bool>
+ <bool name="has_camera_button">false</bool>
+ <bool name="has_led_flash">true</bool>
+ <bool name="has_search_button">true</bool>
+</resources>
diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk
index 44d169c..fcb0549 100644
--- a/products/AndroidProducts.mk
+++ b/products/AndroidProducts.mk
@@ -13,6 +13,7 @@
$(LOCAL_DIR)/cyanogen_droid2.mk \
$(LOCAL_DIR)/cyanogen_encore.mk \
$(LOCAL_DIR)/cyanogen_espresso.mk \
+ $(LOCAL_DIR)/cyanogen_fascinatemtd.mk \
$(LOCAL_DIR)/cyanogen_hero.mk \
$(LOCAL_DIR)/cyanogen_heroc.mk \
$(LOCAL_DIR)/cyanogen_inc.mk \
diff --git a/products/cyanogen_fascinatemtd.mk b/products/cyanogen_fascinatemtd.mk
new file mode 100644
index 0000000..a257984c
--- /dev/null
+++ b/products/cyanogen_fascinatemtd.mk
@@ -0,0 +1,40 @@
+# Inherit AOSP device configuration for fascinatemtd.
+$(call inherit-product, device/samsung/fascinatemtd/full_fascinatemtd.mk)
+
+# Inherit some common cyanogenmod stuff.
+$(call inherit-product, vendor/cyanogen/products/common_full.mk)
+
+#
+# Setup device specific product configuration.
+#
+PRODUCT_NAME := cyanogen_fascinatemtd
+PRODUCT_BRAND := samsung
+PRODUCT_DEVICE := fascinatemtd
+PRODUCT_MODEL := SCH-I500
+PRODUCT_MANUFACTURER := samsung
+PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=soju BUILD_ID=GRJ22 BUILD_DISPLAY_ID=GRJ22 BUILD_FINGERPRINT=google/soju/crespo:2.3.4/GRJ22/121341:user/release-keys PRIVATE_BUILD_DESC="soju-user 2.3.4 GRJ22 121341 release-keys"
+
+# Extra fascinatemtd overlay
+PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/fascinatemtd
+
+#
+# Set ro.modversion
+#
+ifdef CYANOGEN_NIGHTLY
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-Fascinate
+else
+ ifdef CYANOGEN_RELEASE
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-7.1.0-Fascinate
+ else
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-7.1.0-Fascinate-KANG-$(shell date +%m%d)
+ endif
+endif
+
+#
+# Copy galaxys specific prebuilt files
+#
+PRODUCT_COPY_FILES += \
+ vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip
diff --git a/vendorsetup.sh b/vendorsetup.sh
index 6a08d27..8947dfe 100644
--- a/vendorsetup.sh
+++ b/vendorsetup.sh
@@ -12,6 +12,7 @@
add_lunch_combo cyanogen_droid2-eng
add_lunch_combo cyanogen_encore-eng
add_lunch_combo cyanogen_espresso-eng
+add_lunch_combo cyanogen_fascinatemtd-eng
add_lunch_combo cyanogen_galaxysmtd-eng
add_lunch_combo cyanogen_generic-eng
add_lunch_combo cyanogen_glacier-eng