Initial commit

This commit is contained in:
joel16 2019-12-05 18:17:29 -05:00
commit 389a89e314
33 changed files with 10380 additions and 0 deletions

32
Android.mk Normal file
View File

@ -0,0 +1,32 @@
#
# Copyright (C) 2016 The CyanogenMod Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This contains the module build definitions for the hardware-specific
# components for this device.
#
# As much as possible, those components should be built unconditionally,
# with device-specific names to avoid collisions, to avoid device-specific
# bitrot and build breakages. Building a component unconditionally does
# *not* include it on all devices, so it is safe even with hardware-specific
# components.
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),satsuki)
include $(call all-makefiles-under,$(LOCAL_PATH))
endif

59
BoardConfig.mk Normal file
View File

@ -0,0 +1,59 @@
#
# Copyright (C) 2016 The CyanogenMod Project
# 2017-2018 The LineageOS 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.
#
include device/sony/kitakami-common/BoardConfigCommon.mk
DEVICE_PATH := device/sony/satsuki
# Use Snapdragon LLVM, if available
TARGET_USE_SDCLANG := true
# Assert
TARGET_OTA_ASSERT_DEVICE := E6833,E6853,E6883,satsuki,satsuki_dsds
# Boot image/kernel
TARGET_KERNEL_CONFIG := kitakami_satsuki_defconfig
# CM hardware
BOARD_HARDWARE_CLASS += $(DEVICE_PATH)/cmhw
TARGET_TAP_TO_WAKE_NODE := "/sys/devices/virtual/input/clearpad/wakeup_gesture"
# Partitions
BOARD_FLASH_BLOCK_SIZE := 262144 # (BOARD_KERNEL_PAGESIZE * 64)
BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864
BOARD_CACHEIMAGE_PARTITION_SIZE := 209715200
BOARD_PERSISTIMAGE_PARTITION_SIZE := 33554432
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 5513412608
# Reserve space for data encryption (24763170816-16384)
BOARD_USERDATAIMAGE_PARTITION_SIZE := 24763154432
# Properties
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
# Radio
BOARD_HAVE_RADIO := true
# Wifi
WIFI_BUS := PCIE
# Init
TARGET_INIT_VENDOR_LIB := libinit_satsuki
TARGET_UNIFIED_DEVICE := true
# Inherit from the proprietary version
-include vendor/sony/satsuki/BoardConfigVendor.mk

24
README.md Normal file
View File

@ -0,0 +1,24 @@
Copyright 2016 - The CyanogenMod Project
Copyright 2017 - The LineageOS Project
Device configuration for Sony Xperia Z5
=====================================
Basic | Spec Sheet
-------:|:-------------------------
CPU | Quad-core 2.0 GHz ARM® Cortex™ A57 and Quad-core 1.5 GHz ARM® Cortex™ A53
CHIPSET | Qualcomm MSM8994 Snapdragon 810
GPU | Adreno 430
Memory | 3 GB
Shipped Android Version | 5.1.1
Storage | 32 GB
MicroSD | Up to 256 GB (dedicated)
Battery | 2900 mAh (non-removable)
Dimensions | 146 x 72 x 7.3 mm
Display | 1080 x 1920 pixels, 5.2" IPS LCD
Weight | 154 g
Rear Camera | 23 MP, LED flash
Front Camera | 5.1 MP
Release Date | October 2015
![Sony Xperia Z5](http://cdn2.gsmarena.com/vv/pics/sony/sony-z5-4.jpg "Sony Xperia Z5")

4270
audio/mixer_paths.xml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,58 @@
/*
* Copyright (C) 2017 The LineageOS 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.
*/
package org.cyanogenmod.hardware;
import org.cyanogenmod.internal.util.FileUtils;
/**
* Glove mode / high touch sensitivity
*/
public class HighTouchSensitivity {
private static final String FILE_MODE = "/sys/devices/virtual/input/clearpad/glove";
private static final String ENABLED = "1";
private static final String DISABLED = "0";
/**
* Whether device supports high touch sensitivity.
*
* @return boolean Supported devices must return always true
*/
public static boolean isSupported() {
return FileUtils.isFileReadable(FILE_MODE) &&
FileUtils.isFileWritable(FILE_MODE);
}
/** This method returns the current activation status of high touch sensitivity
*
* @return boolean Must be false if high touch sensitivity is not supported or not activated,
* or the operation failed while reading the status; true in any other case.
*/
public static boolean isEnabled() {
return ENABLED.equals(FileUtils.readOneLine(FILE_MODE));
}
/**
* This method allows to setup high touch sensitivity status.
*
* @param state The new high touch sensitivity status
* @return boolean Must be false if high touch sensitivity is not supported or the operation
* failed; true in any other case.
*/
public static boolean setEnabled(boolean state) {
return FileUtils.writeLine(FILE_MODE, state ? ENABLED : DISABLED);
}
}

683
configs/dsi_config.xml Normal file
View File

@ -0,0 +1,683 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
DSI Module configuration XML file
Copyright (c) 2013, 2015 Qualcomm Technologies, Inc. All Rights Reserved.
Qualcomm Technologies Proprietary and Confidential.
-->
<list name="dsi_config">
<!-- Configuration for legacy MSM targets -->
<listitem name="msm">
<data name="qos_enabled" type="int"> 0 </data>
<data name="rmnet_data_enabled" type="int"> 0 </data>
<data name="phys_net_dev" type="string"> rmnet0 </data>
<data name="single_qmux_channel_enabled" type="int"> 0 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet0 </data>
<data type="string"> rmnet1 </data>
<data type="string"> rmnet2 </data>
<data type="string"> rmnet3 </data>
<data type="string"> rmnet4 </data>
<data type="string"> rmnet5 </data>
<data type="string"> rmnet6 </data>
<data type="string"> rmnet7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet0 </data>
<data type="string"> rmnet1 </data>
<data type="string"> rmnet2 </data>
<data type="string"> rmnet3 </data>
<data type="string"> rmnet4 </data>
<data type="string"> rmnet5 </data>
<data type="string"> rmnet6 </data>
<data type="string"> rmnet7 </data>
</list>
</listitem>
<!-- Configuration for fusion4 -->
<listitem name="mdm">
<data name="qos_enabled" type="int"> 0 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_usb0 </data>
<data name="single_qmux_channel_enabled" type="int"> 0 </data>
<data name="single_qmux_channel_name" type="string"> rmnet_usb0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_usb0 </data>
<data type="string"> rmnet_usb1 </data>
<data type="string"> rmnet_usb2 </data>
<data type="string"> rmnet_usb3 </data>
<data type="string"> rmnet_usb4 </data>
<data type="string"> rmnet_usb5 </data>
<data type="string"> rmnet_usb6 </data>
<data type="string"> rmnet_usb7 </data>
</list>
</listitem>
<!-- Configuration for fusion4.5 PCIe -->
<listitem name="fusion4_5_pcie">
<data name="qos_enabled" type="int"> 0 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_mhi0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet_mhi0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for MSM8994 -->
<listitem name="msm8994">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for dpm_2_0 targets -->
<listitem name="dpm_2_0">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for Jolokia -->
<listitem name="jolokia">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for MSM8992 -->
<listitem name="msm8992">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for 9X40/9X45 LE (Tesla) -->
<listitem name="tesla">
<data name="qos_enabled" type="int"> 0 </data>
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for MSM8952/MSM8956 -->
<listitem name="tabasco">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for MSM8976 -->
<listitem name="Eldarion">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for MSM8953 -->
<listitem name="jacala">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for MSM8940 -->
<listitem name="feero6">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for MSM8920 -->
<listitem name="feerolite6">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for MSM8996 -->
<listitem name="msm8996">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for Fusion 8084 + 9x45 PCIe -->
<listitem name="fusion_8084_9x45_pcie">
<data name="qos_enabled" type="int"> 0 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_mhi0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet_mhi0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for 9X50/9X55 LE (Atlas) -->
<listitem name="atlas">
<data name="qos_enabled" type="int"> 0 </data>
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for Fusion 8096 + 9x55 PCIe -->
<listitem name="fusion_8096_9x55_pcie">
<data name="qos_enabled" type="int"> 0 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_mhi0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet_mhi0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for lykan -->
<listitem name="lykan">
<data name="qos_enabled" type="int"> 0 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for feero -->
<listitem name="feero">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for Cobalt -->
<listitem name="cobalt">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
</list>

369
configs/libnfc-brcm.conf Normal file
View File

@ -0,0 +1,369 @@
## this file is used by Broadcom's Hardware Abstraction Layer at external/libnfc-nci/halimpl/
###############################################################################
# Application options
APPL_TRACE_LEVEL=0xFF
PROTOCOL_TRACE_LEVEL=0xFFFFFFFF
###############################################################################
# performance measurement
# Change this setting to control how often USERIAL log the performance (throughput)
# data on read/write/poll
# defailt is to log performance dara for every 100 read or write
#REPORT_PERFORMANCE_MEASURE=100
###############################################################################
# File used for NFA storage
NFA_STORAGE="/data/nfc"
###############################################################################
# Snooze Mode Settings
#
# By default snooze mode is enabled. Set SNOOZE_MODE_CFG byte[0] to 0
# to disable.
#
# If SNOOZE_MODE_CFG is not provided, the default settings are used:
# They are as follows:
# 8 Sleep Mode (0=Disabled 1=UART 8=SPI/I2C)
# 0 Idle Threshold Host
# 0 Idle Threshold HC
# 0 NFC Wake active mode (0=ActiveLow 1=ActiveHigh)
# 1 Host Wake active mode (0=ActiveLow 1=ActiveHigh)
#
#SNOOZE_MODE_CFG={08:00:00:00:01}
###############################################################################
# Insert a delay in milliseconds after NFC_WAKE and before write to NFCC
NFC_WAKE_DELAY=20
###############################################################################
# Various Delay settings (in ms) used in USERIAL
# POWER_ON_DELAY
# Delay after turning on chip, before writing to transport (default 300)
# PRE_POWER_OFF_DELAY
# Delay after deasserting NFC-Wake before turn off chip (default 0)
# POST_POWER_OFF_DELAY
# Delay after turning off chip, before USERIAL_close returns (default 0)
#
#POWER_ON_DELAY=300
#PRE_POWER_OFF_DELAY=0
#POST_POWER_OFF_DELAY=0
###############################################################################
# LPTD mode configuration
# byte[0] is the length of the remaining bytes in this value
# if set to 0, LPTD params will NOT be sent to NFCC (i.e. disabled).
# byte[1] is the param id it should be set to B9.
# byte[2] is the length of the LPTD parameters
# byte[3] indicates if LPTD is enabled
# if set to 0, LPTD will be disabled (parameters will still be sent).
# byte[4-n] are the LPTD parameters.
# By default, LPTD is enabled and default settings are used.
# See nfc_hal_dm_cfg.c for defaults
LPTD_CFG={23:B9:21:01:02:FF:FF:04:A0:0F:40:00:80:02:02:10:00:00:00:31:0C:30:00:00:00:00:00:00:00:00:00:00:00:00:00:00}
###############################################################################
# Startup Configuration (100 bytes maximum)
#
# For the 0xCA parameter, byte[9] (marked by 'AA') is for UICC0, and byte[10] (marked by BB) is
# for UICC1. The values are defined as:
# 0 : UICCx only supports ISO_DEP in low power mode.
# 2 : UICCx only supports Mifare in low power mode.
# 3 : UICCx supports both ISO_DEP and Mifare in low power mode.
#
# AA BB
NFA_DM_START_UP_CFG={1F:CB:01:01:A5:01:01:CA:14:00:00:00:00:06:E8:03:00:00:00:00:00:00:00:00:00:00:00:00:00:80:01:01}
###############################################################################
# Startup Vendor Specific Configuration (100 bytes maximum);
# byte[0] TLV total len = 0x5
# byte[1] NCI_MTS_CMD|NCI_GID_PROP = 0x2f
# byte[2] NCI_MSG_FRAME_LOG = 0x9
# byte[3] 2
# byte[4] 0=turn off RF frame logging; 1=turn on
# byte[5] 0=turn off SWP frame logging; 1=turn on
# NFA_DM_START_UP_VSC_CFG={05:2F:09:02:01:01}
###############################################################################
# Total Duration Configuration (msec)
# Min=0x0000 Max=0xFFFF(65535)
NFA_DM_DISC_DURATION_POLL=300
###############################################################################
# Antenna Configuration - This data is used when setting 0xC8 config item
# at startup (before discovery is started). If not used, no value is sent.
#
# The settings for this value are documented here:
# http://wcgbu.broadcom.com/wpan/PM/Project%20Document%20Library/bcm20791B0/
# Design/Doc/PHY%20register%20settings/BCM20791-B2-1027-02_PHY_Recommended_Reg_Settings.xlsx
# This document is maintained by Paul Forshaw.
#
# The values marked as ?? should be tweaked per antenna or customer/app:
# {20:C8:1E:06:??:00:??:??:??:00:??:24:00:1C:00:75:00:77:00:76:00:1C:00:03:00:0A:00:??:01:00:00:40:04}
# array[0] = 0x20 is length of the payload from array[1] to the end
# array[1] = 0xC8 is PREINIT_DSP_CFG
#PREINIT_DSP_CFG={20:C8:1E:06:1F:00:0F:03:3C:00:04:24:00:1C:00:75:00:77:00:76:00:1C:00:03:00:0A:00:48:01:00:00:40:04}
###############################################################################
# Configure crystal frequency when internal LPO can't detect the frequency.
#XTAL_FREQUENCY=0
###############################################################################
# Configure the default Destination Gate used by HCI (the default is 4, which
# is the ETSI loopback gate.
NFA_HCI_DEFAULT_DEST_GATE=0xF0
###############################################################################
# Configure the single default SE to use. The default is to use the first
# SE that is detected by the stack. This value might be used when the phone
# supports multiple SE (e.g. 0xF3 and 0xF4) but you want to force it to use
# one of them (e.g. 0xF4).
#ACTIVE_SE=0xF3
###############################################################################
# Configure the NFC Extras to open and use a static pipe. If the value is
# not set or set to 0, then the default is use a dynamic pipe based on a
# destination gate (see NFA_HCI_DEFAULT_DEST_GATE). Note there is a value
# for each UICC (where F3="UICC0" and F4="UICC1")
#NFA_HCI_STATIC_PIPE_ID_F3=0x70
#NFA_HCI_STATIC_PIPE_ID_01=0x19
NFA_HCI_STATIC_PIPE_ID_C0=0x19
###############################################################################
# When disconnecting from Oberthur secure element, perform a warm-reset of
# the secure element to deselect the applet.
# The default hex value of the command is 0x3. If this variable is undefined,
# then this feature is not used.
OBERTHUR_WARM_RESET_COMMAND=0x03
###############################################################################
# Force UICC to only listen to the following technology(s).
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B | NFA_TECHNOLOGY_MASK_F
UICC_LISTEN_TECH_MASK=0x07
###############################################################################
# Force HOST listen feature enable or disable.
# 0: Disable
# 1: Enable
HOST_LISTEN_ENABLE=0x01
###############################################################################
# Enabling/Disabling Forward functionality
# Disable 0x00
# Enable 0x01
NXP_FWD_FUNCTIONALITY_ENABLE=0x01
###############################################################################
# Allow UICC to be powered off if there is no traffic.
# Timeout is in ms. If set to 0, then UICC will not be powered off.
#UICC_IDLE_TIMEOUT=30000
UICC_IDLE_TIMEOUT=0
###############################################################################
# AID for Empty Select command
# If specified, this AID will be substituted when an Empty SELECT command is
# detected. The first byte is the length of the AID. Maximum length is 16.
AID_FOR_EMPTY_SELECT={08:A0:00:00:01:51:00:00:00}
###############################################################################
# Maximum Number of Credits to be allowed by the NFCC
# This value overrides what the NFCC specifices allowing the host to have
# the control to work-around transport limitations. If this value does
# not exist or is set to 0, the NFCC will provide the number of credits.
MAX_RF_DATA_CREDITS=1
###############################################################################
# This setting allows you to disable registering the T4t Virtual SE that causes
# the NFCC to send PPSE requests to the DH.
# The default setting is enabled (i.e. T4t Virtual SE is registered).
#REGISTER_VIRTUAL_SE=1
###############################################################################
# When screen is turned off, specify the desired power state of the controller.
# 0: power-off-sleep state; DEFAULT
# 1: full-power state
# 2: screen-off card-emulation (CE4/CE3/CE1 modes are used)
SCREEN_OFF_POWER_STATE=1
###############################################################################
# Firmware patch file
# If the value is not set then patch download is disabled.
FW_PATCH="/vendor/firmware/bcm2079x_firmware.ncd"
###############################################################################
# Firmware pre-patch file (sent before the above patch file)
# If the value is not set then pre-patch is not used.
FW_PRE_PATCH="/vendor/firmware/bcm2079x_pre_firmware.ncd"
###############################################################################
# Firmware patch format
# 1 = HCD
# 2 = NCD (default)
#NFA_CONFIG_FORMAT=2
###############################################################################
# SPD Debug mode
# If set to 1, any failure of downloading a patch will trigger a hard-stop
#SPD_DEBUG=0
###############################################################################
# SPD Max Retry Count
# The number of attempts to download a patch before giving up (defualt is 3).
# Note, this resets after a power-cycle.
#SPD_MAX_RETRY_COUNT=3
###############################################################################
# transport driver
#
# TRANSPORT_DRIVER=<driver>
#
# where <driver> can be, for example:
# "/dev/ttyS" (UART)
# "/dev/bcmi2cnfc" (I2C)
# "hwtun" (HW Tunnel)
# "/dev/bcmspinfc" (SPI)
# "/dev/btusb0" (BT USB)
TRANSPORT_DRIVER="/dev/bcm2079x"
###############################################################################
# power control driver
# Specify a kernel driver that support ioctl commands to control NFC_EN and
# NFC_WAKE gpio signals.
#
# POWER_CONTRL_DRIVER=<driver>
# where <driver> can be, for example:
# "/dev/nfcpower"
# "/dev/bcmi2cnfc" (I2C)
# "/dev/bcmspinfc" (SPI)
# i2c and spi driver may be used to control NFC_EN and NFC_WAKE signal
POWER_CONTROL_DRIVER="/dev/bcm2079x"
###############################################################################
# I2C transport driver options
#
BCMI2CNFC_ADDRESS=0
###############################################################################
# I2C transport driver try to read multiple packets in read() if data is available
# remove the comment below to enable this feature
#READ_MULTIPLE_PACKETS=1
###############################################################################
# SPI transport driver options
#SPI_NEGOTIATION={0A:F0:00:01:00:00:00:FF:FF:00:00}
###############################################################################
# UART transport driver options
#
# PORT=1,2,3,...
# BAUD=115200, 19200, 9600, 4800,
# DATABITS=8, 7, 6, 5
# PARITY="even" | "odd" | "none"
# STOPBITS="0" | "1" | "1.5" | "2"
#UART_PORT=2
#UART_BAUD=115200
#UART_DATABITS=8
#UART_PARITY="none"
#UART_STOPBITS="1"
###############################################################################
# Insert a delay in microseconds per byte after a write to NFCC.
# after writing a block of data to the NFCC, delay this an amopunt of time before
# writing next block of data. the delay is calculated as below
# NFC_WRITE_DELAY * (number of byte written) / 1000 milliseconds
# e.g. after 259 bytes is written, delay (259 * 20 / 1000) 5 ms before next write
NFC_WRITE_DELAY=20
###############################################################################
# Maximum Number of Credits to be allowed by the NFCC
# This value overrides what the NFCC specifices allowing the host to have
# the control to work-around transport limitations. If this value does
# not exist or is set to 0, the NFCC will provide the number of credits.
MAX_RF_DATA_CREDITS=1
###############################################################################
# Antenna Configuration - This data is used when setting 0xC8 config item
# at startup (before discovery is started). If not used, no value is sent.
#
# The settings for this value are documented here:
# http://wcgbu.broadcom.com/wpan/PM/Project%20Document%20Library/bcm20791B0/
# Design/Doc/PHY%20register%20settings/BCM20791-B2-1027-02_PHY_Recommended_Reg_Settings.xlsx
# This document is maintained by Paul Forshaw.
#
# The values marked as ?? should be tweaked per antenna or customer/app:
# {20:C8:1E:06:??:00:??:??:??:00:??:24:00:1C:00:75:00:77:00:76:00:1C:00:03:00:0A:00:??:01:00:00:40:04}
# array[0] = 0x20 is length of the payload from array[1] to the end
# array[1] = 0xC8 is PREINIT_DSP_CFG
#PREINIT_DSP_CFG={20:C8:1E:06:1F:00:0F:03:3C:00:04:24:00:1C:00:75:00:77:00:76:00:1C:00:03:00:0A:00:48:01:00:00:40:04}
###############################################################################
# Force tag polling for the following technology(s).
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B |
# NFA_TECHNOLOGY_MASK_F | NFA_TECHNOLOGY_MASK_ISO15693 |
# NFA_TECHNOLOGY_MASK_B_PRIME | NFA_TECHNOLOGY_MASK_KOVIO |
# NFA_TECHNOLOGY_MASK_A_ACTIVE | NFA_TECHNOLOGY_MASK_F_ACTIVE.
#
# Notable bits:
# NFA_TECHNOLOGY_MASK_A 0x01 /* NFC Technology A */
# NFA_TECHNOLOGY_MASK_B 0x02 /* NFC Technology B */
# NFA_TECHNOLOGY_MASK_F 0x04 /* NFC Technology F */
# NFA_TECHNOLOGY_MASK_ISO15693 0x08 /* Proprietary Technology */
# NFA_TECHNOLOGY_MASK_KOVIO 0x20 /* Proprietary Technology */
# NFA_TECHNOLOGY_MASK_A_ACTIVE 0x40 /* NFC Technology A active mode */
# NFA_TECHNOLOGY_MASK_F_ACTIVE 0x80 /* NFC Technology F active mode */
POLLING_TECH_MASK=0xEF
###############################################################################
# Force P2P to only listen for the following technology(s).
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_F |
# NFA_TECHNOLOGY_MASK_A_ACTIVE | NFA_TECHNOLOGY_MASK_F_ACTIVE
#
# Notable bits:
# NFA_TECHNOLOGY_MASK_A 0x01 /* NFC Technology A */
# NFA_TECHNOLOGY_MASK_F 0x04 /* NFC Technology F */
# NFA_TECHNOLOGY_MASK_A_ACTIVE 0x40 /* NFC Technology A active mode */
# NFA_TECHNOLOGY_MASK_F_ACTIVE 0x80 /* NFC Technology F active mode */
P2P_LISTEN_TECH_MASK=0xC5
PRESERVE_STORAGE=0x01
###############################################################################
# Maximum EE supported number
# NXP PN547C2 0x02
# NXP PN65T 0x03
# NXP PN548C2 0x02
# NXP PN66T 0x03
NFA_MAX_EE_SUPPORTED=0x02
###############################################################################
# NCI Hal Module name
NCI_HAL_MODULE="nfc_nci.pn54x"
###############################################################################
# AID_MATCHING constants
# AID_MATCHING_EXACT_ONLY 0x00
# AID_MATCHING_EXACT_OR_PREFIX 0x01
# AID_MATCHING_PREFIX_ONLY 0x02
AID_MATCHING_MODE=0x01
###############################################################################
# Preferred Secure Element for Technology based routing
# eSE 0x01
# UICC 0x02
NXP_PRFD_TECH_SE=0x02
###############################################################################
# Vendor Specific Proprietary Protocol & Discovery Configuration
# Set to 0xFF if unsupported
# byte[0] NCI_PROTOCOL_18092_ACTIVE
# byte[1] NCI_PROTOCOL_B_PRIME
# byte[2] NCI_PROTOCOL_DUAL
# byte[3] NCI_PROTOCOL_15693
# byte[4] NCI_PROTOCOL_KOVIO
# byte[5] NCI_PROTOCOL_MIFARE
# byte[6] NCI_DISCOVERY_TYPE_POLL_KOVIO
# byte[7] NCI_DISCOVERY_TYPE_POLL_B_PRIME
# byte[8] NCI_DISCOVERY_TYPE_LISTEN_B_PRIME
NFA_PROPRIETARY_CFG={05:FF:FF:06:81:80:77:FF:FF}

536
configs/libnfc-nxp.conf Normal file
View File

@ -0,0 +1,536 @@
## This file is used by NFC NXP NCI HAL(external/libnfc-nci/halimpl/pn547)
## and NFC Service Java Native Interface Extensions (packages/apps/Nfc/nci/jni/extns/pn547)
###############################################################################
# Application options
# Logging Levels
# NXPLOG_DEFAULT_LOGLEVEL 0x01
# ANDROID_LOG_DEBUG 0x03
# ANDROID_LOG_WARN 0x02
# ANDROID_LOG_ERROR 0x01
# ANDROID_LOG_SILENT 0x00
#
NXPLOG_EXTNS_LOGLEVEL=0x01
NXPLOG_NCIHAL_LOGLEVEL=0x01
NXPLOG_NCIX_LOGLEVEL=0x01
NXPLOG_NCIR_LOGLEVEL=0x01
NXPLOG_FWDNLD_LOGLEVEL=0x01
NXPLOG_TML_LOGLEVEL=0x01
###############################################################################
# Extension for Mifare reader enable
# 0x00 - Disabled
# 0x01 - Enabled
MIFARE_READER_ENABLE=0x01
###############################################################################
# File location for Firmware
#FW_STORAGE="/vendor/firmware/libpn547_fw.so"
###############################################################################
# System clock source selection configuration
# CLK_SRC_XTAL - 0x01
# CLK_SRC_PLL - 0x02
NXP_SYS_CLK_SRC_SEL=0x02
###############################################################################
# System clock frequency selection configuration for PLL
# CLK_FREQ_13MHZ - 0x01
# CLK_FREQ_19_2MHZ - 0x02
# CLK_FREQ_24MHZ - 0x03
# CLK_FREQ_26MHZ - 0x04
# CLK_FREQ_38_4MHZ - 0x05
# CLK_FREQ_52MHZ - 0x06
NXP_SYS_CLK_FREQ_SEL=0x02
###############################################################################
# The timeout value to be used for clock request acknowledgment
# min value = 0x01 to max = 0x1A
NXP_SYS_CLOCK_TO_CFG=0x02
###############################################################################
# NXP proprietary settings
NXP_ACT_PROP_EXTN={2F, 02, 00}
###############################################################################
# NFC forum profile settings
NXP_NFC_PROFILE_EXTN={20, 02, 05, 01, A0, 44, 01, 00}
###############################################################################
# Standby enable settings
# 0x00 - Disabled
# 0x01 - Enabled
NXP_CORE_STANDBY={2F, 00, 01, 01}
###############################################################################
#Atonomous Mode
#Enable 0x01
#Disable 0x00
NXP_CORE_SCRN_OFF_AUTONOMOUS_ENABLE=0x00
###############################################################################
# NXP RF ALM (NO BOOSTER) configuration settings for FW VERSION = 08.01.25
###############################################################################
# A0, 0D, 03, 00, 40, 02 RF_CLIF_BOOT CLIF_ANA_NFCLD_REG
# A0, 0D, 03, 04, 43, 20 RF_CLIF_CFG_INITIATOR CLIF_ANA_PBF_CONTROL_REG
# A0, 0D, 03, 04, FF, 05 RF_CLIF_CFG_INITIATOR SMU_PMU_REG (0x40024010)
# A0, 0D, 06, 06, 44, A3, 90, 03, 00 RF_CLIF_CFG_TARGET CLIF_ANA_RX_REG
# A0, 0D, 06, 06, 30, CF, 00, 08, 00 RF_CLIF_CFG_TARGET CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
# A0, 0D, 06, 06, 2F, 8F, 05, 80, 0C RF_CLIF_CFG_TARGET CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 04, 06, 03, 00, 6E RF_CLIF_CFG_TARGET CLIF_TRANSCEIVE_CONTROL_REG
# A0, 0D, 03, 06, 48, 1F RF_CLIF_CFG_TARGET CLIF_ANA_CLK_MAN_REG
# A0, 0D, 03, 06, 43, A0 RF_CLIF_CFG_TARGET CLIF_ANA_PBF_CONTROL_REG
# A0, 0D, 06, 06, 42, 00, 00, FF, FF RF_CLIF_CFG_TARGET CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 06, 06, 41, 80, 00, 00, 00 RF_CLIF_CFG_TARGET CLIF_ANA_TX_CLK_CONTROL_REG
# A0, 0D, 03, 06, 37, 18 RF_CLIF_CFG_TARGET CLIF_TX_CONTROL_REG
# A0, 0D, 03, 06, 16, 00 RF_CLIF_CFG_TARGET CLIF_TX_UNDERSHOOT_CONFIG_REG
# A0, 0D, 03, 06, 15, 00 RF_CLIF_CFG_TARGET CLIF_TX_OVERSHOOT_CONFIG_REG
# A0, 0D, 06, 06, FF, 05, 00, 00, 00 RF_CLIF_CFG_TARGET SMU_PMU_REG (0x40024010)
# A0, 0D, 06, 08, 44, 00, 00, 00, 00 RF_CLIF_CFG_I_PASSIVE CLIF_ANA_RX_REG
# A0, 0D, 06, 20, 4A, 00, 00, 00, 00 RF_CLIF_CFG_TECHNO_I_TX15693CLIF_ANA_TX_SHAPE_CONTROL_REG
# A0, 0D, 06, 20, 42, 88, 10, FF, FF RF_CLIF_CFG_TECHNO_I_TX15693CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 03, 20, 16, 00 RF_CLIF_CFG_TECHNO_I_TX15693CLIF_TX_UNDERSHOOT_CONFIG_REG
# A0, 0D, 03, 20, 15, 00 RF_CLIF_CFG_TECHNO_I_TX15693CLIF_TX_OVERSHOOT_CONFIG_REG
# A0, 0D, 06, 22, 44, 22, 00, 02, 00 RF_CLIF_CFG_TECHNO_I_RX15693CLIF_ANA_RX_REG
# A0, 0D, 06, 22, 2D, 50, 44, 0C, 00 RF_CLIF_CFG_TECHNO_I_RX15693CLIF_SIGPRO_RM_CONFIG1_REG
# A0, 0D, 04, 32, 03, 40, 3D RF_CLIF_CFG_BR_106_I_TXA CLIF_TRANSCEIVE_CONTROL_REG
# A0, 0D, 06, 32, 42, F8, 10, FF, FF RF_CLIF_CFG_BR_106_I_TXA CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 03, 32, 16, 00 RF_CLIF_CFG_BR_106_I_TXA CLIF_TX_UNDERSHOOT_CONFIG_REG
# A0, 0D, 03, 32, 15, 01 RF_CLIF_CFG_BR_106_I_TXA CLIF_TX_OVERSHOOT_CONFIG_REG
# A0, 0D, 03, 32, 0D, 22 RF_CLIF_CFG_BR_106_I_TXA CLIF_TX_DATA_MOD_REG
# A0, 0D, 03, 32, 14, 22 RF_CLIF_CFG_BR_106_I_TXA CLIF_TX_SYMBOL23_MOD_REG
# A0, 0D, 06, 32, 4A, 30, 07, 01, 1F RF_CLIF_CFG_BR_106_I_TXA CLIF_ANA_TX_SHAPE_CONTROL_REG
# A0, 0D, 06, 34, 2D, 24, 77, 0C, 00 RF_CLIF_CFG_BR_106_I_RXA_P CLIF_SIGPRO_RM_CONFIG1_REG
# A0, 0D, 06, 34, 34, 00, 00, E4, 03 RF_CLIF_CFG_BR_106_I_RXA_P CLIF_AGC_CONFIG1_REG
# A0, 0D, 06, 34, 44, 21, 00, 02, 00 RF_CLIF_CFG_BR_106_I_RXA_P CLIF_ANA_RX_REG
# A0, 0D, 06, 35, 44, 21, 00, 02, 00 RF_CLIF_CFG_BR_106_I_RXA_P CLIF_ANA_RX_REG
# A0, 0D, 06, 38, 4A, 53, 07, 01, 1B RF_CLIF_CFG_BR_212_I_TXA CLIF_ANA_TX_SHAPE_CONTROL_REG
# A0, 0D, 06, 38, 42, 68, 10, FF, FF RF_CLIF_CFG_BR_212_I_TXA CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 03, 38, 16, 00 RF_CLIF_CFG_BR_212_I_TXA CLIF_TX_UNDERSHOOT_CONFIG_REG
# A0, 0D, 03, 38, 15, 00 RF_CLIF_CFG_BR_212_I_TXA CLIF_TX_OVERSHOOT_CONFIG_REG
# A0, 0D, 06, 3A, 2D, 15, 47, 0D, 00 RF_CLIF_CFG_BR_212_I_RXA CLIF_SIGPRO_RM_CONFIG1_REG
# A0, 0D, 06, 3C, 4A, 52, 07, 01, 1B RF_CLIF_CFG_BR_424_I_TXA CLIF_ANA_TX_SHAPE_CONTROL_REG
# A0, 0D, 06, 3C, 42, 68, 10, FF, FF RF_CLIF_CFG_BR_424_I_TXA CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 03, 3C, 16, 00 RF_CLIF_CFG_BR_424_I_TXA CLIF_TX_UNDERSHOOT_CONFIG_REG
# A0, 0D, 03, 3C, 15, 00 RF_CLIF_CFG_BR_424_I_TXA CLIF_TX_OVERSHOOT_CONFIG_REG
# A0, 0D, 06, 3E, 2D, 15, 47, 0D, 00 RF_CLIF_CFG_BR_424_I_RXA CLIF_SIGPRO_RM_CONFIG1_REG
# A0, 0D, 06, 40, 42, F0, 10, FF, FF RF_CLIF_CFG_BR_848_I_TXA CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 03, 40, 0D, 02 RF_CLIF_CFG_BR_848_I_TXA CLIF_TX_DATA_MOD_REG
# A0, 0D, 03, 40, 14, 02 RF_CLIF_CFG_BR_848_I_TXA CLIF_TX_SYMBOL23_MOD_REG
# A0, 0D, 06, 40, 4A, 12, 07, 00, 00 RF_CLIF_CFG_BR_848_I_TXA CLIF_ANA_TX_SHAPE_CONTROL_REG
# A0, 0D, 03, 40, 16, 00 RF_CLIF_CFG_BR_848_I_TXA CLIF_TX_UNDERSHOOT_CONFIG_REG
# A0, 0D, 03, 40, 15, 00 RF_CLIF_CFG_BR_848_I_TXA CLIF_TX_OVERSHOOT_CONFIG_REG
# A0, 0D, 06, 42, 2D, 15, 47, 0D, 00 RF_CLIF_CFG_BR_848_I_RXA CLIF_SIGPRO_RM_CONFIG1_REG
# A0, 0D, 06, 46, 44, 21, 00, 02, 00 RF_CLIF_CFG_BR_106_I_RXB CLIF_ANA_RX_REG
# A0, 0D, 06, 46, 2D, 05, 47, 0E, 00 RF_CLIF_CFG_BR_106_I_RXB CLIF_SIGPRO_RM_CONFIG1_REG
# A0, 0D, 06, 44, 4A, 33, 07, 01, 07 RF_CLIF_CFG_BR_106_I_TXB CLIF_ANA_TX_SHAPE_CONTROL_REG
# A0, 0D, 06, 44, 42, 88, 10, FF, FF RF_CLIF_CFG_BR_106_I_TXB CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 03, 44, 16, 00 RF_CLIF_CFG_BR_106_I_TXB CLIF_TX_UNDERSHOOT_CONFIG_REG
# A0, 0D, 03, 44, 15, 00 RF_CLIF_CFG_BR_106_I_TXB CLIF_TX_OVERSHOOT_CONFIG_REG
# A0, 0D, 06, 4A, 44, 22, 00, 02, 00 RF_CLIF_CFG_BR_212_I_RXB CLIF_ANA_RX_REG
# A0, 0D, 06, 4A, 2D, 05, 37, 0C, 00 RF_CLIF_CFG_BR_212_I_RXB CLIF_SIGPRO_RM_CONFIG1_REG
# A0, 0D, 06, 48, 4A, 33, 07, 01, 07 RF_CLIF_CFG_BR_212_I_TXB CLIF_ANA_TX_SHAPE_CONTROL_REG
# A0, 0D, 06, 48, 42, 88, 10, FF, FF RF_CLIF_CFG_BR_212_I_TXB CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 03, 48, 16, 00 RF_CLIF_CFG_BR_212_I_TXB CLIF_TX_UNDERSHOOT_CONFIG_REG
# A0, 0D, 03, 48, 15, 00 RF_CLIF_CFG_BR_212_I_TXB CLIF_TX_OVERSHOOT_CONFIG_REG
# A0, 0D, 06, 4E, 44, 22, 00, 02, 00 RF_CLIF_CFG_BR_424_I_RXB CLIF_ANA_RX_REG
# A0, 0D, 06, 4E, 2D, 05, 37, 0C, 00 RF_CLIF_CFG_BR_424_I_RXB CLIF_SIGPRO_RM_CONFIG1_REG
# A0, 0D, 06, 4C, 4A, 33, 07, 01, 07 RF_CLIF_CFG_BR_424_I_TXB CLIF_ANA_TX_SHAPE_CONTROL_REG
# A0, 0D, 06, 4C, 42, 88, 10, FF, FF RF_CLIF_CFG_BR_424_I_TXB CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 03, 4C, 16, 00 RF_CLIF_CFG_BR_424_I_TXB CLIF_TX_UNDERSHOOT_CONFIG_REG
# A0, 0D, 03, 4C, 15, 00 RF_CLIF_CFG_BR_424_I_TXB CLIF_TX_OVERSHOOT_CONFIG_REG
# A0, 0D, 06, 52, 44, 22, 00, 02, 00 RF_CLIF_CFG_BR_848_I_RXB CLIF_ANA_RX_REG
# A0, 0D, 06, 52, 2D, 05, 25, 0C, 00 RF_CLIF_CFG_BR_848_I_RXB CLIF_SIGPRO_RM_CONFIG1_REG
# A0, 0D, 06, 50, 42, 90, 10, FF, FF RF_CLIF_CFG_BR_848_I_TXB CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 06, 50, 4A, 11, 0F, 01, 07 RF_CLIF_CFG_BR_848_I_TXB CLIF_ANA_TX_SHAPE_CONTROL_REG
# A0, 0D, 03, 50, 16, 00 RF_CLIF_CFG_BR_848_I_TXB CLIF_TX_UNDERSHOOT_CONFIG_REG
# A0, 0D, 03, 50, 15, 00 RF_CLIF_CFG_BR_848_I_TXB CLIF_TX_OVERSHOOT_CONFIG_REG
# A0, 0D, 06, 56, 2D, 05, 9E, 0C, 00 RF_CLIF_CFG_BR_212_I_RXF_P CLIF_SIGPRO_RM_CONFIG1_REG
# A0, 0D, 06, 56, 44, 22, 00, 02, 00 RF_CLIF_CFG_BR_212_I_RXF_P CLIF_ANA_RX_REG
# A0, 0D, 06, 5C, 2D, 05, 69, 0C, 00 RF_CLIF_CFG_BR_424_I_RXF_P CLIF_SIGPRO_RM_CONFIG1_REG
# A0, 0D, 06, 5C, 44, 21, 00, 02, 00 RF_CLIF_CFG_BR_424_I_RXF_P CLIF_ANA_RX_REG
# A0, 0D, 06, 54, 42, 88, 10, FF, FF RF_CLIF_CFG_BR_212_I_TXF CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 06, 54, 4A, 33, 07, 01, 07 RF_CLIF_CFG_BR_212_I_TXF CLIF_ANA_TX_SHAPE_CONTROL_REG
# A0, 0D, 03, 54, 16, 00 RF_CLIF_CFG_BR_212_I_TXF CLIF_TX_UNDERSHOOT_CONFIG_REG
# A0, 0D, 03, 54, 15, 00 RF_CLIF_CFG_BR_212_I_TXF CLIF_TX_OVERSHOOT_CONFIG_REG
# A0, 0D, 06, 5A, 42, 90, 10, FF, FF RF_CLIF_CFG_BR_424_I_TXF CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 06, 5A, 4A, 31, 07, 01, 07 RF_CLIF_CFG_BR_424_I_TXF CLIF_ANA_TX_SHAPE_CONTROL_REG
# A0, 0D, 03, 5A, 16, 00 RF_CLIF_CFG_BR_424_I_TXF CLIF_TX_UNDERSHOOT_CONFIG_REG
# A0, 0D, 03, 5A, 15, 00 RF_CLIF_CFG_BR_424_I_TXF CLIF_TX_OVERSHOOT_CONFIG_REG
# A0, 0D, 06, 98, 2F, AF, 05, 80, 0F RF_CLIF_GTM_B CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 9A, 42, 00, 00, FF, FF RF_CLIF_GTM_FELICA CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 06, 30, 44, A3, 90, 03, 00 RF_CLIF_CFG_TECHNO_T_RXF CLIF_ANA_RX_REG
# A0, 0D, 06, 6C, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_106_T_RXA CLIF_ANA_RX_REG
# A0, 0D, 06, 6C, 30, CF, 00, 08, 00 RF_CLIF_CFG_BR_106_T_RXA CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
# A0, 0D, 06, 6C, 2F, 8F, 05, 80, 0C RF_CLIF_CFG_BR_106_T_RXA CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 70, 2F, 8F, 05, 80, 12 RF_CLIF_CFG_BR_212_T_RXA CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 70, 30, CF, 00, 08, 00 RF_CLIF_CFG_BR_212_T_RXA CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
# A0, 0D, 06, 74, 2F, 8F, 05, 80, 12 RF_CLIF_CFG_BR_424_T_RXA CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 74, 30, DF, 00, 07, 00 RF_CLIF_CFG_BR_424_T_RXA CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
# A0, 0D, 06, 78, 2F, 1F, 06, 80, 01 RF_CLIF_CFG_BR_848_T_RXA CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 78, 30, 3F, 00, 04, 00 RF_CLIF_CFG_BR_848_T_RXA CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
# A0, 0D, 06, 78, 44, A2, 90, 03, 00 RF_CLIF_CFG_BR_848_T_RXA CLIF_ANA_RX_REG
# A0, 0D, 03, 78, 47, 00 RF_CLIF_CFG_BR_848_T_RXA CLIF_ANA_AGC_REG
# A0, 0D, 06, 7C, 2F, AF, 05, 80, 0F RF_CLIF_CFG_BR_106_T_RXB CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 7C, 30, CF, 00, 07, 00 RF_CLIF_CFG_BR_106_T_RXB CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
# A0, 0D, 06, 7C, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_106_T_RXB CLIF_ANA_RX_REG
# A0, 0D, 06, 7D, 30, CF, 00, 08, 00 RF_CLIF_CFG_BR_106_T_RXB CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
# A0, 0D, 06, 80, 2F, AF, 05, 80, 90 RF_CLIF_CFG_BR_212_T_RXB CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 80, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_212_T_RXB CLIF_ANA_RX_REG
# A0, 0D, 06, 84, 2F, AF, 05, 80, 92 RF_CLIF_CFG_BR_424_T_RXB CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 84, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_424_T_RXB CLIF_ANA_RX_REG
# A0, 0D, 06, 88, 2F, 7F, 04, 80, 10 RF_CLIF_CFG_BR_848_T_RXB CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 88, 30, 5F, 00, 16, 00 RF_CLIF_CFG_BR_848_T_RXB CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
# A0, 0D, 03, 88, 47, 00 RF_CLIF_CFG_BR_848_T_RXB CLIF_ANA_AGC_REG
# A0, 0D, 06, 88, 44, A1, 90, 03, 00 RF_CLIF_CFG_BR_848_T_RXB CLIF_ANA_RX_REG
# A0, 0D, 03, 0C, 48, 1F RF_CLIF_CFG_T_PASSIVE CLIF_ANA_CLK_MAN_REG
# A0, 0D, 03, 10, 43, 20 RF_CLIF_CFG_T_ACTIVE CLIF_ANA_PBF_CONTROL_REG
# A0, 0D, 06, 6A, 42, F8, 10, FF, FF RF_CLIF_CFG_BR_106_T_TXA_A CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 03, 6A, 16, 00 RF_CLIF_CFG_BR_106_T_TXA_A CLIF_TX_UNDERSHOOT_CONFIG_REG
# A0, 0D, 03, 6A, 15, 01 RF_CLIF_CFG_BR_106_T_TXA_A CLIF_TX_OVERSHOOT_CONFIG_REG
# A0, 0D, 06, 6A, 4A, 30, 0F, 01, 1F RF_CLIF_CFG_BR_106_T_TXA_A CLIF_ANA_TX_SHAPE_CONTROL_REG
# A0, 0D, 06, 8C, 42, 88, 10, FF, FF RF_CLIF_CFG_BR_212_T_TXF_A CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 06, 8C, 4A, 33, 07, 01, 07 RF_CLIF_CFG_BR_212_T_TXF_A CLIF_ANA_TX_SHAPE_CONTROL_REG
# A0, 0D, 03, 8C, 16, 00 RF_CLIF_CFG_BR_212_T_TXF_A CLIF_TX_UNDERSHOOT_CONFIG_REG
# A0, 0D, 03, 8C, 15, 00 RF_CLIF_CFG_BR_212_T_TXF_A CLIF_TX_OVERSHOOT_CONFIG_REG
# A0, 0D, 06, 92, 42, 90, 10, FF, FF RF_CLIF_CFG_BR_424_T_TXF_A CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 06, 92, 4A, 31, 07, 01, 07 RF_CLIF_CFG_BR_424_T_TXF_A CLIF_ANA_TX_SHAPE_CONTROL_REG
# A0, 0D, 03, 92, 16, 00 RF_CLIF_CFG_BR_424_T_TXF_A CLIF_TX_UNDERSHOOT_CONFIG_REG
# A0, 0D, 03, 92, 15, 00 RF_CLIF_CFG_BR_424_T_TXF_A CLIF_TX_OVERSHOOT_CONFIG_REG
# A0, 0D, 06, 0A, 30, CF, 00, 08, 00 RF_CLIF_CFG_I_ACTIVE CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
# A0, 0D, 06, 0A, 2F, 8F, 05, 80, 0C RF_CLIF_CFG_I_ACTIVE CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 03, 0A, 48, 10 RF_CLIF_CFG_I_ACTIVE CLIF_ANA_CLK_MAN_REG
# A0, 0D, 06, 0A, 44, A3, 90, 03, 00 RF_CLIF_CFG_I_ACTIVE CLIF_ANA_RX_REG
# *** ALM(NO BOOSTER) FW VERSION = 08.01.25 ***
NXP_RF_CONF_BLK_1={
20, 02, F3, 20,
A0, 0D, 03, 00, 40, 04,
A0, 0D, 03, 04, 43, 20,
A0, 0D, 03, 04, FF, 05,
A0, 0D, 06, 06, 44, A3, 90, 03, 00,
A0, 0D, 06, 06, 30, CF, 00, 08, 00,
A0, 0D, 06, 06, 2F, 8F, 05, 80, 0C,
A0, 0D, 04, 06, 03, 00, 71,
A0, 0D, 03, 06, 48, 1F,
A0, 0D, 03, 06, 43, A0,
A0, 0D, 06, 06, 42, 00, 02, FF, F1,
A0, 0D, 06, 06, 41, 80, 00, 00, 00,
A0, 0D, 03, 06, 37, 18,
A0, 0D, 03, 06, 16, 00,
A0, 0D, 03, 06, 15, 00,
A0, 0D, 06, 06, FF, 05, 00, 00, 00,
A0, 0D, 06, 08, 44, 00, 00, 00, 00,
A0, 0D, 06, 20, 4A, 00, 00, 00, 00,
A0, 0D, 06, 20, 42, 88, 10, FF, FF,
A0, 0D, 03, 20, 16, 00,
A0, 0D, 03, 20, 15, 00,
A0, 0D, 06, 22, 44, 22, 00, 02, 00,
A0, 0D, 06, 22, 2D, 50, 44, 0C, 00,
A0, 0D, 04, 32, 03, 40, 3D,
A0, 0D, 06, 32, 42, F8, 10, FF, FF,
A0, 0D, 03, 32, 16, 00,
A0, 0D, 03, 32, 15, 01,
A0, 0D, 03, 32, 0D, 22,
A0, 0D, 03, 32, 14, 22,
A0, 0D, 06, 32, 4A, 30, 07, 01, 1F,
A0, 0D, 06, 34, 2D, 24, 77, 0C, 00,
A0, 0D, 06, 34, 34, 00, 00, E4, 03,
A0, 0D, 06, 34, 44, 2D, 00, 02, 00
}
# *** ALM(NO BOOSTER) FW VERSION = 08.01.25 ***
NXP_RF_CONF_BLK_2={
20, 02, F4, 1F,
A0, 0D, 06, 35, 44, 21, 00, 02, 00,
A0, 0D, 06, 38, 4A, 53, 07, 01, 1B,
A0, 0D, 06, 38, 42, 68, 10, FF, FF,
A0, 0D, 03, 38, 16, 00,
A0, 0D, 03, 38, 15, 00,
A0, 0D, 06, 3A, 2D, 15, 47, 0D, 00,
A0, 0D, 06, 3C, 4A, 52, 07, 01, 1B,
A0, 0D, 06, 3C, 42, 68, 10, FF, FF,
A0, 0D, 03, 3C, 16, 00,
A0, 0D, 03, 3C, 15, 00,
A0, 0D, 06, 3E, 2D, 15, 47, 0D, 00,
A0, 0D, 06, 40, 42, F0, 10, FF, FF,
A0, 0D, 03, 40, 0D, 02,
A0, 0D, 03, 40, 14, 02,
A0, 0D, 06, 40, 4A, 12, 07, 00, 00,
A0, 0D, 03, 40, 16, 00,
A0, 0D, 03, 40, 15, 00,
A0, 0D, 06, 42, 2D, 15, 47, 0D, 00,
A0, 0D, 06, 46, 44, 21, 00, 02, 00,
A0, 0D, 06, 46, 2D, 05, 47, 0E, 00,
A0, 0D, 06, 44, 4A, 33, 07, 01, 07,
A0, 0D, 06, 44, 42, 88, 10, FF, FF,
A0, 0D, 03, 44, 16, 00,
A0, 0D, 03, 44, 15, 00,
A0, 0D, 06, 4A, 44, 22, 00, 02, 00,
A0, 0D, 06, 4A, 2D, 05, 37, 0C, 00,
A0, 0D, 06, 48, 4A, 33, 07, 01, 07,
A0, 0D, 06, 48, 42, 88, 10, FF, FF,
A0, 0D, 03, 48, 16, 00,
A0, 0D, 03, 48, 15, 00,
A0, 0D, 06, 4E, 44, 22, 00, 02, 00
}
# *** ALM(NO BOOSTER) FW VERSION = 08.01.25 ***
NXP_RF_CONF_BLK_3={
20, 02, F7, 1E,
A0, 0D, 06, 4E, 2D, 05, 37, 0C, 00,
A0, 0D, 06, 4C, 4A, 33, 07, 01, 07,
A0, 0D, 06, 4C, 42, 88, 10, FF, FF,
A0, 0D, 03, 4C, 16, 00,
A0, 0D, 03, 4C, 15, 00,
A0, 0D, 06, 52, 44, 22, 00, 02, 00,
A0, 0D, 06, 52, 2D, 05, 25, 0C, 00,
A0, 0D, 06, 50, 42, 90, 10, FF, FF,
A0, 0D, 06, 50, 4A, 11, 0F, 01, 07,
A0, 0D, 03, 50, 16, 00,
A0, 0D, 03, 50, 15, 00,
A0, 0D, 06, 56, 2D, 05, 9E, 0C, 00,
A0, 0D, 06, 56, 44, 22, 00, 02, 00,
A0, 0D, 06, 5C, 2D, 05, 69, 0C, 00,
A0, 0D, 06, 5C, 44, 21, 00, 02, 00,
A0, 0D, 06, 54, 42, 88, 10, FF, FF,
A0, 0D, 06, 54, 4A, 33, 07, 01, 07,
A0, 0D, 03, 54, 16, 00,
A0, 0D, 03, 54, 15, 00,
A0, 0D, 06, 5A, 42, 90, 10, FF, FF,
A0, 0D, 06, 5A, 4A, 31, 07, 01, 07,
A0, 0D, 03, 5A, 16, 00,
A0, 0D, 03, 5A, 15, 00,
A0, 0D, 06, 98, 2F, AF, 05, 80, 0F,
A0, 0D, 06, 9A, 42, 00, 02, FF, F1,
A0, 0D, 06, 30, 44, A3, 90, 03, 00,
A0, 0D, 06, 6C, 44, A3, 90, 03, 00,
A0, 0D, 06, 6C, 30, CF, 00, 08, 00,
A0, 0D, 06, 6C, 2F, 8F, 05, 80, 0C,
A0, 0D, 06, 70, 2F, 8F, 05, 80, 12
}
# *** ALM(NO BOOSTER) FW VERSION = 08.01.25 ***
NXP_RF_CONF_BLK_4={
20, 02, F7, 1E,
A0, 0D, 06, 70, 30, CF, 00, 08, 00,
A0, 0D, 06, 74, 2F, 8F, 05, 80, 12,
A0, 0D, 06, 74, 30, DF, 00, 07, 00,
A0, 0D, 06, 78, 2F, 1F, 06, 80, 01,
A0, 0D, 06, 78, 30, 3F, 00, 04, 00,
A0, 0D, 06, 78, 44, A2, 90, 03, 00,
A0, 0D, 03, 78, 47, 00,
A0, 0D, 06, 7C, 2F, AF, 05, 80, 0F,
A0, 0D, 06, 7C, 30, CF, 00, 07, 00,
A0, 0D, 06, 7C, 44, A3, 90, 03, 00,
A0, 0D, 06, 7D, 30, CF, 00, 08, 00,
A0, 0D, 06, 80, 2F, AF, 05, 80, 90,
A0, 0D, 06, 80, 44, A3, 90, 03, 00,
A0, 0D, 06, 84, 2F, AF, 05, 80, 92,
A0, 0D, 06, 84, 44, A3, 90, 03, 00,
A0, 0D, 06, 88, 2F, 7F, 04, 80, 10,
A0, 0D, 06, 88, 30, 5F, 00, 16, 00,
A0, 0D, 03, 88, 47, 00,
A0, 0D, 06, 88, 44, A1, 90, 03, 00,
A0, 0D, 03, 0C, 48, 1F,
A0, 0D, 03, 10, 43, 20,
A0, 0D, 06, 6A, 42, F8, 10, FF, FF,
A0, 0D, 03, 6A, 16, 00,
A0, 0D, 03, 6A, 15, 01,
A0, 0D, 06, 6A, 4A, 30, 0F, 01, 1F,
A0, 0D, 06, 8C, 42, 88, 10, FF, FF,
A0, 0D, 06, 8C, 4A, 33, 07, 01, 07,
A0, 0D, 03, 8C, 16, 00,
A0, 0D, 03, 8C, 15, 00,
A0, 0D, 06, 92, 42, 90, 10, FF, FF
}
# *** ALM(NO BOOSTER) FW VERSION = 08.01.25 ***
NXP_RF_CONF_BLK_5={
20, 02, 37, 07,
A0, 0D, 06, 92, 4A, 31, 07, 01, 07,
A0, 0D, 03, 92, 16, 00,
A0, 0D, 03, 92, 15, 00,
A0, 0D, 06, 0A, 30, CF, 00, 08, 00,
A0, 0D, 06, 0A, 2F, 8F, 05, 80, 0C,
A0, 0D, 03, 0A, 48, 10,
A0, 0D, 06, 0A, 44, A3, 90, 03, 00
}
# *** ALM(NO BOOSTER) FW VERSION = 08.01.25 ***
NXP_RF_CONF_BLK_6={
}
###############################################################################
# Core configuration extensions
# It includes
# A002 - Clock Request
# 0x00 - Disabled
# 0x01 - Enabled
# A003 - Clock Selection
# Please refer to User Manual
# A004 - Clock Time Out
# Defined in ms
# A00E - Load Modulation Mode
# 0x00 - PLM
# 0x01 - ALM
# A011 - Clock specific configuration
# A012 - NFCEE interface 2 configuration
# 0x00 - SWP
# 0x02 - DWP
# Please refer to User Manual
# A013 - TVdd configuration
# 0x00 - TVdd is set to 3.1V in Poll mode
# 0x02 - TVdd is set to 2.7V in Poll mode
# A040-A043 - Ultra Low Power Tag Detector
# Please refer to Application Note of ULPTD
# A05E - Jewel Reader
# Please refer to User Manual
# A061 - Retry after LPCD
# 0b0000XXXX - Number of retry if activation failed
# 0bXXXX0000 - Duration to wait before retry (10ms per step)
# A0CD - SWP S1 line behavior
# Defined S1 High time out during Activation sequence
# A0EC - SWP1 interface
# 0x00 - Disabled
# 0x01 - Enabled
# A0ED - SWP2 interface
# 0x00 - Disabled
# 0x01 - Enabled
NXP_CORE_CONF_EXTN={20, 02, 4D, 12,
A0, 02, 01, 01,
A0, 03, 01, 11,
A0, 04, 01, 02,
A0, 07, 01, 03,
A0, 0E, 01, 01,
A0, 11, 04, CD, 67, 22, 01,
A0, 12, 01, 00,
A0, 13, 01, 00,
A0, 40, 01, 01,
A0, 41, 01, 02,
A0, 42, 01, 19,
A0, 43, 01, 50,
A0, 47, 02, 88, 43,
A0, 5E, 01, 01,
A0, 61, 01, 2A,
A0, CD, 01, 1F,
A0, EC, 01, 01,
A0, ED, 01, 00
}
###############################################################################
# Core configuration RF Field notification filter
# 0x00 - Disabled
# 0x01 - Enabled
NXP_CORE_RF_FIELD={20, 02, 05, 01, A0, 62, 01, 01}
###############################################################################
# I2C fragmentation
# 0x00 - Disabled
# 0x01 - Enabled
NXP_I2C_FRAGMENTATION_ENABLED=0x00
###############################################################################
# Core configuration settings
# It includes
# 18 - Poll Mode NFC-F: PF_BIT_RATE
# 21 - Poll Mode ISO-DEP: PI_BIT_RATE
# 28 - Poll Mode NFC-DEP: PN_NFC_DEP_SPEED
# 30 - Lis. Mode NFC-A: LA_BIT_FRAME_SDD
# 31 - Lis. Mode NFC-A: LA_PLATFORM_CONFIG
# 33 - Lis. Mode NFC-A: LA_SEL_INFO
# 50 - Lis. Mode NFC-F: LF_PROTOCOL_TYPE
# 54 - Lis. Mode NFC-F: LF_CON_BITR_F
# 5B - Lis. Mode ISO-DEP: LI_BIT_RATE
# 60 - Lis. Mode NFC-DEP: LN_WT
# 80 - Other Param.: RF_FIELD_INFO
# 81 - Other Param.: RF_NFCEE_ACTION
# 82 - Other Param.: NFCDEP_OP
NXP_CORE_CONF={ 20, 02, 2B, 0D,
18, 01, 01,
21, 01, 00,
28, 01, 00,
30, 01, 08,
31, 01, 03,
33, 04, 01, 02, 03, 04,
50, 01, 02,
54, 01, 06,
5B, 01, 00,
60, 01, 0E,
80, 01, 01,
81, 01, 01,
82, 01, 0E
}
###############################################################################
# Core configuration extensions for firmware download mode
# Clock setting A003 (0x08:XTAL, 0x11:PLL(19.2MHz))
NXP_CORE_CONF_EXTN_CLK={20, 02, 05, 01, A0, 03, 01, 11}
###############################################################################
# Mifare Classic Key settings
#NXP_CORE_MFCKEY_SETTING={20, 02, 25,04, A0, 51, 06, A0, A1, A2, A3, A4, A5,
# A0, 52, 06, D3, F7, D3, F7, D3, F7,
# A0, 53, 06, FF, FF, FF, FF, FF, FF,
# A0, 54, 06, 00, 00, 00, 00, 00, 00}
###############################################################################
# Default SE Options
# No secure element 0x00
# eSE 0x01
# UICC 0x02
# Multi SE 0x03
NXP_DEFAULT_SE=0x02
###############################################################################
NXP_DEFAULT_NFCEE_TIMEOUT=0x06
###############################################################################
#Enable SWP full power mode when phone is power off
NXP_SWP_FULL_PWR_ON=0x01
###############################################################################
# Set the default AID route Location :
# This settings will be used when application does not set this parameter
# Host 0x00
# eSE 0x01
# UICC 0x02
DEFAULT_AID_ROUTE=0x00
###############################################################################
# Set the Mifare Desfire route Location :
# This settings will be used when application does not set this parameter
# Host 0x00
# eSE 0x01
# UICC 0x02
DEFAULT_DESFIRE_ROUTE=0x02
###############################################################################
# Set the Mifare CLT route Location :
# This settings will be used when application does not set this parameter
# Host 0x00
# eSE 0x01
# UICC 0x02
DEFAULT_MIFARE_CLT_ROUTE=0x02
###############################################################################
#Chip type
#PN547C2 0x01
#PN65T 0x02
NXP_NFC_CHIP=0x01
###############################################################################
#SWP Reader feature
#Timeout in seconds
NXP_SWP_RD_START_TIMEOUT=0x0A
#Timeout in seconds
NXP_SWP_RD_TAG_OP_TIMEOUT=0x01
###############################################################################
# CE when Screen state is locked
# Disable 0x00
# Enable 0x01
NXP_CE_ROUTE_STRICT_DISABLE=0x01
###############################################################################
# AID Matching platform options
# AID_MATCHING_L 0x01
# AID_MATCHING_K 0x02
AID_MATCHING_PLATFORM=0x01

1654
configs/netmgr_config.xml Normal file

File diff suppressed because it is too large Load Diff

720
configs/qmi_config.xml Normal file
View File

@ -0,0 +1,720 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
QMI Module configuration XML file
Copyright (c) 2013-2015 Qualcomm Technologies, Inc. All Rights Reserved.
Qualcomm Technologies Proprietary and Confidential.
-->
<!-- QMI configuration -->
<list name="qmi_config">
<!-- Fusion4.5 (PCIe) parameters -->
<listitem name = "fusion4_5_pcie">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_MHI_0 </data>
<data type="string"> QMI_PORT_RMNET_MHI_1 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_MHI_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_MHI_1 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/mhi_pipe_14 </data>
<data type="string"> /dev/mhi_pipe_16 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/mhi_pipe_14 </data>
<data type="string"> /tmp/data/mhi_pipe_16 </data>
</list>
<list name="ch_name">
<data type="string"> MHICTL0 </data>
<data type="string"> MHICTL1 </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_MHI </data>
<data type="string"> LINUX_QMI_TRANSPORT_MHI </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- Fusion 8084 + 9x45 parameters-->
<listitem name = "fusion_8084_9x45_pcie">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_MHI_0 </data>
<data type="string"> QMI_PORT_RMNET_MHI_1 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_MHI_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_MHI_1 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/mhi_pipe_14 </data>
<data type="string"> /dev/mhi_pipe_16 </data>
</list>
<list name="ch_name">
<data type="string"> MHICTL0 </data>
<data type="string"> MHICTL1 </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_MHI </data>
<data type="string"> LINUX_QMI_TRANSPORT_MHI </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8994 parameters -->
<listitem name = "msm8994">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 1 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_IPA_0 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA14_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
</list>
</listitem>
<!-- MDM9X40/MDM9X45 (Tesla) parameters -->
<listitem name = "tesla">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_BAM </data>
<data type="string"> LINUX_QMI_TRANSPORT_BAM </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8992 parameters -->
<listitem name = "msm8992">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8952/MSM8956 parameters -->
<listitem name = "tabasco">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8996 parameters -->
<listitem name = "msm8996">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 0 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8937 parameters -->
<listitem name = "feero">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 0 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8940 parameters -->
<listitem name = "feero6">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 0 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8920 parameters -->
<listitem name = "feerolite6">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 0 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8976 parameters -->
<listitem name = "Eldarion">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8953 parameters -->
<listitem name = "jacala">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 0 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MDM9X50/MDM9X55 (Atlas) parameters -->
<listitem name = "atlas">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 0 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_BAM </data>
<data type="string"> LINUX_QMI_TRANSPORT_BAM </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- Fusion 8096 + 9x55 parameters-->
<listitem name = "fusion_8096_9x55_pcie">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_MHI_0 </data>
<data type="string"> QMI_PORT_RMNET_MHI_1 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_MHI_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_MHI_1 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/mhi_pipe_14 </data>
<data type="string"> /dev/mhi_pipe_16 </data>
</list>
<list name="ch_name">
<data type="string"> MHICTL0 </data>
<data type="string"> MHICTL1 </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_MHI </data>
<data type="string"> LINUX_QMI_TRANSPORT_MHI </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- Cobalt parameters -->
<listitem name = "cobalt">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 1 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 0 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 0 </data>
</list>
</listitem>
</list>

319
configs/sec_config Normal file
View File

@ -0,0 +1,319 @@
/* IPC Security Config */
/* <GPS QMI Service ID - 16>:<GPS QMI Instance ID - all instances>:<Client Group ID> */
16:4294967295:1000:3004
/* <LOWI QMI Service ID - 38>:<LOWI QMI Instance ID - all instances>:<Client Group ID> */
56:4294967295:1021:3004
/* Allow SS CTL service to be used by system and net_raw processes */
43:4294967295:1000:3004
/* <UIMHTTP QMI Service ID - 16>:<UIMHTTP QMI Instance ID - all instances>:<Client Group ID> */
71:4294967295:1001
/* <UIMRMT QMI Service ID - 16>:<UIMRMT QMI Instance ID - all instances>:<Client Group ID> */
50:4294967295:1001
/* QMI-SLIM service permitted to gps and net_raw */
55:4294967295:1021:3004
/* Allow Sensor services to be used by sensor process */
256:4294967295:3011
257:4294967295:3011
258:4294967295:3011
259:4294967295:3011
260:4294967295:3011
261:4294967295:3011
262:4294967295:3011
263:4294967295:3011
264:4294967295:3011
265:4294967295:3011
266:4294967295:3011
267:4294967295:3011
268:4294967295:3011
269:4294967295:3011
270:4294967295:3011
271:4294967295:3011
272:4294967295:3011
273:4294967295:3011
274:4294967295:3011
275:4294967295:3011
276:4294967295:3011
277:4294967295:3011
278:4294967295:3011
279:4294967295:3011
280:4294967295:3011
281:4294967295:3011
282:4294967295:3011
283:4294967295:3011
284:4294967295:3011
285:4294967295:3011
286:4294967295:3011
287:4294967295:3011
288:4294967295:3011
289:4294967295:3011
290:4294967295:3011
291:4294967295:3011
292:4294967295:3011
293:4294967295:3011
294:4294967295:3011
295:4294967295:3011
296:4294967295:3011
297:4294967295:3011
298:4294967295:3011
299:4294967295:3011
300:4294967295:3011
301:4294967295:3011
302:4294967295:3011
303:4294967295:3011
304:4294967295:3011
305:4294967295:3011
306:4294967295:3011
307:4294967295:3011
308:4294967295:3011
309:4294967295:3011
310:4294967295:3011
311:4294967295:3011
312:4294967295:3011
313:4294967295:3011
314:4294967295:3011
315:4294967295:3011
316:4294967295:3011
317:4294967295:3011
318:4294967295:3011
319:4294967295:3011
320:4294967295:3011
321:4294967295:3011
322:4294967295:3011
323:4294967295:3011
324:4294967295:3011
325:4294967295:3011
326:4294967295:3011
327:4294967295:3011
328:4294967295:3011
329:4294967295:3011
330:4294967295:3011
331:4294967295:3011
332:4294967295:3011
333:4294967295:3011
334:4294967295:3011
335:4294967295:3011
336:4294967295:3011
337:4294967295:3011
338:4294967295:3011
339:4294967295:3011
340:4294967295:3011
341:4294967295:3011
342:4294967295:3011
343:4294967295:3011
344:4294967295:3011
345:4294967295:3011
346:4294967295:3011
347:4294967295:3011
348:4294967295:3011
349:4294967295:3011
350:4294967295:3011
351:4294967295:3011
352:4294967295:3011
353:4294967295:3011
354:4294967295:3011
355:4294967295:3011
356:4294967295:3011
357:4294967295:3011
358:4294967295:3011
359:4294967295:3011
360:4294967295:3011
361:4294967295:3011
362:4294967295:3011
363:4294967295:3011
364:4294967295:3011
365:4294967295:3011
366:4294967295:3011
367:4294967295:3011
368:4294967295:3011
369:4294967295:3011
370:4294967295:3011
371:4294967295:3011
372:4294967295:3011
373:4294967295:3011
374:4294967295:3011
375:4294967295:3011
376:4294967295:3011
377:4294967295:3011
378:4294967295:3011
379:4294967295:3011
380:4294967295:3011
381:4294967295:3011
382:4294967295:3011
383:4294967295:3011
384:4294967295:3011
385:4294967295:3011
386:4294967295:3011
387:4294967295:3011
388:4294967295:3011
389:4294967295:3011
390:4294967295:3011
391:4294967295:3011
392:4294967295:3011
393:4294967295:3011
394:4294967295:3011
395:4294967295:3011
396:4294967295:3011
397:4294967295:3011
398:4294967295:3011
399:4294967295:3011
400:4294967295:3011
401:4294967295:3011
402:4294967295:3011
403:4294967295:3011
404:4294967295:3011
405:4294967295:3011
406:4294967295:3011
407:4294967295:3011
408:4294967295:3011
409:4294967295:3011
410:4294967295:3011
411:4294967295:3011
412:4294967295:3011
413:4294967295:3011
414:4294967295:3011
415:4294967295:3011
416:4294967295:3011
417:4294967295:3011
418:4294967295:3011
419:4294967295:3011
420:4294967295:3011
421:4294967295:3011
422:4294967295:3011
423:4294967295:3011
424:4294967295:3011
425:4294967295:3011
426:4294967295:3011
427:4294967295:3011
428:4294967295:3011
429:4294967295:3011
430:4294967295:3011
431:4294967295:3011
432:4294967295:3011
433:4294967295:3011
434:4294967295:3011
435:4294967295:3011
436:4294967295:3011
437:4294967295:3011
438:4294967295:3011
439:4294967295:3011
440:4294967295:3011
441:4294967295:3011
442:4294967295:3011
443:4294967295:3011
444:4294967295:3011
445:4294967295:3011
446:4294967295:3011
447:4294967295:3011
448:4294967295:3011
449:4294967295:3011
450:4294967295:3011
451:4294967295:3011
452:4294967295:3011
453:4294967295:3011
454:4294967295:3011
455:4294967295:3011
456:4294967295:3011
457:4294967295:3011
458:4294967295:3011
459:4294967295:3011
460:4294967295:3011
461:4294967295:3011
462:4294967295:3011
463:4294967295:3011
464:4294967295:3011
465:4294967295:3011
466:4294967295:3011
467:4294967295:3011
468:4294967295:3011
469:4294967295:3011
470:4294967295:3011
471:4294967295:3011
472:4294967295:3011
473:4294967295:3011
474:4294967295:3011
475:4294967295:3011
476:4294967295:3011
477:4294967295:3011
478:4294967295:3011
479:4294967295:3011
480:4294967295:3011
481:4294967295:3011
482:4294967295:3011
483:4294967295:3011
484:4294967295:3011
485:4294967295:3011
486:4294967295:3011
487:4294967295:3011
488:4294967295:3011
489:4294967295:3011
490:4294967295:3011
491:4294967295:3011
492:4294967295:3011
493:4294967295:3011
494:4294967295:3011
495:4294967295:3011
496:4294967295:3011
497:4294967295:3011
498:4294967295:3011
499:4294967295:3011
500:4294967295:3011
501:4294967295:3011
502:4294967295:3011
503:4294967295:3011
504:4294967295:3011
505:4294967295:3011
506:4294967295:3011
507:4294967295:3011
508:4294967295:3011
509:4294967295:3011
510:4294967295:3011
511:4294967295:3011
/* Allow RCS service to aquire net_raw permission */
18:4294967295:1001:3004
/* Allow QMID service to aquire net_raw permission */
3:4294967295:1001:3004
2:4294967295:1001:3004
42:4294967295:1001:3004
18:4294967295:1001:3004
9:4294967295:1001:3004
1:4294967295:1001:3004:1000
4:4294967295:1001:3004
7:4294967295:1001:3004
8:4294967295:1001:3004:1000
68:4294967295:1001:3004
/* DPM */
47:4294967295:1001:3004
/* Allow communication to some QMI services with radio privilages */
/* Format is <Service id>:<all instances>:<radio> */
/* PBM */
12:4294967295:1001
/* WMS */
5:4294967295:1001
/* IMS VT */
32:4294967295:1001
/* IMSP */
31:4294967295:1001
/* PDC */
36:4294967295:1001
/* SAR */
17:4294967295:1001
/* RFRPE */
41:4294967295:1001
/*UIM*/
11:4294967295:1001
/*CAT*/
10:4294967295:1001
/*IMSA*/
33:4294967295:1001
/* CSVT */
29:4294967295:1001
/*LTE*/
70:4294967295:1001
/* Allow Data dpmd to access QMI DFS */
48:4294967295:1000:3004
/* DIAG */
4097:4294967295:3009
/* <WLPS QMI Service ID - 0x39>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */
57:4294967295:1000
/* COEX */
34:4294967295:1001

113
configs/thermal-engine.conf Normal file
View File

@ -0,0 +1,113 @@
[emmc_therm__0.DEFAULT]
algo_type monitor
sensor emmc_therm
sampling 1000
thresholds 43000 47700 48900 50200 51400 52000 52600 53200 53600 54000 54500 55000 55500 55900 56300 56800
thresholds_clr 40000 43000 47700 48900 50200 51400 52000 52600 53200 53600 54000 54500 55000 55500 55900 56300
actions cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel
action_info 1555200+1958400+0+0+1+1+630000000+255+2+0+100000+0+0 1555200+1248000+0+0+1+1+630000000+209+3+0+100000+0+0 1478400+864000+0+1+1+1+630000000+171+3+0+100000+0+0 1478400+384000+1+1+1+1+630000000+141+3+0+100000+0+0 1344000+384000+1+1+1+1+630000000+115+3+0+100000+0+0 1344000+384000+1+1+1+1+630000000+95+3+0+100000+0+0 1248000+384000+1+1+1+1+630000000+78+8+0+100000+0+0 1248000+384000+1+1+1+1+630000000+64+8+0+001800+0+0 960000+384000+1+1+1+1+630000000+52+9+0+001800+0+0 960000+384000+1+1+1+1+450000000+44+12+0+001800+0+0 864000+384000+1+1+1+1+450000000+44+12+0+001800+0+0 864000+384000+1+1+1+1+390000000+44+12+1+001800+0+0 768000+384000+1+1+1+1+390000000+44+12+1+001800+0+0 600000+384000+1+1+1+1+180000000+44+12+1+001800+0+0 460800+384000+1+1+1+1+180000000+44+12+1+001800+0+0 384000+384000+1+1+1+1+180000000+44+12+1+001800+5+0
[emmc_therm__1.DEFAULT]
algo_type monitor
sensor emmc_therm
sampling 1000
thresholds 58000 63000
thresholds_clr 56800 59000
actions cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel
action_info 384000+384000+1+1+1+1+180000000+44+12+1+001800+6+0 384000+384000+1+1+1+1+180000000+36+13+1+001800+6+1
[emmc_therm__0.CAMERA-Step]
algo_type monitor
sensor emmc_therm
sampling 1000
thresholds -100000 42700 45000 48000 51000 52400 55000 57000 63000
thresholds_clr -110000 40000 42700 45000 48000 51000 52400 55000 57000
actions cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel
action_info 1555200+1958400+0+0+0+0+630000000+141+8+0+100000+0+0 960000+960000+0+1+1+1+630000000+95+8+0+100000+0+0 960000+384000+1+1+1+1+630000000+44+8+0+100000+0+0 960000+384000+1+1+1+1+305000000+44+9+0+100000+0+0 960000+384000+1+1+1+1+305000000+44+12+0+001800+0+0 960000+384000+1+1+1+1+305000000+44+12+0+001800+1+0 960000+384000+1+1+1+1+305000000+44+12+1+001800+5+0 960000+384000+1+1+1+1+305000000+44+12+1+001800+6+1 384000+384000+1+1+1+1+180000000+36+13+1+001800+6+1
disable
[emmc_therm__0.CAMERA-Low]
algo_type monitor
sensor emmc_therm
sampling 1000
thresholds -100000 40000 49000 51000 55000 58000 63000
thresholds_clr -110000 38000 40000 49000 51000 55000 58000
actions cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel
action_info 672000+384000+1+1+1+1+180000000+141+8+0+100000+0+0 600000+384000+1+1+1+1+180000000+95+8+0+100000+0+0 600000+384000+1+1+1+1+180000000+78+9+0+100000+0+0 600000+384000+1+1+1+1+180000000+44+12+0+001800+0+0 600000+384000+1+1+1+1+180000000+44+12+1+001800+5+0 600000+384000+1+1+1+1+180000000+44+12+1+001800+6+1 384000+384000+1+1+1+1+180000000+36+13+1+001800+6+1
disable
[emmc_therm__0.CAMERA-Mid]
algo_type monitor
sensor emmc_therm
sampling 1000
thresholds -100000 47700 50000 53000 56000 58800 63000
thresholds_clr -110000 40000 47700 50000 53000 56000 58800
actions cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel
action_info 960000+384000+1+1+1+1+180000000+141+8+0+100000+0+0 960000+384000+1+1+1+1+180000000+95+8+0+100000+0+0 960000+384000+1+1+1+1+180000000+78+9+0+100000+0+0 960000+384000+1+1+1+1+180000000+44+12+0+001800+0+0 960000+384000+1+1+1+1+180000000+44+12+1+001800+5+0 960000+384000+1+1+1+1+180000000+44+12+1+001800+6+1 384000+384000+1+1+1+1+180000000+36+13+1+001800+6+1
disable
[emmc_therm__0.CAMERA-Hi]
algo_type monitor
sensor emmc_therm
sampling 1000
thresholds -100000 47700 50000 53000 56000 58800 63000
thresholds_clr -110000 40000 47700 50000 53000 56000 58800
actions cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel
action_info 1344000+384000+1+1+1+1+305000000+141+8+0+100000+0+0 1344000+384000+1+1+1+1+305000000+95+8+0+100000+0+0 1344000+384000+1+1+1+1+305000000+78+9+0+100000+0+0 1344000+384000+1+1+1+1+305000000+44+12+0+000600+0+0 1344000+384000+1+1+1+1+305000000+44+12+1+000600+5+0 1344000+384000+1+1+1+1+305000000+44+12+1+000600+6+1 384000+384000+1+1+1+1+180000000+36+13+1+000600+6+1
disable
[emmc_therm__0.CAMERA-4k]
algo_type monitor
sensor emmc_therm
sampling 1000
thresholds -100000 47700 50000 53000 56000 58800 63000
thresholds_clr -110000 40000 47700 50000 53000 56000 58800
actions cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery+modem+s_cam_ltb_tim+s_cam+s_tel
action_info 1344000+384000+1+1+1+1+305000000+141+8+0+100000+0+0 1344000+384000+1+1+1+1+305000000+95+8+0+100000+0+0 1344000+384000+1+1+1+1+305000000+78+9+0+100000+0+0 1344000+384000+1+1+1+1+305000000+44+12+0+001800+0+0 1344000+384000+1+1+1+1+305000000+44+12+1+001800+5+0 1344000+384000+1+1+1+1+305000000+44+12+1+001800+6+1 384000+384000+1+1+1+1+180000000+36+13+1+001800+6+1
disable
[emmc_therm__0.CAMERA-ALL]
algo_type monitor
sensor emmc_therm
sampling 1000
thresholds 47700 50000 53000
thresholds_clr 40000 47700 50000
actions cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery cluster0+cluster1+hotplug_4+hotplug_5+hotplug_6+hotplug_7+gpu+s_backlight+battery
action_info 1555200+1728000+0+0+0+1+630000000+95+8 1555200+1248000+0+1+1+1+305000000+78+9 1344000+384000+1+1+1+1+305000000+44+12
disable
[sony_camera]
algo_type monitor
sensor sony_camera_0
sampling 1000
thresholds 61000 63000 65000 67000
thresholds_clr 58000 61000 63000 0
actions s_cam_ltb_tim+s_cam s_cam_ltb_tim+s_cam s_cam_ltb_tim+s_cam s_cam_ltb_tim+s_cam+s_shutdown
action_info 001800+1 001800+5 001800+6 001800+6+5
[Hangout_Fail_Safe]
algo_type monitor
sensor emmc_therm
sampling 1000
thresholds 56000
thresholds_clr 50000
actions s_bg
action_info 1
[batt_therm]
algo_type monitor
sensor bms
sampling 1000
thresholds 42000 67000
thresholds_clr 41000 0
actions battery battery+s_shutdown
action_info 3 13+5
[emmc_therm]
algo_type monitor
sensor emmc_therm
sampling 1000
thresholds 64000 80000
thresholds_clr 59000 0
actions s_tether s_tether+s_shutdown
action_info 1 1+5

204
configs/wlan/bcmdhd.cal Normal file
View File

@ -0,0 +1,204 @@
# Copyright (C) 2015 Sony Mobile Communications Inc.
NVRAMRev=$Rev: 492111 $
sromrev=11
boardrev=0x1101
## boardtype is subject to change
boardtype=0x0735
boardflags=0x12401201
#enable eLNA both 2G/5G
boardflags2=0x00802000
boardflags3=0x48000109
#boardnum=57410
macaddr=00:90:4c:16:70:01
ccode=XT
regrev=54
antswitch=0
pdgain5g=4
pdgain2g=4
femctrl=10
vendid=0x14e4
devid=0x43ec
manfid=0x2d0
#prodid=0x052e
nocrc=1
otpimagesize=484
xtalfreq=37400
rxgains2gelnagaina0=2
#rxgains2gtrisoa0=6
rxgains2gtrisoa0=8
rxgains2gtrelnabypa0=1
rxgains5gelnagaina0=2
rxgains5gtrisoa0=6
rxgains5gtrelnabypa0=1
rxgains5gmelnagaina0=2
rxgains5gmtrisoa0=6
rxgains5gmtrelnabypa0=1
rxgains5ghelnagaina0=2
rxgains5ghtrisoa0=6
rxgains5ghtrelnabypa0=1
rxgains2gelnagaina1=2
#rxgains2gtrisoa1=6
rxgains2gtrisoa1=8
rxgains2gtrelnabypa1=1
rxgains5gelnagaina1=2
rxgains5gtrisoa1=6
rxgains5gtrelnabypa1=1
rxgains5gmelnagaina1=2
rxgains5gmtrisoa1=6
rxgains5gmtrelnabypa1=1
rxgains5ghelnagaina1=2
rxgains5ghtrisoa1=6
rxgains5ghtrelnabypa1=1
rxchain=3
txchain=3
ag0=1
ag1=1
## aa2g/aa5g should be set to 3 - 8/29
aa2g=3
aa5g=3
agbg0=0
agbg1=0
aga0=0
aga1=0
tssipos2g=1
extpagain2g=2
tssipos5g=1
extpagain5g=2
tempthresh=120
temps_hysteresis=15
tempoffset=255
rawtempsense=0x1ff
tworangetssi2g=0
tworangetssi5g=0
#pa2gccka0=-145,6220,-699
#pa2gccka1=-167,5991,-703
#pa2ga0=-194,5543,-677
#pa2ga1=-198,5466,-674
pa2ga0=-151,5895,-687
pa2ga1=-149,5797,-667
pa5ga0=-181,5980,-717,-180,6058,-723,-189,5930,-715,-170,6150,-732
pa5ga1=-181,5950,-717,-180,6058,-723,-189,5938,-715,-170,6216,-732
pa2ga2=-140,4083,-571
pa2ga3=-154,3985,-568
#pa5ga2=-153,3951,-562,-156,4006,-560,-152,4080,-566,-153,3850,-546
#pa5ga3=-165,3846,-551,-160,4023,-566,-157,4138,-574,-167,3953,-552
maxp2ga0=118
maxp5ga0=102,104,106,106
maxp2ga1=114
maxp5ga1=102,102,102,102
subband5gver=0x4
pdoffsetcckma0=0x4
pdoffsetcckma1=0x4
pdoffset40ma0=0x0000
pdoffset80ma0=0x0000
pdoffset40ma1=0x0000
pdoffset80ma1=0x0000
cckbw202gpo=0x5555,0x1111
cckbw20ul2gpo=0x0000,0x0000
mcsbw202gpo=0xccccca81,0x11111111
mcsbw402gpo=0xccccca81,0x11111111
dot11agofdmhrbw202gpo=0x8888,0x1111
ofdmlrbw202gpo=0x0061,0x0011
mcsbw205glpo=0x88866440,0x11111111
mcsbw405glpo=0xcca86644,0x11111111
mcsbw805glpo=0xcaaaaaaa,0x11111111
mcsbw205gmpo=0x88866440,0x11111111
mcsbw405gmpo=0xcca86644,0x11111111
mcsbw805gmpo=0xcaaaaaaa,0x11111111
mcsbw205ghpo=0x88866440,0x11111111
mcsbw405ghpo=0xcca86644,0x11111111
mcsbw805ghpo=0xcaaaaaaa,0x11111111
mcslr5glpo=0x0000
mcslr5gmpo=0x0000
mcslr5ghpo=0x0000
sb20in40hrpo=0x0
sb20in80and160hr5glpo=0x0
sb40and80hr5glpo=0x0
sb20in80and160hr5gmpo=0x0
sb40and80hr5gmpo=0x0
sb20in80and160hr5ghpo=0x0
sb40and80hr5ghpo=0x0
sb20in40lrpo=0x0
sb20in80and160lr5glpo=0x0
sb40and80lr5glpo=0x0
sb20in80and160lr5gmpo=0x0
sb40and80lr5gmpo=0x0
sb20in80and160lr5ghpo=0x0
sb40and80lr5ghpo=0x0
dot11agduphrpo=0x0
dot11agduplrpo=0x0
phycal_tempdelta=25
temps_period=15
AvVmid_c0=2,140,2,145,2,145,2,145,2,145
AvVmid_c1=2,140,2,145,2,145,2,145,2,145
#epsdelta2g0=0
#epsdelta2g1=0
ofdmfilttype=1
##cckfilttype
cckdigfilttype=5
phy4350_ss_opt=1
## SWCTRL map changed - 8/28
swctrlmap_5g=0x02020202,0x05050404,0x04040000,0x000000,0x047
swctrlmap_2g=0x140c140c,0x28300820,0x08200000,0x803020,0x0ff
## muxenab to enable OOB signal - needed for final board
muxenab=0x11
host_wake_opt=0
papdwar=4
tssisleep_en=0x1f
cck_onecore_tx=1
rssi_delta_2g_c0=4,3,0,0
rssi_delta_2g_c1=3,4,0,0
rssi_delta_5gl_c0=-1,0,0,0,0,0
rssi_delta_5gml_c0=-1,0,0,0,0,0
rssi_delta_5gmu_c0=-1,-2,0,-1,0,-1
rssi_delta_5gh_c0=-1,-1,0,-1,0,-1
rssi_delta_5gl_c1=2,5,2,5,2,5
rssi_delta_5gml_c1=2,4,3,5,3,4
rssi_delta_5gmu_c1=1,0,1,0,2,0
rssi_delta_5gh_c1=1,0,1,0,2,0
#rssicorrnorm_c0=0,0
#rssicorrnorm_c1=0,0
#rssicorrnorm5g_c0=0,0,0,0,0,0,0,0,0,0,0,0
#rssicorrnorm5g_c1=0,0,0,0,0,0,0,0,0,0,0,0
ltecxmux=0x78560
initxidx2g=37
initxidx5g=36
sbpowoffs5g20mtna0=0,0,0,0
sbpowoffs5g40mtna0=0,0,0,0
sbpowoffs5g80mtna0=0,0,0,0
sbpowoffs5g20mtna1=0,0,0,0
sbpowoffs5g40mtna1=0,0,0,0
sbpowoffs5g80mtna1=0,0,0,0
powoffs2gtna0=0,-2,-4,-4,-2,0,0,0,0,-2,-3,-2,0,0
powoffs2gtna1=0,0,0,0,0,0,-1,-1,0,0,0,0,0,0
powoffs5g20mtna0=0,0,0,0,0,0,0
powoffs5g40mtna0=0,0,0,0,0
powoffs5g80mtna0=0,0,0,0,0
powoffs5g20mtna1=0,0,0,0,0,0,0
powoffs5g40mtna1=0,0,0,0,0
powoffs5g80mtna1=0,0,0,0,0
ed_thresh2g=-65
ed_thresh5g=-65
btc_mode=1

79
device.mk Normal file
View File

@ -0,0 +1,79 @@
#
# Copyright (C) 2016 The CyanogenMod Project
# 2017-2018 The LineageOS 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.
#
# Get common aspects
$(call inherit-product, device/sony/kitakami-common/device-common.mk)
# Get non-open-source specific aspects
$(call inherit-product, vendor/sony/satsuki/satsuki-vendor.mk)
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
# Screen density
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
# Boot animation
TARGET_SCREEN_HEIGHT := 1920
TARGET_SCREEN_WIDTH := 1080
# Dalvik/HWUI
$(call inherit-product, frameworks/native/build/phone-xxhdpi-2048-dalvik-heap.mk)
$(call inherit-product, frameworks/native/build/phone-xxhdpi-2048-hwui-memory.mk)
# init
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/bin/init.qcom.power.sh:system/bin/init.qcom.power.sh
# Audio configuration
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/mixer_paths.xml:system/etc/mixer_paths.xml
# Input
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/idc/clearpad.idc:system/usr/idc/clearpad.idc
# IRSC
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/sec_config:system/etc/sec_config
# NFC configs
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/libnfc-brcm.conf:system/etc/libnfc-brcm.conf \
$(LOCAL_PATH)/configs/libnfc-nxp.conf:system/etc/libnfc-nxp.conf
# RIL
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/dsi_config.xml:system/etc/data/dsi_config.xml \
$(LOCAL_PATH)/configs/netmgr_config.xml:system/etc/data/netmgr_config.xml \
$(LOCAL_PATH)/configs/qmi_config.xml:system/etc/data/qmi_config.xml
# Thermal
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/thermal-engine.conf:system/etc/thermal-engine.conf
# WLAN
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/wlan/bcmdhd.cal:system/etc/firmware/wlan/bcmdhd/bcmdhd.cal
# Fingerprint
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:system/etc/permissions/android.hardware.fingerprint.xml
PRODUCT_PACKAGES += \
fingerprintd

27
extract-files.sh Executable file
View File

@ -0,0 +1,27 @@
#!/bin/bash
#
# Copyright (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set -e
FP=$(cd ${0%/*} && pwd -P)
export DEVICE=$(basename $FP)
export DEVICE_COMMON=kitakami-common
export VENDOR=$(basename $(dirname $FP))
export DEVICE_BRINGUP_YEAR=2016
./../../$VENDOR/$DEVICE_COMMON/extract-files.sh $@

29
full_satsuki.mk Normal file
View File

@ -0,0 +1,29 @@
#
# Copyright (C) 2016 The CyanogenMod Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# Inherit from satsuki device
$(call inherit-product, device/sony/satsuki/device.mk)
# Set those variables here to overwrite the inherited values.
PRODUCT_BRAND := Sony
PRODUCT_NAME := full_satsuki
PRODUCT_MANUFACTURER := Sony
PRODUCT_DEVICE := satsuki
PRODUCT_MODEL := Xperia Z5 Premium

38
idc/clearpad.idc Normal file
View File

@ -0,0 +1,38 @@
# Device Type
touch.deviceType = touchScreen
# Pressure
touch.pressure.scale = 0.0065
# Touch Filter
touch.filter.level = 3
touch.filter.path = /system/lib64/touchfilter/tfsw.so
# Switcher
touch.filter.tfsw.Debug = 0
touch.filter.tfsw.array = 1
touch.filter.tfsw.f0.level = 3
touch.filter.tfsw.f0.path = /system/lib64/touchfilter/roadrunner_ukf.so
# Roadrunner
touch.filter.RoadRunner.Enabled = 1
touch.filter.RoadRunner.Debug = 0
touch.filter.RoadRunner.c0.PredictionSteps = 2.1
touch.filter.RoadRunner.c1.PredictionSteps = 3.2
touch.filter.RoadRunner.c2.PredictionSteps = 4.9
touch.filter.RoadRunner.c3.PredictionSteps = 6.4
touch.filter.RoadRunner.FrameRate = 0.0079
touch.filter.RoadRunner.PreSmoothingFactor = 0.2
touch.filter.RoadRunner.PostSmoothingFactor = 0.1
touch.filter.RoadRunner.DisplayPpi = 428
touch.filter.RoadRunner.VelocityThreshold = 50
touch.filter.RoadRunner.OvershootControl = 1
# Glove Mode
touch.gloveMode.deflatePressure = 1
pointercontroller.touch1.filename = /system/somc/touch/images/big_touch.png
pointercontroller.touch1.hotSpotX = 310
pointercontroller.touch1.hotSpotY = 310
pointercontroller.touchsplash1.filename = /system/somc/touch/images/splash.png
pointercontroller.touchsplash1.hotSpotX = 40
pointercontroller.touchsplash1.hotSpotY = 40

29
init_satsuki/Android.mk Normal file
View File

@ -0,0 +1,29 @@
#
# Copyright (C) 2017 The LineageOS 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.
#
ifeq ($(TARGET_INIT_VENDOR_LIB),libinit_satsuki)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_C_INCLUDES := system/core/init
LOCAL_CFLAGS := -Wall
LOCAL_SRC_FILES := init_satsuki.cpp
LOCAL_MODULE := libinit_satsuki
include $(BUILD_STATIC_LIBRARY)
endif

View File

@ -0,0 +1,68 @@
/*
* Copyright (C) 2008 The Android Open Source Project
* Copyright (C) 2014 The CyanogenMod Project
* Copyright (C) 2017 The LineageOS 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.
*/
#include <stdlib.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "vendor_init.h"
#include "property_service.h"
#include "log.h"
#include "util.h"
static void import_kernel_nv(const std::string& key,
const std::string& value, bool for_emulator __attribute__((unused)))
{
if (key.empty()) return;
if (key == "oemandroidboot.phoneid") {
// Dual Sim variant contains two IMEIs separated by comma.
if ((count(value.begin(), value.end(),',')) > 0) {
property_set("persist.multisim.config", "dsds");
property_set("persist.radio.multisim.config", "dsds");
property_set("ro.telephony.default_network", "9,1");
property_set("ro.semc.product.model", "E6883");
property_set("ro.semc.product.name", "Xperia Z5 Premium Dual");
property_set("ro.product.model", "E6883");
property_set("ro.product.name", "satsuki_dsds");
property_set("ro.product.device", "satsuki_dsds");
property_set("ro.build.description", "satsuki_dsds-user 7.1.1 N-MR1-KITAKAMI-170609-1025 1 dev-keys");
property_set("ro.build.fingerprint", "Sony/satsuki_dsds/satsuki_dsds:7.1.1/N-MR1-KITAKAMI-170609-1025/1:user/dev-keys");
} else {
property_set("ro.telephony.default_network", "9");
property_set("ro.semc.product.model", "E6853");
property_set("ro.semc.product.name", "Xperia Z5 Premium");
property_set("ro.product.model", "E6853");
property_set("ro.product.name", "satsuki");
property_set("ro.product.device", "satsuki");
property_set("ro.build.description", "satsuki-user 7.1.1 N-MR1-KITAKAMI-170609-1025 1 dev-keys");
property_set("ro.build.fingerprint", "Sony/satsuki/satsuki:7.1.1/N-MR1-KITAKAMI-170609-1025/1:user/dev-keys");
}
}
}
void vendor_load_properties()
{
import_kernel_cmdline(0, import_kernel_nv);
}

6
lineage.dependencies Normal file
View File

@ -0,0 +1,6 @@
[
{
"repository": "android_device_sony_kitakami-common",
"target_path": "device/sony/kitakami-common"
}
]

22
lineage.mk Normal file
View File

@ -0,0 +1,22 @@
#
# Copyright (C) 2015 The CyanogenMod Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
$(call inherit-product, device/sony/satsuki/full_satsuki.mk)
# Inherit some common CM stuff
$(call inherit-product, vendor/cm/config/common_full_phone.mk)
PRODUCT_NAME := lineage_satsuki

View File

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2016 The CyanogenMod Project
Copyright (C) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Operating volatage for bluetooth controller. 0 by default-->
<integer translatable="false" name="config_bluetooth_operating_voltage_mv">3600</integer>
<!-- Rx current for bluetooth controller. 0 by default-->
<integer translatable="false" name="config_bluetooth_rx_cur_ma">25</integer>
<!-- Tx current for bluetooth controller. 0 by default-->
<integer translatable="false" name="config_bluetooth_tx_cur_ma">25</integer>
<!-- Idle current for bluetooth controller. 0 by default-->
<integer translatable="false" name="config_bluetooth_idle_cur_ma">1</integer>
<!-- Operating volatage for wifi radio. 0 by default-->
<integer translatable="false" name="config_wifi_operating_voltage_mv">3600</integer>
<!-- Rx current for wifi radio. 0 by default-->
<integer translatable="false" name="config_wifi_active_rx_cur_ma">185</integer>
<!-- Tx current for wifi radio. 0 by default-->
<integer translatable="false" name="config_wifi_tx_cur_ma">390</integer>
<!-- Idle Receive current for wifi radio. 0 by default-->
<integer translatable="false" name="config_wifi_idle_receive_cur_ma">3</integer>
</resources>

View File

@ -0,0 +1,102 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="none">0</item>
<item name="screen.on">27.43</item>
<item name="bluetooth.active">48.64</item>
<item name="bluetooth.on">1.09</item>
<item name="bluetooth.at">39.93</item>
<item name="screen.full">393.25</item>
<item name="wifi.on">0.97</item>
<item name="wifi.active">329.74</item>
<item name="wifi.scan">49.42</item>
<item name="dsp.audio">38.79</item>
<item name="dsp.video">230.86</item>
<item name="camera.avg">813.49</item>
<item name="camera.flashlight">22.17</item>
<item name="radio.active">116.89</item>
<item name="modem.controller.idle">0.29</item>
<item name="modem.controller.rx">153.62</item>
<item name="modem.controller.tx">132.21</item>
<item name="modem.controller.voltage">0.74</item>
<item name="radio.scanning">9.37</item>
<item name="gps.on">48.81</item>
<array name="radio.on">
<value>9.01</value>
<value>8.28</value>
<value>7.53</value>
<value>6.78</value>
<value>6.04</value>
</array>
<array name="cpu.speeds.cluster0">
<value>384000</value>
<value>460800</value>
<value>600000</value>
<value>672000</value>
<value>768000</value>
<value>864000</value>
<value>960000</value>
<value>1248000</value>
<value>1344000</value>
<value>1478400</value>
<value>1555200</value>
</array>
<array name="cpu.speeds.cluster1">
<value>384000</value>
<value>480000</value>
<value>633600</value>
<value>768000</value>
<value>864000</value>
<value>960000</value>
<value>1248000</value>
<value>1344000</value>
<value>1440000</value>
<value>1536000</value>
<value>1632000</value>
<value>1728000</value>
<value>1824000</value>
<value>1958400</value>
</array>
<item name="cpu.idle">4.66</item>
<array name="cpu.active.cluster0">
<value>39.96</value>
<value>43.41</value>
<value>46.21</value>
<value>48.55</value>
<value>51.43</value>
<value>55.45</value>
<value>58.72</value>
<value>71.81</value>
<value>76.52</value>
<value>83.71</value>
<value>88.25</value>
</array>
<array name="cpu.active.cluster1">
<value>83.34</value>
<value>92.39</value>
<value>105.66</value>
<value>120.27</value>
<value>134.08</value>
<value>146.66</value>
<value>179.14</value>
<value>193.78</value>
<value>211.58</value>
<value>220.23</value>
<value>240.82</value>
<value>258.02</value>
<value>276.53</value>
<value>399.00</value>
</array>
<array name="cpu.clusters.cores">
<value>4</value>
<value>4</value>
</array>
<item name="cpu.awake">40.36</item>
<item name="battery.capacity">2900</item>
<array name="wifi.batchedscan">
<value>.0002</value>
<value>.002</value>
<value>.02</value>
<value>.2</value>
<value>2</value>
</array>
</device>

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2017, The LineageOS Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Should we listen for fingerprints when the screen is off? Devices
with a rear-mounted sensor want this, but certain devices have
the sensor embedded in the power key and listening all the time
causes a poor experience. -->
<bool name="config_fingerprintWakeAndUnlock">false</bool>
</resources>

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Defines the location of the fingerprint sensor on the device
0 = back
1 = front
2 = left side
3 = right side
-->
<integer name="config_fingerprintSensorLocation">3</integer>
</resources>

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2015 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<resources>
<item name="fingerprint_sensor_location_fraction_x" type="fraction">51.00%</item>
<item name="fingerprint_sensor_location_fraction_y" type="fraction">51.00%</item>
</resources>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2015 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Message shown in fingerprint enrollment dialog to locate the sensor -->
<string name="security_settings_fingerprint_enroll_find_sensor_message_cm">
Locate the fingerprint sensor on the side of your phone.</string>
</resources>

605
proprietary-files.txt Normal file
View File

@ -0,0 +1,605 @@
# Audio
etc/acdbdata/Sony/Sony_Bluetooth_cal.acdb
etc/acdbdata/Sony/Sony_General_cal.acdb
etc/acdbdata/Sony/Sony_Global_cal.acdb
etc/acdbdata/Sony/Sony_Handset_cal.acdb
etc/acdbdata/Sony/Sony_Hdmi_cal.acdb
etc/acdbdata/Sony/Sony_Headset_cal.acdb
etc/acdbdata/Sony/Sony_Speaker_cal.acdb
# Bluetooth
etc/firmware/BCM43xx.hcd
# Camera
bin/mm-qcamera-daemon
lib/hw/camera.qcom.so
lib/libcamera_clientsemc.so
lib/libcammw.so
lib/libmm-qcamera.so
lib/libmmcamera_interface.so
lib/libmmjpeg_interface.so
lib/libqomx_core.so
lib/libsomc_alfort.so
lib/libsomc_alfortrsc.so
lib/libsomc_bordeaux.so
lib/libsomc_bordeauxrsc.so
lib/libsomc_canele.so
lib/libsomc_canelersc.so
lib/libsomc_marble.so
lib/libsomc_marblersc.so
lib/libsomc_melonpan.so
lib/libsomc_melonpanrsc.so
lib/libsomc_mugichoco.so
lib/libsomc_mugichocorsc.so
lib/libsomc_raisin.so
lib/libsomc_raisinrsc.so
lib/libsomc_spica.so
lib/libsomc_spicarsc.so
lib/libsomc_thermal.so
lib/libsomc_thermal.so
lib/libsomc_toppo.so
lib/libsomc_topporsc.so
lib/libsomc_yummy.so
lib/libsomc_yummyrsc.so
lib/libsony_fooddetect.so
lib/libsony_naruto.so
lib64/libcamera_clientsemc.so
vendor/lib/libfastcvadsp_stub.so
vendor/lib/libjpegdhw.so
vendor/lib/libjpegdmahw.so
vendor/lib/libjpegehw.so
vendor/lib/libmmcamera2_c2d_module.so
vendor/lib/libmmcamera2_cpp_module.so
vendor/lib/libmmcamera2_frame_algorithm.so
vendor/lib/libmmcamera2_iface_modules.so
vendor/lib/libmmcamera2_imglib_modules.so
vendor/lib/libmmcamera2_is.so
vendor/lib/libmmcamera2_isp_modules.so
vendor/lib/libmmcamera2_pp_buf_mgr.so
vendor/lib/libmmcamera2_pproc_modules.so
vendor/lib/libmmcamera2_q3a_core.so
vendor/lib/libmmcamera2_sensor_debug.so
vendor/lib/libmmcamera2_sensor_modules.so
vendor/lib/libmmcamera2_stats_algorithm.so
vendor/lib/libmmcamera2_stats_modules.so
vendor/lib/libmmcamera2_vpe_module.so
vendor/lib/libmmcamera2_wnr_module.so
vendor/lib/libmmcamera_cac2_lib.so
vendor/lib/libmmcamera_chromaflash_lib.so
vendor/lib/libmmcamera_dw9761b_eeprom.so
vendor/lib/libmmcamera_eeprom_util.so
vendor/lib/libmmcamera_eztune_module.so
vendor/lib/libmmcamera_faceproc.so
vendor/lib/libmmcamera_hdr_gb_lib.so
vendor/lib/libmmcamera_imglib.so
vendor/lib/libmmcamera_imx258_gt24c16_eeprom.so
vendor/lib/libmmcamera_isp_abf44.so
vendor/lib/libmmcamera_isp_bcc44.so
vendor/lib/libmmcamera_isp_be_stats44.so
vendor/lib/libmmcamera_isp_bf_scale_stats46.so
vendor/lib/libmmcamera_isp_bf_stats44.so
vendor/lib/libmmcamera_isp_bg_stats46.so
vendor/lib/libmmcamera_isp_bhist_stats44.so
vendor/lib/libmmcamera_isp_bpc44.so
vendor/lib/libmmcamera_isp_chroma_enhan40.so
vendor/lib/libmmcamera_isp_chroma_suppress40.so
vendor/lib/libmmcamera_isp_clamp_encoder40.so
vendor/lib/libmmcamera_isp_clamp_video40.so
vendor/lib/libmmcamera_isp_clamp_viewfinder40.so
vendor/lib/libmmcamera_isp_clf46.so
vendor/lib/libmmcamera_isp_color_correct46.so
vendor/lib/libmmcamera_isp_color_xform_encoder46.so
vendor/lib/libmmcamera_isp_color_xform_video46.so
vendor/lib/libmmcamera_isp_color_xform_viewfinder46.so
vendor/lib/libmmcamera_isp_cs_stats46.so
vendor/lib/libmmcamera_isp_demosaic44.so
vendor/lib/libmmcamera_isp_demux40.so
vendor/lib/libmmcamera_isp_fovcrop_encoder46.so
vendor/lib/libmmcamera_isp_fovcrop_video46.so
vendor/lib/libmmcamera_isp_fovcrop_viewfinder46.so
vendor/lib/libmmcamera_isp_gamma44.so
vendor/lib/libmmcamera_isp_gic46.so
vendor/lib/libmmcamera_isp_gtm46.so
vendor/lib/libmmcamera_isp_hdr46.so
vendor/lib/libmmcamera_isp_hdr_be_stats46.so
vendor/lib/libmmcamera_isp_ihist_stats46.so
vendor/lib/libmmcamera_isp_linearization40.so
vendor/lib/libmmcamera_isp_ltm44.so
vendor/lib/libmmcamera_isp_mce40.so
vendor/lib/libmmcamera_isp_mesh_rolloff44.so
vendor/lib/libmmcamera_isp_pedestal_correct46.so
vendor/lib/libmmcamera_isp_rs_stats46.so
vendor/lib/libmmcamera_isp_scaler_encoder46.so
vendor/lib/libmmcamera_isp_scaler_video46.so
vendor/lib/libmmcamera_isp_scaler_viewfinder46.so
vendor/lib/libmmcamera_isp_sce40.so
vendor/lib/libmmcamera_isp_sub_module.so
vendor/lib/libmmcamera_isp_wb46.so
vendor/lib/libmmcamera_llvd.so
vendor/lib/libmmcamera_onsemi_cat24c32_eeprom.so
vendor/lib/libmmcamera_optizoom_lib.so
vendor/lib/libmmcamera_ov4688_eeprom.so
vendor/lib/libmmcamera_pdaf.so
vendor/lib/libmmcamera_pdafcamif.so
vendor/lib/libmmcamera_ppbase_module.so
vendor/lib/libmmcamera_sony_imx214_eeprom.so
vendor/lib/libmmcamera_sonyimx135_eeprom.so
vendor/lib/libmmcamera_stillmore_lib.so
vendor/lib/libmmcamera_tintless_algo.so
vendor/lib/libmmcamera_tintless_bg_pca_algo.so
vendor/lib/libmmcamera_trueportrait_lib.so
vendor/lib/libmmcamera_tuning.so
vendor/lib/libmmcamera_ubifocus_lib.so
vendor/lib/libmmcamera_vpu_module.so
vendor/lib/libmmipl.so
vendor/lib/libmmjpeg.so
vendor/lib/libmmqjpeg_codec.so
vendor/lib/libmmqjpegdma.so
vendor/lib/liboemcamera.so
vendor/lib/libqomx_jpegdec.so
vendor/lib/libqomx_jpegenc.so
vendor/lib/libqomx_jpegenc_pipe.so
vendor/lib64/libmmcamera2_q3a_core.so
vendor/lib64/libmmcamera2_sensor_debug.so
vendor/lib64/libmmcamera2_stats_algorithm.so
# Camera chromatix
vendor/lib/libchromatix_s5k3m2xx_common.so
vendor/lib/libchromatix_s5k3m2xx_cpp_hfr_120.so
vendor/lib/libchromatix_s5k3m2xx_cpp_hfr_60.so
vendor/lib/libchromatix_s5k3m2xx_cpp_hfr_90.so
vendor/lib/libchromatix_s5k3m2xx_cpp_liveshot.so
vendor/lib/libchromatix_s5k3m2xx_cpp_preview.so
vendor/lib/libchromatix_s5k3m2xx_cpp_snapshot.so
vendor/lib/libchromatix_s5k3m2xx_cpp_video.so
vendor/lib/libchromatix_s5k3m2xx_cpp_video_4k.so
vendor/lib/libchromatix_s5k3m2xx_default_video.so
vendor/lib/libchromatix_s5k3m2xx_hfr_120.so
vendor/lib/libchromatix_s5k3m2xx_hfr_60.so
vendor/lib/libchromatix_s5k3m2xx_hfr_90.so
vendor/lib/libchromatix_s5k3m2xx_liveshot.so
vendor/lib/libchromatix_s5k3m2xx_postproc.so
vendor/lib/libchromatix_s5k3m2xx_preview.so
vendor/lib/libchromatix_s5k3m2xx_snapshot.so
vendor/lib/libchromatix_s5k3m2xx_video_4k.so
# Camera firmware
etc/firmware/cpp_firmware_v1_1_1.fw
etc/firmware/cpp_firmware_v1_1_6.fw
etc/firmware/cpp_firmware_v1_2_0.fw
etc/firmware/cpp_firmware_v1_4_0.fw
etc/firmware/cpp_firmware_v1_6_0.fw
etc/firmware/cpp_firmware_v1_8_0.fw
# Camera module
etc/flashled_calc_parameters.cfg
lib/libcameralight.so
lib64/libcameralight.so
vendor/camera/SOI25BS0_BU64747GWZ_XFW.dat
vendor/camera/SOI25BS4_BU64747GWZ_XCF.dat
vendor/camera/SOI25BS3_BU64747GWZ_XFW.dat
vendor/camera/SOI25BS4_BU64747GWZ_XFW.dat
vendor/camera/SOI25BS0/focus_stats_conv.dat
vendor/camera/SOI25BS0/multiframe_nr.dat
vendor/camera/SOI25BS0/image_conv_canele.dat
vendor/camera/SOI25BS0/jpeg_enc.dat
vendor/camera/SOI25BS0/flicker_detector.dat
vendor/camera/SOI25BS0/exposure_ctrl_diagram.dat
vendor/camera/SOI25BS0/lens_ctrl.dat
vendor/camera/SOI25BS0/multiframe_nr_mugichoco.dat
vendor/camera/SOI25BS0/snapshot_ctrl.dat
vendor/camera/SOI25BS0/hal_ctrl.dat
vendor/camera/SOI25BS0/scene_detector.dat
vendor/camera/SOI25BS0/color_ctrl.dat
vendor/camera/SOI25BS0/image_conv_marble.dat
vendor/camera/SOI25BS0/multiframe_nr_melonpan.dat
vendor/camera/SOI25BS0/food_comp_yummy.dat
vendor/camera/SOI25BS0/hal_ctrl_platform_gic.dat
vendor/camera/SOI25BS0/food_detector.dat
vendor/camera/SOI25BS0/object_tracker.dat
vendor/camera/SOI25BS0/image_conv_spica.dat
vendor/camera/SOI25BS0/face_detector.dat
vendor/camera/SOI25BS0/image_conv.dat
vendor/camera/SOI25BS0/dataflow.dat
vendor/camera/SOI25BS0/multiframe_nr_toppo.dat
vendor/camera/SOI25BS0/exposure_ctrl.dat
vendor/camera/SOI25BS0/hal_ctrl_platform_asf_lin.dat
vendor/camera/SOI25BS0/image_conv_raisin.dat
vendor/camera/SOI25BS0/hal_ctrl_platform.dat
vendor/camera/SOI25BS0/hdr_comp.dat
vendor/camera/SOI25BS0/idt_ctrl.dat
vendor/camera/SOI25BS0/debug_mgr.dat
vendor/camera/SOI25BS0/hal_ctrl_platform_abf.dat
vendor/camera/SOI25BS0/hal_ctrl_platform_asf_stp.dat
vendor/camera/SOI25BS0/motion_estimation.dat
vendor/camera/SOI25BS0/exposure_ctrl_gamma.dat
vendor/camera/SEM05BN0/focus_stats_conv.dat
vendor/camera/SEM05BN0/multiframe_nr.dat
vendor/camera/SEM05BN0/image_conv_canele.dat
vendor/camera/SEM05BN0/jpeg_enc.dat
vendor/camera/SEM05BN0/flicker_detector.dat
vendor/camera/SEM05BN0/exposure_ctrl_diagram.dat
vendor/camera/SEM05BN0/lens_ctrl.dat
vendor/camera/SEM05BN0/multiframe_nr_mugichoco.dat
vendor/camera/SEM05BN0/snapshot_ctrl.dat
vendor/camera/SEM05BN0/hal_ctrl.dat
vendor/camera/SEM05BN0/scene_detector.dat
vendor/camera/SEM05BN0/color_ctrl.dat
vendor/camera/SEM05BN0/image_conv_marble.dat
vendor/camera/SEM05BN0/multiframe_nr_melonpan.dat
vendor/camera/SEM05BN0/food_comp_yummy.dat
vendor/camera/SEM05BN0/hal_ctrl_platform_gic.dat
vendor/camera/SEM05BN0/food_detector.dat
vendor/camera/SEM05BN0/object_tracker.dat
vendor/camera/SEM05BN0/image_conv_spica.dat
vendor/camera/SEM05BN0/face_detector.dat
vendor/camera/SEM05BN0/image_conv.dat
vendor/camera/SEM05BN0/dataflow.dat
vendor/camera/SEM05BN0/multiframe_nr_toppo.dat
vendor/camera/SEM05BN0/exposure_ctrl.dat
vendor/camera/SEM05BN0/hal_ctrl_platform_asf_lin.dat
vendor/camera/SEM05BN0/image_conv_raisin.dat
vendor/camera/SEM05BN0/hal_ctrl_platform.dat
vendor/camera/SEM05BN0/hdr_comp.dat
vendor/camera/SEM05BN0/idt_ctrl.dat
vendor/camera/SEM05BN0/debug_mgr.dat
vendor/camera/SEM05BN0/hal_ctrl_platform_abf.dat
vendor/camera/SEM05BN0/hal_ctrl_platform_asf_stp.dat
vendor/camera/SEM05BN0/motion_estimation.dat
vendor/camera/SEM05BN0/exposure_ctrl_gamma.dat
vendor/camera/SEM05BN0_IMX241.dat
vendor/camera/SOI25BS3_BU64747GWZ.dat
vendor/camera/flash.dat
vendor/camera/snapshot.dat
vendor/camera/SOI25BS3_IMX300.dat
vendor/camera/SOI25BS1_BU64747GWZ_XCF.dat
vendor/camera/SOI25BS0_BU64747GWZ_XCF.dat
vendor/camera/SOI25BS1_BU64747GWZ.dat
vendor/camera/SOI25BS0_BU64747GWZ.dat
vendor/camera/SOI25BS4_IMX300.dat
vendor/camera/SOI25BS1/focus_stats_conv.dat
vendor/camera/SOI25BS1/multiframe_nr.dat
vendor/camera/SOI25BS1/image_conv_canele.dat
vendor/camera/SOI25BS1/jpeg_enc.dat
vendor/camera/SOI25BS1/flicker_detector.dat
vendor/camera/SOI25BS1/exposure_ctrl_diagram.dat
vendor/camera/SOI25BS1/lens_ctrl.dat
vendor/camera/SOI25BS1/multiframe_nr_mugichoco.dat
vendor/camera/SOI25BS1/snapshot_ctrl.dat
vendor/camera/SOI25BS1/hal_ctrl.dat
vendor/camera/SOI25BS1/scene_detector.dat
vendor/camera/SOI25BS1/color_ctrl.dat
vendor/camera/SOI25BS1/image_conv_marble.dat
vendor/camera/SOI25BS1/multiframe_nr_melonpan.dat
vendor/camera/SOI25BS1/food_comp_yummy.dat
vendor/camera/SOI25BS1/hal_ctrl_platform_gic.dat
vendor/camera/SOI25BS1/food_detector.dat
vendor/camera/SOI25BS1/object_tracker.dat
vendor/camera/SOI25BS1/image_conv_spica.dat
vendor/camera/SOI25BS1/face_detector.dat
vendor/camera/SOI25BS1/image_conv.dat
vendor/camera/SOI25BS1/dataflow.dat
vendor/camera/SOI25BS1/multiframe_nr_toppo.dat
vendor/camera/SOI25BS1/exposure_ctrl.dat
vendor/camera/SOI25BS1/hal_ctrl_platform_asf_lin.dat
vendor/camera/SOI25BS1/image_conv_raisin.dat
vendor/camera/SOI25BS1/hal_ctrl_platform.dat
vendor/camera/SOI25BS1/hdr_comp.dat
vendor/camera/SOI25BS1/idt_ctrl.dat
vendor/camera/SOI25BS1/debug_mgr.dat
vendor/camera/SOI25BS1/hal_ctrl_platform_abf.dat
vendor/camera/SOI25BS1/hal_ctrl_platform_asf_stp.dat
vendor/camera/SOI25BS1/motion_estimation.dat
vendor/camera/SOI25BS1/exposure_ctrl_gamma.dat
vendor/camera/SOI25BS4_BU64747GWZ.dat
vendor/camera/SOI25BS3/focus_stats_conv.dat
vendor/camera/SOI25BS3/multiframe_nr.dat
vendor/camera/SOI25BS3/image_conv_canele.dat
vendor/camera/SOI25BS3/jpeg_enc.dat
vendor/camera/SOI25BS3/flicker_detector.dat
vendor/camera/SOI25BS3/exposure_ctrl_diagram.dat
vendor/camera/SOI25BS3/lens_ctrl.dat
vendor/camera/SOI25BS3/multiframe_nr_mugichoco.dat
vendor/camera/SOI25BS3/snapshot_ctrl.dat
vendor/camera/SOI25BS3/hal_ctrl.dat
vendor/camera/SOI25BS3/scene_detector.dat
vendor/camera/SOI25BS3/color_ctrl.dat
vendor/camera/SOI25BS3/image_conv_marble.dat
vendor/camera/SOI25BS3/multiframe_nr_melonpan.dat
vendor/camera/SOI25BS3/food_comp_yummy.dat
vendor/camera/SOI25BS3/hal_ctrl_platform_gic.dat
vendor/camera/SOI25BS3/food_detector.dat
vendor/camera/SOI25BS3/object_tracker.dat
vendor/camera/SOI25BS3/image_conv_spica.dat
vendor/camera/SOI25BS3/face_detector.dat
vendor/camera/SOI25BS3/image_conv.dat
vendor/camera/SOI25BS3/dataflow.dat
vendor/camera/SOI25BS3/multiframe_nr_toppo.dat
vendor/camera/SOI25BS3/exposure_ctrl.dat
vendor/camera/SOI25BS3/hal_ctrl_platform_asf_lin.dat
vendor/camera/SOI25BS3/image_conv_raisin.dat
vendor/camera/SOI25BS3/hal_ctrl_platform.dat
vendor/camera/SOI25BS3/hdr_comp.dat
vendor/camera/SOI25BS3/idt_ctrl.dat
vendor/camera/SOI25BS3/debug_mgr.dat
vendor/camera/SOI25BS3/hal_ctrl_platform_abf.dat
vendor/camera/SOI25BS3/hal_ctrl_platform_asf_stp.dat
vendor/camera/SOI25BS3/motion_estimation.dat
vendor/camera/SOI25BS3/exposure_ctrl_gamma.dat
vendor/camera/SOI25BS0_IMX300.dat
vendor/camera/LGI05BN0/focus_stats_conv.dat
vendor/camera/LGI05BN0/multiframe_nr.dat
vendor/camera/LGI05BN0/image_conv_canele.dat
vendor/camera/LGI05BN0/jpeg_enc.dat
vendor/camera/LGI05BN0/flicker_detector.dat
vendor/camera/LGI05BN0/exposure_ctrl_diagram.dat
vendor/camera/LGI05BN0/lens_ctrl.dat
vendor/camera/LGI05BN0/multiframe_nr_mugichoco.dat
vendor/camera/LGI05BN0/snapshot_ctrl.dat
vendor/camera/LGI05BN0/hal_ctrl.dat
vendor/camera/LGI05BN0/scene_detector.dat
vendor/camera/LGI05BN0/color_ctrl.dat
vendor/camera/LGI05BN0/image_conv_marble.dat
vendor/camera/LGI05BN0/multiframe_nr_melonpan.dat
vendor/camera/LGI05BN0/food_comp_yummy.dat
vendor/camera/LGI05BN0/hal_ctrl_platform_gic.dat
vendor/camera/LGI05BN0/food_detector.dat
vendor/camera/LGI05BN0/object_tracker.dat
vendor/camera/LGI05BN0/image_conv_spica.dat
vendor/camera/LGI05BN0/face_detector.dat
vendor/camera/LGI05BN0/image_conv.dat
vendor/camera/LGI05BN0/dataflow.dat
vendor/camera/LGI05BN0/multiframe_nr_toppo.dat
vendor/camera/LGI05BN0/exposure_ctrl.dat
vendor/camera/LGI05BN0/hal_ctrl_platform_asf_lin.dat
vendor/camera/LGI05BN0/image_conv_raisin.dat
vendor/camera/LGI05BN0/hal_ctrl_platform.dat
vendor/camera/LGI05BN0/hdr_comp.dat
vendor/camera/LGI05BN0/idt_ctrl.dat
vendor/camera/LGI05BN0/debug_mgr.dat
vendor/camera/LGI05BN0/hal_ctrl_platform_abf.dat
vendor/camera/LGI05BN0/hal_ctrl_platform_asf_stp.dat
vendor/camera/LGI05BN0/motion_estimation.dat
vendor/camera/LGI05BN0/exposure_ctrl_gamma.dat
vendor/camera/SOI25BS2_IMX300.dat
vendor/camera/streaming.dat
vendor/camera/default.dat
vendor/camera/supported.dat
vendor/camera/SOI25BS2_BU64747GWZ.dat
vendor/camera/SOI25BS1_IMX300.dat
vendor/camera/SOI25BS3_BU64747GWZ_XCF.dat
vendor/camera/SOI25BS2/focus_stats_conv.dat
vendor/camera/SOI25BS2/multiframe_nr.dat
vendor/camera/SOI25BS2/image_conv_canele.dat
vendor/camera/SOI25BS2/jpeg_enc.dat
vendor/camera/SOI25BS2/flicker_detector.dat
vendor/camera/SOI25BS2/exposure_ctrl_diagram.dat
vendor/camera/SOI25BS2/lens_ctrl.dat
vendor/camera/SOI25BS2/multiframe_nr_mugichoco.dat
vendor/camera/SOI25BS2/snapshot_ctrl.dat
vendor/camera/SOI25BS2/hal_ctrl.dat
vendor/camera/SOI25BS2/scene_detector.dat
vendor/camera/SOI25BS2/color_ctrl.dat
vendor/camera/SOI25BS2/image_conv_marble.dat
vendor/camera/SOI25BS2/multiframe_nr_melonpan.dat
vendor/camera/SOI25BS2/food_comp_yummy.dat
vendor/camera/SOI25BS2/hal_ctrl_platform_gic.dat
vendor/camera/SOI25BS2/food_detector.dat
vendor/camera/SOI25BS2/object_tracker.dat
vendor/camera/SOI25BS2/image_conv_spica.dat
vendor/camera/SOI25BS2/face_detector.dat
vendor/camera/SOI25BS2/image_conv.dat
vendor/camera/SOI25BS2/dataflow.dat
vendor/camera/SOI25BS2/multiframe_nr_toppo.dat
vendor/camera/SOI25BS2/exposure_ctrl.dat
vendor/camera/SOI25BS2/hal_ctrl_platform_asf_lin.dat
vendor/camera/SOI25BS2/image_conv_raisin.dat
vendor/camera/SOI25BS2/hal_ctrl_platform.dat
vendor/camera/SOI25BS2/hdr_comp.dat
vendor/camera/SOI25BS2/idt_ctrl.dat
vendor/camera/SOI25BS2/debug_mgr.dat
vendor/camera/SOI25BS2/hal_ctrl_platform_abf.dat
vendor/camera/SOI25BS2/hal_ctrl_platform_asf_stp.dat
vendor/camera/SOI25BS2/motion_estimation.dat
vendor/camera/SOI25BS2/exposure_ctrl_gamma.dat
vendor/camera/SOI25BS2_BU64747GWZ_XFW.dat
vendor/camera/SOI25BS1_BU64747GWZ_XFW.dat
vendor/camera/version.dat
vendor/camera/SOI25BS2_BU64747GWZ_XCF.dat
vendor/camera/SOI25BS4/focus_stats_conv.dat
vendor/camera/SOI25BS4/multiframe_nr.dat
vendor/camera/SOI25BS4/image_conv_canele.dat
vendor/camera/SOI25BS4/jpeg_enc.dat
vendor/camera/SOI25BS4/flicker_detector.dat
vendor/camera/SOI25BS4/exposure_ctrl_diagram.dat
vendor/camera/SOI25BS4/lens_ctrl.dat
vendor/camera/SOI25BS4/multiframe_nr_mugichoco.dat
vendor/camera/SOI25BS4/snapshot_ctrl.dat
vendor/camera/SOI25BS4/hal_ctrl.dat
vendor/camera/SOI25BS4/scene_detector.dat
vendor/camera/SOI25BS4/color_ctrl.dat
vendor/camera/SOI25BS4/image_conv_marble.dat
vendor/camera/SOI25BS4/multiframe_nr_melonpan.dat
vendor/camera/SOI25BS4/food_comp_yummy.dat
vendor/camera/SOI25BS4/hal_ctrl_platform_gic.dat
vendor/camera/SOI25BS4/food_detector.dat
vendor/camera/SOI25BS4/object_tracker.dat
vendor/camera/SOI25BS4/image_conv_spica.dat
vendor/camera/SOI25BS4/face_detector.dat
vendor/camera/SOI25BS4/image_conv.dat
vendor/camera/SOI25BS4/dataflow.dat
vendor/camera/SOI25BS4/multiframe_nr_toppo.dat
vendor/camera/SOI25BS4/exposure_ctrl.dat
vendor/camera/SOI25BS4/hal_ctrl_platform_asf_lin.dat
vendor/camera/SOI25BS4/image_conv_raisin.dat
vendor/camera/SOI25BS4/hal_ctrl_platform.dat
vendor/camera/SOI25BS4/hdr_comp.dat
vendor/camera/SOI25BS4/idt_ctrl.dat
vendor/camera/SOI25BS4/debug_mgr.dat
vendor/camera/SOI25BS4/hal_ctrl_platform_abf.dat
vendor/camera/SOI25BS4/hal_ctrl_platform_asf_stp.dat
vendor/camera/SOI25BS4/motion_estimation.dat
vendor/camera/SOI25BS4/exposure_ctrl_gamma.dat
vendor/camera/LGI05BN0_IMX241.dat
vendor/lib/libactuator_ad5823.so
vendor/lib/libactuator_ad5823_camcorder.so
vendor/lib/libactuator_ad5823_camera.so
vendor/lib/libactuator_bu64244gwz.so
vendor/lib/libactuator_bu64244gwz_camcorder.so
vendor/lib/libactuator_bu64244gwz_camera.so
vendor/lib/libactuator_dw9714.so
vendor/lib/libactuator_dw9714_camcorder.so
vendor/lib/libactuator_dw9714_camera.so
vendor/lib/libactuator_dw9716.so
vendor/lib/libactuator_dw9716_camcorder.so
vendor/lib/libactuator_dw9716_camera.so
vendor/lib/libactuator_dw9761b.so
vendor/lib/libactuator_dw9761b_camcorder.so
vendor/lib/libactuator_dw9761b_camera.so
vendor/lib/libactuator_lc898122.so
vendor/lib/libactuator_lc898122_camcorder.so
vendor/lib/libactuator_lc898122_camera.so
vendor/lib/libactuator_lc898212xd.so
vendor/lib/libactuator_lc898212xd_camcorder.so
vendor/lib/libactuator_lc898212xd_camera.so
vendor/lib/libactuator_ov8825.so
vendor/lib/libactuator_ov8825_camcorder.so
vendor/lib/libactuator_ov8825_camera.so
vendor/lib/libactuator_rohm_bu64243gwz.so
vendor/lib/libactuator_rohm_bu64243gwz_camcorder.so
vendor/lib/libactuator_rohm_bu64243gwz_camera.so
vendor/lib/libflash_pmic.so
vendor/lib/libmmcamera_onsemi_cat24c32_eeprom.so
vendor/lib/libmmcamera_ov4688_eeprom.so
vendor/lib/libmmcamera_sony_imx214_eeprom.so
vendor/lib/libmmcamera_sonyimx135_eeprom.so
vendor/lib/libmmcamera_pdaf_v3.so
vendor/lib/libois_lc898122.so
# Cacao
lib/camera/libexcal_color_ctrl_plugin.so
lib/camera/libexcal_debug_display_plugin.so
lib/camera/libexcal_exposure_ctrl_plugin.so
lib/camera/libexcal_face_detector_plugin.so
lib/camera/libexcal_flicker_detector_plugin.so
lib/camera/libexcal_focus_stats_conv_plugin.so
lib/camera/libexcal_food_comp_plugin.so
lib/camera/libexcal_food_detector_plugin.so
lib/camera/libexcal_hal_ctrl_plugin.so
lib/camera/libexcal_hdr_plugin.so
lib/camera/libexcal_idt_ctrl_plugin.so
lib/camera/libexcal_image_conv_plugin.so
lib/camera/libexcal_iq_ctrl_plugin.so
lib/camera/libexcal_jpeg_enc_plugin.so
lib/camera/libexcal_lens_ctrl_plugin.so
lib/camera/libexcal_motion_estimation_plugin.so
lib/camera/libexcal_multiframe_nr_plugin.so
lib/camera/libexcal_object_tracker_plugin.so
lib/camera/libexcal_req_ctrl_plugin.so
lib/camera/libexcal_scene_detector_plugin.so
lib/camera/libexcal_snapshot_ctrl_plugin.so
lib/camera/libexcal_splitter_plugin.so
lib/camera/libexcal_stream_ctrl_plugin.so
lib/libcacao_client.so
lib/libcacao_common.so
lib/libcacao_imgproc.so
lib/libcacao_jpeg.so
lib/libcacao_service.so
lib/libcacao_system.so
lib/libexcal_core.so
lib/libexcal_legacy.so
lib/libexcal_pal.so
lib/libexcal_system.so
lib/libsomc_chokoballcmn.so
lib/libsomc_chokoballpal.so
# DRM
bin/qseecomd
vendor/lib/libQSEEComAPI.so
vendor/lib/libdrmfs.so
vendor/lib/libdrmtime.so
vendor/lib/librpmb.so
vendor/lib/libsecureui.so
vendor/lib/libsecureui_svcsock.so
vendor/lib/lib-sec-disp.so
vendor/lib/libssd.so
vendor/lib/libStDrvInt.so
vendor/lib64/libQSEEComAPI.so
vendor/lib64/libdrmfs.so
vendor/lib64/libdrmtime.so
vendor/lib64/librpmb.so
vendor/lib64/libsecureui.so
vendor/lib64/libsecureui_svcsock.so
vendor/lib64/lib-sec-disp.so
vendor/lib64/libssd.so
vendor/lib64/libStDrvInt.so
# NFC
lib64/hw/libpn547_fw.so
# Sensors
etc/sensors/hals.conf
etc/sensors/sensor_def_qcomdev.conf
bin/sensors.qcom
vendor/lib/libdataitems.so
vendor/lib/libsensor1.so
vendor/lib/libsensor_reg.so
vendor/lib/sensors.ssc.so
vendor/lib64/libdataitems.so
vendor/lib64/libsensor1.so
vendor/lib64/libsensor_reg.so
vendor/lib64/sensors.ssc.so
# Thermal
vendor/bin/thermal-engine
vendor/lib/libthermalclient.so
vendor/lib64/libthermalclient.so
vendor/lib64/libthermalioctl.so
lib64/liblights-core.so
lib/liblights-core.so
lib64/libidd.so
lib/libidd.so
# Touchscreen
etc/firmware/touch_module_id_0x01.img
etc/firmware/touch_module_id_0x07.img
etc/firmware/touch_module_id_0x1d.img
etc/firmware/touch_module_id_0x27.img
etc/firmware/touch_module_id_0xa1.img
etc/firmware/touch_module_id_0x22.img
etc/firmware/touch_module_id_0x03.img
etc/firmware/touch_module_id_0x2b.img
etc/firmware/touch_module_id_0x1e.img
etc/firmware/touch_module_id_0x08.img
etc/firmware/touch_module_id_0x1b.img
etc/firmware/touch_module_id_0x1f.img
etc/firmware/touch_module_id_0x26.img
etc/firmware/touch_module_id_0x2a.img
etc/firmware/touch_module_id_0xa0.img
etc/firmware/touch_module_id_0x1a.img
etc/firmware/touch_module_id_0x20.img
etc/firmware/touch_module_id_0x02.img
etc/firmware/touch_module_id_0x23.img
etc/firmware/touch_module_id_0x1c.img
etc/firmware/touch_module_id_0x05.img
etc/firmware/touch_module_id_0x04.img
etc/firmware/touch_module_id_0x06.img
etc/firmware/touch_module_id_0x21.img
etc/touch_fw_update.sh
# Wifi
etc/firmware/wlan/bcmdhd/fw_bcmdhd.bin
etc/firmware/wlan/bcmdhd/fw_bcmdhd_apsta.bin
# Fingerprint
vendor/firmware/tzfingerprint.mdt
vendor/firmware/tzfingerprint.b01
vendor/firmware/tzfingerprint.b02
vendor/firmware/tzfingerprint.b03
vendor/firmware/tzfingerprint.b00
lib/lib_fpc_tac_shared.so
lib64/lib_fpc_tac_shared.so
lib/hw/fingerprint.msm8994.so
lib/libcom_fingerprints_service.so
lib64/hw/fingerprint.msm8994.so
lib64/libcom_fingerprints_service.so

View File

@ -0,0 +1,145 @@
#!/system/bin/sh
################################################################################
# helper functions to allow Android init like script
function write() {
echo -n $2 > $1
}
function copy() {
cat $1 > $2
}
function get-set-forall() {
for f in $1 ; do
cat $f
write $f $2
done
}
################################################################################
# disable thermal bcl hotplug to switch governor
write /sys/module/msm_thermal/core_control/enabled 0
get-set-forall /sys/devices/soc.0/qcom,bcl.*/mode disable
bcl_hotplug_mask=`get-set-forall /sys/devices/soc.0/qcom,bcl.*/hotplug_mask 0`
bcl_hotplug_soc_mask=`get-set-forall /sys/devices/soc.0/qcom,bcl.*/hotplug_soc_mask 0`
get-set-forall /sys/devices/soc.0/qcom,bcl.*/mode enable
# some files in /sys/devices/system/cpu are created after the restorecon of
# /sys/. These files receive the default label "sysfs".
# Restorecon again to give new files the correct label.
restorecon -R /sys/devices/system/cpu
# ensure at most one A57 is online when thermal hotplug is disabled
write /sys/devices/system/cpu/cpu5/online 0
write /sys/devices/system/cpu/cpu6/online 0
write /sys/devices/system/cpu/cpu7/online 0
# Best effort limiting for first time boot if msm_performance module is absent
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq 960000
# Limit A57 max freq from msm_perf module in case CPU 4 is offline
write /sys/module/msm_performance/parameters/cpu_max_freq "4:960000 5:960000 6:960000 7:960000"
# configure governor settings for little cluster
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive
restorecon -R /sys/devices/system/cpu # must restore after interactive
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load 1
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif 1
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay 19000
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load 90
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate 10000
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq 960000
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy 1
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads 85
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time 20000
write /sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis 20000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 384000
# online CPU4
write /sys/devices/system/cpu/cpu4/online 1
# configure governor settings for big cluster
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor interactive
restorecon -R /sys/devices/system/cpu # must restore after interactive
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_sched_load 1
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_migration_notif 1
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay "19000 1400000:39000 1700000:19000"
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load 90
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_rate 10000
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq 1248000
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy 1
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads "85 1500000:90 1800000:70"
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/min_sample_time 40000
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/max_freq_hysteresis 20000
write /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_slack 10000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq 384000
# Enable boost for cgroup's tasks
write /dev/cpuctl/cpu.sched_boost 1
# Disallow upmigrate for cgroup's tasks
write /dev/cpuctl/bg_non_interactive/cpu.upmigrate_discourage 1
# restore A57's max
copy /sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_max_freq /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
# plugin remaining A57s
write /sys/devices/system/cpu/cpu5/online 1
write /sys/devices/system/cpu/cpu6/online 1
write /sys/devices/system/cpu/cpu7/online 1
# Restore CPU 4 max freq from msm_performance
write /sys/module/msm_performance/parameters/cpu_max_freq "4:4294967295 5:4294967295 6:4294967295 7:4294967295"
# input boost configuration
write /sys/module/cpu_boost/parameters/input_boost_freq "0:1344000"
write /sys/module/cpu_boost/parameters/input_boost_ms 40
# Configure core_ctl module parameters
write /sys/devices/system/cpu/cpu4/core_ctl/max_cpus 4
write /sys/devices/system/cpu/cpu4/core_ctl/min_cpus 1
write /sys/devices/system/cpu/cpu4/core_ctl/busy_up_thres 60
write /sys/devices/system/cpu/cpu4/core_ctl/busy_down_thres 30
write /sys/devices/system/cpu/cpu4/core_ctl/offline_delay_ms 100
write /sys/devices/system/cpu/cpu4/core_ctl/is_big_cluster 1
write /sys/devices/system/cpu/cpu4/core_ctl/task_thres 4
# Setting B.L scheduler parameters
write /proc/sys/kernel/sched_migration_fixup 1
write /proc/sys/kernel/sched_small_task 60
write /proc/sys/kernel/sched_upmigrate 99
write /proc/sys/kernel/sched_downmigrate 90
write /proc/sys/kernel/sched_init_task_load 30
write /proc/sys/kernel/sched_freq_inc_notify 400000
write /proc/sys/kernel/sched_freq_dec_notify 400000
get-set-forall /sys/devices/system/cpu/cpu\[0-3\]/sched_mostly_idle_nr_run 5
get-set-forall /sys/devices/system/cpu/cpu\[0-3\]/sched_mostly_idle_load 60
get-set-forall /sys/devices/system/cpu/cpu\[0-3\]/sched_mostly_idle_freq 960000
get-set-forall /sys/devices/system/cpu/cpu\[0-3\]/sched_prefer_idle 0
get-set-forall /sys/devices/system/cpu/cpu\[4-7\]/sched_mostly_idle_nr_run 3
get-set-forall /sys/devices/system/cpu/cpu\[4-7\]/sched_mostly_idle_load 20
get-set-forall /sys/devices/system/cpu/cpu\[4-7\]/sched_mostly_idle_freq 0
get-set-forall /sys/devices/system/cpu/cpu\[4-7\]/sched_prefer_idle 0
# android background processes are set to nice 10. Never schedule these on the a57s.
write /proc/sys/kernel/sched_upmigrate_min_nice 9
get-set-forall /sys/class/devfreq/qcom,cpubw*/governor bw_hwmon
get-set-forall /sys/class/devfreq/qcom,mincpubw*/governor cpufreq
# Disable sched_boost
write /proc/sys/kernel/sched_boost 0
# re-enable thermal and BCL hotplug
write /sys/module/msm_thermal/core_control/enabled 1
get-set-forall /sys/devices/soc.0/qcom,bcl.*/mode disable
get-set-forall /sys/devices/soc.0/qcom,bcl.*/hotplug_mask $bcl_hotplug_mask
get-set-forall /sys/devices/soc.0/qcom,bcl.*/hotplug_soc_mask $bcl_hotplug_soc_mask
get-set-forall /sys/devices/soc.0/qcom,bcl.*/mode enable
# change GPU initial power level from 305MHz(level 4) to 180MHz(level 5) for power savings
write /sys/class/kgsl/kgsl-3d0/default_pwrlevel 5

27
setup-makefiles.sh Executable file
View File

@ -0,0 +1,27 @@
#!/bin/bash
#
# Copyright (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set -e
FP=$(cd ${0%/*} && pwd -P)
export DEVICE=$(basename $FP)
export DEVICE_COMMON=kitakami-common
export VENDOR=$(basename $(dirname $FP))
export DEVICE_BRINGUP_YEAR=2016
./../../$VENDOR/$DEVICE_COMMON/setup-makefiles.sh $@

7
system.prop Normal file
View File

@ -0,0 +1,7 @@
# Display density
ro.sf.lcd_density=480
# Semc props
ro.semc.content.number=PA5
ro.semc.ms_type_id=PM-0908-BV
ro.semc.product.device=E68

17
vendorsetup.sh Normal file
View File

@ -0,0 +1,17 @@
#
# Copyright 2014 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.
#
add_lunch_combo lineage_satsuki-userdebug