Skip to content

Commit a61f21c

Browse files
committed
initial commit
0 parents  commit a61f21c

File tree

16 files changed

+376
-0
lines changed

16 files changed

+376
-0
lines changed

Android.mk

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#
2+
# Copyright (C) 2012 The Android Open-Source Project
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
# WARNING: Everything listed here will be built on ALL platforms,
18+
# including x86, the emulator, and the SDK. Modules must be uniquely
19+
# named (liblights.tuna), and must build everywhere, or limit themselves
20+
# to only building on ARM if they include assembly. Individual makefiles
21+
# are responsible for having their own logic, for fine-grained control.
22+
23+
LOCAL_PATH := $(call my-dir)
24+
25+
ifeq ($(TARGET_DEVICE),t869)
26+
27+
include $(CLEAR_VARS)
28+
29+
include $(call all-makefiles-under,$(LOCAL_PATH))
30+
31+
endif

AndroidProducts.mk

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# Copyright (C) 2012 The Android Open-Source Project
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
PRODUCT_MAKEFILES := \
18+
$(LOCAL_DIR)/t869_base.mk

BoardConfig.mk

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#
2+
# Copyright (C) 2012 The Android Open-Source Project
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
DEVICE_PACKAGE_OVERLAYS += device/samsung/t869/overlay
18+
19+
# Include common smdk4210-tab configuration
20+
-include device/samsung/smdk4210-tab/BoardConfigCommon.mk
21+
22+
TARGET_OTA_ASSERT_DEVICE := t869,SGH-T869
23+
24+
TARGET_KERNEL_CONFIG := cyanogenmod_t869_defconfig
25+
26+
TARGET_BOOTANIMATION_NAME := horizontal-1024x600

CleanSpec.mk

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Copyright (C) 2012 The Android Open Source Project
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
16+
# If you don't need to do a full clean build but would like to touch
17+
# a file or delete some intermediate files, add a clean step to the end
18+
# of the list. These steps will only be run once, if they haven't been
19+
# run before.
20+
#
21+
# E.g.:
22+
# $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
23+
# $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates)
24+
#
25+
# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
26+
# files that are missing or have been moved.
27+
#
28+
# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
29+
# Use $(OUT_DIR) to refer to the "out" directory.
30+
#
31+
# If you need to re-do something that's already mentioned, just copy
32+
# the command and add it to the bottom of the list. E.g., if a change
33+
# that you made last week required touching a file and a change you
34+
# made today requires touching the same file, just copy the old
35+
# touch step and add it to the end of the list.
36+
#
37+
# ************************************************
38+
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
39+
# ************************************************
40+
41+
# For example:
42+
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates)
43+
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
44+
#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
45+
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)
46+
47+
# ************************************************
48+
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
49+
# ************************************************
50+
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/default.prop)
51+
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/Phone_intermediates)

README

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Device configuration for the Samsung Galaxy Tab 7+ (T-Mobile)
2+
3+
Copyright (C) 2012 The CyanogenMod Project
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0

cm.dependencies

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[
2+
{
3+
"repository": "android_device_samsung_smdk4210-tab",
4+
"target_path": "device/samsung/smdk4210-tab"
5+
},
6+
{
7+
"repository": "android_kernel_samsung_smdk4210-tab",
8+
"target_path": "kernel/samsung/smdk4210-tab"
9+
},
10+
{
11+
"repository": "android_packages_apps_SamsungServiceMode",
12+
"target_path": "packages/apps/SamsungServiceMode"
13+
}
14+
]

cm.mk

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#
2+
# Copyright (C) 2012 The CyanogenMod Project
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
# Inherit device configuration
18+
$(call inherit-product, $(LOCAL_PATH)/t869_base.mk)
19+
20+
# Device identifier. This must come after all inclusions
21+
PRODUCT_BRAND := Samsung
22+
PRODUCT_DEVICE := t869
23+
PRODUCT_MANUFACTURER := Samsung
24+
PRODUCT_MODEL := SGH-T869
25+
PRODUCT_NAME := cm_t869
26+
PRODUCT_RELEASE_NAME := SGH-T869
27+
28+
# Set product name and build fingerprint
29+
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=SGH-T869 BUILD_FINGERPRINT="samsung/SGH-T869/SGH-T869:4.0.4/IMM76D/XXLQ1:user/release-keys" PRIVATE_BUILD_DESC="SGH-T869-user 4.0.4 IMM76D XXLQ1 release-keys"

extract-files

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/usr/bin/env python
2+
#
3+
# Copyright (C) 2012 The CyanogenMod Project
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
import os, types
18+
19+
# Find common extract_files path and name
20+
module_path, module_name = os.path.split(os.path.realpath(__file__))
21+
module_path = os.path.dirname(module_path)
22+
module_path = os.path.join(module_path, 'smdk4210-tab', module_name)
23+
24+
# Hack to import common extract_files as a module without byte-compiling
25+
module = types.ModuleType(module_name)
26+
module_file = open(module_path, 'rU')
27+
exec module_file in module.__dict__
28+
29+
VendorCreator, vc0 = module.VendorCreator, module.vc0
30+
31+
vc1 = VendorCreator()
32+
vc1.add('props_lists')
33+
34+
if __name__ == '__main__':
35+
vc0.generate()
36+
vc1.generate()
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
/*
4+
** Copyright 2012, The Android Open Source Project
5+
**
6+
** Licensed under the Apache License, Version 2.0 (the "License");
7+
** you may not use this file except in compliance with the License.
8+
** You may obtain a copy of the License at
9+
**
10+
** http://www.apache.org/licenses/LICENSE-2.0
11+
**
12+
** Unless required by applicable law or agreed to in writing, software
13+
** distributed under the License is distributed on an "AS IS" BASIS,
14+
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
** See the License for the specific language governing permissions and
16+
** limitations under the License.
17+
*/
18+
-->
19+
20+
<!-- These resources are around just to allow their values to be customized
21+
for different hardware and product builds. -->
22+
<resources>
23+
24+
<!-- Array of output values for LCD backlight corresponding to the LUX values
25+
in the config_autoBrightnessLevels array. This array should have size one greater
26+
than the size of the config_autoBrightnessLevels array.
27+
This must be overridden in platform specific overlays -->
28+
<!-- values from stock XXLQ1 framework -->
29+
<integer-array name="config_autoBrightnessLcdBacklightValues">
30+
<item>40</item>
31+
<item>82</item>
32+
<item>150</item>
33+
<item>205</item>
34+
<item>255</item>
35+
</integer-array>
36+
37+
<!-- Minimum screen brightness allowed by the power manager. -->
38+
<integer name="config_screenBrightnessDim">20</integer>
39+
40+
<!-- This string array should be overridden by the device to present a list of network
41+
attributes. This is used by the connectivity manager to decide which networks can coexist
42+
based on the hardware -->
43+
<!-- An Array of "[Connection name],[ConnectivityManager connection type],
44+
[associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
45+
<!-- the 5th element "resore-time" indicates the number of milliseconds to delay
46+
before automatically restore the default connection. Set -1 if the connection
47+
does not require auto-restore. -->
48+
<!-- the 6th element indicates boot-time dependency-met value. -->
49+
<string-array translatable="false" name="networkAttributes">
50+
<item>"wifi,1,1,1,-1,true"</item>
51+
<item>"mobile,0,0,0,-1,true"</item>
52+
<item>"mobile_mms,2,0,2,60000,true"</item>
53+
<item>"mobile_supl,3,0,2,60000,true"</item>
54+
<item>"mobile_dun,4,0,3,60000,true"</item>
55+
<item>"mobile_hipri,5,0,3,60000,true"</item>
56+
<item>"bluetooth,7,7,1,-1,true"</item>
57+
</string-array>
58+
59+
<!-- This string array should be overridden by the device to present a list of radio
60+
attributes. This is used by the connectivity manager to decide which networks can coexist
61+
based on the hardware -->
62+
<!-- An Array of "[ConnectivityManager connectionType],
63+
[# simultaneous connection types]" -->
64+
<string-array translatable="false" name="radioAttributes">
65+
<item>"1,1"</item>
66+
<item>"0,1"</item>
67+
<item>"7,1"</item>
68+
</string-array>
69+
70+
<!--Boolean to enable stk functionality on Samsung phones-->
71+
<bool name="config_samsung_stk">true</bool>
72+
73+
</resources>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
/*
4+
** Copyright 2011, The CyanogenMod Project
5+
**
6+
** Licensed under the Apache License, Version 2.0 (the "License");
7+
** you may not use this file except in compliance with the License.
8+
** You may obtain a copy of the License at
9+
**
10+
** http://www.apache.org/licenses/LICENSE-2.0
11+
**
12+
** Unless required by applicable law or agreed to in writing, software
13+
** distributed under the License is distributed on an "AS IS" BASIS,
14+
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
** See the License for the specific language governing permissions and
16+
** limitations under the License.
17+
*/
18+
-->
19+
20+
<!-- These resources are around just to allow their values to be customized
21+
for different hardware and product builds. -->
22+
<resources>
23+
<!-- Control whether status bar should distinguish HSPA data icon form UMTS data icon on devices -->
24+
<bool name="config_hspa_data_distinguishable">true</bool>
25+
</resources>
26+

props_lists/camera.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
system/lib/hw/camera.exynos4.so
2+
system/lib/libsecnativefeature.so

props_lists/ril.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
system/bin/rild
2+
:system/lib/libril.so:obj/lib/libril.so
3+
system/lib/libsec-ril.so
4+
:system/lib/libsecril-client.so:obj/lib/libsecril-client.so

props_lists/sensors.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
system/lib/hw/sensors.exynos4.so

recovery.fstab

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# mount point fstype device
2+
/efs ext4 /dev/block/mmcblk0p1
3+
/bootloader emmc /dev/block/mmcblk0p2
4+
/boot emmc /dev/block/mmcblk0p5
5+
/recovery emmc /dev/block/mmcblk0p6
6+
/cache ext4 /dev/block/mmcblk0p7
7+
/modem emmc /dev/block/mmcblk0p8
8+
/system ext4 /dev/block/mmcblk0p9
9+
/data ext4 /dev/block/mmcblk0p10 length=-16384
10+
/preload ext4 /dev/block/mmcblk0p11
11+
12+
/external_sd vfat /dev/block/mmcblk1p1
13+
14+
/sdcard datamedia /dev/null

system.prop

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# system.prop for t869
3+
#
4+
5+
rild.libpath=/system/lib/libsec-ril.so
6+
rild.libargs=-d /dev/ttyS0
7+
ro.telephony.ril_class=Smdk4210RIL
8+
9+
persist.sys.strictmode.visual=0

t869_base.mk

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#
2+
# Copyright (C) 2012 The Android Open-Source Project
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
$(call inherit-product, vendor/cm/config/common_full_tablet_wifionly.mk)
17+
$(call inherit-product, vendor/cm/config/gsm.mk)
18+
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
19+
$(call inherit-product, device/samsung/smdk4210-tab/smdk4210-tab_base.mk)
20+
$(call inherit-product-if-exists, vendor/samsung/smdk4210-tab/smdk4210-tab_base.mk)
21+
$(call inherit-product-if-exists, vendor/samsung/t869/t869_base.mk)
22+
23+
# the Tab 7+ has a large mpdi screen
24+
PRODUCT_AAPT_CONFIG := large mdpi
25+
PRODUCT_AAPT_PREF_CONFIG := mdpi
26+
PRODUCT_LOCALES += mdpi
27+
28+
PRODUCT_PROPERTY_OVERRIDES += \
29+
ro.sf.lcd_density=160
30+
31+
# GSM
32+
PRODUCT_COPY_FILES += \
33+
frameworks/base/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml

0 commit comments

Comments
 (0)