All pastes #2120745 Raw Edit

Untitled

public text v1 · immutable
#2120745 ·published 2012-02-22 12:46 UTC
rendered paste body

project vendor/cyanogen/
diff --git a/overlay/galaxysplus/frameworks/base/core/res/res/values/config.xml b/overlay/galaxysplus/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..8b667e7
--- /dev/null
+++ b/overlay/galaxysplus/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/galaxysplus/packages/apps/CMParts/res/values/config.xml b/overlay/galaxysplus/packages/apps/CMParts/res/values/config.xml
new file mode 100644
index 0000000..59e33ba
--- /dev/null
+++ b/overlay/galaxysplus/packages/apps/CMParts/res/values/config.xml
@@ -0,0 +1,9 @@
+<?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_camera_button">false</bool>
+    <bool name="has_led_flash">false</bool>
+    <bool name="has_search_button">false</bool>
+</resources>
diff --git a/products/cyanogen_galaxysplus.mk b/products/cyanogen_galaxysplus.mk
new file mode 100644
index 0000000..0efff3d
--- /dev/null
+++ b/products/cyanogen_galaxysplus.mk
@@ -0,0 +1,51 @@
+# Inherit AOSP device configuration for galaxys.
+$(call inherit-product, device/samsung/galaxysplus/full_galaxysplus.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_galaxysplus
+PRODUCT_BRAND := samsung
+PRODUCT_DEVICE := galaxysplus
+PRODUCT_MODEL := GT-I9000
+PRODUCT_MANUFACTURER := samsung
+PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=GT-I9001 TARGET_DEVICE=GT-I9001 BUILD_ID=GINGERBREAD BUILD_FINGERPRINT=samsung/GT-I9001/GT-I9001:2.3.5/GINGERBREAD/XXJVT:user/release-keys PRIVATE_BUILD_DESC="GT-I9001-user 2.3.5 GINGERBREAD XXJVT 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_galaxys_defconfig
+
+# Extra galaxys overlay
+PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/galaxysplus
+
+# 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 \
+    ro.vold.switchablepair=/mnt/sdcard,/mnt/emmc
+
+# Release name and versioning
+PRODUCT_RELEASE_NAME := GalaxySPlus
+PRODUCT_VERSION_DEVICE_SPECIFIC :=
+-include vendor/cyanogen/products/common_versions.mk
+
+#
+# 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 f4c0f06..04716f7 100644
--- a/vendorsetup.sh
+++ b/vendorsetup.sh
@@ -27,6 +27,7 @@ add_lunch_combo cyanogen_galaxys2-eng
 add_lunch_combo cyanogen_galaxys2att-eng
 add_lunch_combo cyanogen_galaxysbmtd-eng
 add_lunch_combo cyanogen_galaxysmtd-eng
+add_lunch_combo cyanogen_galaxysplus-eng
 add_lunch_combo cyanogen_generic-eng
 add_lunch_combo cyanogen_glacier-eng
 add_lunch_combo cyanogen_hallon-eng