Add Huawei U8220/U8230

The U8220 and U8230 are the same device. This should be compatible with both, but so far has only been tested on U8220 (aka T-Mobile Pulse).

device config should be forked from https://github.com/TomGiordano/android_device_huawei_u8220

Change-Id: If0141d63d8d41360a9cfa69283e5bdbda17c1b8f
This commit is contained in:
Tom Giordano 2011-03-08 00:22:17 +11:00 committed by Koushik Dutta
parent 419b1fc2c8
commit db06806366
3 changed files with 43 additions and 0 deletions

View File

@ -30,6 +30,7 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/cyanogen_sholes.mk \ $(LOCAL_DIR)/cyanogen_sholes.mk \
$(LOCAL_DIR)/cyanogen_speedy.mk \ $(LOCAL_DIR)/cyanogen_speedy.mk \
$(LOCAL_DIR)/cyanogen_supersonic.mk \ $(LOCAL_DIR)/cyanogen_supersonic.mk \
$(LOCAL_DIR)/cyanogen_u8220.mk \
$(LOCAL_DIR)/cyanogen_vega.mk \ $(LOCAL_DIR)/cyanogen_vega.mk \
$(LOCAL_DIR)/cyanogen_vibrantmtd.mk \ $(LOCAL_DIR)/cyanogen_vibrantmtd.mk \
$(LOCAL_DIR)/cyanogen_vision.mk \ $(LOCAL_DIR)/cyanogen_vision.mk \

View File

@ -0,0 +1,41 @@
# Inherit AOSP device configuration for dream_sapphire.
$(call inherit-product, device/huawei/u8220/device_u8220.mk)
# Inherit some common cyanogenmod stuff.
$(call inherit-product, vendor/cyanogen/products/common.mk)
# Include GSM-only stuff
$(call inherit-product, vendor/cyanogen/products/gsm.mk)
#
# Setup device specific product configuration.
#
PRODUCT_NAME := cyanogen_u8220
PRODUCT_BRAND := huawei
PRODUCT_DEVICE := u8220
PRODUCT_MODEL := U8220/U8230
PRODUCT_MANUFACTURER := Huawei
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_ID=GRI40 BUILD_DISPLAY_ID=GRI40 BUILD_FINGERPRINT=google/passion/passion:2.3.3/GRI40/102588:user/release-keys PRIVATE_BUILD_DESC="passion-user 2.3.3 GRI40 102588 release-keys"
#
# Set ro.modversion
#
ifdef CYANOGEN_NIGHTLY
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-U8220
else
ifdef CYANOGEN_RELEASE
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-7.1.0-RC0-U8220
else
PRODUCT_PROPERTY_OVERRIDES += \
ro.modversion=CyanogenMod-7.1.0-RC0-U8220-KANG
endif
endif
#
# Copy DS specific prebuilt files
#
PRODUCT_COPY_FILES += \
vendor/cyanogen/prebuilt/mdpi/media/bootanimation.zip:system/media/bootanimation.zip

View File

@ -29,6 +29,7 @@ add_lunch_combo cyanogen_passion-eng
add_lunch_combo cyanogen_sholes-eng add_lunch_combo cyanogen_sholes-eng
add_lunch_combo cyanogen_speedy-eng add_lunch_combo cyanogen_speedy-eng
add_lunch_combo cyanogen_supersonic-eng add_lunch_combo cyanogen_supersonic-eng
add_lunch_combo cyanogen_u8220-eng
add_lunch_combo cyanogen_vega-eng add_lunch_combo cyanogen_vega-eng
add_lunch_combo cyanogen_vibrantmtd-eng add_lunch_combo cyanogen_vibrantmtd-eng
add_lunch_combo cyanogen_vision-eng add_lunch_combo cyanogen_vision-eng