Initial import.
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..b65e6ef
--- /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/jfltetmo/BoardConfigVendor.mk
+
+# Assert
+TARGET_OTA_ASSERT_DEVICE := jfltetmo
+
+# Kernel
+TARGET_KERNEL_CONFIG := jf_tmo_defconfig
+TARGET_KERNEL_VARIANT_CONFIG := jf_defconfig
+TARGET_KERNEL_SELINUX_CONFIG := jfselinux_defconfig
+
diff --git a/README b/README
new file mode 100644
index 0000000..124983c
--- /dev/null
+++ b/README
@@ -0,0 +1,5 @@
+Copyright 2012 - The CyanogenMod Project
+
+Device configuration for Samsung Galaxy S4 (T-Mobile model).
+
+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..8d10420
--- /dev/null
+++ b/cm.mk
@@ -0,0 +1,16 @@
+$(call inherit-product, device/samsung/jfltetmo/full_jfltetmo.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=jfltetmo TARGET_DEVICE=jfltetmo BUILD_FINGERPRINT="samsung/jfltetmo/jfltetmo:4.2.2/JDQ39/M919UVUAMDB:user/release-keys" PRIVATE_BUILD_DESC="jfltetmo-user 4.2.2 JDQ39 M919UVUAMDB release-keys"
+
+PRODUCT_NAME := cm_jfltetmo
+PRODUCT_DEVICE := jfltetmo
+
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..9ffbc0d
--- /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/jfltetmo/jfltetmo-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..c47d8e6
--- /dev/null
+++ b/extract-files.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+export DEVICE=jfltetmo
+export VENDOR=samsung
+./../jf-common/extract-files.sh $@
diff --git a/full_jfltetmo.mk b/full_jfltetmo.mk
new file mode 100644
index 0000000..8ae16f6
--- /dev/null
+++ b/full_jfltetmo.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 jfltetmo device
+$(call inherit-product, device/samsung/jfltetmo/device.mk)
+
+# Set those variables here to overwrite the inherited values.
+PRODUCT_NAME := full_jfltetmo
+PRODUCT_DEVICE := jfltetmo
+PRODUCT_BRAND := samsung
+PRODUCT_MANUFACTURER := samsung
+PRODUCT_MODEL := SGH-M919
diff --git a/system.prop b/system.prop
new file mode 100644
index 0000000..a9aa932
--- /dev/null
+++ b/system.prop
@@ -0,0 +1,11 @@
+# system.prop for SGH-M919
+#
+
+# 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..3f37c5a
--- /dev/null
+++ b/vendorsetup.sh
@@ -0,0 +1,2 @@
+add_lunch_combo cm_jfltetmo-eng
+