public init
This commit is contained in:
commit
53018cebe7
14 changed files with 2560 additions and 0 deletions
26
Android.mk
Normal file
26
Android.mk
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2016 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.
|
||||||
|
|
||||||
|
# WARNING: Everything listed here will be built on ALL platforms,
|
||||||
|
# including x86, the emulator, and the SDK. Modules must be uniquely
|
||||||
|
# named (liblights.tuna), and must build everywhere, or limit themselves
|
||||||
|
# to only building on ARM if they include assembly. Individual makefiles
|
||||||
|
# are responsible for having their own logic, for fine-grained control.
|
||||||
|
|
||||||
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
ifeq ($(TARGET_DEVICE),gts3lwifi)
|
||||||
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||||
|
endif
|
17
AndroidProducts.mk
Normal file
17
AndroidProducts.mk
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2016 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.
|
||||||
|
|
||||||
|
PRODUCT_MAKEFILES := \
|
||||||
|
$(LOCAL_DIR)/full_gts3lwifi.mk
|
31
BoardConfig.mk
Normal file
31
BoardConfig.mk
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2016 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.
|
||||||
|
|
||||||
|
# inherit from common msm8996-common
|
||||||
|
-include device/samsung/msm8996-common/BoardConfigCommon.mk
|
||||||
|
|
||||||
|
DEVICE_PATH := device/samsung/gts3lwifi
|
||||||
|
|
||||||
|
# Assert
|
||||||
|
TARGET_OTA_ASSERT_DEVICE := gts3lwifi
|
||||||
|
|
||||||
|
# Kernel
|
||||||
|
TARGET_KERNEL_CONFIG := lineage_gts3lwifi_defconfig
|
||||||
|
|
||||||
|
# Properties
|
||||||
|
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
|
||||||
|
|
||||||
|
# inherit from the proprietary version
|
||||||
|
-include vendor/samsung/gts3lwifi/BoardConfigVendor.mk
|
2219
audio/mixer_paths.xml
Normal file
2219
audio/mixer_paths.xml
Normal file
File diff suppressed because it is too large
Load diff
32
device.mk
Normal file
32
device.mk
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2016 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# call the proprietary setup
|
||||||
|
$(call inherit-product-if-exists, vendor/samsung/gts3lwifi/gts3lwifi-vendor.mk)
|
||||||
|
|
||||||
|
# Overlay
|
||||||
|
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
|
||||||
|
|
||||||
|
# Audio configuration
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(LOCAL_PATH)/audio/mixer_paths.xml:system/etc/mixer_paths.xml
|
||||||
|
|
||||||
|
# Root
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
su
|
||||||
|
|
||||||
|
# Inherit from msm8996-common
|
||||||
|
$(call inherit-product, device/samsung/msm8996-common/msm8996.mk)
|
25
extract-files.sh
Executable file
25
extract-files.sh
Executable file
|
@ -0,0 +1,25 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Copyright (C) 2016 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Required!
|
||||||
|
export DEVICE=gts3lwifi
|
||||||
|
export DEVICE_COMMON=msm8976-common
|
||||||
|
export VENDOR=samsung
|
||||||
|
|
||||||
|
./../../$VENDOR/$DEVICE_COMMON/extract-files.sh $@
|
29
full_gts3lwifi.mk
Normal file
29
full_gts3lwifi.mk
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2016 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# Inherit from those products. Most specific first.
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
|
||||||
|
|
||||||
|
# Inherit from gts3lwifi device
|
||||||
|
$(call inherit-product, device/samsung/gts3lwifi/device.mk)
|
||||||
|
|
||||||
|
# Device identifier. This must come after all inclusions
|
||||||
|
PRODUCT_DEVICE := gts3lwifi
|
||||||
|
PRODUCT_NAME := full_gts3lwifi
|
||||||
|
PRODUCT_BRAND := samsung
|
||||||
|
PRODUCT_MODEL := gts3lwifi
|
||||||
|
PRODUCT_MANUFACTURER := samsung
|
2
lineage.dependencies
Normal file
2
lineage.dependencies
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[
|
||||||
|
]
|
18
lineage.mk
Normal file
18
lineage.mk
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
$(call inherit-product, device/samsung/gts3lwifi/full_gts3lwifi.mk)
|
||||||
|
|
||||||
|
# Inherit some common Lineage stuff.
|
||||||
|
$(call inherit-product, vendor/cm/config/common_full_tablet_wifionly.mk)
|
||||||
|
|
||||||
|
PRODUCT_NAME := lineage_gts3lwifi
|
||||||
|
PRODUCT_BRAND := samsung
|
||||||
|
PRODUCT_MANUFACTURER := samsung
|
||||||
|
PRODUCT_DEVICE := gts3lwifi
|
||||||
|
PRODUCT_MODEL := SM-T820
|
||||||
|
TARGET_VENDOR := Samsung
|
||||||
|
PRODUCT_GMS_CLIENTID_BASE := android-samsung
|
||||||
|
|
||||||
|
# Use the latest approved GMS identifiers
|
||||||
|
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||||
|
PRODUCT_NAME=gts3lwifixx \
|
||||||
|
BUILD_FINGERPRINT=samsung/gts3lwifixx/gts3lwifi:7.0/NRD90M/T820XXU1AQI2:user/release-keys \
|
||||||
|
PRIVATE_BUILD_DESC="gts3lwifixx-user 7.0 NRD90M T820XXU1AQI2 release-keys"
|
29
overlay/frameworks/base/core/res/res/values/config.xml
Normal file
29
overlay/frameworks/base/core/res/res/values/config.xml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
<?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>
|
||||||
|
<!-- This device is not "voice capable"; it's data-only. -->
|
||||||
|
<bool name="config_voice_capable">false</bool>
|
||||||
|
|
||||||
|
<!-- This device does not allow sms service. -->
|
||||||
|
<bool name="config_sms_capable">false</bool>
|
||||||
|
|
||||||
|
<!-- If this is true, the screen will fade off. -->
|
||||||
|
<bool name="config_animateScreenLights">true</bool>
|
||||||
|
</resources>
|
94
overlay/frameworks/base/core/res/res/xml/power_profile.xml
Normal file
94
overlay/frameworks/base/core/res/res/xml/power_profile.xml
Normal file
|
@ -0,0 +1,94 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<device name="Android">
|
||||||
|
<item name="none">0</item>
|
||||||
|
<item name="screen.on">295.3</item>
|
||||||
|
<item name="screen.full">813.9</item>
|
||||||
|
<item name="bluetooth.active">50</item>
|
||||||
|
<item name="bluetooth.on">1.4</item>
|
||||||
|
<item name="wifi.on">2.17</item>
|
||||||
|
<item name="wifi.active">407.9</item>
|
||||||
|
<item name="wifi.scan">408.9</item>
|
||||||
|
<item name="dsp.audio">41.9</item>
|
||||||
|
<item name="dsp.video">195</item>
|
||||||
|
<item name="gps.on">55</item>
|
||||||
|
|
||||||
|
<!-- Different CPU speeds as reported in
|
||||||
|
/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state -->
|
||||||
|
<array name="cpu.speeds">
|
||||||
|
<value>307200</value> <!-- 307.2 MHz CPU speed -->
|
||||||
|
<value>403200</value> <!-- 403.2 MHz CPU speed -->
|
||||||
|
<value>422400</value> <!-- 422.4 MHz CPU speed -->
|
||||||
|
<value>480000</value> <!-- 480 MHz CPU speed -->
|
||||||
|
<value>556800</value> <!-- 556.8 MHz CPU speed -->
|
||||||
|
<value>652800</value> <!-- 652.8 MHz CPU speed -->
|
||||||
|
<value>729600</value> <!-- 729.6 MHz CPU speed -->
|
||||||
|
<value>806400</value> <!-- 806.4 MHz CPU speed -->
|
||||||
|
<value>844800</value> <!-- 844.8 MHz CPU speed -->
|
||||||
|
<value>883200</value> <!-- 883.2 MHz CPU speed -->
|
||||||
|
<value>940800</value> <!-- 940.8 MHz CPU speed -->
|
||||||
|
<value>960000</value> <!-- 960 MHz CPU speed -->
|
||||||
|
<value>1036800</value> <!-- 1036.8 MHz CPU speed -->
|
||||||
|
<value>1113600</value> <!-- 1113.6 MHz CPU speed -->
|
||||||
|
<value>1190400</value> <!-- 1190.4 MHz CPU speed -->
|
||||||
|
<value>1228800</value> <!-- 1228.8 MHz CPU speed -->
|
||||||
|
<value>1248000</value> <!-- 1248 MHz CPU speed -->
|
||||||
|
<value>1324800</value> <!-- 1324.8 MHz CPU speed -->
|
||||||
|
<value>1401600</value> <!-- 1401.6 MHz CPU speed -->
|
||||||
|
<value>1478400</value> <!-- 1478.4 MHz CPU speed -->
|
||||||
|
<value>1555200</value> <!-- 1555.2 MHz CPU speed -->
|
||||||
|
<value>1593600</value> <!-- 1593.6 MHz CPU speed -->
|
||||||
|
<value>1632000</value> <!-- 1632 MHz CPU speed -->
|
||||||
|
<value>1708800</value> <!-- 1708.8 MHz CPU speed -->
|
||||||
|
<value>1785600</value> <!-- 1785.6 MHz CPU speed -->
|
||||||
|
<value>1824000</value> <!-- 1824 MHz CPU speed -->
|
||||||
|
<value>1920000</value> <!-- 1920 MHz CPU speed -->
|
||||||
|
<value>1996800</value> <!-- 1996.8 MHz CPU speed -->
|
||||||
|
<value>2073600</value> <!-- 2073.6 MHz CPU speed -->
|
||||||
|
<value>2150400</value> <!-- 2150.4 MHz CPU speed -->
|
||||||
|
</array>
|
||||||
|
<!-- Power consumption when CPU is idle -->
|
||||||
|
<item name="cpu.idle">8</item>
|
||||||
|
<item name="cpu.awake">25</item>
|
||||||
|
<!-- Power consumption at different speeds -->
|
||||||
|
<array name="cpu.active">
|
||||||
|
<value>78</value> <!-- 307.2 MHz CPU speed -->
|
||||||
|
<value>90</value> <!-- 403.2 MHz CPU speed -->
|
||||||
|
<value>85</value> <!-- 422.4 MHz CPU speed -->
|
||||||
|
<value>95</value> <!-- 480 MHz CPU speed -->
|
||||||
|
<value>103</value> <!-- 556.8 MHz CPU speed -->
|
||||||
|
<value>110</value> <!-- 652.8 MHz CPU speed -->
|
||||||
|
<value>118</value> <!-- 729.6 MHz CPU speed -->
|
||||||
|
<value>130</value> <!-- 806.4 MHz CPU speed -->
|
||||||
|
<value>131</value> <!-- 844.8 MHz CPU speed -->
|
||||||
|
<value>140</value> <!-- 883.2 MHz CPU speed -->
|
||||||
|
<value>145</value> <!-- 940.8 MHz CPU speed -->
|
||||||
|
<value>148</value> <!-- 960 MHz CPU speed -->
|
||||||
|
<value>163</value> <!-- 1036.8 MHz CPU speed -->
|
||||||
|
<value>178</value> <!-- 1113.6 MHz CPU speed -->
|
||||||
|
<value>194</value> <!-- 1190.4 MHz CPU speed -->
|
||||||
|
<value>208</value> <!-- 1228.8 MHz CPU speed -->
|
||||||
|
<value>209</value> <!-- 1248 MHz CPU speed -->
|
||||||
|
<value>230</value> <!-- 1324.8 MHz CPU speed -->
|
||||||
|
<value>250</value> <!-- 1401.6 MHz CPU speed -->
|
||||||
|
<value>270</value> <!-- 1478.4 MHz CPU speed -->
|
||||||
|
<value>290</value> <!-- 1555.2 MHz CPU speed -->
|
||||||
|
<value>330</value> <!-- 1593.6 MHz CPU speed -->
|
||||||
|
<value>315</value> <!-- 1632 MHz CPU speed -->
|
||||||
|
<value>345</value> <!-- 1708.8 MHz CPU speed -->
|
||||||
|
<value>378</value> <!-- 1785.6 MHz CPU speed -->
|
||||||
|
<value>398</value> <!-- 1824 MHz CPU speed -->
|
||||||
|
<value>442</value> <!-- 1920 MHz CPU speed -->
|
||||||
|
<value>492</value> <!-- 1996.8 MHz CPU speed -->
|
||||||
|
<value>530</value> <!-- 2073.6 MHz CPU speed -->
|
||||||
|
<value>610</value> <!-- 2150.4 MHz CPU speed -->
|
||||||
|
</array>
|
||||||
|
|
||||||
|
<item name="battery.capacity">6000</item>
|
||||||
|
<array name="wifi.batchedscan">
|
||||||
|
<value>.0002</value>
|
||||||
|
<value>.002</value>
|
||||||
|
<value>.02</value>
|
||||||
|
<value>.2</value>
|
||||||
|
<value>2</value>
|
||||||
|
</array>
|
||||||
|
</device>
|
0
proprietary-files.txt
Normal file
0
proprietary-files.txt
Normal file
25
setup-makefiles.sh
Executable file
25
setup-makefiles.sh
Executable file
|
@ -0,0 +1,25 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Copyright (C) 2016 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Required!
|
||||||
|
export DEVICE=gts3lwifi
|
||||||
|
export DEVICE_COMMON=msm8996-common
|
||||||
|
export VENDOR=samsung
|
||||||
|
|
||||||
|
./../../$VENDOR/$DEVICE_COMMON/setup-makefiles.sh $@
|
13
system.prop
Normal file
13
system.prop
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Bluetooth
|
||||||
|
ro.bluetooth.dun=false
|
||||||
|
ro.bluetooth.sap=false
|
||||||
|
ro.qualcomm.bluetooth.ftp=true
|
||||||
|
ro.qualcomm.bluetooth.hfp=false
|
||||||
|
ro.qualcomm.bluetooth.hsp=false
|
||||||
|
ro.qualcomm.bluetooth.map=true
|
||||||
|
ro.qualcomm.bluetooth.nap=false
|
||||||
|
ro.qualcomm.bluetooth.opp=true
|
||||||
|
ro.qualcomm.bluetooth.pbap=true
|
||||||
|
|
||||||
|
# Radio
|
||||||
|
ro.radio.noril=yes
|
Loading…
Reference in a new issue