-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d754f72
commit 22680b8
Showing
12 changed files
with
684 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright (C) 2009 The CyanogenMod 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. | ||
|
||
# | ||
# This file sets variables that control the way modules are built | ||
# thorughout the system. It should not be used to conditionally | ||
# disable makefiles (the proper mechanism to control what gets | ||
# included in a build is to use PRODUCT_PACKAGES in a product | ||
# definition file). | ||
# | ||
|
||
# inherit from common D2 | ||
-include device/samsung/d2-common/BoardConfigCommon.mk | ||
|
||
# inherit from the proprietary version | ||
-include vendor/samsung/d2spr/BoardConfigVendor.mk | ||
|
||
# Assert | ||
TARGET_OTA_ASSERT_DEVICE := d2spr | ||
|
||
# Kernel | ||
TARGET_KERNEL_SOURCE := kernel/samsung/d2 | ||
TARGET_KERNEL_CONFIG := cyanogen_d2spr_defconfig | ||
BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom user_debug=31 | ||
BOARD_KERNEL_BASE := 0x80200000 | ||
BOARD_FORCE_RAMDISK_ADDRESS := 0x81500000 | ||
BOARD_KERNEL_PAGESIZE := 2048 | ||
|
||
TARGET_USERIMAGES_USE_EXT4 := true | ||
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00A00000 | ||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00A00000 | ||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1572864000 | ||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 28651290624 | ||
BOARD_FLASH_BLOCK_SIZE := 131072 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Copyright 2012 - The CyanogenMod Project | ||
|
||
Device configuration for Samsung Galaxy S III (Sprint model). | ||
|
||
WORK IN PROGRESS. WILL EAT YOUR CAT. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<!-- use empty string to specify no proxy or port --> | ||
<!-- This version must agree with that in apps/common/res/apns.xml --> | ||
<apns version="7"> | ||
<apn carrier="LTE INTERNET" | ||
mcc="311" | ||
mnc="580" | ||
apn="usccinternet" | ||
user="" | ||
password="" | ||
type="default,dun,mms,fota" | ||
authtype="0" | ||
mmsc="http://mmsc1.uscc.net/mmsc/MMS" | ||
protocol="IPV4V6" | ||
roaming_protocol="IPV4V6" | ||
bearer="14" | ||
/> | ||
<apn carrier="LTE INTERNET" | ||
mcc="311" | ||
mnc="225" | ||
apn="usccinternet" | ||
user="" | ||
password="" | ||
type="default,dun,mms,fota" | ||
authtype="0" | ||
mmsc="http://mmsc1.uscc.net/mmsc/MMS" | ||
protocol="IPV4V6" | ||
roaming_protocol="IPV4V6" | ||
bearer="14" | ||
/> | ||
</apns> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Add device specific blobs here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
if [ $# -eq 0 ]; then | ||
SRC=adb | ||
else | ||
if [ $# -eq 1 ]; then | ||
SRC=$1 | ||
else | ||
echo "$0: bad number of arguments" | ||
echo "" | ||
echo "usage: $0 [PATH_TO_EXPANDED_ROM]" | ||
echo "" | ||
echo "If PATH_TO_EXPANDED_ROM is not specified, blobs will be extracted from" | ||
echo "the device using adb pull." | ||
exit 1 | ||
fi | ||
fi | ||
|
||
BASE=../../../vendor/samsung/d2spr/proprietary | ||
rm -rf $BASE/* | ||
|
||
for FILE in `egrep -v '(^#|^$)' device-proprietary-files.txt`; do | ||
echo "Extracting /system/$FILE ..." | ||
DIR=`dirname $FILE` | ||
if [ ! -d $BASE/$DIR ]; then | ||
mkdir -p $BASE/$DIR | ||
fi | ||
if [ "$SRC" = "adb" ]; then | ||
adb pull /system/$FILE $BASE/$FILE | ||
else | ||
cp $SRC/system/$FILE $BASE/$FILE | ||
fi | ||
done | ||
|
||
for FILE in `egrep -v '(^#|^$)' ../d2-common/common-proprietary-files.txt`; do | ||
echo "Extracting /system/$FILE ..." | ||
DIR=`dirname $FILE` | ||
if [ ! -d $BASE/$DIR ]; then | ||
mkdir -p $BASE/$DIR | ||
fi | ||
if [ "$SRC" = "adb" ]; then | ||
adb pull /system/$FILE $BASE/$FILE | ||
else | ||
cp $SRC/system/$FILE $BASE/$FILE | ||
fi | ||
done | ||
|
||
./setup-makefiles.sh |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright (C) 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. | ||
--> | ||
|
||
<!-- Version History | ||
version 1 - initial version. | ||
version 2 - added recipientLimit. | ||
version 3 - added min/max recycler values. | ||
--> | ||
|
||
<mms_config version="3"> | ||
|
||
<!-- Maximum message size in bytes for a MMS message --> | ||
<int name="maxMessageSize">614400</int> | ||
|
||
<!-- Maximum height for an attached image --> | ||
<int name="maxImageHeight">1200</int> | ||
|
||
<!-- Maximum width for an attached image --> | ||
<int name="maxImageWidth">1600</int> | ||
|
||
<!-- User-Agent parameter used in MMS http request --> | ||
<string name="userAgent">SAMSUNG-GT-I9100-Mms</string> | ||
|
||
<!-- If true, The text message over 160 characters will be sent in multi part. | ||
If false, The text message over 160 characters will be sent | ||
via multi media message. --> | ||
<bool name="enableMultipartSMS">false</bool> | ||
|
||
<!-- If true, the text message will be split every 160 characters. | ||
If false, the text will never be split before being sent. --> | ||
<bool name="enableSplitSMS">true</bool> | ||
|
||
<!-- UAProf URL --> | ||
<string name="uaProfUrl">http://wap.samsungmobile.com/uaprof/GT-I9100.xml</string> | ||
|
||
</mms_config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright (C) 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> | ||
|
||
<!-- Determine whether calls to mute the microphone in PhoneUtils | ||
are routed through the android.media.AudioManager class (true) or through | ||
the com.android.internal.telephony.Phone interface (false). --> | ||
<bool name="send_mic_mute_to_AudioManager">true</bool> | ||
|
||
<!-- This device implements a noise suppression device for in call audio--> | ||
<bool name="has_in_call_noise_suppression">true</bool> | ||
|
||
<!-- Flag indicating if the tty is enabled --> | ||
<bool name="tty_enabled">true</bool> | ||
|
||
<!-- Sprint Message Wait Indicator Quirk --> | ||
<bool name="sprint_mwi_quirk">true</bool> | ||
|
||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/boot emmc /dev/block/mmcblk0p7 | ||
/system ext4 /dev/block/mmcblk0p14 | ||
/data ext4 /dev/block/mmcblk0p15 length=-16384 | ||
/cache ext4 /dev/block/mmcblk0p17 | ||
/recovery emmc /dev/block/mmcblk0p18 | ||
/sdcard datamedia /dev/null | ||
/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
VENDOR=samsung | ||
DEVICE=d2spr | ||
OUTDIR=vendor/$VENDOR/$DEVICE | ||
MAKEFILE=../../../$OUTDIR/$DEVICE-vendor-blobs.mk | ||
|
||
(cat << EOF) > $MAKEFILE | ||
# Copyright (C) 2011 The CyanogenMod 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. | ||
# This file is generated by device/$VENDOR/$DEVICE/setup-makefiles.sh | ||
# Prebuilt libraries that are needed to build open-source libraries | ||
PRODUCT_COPY_FILES += \\ | ||
$OUTDIR/proprietary/lib/libacdbloader.so:obj/lib/libacdbloader.so \\ | ||
$OUTDIR/proprietary/lib/libaudioalsa.so:obj/lib/libaudioalsa.so \\ | ||
$OUTDIR/proprietary/lib/libv8.so:obj/lib/libv8.so | ||
PRODUCT_COPY_FILES += \\ | ||
EOF | ||
LINEEND=" \\" | ||
COUNT=`wc -l device-proprietary-files.txt | awk {'print $1'}` | ||
DISM=`egrep -c '(^#|^$)' device-proprietary-files.txt` | ||
COUNT=`expr $COUNT - $DISM` | ||
for FILE in `egrep -v '(^#|^$)' device-proprietary-files.txt`; do | ||
COUNT=`expr $COUNT - 1` | ||
if [ $COUNT = "0" ]; then | ||
LINEEND="" | ||
fi | ||
echo " $OUTDIR/proprietary/$FILE:system/$FILE$LINEEND" >> $MAKEFILE | ||
done | ||
LINEEND=" \\" | ||
COUNT=`wc -l ../d2-common/common-proprietary-files.txt | awk {'print $1'}` | ||
DISM=`egrep -c '(^#|^$)' ../d2-common/common-proprietary-files.txt` | ||
COUNT=`expr $COUNT - $DISM` | ||
for FILE in `egrep -v '(^#|^$)' ../d2-common/common-proprietary-files.txt`; do | ||
COUNT=`expr $COUNT - 1` | ||
if [ $COUNT = "0" ]; then | ||
LINEEND="" | ||
fi | ||
echo " $OUTDIR/proprietary/$FILE:system/$FILE$LINEEND" >> $MAKEFILE | ||
done | ||
(cat << EOF) > ../../../$OUTDIR/$DEVICE-vendor.mk | ||
# Copyright (C) 2011 The CyanogenMod 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. | ||
# This file is generated by device/$VENDOR/$DEVICE/setup-makefiles.sh | ||
# Pick up overlay for features that depend on non-open-source files | ||
\$(call inherit-product, vendor/$VENDOR/$DEVICE/$DEVICE-vendor-blobs.mk) | ||
EOF | ||
(cat << EOF) > ../../../$OUTDIR/BoardConfigVendor.mk | ||
# Copyright (C) 2011 The CyanogenMod 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. | ||
# This file is generated by device/$VENDOR/$DEVICE/setup-makefiles.sh | ||
EOF | ||
Oops, something went wrong.