diff options
author | Koushik Dutta <koushd@gmail.com> | 2011-05-18 11:36:54 -0700 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2011-05-18 11:37:12 -0700 |
commit | e00c5065f8d9b8a1d0d91e2eedf14b8ae4aec301 (patch) | |
tree | 4849fa4b10f177c1895e9304a1c1fc150bda2966 | |
parent | 230b4b998133e286f0ae8f1e644d96692f1650cf (diff) | |
download | vendor_replicant-e00c5065f8d9b8a1d0d91e2eedf14b8ae4aec301.zip vendor_replicant-e00c5065f8d9b8a1d0d91e2eedf14b8ae4aec301.tar.gz vendor_replicant-e00c5065f8d9b8a1d0d91e2eedf14b8ae4aec301.tar.bz2 |
add vibrant
Change-Id: I9508eaab56007295ac3773f3424f6118c3f0351c
-rw-r--r-- | overlay/vibrantmtd/frameworks/base/core/res/res/values/config.xml | 25 | ||||
-rw-r--r-- | overlay/vibrantmtd/packages/apps/CMParts/res/values/config.xml | 8 | ||||
-rw-r--r-- | products/AndroidProducts.mk | 1 | ||||
-rw-r--r-- | products/cyanogen_vibrantmtd.mk | 61 | ||||
-rw-r--r-- | vendorsetup.sh | 1 |
5 files changed, 96 insertions, 0 deletions
diff --git a/overlay/vibrantmtd/frameworks/base/core/res/res/values/config.xml b/overlay/vibrantmtd/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000..8b667e7 --- /dev/null +++ b/overlay/vibrantmtd/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/vibrantmtd/packages/apps/CMParts/res/values/config.xml b/overlay/vibrantmtd/packages/apps/CMParts/res/values/config.xml new file mode 100644 index 0000000..52051bb --- /dev/null +++ b/overlay/vibrantmtd/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">true</bool> + <bool name="has_camera_button">false</bool> + <bool name="has_led_flash">false</bool> +</resources> diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk index fd62562..94e1d76 100644 --- a/products/AndroidProducts.mk +++ b/products/AndroidProducts.mk @@ -29,6 +29,7 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/cyanogen_speedy.mk \ $(LOCAL_DIR)/cyanogen_supersonic.mk \ $(LOCAL_DIR)/cyanogen_vega.mk \ + $(LOCAL_DIR)/cyanogen_vibrantmtd.mk \ $(LOCAL_DIR)/cyanogen_vision.mk \ $(LOCAL_DIR)/cyanogen_z71.mk \ $(LOCAL_DIR)/cyanogen_zeppelin.mk \ diff --git a/products/cyanogen_vibrantmtd.mk b/products/cyanogen_vibrantmtd.mk new file mode 100644 index 0000000..9d529e1 --- /dev/null +++ b/products/cyanogen_vibrantmtd.mk @@ -0,0 +1,61 @@ +# Inherit AOSP device configuration for vibrantmtd. +$(call inherit-product, device/samsung/vibrantmtd/full_vibrantmtd.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_vibrantmtd +PRODUCT_BRAND := samsung +PRODUCT_DEVICE := vibrantmtd +PRODUCT_MODEL := SGH-T959 +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 kernel +#PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL= +#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_DIR=kernel-samsung +#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_CONFIG=cyanogen_vibrantmtd_defconfig + +# Extra galaxys overlay +PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/vibrantmtd + +# Add the FM app +# PRODUCT_PACKAGES += FM + +# 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 + +# Add additional mounts +PRODUCT_PROPERTY_OVERRIDES += \ + ro.additionalmounts=/mnt/emmc + +# +# Set ro.modversion +# +ifdef CYANOGEN_NIGHTLY + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-Vibrant +else + ifdef CYANOGEN_RELEASE + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.1.0-Vibrant + else + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.1.0-Vibrant-KANG + 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 36871a2..c60f3b1 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -28,6 +28,7 @@ add_lunch_combo cyanogen_sholes-eng add_lunch_combo cyanogen_speedy-eng add_lunch_combo cyanogen_supersonic-eng add_lunch_combo cyanogen_vega-eng +add_lunch_combo cyanogen_vibrantmtd-eng add_lunch_combo cyanogen_vision-eng add_lunch_combo cyanogen_z71-eng add_lunch_combo cyanogen_zeppelin-eng |