Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #78 from C457/cm-10.1
Browse files Browse the repository at this point in the history
add device fascinate and epicmtd
  • Loading branch information
singhdd93 committed Mar 19, 2013
2 parents 9351452 + 688c6fe commit c150c16
Show file tree
Hide file tree
Showing 14 changed files with 235 additions and 0 deletions.
24 changes: 24 additions & 0 deletions dependencies/epicmtd.dependencies
@@ -0,0 +1,24 @@
[
{
"remote": "github",
"account": "CyanogenMod",
"repository": "android_kernel_samsung_epicmtd",
"target_path": "kernel/samsung/epicmtd",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "CyanogenMod",
"repository": "android_device_samsung_epicmtd",
"target_path": "device/samsung/epicmtd",
"revision": "cm-10.1"
},
{
"remote": "github",
"account": "CyanogenMod",
"repository": "android_hardware_samsung",
"target_path": "hardware/samsung",
"revision": "cm-10.1"
}

]
32 changes: 32 additions & 0 deletions dependencies/fascinatemtd.dependencies
@@ -0,0 +1,32 @@
[
{
"account": "CyanogenMod",
"repository": "android_device_samsung_fascinatemtd",
"target_path": "device/samsung/fascinatemtd",
"revision": "cm-10.1"
},
{
"account": "CyanogenMod",
"repository": "android_kernel_samsung_aries",
"target_path": "kernel/samsung/aries",
"revision": "cm-10.1"
},
{
"account": "CyanogenMod",
"repository": "android_device_samsung_aries-common",
"target_path": "device/samsung/aries-common",
"revision": "cm-10.1"
},
{
"account": "CyanogenMod",
"repository": "android_packages_apps_SamsungServiceMode",
"target_path": "packages/apps/SamsungServiceMode",
"revision": "cm-10.1"
},
{
"account": "CyanogenMod",
"repository": "android_hardware_samsung",
"target_path": "hardware/samsung",
"revision": "cm-10.1"
}
]
2 changes: 2 additions & 0 deletions manifest/epicmtd.adds
@@ -0,0 +1,2 @@
[
]
2 changes: 2 additions & 0 deletions manifest/epicmtd.removes
@@ -0,0 +1,2 @@
[
]
2 changes: 2 additions & 0 deletions manifest/fascinatemtd.adds
@@ -0,0 +1,2 @@
[
]
2 changes: 2 additions & 0 deletions manifest/fascinatemtd.removes
@@ -0,0 +1,2 @@
[
]
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<string-array name="available_toggles_entries">
<item>ROTATE</item>
<item>BT</item>
<item>GPS</item>
<item>WIFI</item>
<item>AIRPLANE_MODE</item>
<item>VIBRATE</item>
<item>SILENT</item>
<item>SYNC</item>
<item>DATA</item>
<item>AP</item>
<item>TETHER</item>
<item>SWAGGER</item>
<item>FCHARGE</item>
</string-array>

<string-array name="available_toggles_values">
<item>@string/toggle_auto_rotate</item>
<item>@string/toggle_bluetooth</item>
<item>@string/toggle_gps</item>
<item>@string/toggle_wifi</item>
<item>@string/toggle_airplane_mode</item>
<item>@string/toggle_vibrate</item>
<item>@string/toggle_silent</item>
<item>@string/toggle_sync</item>
<item>@string/toggle_data</item>
<item>@string/toggle_wifi_ap</item>
<item>@string/toggle_usb_tether</item>
<item>@string/toggle_swagger</item>
<item>@string/toggle_fast_charge</item>
</string-array>

</resources>
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="navigation_bar_qty_entries">
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</item>
</string-array>

<string-array name="navigation_bar_qty_values" translatable="false">
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</item>
</string-array>

<!-- LED brightness values -->
<integer-array name="led_brightness_values" translatable="false">
<item>10</item>
<item>31</item>
<item>60</item>
<item>90</item>
<item>127</item>
</integer-array>
</resources>
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Whether or not to display the notification LED settings -->
<bool name="has_notification_led">false</bool>

<!-- Whether device has camera flash or torch capabilities -->
<bool name="has_torch">false</bool>

<!-- Whether device has hardware buttons -->
<bool name="has_hardware_buttons">true</bool>

<!-- Whether can use fast chage -->
<bool name="has_fast_charge">false</bool>

<!-- Whether can use color tuning -->
<bool name="has_color_tuning">true</bool>
</resources>
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Whether or not to display the notification LED settings -->
<bool name="has_notification_led">true</bool>

<!-- Whether device has camera flash or torch capabilities -->
<bool name="has_torch">false/bool>

<!-- Whether device has hardware buttons -->
<bool name="has_hardware_buttons">false</bool>

<!-- Whether can use fast chage -->
<bool name="has_fast_charge">true</bool>

<!-- Whether can use color tuning -->
<bool name="has_color_tuning">true</bool>
</resources>
6 changes: 6 additions & 0 deletions products/AndroidProducts.mk
Expand Up @@ -133,6 +133,9 @@ endif
ifeq (pac_p3110,$(TARGET_PRODUCT))
PRODUCT_MAKEFILES += $(LOCAL_DIR)/pac_p3110.mk
endif
ifeq (pac_fascinatemtd,$(TARGET_PRODUCT))
PRODUCT_MAKEFILES += $(LOCAL_DIR)/pac_fascinatemtd.mk
endif
ifeq (pac_p5110,$(TARGET_PRODUCT))
PRODUCT_MAKEFILES += $(LOCAL_DIR)/pac_p5110.mk
endif
Expand All @@ -145,3 +148,6 @@ endif
ifeq (pac_crespo,$(TARGET_PRODUCT))
PRODUCT_MAKEFILES += $(LOCAL_DIR)/pac_crespo.mk
endif
ifeq (pac_epicmtd,$(TARGET_PRODUCT))
PRODUCT_MAKEFILES += $(LOCAL_DIR)/pac_epicmtd.mk
endif
31 changes: 31 additions & 0 deletions products/pac_epicmtd.mk
@@ -0,0 +1,31 @@
# Check for target product
ifeq (pac_epicmtd,$(TARGET_PRODUCT))

# OVERLAY_TARGET adds overlay asset source
OVERLAY_TARGET := pa_hdpi


# PAC device overlay
$(shell cp -f vendor/pac/prebuilt/common/bootanimation_framework/android-logo-mask_samsung-hdpi.png frameworks/base/core/res/assets/images/android-logo-mask.png)

# PAC boot logo
PRODUCT_COPY_FILES += \
vendor/pac/prebuilt/common/bootlogo/pac_logo_480x800.rle:root/logo.rle

# Copy bootanimation
PRODUCT_COPY_FILES += \
vendor/pac/prebuilt/hdpi/bootanimation.zip:system/media/bootanimation.zip

# include ParanoidAndroid common configuration
include vendor/pac/config/pac_common.mk

# Inherit CM device configuration
$(call inherit-product, device/samsung/epicmtd/cm.mk)

PRODUCT_NAME := pac_crespo

# Update local_manifest.xml
GET_PROJECT_RMS := $(shell vendor/pac/tools/removeprojects.py $(PRODUCT_NAME))
GET_PROJECT_ADDS := $(shell vendor/pac/tools/addprojects.py $(PRODUCT_NAME))

endif
30 changes: 30 additions & 0 deletions products/pac_fascinatemtd.mk
@@ -0,0 +1,30 @@
# Check for target product
ifeq (pac_fascinatemtd,$(TARGET_PRODUCT))

# OVERLAY_TARGET adds overlay asset source
OVERLAY_TARGET := pa_hdpi

# AOKP device overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/pac/overlay/aokp/device/fascinatemtd

# PAC device overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/pac/overlay/pac/hdpi_480x800
$(shell cp -f vendor/pac/prebuilt/common/bootanimation_framework/android-logo-mask_samsung-hdpi.png frameworks/base/core/res/assets/images/android-logo-mask.png)

# PAC boot logo
PRODUCT_COPY_FILES += \
vendor/pac/prebuilt/common/bootlogo/pac_logo_480x800.rle:root/logo.rle

# include ParanoidAndroid common configuration
include vendor/pac/config/pac_common.mk

# Inherit CM device configuration
$(call inherit-product, device/samsung/fascinatemtd/cm.mk)

PRODUCT_NAME := pac_fascinatemtd

# Update local_manifest.xml
GET_PROJECT_RMS := $(shell vendor/pac/tools/removeprojects.py $(PRODUCT_NAME))
GET_PROJECT_ADDS := $(shell vendor/pac/tools/addprojects.py $(PRODUCT_NAME))

endif
3 changes: 3 additions & 0 deletions vendorsetup.sh
Expand Up @@ -9,6 +9,7 @@ add_lunch_combo pac_haida-userdebug
add_lunch_combo pac_zeus-userdebug
# Samsung 2011
add_lunch_combo pac_captivatemtd-userdebug
add_lunch_combo pac_fascinatemtd-userdebug
add_lunch_combo pac_i9100-userdebug
add_lunch_combo pac_i9103-userdebug
add_lunch_combo pac_i9100g-userdebug
Expand Down Expand Up @@ -38,6 +39,8 @@ add_lunch_combo pac_saga-userdebug
add_lunch_combo pac_jewel-userdebug
add_lunch_combo pac_evita-userdebug
add_lunch_combo pac_ville-userdebug
#Samsung 2010
add_lunch_combo pac_epicmtd-userdebug
# Samsung 2013
add_lunch_combo pac_d2spr-userdebug
add_lunch_combo pac_d2tmo-userdebug
Expand Down

0 comments on commit c150c16

Please sign in to comment.