This repository has been archived by the owner on Dec 28, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from C457/cm-10.1
add device fascinate and epicmtd
- Loading branch information
Showing
14 changed files
with
235 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
|
||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[ | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[ | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[ | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[ | ||
] |
36 changes: 36 additions & 0 deletions
36
overlay/aokp/device/fascinatemtd/packages/apps/ROMControl/res/values/arrays.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
31 changes: 31 additions & 0 deletions
31
overlay/aokp/device/fascinatemtd/packages/apps/ROMControl/res/values/arrays.xml~
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
17 changes: 17 additions & 0 deletions
17
overlay/aokp/device/fascinatemtd/packages/apps/ROMControl/res/values/config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
17 changes: 17 additions & 0 deletions
17
overlay/aokp/device/fascinatemtd/packages/apps/ROMControl/res/values/config.xml~
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters