From fed01f578dda89d99b5d9b130b3f1a99a306b101 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Thu, 23 Dec 2010 22:03:35 -0800 Subject: [PATCH] crespo Change-Id: Ie250b1c35f0229bd1f8ae7d8d4990237c44ddbbe --- products/AndroidProducts.mk | 1 + products/cyanogen_crespo.mk | 47 +++++++++++++++++++++++++++++++++++++ vendorsetup.sh | 1 + 3 files changed, 49 insertions(+) create mode 100644 products/cyanogen_crespo.mk diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk index fd2f5f46..7668ea0a 100644 --- a/products/AndroidProducts.mk +++ b/products/AndroidProducts.mk @@ -2,6 +2,7 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/cyanogen_ace.mk \ $(LOCAL_DIR)/cyanogen_bravo.mk \ $(LOCAL_DIR)/cyanogen_bravoc.mk \ + $(LOCAL_DIR)/cyanogen_crespo.mk \ $(LOCAL_DIR)/cyanogen_inc.mk \ $(LOCAL_DIR)/cyanogen_glacier.mk \ $(LOCAL_DIR)/cyanogen_liberty.mk \ diff --git a/products/cyanogen_crespo.mk b/products/cyanogen_crespo.mk new file mode 100644 index 00000000..0e7bc3b0 --- /dev/null +++ b/products/cyanogen_crespo.mk @@ -0,0 +1,47 @@ +# Inherit AOSP device configuration for crespo. +$(call inherit-product, device/samsung/crespo/full_crespo.mk) + +# Inherit some common cyanogenmod stuff. +$(call inherit-product, vendor/cyanogen/products/common.mk) + +# Include GSM stuff +$(call inherit-product, vendor/cyanogen/products/gsm.mk) + +# +# Setup device specific product configuration. +# +PRODUCT_NAME := cyanogen_crespo +PRODUCT_BRAND := google +PRODUCT_DEVICE := crespo +PRODUCT_MODEL := Nexus S +PRODUCT_MANUFACTURER := Samsung +PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=soju BUILD_ID=GRH78 BUILD_DISPLAY_ID=GRH78 BUILD_FINGERPRINT=google/soju/crespo:2.3.1/GRH78/85442:user/release-keys PRIVATE_BUILD_DESC="soju-user 2.3.1 GRH78 85442 release-keys" + +# Extra Crespo overlay +PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/crespo + +# 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-N1 +else + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.0.0-RC0-N1 +endif + +# +# Copy crespo 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 dfe9b130..107f4862 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -1,6 +1,7 @@ add_lunch_combo cyanogen_ace-eng add_lunch_combo cyanogen_bravo-eng add_lunch_combo cyanogen_bravoc-eng +add_lunch_combo cyanogen_crespo-eng #add_lunch_combo cyanogen_buzz-eng #add_lunch_combo cyanogen_dream_sapphire-eng #add_lunch_combo cyanogen_espresso-eng