Skip to content

Commit

Permalink
Add device galaxysbmtd (Samsung GT-I9000B)
Browse files Browse the repository at this point in the history
Change-Id: If6e2376e734a77324eface308a75d1dc0ce82991
  • Loading branch information
Helvio88 authored and defer committed Nov 25, 2011
1 parent 9eb9d74 commit e96618c
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 0 deletions.
25 changes: 25 additions & 0 deletions overlay/galaxysbmtd/frameworks/base/core/res/res/values/config.xml
Original file line number Diff line number Diff line change
@@ -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>
Original file line number Diff line number Diff line change
@@ -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>
1 change: 1 addition & 0 deletions products/AndroidProducts.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/cyanogen_jordan.mk \
$(LOCAL_DIR)/cyanogen_galaxys2.mk \
$(LOCAL_DIR)/cyanogen_galaxys2att.mk \
$(LOCAL_DIR)/cyanogen_galaxysbmtd.mk \
$(LOCAL_DIR)/cyanogen_galaxysmtd.mk \
$(LOCAL_DIR)/cyanogen_generic.mk \
$(LOCAL_DIR)/cyanogen_glacier.mk \
Expand Down
51 changes: 51 additions & 0 deletions products/cyanogen_galaxysbmtd.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Inherit AOSP device configuration for galaxysb.
$(call inherit-product, device/samsung/galaxysbmtd/full_galaxysbmtd.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_galaxysbmtd
PRODUCT_BRAND := samsung
PRODUCT_DEVICE := galaxysbmtd
PRODUCT_MODEL := GT-I9000B
PRODUCT_MANUFACTURER := samsung
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=GT-I9000B BUILD_ID=GINGERBREAD BUILD_FINGERPRINT=samsung/GT-I9000B/GT-I9000B:2.3.5/GINGERBREAD/XXJVT:user/release-keys PRIVATE_BUILD_DESC="GT-I9000B-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_galaxysb_defconfig

# Extra galaxys overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/galaxysbmtd

# 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 := GalaxyS_B
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
1 change: 1 addition & 0 deletions vendorsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ add_lunch_combo cyanogen_espresso-eng
add_lunch_combo cyanogen_fascinatemtd-eng
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_generic-eng
add_lunch_combo cyanogen_glacier-eng
Expand Down

0 comments on commit e96618c

Please sign in to comment.