From a8cdb375ccff297710214a841bbcd968e8999054 Mon Sep 17 00:00:00 2001 From: "Brint E. Kriebel" Date: Fri, 29 Apr 2011 16:23:24 -0700 Subject: [PATCH] harmony: forked original harmony (smb_a1002) to new malata smb9701 (Zpad T8) device Change-Id: I7855585cde3375e30ceb11c1030e2e283126f64e --- CHANGELOG.mkdn | 2 +- .../apps/ADWLauncher/res/values/config.xml | 6 + .../apps/CMParts/res/values/config.xml | 7 + .../apps/Contacts/AndroidManifest.xml | 491 ++++++++++++++++++ products/AndroidProducts.mk | 1 + products/cyanogen_smb_b9701.mk | 41 ++ vendorsetup.sh | 1 + 7 files changed, 548 insertions(+), 1 deletion(-) create mode 100644 overlay/smb_b9701/packages/apps/ADWLauncher/res/values/config.xml create mode 100644 overlay/smb_b9701/packages/apps/CMParts/res/values/config.xml create mode 100644 overlay/smb_b9701/packages/apps/Contacts/AndroidManifest.xml create mode 100644 products/cyanogen_smb_b9701.mk diff --git a/CHANGELOG.mkdn b/CHANGELOG.mkdn index d696e9a4..035ce963 100644 --- a/CHANGELOG.mkdn +++ b/CHANGELOG.mkdn @@ -27,7 +27,7 @@ Maintainers: * Geeksphone ZERO: arcee * Z71 (Boston, G1305, XT502, A60, Blaze, others): arcee * Wildfire: Jacob Crawley, Arne Coucheron -* Harmony (Malata smb_a1002): bekit, pershoot +* Harmony (Malata smb_a1002/smb_b9701): bekit, pershoot * Ace (Desire HD): Kali- * Glacier (MT4G): Zinx, Kmobs * Click (Tattoo): KalimochoAz diff --git a/overlay/smb_b9701/packages/apps/ADWLauncher/res/values/config.xml b/overlay/smb_b9701/packages/apps/ADWLauncher/res/values/config.xml new file mode 100644 index 00000000..d2606e9e --- /dev/null +++ b/overlay/smb_b9701/packages/apps/ADWLauncher/res/values/config.xml @@ -0,0 +1,6 @@ + + + + 5 + 4 + diff --git a/overlay/smb_b9701/packages/apps/CMParts/res/values/config.xml b/overlay/smb_b9701/packages/apps/CMParts/res/values/config.xml new file mode 100644 index 00000000..4cab7491 --- /dev/null +++ b/overlay/smb_b9701/packages/apps/CMParts/res/values/config.xml @@ -0,0 +1,7 @@ + + + + false + + false + diff --git a/overlay/smb_b9701/packages/apps/Contacts/AndroidManifest.xml b/overlay/smb_b9701/packages/apps/Contacts/AndroidManifest.xml new file mode 100644 index 00000000..425bce63 --- /dev/null +++ b/overlay/smb_b9701/packages/apps/Contacts/AndroidManifest.xml @@ -0,0 +1,491 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk index 6dea6794..7c160eaa 100644 --- a/products/AndroidProducts.mk +++ b/products/AndroidProducts.mk @@ -28,6 +28,7 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/cyanogen_passion.mk \ $(LOCAL_DIR)/cyanogen_sholes.mk \ $(LOCAL_DIR)/cyanogen_smb_a1002.mk \ + $(LOCAL_DIR)/cyanogen_smb_b9701.mk \ $(LOCAL_DIR)/cyanogen_speedy.mk \ $(LOCAL_DIR)/cyanogen_supersonic.mk \ $(LOCAL_DIR)/cyanogen_u8220.mk \ diff --git a/products/cyanogen_smb_b9701.mk b/products/cyanogen_smb_b9701.mk new file mode 100644 index 00000000..385d8440 --- /dev/null +++ b/products/cyanogen_smb_b9701.mk @@ -0,0 +1,41 @@ +$(call inherit-product, device/malata/smb_b9701/smb_b9701.mk) + +# Inherit some common cyanogenmod stuff. +$(call inherit-product, vendor/cyanogen/products/common_full.mk) + +# +# Setup device specific product configuration. +# +PRODUCT_NAME := cyanogen_smb_b9701 +PRODUCT_BRAND := nvidia +PRODUCT_DEVICE := smb_b9701 +PRODUCT_MODEL := Zpad-T8 +PRODUCT_MANUFACTURER := malata +PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=smb_b9701 BUILD_ID=GRJ22 BUILD_DISPLAY_ID=GRJ22 BUILD_FINGERPRINT=google/passion/passion:2.3.4/GRJ22/121341:user/release-keys PRIVATE_BUILD_DESC="passion-user 2.3.4 GRJ22 121341 release-keys" + +# Extra overlay +PRODUCT_PACKAGE_OVERLAYS += \ + vendor/cyanogen/overlay/tablet \ + vendor/cyanogen/overlay/smb_b9701 + +# +# Set ro.modversion +# +ifdef CYANOGEN_NIGHTLY + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-smb_b9701 +else + ifdef CYANOGEN_RELEASE + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.1.0-RC0-smb_b9701 + else + PRODUCT_PROPERTY_OVERRIDES += \ + ro.modversion=CyanogenMod-7.1.0-RC0-smb_b9701-KANG + endif +endif + +# +# Copy passion specific prebuilt files +# +PRODUCT_COPY_FILES += \ + vendor/cyanogen/prebuilt/mdpi/media/bootanimation.zip:system/media/bootanimation.zip diff --git a/vendorsetup.sh b/vendorsetup.sh index 8f784794..0627dfae 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -27,6 +27,7 @@ add_lunch_combo cyanogen_p999-eng add_lunch_combo cyanogen_passion-eng add_lunch_combo cyanogen_sholes-eng add_lunch_combo cyanogen_smb_a1002-eng +add_lunch_combo cyanogen_smb_b9701-eng add_lunch_combo cyanogen_speedy-eng add_lunch_combo cyanogen_supersonic-eng add_lunch_combo cyanogen_u8220-eng