aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDvTonder <david.vantonder@gmail.com>2013-05-04 12:30:48 -0400
committerDvTonder <david.vantonder@gmail.com>2013-05-04 12:30:48 -0400
commit6d07453740660c00d68fceb84f147c9a248af888 (patch)
tree9a1ada277dfadcf0d967ee4d285af897a11c37ef
first commit
-rw-r--r--.gitignore2
-rw-r--r--BoardConfig.mk36
-rw-r--r--README5
-rw-r--r--cm.dependencies19
-rw-r--r--cm.mk16
-rw-r--r--device-proprietary-files.txt1
-rw-r--r--device.mk24
-rwxr-xr-xextract-files.sh7
-rw-r--r--full_jfltecan.mk35
-rw-r--r--system.prop11
-rw-r--r--vendorsetup.sh2
11 files changed, 158 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9bea433
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+
+.DS_Store
diff --git a/BoardConfig.mk b/BoardConfig.mk
new file mode 100644
index 0000000..ec147e8
--- /dev/null
+++ b/BoardConfig.mk
@@ -0,0 +1,36 @@
+# 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 JF
+-include device/samsung/jf-common/BoardConfigCommon.mk
+
+# inherit from the proprietary version
+-include vendor/samsung/jfltecan/BoardConfigVendor.mk
+
+# Assert
+TARGET_OTA_ASSERT_DEVICE := jfltecan
+
+# Kernel
+TARGET_KERNEL_CONFIG := jf_tmo_defconfig
+TARGET_KERNEL_VARIANT_CONFIG := cyanogen_jf_defconfig
+TARGET_KERNEL_SELINUX_CONFIG := jfselinux_defconfig
+
diff --git a/README b/README
new file mode 100644
index 0000000..efa1894
--- /dev/null
+++ b/README
@@ -0,0 +1,5 @@
+Copyright 2012 - The CyanogenMod Project
+
+Device configuration for Samsung Galaxy S4 (Canadian Models - Bell).
+
+WORK IN PROGRESS. WILL EAT YOUR CAT.
diff --git a/cm.dependencies b/cm.dependencies
new file mode 100644
index 0000000..d8fc3e1
--- /dev/null
+++ b/cm.dependencies
@@ -0,0 +1,19 @@
+[
+ {
+ "repository": "android_device_samsung_qcom-common",
+ "target_path": "device/samsung/qcom-common"
+ },
+ {
+ "repository": "android_device_samsung_msm8960-common",
+ "target_path": "device/samsung/msm8960-common"
+ },
+ {
+ "repository": "android_device_samsung_jf-common",
+ "target_path": "device/samsung/jf-common"
+ },
+ {
+ "repository": "android_kernel_samsung_jf",
+ "target_path": "kernel/samsung/jf"
+ }
+]
+
diff --git a/cm.mk b/cm.mk
new file mode 100644
index 0000000..691fe4f
--- /dev/null
+++ b/cm.mk
@@ -0,0 +1,16 @@
+$(call inherit-product, device/samsung/jfltecan/full_jfltecan.mk)
+
+# Inherit some common CM stuff.
+$(call inherit-product, vendor/cm/config/gsm.mk)
+
+# Enhanced NFC
+$(call inherit-product, vendor/cm/config/nfc_enhanced.mk)
+
+# Inherit some common CM stuff.
+$(call inherit-product, vendor/cm/config/common_full_phone.mk)
+
+PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=jfltevl TARGET_DEVICE=jfltecan BUILD_FINGERPRINT="samsung/jfltevl/jfltecan:4.2.2/JDQ39/I337MVLUAMDJ:user/release-keys" PRIVATE_BUILD_DESC="jfltevl-user 4.2.2 JDQ39 I337MVLUAMDJ release-keys"
+
+PRODUCT_NAME := cm_jfltecan
+PRODUCT_DEVICE := jfltecan
+
diff --git a/device-proprietary-files.txt b/device-proprietary-files.txt
new file mode 100644
index 0000000..755c891
--- /dev/null
+++ b/device-proprietary-files.txt
@@ -0,0 +1 @@
+# Add device specific blobs here
diff --git a/device.mk b/device.mk
new file mode 100644
index 0000000..892f56e
--- /dev/null
+++ b/device.mk
@@ -0,0 +1,24 @@
+#
+# 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.
+#
+
+## (2) Also get non-open-source specific aspects if available
+$(call inherit-product-if-exists, vendor/samsung/jfltecan/jfltecan-vendor.mk)
+
+## common overlays
+DEVICE_PACKAGE_OVERLAYS += device/samsung/jf-common/overlay-gsm
+
+# Inherit from jf-common
+$(call inherit-product, device/samsung/jf-common/jf-common.mk)
diff --git a/extract-files.sh b/extract-files.sh
new file mode 100755
index 0000000..94acc50
--- /dev/null
+++ b/extract-files.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+export DEVICE=jfltecan
+export VENDOR=samsung
+./../jf-common/extract-files.sh $@
diff --git a/full_jfltecan.mk b/full_jfltecan.mk
new file mode 100644
index 0000000..afc123f
--- /dev/null
+++ b/full_jfltecan.mk
@@ -0,0 +1,35 @@
+# Copyright (C) 2011 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.
+
+#
+# This file is the build configuration for a full Android
+# build for maguro hardware. This cleanly combines a set of
+# device-specific aspects (drivers) with a device-agnostic
+# product configuration (apps). Except for a few implementation
+# details, it only fundamentally contains two inherit-product
+# lines, full and maguro, hence its name.
+#
+
+
+# Inherit from those products. Most specific first.
+$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
+# Inherit from jfltecan device
+$(call inherit-product, device/samsung/jfltecan/device.mk)
+
+# Set those variables here to overwrite the inherited values.
+PRODUCT_NAME := full_jfltevl
+PRODUCT_DEVICE := jfltecan
+PRODUCT_BRAND := samsung
+PRODUCT_MANUFACTURER := samsung
+PRODUCT_MODEL := SGH-I337M
diff --git a/system.prop b/system.prop
new file mode 100644
index 0000000..ddfcb9d
--- /dev/null
+++ b/system.prop
@@ -0,0 +1,11 @@
+# system.prop for SGH-I337M
+#
+
+# cannot take spaces
+rild.libargs=-d /dev/smd0
+
+# Fields for custom RIL
+# MAX PROP NAME is 31 chars --|
+ro.telephony.ril_class=SamsungQualcommUiccRIL
+telephony.lteOnGsmDevice=1
+
diff --git a/vendorsetup.sh b/vendorsetup.sh
new file mode 100644
index 0000000..b28db43
--- /dev/null
+++ b/vendorsetup.sh
@@ -0,0 +1,2 @@
+add_lunch_combo cm_jfltecan-eng
+