Add full_honami.mk.
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..27a6207
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,5 @@
+LOCAL_PATH := $(call my-dir)
+
+ifeq ($(TARGET_DEVICE),honami)
+ include $(call first-makefiles-under,$(LOCAL_PATH))
+endif
diff --git a/AndroidBoard.mk b/AndroidBoard.mk
new file mode 100644
index 0000000..34e093f
--- /dev/null
+++ b/AndroidBoard.mk
@@ -0,0 +1,3 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
new file mode 100644
index 0000000..57aa28b
--- /dev/null
+++ b/AndroidProducts.mk
@@ -0,0 +1,2 @@
+PRODUCT_MAKEFILES := \
+ $(LOCAL_DIR)/full_honami.mk
diff --git a/BoardConfig.mk b/BoardConfig.mk
new file mode 100644
index 0000000..72dd3ea
--- /dev/null
+++ b/BoardConfig.mk
@@ -0,0 +1,37 @@
+# Copyright (C) 2013 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 the common rhine definitions
+include device/sony/rhine-common/BoardConfigCommon.mk
+
+# inherit from the proprietary version
+#-include vendor/sony/honami/BoardConfigVendor.mk
+
+# Assert
+TARGET_OTA_ASSERT_DEVICE := C6902,C6903,C6906,C6943,honami
+
+TARGET_SPECIFIC_HEADER_PATH += device/sony/honami/include
+
+BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/sony/honami/bluetooth
+
+# Kernel properties
+TARGET_KERNEL_CONFIG := jaguar_rhine_honami_row_defconfig
+
+# Partition information
+BOARD_VOLD_MAX_PARTITIONS := 26
+
+BOARD_BOOTIMAGE_PARTITION_SIZE := 0x01400000
+BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x01400000
+BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1056964608
+BOARD_USERDATAIMAGE_PARTITION_SIZE := 2147483648
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..693d893
--- /dev/null
+++ b/README.md
@@ -0,0 +1,2 @@
+android_device_sony_honami
+==========================
diff --git a/audio/mixer_paths.xml b/audio/mixer_paths.xml
new file mode 100644
index 0000000..c0cc80a
--- /dev/null
+++ b/audio/mixer_paths.xml
@@ -0,0 +1,1684 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<mixer>
+ <!-- These are the initial mixer settings -->
+ <!-- Refer to 80-NA556-2 WCD9320 AUDIO CODEC SOFTWARE INTERFACE FOR OEMS
+ for register map -->
+ <ctl name="Voice Rx Device Mute" id="0" value="0" />
+ <ctl name="Voice Rx Device Mute" id="1" value="-1" />
+ <ctl name="Voice Rx Device Mute" id="2" value="20" />
+ <ctl name="Voice Tx Mute" id="0" value="0" />
+ <ctl name="Voice Tx Mute" id="1" value="-1" />
+ <ctl name="Voice Tx Mute" id="2" value="500" />
+ <ctl name="Voice Rx Gain" id="0" value="0" />
+ <ctl name="Voice Rx Gain" id="1" value="-1" />
+ <ctl name="Voice Rx Gain" id="2" value="20" />
+ <ctl name="Voip Tx Mute" id="0" value="0" />
+ <ctl name="Voip Tx Mute" id="1" value="500" />
+ <ctl name="Voip Rx Gain" id="0" value="0" />
+ <ctl name="Voip Rx Gain" id="1" value="20" />
+ <ctl name="Voip Mode Config" value="12" />
+ <ctl name="Voip Rate Config" value="0" />
+ <ctl name="Voip Evrc Min Max Rate Config" id="0" value="1" />
+ <ctl name="Voip Evrc Min Max Rate Config" id="1" value="4" />
+ <ctl name="Voip Dtx Mode" value="0" />
+ <ctl name="TTY Mode" value="Off" />
+ <ctl name="LINEOUT1 Volume" value="13" />
+ <ctl name="LINEOUT2 Volume" value="13" />
+ <ctl name="LINEOUT3 Volume" value="13" />
+ <ctl name="LINEOUT4 Volume" value="13" />
+ <ctl name="HPHL Volume" value="20" />
+ <ctl name="HPHR Volume" value="20" />
+ <ctl name="RX1 Digital Volume" value="84" />
+ <ctl name="RX2 Digital Volume" value="84" />
+ <ctl name="RX3 Digital Volume" value="84" />
+ <ctl name="RX4 Digital Volume" value="84" />
+ <ctl name="RX5 Digital Volume" value="84" />
+ <ctl name="RX6 Digital Volume" value="84" />
+ <ctl name="RX7 Digital Volume" value="84" />
+ <ctl name="ADC1 Volume" value="19" />
+ <ctl name="ADC2 Volume" value="19" />
+ <ctl name="ADC3 Volume" value="19" />
+ <ctl name="ADC4 Volume" value="19" />
+ <ctl name="ADC5 Volume" value="19" />
+ <ctl name="ADC6 Volume" value="19" />
+ <ctl name="DEC1 Volume" value="84" />
+ <ctl name="DEC2 Volume" value="84" />
+ <ctl name="DEC3 Volume" value="84" />
+ <ctl name="DEC4 Volume" value="84" />
+ <ctl name="DEC5 Volume" value="84" />
+ <ctl name="DEC6 Volume" value="84" />
+ <ctl name="DEC7 Volume" value="84" />
+ <ctl name="DEC8 Volume" value="84" />
+ <ctl name="DEC9 Volume" value="84" />
+ <ctl name="DEC10 Volume" value="84" />
+ <ctl name="COMP0 Switch" value="0" />
+ <ctl name="COMP1 Switch" value="0" />
+ <ctl name="COMP2 Switch" value="0" />
+ <ctl name="SLIMBUS_3_RX Port Mixer MI2S_TX" value="0" />
+ <ctl name="HDMI_RX Port Mixer MI2S_TX" value="0" />
+ <ctl name="SLIMBUS_0_RX Port Mixer SLIM_0_TX" value="0" />
+ <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia2" value="0" />
+ <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia3" value="0" />
+ <ctl name="SLIMBUS_0_RX Port Mixer INT_BT_SCO_TX" value="0" />
+ <ctl name="AUX_PCM_RX Audio Mixer MultiMedia5" value="0" />
+ <ctl name="AUX_PCM_RX_Voice Mixer CSVoice" value="0" />
+ <ctl name="SEC_AUX_PCM_RX_Voice Mixer CSVoice" value="0" />
+ <ctl name="Voice_Tx Mixer SLIM_0_TX_Voice" value="0" />
+ <ctl name="Voice_Tx Mixer SEC_AUX_PCM_TX_Voice" value="0" />
+ <!-- Audio BTSCO -->
+ <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="0" />
+ <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia4" value="0" />
+ <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="0" />
+ <ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="0" />
+ <!-- Voice BTSCO -->
+ <ctl name="Internal BTSCO SampleRate" value="8000" />
+ <ctl name="INTERNAL_BT_SCO_RX_Voice Mixer CSVoice" value="0" />
+ <ctl name="INTERNAL_BT_SCO_RX Audio Mixer Multimedia6" value="0" />
+ <ctl name="MultiMedia6 Mixer SLIM_0_TX" value="0" />
+ <ctl name="Voice_Tx Mixer INTERNAL_BT_SCO_TX_Voice" value="0" />
+ <ctl name="HDMI_RX_Voice Mixer CSVoice" value="0" />
+ <ctl name="SLIM_0_RX_Voice Mixer CSVoice" value="0" />
+ <ctl name="SLIMBUS_4_RX Audio Mixer MultiMedia1" value="0" />
+ <ctl name="SLIMBUS_4_RX Audio Mixer MultiMedia2" value="0" />
+ <ctl name="MultiMedia5 Mixer SLIM_0_TX" value="0" />
+ <ctl name="MultiMedia5 Mixer AFE_PCM_TX" value="0" />
+ <ctl name="MultiMedia4 Mixer MI2S_TX" value="0" />
+ <ctl name="MultiMedia1 Mixer MI2S_TX" value="0" />
+ <ctl name="MultiMedia1 Mixer SLIM_0_TX" value="0" />
+ <ctl name="MultiMedia1 Mixer SLIM_4_TX" value="0" />
+ <ctl name="HDMI Mixer MultiMedia1" value="0" />
+ <ctl name="HDMI Mixer MultiMedia2" value="0" />
+ <ctl name="HDMI Mixer MultiMedia3" value="0" />
+ <ctl name="HDMI Mixer MultiMedia4" value="0" />
+ <ctl name="HDMI Mixer MultiMedia5" value="0" />
+ <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="0" />
+ <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia2" value="0" />
+ <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia3" value="0" />
+ <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia4" value="0" />
+ <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="0" />
+ <ctl name="IIR1 INP1 MUX" value="ZERO" />
+ <ctl name="SLIM0_RX_VI_FB_LCH_MUX" value="ZERO" />
+ <ctl name="SLIM TX10 MUX" value="ZERO" />
+ <ctl name="SLIM TX9 MUX" value="ZERO" />
+ <ctl name="SLIM TX8 MUX" value="ZERO" />
+ <ctl name="SLIM TX7 MUX" value="ZERO" />
+ <ctl name="SLIM TX6 MUX" value="ZERO" />
+ <ctl name="SLIM TX5 MUX" value="ZERO" />
+ <ctl name="SLIM TX4 MUX" value="ZERO" />
+ <ctl name="SLIM TX3 MUX" value="ZERO" />
+ <ctl name="SLIM TX2 MUX" value="ZERO" />
+ <ctl name="SLIM TX1 MUX" value="ZERO" />
+ <ctl name="DEC10 MUX" value="ZERO" />
+ <ctl name="DEC9 MUX" value="ZERO" />
+ <ctl name="DEC8 MUX" value="ZERO" />
+ <ctl name="DEC7 MUX" value="ZERO" />
+ <ctl name="DEC6 MUX" value="ZERO" />
+ <ctl name="DEC5 MUX" value="ZERO" />
+ <ctl name="DEC4 MUX" value="ZERO" />
+ <ctl name="DEC3 MUX" value="ZERO" />
+ <ctl name="DEC2 MUX" value="ZERO" />
+ <ctl name="DEC1 MUX" value="ZERO" />
+ <ctl name="RX2 MIX2 INP2" value="ZERO" />
+ <ctl name="RX2 MIX2 INP1" value="ZERO" />
+ <ctl name="RX1 MIX2 INP2" value="ZERO" />
+ <ctl name="RX1 MIX2 INP1" value="ZERO" />
+ <ctl name="RX7 MIX1 INP2" value="ZERO" />
+ <ctl name="RX7 MIX1 INP1" value="ZERO" />
+ <ctl name="RX6 MIX1 INP2" value="ZERO" />
+ <ctl name="RX6 MIX1 INP1" value="ZERO" />
+ <ctl name="RX5 MIX1 INP2" value="ZERO" />
+ <ctl name="RX5 MIX1 INP1" value="ZERO" />
+ <ctl name="RX4 MIX1 INP2" value="ZERO" />
+ <ctl name="RX4 MIX1 INP1" value="ZERO" />
+ <ctl name="RX3 MIX1 INP2" value="ZERO" />
+ <ctl name="RX3 MIX1 INP1" value="ZERO" />
+ <ctl name="RX2 MIX1 INP2" value="ZERO" />
+ <ctl name="RX2 MIX1 INP1" value="ZERO" />
+ <ctl name="RX1 MIX1 INP3" value="ZERO" />
+ <ctl name="RX1 MIX1 INP2" value="ZERO" />
+ <ctl name="RX1 MIX1 INP1" value="ZERO" />
+ <ctl name="HPHL DAC Switch" value="0" />
+ <ctl name="DAC1 Switch" value="0" />
+ <ctl name="SLIM_0_RX Channels" value="One" />
+ <ctl name="SLIM_0_TX Channels" value="One" />
+ <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
+ <ctl name="EAR PA Gain" value="POS_6_DB" />
+ <ctl name="SLIM RX2 MUX" value="ZERO" />
+ <ctl name="SPK DRV Volume" value="8" />
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="0" />
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="0"/>
+ <ctl name="CLASS_H_DSM MUX" value="ZERO" />
+ <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia4" value="0" />
+ <ctl name="AFE_PCM_RX Audio Mixer MultiMedia4" value="0" />
+ <ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia4" value="0" />
+ <ctl name="HDMI Mixer MultiMedia4" value="0" />
+ <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia4" value="0" />
+ <!-- usb headset -->
+ <ctl name="AFE_PCM_RX Audio Mixer MultiMedia1" value="0" />
+ <ctl name="MultiMedia1 Mixer AFE_PCM_TX" value="0" />
+ <ctl name="AFE_PCM_RX_Voice Mixer CSVoice" value="0" />
+ <ctl name="Voice_Tx Mixer AFE_PCM_TX_Voice" value="0" />
+ <ctl name="AFE_PCM_RX Audio Mixer MultiMedia5" value="0" />
+ <ctl name="AFE_PCM_RX Port Mixer INTERNAL_FM_TX" value="0" />
+ <!-- usb headset end -->
+ <!-- fm -->
+ <ctl name="SLIMBUS_0_RX Port Mixer INTERNAL_FM_TX" value="0" />
+ <ctl name="SLIMBUS_DL_HL Switch" value="0" />
+ <ctl name="MultiMedia1 Mixer INTERNAL_FM_TX" value="0" />
+ <ctl name="MultiMedia2 Mixer INTERNAL_FM_TX" value="0" />
+ <ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia1" value="0" />
+ <ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia5" value="0" />
+ <!-- fm end -->
+
+ <!-- Incall Recording -->
+ <ctl name="MultiMedia1 Mixer VOC_REC_UL" value="0" />
+ <ctl name="MultiMedia1 Mixer VOC_REC_DL" value="0" />
+
+ <!-- VoLTE -->
+ <ctl name="SLIM_0_RX_Voice Mixer VoLTE" value="0" />
+ <ctl name="VoLTE_Tx Mixer SLIM_0_TX_VoLTE" value="0" />
+ <ctl name="HDMI_RX_Voice Mixer VoLTE" value="0" />
+ <ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoLTE" value="0" />
+ <ctl name="VoLTE_Tx Mixer INTERNAL_BT_SCO_TX_VoLTE" value="0" />
+ <ctl name="AFE_PCM_RX_Voice Mixer VoLTE" value="0" />
+ <ctl name="VoLTE_Tx Mixer AFE_PCM_TX_VoLTE" value="0" />
+ <!-- VoLTE end-->
+
+ <!-- Voice2 -->
+ <ctl name="SLIM_0_RX_Voice Mixer Voice2" value="0" />
+ <ctl name="Voice2_Tx Mixer SLIM_0_TX_Voice2" value="0" />
+ <ctl name="HDMI_RX_Voice Mixer Voice2" value="0" />
+ <ctl name="Voice2_Tx Mixer SLIM_0_TX_Voice2" value="0" />
+ <ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice2" value="0" />
+ <ctl name="Voice2_Tx Mixer INTERNAL_BT_SCO_TX_Voice2" value="0" />
+ <ctl name="AFE_PCM_RX_Voice Mixer Voice2" value="0" />
+ <ctl name="Voice2_Tx Mixer AFE_PCM_TX_Voice2" value="0" />
+ <!-- Voice2 End-->
+
+ <!-- compress-voip-call -->
+ <ctl name="SLIM_0_RX_Voice Mixer Voip" value="0" />
+ <ctl name="Voip_Tx Mixer SLIM_0_TX_Voip" value="0" />
+ <ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voip" value="0" />
+ <ctl name="Voip_Tx Mixer INTERNAL_BT_SCO_TX_Voip" value="0" />
+ <ctl name="AFE_PCM_RX_Voice Mixer Voip" value="0" />
+ <ctl name="Voip_Tx Mixer AFE_PCM_TX_Voip" value="0" />
+ <!-- compress-voip-call End-->
+
+ <!-- QCHAT -->
+ <ctl name="SLIM_0_RX_Voice Mixer QCHAT" value="0" />
+ <ctl name="QCHAT_Tx Mixer SLIM_0_TX_QCHAT" value="0" />
+ <ctl name="INTERNAL_BT_SCO_RX_Voice Mixer QCHAT" value="0" />
+ <ctl name="QCHAT_Tx Mixer INTERNAL_BT_SCO_TX_QCHAT" value="0" />
+ <!-- QCHAT End -->
+
+ <!-- anc headset -->
+ <!-- speaker anc combo -->
+ <ctl name="RX4 DSM MUX" value="CIC_OUT" />
+ <ctl name="RX6 DSM MUX" value="CIC_OUT" />
+ <!-- speaker anc combo end -->
+ <!-- IIR/voice anc -->
+ <ctl name="IIR1 Band1" id ="0" value="268435456" />
+ <ctl name="IIR1 Band1" id ="1" value="0" />
+ <ctl name="IIR1 Band1" id ="2" value="0" />
+ <ctl name="IIR1 Band1" id ="3" value="0" />
+ <ctl name="IIR1 Band1" id ="4" value="0" />
+ <ctl name="IIR1 Band2" id ="0" value="268435456" />
+ <ctl name="IIR1 Band2" id ="1" value="0" />
+ <ctl name="IIR1 Band2" id ="2" value="0" />
+ <ctl name="IIR1 Band2" id ="3" value="0" />
+ <ctl name="IIR1 Band2" id ="4" value="0" />
+ <ctl name="IIR1 Band3" id ="0" value="268435456" />
+ <ctl name="IIR1 Band3" id ="1" value="0" />
+ <ctl name="IIR1 Band3" id ="2" value="0" />
+ <ctl name="IIR1 Band3" id ="3" value="0" />
+ <ctl name="IIR1 Band3" id ="4" value="0" />
+ <ctl name="IIR1 Band4" id ="0" value="268435456" />
+ <ctl name="IIR1 Band4" id ="1" value="0" />
+ <ctl name="IIR1 Band4" id ="2" value="0" />
+ <ctl name="IIR1 Band4" id ="3" value="0" />
+ <ctl name="IIR1 Band4" id ="4" value="0" />
+ <ctl name="IIR1 Band5" id ="0" value="268435456" />
+ <ctl name="IIR1 Band5" id ="1" value="0" />
+ <ctl name="IIR1 Band5" id ="2" value="0" />
+ <ctl name="IIR1 Band5" id ="3" value="0" />
+ <ctl name="IIR1 Band5" id ="4" value="0" />
+ <ctl name="IIR1 Enable Band1" value="0" />
+ <ctl name="IIR1 Enable Band2" value="0" />
+ <ctl name="IIR1 Enable Band3" value="0" />
+ <ctl name="IIR1 Enable Band4" value="0" />
+ <ctl name="IIR1 Enable Band5" value="0" />
+ <ctl name="IIR1 INP1 Volume" value="51" />
+ <!-- IIR/voice anc end -->
+ <!-- anc handset -->
+ <ctl name="ANC Slot" value="0" />
+ <ctl name="ANC1 FB MUX" value="ZERO" />
+ <!-- anc handset end -->
+ <ctl name="ANC1 MUX" value="ZERO" />
+ <ctl name="ANC2 MUX" value="ZERO" />
+ <ctl name="ANC Function" value="OFF" />
+ <!-- anc headset end-->
+ <!-- aanc handset mic -->
+ <ctl name="AIF1_CAP Mixer SLIM TX9" value="0" />
+ <ctl name="SLIM_0_RX AANC MUX" value="ZERO" />
+ <!-- aanc handset mic end -->
+ <!-- ssr qmic -->
+ <ctl name="AIF1_CAP Mixer SLIM TX10" value="0" />
+ <!-- ssr qmic end-->
+ <!-- audio record compress-->
+ <ctl name="MultiMedia8 Mixer SLIM_0_TX" value="0" />
+ <ctl name="MultiMedia8 Mixer INTERNAL_BT_SCO_TX" value="0" />
+ <ctl name="MultiMedia8 Mixer AFE_PCM_TX" value="0" />
+ <ctl name="MultiMedia8 Mixer VOC_REC_UL" value="0" />
+ <ctl name="MultiMedia8 Mixer VOC_REC_DL" value="0" />
+ <!-- audio record compress end-->
+ <!-- listen -->
+ <ctl name="LSM1 MUX" value="None" />
+ <ctl name="SLIMBUS_5_TX LSM Function" value="None" />
+ <ctl name="MADONOFF Switch" value="0" />
+ <ctl name="MAD Input" value="DMIC1" />
+ <!-- listen end-->
+ <!-- afe-proxy -->
+ <ctl name="AFE_PCM_RX Audio Mixer MultiMedia2" value="0" />
+ <!-- afe-proxy end-->
+
+ <!-- These are audio route (FE to BE) specific mixer settings -->
+ <path name="deep-buffer-playback">
+ <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="1" />
+ </path>
+
+ <path name="deep-buffer-playback hdmi">
+ <ctl name="HDMI Mixer MultiMedia1" value="1" />
+ </path>
+
+ <path name="deep-buffer-playback speaker-and-hdmi">
+ <path name="deep-buffer-playback hdmi" />
+ <path name="deep-buffer-playback" />
+ </path>
+
+ <path name="deep-buffer-playback bt-sco">
+ <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="1" />
+ </path>
+
+ <path name="deep-buffer-playback bt-sco-wb">
+ <ctl name="Internal BTSCO SampleRate" value="16000" />
+ <path name="deep-buffer-playback bt-sco" />
+ </path>
+
+ <path name="deep-buffer-playback afe-proxy">
+ <ctl name="AFE_PCM_RX Audio Mixer MultiMedia1" value="1" />
+ </path>
+
+ <path name="deep-buffer-playback usb-headphones">
+ <path name="deep-buffer-playback afe-proxy" />
+ </path>
+
+ <path name="deep-buffer-playback speaker-and-usb-headphones">
+ <path name="deep-buffer-playback usb-headphones" />
+ <path name="deep-buffer-playback" />
+ </path>
+
+ <path name="deep-buffer-playback transmission-fm">
+ <ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia1" value="1" />
+ </path>
+
+ <path name="low-latency-playback">
+ <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="1" />
+ </path>
+
+ <path name="low-latency-playback hdmi">
+ <ctl name="HDMI Mixer MultiMedia5" value="1" />
+ </path>
+
+ <path name="low-latency-playback bt-sco">
+ <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="1" />
+ </path>
+
+ <path name="low-latency-playback bt-sco-wb">
+ <ctl name="Internal BTSCO SampleRate" value="16000" />
+ <path name="low-latency-playback bt-sco" />
+ </path>
+
+ <path name="low-latency-playback speaker-and-hdmi">
+ <path name="low-latency-playback hdmi" />
+ <path name="low-latency-playback" />
+ </path>
+
+ <path name="low-latency-playback afe-proxy">
+ <ctl name="AFE_PCM_RX Audio Mixer MultiMedia5" value="1" />
+ </path>
+
+ <path name="low-latency-playback usb-headphones">
+ <path name="low-latency-playback afe-proxy" />
+ </path>
+
+ <path name="low-latency-playback speaker-and-usb-headphones">
+ <path name="low-latency-playback usb-headphones" />
+ <path name="low-latency-playback" />
+ </path>
+
+ <path name="low-latency-playback transmission-fm">
+ <ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia5" value="1" />
+ </path>
+
+ <path name="multi-channel-playback hdmi">
+ <ctl name="HDMI Mixer MultiMedia2" value="1" />
+ </path>
+
+ <path name="multi-channel-playback afe-proxy">
+ <ctl name="AFE_PCM_RX Audio Mixer MultiMedia2" value="1" />
+ </path>
+
+ <path name="compress-offload-playback">
+ <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia4" value="1" />
+ </path>
+
+ <path name="compress-offload-playback hdmi">
+ <ctl name="HDMI Mixer MultiMedia4" value="1" />
+ </path>
+
+ <path name="compress-offload-playback bt-sco">
+ <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia4" value="1" />
+ </path>
+
+ <path name="compress-offload-playback bt-sco-wb">
+ <ctl name="Internal BTSCO SampleRate" value="16000" />
+ <path name="compress-offload-playback bt-sco" />
+ </path>
+
+ <path name="compress-offload-playback speaker-and-hdmi">
+ <path name="compress-offload-playback hdmi" />
+ <path name="compress-offload-playback" />
+ </path>
+
+ <path name="compress-offload-playback afe-proxy">
+ <ctl name="AFE_PCM_RX Audio Mixer MultiMedia4" value="1" />
+ </path>
+
+ <path name="compress-offload-playback usb-headphones">
+ <path name="compress-offload-playback afe-proxy" />
+ </path>
+
+ <path name="compress-offload-playback speaker-and-usb-headphones">
+ <path name="compress-offload-playback usb-headphones" />
+ <path name="compress-offload-playback" />
+ </path>
+
+ <path name="compress-offload-playback transmission-fm">
+ <ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia4" value="1" />
+ </path>
+
+ <path name="audio-record">
+ <ctl name="MultiMedia1 Mixer SLIM_0_TX" value="1" />
+ </path>
+
+ <path name="audio-record usb-headset-mic">
+ <ctl name="MultiMedia1 Mixer AFE_PCM_TX" value="1" />
+ </path>
+
+ <path name="audio-record bt-sco">
+ <ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="1" />
+ </path>
+
+ <path name="audio-record bt-sco-wb">
+ <ctl name="Internal BTSCO SampleRate" value="16000" />
+ <path name="audio-record bt-sco" />
+ </path>
+
+ <path name="audio-record capture-fm">
+ <ctl name="MultiMedia1 Mixer INTERNAL_FM_TX" value="1" />
+ </path>
+
+ <path name="audio-record-compress">
+ <ctl name="MultiMedia8 Mixer SLIM_0_TX" value="1" />
+ </path>
+
+ <path name="audio-record-compress bt-sco">
+ <ctl name="MultiMedia8 Mixer INTERNAL_BT_SCO_TX" value="1" />
+ </path>
+
+ <path name="audio-record-compress bt-sco-wb">
+ <ctl name="Internal BTSCO SampleRate" value="16000" />
+ <path name="audio-record-compress bt-sco" />
+ </path>
+
+ <path name="audio-record-compress usb-headset-mic">
+ <ctl name="MultiMedia8 Mixer AFE_PCM_TX" value="1" />
+ </path>
+
+ <path name="fm-virtual-record capture-fm">
+ <ctl name="MultiMedia2 Mixer INTERNAL_FM_TX" value="1" />
+ </path>
+
+ <path name="voice-call">
+ <ctl name="SLIM_0_RX_Voice Mixer CSVoice" value="1" />
+ <ctl name="Voice_Tx Mixer SLIM_0_TX_Voice" value="1" />
+ </path>
+
+ <path name="voice-call hdmi">
+ <ctl name="HDMI_RX_Voice Mixer CSVoice" value="1" />
+ <ctl name="Voice_Tx Mixer SLIM_0_TX_Voice" value="1" />
+ </path>
+
+ <path name="voice-call bt-sco">
+ <ctl name="INTERNAL_BT_SCO_RX_Voice Mixer CSVoice" value="1" />
+ <ctl name="Voice_Tx Mixer INTERNAL_BT_SCO_TX_Voice" value="1" />
+ </path>
+
+ <path name="voice-call bt-sco-wb">
+ <ctl name="Internal BTSCO SampleRate" value="16000" />
+ <path name="voice-call bt-sco" />
+ </path>
+
+ <path name="voice-call afe-proxy">
+ <ctl name="AFE_PCM_RX_Voice Mixer CSVoice" value="1" />
+ <ctl name="Voice_Tx Mixer AFE_PCM_TX_Voice" value="1" />
+ </path>
+
+ <path name="afe-proxy-playback afe-proxy">
+ </path>
+
+ <path name="afe-proxy-record afe-proxy">
+ </path>
+
+ <path name="voice-call usb-headphones">
+ <ctl name="AFE_PCM_RX_Voice Mixer CSVoice" value="1" />
+ <ctl name="Voice_Tx Mixer AFE_PCM_TX_Voice" value="1" />
+ </path>
+
+ <path name="voice2-call">
+ <ctl name="SLIM_0_RX_Voice Mixer Voice2" value="1" />
+ <ctl name="Voice2_Tx Mixer SLIM_0_TX_Voice2" value="1" />
+ </path>
+
+ <path name="voice2-call hdmi">
+ <ctl name="HDMI_RX_Voice Mixer Voice2" value="1" />
+ <ctl name="Voice2_Tx Mixer SLIM_0_TX_Voice2" value="1" />
+ </path>
+
+ <path name="voice2-call bt-sco">
+ <ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice2" value="1" />
+ <ctl name="Voice2_Tx Mixer INTERNAL_BT_SCO_TX_Voice2" value="1" />
+ </path>
+
+ <path name="voice2-call bt-sco-wb">
+ <ctl name="Internal BTSCO SampleRate" value="16000" />
+ <path name="voice2-call bt-sco" />
+ </path>
+
+ <path name="voice2-call usb-headphones">
+ <ctl name="AFE_PCM_RX_Voice Mixer Voice2" value="1" />
+ <ctl name="Voice2_Tx Mixer AFE_PCM_TX_Voice2" value="1" />
+ </path>
+
+ <path name="play-fm">
+ <ctl name="Internal FM RX Volume" value="1" />
+ <ctl name="SLIMBUS_0_RX Port Mixer INTERNAL_FM_TX" value="1" />
+ <ctl name="SLIMBUS_DL_HL Switch" value="1" />
+ </path>
+
+ <path name="play-fm usb-headphones">
+ <ctl name="Internal FM RX Volume" value="1" />
+ <ctl name="AFE_PCM_RX Port Mixer INTERNAL_FM_TX" value="1" />
+ <ctl name="SLIMBUS_DL_HL Switch" value="1" />
+ </path>
+
+ <path name="incall-rec-uplink">
+ <ctl name="MultiMedia1 Mixer VOC_REC_UL" value="1" />
+ </path>
+
+ <path name="incall-rec-uplink bt-sco">
+ <path name="incall-rec-uplink" />
+ </path>
+
+ <path name="hfp-sco">
+ <ctl name="SLIMBUS_0_RX Port Mixer INTERNAL_BT_SCO_TX" value="1" />
+ <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia6" value="1" />
+ <ctl name="MultiMedia6 Mixer SLIM_0_TX" value="1" />
+ <ctl name="SLIMBUS_DL_HL Switch" value="1" />
+ </path>
+ <path name="hfp-sco-wb">
+ <ctl name="Internal BTSCO SampleRate" value="16000" />
+ <path name="hfp-sco" />
+ </path>
+
+ <path name="incall-rec-uplink bt-sco-wb">
+ <path name="incall-rec-uplink" />
+ </path>
+
+ <path name="incall-rec-uplink usb-headset-mic">
+ <path name="incall-rec-uplink" />
+ </path>
+
+ <path name="incall-rec-uplink-compress">
+ <ctl name="MultiMedia8 Mixer VOC_REC_UL" value="1" />
+ </path>
+
+ <path name="incall-rec-uplink-compress bt-sco">
+ <path name="incall-rec-uplink-compress" />
+ </path>
+
+ <path name="incall-rec-uplink-compress bt-sco-wb">
+ <path name="incall-rec-uplink-compress" />
+ </path>
+
+ <path name="incall-rec-uplink-compress usb-headset-mic">
+ <path name="incall-rec-uplink-compress" />
+ </path>
+
+ <path name="incall-rec-downlink">
+ <ctl name="MultiMedia1 Mixer VOC_REC_DL" value="1" />
+ </path>
+
+ <path name="incall-rec-downlink bt-sco">
+ <path name="incall-rec-downlink" />
+ </path>
+
+ <path name="incall-rec-downlink bt-sco-wb">
+ <path name="incall-rec-downlink" />
+ </path>
+
+ <path name="incall-rec-downlink usb-headset-mic">
+ <path name="incall-rec-downlink" />
+ </path>
+
+ <path name="incall-rec-downlink-compress">
+ <ctl name="MultiMedia8 Mixer VOC_REC_DL" value="1" />
+ </path>
+
+ <path name="incall-rec-downlink-compress bt-sco">
+ <path name="incall-rec-downlink-compress" />
+ </path>
+
+ <path name="incall-rec-downlink-compress bt-sco-wb">
+ <path name="incall-rec-downlink-compress" />
+ </path>
+
+ <path name="incall-rec-downlink-compress usb-headset-mic">
+ <path name="incall-rec-downlink-compress" />
+ </path>
+
+ <path name="incall-rec-uplink-and-downlink">
+ <path name="incall-rec-uplink" />
+ <path name="incall-rec-downlink" />
+ </path>
+
+ <path name="incall-rec-uplink-and-downlink bt-sco">
+ <path name="incall-rec-uplink-and-downlink" />
+ </path>
+
+ <path name="incall-rec-uplink-and-downlink bt-sco-wb">
+ <path name="incall-rec-uplink-and-downlink" />
+ </path>
+
+ <path name="incall-rec-uplink-and-downlink usb-headset-mic">
+ <path name="incall-rec-uplink-and-downlink" />
+ </path>
+
+ <path name="incall-rec-uplink-and-downlink-compress">
+ <path name="incall-rec-uplink-compress" />
+ <path name="incall-rec-downlink-compress" />
+ </path>
+
+ <path name="incall-rec-uplink-and-downlink-compress bt-sco">
+ <path name="incall-rec-uplink-and-downlink-compress" />
+ </path>
+
+ <path name="incall-rec-uplink-and-downlink-compress bt-sco-wb">
+ <path name="incall-rec-uplink-and-downlink-compress" />
+ </path>
+
+ <path name="incall-rec-uplink-and-downlink-compress usb-headset-mic">
+ <path name="incall-rec-uplink-and-downlink-compress" />
+ </path>
+
+ <path name="volte-call">
+ <ctl name="SLIM_0_RX_Voice Mixer VoLTE" value="1" />
+ <ctl name="VoLTE_Tx Mixer SLIM_0_TX_VoLTE" value="1" />
+ </path>
+
+ <path name="volte-call hdmi">
+ <ctl name="HDMI_RX_Voice Mixer VoLTE" value="1" />
+ <ctl name="VoLTE_Tx Mixer SLIM_0_TX_VoLTE" value="1" />
+ </path>
+
+ <path name="volte-call bt-sco">
+ <ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoLTE" value="1" />
+ <ctl name="VoLTE_Tx Mixer INTERNAL_BT_SCO_TX_VoLTE" value="1" />
+ </path>
+
+ <path name="volte-call bt-sco-wb">
+ <ctl name="Internal BTSCO SampleRate" value="16000" />
+ <path name="volte-call bt-sco" />
+ </path>
+
+ <path name="volte-call usb-headphones">
+ <ctl name="AFE_PCM_RX_Voice Mixer VoLTE" value="1" />
+ <ctl name="VoLTE_Tx Mixer AFE_PCM_TX_VoLTE" value="1" />
+ </path>
+
+ <path name="compress-voip-call">
+ <ctl name="SLIM_0_RX_Voice Mixer Voip" value="1" />
+ <ctl name="Voip_Tx Mixer SLIM_0_TX_Voip" value="1" />
+ </path>
+
+ <path name="compress-voip-call bt-sco">
+ <ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voip" value="1" />
+ <ctl name="Voip_Tx Mixer INTERNAL_BT_SCO_TX_Voip" value="1" />
+ </path>
+
+ <path name="compress-voip-call bt-sco-wb">
+ <ctl name="Internal BTSCO SampleRate" value="16000" />
+ <path name="compress-voip-call bt-sco" />
+ </path>
+
+ <path name="compress-voip-call usb-headphones">
+ <ctl name="AFE_PCM_RX_Voice Mixer Voip" value="1" />
+ <ctl name="Voip_Tx Mixer AFE_PCM_TX_Voip" value="1" />
+ </path>
+
+ <path name="spkr-rx-calib">
+ <ctl name="SLIMBUS_DL_HL Switch" value="1" />
+ </path>
+
+ <path name="spkr-vi-record">
+ <ctl name="SLIM0_RX_VI_FB_LCH_MUX" value="SLIM4_TX" />
+ </path>
+
+ <path name="listen-low-power">
+ <ctl name="LSM1 MUX" value="SLIMBUS_5_TX" />
+ <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
+ </path>
+
+ <path name="qchat-call">
+ <ctl name="SLIM_0_RX_Voice Mixer QCHAT" value="1" />
+ <ctl name="QCHAT_Tx Mixer SLIM_0_TX_QCHAT" value="1" />
+ </path>
+
+ <path name="qchat-call bt-sco">
+ <ctl name="INTERNAL_BT_SCO_RX_Voice Mixer QCHAT" value="1" />
+ <ctl name="QCHAT_Tx Mixer INTERNAL_BT_SCO_TX_QCHAT" value="1" />
+ </path>
+
+ <path name="qchat-call bt-sco-wb">
+ <ctl name="Internal BTSCO SampleRate" value="16000" />
+ <path name="qchat-call bt-sco" />
+ </path>
+
+ <!-- These are actual sound device specific mixer settings -->
+ <path name="adc1">
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
+ <ctl name="SLIM_0_TX Channels" value="One" />
+ <ctl name="SLIM TX7 MUX" value="DEC6" />
+ <ctl name="DEC6 MUX" value="ADC1" />
+ <ctl name="IIR1 INP1 MUX" value="DEC6" />
+ </path>
+
+ <path name="adc2">
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
+ <ctl name="SLIM_0_TX Channels" value="One" />
+ <ctl name="SLIM TX7 MUX" value="DEC5" />
+ <ctl name="DEC5 MUX" value="ADC2" />
+ <ctl name="IIR1 INP1 MUX" value="DEC5" />
+ </path>
+
+ <path name="adc4">
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
+ <ctl name="SLIM_0_TX Channels" value="One" />
+ <ctl name="SLIM TX7 MUX" value="DEC3" />
+ <ctl name="DEC3 MUX" value="ADC4" />
+ <ctl name="IIR1 INP1 MUX" value="DEC3" />
+ </path>
+
+ <path name="adc5">
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
+ <ctl name="SLIM_0_TX Channels" value="One" />
+ <ctl name="SLIM TX7 MUX" value="DEC2" />
+ <ctl name="DEC2 MUX" value="ADC5" />
+ <ctl name="IIR1 INP1 MUX" value="DEC2" />
+ </path>
+
+ <path name="dmic1">
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
+ <ctl name="SLIM_0_TX Channels" value="One" />
+ <ctl name="SLIM TX7 MUX" value="DEC7" />
+ <ctl name="DEC7 MUX" value="DMIC1" />
+ <ctl name="IIR1 INP1 MUX" value="DEC7" />
+ </path>
+
+ <path name="speaker">
+ <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
+ <ctl name="SLIM RX2 MUX" value="AIF1_PB" />
+ <ctl name="SLIM_0_RX Channels" value="Two" />
+ <ctl name="RX7 MIX1 INP1" value="RX1" />
+ <ctl name="RX7 MIX1 INP2" value="RX2" />
+ <!-- 67 % of 124 (range 0 - 124) Register: 0x2E7-->
+ <ctl name="RX7 Digital Volume" value="83" />
+ <!-- 100 % of 8 (range 0-8) Register: 0x1E0-->
+ <ctl name="SPK DRV Volume" value="8" />
+ </path>
+
+ <path name="speaker-fluid">
+ <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
+ <ctl name="RX7 MIX1 INP1" value="RX1" />
+ <ctl name="COMP0 Switch" value="1" />
+ </path>
+
+ <path name="speaker-cdp">
+ <path name="speaker-fluid" />
+ </path>
+
+ <path name="speaker-DB">
+ <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
+ <ctl name="SLIM RX2 MUX" value="AIF1_PB" />
+ <ctl name="SLIM_0_RX Channels" value="Two" />
+ <ctl name="RX3 MIX1 INP1" value="RX1" />
+ <ctl name="RX5 MIX1 INP1" value="RX2" />
+ <ctl name="LINEOUT1 Volume" value="20" />
+ <ctl name="LINEOUT2 Volume" value="20" />
+ </path>
+
+ <path name="speaker-liquid">
+ <path name="speaker-DB" />
+ <ctl name="RDAC5 MUX" value="DEM3_INV" />
+ <ctl name="RDAC7 MUX" value="DEM5_INV" />
+ <ctl name="COMP2 Switch" value="1" />
+ <ctl name="LINEOUT3 Volume" value="20" />
+ <ctl name="LINEOUT4 Volume" value="20" />
+ </path>
+
+ <path name="sidetone-iir">
+ <ctl name="IIR1 Band1" id ="0" value="268435456" />
+ <ctl name="IIR1 Band1" id ="1" value="1015186673" />
+ <ctl name="IIR1 Band1" id ="2" value="138975793" />
+ <ctl name="IIR1 Band1" id ="3" value="662297209" />
+ <ctl name="IIR1 Band1" id ="4" value="169205165" />
+ <ctl name="IIR1 Band2" id ="0" value="58131979" />
+ <ctl name="IIR1 Band2" id ="1" value="977668591" />
+ <ctl name="IIR1 Band2" id ="2" value="56091138" />
+ <ctl name="IIR1 Band2" id ="3" value="613643448" />
+ <ctl name="IIR1 Band2" id ="4" value="245315417" />
+ <ctl name="IIR1 Band3" id ="0" value="58131979" />
+ <ctl name="IIR1 Band3" id ="1" value="973614047" />
+ <ctl name="IIR1 Band3" id ="2" value="57840057" />
+ <ctl name="IIR1 Band3" id ="3" value="615699968" />
+ <ctl name="IIR1 Band3" id ="4" value="262628488" />
+ <ctl name="IIR1 Band4" id ="0" value="268435456" />
+ <ctl name="IIR1 Band4" id ="1" value="0" />
+ <ctl name="IIR1 Band4" id ="2" value="0" />
+ <ctl name="IIR1 Band4" id ="3" value="0" />
+ <ctl name="IIR1 Band4" id ="4" value="0" />
+ <ctl name="IIR1 Band5" id ="0" value="268435456" />
+ <ctl name="IIR1 Band5" id ="1" value="0" />
+ <ctl name="IIR1 Band5" id ="2" value="0" />
+ <ctl name="IIR1 Band5" id ="3" value="0" />
+ <ctl name="IIR1 Band5" id ="4" value="0" />
+ <ctl name="IIR1 Enable Band1" value="1" />
+ <ctl name="IIR1 Enable Band2" value="1" />
+ <ctl name="IIR1 Enable Band3" value="1" />
+ <ctl name="IIR1 Enable Band4" value="1" />
+ <ctl name="IIR1 Enable Band5" value="1" />
+ </path>
+
+ <path name="eq1-iir">
+ <!-- Bright EQ settings -->
+ <ctl name="IIR2 Band1" id ="0" value="0x10000000" />
+ <ctl name="IIR2 Band1" id ="1" value="0x1a1509b1" />
+ <ctl name="IIR2 Band1" id ="2" value="0xa5c7854" />
+ <ctl name="IIR2 Band1" id ="3" value="0x9bd737e" />
+ <ctl name="IIR2 Band1" id ="4" value="0x3f233f0d" />
+ <ctl name="IIR2 Band2" id ="0" value="0x10000000" />
+ <ctl name="IIR2 Band2" id ="1" value="0x26888ced" />
+ <ctl name="IIR2 Band2" id ="2" value="0x9fa3501" />
+ <ctl name="IIR2 Band2" id ="3" value="0x3053e62a" />
+ <ctl name="IIR2 Band2" id ="4" value="0xc12e4f5" />
+ <ctl name="IIR2 Band3" id ="0" value="0x10000000" />
+ <ctl name="IIR2 Band3" id ="1" value="0x30a2b7ea" />
+ <ctl name="IIR2 Band3" id ="2" value="0xc23f623" />
+ <ctl name="IIR2 Band3" id ="3" value="0x242f533b" />
+ <ctl name="IIR2 Band3" id ="4" value="0xccca9f2" />
+ <ctl name="IIR2 Band4" id ="0" value="0x10000000" />
+ <ctl name="IIR2 Band4" id ="1" value="0x29d0323f" />
+ <ctl name="IIR2 Band4" id ="2" value="0xd94c30b" />
+ <ctl name="IIR2 Band4" id ="3" value="0x2a841812" />
+ <ctl name="IIR2 Band4" id ="4" value="0xd2a310d" />
+ <ctl name="IIR2 Band5" id ="0" value="0x10000000" />
+ <ctl name="IIR2 Band5" id ="1" value="0x25de7862" />
+ <ctl name="IIR2 Band5" id ="2" value="0xd41cf89" />
+ <ctl name="IIR2 Band5" id ="3" value="0x267ef2ce" />
+ <ctl name="IIR2 Band5" id ="4" value="0xd349002" />
+ <ctl name="IIR2 Enable Band1" value="1" />
+ <ctl name="IIR2 Enable Band2" value="1" />
+ <ctl name="IIR2 Enable Band3" value="1" />
+ <ctl name="IIR2 Enable Band4" value="1" />
+ <ctl name="IIR2 Enable Band5" value="1" />
+ </path>
+
+ <path name="eq2-iir">
+ <!-- Smooth EQ settings -->
+ <ctl name="IIR2 Band1" id ="0" value="0x10000000" />
+ <ctl name="IIR2 Band1" id ="1" value="0x21141102" />
+ <ctl name="IIR2 Band1" id ="2" value="0xf481dc7" />
+ <ctl name="IIR2 Band1" id ="3" value="0x212dd1dc" />
+ <ctl name="IIR2 Band1" id ="4" value="0xf2dcfcb" />
+ <ctl name="IIR2 Band2" id ="0" value="0x10000000" />
+ <ctl name="IIR2 Band2" id ="1" value="0x212c7a8c" />
+ <ctl name="IIR2 Band2" id ="2" value="0xf99dd03" />
+ <ctl name="IIR2 Band2" id ="3" value="0x2150399f" />
+ <ctl name="IIR2 Band2" id ="4" value="0xf7749a6" />
+ <ctl name="IIR2 Band3" id ="0" value="0x10000000" />
+ <ctl name="IIR2 Band3" id ="1" value="0x21ac3c9a" />
+ <ctl name="IIR2 Band3" id ="2" value="0xfa9f478" />
+ <ctl name="IIR2 Band3" id ="3" value="0x21b6d0e9" />
+ <ctl name="IIR2 Band3" id ="4" value="0xf9f6d57" />
+ <ctl name="IIR2 Band4" id ="0" value="0x10000000" />
+ <ctl name="IIR2 Band4" id ="1" value="0x201783da" />
+ <ctl name="IIR2 Band4" id ="2" value="0xff22e58" />
+ <ctl name="IIR2 Band4" id ="3" value="0x20336984" />
+ <ctl name="IIR2 Band4" id ="4" value="0xfd62772" />
+ <ctl name="IIR2 Band5" id ="0" value="0x10000000" />
+ <ctl name="IIR2 Band5" id ="1" value="0x21b66659" />
+ <ctl name="IIR2 Band5" id ="2" value="0xfe64190" />
+ <ctl name="IIR2 Band5" id ="3" value="0x21bb0425" />
+ <ctl name="IIR2 Band5" id ="4" value="0xfe215ec" />
+ <ctl name="IIR2 Enable Band1" value="1" />
+ <ctl name="IIR2 Enable Band2" value="1" />
+ <ctl name="IIR2 Enable Band3" value="1" />
+ <ctl name="IIR2 Enable Band4" value="1" />
+ <ctl name="IIR2 Enable Band5" value="1" />
+ </path>
+
+ <path name="sidetone-headphones">
+ <path name="sidetone-iir" />
+ <ctl name="RX1 MIX2 INP1" value="IIR1" />
+ <ctl name="RX2 MIX2 INP1" value="IIR1" />
+ <ctl name="IIR1 Band4" id ="0" value="268435456" />
+ </path>
+
+ <path name="sidetone-handset">
+ <path name="sidetone-iir" />
+ <ctl name="RX1 MIX2 INP1" value="IIR1" />
+ <ctl name="IIR1 Band4" id ="0" value="215801053" />
+ </path>
+
+ <path name="eq1-handset">
+ <path name="eq1-iir" />
+ <!-- 62 % of 124 (range 0 - 124) Register: 0x356 -->
+ <ctl name="IIR2 INP1 Volume" value="77" />
+ <ctl name="RX1 MIX1 INP1" value="IIR2" />
+ </path>
+
+ <path name="eq2-handset">
+ <path name="eq2-iir" />
+ <!-- 67 % of 124 (range 0 - 124) Register: 0x356 -->
+ <ctl name="IIR2 INP1 Volume" value="83" />
+ <ctl name="RX1 MIX1 INP1" value="IIR2" />
+ </path>
+
+ <path name="handset-voice-cfg" >
+ <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
+ <!-- 67 % of 124 (range 0 - 124) Register: 0x2B7 -->
+ <ctl name="RX1 Digital Volume" value="83" />
+ <ctl name="DAC1 Switch" value="1" />
+ <ctl name="EAR PA Gain" value="POS_6_DB" />
+ <!-- 62 % of 124 (range 0 - 124) Register: 0x356 -->
+ <ctl name="IIR2 INP1 Volume" value="77" />
+ </path>
+
+ <path name="headphone-voice-cfg" >
+ <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
+ <ctl name="HPHL DAC Switch" value="1" />
+ <!--80 % of 20 register: 0x1AE-->
+ <ctl name="HPHL Volume" value="16" />
+ <!--80 % of 20 register: 0x1B4-->
+ <ctl name="HPHR Volume" value="16" />
+ <!--67 % of 124 (rounded) register: 0x2B7-->
+ <ctl name="RX1 Digital Volume" value="83" />
+ </path>
+
+ <path name="mono-path-eq-off" >
+ <ctl name="RX1 MIX1 INP1" value="RX1" />
+ </path>
+
+ <path name="mono-path-eq-on" >
+ <ctl name="RX1 MIX1 INP1" value="IIR2" />
+ </path>
+
+ <path name="stereo-path-eq-off" >
+ <ctl name="RX1 MIX1 INP1" value="RX1" />
+ <ctl name="RX2 MIX1 INP1" value="RX1" />
+ </path>
+
+ <path name="stereo-path-eq-on" >
+ <ctl name="RX1 MIX1 INP1" value="IIR2" />
+ <ctl name="RX2 MIX1 INP1" value="IIR2" />
+ </path>
+
+ <path name="voice-eq-off" >
+ <ctl name="SLIM_0_RX Channels" value="One" />
+ <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
+ </path>
+
+ <path name="voice-eq1" >
+ <ctl name="SLIM_0_RX Channels" value="One" />
+ <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
+ <ctl name="IIR2 INP1 MUX" value="RX1" />
+ <path name="eq1-iir" />
+ </path>
+
+ <path name="voice-eq2" >
+ <ctl name="SLIM_0_RX Channels" value="One" />
+ <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
+ <ctl name="IIR2 INP1 MUX" value="RX1" />
+ <path name="eq2-iir" />
+ </path>
+
+ <path name="speaker-mic">
+ <path name="adc5" />
+ <!-- 63 % of 19 (range 0 - 19) Register: 0x167 -->
+ <ctl name="ADC5 Volume" value="12" />
+ <!-- 66 % of 124 (range 0 - 124) Register: 0x229 -->
+ <ctl name="DEC2 Volume" value="82" />
+ </path>
+
+ <path name="stereo-mic">
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
+ <ctl name="SLIM TX7 MUX" value="DEC2" />
+ <ctl name="DEC2 MUX" value="ADC5" />
+ <!-- 66 % of 124 (range 0 - 124) Register: 0x229 -->
+ <ctl name="DEC2 Volume" value="82" />
+ <!-- 63 % of 19 (range 0 - 19) Register: 0x167 -->
+ <ctl name="ADC5 Volume" value="12" />
+ <ctl name="SLIM TX8 MUX" value="DEC3" />
+ <ctl name="DEC3 MUX" value="ADC4" />
+ <!-- 66 % of 124 (range 0 - 124) Register: 0x231 -->
+ <ctl name="DEC3 Volume" value="82" />
+ <!-- 63 % of 19 (range 0 - 19) Register: 0x15F -->
+ <ctl name="ADC4 Volume" value="12" />
+ <ctl name="SLIM_0_TX Channels" value="Two" />
+ </path>
+
+ <path name="speaker-mic-liquid">
+ <path name="dmic1" />
+ <ctl name="DEC9 Volume" value="111" />
+ </path>
+
+ <path name="speaker-mic-DB">
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
+ <ctl name="SLIM_0_TX Channels" value="One" />
+ <ctl name="SLIM TX7 MUX" value="DEC6" />
+ <ctl name="DEC6 MUX" value="ADC1" />
+ <ctl name="ADC1 Volume" value="124" />
+ <ctl name="IIR1 INP1 MUX" value="DEC7" />
+ </path>
+
+ <path name="speaker-protected">
+ <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
+ <ctl name="SLIM_0_RX Channels" value="One" />
+ <ctl name="RX7 MIX1 INP1" value="RX1" />
+ <ctl name="COMP0 Switch" value="1" />
+ </path>
+
+ <path name="vi-feedback">
+ </path>
+
+ <path name="handset">
+ <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
+ <ctl name="SLIM_0_RX Channels" value="One" />
+ <ctl name="RX1 MIX1 INP1" value="RX1" />
+ <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
+ <!-- 67 % of 124 (range 0 - 124) Register: 0x2B7 -->
+ <ctl name="RX1 Digital Volume" value="83" />
+ <ctl name="DAC1 Switch" value="1" />
+ <ctl name="EAR PA Gain" value="POS_6_DB" />
+ </path>
+
+ <path name="handset-mic">
+ <path name="adc4" />
+ <!-- 67 % of 124 (range 0 - 124) Register: 0x231 -->
+ <ctl name="DEC3 Volume" value="83" />
+ <!-- 63 % of 19 (range 0 - 19) Register: 0x15F -->
+ <ctl name="ADC4 Volume" value="12" />
+ </path>
+
+ <path name="handset-mic-asr">
+ <path name="handset-mic" />
+ </path>
+
+ <path name="handset-secondary-mic">
+ <path name="adc5" />
+ <!-- 63 % of 19 (range 0 - 19) Register: 0x167 -->
+ <ctl name="ADC5 Volume" value="12" />
+ <!-- 67 % of 124 (range 0 - 124) Register: 0x229 -->
+ <ctl name="DEC2 Volume" value="83" />
+ </path>
+
+ <path name="anc-handset">
+ <ctl name="ANC Function" value="ON" />
+ <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
+ <ctl name="SLIM_0_RX Channels" value="One" />
+ <ctl name="RX1 MIX1 INP1" value="RX1" />
+ <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
+ <ctl name="DAC1 Switch" value="1" />
+ <ctl name="RX1 Digital Volume" value="81" />
+ <ctl name="ANC Slot" value="6" />
+ <ctl name="ANC1 MUX" value="DMIC4" />
+ <ctl name="ANC1 FB MUX" value="EAR_HPH_L" />
+ </path>
+
+ <path name="headphones">
+ <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
+ <ctl name="SLIM RX2 MUX" value="AIF1_PB" />
+ <ctl name="SLIM_0_RX Channels" value="Two" />
+ <ctl name="RX1 MIX1 INP1" value="RX1" />
+ <ctl name="RX2 MIX1 INP1" value="RX2" />
+ <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
+ <ctl name="HPHL DAC Switch" value="1" />
+ <!--75 % of 20 register: 0x1AE-->
+ <ctl name="HPHL Volume" value="15" />
+ <!--75 % of 20 register: 0x1B4-->
+ <ctl name="HPHR Volume" value="15" />
+ <!--66 % of 124 (rounded) register: 0x2B7-->
+ <ctl name="RX1 Digital Volume" value="82" />
+ <!--66 % of 124 (rounded) register: 0x2BF-->
+ <ctl name="RX2 Digital Volume" value="82" />
+ </path>
+
+ <path name="headset-mic">
+ <path name="adc2" />
+ <!--42 % of 19 (rounded) register: 0x155-->
+ <ctl name="ADC2 Volume" value="8" />
+ <!--80 % of 124 (rounded) register: 0x241-->
+ <ctl name="DEC5 Volume" value="99" />
+ </path>
+
+ <path name="headset-mic-asr">
+ <path name="headset-mic" />
+ </path>
+
+ <path name="headset-mic-DB">
+ <path name="adc2" />
+ <ctl name="ADC2 Volume" value="14" />
+ </path>
+
+ <path name="headset-mic-liquid">
+ <path name="adc2" />
+ <ctl name="ADC2 Volume" value="20" />
+ </path>
+
+ <path name="voice-handset">
+ <path name="handset-voice-cfg" />
+ <path name="mono-path-eq-off" />
+ <path name="voice-eq-off" />
+ <path name="sidetone-handset" />
+ </path>
+
+ <path name="voice-handset-hac">
+ <path name="handset" />
+ </path>
+
+ <path name="voice-handset-eq1">
+ <path name="handset-voice-cfg" />
+ <path name="mono-path-eq-on" />
+ <path name="voice-eq1" />
+ <path name="sidetone-handset" />
+ </path>
+
+ <path name="voice-handset-eq2">
+ <path name="handset-voice-cfg" />
+ <path name="mono-path-eq-on" />
+ <path name="voice-eq2" />
+ <path name="sidetone-handset" />
+ </path>
+
+ <path name="voice-handset-wv">
+ <path name="voice-handset" />
+ </path>
+
+ <path name="voice-handset-eq1-wv">
+ <path name="voice-handset-eq1" />
+ </path>
+
+ <path name="voice-handset-eq2-wv">
+ <path name="voice-handset-eq2" />
+ </path>
+
+ <path name="voice-handset-tmus">
+ <path name="handset" />
+ </path>
+
+ <path name="voice-speaker">
+ <path name="speaker" />
+ </path>
+
+ <path name="voice-speaker-wv">
+ <path name="speaker" />
+ </path>
+
+ <path name="voice-speaker-mic">
+ <path name="speaker-mic" />
+ </path>
+
+ <path name="voice-headphones">
+ <path name="headphone-voice-cfg" />
+ <path name="sidetone-headphones" />
+ <path name="voice-eq-off" />
+ <path name="stereo-path-eq-off" />
+ </path>
+
+ <path name="voice-headphones-eq1">
+ <path name="headphone-voice-cfg" />
+ <path name="sidetone-headphones" />
+ <path name="voice-eq1" />
+ <path name="stereo-path-eq-on" />
+ </path>
+
+ <path name="voice-headphones-eq2">
+ <path name="headphone-voice-cfg" />
+ <path name="sidetone-headphones" />
+ <path name="voice-eq2" />
+ <path name="stereo-path-eq-on" />
+ </path>
+
+ <path name="voice-headphones-wv">
+ <path name="voice-headphones" />
+ </path>
+
+ <path name="voice-headphones-eq1-wv">
+ <path name="voice-headphones-eq1" />
+ </path>
+
+ <path name="voice-headphones-eq2-wv">
+ <path name="voice-headphones-eq2" />
+ </path>
+
+ <path name="voice-headset-mic">
+ <path name="headset-mic" />
+ </path>
+
+ <path name="speaker-and-headphones">
+ <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
+ <ctl name="SLIM RX2 MUX" value="AIF1_PB" />
+ <ctl name="SLIM_0_RX Channels" value="Two" />
+ <ctl name="RX7 MIX1 INP1" value="RX1" />
+ <ctl name="RX7 MIX1 INP2" value="RX2" />
+ <ctl name="RX1 MIX1 INP1" value="RX1" />
+ <ctl name="RX2 MIX1 INP1" value="RX2" />
+ <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
+ <ctl name="HPHL DAC Switch" value="1" />
+ <!-- There is no "HPHR DAC Switch" -->
+ <!-- 67 % of 124 (range 0 - 124) Register: 0x2E7-->
+ <ctl name="RX7 Digital Volume" value="83" />
+ <!--30 % of 20 register: 0x1AE-->
+ <ctl name="HPHL Volume" value="6" />
+ <!--30 % of 20 register: 0x1B4-->
+ <ctl name="HPHR Volume" value="6" />
+ <!--67 % of 124 (rounded) register: 0x2B7-->
+ <ctl name="RX1 Digital Volume" value="83" />
+ <!--67 % of 124 (rounded) register: 0x2BF-->
+ <ctl name="RX2 Digital Volume" value="83" />
+ <!-- 100 % of 8 (range 0-8) Register: 0x1E0-->
+ <ctl name="SPK DRV Volume" value="8" />
+ </path>
+
+ <path name="speaker-and-headphones-fluid">
+ <path name="headphones" />
+ <ctl name="RX7 MIX1 INP1" value="RX1" />
+ <ctl name="COMP0 Switch" value="1" />
+ </path>
+
+ <path name="speaker-and-headphones-cdp">
+ <path name="speaker-and-headphones-fluid" />
+ </path>
+
+ <path name="speaker-and-headphones-DB">
+ <path name="headphones" />
+ <ctl name="RX3 MIX1 INP1" value="RX1" />
+ <ctl name="RX5 MIX1 INP1" value="RX2" />
+ <ctl name="LINEOUT1 Volume" value="20" />
+ <ctl name="LINEOUT2 Volume" value="20" />
+ </path>
+
+ <path name="speaker-and-headphones-liquid">
+ <path name="speaker-and-headphones-DB" />
+ <ctl name="RDAC5 MUX" value="DEM3_INV" />
+ <ctl name="RDAC7 MUX" value="DEM5_INV" />
+ <ctl name="COMP2 Switch" value="1" />
+ <ctl name="LINEOUT2 Volume" value="20" />
+ <ctl name="LINEOUT4 Volume" value="20" />
+ </path>
+
+ <path name="usb-headphones">
+ </path>
+
+ <path name="afe-proxy">
+ </path>
+
+ <path name="transmission-fm">
+ </path>
+
+ <path name="anc-headphones">
+ <ctl name="ANC Function" value="ON" />
+ <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
+ <ctl name="SLIM RX2 MUX" value="AIF1_PB" />
+ <ctl name="SLIM_0_RX Channels" value="Two" />
+ <ctl name="RX1 MIX1 INP1" value="RX1" />
+ <ctl name="RX2 MIX1 INP1" value="RX2" />
+ <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
+ <ctl name="HPHL DAC Switch" value="1" />
+ <ctl name="HPHL Volume" value="14" />
+ <ctl name="HPHR Volume" value="14" />
+ <ctl name="RX1 Digital Volume" value="81" />
+ <ctl name="RX2 Digital Volume" value="81" />
+ <ctl name="ANC Slot" value="0" />
+ <ctl name="ANC1 FB MUX" value="EAR_HPH_L" />
+ <ctl name="ANC1 MUX" value="ADC3" />
+ <ctl name="ANC2 MUX" value="ADC4" />
+ <ctl name="ADC3 Volume" value="14" />
+ <ctl name="ADC4 Volume" value="14" />
+ </path>
+
+ <path name="speaker-and-anc-headphones">
+ <ctl name="ANC Function" value="ON" />
+ <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
+ <ctl name="SLIM RX2 MUX" value="AIF1_PB" />
+ <ctl name="SLIM_0_RX Channels" value="Two" />
+ <ctl name="RX3 MIX1 INP1" value="RX1" />
+ <ctl name="RX5 MIX1 INP1" value="RX2" />
+ <ctl name="RX4 DSM MUX" value="DSM_INV" />
+ <ctl name="RX6 DSM MUX" value="DSM_INV" />
+ <ctl name="LINEOUT1 Volume" value="13" />
+ <ctl name="LINEOUT2 Volume" value="13" />
+ <ctl name="LINEOUT3 Volume" value="13" />
+ <ctl name="LINEOUT4 Volume" value="13" />
+ <ctl name="RX1 MIX1 INP1" value="RX1" />
+ <ctl name="RX2 MIX1 INP1" value="RX2" />
+ <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
+ <ctl name="HPHL DAC Switch" value="1" />
+ <ctl name="HPHL Volume" value="14" />
+ <ctl name="HPHR Volume" value="14" />
+ <ctl name="RX1 Digital Volume" value="81" />
+ <ctl name="RX2 Digital Volume" value="81" />
+ <ctl name="ANC Slot" value="0" />
+ <ctl name="ANC1 FB MUX" value="EAR_HPH_L" />
+ <ctl name="ANC1 MUX" value="ADC3" />
+ <ctl name="ANC2 MUX" value="ADC4" />
+ <ctl name="ADC3 Volume" value="14" />
+ <ctl name="ADC4 Volume" value="14" />
+ </path>
+
+ <path name="voice-anc-headphones">
+ <ctl name="ANC Function" value="ON" />
+ <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
+ <ctl name="SLIM RX2 MUX" value="AIF1_PB" />
+ <ctl name="SLIM_0_RX Channels" value="Two" />
+ <ctl name="RX1 MIX1 INP1" value="RX1" />
+ <ctl name="RX2 MIX1 INP1" value="RX2" />
+ <ctl name="IIR1 Enable Band1" value="1" />
+ <ctl name="IIR1 Enable Band2" value="1" />
+ <ctl name="IIR1 Enable Band3" value="1" />
+ <ctl name="IIR1 Enable Band4" value="1" />
+ <ctl name="IIR1 Enable Band5" value="1" />
+ <ctl name="IIR1 INP1 Volume" value="62" />
+ <ctl name="RX1 MIX2 INP1" value="IIR1" />
+ <ctl name="RX2 MIX2 INP1" value="IIR1" />
+ <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
+ <ctl name="HPHL DAC Switch" value="1" />
+ <ctl name="HPHL Volume" value="14" />
+ <ctl name="HPHR Volume" value="14" />
+ <ctl name="RX1 Digital Volume" value="81" />
+ <ctl name="RX2 Digital Volume" value="81" />
+ <ctl name="ANC Slot" value="0" />
+ <ctl name="ANC1 FB MUX" value="EAR_HPH_L" />
+ <ctl name="ANC1 MUX" value="ADC3" />
+ <ctl name="ANC2 MUX" value="ADC4" />
+ <ctl name="ADC3 Volume" value="14" />
+ <ctl name="ADC4 Volume" value="14" />
+ </path>
+
+ <path name="speaker-and-anc-headphones-fluid">
+ <path name="anc-headphones" />
+ <ctl name="RX7 MIX1 INP1" value="RX1" />
+ <ctl name="COMP0 Switch" value="1" />
+ </path>
+
+ <path name="speaker-and-anc-headphones-cdp">
+ <path name="speaker-and-anc-headphones-fluid" />
+ </path>
+
+ <path name="speaker-and-anc-headphones-DB">
+ <path name="anc-headphones" />
+ <ctl name="RX3 MIX1 INP1" value="RX1" />
+ <ctl name="RX5 MIX1 INP1" value="RX2" />
+ <ctl name="LINEOUT1 Volume" value="20" />
+ <ctl name="LINEOUT2 Volume" value="20" />
+ </path>
+
+ <path name="speaker-and-anc-headphones-liquid">
+ <path name="speaker-and-anc-headphones-DB" />
+ <ctl name="RDAC5 MUX" value="DEM3_INV" />
+ <ctl name="RDAC7 MUX" value="DEM5_INV" />
+ <ctl name="COMP2 Switch" value="1" />
+ <ctl name="LINEOUT2 Volume" value="20" />
+ <ctl name="LINEOUT4 Volume" value="20" />
+ </path>
+
+ <path name="hdmi">
+ </path>
+
+ <path name="speaker-and-usb-headphones">
+ <path name="speaker" />
+ <path name="usb-headphones" />
+ </path>
+
+ <path name="speaker-and-hdmi">
+ <path name="speaker" />
+ <path name="hdmi" />
+ </path>
+
+ <path name="voice-rec-mic">
+ <path name="handset-mic" />
+ </path>
+
+ <path name="camcorder-mic">
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
+ <ctl name="SLIM TX7 MUX" value="DEC2" />
+ <ctl name="DEC2 MUX" value="ADC5" />
+ <!-- 65 % of 124 (range 0 - 124) Register: 0x229 -->
+ <ctl name="DEC2 Volume" value="94" />
+ <!-- 63 % of 19 (range 0 - 19) Register: 0x167 -->
+ <ctl name="ADC5 Volume" value="15" />
+ <ctl name="SLIM TX8 MUX" value="DEC3" />
+ <ctl name="DEC3 MUX" value="ADC4" />
+ <!-- 68 % of 124 (range 0 - 124) Register: 0x231 -->
+ <ctl name="DEC3 Volume" value="98" />
+ <!-- 63 % of 19 (range 0 - 19) Register: 0x15F -->
+ <ctl name="ADC4 Volume" value="15" />
+ <ctl name="SLIM_0_TX Channels" value="Two" />
+ </path>
+
+ <path name="hdmi-tx">
+ <path name="handset-mic" />
+ </path>
+
+ <path name="bt-sco-headset">
+ </path>
+
+ <path name="bt-sco-mic">
+ </path>
+
+ <path name="bt-sco-carkit-mic">
+ </path>
+
+ <path name="bt-sco-dsp-mic">
+ </path>
+
+ <path name="bt-sco-headset-wb">
+ </path>
+
+ <path name="bt-sco-mic-wb">
+ </path>
+
+ <path name="bt-sco-carkit-mic-wb">
+ </path>
+
+ <path name="bt-sco-dsp-mic-wb">
+ </path>
+
+ <path name="usb-headset-mic">
+ </path>
+
+ <path name="capture-fm">
+ </path>
+
+
+ <path name="aanc-handset-mic">
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
+ <ctl name="AIF1_CAP Mixer SLIM TX9" value="1" />
+ <ctl name="SLIM_0_TX Channels" value="Three" />
+ <ctl name="SLIM_0_RX AANC MUX" value="SLIMBUS_0_TX" />
+ <ctl name="SLIM TX7 MUX" value="DEC7" />
+ <ctl name="DEC7 MUX" value="DMIC1" />
+ <ctl name="SLIM TX8 MUX" value="DEC9" />
+ <ctl name="DEC9 MUX" value="DMIC4" />
+ <ctl name="SLIM TX9 MUX" value="DEC6" />
+ <ctl name="DEC6 MUX" value="DMIC6" />
+ <ctl name="IIR1 INP1 MUX" value="DEC7" />
+ </path>
+
+ <!-- Dual MIC devices -->
+ <path name="speaker-dmic-endfire">
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
+ <ctl name="SLIM TX7 MUX" value="DEC7" />
+ <ctl name="DEC7 MUX" value="DMIC1" />
+ <ctl name="SLIM TX8 MUX" value="DEC10" />
+ <ctl name="DEC10 MUX" value="DMIC3" />
+ <ctl name="SLIM_0_TX Channels" value="Two" />
+ </path>
+
+ <path name="speaker-dmic-endfire-liquid">
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
+ <ctl name="SLIM TX7 MUX" value="DEC7" />
+ <ctl name="DEC7 MUX" value="DMIC1" />
+ <ctl name="SLIM TX8 MUX" value="DEC9" />
+ <ctl name="DEC9 MUX" value="DMIC4" />
+ <ctl name="SLIM_0_TX Channels" value="Two" />
+ </path>
+
+ <path name="handset-dmic-endfire">
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
+ <ctl name="SLIM TX7 MUX" value="DEC3" />
+ <ctl name="DEC3 MUX" value="ADC4" />
+ <!-- 63 % of 19 (range 0 - 19) Register: 0x15F -->
+ <ctl name="ADC4 Volume" value="12" />
+ <!-- 67 % of 124 (range 0 - 124) Register: 0x231 -->
+ <ctl name="DEC3 Volume" value="83" />
+ <ctl name="SLIM TX8 MUX" value="DEC2" />
+ <ctl name="DEC2 MUX" value="ADC5" />
+ <!-- 63 % of 19 (range 0 - 19) Register: 0x167 -->
+ <ctl name="ADC5 Volume" value="12" />
+ <!-- 67 % of 124 (range 0 - 124) Register: 0x229 -->
+ <ctl name="DEC2 Volume" value="83" />
+ <ctl name="SLIM_0_TX Channels" value="Two" />
+ </path>
+
+ <path name="dmic-endfire">
+ <path name="handset-dmic-endfire" />
+ <ctl name="IIR1 INP1 MUX" value="DEC3" />
+ </path>
+
+ <path name="dmic-endfire-liquid">
+ <path name="speaker-dmic-endfire-liquid" />
+ <ctl name="IIR1 INP1 MUX" value="DEC7" />
+ </path>
+
+ <path name="handset-stereo-dmic-ef">
+ <path name="speaker-dmic-endfire" />
+ </path>
+
+ <path name="speaker-stereo-dmic-ef">
+ <path name="speaker-dmic-endfire" />
+ </path>
+
+ <path name="voice-dmic-ef-tmus">
+ <path name="dmic-endfire" />
+ </path>
+
+ <path name="voice-dmic-ef">
+ <path name="dmic-endfire" />
+ </path>
+
+ <path name="voice-speaker-dmic-ef">
+ <path name="dmic-endfire" />
+ </path>
+
+ <path name="voice-rec-dmic-ef">
+ <path name="dmic-endfire" />
+ </path>
+
+ <path name="voice-rec-dmic-ef-fluence">
+ <path name="dmic-endfire" />
+ </path>
+
+ <path name="handset-stereo-dmic-ef-liquid">
+ <path name="speaker-dmic-endfire-liquid" />
+ </path>
+
+ <path name="speaker-stereo-dmic-ef-liquid">
+ <path name="speaker-dmic-endfire-liquid" />
+ </path>
+
+ <path name="voice-dmic-ef-liquid-liquid">
+ <path name="dmic-endfire-liquid" />
+ </path>
+
+ <path name="voice-speaker-dmic-ef-liquid">
+ <path name="dmic-endfire-liquid" />
+ </path>
+
+ <path name="voice-rec-dmic-ef-liquid">
+ <path name="dmic-endfire-liquid" />
+ </path>
+
+ <path name="voice-rec-dmic-ef-fluence-liquid">
+ <path name="dmic-endfire-liquid" />
+ </path>
+
+ <!-- Quad MIC devices -->
+ <path name="speaker-qmic">
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
+ <ctl name="AIF1_CAP Mixer SLIM TX9" value="1" />
+ <ctl name="AIF1_CAP Mixer SLIM TX10" value="1" />
+ <ctl name="SLIM_0_TX Channels" value="Four" />
+ <ctl name="SLIM TX7 MUX" value="DEC9" />
+ <ctl name="DEC9 MUX" value="DMIC4" />
+ <ctl name="SLIM TX8 MUX" value="DEC10" />
+ <ctl name="DEC10 MUX" value="DMIC3" />
+ <ctl name="SLIM TX9 MUX" value="DEC8" />
+ <ctl name="DEC8 MUX" value="DMIC2" />
+ <ctl name="SLIM TX10 MUX" value="DEC6" />
+ <ctl name="DEC6 MUX" value="DMIC6" />
+ </path>
+
+ <path name="speaker-qmic-cdp">
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
+ <ctl name="AIF1_CAP Mixer SLIM TX9" value="1" />
+ <ctl name="AIF1_CAP Mixer SLIM TX10" value="1" />
+ <ctl name="SLIM_0_TX Channels" value="Four" />
+ <ctl name="SLIM TX7 MUX" value="DEC9" />
+ <ctl name="DEC9 MUX" value="DMIC4" />
+ <ctl name="SLIM TX8 MUX" value="DEC10" />
+ <ctl name="DEC10 MUX" value="DMIC3" />
+ <ctl name="SLIM TX9 MUX" value="DEC7" />
+ <ctl name="DEC7 MUX" value="DMIC1" />
+ <ctl name="SLIM TX10 MUX" value="DEC6" />
+ <ctl name="DEC6 MUX" value="DMIC6" />
+ </path>
+
+ <path name="voice-speaker-qmic">
+ <path name="speaker-qmic" />
+ </path>
+
+ <path name="quad-mic">
+ <path name="speaker-qmic" />
+ </path>
+
+ <path name="voice-speaker-qmic-cdp">
+ <path name="speaker-qmic-cdp" />
+ </path>
+
+ <path name="quad-mic-cdp">
+ <path name="speaker-qmic-cdp" />
+ </path>
+
+ <path name="voice-speaker-qmic-liquid">
+ <path name="speaker-qmic-cdp" />
+ </path>
+
+ <path name="quad-mic-liquid">
+ <path name="speaker-qmic-cdp" />
+ </path>
+
+ <path name="voice-speaker-qmic-DB">
+ <path name="speaker-qmic-cdp" />
+ </path>
+
+ <path name="quad-mic-DB">
+ <path name="speaker-qmic-cdp" />
+ </path>
+
+ <!-- TTY devices -->
+
+ <path name="tty-headphones">
+ <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
+ <ctl name="SLIM RX2 MUX" value="AIF1_PB" />
+ <ctl name="SLIM_0_RX Channels" value="Two" />
+ <ctl name="RX1 MIX1 INP1" value="RX1" />
+ <ctl name="RX2 MIX1 INP1" value="RX2" />
+ <ctl name="HPHL DAC Switch" value="1" />
+ <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
+ <!--0 % of 20 register: 0x1AE-->
+ <ctl name="HPHL Volume" value="0" />
+ <!--50 % of 20 register: 0x1B4-->
+ <ctl name="HPHR Volume" value="10" />
+ <!--68 % of 124 (rounded) register: 0x2B7-->
+ <ctl name="RX1 Digital Volume" value="84" />
+ <!--68 % of 124 (rounded) register: 0x2BF-->
+ <ctl name="RX2 Digital Volume" value="84" />
+ </path>
+
+ <path name="voice-tty-full-headphones">
+ <ctl name="TTY Mode" value="FULL" />
+ <path name="tty-headphones" />
+ </path>
+
+ <path name="voice-tty-vco-headphones">
+ <ctl name="TTY Mode" value="VCO" />
+ <path name="tty-headphones" />
+ </path>
+
+ <path name="voice-tty-hco-handset">
+ <ctl name="TTY Mode" value="HCO" />
+ <path name="handset" />
+ </path>
+
+ <path name="voice-tty-hco-speaker">
+ <ctl name="TTY Mode" value="HCO" />
+ <path name="speaker" />
+ </path>
+
+ <path name="voice-tty-full-headset-mic">
+ <path name="adc2" />
+ <!--63 % of 19 (rounded) register: 0x155-->
+ <ctl name="ADC2 Volume" value="12" />
+ <!--66 % of 124 (rounded) register: 0x241-->
+ <ctl name="DEC5 Volume" value="82" />
+ </path>
+
+ <path name="voice-tty-hco-headset-mic">
+ <path name="voice-tty-full-headset-mic" />
+ </path>
+
+ <path name="voice-tty-vco-handset-mic">
+ <path name="handset" />
+ </path>
+
+ <path name="listen-handset-mic">
+ <ctl name="MADONOFF Switch" value="1" />
+ <ctl name="MAD Input" value="DMIC1" />
+ </path>
+
+ <path name="voice-rx">
+ </path>
+
+ <path name="voice-tx">
+ </path>
+
+</mixer>
diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h
new file mode 100644
index 0000000..09343ae
--- /dev/null
+++ b/bluetooth/bdroid_buildcfg.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2012 The Android Open Source Project
+ * Copyright (C) 2013 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.
+ */
+
+#ifndef _BDROID_BUILDCFG_H
+#define _BDROID_BUILDCFG_H
+
+#define BTM_DEF_LOCAL_NAME "Xperia Z1"
+#define BTA_DISABLE_DELAY 1000 /* in milliseconds */
+
+// Enables Interleave scan
+#define BTA_HOST_INTERLEAVE_SEARCH TRUE
+// Disables read remote device feature
+#define BTA_SKIP_BLE_READ_REMOTE_FEAT TRUE
+#define MAX_L2CAP_CHANNELS 14
+// skips conn update at conn completion
+#define BTA_BLE_SKIP_CONN_UPD TRUE
+
+#endif
diff --git a/extract-files.sh b/extract-files.sh
new file mode 100755
index 0000000..47da870
--- /dev/null
+++ b/extract-files.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# Use tradition sort
+export LC_ALL=C
+
+FP=$(cd ${0%/*} && pwd -P)
+export VENDOR=$(basename $(dirname $FP))
+export DEVICE=$(basename $FP)
+export BOARDCONFIGVENDOR=true
+
+../common/extract-files.sh $@
+
+../common/setup-makefiles.sh
diff --git a/full_honami.mk b/full_honami.mk
new file mode 100644
index 0000000..68fd5fd
--- /dev/null
+++ b/full_honami.mk
@@ -0,0 +1,33 @@
+# Copyright (C) 2011 The Android Open Source Project
+# Copyright (C) 2013 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.
+
+TARGET_SCREEN_HEIGHT := 1920
+TARGET_SCREEN_WIDTH := 1080
+
+# Inherit from those products. Most specific first.
+$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
+
+# Common Sony Resources
+$(call inherit-product, device/sony/common/resources.mk)
+
+# Inherit from honami device
+$(call inherit-product, device/sony/honami/honami.mk)
+
+# Set those variables here to overwrite the inherited values.
+PRODUCT_NAME := full_honami
+PRODUCT_DEVICE := honami
+PRODUCT_BRAND := Sony
+PRODUCT_MANUFACTURER := Sony
+PRODUCT_MODEL := Xperia Z1
diff --git a/honami.mk b/honami.mk
new file mode 100644
index 0000000..c8df443
--- /dev/null
+++ b/honami.mk
@@ -0,0 +1,54 @@
+# Copyright (C) 2013 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 the fusion-common definitions
+$(call inherit-product, device/sony/rhine-common/rhine.mk)
+
+DEVICE_PACKAGE_OVERLAYS += device/sony/honami/overlay
+
+# These are the hardware-specific features
+PRODUCT_COPY_FILES += \
+ frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \
+ frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
+ frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
+ frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml
+
+# This device is xhdpi. However the platform doesn't
+# currently contain all of the bitmaps at xhdpi density so
+# we do this little trick to fall back to the hdpi version
+# if the xhdpi doesn't exist.
+PRODUCT_AAPT_CONFIG := normal
+PRODUCT_AAPT_PREF_CONFIG := xxhdpi
+
+# Device specific init
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/rootdir/init.device.rc:root/init.device.rc
+
+# Vold
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/rootdir/system/etc/vold.fstab:system/etc/vold.fstab
+
+# Audio
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/audio/mixer_paths.xml:system/etc/mixer_paths.xml
+
+# Thermal manager
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/thermanager.xml:system/etc/thermanager.xml
+
+# call dalvik heap config
+$(call inherit-product, frameworks/native/build/phone-xxhdpi-2048-dalvik-heap.mk)
+
+# Include non-opensource parts
+$(call inherit-product, vendor/sony/honami/honami-vendor.mk)
diff --git a/include/sony_lights.h b/include/sony_lights.h
new file mode 100644
index 0000000..987af37
--- /dev/null
+++ b/include/sony_lights.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2014 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.
+ */
+
+#define LED_BACKLIGHT_PATH "/sys/class/leds/wled:backlight/"
+
+#define LED_RED_PATH "/sys/class/leds/led:rgb_red/"
+#define LED_GREEN_PATH "/sys/class/leds/led:rgb_green/"
+#define LED_BLUE_PATH "/sys/class/leds/led:rgb_blue/"
+
+#define LED_BRIGHTNESS_MIN 188
diff --git a/jaguar.mk b/jaguar.mk
new file mode 100644
index 0000000..d27923c
--- /dev/null
+++ b/jaguar.mk
@@ -0,0 +1,27 @@
+# Boot animation
+TARGET_SCREEN_HEIGHT := 1920
+TARGET_SCREEN_WIDTH := 1080
+
+# Specify phone tech before including full_phone
+$(call inherit-product, vendor/jaguar/config/gsm.mk)
+
+# Inherit Slim common Phone stuff.
+$(call inherit-product, vendor/jaguar/config/common_full_phone.mk)
+
+# Enhanced NFC
+$(call inherit-product, vendor/jaguar/config/nfc_enhanced.mk)
+
+# Inherit device configuration
+$(call inherit-product, device/sony/honami/full_honami.mk)
+
+# Release name
+PRODUCT_RELEASE_NAME := honami
+
+# Device identifier. This must come after all inclusions
+PRODUCT_DEVICE := honami
+PRODUCT_NAME := jaguar_honami
+PRODUCT_BRAND := Xperia
+PRODUCT_MODEL := Z1
+PRODUCT_MANUFACTURER := Sony
+
+PRODUCT_BUILD_PROP_OVERRIDES += BUILD_FINGERPRINT=Sony/C6903/C6903:5.0.2/14.5.A.0.270/3750474323:user/release-keys PRIVATE_BUILD_DESC="C6903-user 5.0.2 14.5.A.0.270 3750474323 release-keys"
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
new file mode 100755
index 0000000..b9d184d
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,147 @@
+<?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.
+*/
+-->
+
+<!-- These resources are around just to allow their values to be customized
+ for different hardware and product builds. -->
+<resources>
+
+ <!-- Flag indicating whether the we should enable the automatic brightness in Settings.
+ Software implementation will be used if config_hardware_auto_brightness_available is not set -->
+ <bool name="config_automatic_brightness_available">true</bool>
+
+ <!-- Minimum screen brightness setting allowed by the power manager.
+ The user is forbidden from setting the brightness below this level. -->
+ <integer name="config_screenBrightnessSettingMinimum">40</integer>
+
+ <!-- Screen brightness used to dim the screen while dozing in a very low power state.
+ May be less than the minimum allowed brightness setting
+ that can be set by the user. -->
+ <integer name="config_screenBrightnessDoze">50</integer>
+
+ <!-- Screen brightness used to dim the screen when the user activity
+ timeout expires. May be less than the minimum allowed brightness setting
+ that can be set by the user. -->
+ <integer name="config_screenBrightnessDim">55</integer>
+
+ <!-- Minimum allowable screen brightness to use in a very dark room.
+ This value sets the floor for the darkest possible auto-brightness
+ adjustment. It is expected to be somewhat less than the first entry in
+ config_autoBrightnessLcdBacklightValues so as to allow the user to have
+ some range of adjustment to dim the screen further than usual in very
+ dark rooms. The contents of the screen must still be clearly visible
+ in darkness (although they may not be visible in a bright room). -->
+ <integer name="config_screenBrightnessDark">50</integer>
+
+ <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
+ The N entries of this array define N + 1 control points as follows:
+ (1-based arrays)
+ Point 1: (0, value[1]): lux <= 0
+ Point 2: (level[1], value[2]): 0 < lux <= level[1]
+ Point 3: (level[2], value[3]): level[2] < lux <= level[3]
+ ...
+ Point N+1: (level[N], value[N+1]): level[N] < lux
+ The control points must be strictly increasing. Each control point
+ corresponds to an entry in the brightness backlight values arrays.
+ For example, if LUX == level[1] (first element of the levels array)
+ then the brightness will be determined by value[2] (second element
+ of the brightness values array).
+ Spline interpolation is used to determine the auto-brightness
+ backlight values for LUX levels between these control points.
+ Must be overridden in platform specific overlays -->
+ <integer-array name="config_autoBrightnessLevels">
+ <item>64</item>
+ <item>128</item>
+ <item>170</item>
+ <item>220</item>
+ <item>256</item>
+ <item>384</item>
+ <item>512</item>
+ <item>768</item>
+ <item>1024</item>
+ <item>1536</item>
+ <item>2048</item>
+ <item>4096</item>
+ </integer-array>
+
+ <!-- Array of output values for LCD backlight corresponding to the LUX values
+ in the config_autoBrightnessLevels array. This array should have size one greater
+ than the size of the config_autoBrightnessLevels array.
+ The brightness values must be between 0 and 255 and be non-decreasing.
+ This must be overridden in platform specific overlays -->
+ <integer-array name="config_autoBrightnessLcdBacklightValues">
+ <item>71</item> <!-- 0 -->
+ <item>88</item> <!-- 64 -->
+ <item>112</item> <!-- 128 -->
+ <item>124</item> <!-- 170 -->
+ <item>136</item> <!-- 220 -->
+ <item>148</item> <!-- 256 -->
+ <item>160</item> <!-- 384 -->
+ <item>172</item> <!-- 512 -->
+ <item>196</item> <!-- 768 -->
+ <item>211</item> <!-- 1024 -->
+ <item>220</item> <!-- 1536 -->
+ <item>232</item> <!-- 2048 -->
+ <item>255</item> <!-- 4096 -->
+ </integer-array>
+
+ <!-- Hardware 'face' keys present on the device, stored as a bit field.
+ This integer should equal the sum of the corresponding value for each
+ of the following keys present:
+ 1 - Home
+ 2 - Back
+ 4 - Menu
+ 8 - Assistant (search)
+ 16 - App switch
+ 32 - Camera
+ For example, a device with Home, Back and Menu keys would set this
+ config to 7. -->
+ <!-- integer name="config_deviceHardwareKeys">32</integer-->
+
+ <!-- IP address of the dns server to use if nobody else suggests one -->
+ <string name="config_default_dns_server" translatable="false">84.200.69.80</string>
+
+ <!-- Flag specifying whether VoLTE is available on device -->
+ <bool name="config_device_volte_available">true</bool>
+
+ <!-- Flag specifying whether VoLTE should be available for carrier: independent of
+ carrier provisioning. If false: hard disabled. If true: then depends on carrier
+ provisioning, availability etc -->
+ <bool name="config_carrier_volte_available">true</bool>
+
+ <!-- ComponentName of a dream to show whenever the system would otherwise have
+ gone to sleep. When the PowerManager is asked to go to sleep, it will instead
+ try to start this dream if possible. The dream should typically call startDozing()
+ to put the display into a low power state and allow the application processor
+ to be suspended. When the dream ends, the system will go to sleep as usual.
+ Specify the component name or an empty string if none.
+ Note that doze dreams are not subject to the same start conditions as ordinary dreams.
+ Doze dreams will run whenever the power manager is in a dozing state. -->
+ <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
+
+ <!-- If true, the doze component is not started until after the screen has been
+ turned off and the screen off animation has been performed. -->
+ <bool name="config_dozeAfterScreenOff">true</bool>
+ <bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
+
+ <!-- Screen brightness used to dim the screen while dozing in a very low power state.
+ May be less than the minimum allowed brightness setting
+ that can be set by the user. -->
+ <integer name="config_screenBrightnessDoze">10</integer>
+
+</resources>
diff --git a/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
new file mode 100644
index 0000000..1b4f83c
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<device name="Android">
+ <item name="none">0</item>
+ <item name="screen.on">88.5</item>
+ <item name="bluetooth.active">0.1</item>
+ <item name="bluetooth.on">1.0</item>
+ <item name="bluetooth.at">29.27</item>
+ <item name="screen.full">220</item>
+ <item name="wifi.on">1</item>
+ <item name="wifi.active">25.88</item>
+ <item name="wifi.scan">0.1</item>
+ <item name="dsp.audio">0.1</item>
+ <item name="dsp.video">0.1</item>
+ <item name="radio.active">177.58</item>
+ <item name="radio.scanning">6.9</item>
+ <item name="gps.on">42.12</item>
+ <array name="radio.on">
+ <value>3.37</value>
+ <value>3.42</value>
+ <value>3.82</value>
+ <value>3.91</value>
+ <value>3.96</value>
+ </array>
+ <array name="cpu.speeds">
+ <value>300000</value>
+ <value>422400</value>
+ <value>652800</value>
+ <value>729600</value>
+ <value>883200</value>
+ <value>960000</value>
+ <value>1036800</value>
+ <value>1190400</value>
+ <value>1267200</value>
+ <value>1497600</value>
+ <value>1574400</value>
+ <value>1728000</value>
+ <value>1958400</value>
+ <value>2150400</value>
+ </array>
+ <item name="cpu.idle">2.94</item>
+ <array name="cpu.active">
+ <value>70.82</value>
+ <value>78.34</value>
+ <value>81.46</value>
+ <value>105.56</value>
+ <value>108.29</value>
+ <value>116.57</value>
+ <value>122.65</value>
+ <value>125.45</value>
+ <value>156.07</value>
+ <value>160.39</value>
+ <value>162.6815</value>
+ <value>165.87</value>
+ <value>171.9116</value>
+ <value>179.34</value>
+ </array>
+ <item name="cpu.awake">16.02</item>
+ <item name="battery.capacity">3000</item>
+</device>
\ No newline at end of file
diff --git a/overlay/frameworks/base/core/res/res/xml/storage_list.xml b/overlay/frameworks/base/core/res/res/xml/storage_list.xml
new file mode 100644
index 0000000..f34230f
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/xml/storage_list.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+**
+** Copyright 2011, The Android Open Source Project
+** Copyright (C) 2013 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.
+*/
+-->
+
+<!-- The <device> element should contain one or more <storage> elements.
+ Exactly one of these should have the attribute primary="true".
+ This storage will be the primary external storage and should have mountPoint="/mnt/sdcard".
+ Each storage should have both a mountPoint and storageDescription attribute.
+ The following attributes are optional:
+
+ primary: (boolean) this storage is the primary external storage
+ removable: (boolean) this is removable storage (for example, a real SD card)
+ emulated: (boolean) the storage is emulated via the FUSE sdcard daemon
+ mtpReserve: (integer) number of megabytes of storage MTP should reserve for free storage
+ (used for emulated storage that is shared with system's data partition)
+
+ A storage should not have both emulated and removable set to true
+-->
+
+<StorageList xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <!-- internal emulated storage -->
+ <storage
+ android:storageDescription="@string/storage_internal"
+ android:emulated="true"
+ android:primary="true"
+ android:mtpReserve="100" />
+
+ <!-- external sd card -->
+ <storage android:mountPoint="/storage/sdcard1"
+ android:storageDescription="@string/storage_sd_card"
+ android:primary="false"
+ android:removable="true"
+ android:allowMassStorage="true" />
+
+ <!-- external usb storage -->
+ <storage android:mountPoint="/storage/usbdisk"
+ android:storageDescription="@string/storage_usb"
+ android:primary="false"
+ android:removable="true" />
+
+</StorageList>
diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
new file mode 100644
index 0000000..fcd3a3f
--- /dev/null
+++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2013, 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.
+*/
+-->
+
+<!-- These resources are around just to allow their values to be customized
+ for different hardware and product builds. -->
+<resources>
+
+ <!-- Doze: should the pickup sensor be used as a pulse signal? -->
+ <bool name="doze_pulse_on_pick_up">true</bool>
+
+ <!-- Doze: shake accelerometer threshold -->
+ <integer name="doze_shake_accelerometer_threshold">10</integer>
+
+</resources>
diff --git a/proprietary-files.txt b/proprietary-files.txt
new file mode 100644
index 0000000..7b2b39a
--- /dev/null
+++ b/proprietary-files.txt
@@ -0,0 +1,64 @@
+# ACDB
+etc/acdbdata/Liquid/Liquid_Handset_cal.acdb
+etc/acdbdata/Liquid/Liquid_Speaker_cal.acdb
+etc/acdbdata/MTP/MTP_Handset_cal.acdb
+etc/acdbdata/MTP/MTP_Speaker_cal.acdb
+
+# Camera
+etc/flashled_calc_parameters.cfg
+lib/libcald_hal.so
+lib/libcameralight.so
+vendor/camera/flash.dat
+vendor/camera/LGI02BN1_CACAO.dat
+vendor/camera/LGI02BN1.dat
+vendor/camera/LGI02BN1_IMX132.dat
+vendor/camera/product_CACAO.dat
+vendor/camera/product.dat
+vendor/camera/SEM02BN1_CACAO.dat
+vendor/camera/SEM02BN1.dat
+vendor/camera/SEM02BN1_IMX132.dat
+vendor/camera/SOI13BS9_CACAO.dat
+vendor/camera/SOI13BS9.dat
+vendor/camera/SOI20BS0_BU64296GWX.dat
+vendor/camera/SOI20BS0_CACAO.dat
+vendor/camera/SOI20BS0.dat
+vendor/camera/SOI20BS0_IMX200.dat
+vendor/lib/libmmcamera2_iface_modules.so
+vendor/lib/libmmcamera2_imglib_modules.so
+vendor/lib/libmmcamera2_isp_modules.so
+vendor/lib/libmmcamera2_sensor_modules.so
+vendor/lib/libmmcamera2_stats_algorithm.so
+vendor/lib/libmmcamera2_stats_modules.so
+vendor/lib/liboemcamera.so
+
+# Charger
+bin/chargemon
+
+# Sensors
+bin/sensors.qcom
+etc/sensor_def_qcomdev.conf
+etc/sensors_calib.conf
+vendor/lib/libsensor1.so
+
+# TA
+bin/updatemiscta
+
+# Touchscreen
+etc/firmware/touch_module_id_0x45.img
+etc/firmware/touch_module_id_0x48.img
+etc/firmware/touch_module_id_0x49.img
+etc/firmware/touch_module_id_0x4d.img
+etc/firmware/touch_module_id_0x4e.img
+etc/firmware/touch_module_id_0x4f.img
+etc/firmware/touch_module_id_0x50.img
+etc/firmware/touch_module_id_0x51.img
+etc/firmware/touch_module_id_0x57.img
+etc/firmware/touch_module_id_0x59.img
+etc/firmware/touch_module_id_0x5a.img
+etc/firmware/touch_module_id_0x5b.img
+etc/firmware/touch_module_id_0x5c.img
+etc/firmware/touch_module_id_0x5e.img
+etc/firmware/touch_module_id_0x5f.img
+lib/touchfilter/tftype4.so
+usr/idc/clearpad.idc
+usr/idc/clearpad_pen.idc
diff --git a/recovery/root/etc/bootrec-device b/recovery/root/etc/bootrec-device
new file mode 100644
index 0000000..a5bebb6
--- /dev/null
+++ b/recovery/root/etc/bootrec-device
@@ -0,0 +1,7 @@
+#!/sbin/busybox sh
+
+export BOOTREC_LED_RED="/sys/class/leds/led:rgb_red/brightness"
+export BOOTREC_LED_GREEN="/sys/class/leds/led:rgb_green/brightness"
+export BOOTREC_LED_BLUE="/sys/class/leds/led:rgb_blue/brightness"
+export BOOTREC_FOTA_NODE="/dev/block/mmcblk0p16 b 179 16"
+export BOOTREC_FOTA="/dev/block/mmcblk0p16"
diff --git a/rootdir/init.device.rc b/rootdir/init.device.rc
new file mode 100644
index 0000000..2987f8d
--- /dev/null
+++ b/rootdir/init.device.rc
@@ -0,0 +1,36 @@
+on boot
+ # Panel backlight
+ chown system system /sys/class/leds/wled:backlight/brightness
+ chmod 660 /sys/class/leds/wled:backlight/brightness
+
+ # LED
+ chown system system /sys/class/leds/led:rgb_red/brightness
+ chown system system /sys/class/leds/led:rgb_red/lut_pwm
+ chown system system /sys/class/leds/led:rgb_red/step_duration
+ chown system system /sys/class/leds/led:rgb_green/brightness
+ chown system system /sys/class/leds/led:rgb_green/lut_pwm
+ chown system system /sys/class/leds/led:rgb_green/step_duration
+ chown system system /sys/class/leds/led:rgb_blue/brightness
+ chown system system /sys/class/leds/led:rgb_blue/lut_pwm
+ chown system system /sys/class/leds/led:rgb_blue/step_duration
+ chown system system /sys/class/leds/rgb/sync_state
+ chown system system /sys/class/leds/rgb/start_blink
+ chmod 660 /sys/class/leds/led:rgb_red/brightness
+ chmod 660 /sys/class/leds/led:rgb_red/lut_pwm
+ chmod 660 /sys/class/leds/led:rgb_red/step_duration
+ chmod 660 /sys/class/leds/led:rgb_green/brightness
+ chmod 660 /sys/class/leds/led:rgb_green/lut_pwm
+ chmod 660 /sys/class/leds/led:rgb_green/step_duration
+ chmod 660 /sys/class/leds/led:rgb_blue/brightness
+ chmod 660 /sys/class/leds/led:rgb_blue/lut_pwm
+ chmod 660 /sys/class/leds/led:rgb_blue/step_duration
+ chmod 660 /sys/class/leds/rgb/sync_state
+ chmod 220 /sys/class/leds/rgb/start_blink
+
+ # PM8941 flash
+ chown system camera /sys/class/misc/pm8941-flash/device/current1
+ chown system camera /sys/class/misc/pm8941-flash/device/current2
+ chown system camera /sys/class/misc/pm8941-flash/device/fault_status
+ chown system camera /sys/class/misc/pm8941-flash/device/flash_timer
+ chown system camera /sys/class/misc/pm8941-flash/device/mode
+ chown system camera /sys/class/misc/pm8941-flash/device/strobe
diff --git a/rootdir/system/etc/vold.fstab b/rootdir/system/etc/vold.fstab
new file mode 100644
index 0000000..2bcc690
--- /dev/null
+++ b/rootdir/system/etc/vold.fstab
@@ -0,0 +1,33 @@
+# Copyright (c) 2011, Code Aurora Forum. All rights reserved.
+# Copyright (c) 2013 Sony Mobile Communications AB.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above
+# copyright notice, this list of conditions and the following
+# disclaimer in the documentation and/or other materials provided
+# with the distribution.
+# * Neither the name of Code Aurora Forum, Inc. nor the names of its
+# contributors may be used to endorse or promote products derived
+# from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# NOTE: This file has been modified by Sony Mobile Communications AB.
+# Modifications are licensed under the licence above.
+
+dev_mount ext_card /storage/sdcard1 auto /devices/msm_sdcc.2/mmc_host
+dev_mount usbdisk /storage/usbdisk auto /devices/platform/xhci-hcd
diff --git a/system.prop b/system.prop
new file mode 100644
index 0000000..d307dc0
--- /dev/null
+++ b/system.prop
@@ -0,0 +1,7 @@
+# Graphics
+ro.sf.lcd_density=445
+
+# USB path
+ro.usb.pid_suffix=19E
+
+ro.use_data_netmgrd=true
diff --git a/thermanager.xml b/thermanager.xml
new file mode 100644
index 0000000..c4375c9
--- /dev/null
+++ b/thermanager.xml
@@ -0,0 +1,268 @@
+<thermanager>
+ <resources>
+ <!-- thermal zones -->
+ <resource name="zone0" type="tz">/sys/class/thermal/thermal_zone0</resource>
+ <resource name="zone1" type="tz">/sys/class/thermal/thermal_zone1</resource>
+ <resource name="zone2" type="tz">/sys/class/thermal/thermal_zone2</resource>
+ <resource name="zone3" type="tz">/sys/class/thermal/thermal_zone3</resource>
+ <resource name="zone4" type="tz">/sys/class/thermal/thermal_zone4</resource>
+ <resource name="zone5" type="tz">/sys/class/thermal/thermal_zone5</resource>
+ <resource name="zone6" type="tz">/sys/class/thermal/thermal_zone6</resource>
+ <resource name="zone7" type="tz">/sys/class/thermal/thermal_zone7</resource>
+ <resource name="zone8" type="tz">/sys/class/thermal/thermal_zone8</resource>
+ <resource name="zone9" type="tz">/sys/class/thermal/thermal_zone9</resource>
+ <resource name="zone10" type="tz">/sys/class/thermal/thermal_zone10</resource>
+ <resource name="zone11" type="tz">/sys/class/thermal/thermal_zone11</resource>
+ <resource name="zone12" type="tz">/sys/class/thermal/thermal_zone12</resource>
+
+ <!-- generic cpufreq -->
+ <resource name="cpu0" type="sysfs">/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq</resource>
+ <resource name="cpu1" type="sysfs">/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq</resource>
+ <resource name="cpu2" type="sysfs">/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq</resource>
+ <resource name="cpu3" type="sysfs">/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq</resource>
+
+ <resource name="cpu" type="union">
+ <resource name="cpu0" />
+ <resource name="cpu1" />
+ <resource name="cpu2" />
+ <resource name="cpu3" />
+ </resource>
+
+ <!-- device-specific -->
+ <resource name="backlight" type="sysfs">/sys/class/leds/wled:backlight/max_brightness</resource>
+
+ <resource name="temp-emmc" type="msm-adc">/sys/devices/00-vadc-3100/emmc_therm</resource>
+ <resource name="temp-batt" type="msm-adc">/sys/devices/00-vadc-3100/batt_therm</resource>
+ <resource name="gpu" type="sysfs">/sys/class/kgsl/kgsl-3d0/max_gpuclk</resource>
+ <resource name="dc" type="sysfs">/sys/class/power_supply/qpnp-dc/current_max</resource>
+ <resource name="usb" type="sysfs">/sys/class/power_supply/usb/current_max</resource>
+ <resource name="charger" type="sysfs">/sys/class/power_supply/battery/system_temp_level</resource>
+ <resource name="charge_en" type="sysfs">/sys/class/power_supply/battery/charging_enabled</resource>
+ <resource name="temp-core" type="alias" resource="zone2" />
+
+ <resource name="temp-gpu" type="union">
+ <resource name="zone9" />
+ <resource name="zone10" />
+ </resource>
+
+ <resource name="temp-cpu" type="union">
+ <resource name="zone5" />
+ <resource name="zone6" />
+ <resource name="zone7" />
+ <resource name="zone8" />
+ </resource>
+
+ <!-- TODO: -->
+ <resource name="camera" type="echo" />
+ <resource name="modem" type="echo" />
+
+ <resource name="shutdown" type="halt" delay="5" />
+ </resources>
+
+ <control name="usb">
+ <mitigation level="off"><value resource="usb">1500000</value></mitigation>
+ <mitigation level="1"><value resource="usb">900000</value></mitigation>
+ <mitigation level="2"><value resource="usb">700000</value></mitigation>
+ <mitigation level="3"><value resource="usb">500000</value></mitigation>
+ <mitigation level="4"><value resource="usb">300000</value></mitigation>
+ <mitigation level="5"><value resource="usb">150000</value></mitigation>
+ </control>
+
+ <control name="dc">
+ <mitigation level="off"><value resource="dc">1800000</value></mitigation>
+ <mitigation level="1"><value resource="dc">1000000</value></mitigation>
+ <mitigation level="2"><value resource="dc">800000</value></mitigation>
+ <mitigation level="3"><value resource="dc">600000</value></mitigation>
+ <mitigation level="4"><value resource="dc">400000</value></mitigation>
+ <mitigation level="5"><value resource="dc">200000</value></mitigation>
+ </control>
+
+ <control name="charge_en">
+ <mitigation level="off"><value resource="charge_en">1</value></mitigation>
+ <mitigation level="1"><value resource="charge_en">0</value></mitigation>
+ <mitigation level="2"><value resource="shutdown" /></mitigation>
+ </control>
+
+ <control name="charging">
+ <mitigation level="off"><value resource="charger">0</value></mitigation>
+ <mitigation level="1"><value resource="charger">1</value></mitigation>
+ <mitigation level="2"><value resource="charger">2</value></mitigation>
+ <mitigation level="3"><value resource="charger">3</value></mitigation>
+ <mitigation level="4"><value resource="charger">4</value></mitigation>
+ <mitigation level="5"><value resource="charger">5</value></mitigation>
+ <mitigation level="6"><value resource="charger">6</value></mitigation>
+ <mitigation level="7"><value resource="charger">7</value></mitigation>
+ <mitigation level="8"><value resource="charger">8</value></mitigation>
+ <mitigation level="9"><value resource="charger">9</value></mitigation>
+ </control>
+
+ <control name="modem">
+ <mitigation level="off"><value resource="modem">0</value></mitigation>
+ <mitigation level="1"><value resource="modem">1</value></mitigation>
+ </control>
+
+ <control name="camera">
+ <mitigation level="off"><value resource="camera">NORMAL</value></mitigation>
+ <mitigation level="1"><value resource="camera">WARNING</value></mitigation>
+ <mitigation level="2"><value resource="camera">CRITICAL</value></mitigation>
+ </control>
+
+ <control name="shutdown">
+ <mitigation level="off" />
+ <mitigation level="1"><value resource="shutdown" /></mitigation>
+ </control>
+
+ <control name="backlight">
+ <mitigation level="off"><value resource="backlight">255</value></mitigation>
+ <mitigation level="1"><value resource="backlight">192</value></mitigation>
+ <mitigation level="2"><value resource="backlight">128</value></mitigation>
+ <mitigation level="3"><value resource="backlight">96</value></mitigation>
+ <mitigation level="4"><value resource="backlight">64</value></mitigation>
+ </control>
+
+ <control name="gpu">
+ <mitigation level="off"><value resource="gpu">600000000</value></mitigation>
+ <mitigation level="1"><value resource="gpu">389000000</value></mitigation>
+ <mitigation level="2"><value resource="gpu">320000000</value></mitigation>
+ <mitigation level="3"><value resource="gpu">200000000</value></mitigation>
+ <mitigation level="4"><value resource="shutdown" /></mitigation>
+ </control>
+
+ <control name="cpu">
+ <mitigation level="off"><value resource="cpu">2457400</value></mitigation>
+ <mitigation level="1"><value resource="cpu">1958400</value></mitigation>
+ <mitigation level="2"><value resource="cpu">1728000</value></mitigation>
+ <mitigation level="3"><value resource="cpu">1574400</value></mitigation>
+ <mitigation level="4"><value resource="cpu">1497600</value></mitigation>
+ <mitigation level="5"><value resource="cpu">1267200</value></mitigation>
+ <mitigation level="6"><value resource="cpu">1190400</value></mitigation>
+ <mitigation level="7"><value resource="cpu">1036800</value></mitigation>
+ <mitigation level="8"><value resource="cpu">960000</value></mitigation>
+ <mitigation level="9"><value resource="cpu">883200</value></mitigation>
+ <mitigation level="10"><value resource="cpu">729600</value></mitigation>
+ <mitigation level="11"><value resource="cpu">652800</value></mitigation>
+ <mitigation level="12"><value resource="cpu">422400</value></mitigation>
+ <mitigation level="13"><value resource="cpu">300000</value></mitigation>
+ <mitigation level="14"><value resource="shutdown" /></mitigation>
+ </control>
+
+ <!-- burn-out protection -->
+ <configuration sensor="temp-core">
+ <threshold>
+ <mitigation name="shutdown" level="off" />
+ </threshold>
+ <threshold trigger="120" clear="115">
+ <mitigation name="shutdown" level="1" />
+ </threshold>
+ </configuration>
+
+ <!-- USB, DC, charging, modem, backlight -->
+ <configuration sensor="temp-emmc">
+ <threshold>
+ <mitigation name="dc" level="off" />
+ <mitigation name="usb" level="off" />
+ <mitigation name="charging" level="off" />
+ <mitigation name="modem" level="off" />
+ <mitigation name="backlight" level="off" />
+ <mitigation name="camera" level="off" />
+ </threshold>
+ <threshold trigger="590" clear="570">
+ <mitigation name="charging" level="1" />
+ <mitigation name="dc" level="1" />
+ <mitigation name="usb" level="1" />
+ <mitigation name="backlight" level="1" />
+ </threshold>
+ <threshold trigger="600" clear="580">
+ <mitigation name="charging" level="1" />
+ <mitigation name="dc" level="2" />
+ <mitigation name="usb" level="2" />
+ <mitigation name="backlight" level="1" />
+ </threshold>
+ <threshold trigger="610" clear="590">
+ <mitigation name="charging" level="2" />
+ <mitigation name="dc" level="3" />
+ <mitigation name="usb" level="3" />
+ <mitigation name="backlight" level="2" />
+ </threshold>
+ <threshold trigger="620" clear="600">
+ <mitigation name="charging" level="2" />
+ <mitigation name="dc" level="4" />
+ <mitigation name="usb" level="4" />
+ <mitigation name="backlight" level="3" />
+ </threshold>
+ <threshold trigger="630" clear="610">
+ <mitigation name="charging" level="3" />
+ <mitigation name="dc" level="4" />
+ <mitigation name="usb" level="4" />
+ <mitigation name="backlight" level="3" />
+ <mitigation name="camera" level="1" />
+ </threshold>
+ <threshold trigger="640" clear="620">
+ <mitigation name="camera" level="2" />
+ <mitigation name="charging" level="5" />
+ <mitigation name="dc" level="5" />
+ <mitigation name="usb" level="5" />
+ <mitigation name="backlight" level="4" />
+ <mitigation name="modem" level="1" />
+ </threshold>
+ <threshold trigger="850" clear="580">
+ <mitigation name="shutdown" level="1" />
+ </threshold>
+ </configuration>
+
+ <!-- Charging -->
+ <configuration sensor="temp-batt">
+ <threshold>
+ <mitigation name="charge_en" level="off" />
+ </threshold>
+ <threshold trigger="600" clear="580">
+ <mitigation name="charge_en" level="1" />
+ </threshold>
+ <threshold trigger="800" clear="780">
+ <mitigation name="charge_en" level="2" />
+ </threshold>
+ </configuration>
+
+ <!-- GPU -->
+ <configuration sensor="temp-emmc">
+ <threshold>
+ <mitigation name="gpu" level="off" />
+ </threshold>
+ <threshold trigger="600" clear="585">
+ <mitigation name="gpu" level="3" />
+ </threshold>
+ </configuration>
+ <configuration sensor="temp-gpu">
+ <threshold>
+ <mitigation name="gpu" level="off" />
+ </threshold>
+ <threshold trigger="100" clear="95">
+ <mitigation name="gpu" level="3" />
+ </threshold>
+ <threshold trigger="120" clear="110">
+ <mitigation name="gpu" level="4" />
+ </threshold>
+ </configuration>
+
+ <!-- CPU -->
+ <configuration sensor="temp-cpu">
+ <threshold>
+ <mitigation name="cpu" level="off" />
+ </threshold>
+ <threshold trigger="65" clear="60">
+ <mitigation name="cpu" level="2" />
+ </threshold>
+ <threshold trigger="75" clear="65">
+ <mitigation name="cpu" level="4" />
+ </threshold>
+ <threshold trigger="80" clear="75">
+ <mitigation name="cpu" level="9" />
+ </threshold>
+ <threshold trigger="100" clear="80">
+ <mitigation name="cpu" level="12" />
+ </threshold>
+ <threshold trigger="120" clear="115">
+ <mitigation name="cpu" level="14" />
+ </threshold>
+ </configuration>
+</thermanager>
diff --git a/vendorsetup.sh b/vendorsetup.sh
new file mode 100755
index 0000000..bd7d7f8
--- /dev/null
+++ b/vendorsetup.sh
@@ -0,0 +1 @@
+add_lunch_combo cm_honami-eng