Add vivo (HTC Incredible S) support

Change-Id: Iaf8c7363f380ffa748480a4fcac3e89d9cb7923b
This commit is contained in:
attn1 2011-06-21 22:45:12 +02:00 committed by Giulio Cervera
parent af6c58deb7
commit f6daf95003
6 changed files with 92 additions and 3 deletions

View File

@ -0,0 +1,25 @@
<?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>
<!-- 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>

View File

@ -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_led_flash">true</bool>
</resources>

View File

@ -39,6 +39,7 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/cyanogen_vega.mk \
$(LOCAL_DIR)/cyanogen_vibrantmtd.mk \
$(LOCAL_DIR)/cyanogen_vision.mk \
$(LOCAL_DIR)/cyanogen_vivo.mk \
$(LOCAL_DIR)/cyanogen_z71.mk \
$(LOCAL_DIR)/cyanogen_zeppelin.mk \
$(LOCAL_DIR)/cyanogen_zero.mk

View File

@ -28,9 +28,6 @@ PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/ace
# Add the Torch app
PRODUCT_PACKAGES += Torch
# Add AicBootFix for ace battery fix
PRODUCT_PACKAGES += AicBootFix
# Broadcom FM radio
$(call inherit-product, vendor/cyanogen/products/bcm_fm_radio.mk)

57
products/cyanogen_vivo.mk Normal file
View File

@ -0,0 +1,57 @@
# Inherit device configuration for vivo.
$(call inherit-product, device/htc/vivo/vivo.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_vivo
PRODUCT_BRAND := htc_wwe
PRODUCT_DEVICE := vivo
PRODUCT_MODEL := Incredible S
PRODUCT_MANUFACTURER := HTC
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=htc_vivo BUILD_ID=GRI40 BUILD_DISPLAY_ID=GRJ22 BUILD_FINGERPRINT=htc_wwe/htc_vivo/vivo:2.3.3/GRI40/47853:user/release-keys PRIVATE_BUILD_DESC="2.36.405.8 CL47853 release-keys"
# Build kernel
#PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL=
#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_DIR=kernel-msm
#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_CONFIG=cyanogen_vivo_defconfig
# Extra vivo overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/vivo
# Add the Torch app
PRODUCT_PACKAGES += Torch
# Add AicBootFix for vivo battery fix
PRODUCT_PACKAGES += AicBootFix
# Broadcom FM radio
$(call inherit-product, vendor/cyanogen/products/bcm_fm_radio.mk)
#
# Set ro.modversion
#
ifdef CYANOGEN_NIGHTLY
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-IncS
else
ifdef CYANOGEN_RELEASE
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-7.1.0-RC0-IncS
else
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-7.1.0-RC0-IncS-KANG
endif
endif
#
# Copy passion specific prebuilt files
#
PRODUCT_COPY_FILES += \
vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip

View File

@ -38,6 +38,7 @@ add_lunch_combo cyanogen_u8220-eng
add_lunch_combo cyanogen_vega-eng
add_lunch_combo cyanogen_vibrantmtd-eng
add_lunch_combo cyanogen_vision-eng
add_lunch_combo cyanogen_vivo-eng
add_lunch_combo cyanogen_z71-eng
add_lunch_combo cyanogen_zeppelin-eng
add_lunch_combo cyanogen_zero-eng