diff options
author | Koushik Dutta <koushd@gmail.com> | 2011-05-18 18:07:57 -0700 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2011-05-18 18:07:57 -0700 |
commit | 429eb24b198395811e7ed2bbaaaf43dc1194627c (patch) | |
tree | 02958f0b24e389740775f00990c6b2a9a07a6e8e | |
parent | c852302e2473b47abc3ac31b6490974ca250da73 (diff) | |
download | vendor_replicant-429eb24b198395811e7ed2bbaaaf43dc1194627c.zip vendor_replicant-429eb24b198395811e7ed2bbaaaf43dc1194627c.tar.gz vendor_replicant-429eb24b198395811e7ed2bbaaaf43dc1194627c.tar.bz2 |
crespo4g
Change-Id: I23b733999b33c29fdcfd1779f6c86472d2a94d9f
-rw-r--r-- | overlay/crespo4g/frameworks/base/core/res/res/values/config.xml | 21 | ||||
-rw-r--r-- | overlay/crespo4g/packages/apps/CMParts/res/values/config.xml | 8 | ||||
-rw-r--r-- | products/AndroidProducts.mk | 1 | ||||
-rw-r--r-- | products/cyanogen_crespo4g.mk | 52 |
4 files changed, 82 insertions, 0 deletions
diff --git a/overlay/crespo4g/frameworks/base/core/res/res/values/config.xml b/overlay/crespo4g/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000..2d5d72b --- /dev/null +++ b/overlay/crespo4g/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2011, The CyanogenMod 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> + +</resources> diff --git a/overlay/crespo4g/packages/apps/CMParts/res/values/config.xml b/overlay/crespo4g/packages/apps/CMParts/res/values/config.xml new file mode 100644 index 0000000..0171a73 --- /dev/null +++ b/overlay/crespo4g/packages/apps/CMParts/res/values/config.xml @@ -0,0 +1,8 @@ +<?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> +</resources> diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk index 7a6f63d..91d7300 100644 --- a/products/AndroidProducts.mk +++ b/products/AndroidProducts.mk @@ -7,6 +7,7 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/cyanogen_captivatemtd.mk \ $(LOCAL_DIR)/cyanogen_click.mk \ $(LOCAL_DIR)/cyanogen_crespo.mk \ + $(LOCAL_DIR)/cyanogen_crespo4g.mk \ $(LOCAL_DIR)/cyanogen_desirec.mk \ $(LOCAL_DIR)/cyanogen_dream_sapphire.mk \ $(LOCAL_DIR)/cyanogen_encore.mk \ diff --git a/products/cyanogen_crespo4g.mk b/products/cyanogen_crespo4g.mk new file mode 100644 index 0000000..aa48e3e --- /dev/null +++ b/products/cyanogen_crespo4g.mk @@ -0,0 +1,52 @@ +# Inherit AOSP device configuration for crespo. +$(call inherit-product, device/samsung/crespo4g/full_crespo4g.mk) + +# Inherit some common cyanogenmod stuff. +$(call inherit-product, vendor/cyanogen/products/common_full.mk) + +# Include GSM stuff +$(call inherit-product, vendor/cyanogen/products/gsm.mk) + +# +# Setup device specific product configuration. +# +PRODUCT_NAME := cyanogen_crespo4g +PRODUCT_BRAND := google +PRODUCT_DEVICE := crespo4g +PRODUCT_MODEL := Nexus S +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" BUILD_NUMBER=121341 + +# Extra Crespo overlay +PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/crespo4g + +# Add the Torch app +PRODUCT_PACKAGES += Torch + +# Extra RIL settings +PRODUCT_PROPERTY_OVERRIDES += \ + ro.ril.enable.managed.roaming=1 \ + ro.ril.oem.nosim.ecclist=911,112,999,000,08,118,120,122,110,119,995 \ + ro.ril.emc.mode=2 + +# +# Set ro.modversion +# +ifdef CYANOGEN_NIGHTLY + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-NS4G +else + ifdef CYANOGEN_RELEASE + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.1.0-RC0-NS4G + else + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.1.0-RC0-NS4G-KANG + endif +endif + +# +# Copy crespo specific prebuilt files +# +PRODUCT_COPY_FILES += \ + vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip |