sanders: Initial device tree

Signed-off-by: Jorge Lucas <jorgelucas@pixelexperience.org>
This commit is contained in:
Jorge Lucas
2020-12-08 15:54:06 +00:00
commit f72720d601
36 changed files with 9450 additions and 0 deletions

2
Android.bp Normal file
View File

@@ -0,0 +1,2 @@
soong_namespace {
}

22
Android.mk Normal file
View File

@@ -0,0 +1,22 @@
# Copyright (C) 2020 The PixelExperience 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.
LOCAL_PATH := $(call my-dir)
ifneq ($(filter sanders, $(TARGET_DEVICE)),)
subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH))
$(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk)))
include $(CLEAR_VARS)
endif

22
AndroidProducts.mk Normal file
View File

@@ -0,0 +1,22 @@
# Copyright (C) 2020 The PixelExperience 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 Moto G (5S) Plus device config
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_sanders.mk
COMMON_LUNCH_CHOICES := \
aosp_sanders-user \
aosp_sanders-userdebug \
aosp_sanders-eng

52
BoardConfig.mk Normal file
View File

@@ -0,0 +1,52 @@
# Copyright (C) 2020 The PixelExperience 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 motorola msm8953-common
-include device/motorola/msm8953-common/BoardConfigCommon.mk
DEVICE_PATH := device/motorola/sanders
# Assertions
TARGET_OTA_ASSERT_DEVICE := sanders
# Display
TARGET_SCREEN_DENSITY := 480
# Kernel
BOARD_KERNEL_SEPARATED_DT := true
BOARD_DTBTOOL_ARGS := --force-v3
BOARD_KERNEL_IMAGE_NAME := Image.gz
TARGET_KERNEL_CONFIG := sanders_defconfig
# Keymaster
TARGET_PROVIDES_KEYMASTER := true
# Recovery
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom
# NFC
NXP_CHIP_TYPE := PN551
# Partitions
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4294967296
BOARD_VENDORIMAGE_PARTITION_SIZE := 805306368
BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 33554432
BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += $(DEVICE_PATH)
# inherit from the proprietary version
-include vendor/motorola/sanders/BoardConfigVendor.mk

24
README.md Normal file
View File

@@ -0,0 +1,24 @@
Copyright (C) 2020 The PixelExperience Project
The Motorola Moto G (5S) Plus (codenamed _"sanders"_) is a mid-range phone from Motorola.
Motorola Moto G (5S) Plus was announced and released in August 2017.
## Device specifications
| Device | Motorola Moto G (5S) Plus
| -----------: | :----------------------------------------------
| SoC | Qualcomm MSM8953 Snapdragon 625 (14 nm)
| CPU | Octa-core 2.0 GHz Cortex-A53
| GPU | Adreno 506
| Memory | 3GB / 4GB RAM |
| Storage | 32/64 eMMC 5.1
| Battery | Non-removable Li-Po 3000 mAh
| Dimensions | 153.5 x 76.2 x 8 mm
| Display | 1080x1920 pixels, 5.5
|Rear Camera | 13 MP, f/2.0, AF, 13 MP, (depth)
|Front Camera | 8 MP, f/2.0
## Device picture
![Motorola Moto G (5S) Plus](https://brmotorola.vteximg.com.br/arquivos/ids/155684-1000-1000/motorola_g5s_plus_A_01.jpg "Motorola Moto G (5S) Plus")

33
aosp_sanders.mk Normal file
View File

@@ -0,0 +1,33 @@
# Copyright (C) 2020 The PixelExperience 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 sanders device
$(call inherit-product, device/motorola/sanders/device.mk)
# Inherit some common Pixel Experience stuff.
$(call inherit-product, vendor/aosp/config/common_full_phone.mk)
TARGET_GAPPS_ARCH := arm64
TARGET_BOOT_ANIMATION_RES := 1080
TARGET_INCLUDE_LIVE_WALLPAPERS := false
## Device identifier. This must come after all inclusions
PRODUCT_BRAND := motorola
PRODUCT_MANUFACTURER := motorola
PRODUCT_NAME := aosp_sanders
PRODUCT_DEVICE := sanders
PRODUCT_MODEL := Moto G (5S) Plus
# Build Fingerprint
PRODUCT_BUILD_PROP_OVERRIDES += \
PRIVATE_BUILD_DESC="sanders-user 8.1.0 OPS28.65-36 9fea release-keys"

View File

@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
<audio_effects_conf version="2.0" xmlns="http://schemas.android.com/audio/audio_effects_conf/v2_0">
<libraries>
<library name="bundle" path="libbundlewrapper.so"/>
<library name="reverb" path="libreverbwrapper.so"/>
<library name="visualizer_sw" path="libvisualizer.so"/>
<library name="visualizer_hw" path="libqcomvisualizer.so"/>
<library name="downmix" path="libdownmix.so"/>
<library name="dynamics_processing" path="libdynproc.so"/>
<library name="loudness_enhancer" path="libldnhncr.so"/>
<library name="proxy" path="libeffectproxy.so"/>
<library name="offload_bundle" path="libqcompostprocbundle.so"/>
<library name="audio_pre_processing" path="libqcomvoiceprocessing.so"/>
</libraries>
<effects>
<effectProxy name="bassboost" library="proxy" uuid="14804144-a5ee-4d24-aa88-0002a5d5c51b">
<libsw library="bundle" uuid="8631f300-72e2-11df-b57e-0002a5d5c51b"/>
<libhw library="offload_bundle" uuid="2c4a8c24-1581-487f-94f6-0002a5d5c51b"/>
</effectProxy>
<effectProxy name="virtualizer" library="proxy" uuid="d3467faa-acc7-4d34-acaf-0002a5d5c51b">
<libsw library="bundle" uuid="1d4033c0-8557-11df-9f2d-0002a5d5c51b"/>
<libhw library="offload_bundle" uuid="509a4498-561a-4bea-b3b1-0002a5d5c51b"/>
</effectProxy>
<effectProxy name="equalizer" library="proxy" uuid="c8e70ecd-48ca-456e-8a4f-0002a5d5c51b">
<libsw library="bundle" uuid="ce772f20-847d-11df-bb17-0002a5d5c51b"/>
<libhw library="offload_bundle" uuid="a0dac280-401c-11e3-9379-0002a5d5c51b"/>
</effectProxy>
<effect name="volume" library="bundle" uuid="119341a0-8469-11df-81f9-0002a5d5c51b"/>
<effectProxy name="reverb_env_aux" library="proxy" uuid="48404ac9-d202-4ccc-bf84-0002a5d5c51b">
<libsw library="reverb" uuid="4a387fc0-8ab3-11df-8bad-0002a5d5c51b"/>
<libhw library="offload_bundle" uuid="79a18026-18fd-4185-8233-0002a5d5c51b"/>
</effectProxy>
<effectProxy name="reverb_env_ins" library="proxy" uuid="b707403a-a1c1-4291-9573-0002a5d5c51b">
<libsw library="reverb" uuid="c7a511a0-a3bb-11df-860e-0002a5d5c51b"/>
<libhw library="offload_bundle" uuid="eb64ea04-973b-43d2-8f5e-0002a5d5c51b"/>
</effectProxy>
<effectProxy name="reverb_pre_aux" library="proxy" uuid="1b78f587-6d1c-422e-8b84-0002a5d5c51b">
<libsw library="reverb" uuid="f29a1400-a3bb-11df-8ddc-0002a5d5c51b"/>
<libhw library="offload_bundle" uuid="6987be09-b142-4b41-9056-0002a5d5c51b"/>
</effectProxy>
<effectProxy name="reverb_pre_ins" library="proxy" uuid="f3e178d2-ebcb-408e-8357-0002a5d5c51b">
<libsw library="reverb" uuid="172cdf00-a3bc-11df-a72f-0002a5d5c51b"/>
<libhw library="offload_bundle" uuid="aa2bebf6-47cf-4613-9bca-0002a5d5c51b"/>
</effectProxy>
<effectProxy name="visualizer" library="proxy" uuid="1d0a1a53-7d5d-48f2-8e71-27fbd10d842c">
<libsw library="visualizer_sw" uuid="d069d9e0-8329-11df-9168-0002a5d5c51b"/>
<libhw library="visualizer_hw" uuid="7a8044a0-1a71-11e3-a184-0002a5d5c51b"/>
</effectProxy>
<effect name="downmix" library="downmix" uuid="93f04452-e4fe-41cc-91f9-e475b6d1d69f"/>
<effect name="loudness_enhancer" library="loudness_enhancer" uuid="fa415329-2034-4bea-b5dc-5b381c8d1e2c"/>
<effect name="aec" library="audio_pre_processing" uuid="0f8d0d2a-59e5-45fe-b6e4-248c8a799109"/>
<effect name="ns" library="audio_pre_processing" uuid="1d97bb0b-9e2f-4403-9ae3-58c2554306f8"/>
<effect name="dynamics_processing" library="dynamics_processing" uuid="e0e6539b-1781-7261-676f-6d7573696340"/>
</effects>
<preprocess>
<stream type="voice_communication">
<apply effect="aec"/>
<apply effect="ns"/>
</stream>
</preprocess>
</audio_effects_conf>

View File

@@ -0,0 +1,25 @@
global_config {
name Sanders
sonification_pad 20
}
ring {
#dB to attenuate playback to meet safety level at each volume step
#16 steps total, 15...0. In case of truncated list, last attenuation
#given will be applied to all lower volume steps
#attenuation 28,28,25,25,22,22,20,20,20,20,20,20,20,20,20,20
}
voice {
#dB to attenuate playback to meet safety level at each volume step
#16 steps total, 15...0. In case of truncated list, last attenuation
#given will be applied to all lower volume steps
#attenuation 35,35,32,32,29,29,26,26,23,23,20,20,17,17,14,14
}
media {
#dB to attenuate playback to meet safety level at each volume step
#16 steps total, 15...0. In case of truncated list, last attenuation
#given will be applied to all lower volume steps
#attenuation 38,36,34,32,30,28,26,24,22,20,18,16,14,12,10,8
}

View File

@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<audio_platform_info>
<acdb_ids>
<!-- Output devices -->
<device name="SND_DEVICE_OUT_VOICE_HANDSET" acdb_id="7"/>
<device name="SND_DEVICE_OUT_VOICE_HANDSET_TMUS" acdb_id="7"/>
<device name="SND_DEVICE_OUT_VOICE_TTY_HCO_HANDSET" acdb_id="7"/>
<device name="SND_DEVICE_OUT_HEADPHONES" acdb_id="9"/>
<device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" acdb_id="9"/>
<device name="SND_DEVICE_OUT_SPEAKER_SAFE_AND_HEADPHONES" acdb_id="9"/>
<device name="SND_DEVICE_OUT_VOICE_HEADPHONES" acdb_id="10"/>
<device name="SND_DEVICE_OUT_SPEAKER" acdb_id="14"/>
<device name="SND_DEVICE_OUT_VOICE_SPEAKER" acdb_id="15"/>
<device name="SND_DEVICE_OUT_SPEAKER_PROTECTED" acdb_id="14"/>
<device name="SND_DEVICE_OUT_SPEAKER_REVERSE" acdb_id="14"/>
<device name="SND_DEVICE_OUT_SPEAKER_SAFE" acdb_id="14"/>
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_PROTECTED" acdb_id="15"/>
<device name="SND_DEVICE_OUT_VOICE_LINE" acdb_id="78"/>
<device name="SND_DEVICE_OUT_VOLTE_NB_ANC_HANDSET" acdb_id="200"/>
<device name="SND_DEVICE_OUT_VOLTE_NB_HANDSET_TMUS" acdb_id="200"/>
<device name="SND_DEVICE_OUT_VOLTE_NB_TX" acdb_id="245" />
<!-- Input devices -->
<device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK" acdb_id="0"/>
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC" acdb_id="4"/>
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC_NS" acdb_id="4"/>
<device name="SND_DEVICE_IN_HANDSET_MIC_NS" acdb_id="4"/>
<device name="SND_DEVICE_IN_VOICE_TTY_VCO_HANDSET_MIC" acdb_id="4"/>
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC" acdb_id="114" />
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_NS" acdb_id="114" />
<device name="SND_DEVICE_IN_SPEAKER_MIC_NS" acdb_id="114" />
<device name="SND_DEVICE_IN_VOICE_REC_DMIC_FLUENCE" acdb_id="35"/>
<device name="SND_DEVICE_IN_VOICE_DMIC_TMUS" acdb_id="89"/>
<device name="SND_DEVICE_IN_VOICE_SPEAKER_MIC" acdb_id="42" />
<device name="SND_DEVICE_IN_HEADSET_MIC_AEC" acdb_id="47"/>
<device name="SND_DEVICE_IN_VOICE_REC_MIC_NS" acdb_id="62"/>
<device name="SND_DEVICE_IN_HANDSET_DMIC_AEC" acdb_id="111"/>
<device name="SND_DEVICE_IN_HANDSET_DMIC_NS" acdb_id="111"/>
<device name="SND_DEVICE_IN_VOICE_REC_HEADSET_MIC" acdb_id="131"/>
<device name="SND_DEVICE_IN_CAMCORDER_BF" acdb_id="34"/>
<device name="SND_DEVICE_IN_CAPTURE_FM" acdb_id="90"/>
</acdb_ids>
<backend_names>
<device name="SND_DEVICE_OUT_SPEAKER" backend="speaker" />
<device name="SND_DEVICE_OUT_VOICE_SPEAKER" backend="speaker" />
<device name="SND_DEVICE_OUT_VOLTE_NB_SPEAKER" backend="speaker" />
<device name="SND_DEVICE_OUT_SPEAKER_SAFE" backend="speaker" />
<device name="SND_DEVICE_OUT_SPEAKER_REVERSE" backend="speaker" />
<device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" backend="speaker-and-headphones" />
<device name="SND_DEVICE_OUT_SPEAKER_AND_LINE" backend="speaker-and-headphones" />
<device name="SND_DEVICE_OUT_SPEAKER_SAFE_AND_HEADPHONES" backend="speaker-and-headphones" />
<device name="SND_DEVICE_OUT_SPEAKER_SAFE_AND_LINE" backend="speaker-and-headphones" />
<device name="SND_DEVICE_OUT_SPEAKER_AND_BT_SCO" backend="speaker-and-bt-sco"/>
<device name="SND_DEVICE_OUT_SPEAKER_AND_BT_SCO_WB" backend="speaker-and-bt-sco-wb"/>
</backend_names>
<pcm_ids>
<usecase name="USECASE_AUDIO_PLAYBACK_LOW_LATENCY" type="out" id="12"/>
<usecase name="USECASE_AUDIO_RECORD_LOW_LATENCY" type="in" id="12"/>
<usecase name="USECASE_VOICEMMODE1_CALL" type="in" id="34"/>
<usecase name="USECASE_VOICEMMODE1_CALL" type="out" id="34"/>
<usecase name="USECASE_VOICEMMODE2_CALL" type="in" id="35"/>
<usecase name="USECASE_VOICEMMODE2_CALL" type="out" id="35"/>
<usecase name="USECASE_VOLTE_CALL" type="in" id="15"/>
<usecase name="USECASE_VOLTE_CALL" type="out" id="15"/>
<usecase name="USECASE_VOWLAN_CALL" type="in" id="16"/>
<usecase name="USECASE_VOWLAN_CALL" type="out" id="16"/>
<usecase name="USECASE_AUDIO_DSM_FEEDBACK" type="in" id="60" />
</pcm_ids>
<config_params>
<param key="input_mic_max_count" value="2" />
</config_params>
</audio_platform_info>

View File

@@ -0,0 +1,163 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<!-- version section contains a “version” tag in the form “major.minor” e.g version=”1.0” -->
<!-- Modules section:
There is one section per audio HW module present on the platform.
Each module section will contains two mandatory tags for audio HAL “halVersion” and “name”.
The module names are the same as in current .conf file:
“primary”, “A2DP”, “remote_submix”, “USB”
Each module will contain the following sections:
“devicePorts”: a list of device descriptors for all input and output devices accessible via this
module.
This contains both permanently attached devices and removable devices.
“mixPorts”: listing all output and input streams exposed by the audio HAL
“routes”: list of possible connections between input and output devices or between stream and
devices.
"route": is defined by an attribute:
-"type": <mux|mix> means all sources are mutual exclusive (mux) or can be mixed (mix)
-"sink": the sink involved in this route
-"sources": all the sources than can be connected to the sink via vis route
“attachedDevices”: permanently attached devices.
The attachedDevices section is a list of devices names. The names correspond to device names
defined in <devicePorts> section.
“defaultOutputDevice”: device to be used by default when no policy rule applies
-->
<modules>
<!-- Primary Audio HAL -->
<module name="primary" halVersion="3.0">
<attachedDevices>
<item>Earpiece</item>
<item>Speaker</item>
<item>Telephony Tx</item>
<item>Built-In Mic</item>
<item>Built-In Back Mic</item>
<item>Telephony Rx</item>
<item>FM tuner</item>
</attachedDevices>
<defaultOutputDevice>Speaker</defaultOutputDevice>
<mixPorts>
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_PRIMARY">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="41000,48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="deep_buffer" role="source"
flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="compressed_offload" role="source"
flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING">
<profile name="" format="AUDIO_FORMAT_MP3"
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_AAC_LC"
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_FLAC"
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
</mixPort>
<mixPort name="voice_tx" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
</mixPort>
<mixPort name="primary input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK,AUDIO_CHANNEL_INDEX_MASK_3"/>
<profile name="" format="AUDIO_FORMAT_PCM_8_24_BIT"
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK,AUDIO_CHANNEL_INDEX_MASK_3"/>
</mixPort>
<mixPort name="voice_rx" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
<devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink">
</devicePort>
<devicePort tagName="Speaker" type="AUDIO_DEVICE_OUT_SPEAKER" role="sink">
</devicePort>
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
</devicePort>
<devicePort tagName="Line Out" type="AUDIO_DEVICE_OUT_LINE" role="sink">
</devicePort>
<devicePort tagName="Dock Headset" type="AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET" role="sink">
</devicePort>
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_ALL_SCO" role="sink">
</devicePort>
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
</devicePort>
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
</devicePort>
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
</devicePort>
<devicePort tagName="Telephony Rx" type="AUDIO_DEVICE_IN_TELEPHONY_RX" role="source">
</devicePort>
<devicePort tagName="FM tuner" type="AUDIO_DEVICE_IN_FM_TUNER" role="source">
</devicePort>
</devicePorts>
<!-- route declaration, i.e. list all available sources for a given sink -->
<routes>
<route type="mix" sink="Earpiece"
sources="primary output,deep_buffer,compressed_offload"/>
<route type="mix" sink="Speaker"
sources="primary output,deep_buffer,compressed_offload"/>
<route type="mix" sink="Wired Headset"
sources="primary output,deep_buffer,compressed_offload"/>
<route type="mix" sink="Wired Headphones"
sources="primary output,deep_buffer,compressed_offload"/>
<route type="mix" sink="Line Out"
sources="primary output,deep_buffer,compressed_offload"/>
<route type="mix" sink="Dock Headset"
sources="primary output,deep_buffer"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep_buffer,compressed_offload"/>
<route type="mix" sink="HDMI Out"
sources="primary output,deep_buffer,compressed_offload"/>
<route type="mix" sink="Telephony Tx"
sources="voice_tx"/>
<route type="mix" sink="primary input"
sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic,BT SCO Headset Mic,FM tuner"/>
<route type="mix" sink="voice_rx"
sources="Telephony Rx"/>
</routes>
</module>
<!-- A2dp Audio HAL -->
<xi:include href="a2dp_audio_policy_configuration.xml"/>
<!-- Usb Audio HAL -->
<xi:include href="usb_audio_policy_configuration.xml"/>
<!-- Remote Submix Audio HAL -->
<xi:include href="r_submix_audio_policy_configuration.xml"/>
</modules>
<!-- End of Modules section -->
<!-- Volume section -->
<xi:include href="audio_policy_volumes.xml"/>
<xi:include href="default_volume_tables.xml"/>
<!-- End of Volume section -->
</audioPolicyConfiguration>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,108 @@
<!--
Copyright (c) 2015 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
CommonChromatixInfo:
CommonChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are common for all sensor modes.
ResolutionChromatixInfo:
ResolutionChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are specific to sensor resolution.
ChromatixName:
Contains the list of chromatix names for all modules.
special_mode_mask:
It is the bit mask for special modes, which is used for
chromatix selection.
Special modes can be any mode that needs a special chromatix.
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
This is applicable for CommonChromatixInfo and
ResolutionChromatixInfo.
special_mode_mask="0" means none of the special modes are
selected.
sensor_resolution_index:
It is the sensor resolution index for which chromatix libraries
will be choosen.
It is applicable only in ResolutionChromatixInfo.
ISPCommon :
Common tuning library name for ISP
ISPPreview :
Preview tuning library name for ISP
ISPSnapshot :
Snapshot tuning library name for ISP
CPPCommon :
Common tuning library name for CPP
CPPPreview :
Preview tuning library name for CPP
CPPSnapshot :
Snapshot tuning library name for CPP
CPPLiveshot :
Liveshot tuning library name for CPP
PostProc :
Tuning library name for postproc module
A3Preview :
Preview tuning library for 3A
A3Video :
Video tuning library for 3A
Order of Resolution Pick:
Assume the current sensor mode is "r" and special mode mask is "s".
Chromatix for a module and type is choosen in this order till we find a
valid chroamtix file name or else NULL is returned.
1) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "s".
2) From CommonChromatixInfo node for which special_mode_mask is "s".
3) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "0".
4) From CommonChromatixInfo node for which special_mode_mask is "0".
5) NULL is returned if we dont find in any of the above cases.
special_mode_mask values:
SENSOR_SPECIAL_MODE_NONE = 0,
SENSOR_SPECIAL_MODE_FLASH = 1,
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
-->
<ChromatixConfigurationRoot>
<CommonChromatixInfo>
<ChromatixName>
<ISPCommon>imx219_common</ISPCommon>
<PostProc>imx219_postproc</PostProc>
<CPPPreview>imx219_cpp_preview</CPPPreview>
<CPPSnapshot>imx219_cpp_snapshot</CPPSnapshot>
<CPPLiveshot>imx219_cpp_liveshot</CPPLiveshot>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0">
<ISPPreview>imx219_snapshot</ISPPreview>
<ISPSnapshot>imx219_snapshot</ISPSnapshot>
<ISPVideo>imx219_video_full</ISPVideo>
<CPPVideo>imx219_cpp_video_full</CPPVideo>
<A3Preview>imx219_zsl_preview_3a</A3Preview>
<A3Video>imx219_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1">
<ISPPreview>imx219_hfr_120</ISPPreview>
<ISPSnapshot>imx219_hfr_120</ISPSnapshot>
<ISPVideo>imx219_hfr_120</ISPVideo>
<CPPVideo>imx219_cpp_hfr_120</CPPVideo>
<A3Preview>imx219_hfr_120_3a</A3Preview>
<A3Video>imx219_hfr_120_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>

View File

@@ -0,0 +1,123 @@
<!--
Copyright (c) 2016 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
CommonChromatixInfo:
CommonChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are common for all sensor modes.
ResolutionChromatixInfo:
ResolutionChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are specific to sensor resolution.
ChromatixName:
Contains the list of chromatix names for all modules.
special_mode_mask:
It is the bit mask for special modes, which is used for
chromatix selection.
Special modes can be any mode that needs a special chromatix.
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
This is applicable for CommonChromatixInfo and
ResolutionChromatixInfo.
special_mode_mask="0" means none of the special modes are
selected.
sensor_resolution_index:
It is the sensor resolution index for which chromatix libraries
will be choosen.
It is applicable only in ResolutionChromatixInfo.
ISPCommon :
Common tuning library name for ISP
ISPPreview :
Preview tuning library name for ISP
ISPSnapshot :
Snapshot tuning library name for ISP
CPPCommon :
Common tuning library name for CPP
CPPPreview :
Preview tuning library name for CPP
CPPSnapshot :
Snapshot tuning library name for CPP
CPPLiveshot :
Liveshot tuning library name for CPP
PostProc :
Tuning library name for postproc module
A3Preview :
Preview tuning library for 3A
A3Video :
Video tuning library for 3A
Order of Resolution Pick:
Assume the current sensor mode is "r" and special mode mask is "s".
Chromatix for a module and type is choosen in this order till we find a
valid chroamtix file name or else NULL is returned.
1) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "s".
2) From CommonChromatixInfo node for which special_mode_mask is "s".
3) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "0".
4) From CommonChromatixInfo node for which special_mode_mask is "0".
5) NULL is returned if we dont find in any of the above cases.
special_mode_mask values:
SENSOR_SPECIAL_MODE_NONE = 0,
SENSOR_SPECIAL_MODE_FLASH = 1,
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
-->
<ChromatixConfigurationRoot>
<CommonChromatixInfo>
<ChromatixName>
<ISPCommon>mot_imx258_bear_common</ISPCommon>
<PostProc>mot_imx258_bear_postproc</PostProc>
<CPPPreview>mot_imx258_bear_cpp_preview</CPPPreview>
<CPPSnapshot>mot_imx258_bear_cpp_snapshot</CPPSnapshot>
<CPPLiveshot>mot_imx258_bear_cpp_liveshot</CPPLiveshot>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0">
<ISPPreview>mot_imx258_bear_snapshot</ISPPreview>
<ISPSnapshot>mot_imx258_bear_snapshot</ISPSnapshot>
<ISPVideo>mot_imx258_bear_default_video</ISPVideo>
<CPPVideo>mot_imx258_bear_cpp_video</CPPVideo>
<A3Preview>mot_imx258_bear_zsl_preview_3a</A3Preview>
<A3Video>mot_imx258_bear_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1">
<ISPPreview>mot_imx258_bear_preview</ISPPreview>
<ISPSnapshot>mot_imx258_bear_preview</ISPSnapshot>
<ISPVideo>mot_imx258_bear_preview</ISPVideo>
<CPPVideo>mot_imx258_bear_cpp_video</CPPVideo>
<A3Preview>mot_imx258_bear_4k_preview_3a</A3Preview>
<A3Video>mot_imx258_bear_4k_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2">
<ISPPreview>mot_imx258_bear_hfr_60</ISPPreview>
<ISPSnapshot>mot_imx258_bear_hfr_60</ISPSnapshot>
<ISPVideo>mot_imx258_bear_hfr_60</ISPVideo>
<CPPVideo>mot_imx258_bear_cpp_hfr_60</CPPVideo>
<A3Preview>mot_imx258_bear_hfr_60_3a</A3Preview>
<A3Video>mot_imx258_bear_hfr_60_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3">
<ISPPreview>mot_imx258_bear_hfr_120</ISPPreview>
<ISPSnapshot>mot_imx258_bear_hfr_120</ISPSnapshot>
<ISPVideo>mot_imx258_bear_hfr_120</ISPVideo>
<CPPVideo>mot_imx258_bear_cpp_hfr_120</CPPVideo>
<A3Preview>mot_imx258_bear_hfr_120_3a</A3Preview>
<A3Video>mot_imx258_bear_hfr_120_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>

View File

@@ -0,0 +1,123 @@
<!--
Copyright (c) 2016 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
CommonChromatixInfo:
CommonChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are common for all sensor modes.
ResolutionChromatixInfo:
ResolutionChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are specific to sensor resolution.
ChromatixName:
Contains the list of chromatix names for all modules.
special_mode_mask:
It is the bit mask for special modes, which is used for
chromatix selection.
Special modes can be any mode that needs a special chromatix.
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
This is applicable for CommonChromatixInfo and
ResolutionChromatixInfo.
special_mode_mask="0" means none of the special modes are
selected.
sensor_resolution_index:
It is the sensor resolution index for which chromatix libraries
will be choosen.
It is applicable only in ResolutionChromatixInfo.
ISPCommon :
Common tuning library name for ISP
ISPPreview :
Preview tuning library name for ISP
ISPSnapshot :
Snapshot tuning library name for ISP
CPPCommon :
Common tuning library name for CPP
CPPPreview :
Preview tuning library name for CPP
CPPSnapshot :
Snapshot tuning library name for CPP
CPPLiveshot :
Liveshot tuning library name for CPP
PostProc :
Tuning library name for postproc module
A3Preview :
Preview tuning library for 3A
A3Video :
Video tuning library for 3A
Order of Resolution Pick:
Assume the current sensor mode is "r" and special mode mask is "s".
Chromatix for a module and type is choosen in this order till we find a
valid chroamtix file name or else NULL is returned.
1) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "s".
2) From CommonChromatixInfo node for which special_mode_mask is "s".
3) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "0".
4) From CommonChromatixInfo node for which special_mode_mask is "0".
5) NULL is returned if we dont find in any of the above cases.
special_mode_mask values:
SENSOR_SPECIAL_MODE_NONE = 0,
SENSOR_SPECIAL_MODE_FLASH = 1,
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
-->
<ChromatixConfigurationRoot>
<CommonChromatixInfo>
<ChromatixName>
<ISPCommon>mot_imx258_mono_common</ISPCommon>
<PostProc>mot_imx258_mono_postproc</PostProc>
<CPPPreview>mot_imx258_mono_cpp_preview</CPPPreview>
<CPPSnapshot>mot_imx258_mono_cpp_snapshot</CPPSnapshot>
<CPPLiveshot>mot_imx258_mono_cpp_liveshot</CPPLiveshot>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0">
<ISPPreview>mot_imx258_mono_snapshot</ISPPreview>
<ISPSnapshot>mot_imx258_mono_snapshot</ISPSnapshot>
<ISPVideo>mot_imx258_mono_default_video</ISPVideo>
<CPPVideo>mot_imx258_mono_cpp_video</CPPVideo>
<A3Preview>mot_imx258_mono_zsl_preview_3a</A3Preview>
<A3Video>mot_imx258_mono_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1">
<ISPPreview>mot_imx258_mono_preview</ISPPreview>
<ISPSnapshot>mot_imx258_mono_preview</ISPSnapshot>
<ISPVideo>mot_imx258_mono_preview</ISPVideo>
<CPPVideo>mot_imx258_mono_cpp_video</CPPVideo>
<A3Preview>mot_imx258_mono_4k_preview_3a</A3Preview>
<A3Video>mot_imx258_mono_4k_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2">
<ISPPreview>mot_imx258_mono_hfr_60</ISPPreview>
<ISPSnapshot>mot_imx258_mono_hfr_60</ISPSnapshot>
<ISPVideo>mot_imx258_mono_hfr_60</ISPVideo>
<CPPVideo>mot_imx258_mono_cpp_hfr_60</CPPVideo>
<A3Preview>mot_imx258_mono_hfr_60_3a</A3Preview>
<A3Video>mot_imx258_mono_hfr_60_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3">
<ISPPreview>mot_imx258_mono_hfr_120</ISPPreview>
<ISPSnapshot>mot_imx258_mono_hfr_120</ISPSnapshot>
<ISPVideo>mot_imx258_mono_hfr_120</ISPVideo>
<CPPVideo>mot_imx258_mono_cpp_hfr_120</CPPVideo>
<A3Preview>mot_imx258_mono_hfr_120_3a</A3Preview>
<A3Video>mot_imx258_mono_hfr_120_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>

View File

@@ -0,0 +1,138 @@
<!--
Copyright (c) 2016 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
CommonChromatixInfo:
CommonChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are common for all sensor modes.
ResolutionChromatixInfo:
ResolutionChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are specific to sensor resolution.
ChromatixName:
Contains the list of chromatix names for all modules.
special_mode_mask:
It is the bit mask for special modes, which is used for
chromatix selection.
Special modes can be any mode that needs a special chromatix.
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
This is applicable for CommonChromatixInfo and
ResolutionChromatixInfo.
special_mode_mask="0" means none of the special modes are
selected.
sensor_resolution_index:
It is the sensor resolution index for which chromatix libraries
will be choosen.
It is applicable only in ResolutionChromatixInfo.
ISPCommon :
Common tuning library name for ISP
ISPPreview :
Preview tuning library name for ISP
ISPSnapshot :
Snapshot tuning library name for ISP
CPPCommon :
Common tuning library name for CPP
CPPPreview :
Preview tuning library name for CPP
CPPSnapshot :
Snapshot tuning library name for CPP
CPPLiveshot :
Liveshot tuning library name for CPP
PostProc :
Tuning library name for postproc module
A3Preview :
Preview tuning library for 3A
A3Video :
Video tuning library for 3A
Order of Resolution Pick:
Assume the current sensor mode is "r" and special mode mask is "s".
Chromatix for a module and type is choosen in this order till we find a
valid chroamtix file name or else NULL is returned.
1) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "s".
2) From CommonChromatixInfo node for which special_mode_mask is "s".
3) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "0".
4) From CommonChromatixInfo node for which special_mode_mask is "0".
5) NULL is returned if we dont find in any of the above cases.
special_mode_mask values:
SENSOR_SPECIAL_MODE_NONE = 0,
SENSOR_SPECIAL_MODE_FLASH = 1,
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
-->
<ChromatixConfigurationRoot>
<CommonChromatixInfo>
<ChromatixName special_mode_mask="0">
<ISPCommon>mot_s5k3l8_bear_common</ISPCommon>
<PostProc>mot_s5k3l8_bear_postproc</PostProc>
</ChromatixName>
<ChromatixName special_mode_mask="MOT_CPP_CUSTOM">
<CPPSnapshot>mot_s5k3l8_bear_cpp_snapshot_custom</CPPSnapshot>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>mot_s5k3l8_bear_snapshot</ISPPreview>
<ISPSnapshot>mot_s5k3l8_bear_snapshot</ISPSnapshot>
<ISPVideo>mot_s5k3l8_bear_snapshot</ISPVideo>
<CPPPreview>mot_s5k3l8_bear_cpp_preview</CPPPreview>
<CPPSnapshot>mot_s5k3l8_bear_cpp_snapshot</CPPSnapshot>
<CPPVideo>mot_s5k3l8_bear_cpp_video</CPPVideo>
<CPPLiveshot>mot_s5k3l8_bear_cpp_liveshot</CPPLiveshot>
<A3Preview>mot_s5k3l8_bear_zsl_preview_3a</A3Preview>
<A3Video>mot_s5k3l8_bear_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="ZOOM_DOWNSCALE">
<CPPSnapshot>mot_s5k3l8_bear_cpp_snapshot_downscale</CPPSnapshot>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>mot_s5k3l8_bear_preview</ISPPreview>
<ISPSnapshot>mot_s5k3l8_bear_preview</ISPSnapshot>
<ISPVideo>mot_s5k3l8_bear_preview</ISPVideo>
<CPPPreview>mot_s5k3l8_bear_cpp_preview</CPPPreview>
<CPPSnapshot>mot_s5k3l8_bear_cpp_snapshot</CPPSnapshot>
<CPPVideo>mot_s5k3l8_bear_cpp_video</CPPVideo>
<CPPLiveshot>mot_s5k3l8_bear_cpp_liveshot</CPPLiveshot>
<A3Preview>mot_s5k3l8_bear_default_preview_3a</A3Preview>
<A3Video>mot_s5k3l8_bear_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>mot_s5k3l8_bear_hfr_60</ISPPreview>
<ISPSnapshot>mot_s5k3l8_bear_hfr_60</ISPSnapshot>
<ISPVideo>mot_s5k3l8_bear_hfr_60</ISPVideo>
<CPPPreview>mot_s5k3l8_bear_cpp_hfr_60</CPPPreview>
<CPPSnapshot>mot_s5k3l8_bear_cpp_hfr_60</CPPSnapshot>
<CPPVideo>mot_s5k3l8_bear_cpp_hfr_60</CPPVideo>
<CPPLiveshot>mot_s5k3l8_bear_cpp_hfr_60</CPPLiveshot>
<A3Preview>mot_s5k3l8_bear_hfr_60_3a</A3Preview>
<A3Video>mot_s5k3l8_bear_hfr_60_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>mot_s5k3l8_bear_hfr_120</ISPPreview>
<ISPSnapshot>mot_s5k3l8_bear_hfr_120</ISPSnapshot>
<ISPVideo>mot_s5k3l8_bear_hfr_120</ISPVideo>
<CPPPreview>mot_s5k3l8_bear_cpp_hfr_120</CPPPreview>
<CPPSnapshot>mot_s5k3l8_bear_cpp_hfr_120</CPPSnapshot>
<CPPVideo>mot_s5k3l8_bear_cpp_hfr_120</CPPVideo>
<CPPLiveshot>mot_s5k3l8_bear_cpp_hfr_120</CPPLiveshot>
<A3Preview>mot_s5k3l8_bear_hfr_120_3a</A3Preview>
<A3Video>mot_s5k3l8_bear_hfr_120_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>

View File

@@ -0,0 +1,127 @@
<!--
Copyright (c) 2016 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
CommonChromatixInfo:
CommonChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are common for all sensor modes.
ResolutionChromatixInfo:
ResolutionChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are specific to sensor resolution.
ChromatixName:
Contains the list of chromatix names for all modules.
special_mode_mask:
It is the bit mask for special modes, which is used for
chromatix selection.
Special modes can be any mode that needs a special chromatix.
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
This is applicable for CommonChromatixInfo and
ResolutionChromatixInfo.
special_mode_mask="0" means none of the special modes are
selected.
sensor_resolution_index:
It is the sensor resolution index for which chromatix libraries
will be choosen.
It is applicable only in ResolutionChromatixInfo.
ISPCommon :
Common tuning library name for ISP
ISPPreview :
Preview tuning library name for ISP
ISPSnapshot :
Snapshot tuning library name for ISP
CPPCommon :
Common tuning library name for CPP
CPPPreview :
Preview tuning library name for CPP
CPPSnapshot :
Snapshot tuning library name for CPP
CPPLiveshot :
Liveshot tuning library name for CPP
PostProc :
Tuning library name for postproc module
A3Preview :
Preview tuning library for 3A
A3Video :
Video tuning library for 3A
Order of Resolution Pick:
Assume the current sensor mode is "r" and special mode mask is "s".
Chromatix for a module and type is choosen in this order till we find a
valid chroamtix file name or else NULL is returned.
1) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "s".
2) From CommonChromatixInfo node for which special_mode_mask is "s".
3) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "0".
4) From CommonChromatixInfo node for which special_mode_mask is "0".
5) NULL is returned if we dont find in any of the above cases.
special_mode_mask values:
SENSOR_SPECIAL_MODE_NONE = 0,
SENSOR_SPECIAL_MODE_FLASH = 1,
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
-->
<ChromatixConfigurationRoot>
<CommonChromatixInfo>
<ChromatixName special_mode_mask="0">
<ISPCommon>mot_s5k3l8_mono_common</ISPCommon>
<PostProc>mot_s5k3l8_mono_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ChromatixName special_mode_mask="MOT_CPP_CUSTOM">
<CPPSnapshot>mot_s5k3l8_mono_cpp_snapshot_custom</CPPSnapshot>
</ChromatixName>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>mot_s5k3l8_mono_snapshot</ISPPreview>
<ISPSnapshot>mot_s5k3l8_mono_snapshot</ISPSnapshot>
<ISPVideo>mot_s5k3l8_mono_snapshot</ISPVideo>
<CPPPreview>mot_s5k3l8_mono_cpp_preview</CPPPreview>
<CPPSnapshot>mot_s5k3l8_mono_cpp_snapshot</CPPSnapshot>
<CPPVideo>mot_s5k3l8_mono_cpp_video</CPPVideo>
<CPPLiveshot>mot_s5k3l8_mono_cpp_liveshot</CPPLiveshot>
<A3Preview>mot_s5k3l8_mono_zsl_preview_3a</A3Preview>
<A3Video>mot_s5k3l8_mono_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="ZOOM_DOWNSCALE">
<CPPSnapshot>mot_s5k3l8_mono_cpp_snapshot_downscale</CPPSnapshot>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>mot_s5k3l8_mono_preview</ISPPreview>
<ISPSnapshot>mot_s5k3l8_mono_preview</ISPSnapshot>
<ISPVideo>mot_s5k3l8_mono_preview</ISPVideo>
<CPPPreview>mot_s5k3l8_mono_cpp_preview</CPPPreview>
<CPPSnapshot>mot_s5k3l8_mono_cpp_snapshot</CPPSnapshot>
<CPPVideo>mot_s5k3l8_mono_cpp_video</CPPVideo>
<CPPLiveshot>mot_s5k3l8_mono_cpp_liveshot</CPPLiveshot>
<A3Preview>mot_s5k3l8_mono_default_preview_3a</A3Preview>
<A3Video>mot_s5k3l8_mono_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>mot_s5k3l8_mono_hfr_120</ISPPreview>
<ISPSnapshot>mot_s5k3l8_mono_hfr_120</ISPSnapshot>
<ISPVideo>mot_s5k3l8_mono_hfr_120</ISPVideo>
<CPPPreview>mot_s5k3l8_mono_cpp_hfr_120</CPPPreview>
<CPPSnapshot>mot_s5k3l8_mono_cpp_hfr_120</CPPSnapshot>
<CPPVideo>mot_s5k3l8_mono_cpp_hfr_120</CPPVideo>
<CPPLiveshot>mot_s5k3l8_mono_cpp_hfr_120</CPPLiveshot>
<A3Preview>mot_s5k3l8_mono_hfr_120_3a</A3Preview>
<A3Video>mot_s5k3l8_mono_hfr_120_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>

View File

@@ -0,0 +1,160 @@
<!--
Copyright (c) 2015-2016 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
CameraModuleConfig :
This node must be added for each module prosent in the device.
It contain all information about the module present.
The number of nodes of CameraModuleConfig indicate number of modules
to be probed on the device.
Maximum number of CameraModuleConfig nodes is 10
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*CameraId :
Camera Id is the Slot number in which the mode is plugged.
Valid values are 0, 1, 2 and 3.
*SensorName :
Name of the sensor present on the module.
The sensor library name should be of the form libmmcamera_<SensorName>.so
ActuatorName :
Name of the actuator on this module.
The actuator library name should be of the form libactuator_<ActuatorName>.so.
If there is no actuator remove the <ActuatorName> node.
EepromName :
Name of the eeprom on this module.
Eeprom lib name should be of the form libmmcamera_<EepromName>_eeprom.so
If there is no eeprom remove the <EepromName> node.
FlashName :
Name of the flash on this module.
The flash library name should be of the form libflash_<FlashName>.so.
If there is no flash remove the <FlashName> node.
ChromatixName :
Name of the tuning xml file.
Tuning file contains the list of chromatix library names.
If there is no tuning xml file remove the <ChromatixName> node.
Position :
Position of the sensor module. Valid values are:
BACK, FRONT and BACK_AUX
MountAngle :
Angle at which the sensor is mounted. Valid values are 0, 90, 180, 270 and 360.
To use default mountangle mentioned in kernel use 360.
CsiInfo : This node contains information about the receiver configuration.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*CSIDCore :
CSID core to receive the data. Valid values are 0, 1, 2 and 3.
*LaneMask :
Mask to mention which lane is enabled.
LaneMask[0] for DL0.
LaneMask[1] for CLK.
LaneMask[2] for DL1.
LaneMask[3] for DL2.
LaneMask[4] for DL3
*LaneAssign :
Number which describes the lane mapping between sensor and PHY.
LaneAssign[0:3] is sensor lane number connected to data lane 0 of PHY on MSM
LaneAssign[4:7] is sensor lane number connected to data lane 2 of PHY on MSM
LaneAssign[8:11] is sensor lane number connected to data lane 3 of PHY on MSM
LaneAssign[12:15] is sensor lane number connected to data lane 4 of PHY on MSM
NOTE : Lane 1 is reserved for the clock lane.
Wiring and setting it to a data lane is prohibited.
ComboMode :
Flag to enable combo mode.
This flag is enabled if multiple sensors are using same CSI-PHY receiver
LensInfo : Information of the lens present in the module.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*FocalLength :
FocalLength of the lens in micometers.
Distance between the center of curvature to the focal point.
*FNumber :
FNumber of the lens.
*TotalFocusDistance : The total distance in meters the lens could focus.
*HorizontalViewAngle : HorizontalViewAngle in degrees
*VerticalViewAngle : VerticalViewAngle in degrees
*MinFocusDistance : Minimum distance in meters the lens could focus.
*VARIABLES MARKED WITH ASTRICK (*) ARE MANDATORY.
-->
<CameraConfigurationRoot>
<CameraModuleConfig>
<CameraId>0</CameraId>
<SensorName>mot_s5k3l8_bear</SensorName>
<EepromName>gt24c64_bear</EepromName>
<ActuatorName>mot_ak7371_bear</ActuatorName>
<FlashName>pmic</FlashName>
<ChromatixName>mot_s5k3l8_bear_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>BACK</Position>
<MountAngle>90</MountAngle>
<CSIInfo>
<CSIDCore>0</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>3.59</FocalLength>
<FNumber>2.0</FNumber>
<TotalFocusDistance>1.9</TotalFocusDistance>
<HorizontalViewAngle>65.90</HorizontalViewAngle>
<VerticalViewAngle>51.50</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>1</CameraId>
<SensorName>mot_s5k3l8_mono</SensorName>
<EepromName>gt24c64_mono</EepromName>
<ActuatorName>mot_ak7371_mono</ActuatorName>
<ChromatixName>mot_s5k3l8_mono_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>BACK_AUX</Position>
<MountAngle>90</MountAngle>
<CSIInfo>
<CSIDCore>1</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>3.59</FocalLength>
<FNumber>2.0</FNumber>
<TotalFocusDistance>1.9</TotalFocusDistance>
<HorizontalViewAngle>65.90</HorizontalViewAngle>
<VerticalViewAngle>51.50</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>2</CameraId>
<SensorName>s5k4h8</SensorName>
<EepromName>l4h8f20</EepromName>
<FlashName>aw3641</FlashName>
<ChromatixName>s5k4h8_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>FRONT</Position>
<MountAngle>270</MountAngle>
<CSIInfo>
<CSIDCore>2</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>2.51</FocalLength>
<FNumber>2.0</FNumber>
<TotalFocusDistance>1.2</TotalFocusDistance>
<HorizontalViewAngle>71.69</HorizontalViewAngle>
<VerticalViewAngle>56.62</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
</CameraConfigurationRoot>

View File

@@ -0,0 +1,110 @@
<!--
Copyright (c) 2015 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
CommonChromatixInfo:
CommonChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are common for all sensor modes.
ResolutionChromatixInfo:
ResolutionChromatixInfo is the information about chromatix needed for
various use cases.
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
3A and SW PostProc.
Entries in this node are specific to sensor resolution.
ChromatixName:
Contains the list of chromatix names for all modules.
special_mode_mask:
It is the bit mask for special modes, which is used for
chromatix selection.
Special modes can be any mode that needs a special chromatix.
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
This is applicable for CommonChromatixInfo and
ResolutionChromatixInfo.
special_mode_mask="0" means none of the special modes are
selected.
sensor_resolution_index:
It is the sensor resolution index for which chromatix libraries
will be choosen.
It is applicable only in ResolutionChromatixInfo.
ISPCommon :
Common tuning library name for ISP
ISPPreview :
Preview tuning library name for ISP
ISPSnapshot :
Snapshot tuning library name for ISP
CPPCommon :
Common tuning library name for CPP
CPPPreview :
Preview tuning library name for CPP
CPPSnapshot :
Snapshot tuning library name for CPP
CPPLiveshot :
Liveshot tuning library name for CPP
PostProc :
Tuning library name for postproc module
A3Preview :
Preview tuning library for 3A
A3Video :
Video tuning library for 3A
Order of Resolution Pick:
Assume the current sensor mode is "r" and special mode mask is "s".
Chromatix for a module and type is choosen in this order till we find a
valid chroamtix file name or else NULL is returned.
1) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "s".
2) From CommonChromatixInfo node for which special_mode_mask is "s".
3) From ResolutionChromatixInfo node for which sensor_resolution_index
is "r" and special_mode_mask is "0".
4) From CommonChromatixInfo node for which special_mode_mask is "0".
5) NULL is returned if we dont find in any of the above cases.
special_mode_mask values:
SENSOR_SPECIAL_MODE_NONE = 0,
SENSOR_SPECIAL_MODE_FLASH = 1,
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
-->
<ChromatixConfigurationRoot>
<CommonChromatixInfo>
<ChromatixName>
<ISPCommon>s5k4h8_common</ISPCommon>
<PostProc>s5k4h8_postproc</PostProc>
<CPPPreview>s5k4h8_cpp_preview</CPPPreview>
<CPPSnapshot>s5k4h8_cpp_snapshot</CPPSnapshot>
<CPPLiveshot>s5k4h8_cpp_liveshot</CPPLiveshot>
</ChromatixName>
<ChromatixName special_mode_mask="MOT_CPP_CUSTOM">
<CPPSnapshot>s5k4h8_cpp_snapshot_custom</CPPSnapshot>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0">
<ISPPreview>s5k4h8_snapshot</ISPPreview>
<ISPSnapshot>s5k4h8_snapshot</ISPSnapshot>
<ISPVideo>s5k4h8_video_full</ISPVideo>
<CPPVideo>s5k4h8_cpp_video_full</CPPVideo>
<A3Preview>s5k4h8_zsl_preview_3a</A3Preview>
<A3Video>s5k4h8_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1">
<ISPPreview>s5k4h8_hfr_120</ISPPreview>
<ISPSnapshot>s5k4h8_hfr_120</ISPSnapshot>
<ISPVideo>s5k4h8_hfr_120</ISPVideo>
<CPPVideo>s5k4h8_cpp_hfr_120</CPPVideo>
<A3Preview>s5k4h8_hfr_120_3a</A3Preview>
<A3Video>s5k4h8_hfr_120_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>

View File

@@ -0,0 +1,68 @@
###############################################################################
# Application options
NFC_DEBUG_ENABLED=0
###############################################################################
# File used for NFA storage
NFA_STORAGE="/data/vendor/nfc"
###############################################################################
# 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
###############################################################################
# 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}
###############################################################################
# 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
###############################################################################
# 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=0xC4
PRESERVE_STORAGE=0x01
###############################################################################
# AID_MATCHING constants
# AID_MATCHING_EXACT_ONLY 0x00
# AID_MATCHING_EXACT_OR_PREFIX 0x01
# AID_MATCHING_PREFIX_ONLY 0x02
AID_MATCHING_MODE=0x01
#################################################################################

571
configs/nfc/libnfc-nxp.conf Normal file
View File

@@ -0,0 +1,571 @@
###############################################################################
## Modified by Motorola Mobility LLC
## Version : 4.2 (2017/05/23)
## This file is used by NFC NXP NCI HAL(external/libnfc-nci/halimpl/pn548)
## and NFC Service Java Native Interface Extensions (packages/apps/Nfc/nci/jni/extns/pn548)
###############################################################################
# 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=0x03
NXPLOG_NCIHAL_LOGLEVEL=0x03
NXPLOG_NCIX_LOGLEVEL=0x03
NXPLOG_NCIR_LOGLEVEL=0x03
NXPLOG_FWDNLD_LOGLEVEL=0x03
NXPLOG_TML_LOGLEVEL=0x03
NFC_DEBUG_ENABLED=0x00
###############################################################################
# Nfc Device Node name
NXP_NFC_DEV_NODE="/dev/pn544"
###############################################################################
# Extension for Mifare reader enable
# Disabled - 0x00
# Enabled - 0x01
MIFARE_READER_ENABLE=0x01
###############################################################################
# Firmware file type
#.so file 0x01
#.bin file 0x02
NXP_FW_TYPE=0x01
###############################################################################
# System clock source selection configuration
#define CLK_SRC_XTAL 1
#define CLK_SRC_PLL 2
NXP_SYS_CLK_SRC_SEL=0x01
###############################################################################
# System clock frequency selection configuration
#define CLK_FREQ_13MHZ 1
#define CLK_FREQ_19_2MHZ 2
#define CLK_FREQ_24MHZ 3
#define CLK_FREQ_26MHZ 4
#define CLK_FREQ_38_4MHZ 5
#define CLK_FREQ_52MHZ 6
NXP_SYS_CLK_FREQ_SEL=0x00
###############################################################################
# The timeout value to be used for clock request acknowledgment
# min value = 0x01 (1.33 ms) to max = 0x06 (2.98 ms)
NXP_SYS_CLOCK_TO_CFG=0x06
###############################################################################
# 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}
###############################################################################
# NXP TVDD configurations settings
# Allow NFCC to configure the external TVDD
# Three configurations (0x01, 0x02 and 0x03) are supported
# Only one shall be selected (hardware dependancy)
# Config 1: VUP connected to VBAT
# Config 2: VUP connected to external 5V
# Config 3: TVDD connected to external 5V
NXP_EXT_TVDD_CFG=0x02
#config1:SLALM, 3.3V for both RM and CM
NXP_EXT_TVDD_CFG_1={20, 02, 0B, 02, A0, 66, 01, 00, A0, 0E, 03, 02, 09, 00}
#config2: use DCDC in CE, use Tx_Pwr_Req, set CFG2 mode, SLALM,
#monitoring 5V from DCDC, 3.3V for both RM and CM, DCDCWaitTime=4.2ms
#No dual sim
NXP_EXT_TVDD_CFG_2={20, 02, 0B, 02, A0, 66, 01, 00, A0, 0E, 03, 56, 64, 01}
#Dual SIM
#NXP_EXT_TVDD_CFG_2={20, 02, 0B, 02, A0, 66, 01, 00, A0, 0E, 03, 56, E4, 0A}
#config3: use DCDC in CE, use Tx_Pwr_Req, SLALM, monitoring 5V from DCDC,
#DCDCWaitTime=4.2ms
NXP_EXT_TVDD_CFG_3={20, 02, 0B, 02, A0, 66, 01, 01, A0, 0E, 03, 52, 64, 0A}
###############################################################################
# NXP RF ALMSL configuration settings for FW VERSION = 10.01.22
#
# A0, 0D, 03, 00, 40, 01 RF_CLIF_CFG_BOOT CLIF_ANA_NFCLD_REG
# A0, 0D, 06, 00, FF, 05, 04, 06, 00 RF_CLIF_CFG_BOOT SMU_PMU_REG (0x40024010)
# A0, 0D, 06, 00, 35, FF, 01, FF, 02 RF_CLIF_CFG_BOOT CLIF_AGC_INPUT_REG
# A0, 0D, 06, 00, 33, 07, 40, 00, 00 RF_CLIF_CFG_BOOT CLIF_AGC_CONFIG0_REG
# A0, 0D, 03, 02, 40, 00 RF_CLIF_CFG_IDLE CLIF_ANA_NFCLD_REG
# A0, 0D, 03, 04, 47, 02 RF_CLIF_CFG_INITIATOR CLIF_ANA_AGC_REG
# A0, 0D, 06, 04, 35, F4, 01, F4, 01 RF_CLIF_CFG_INITIATOR CLIF_AGC_INPUT_REG
# A0, 0D, 06, 05, 45, 80, 40, 00, 00 RF_CLIF_CFG_INITIATOR CLIF_ANA_CM_CONFIG_REG
# A0, 0D, 06, 05, 35, FF, 01, FF, 02 RF_CLIF_CFG_INITIATOR CLIF_AGC_INPUT_REG
# A0, 0D, 06, 05, 33, 07, 40, 00, 00 RF_CLIF_CFG_INITIATOR CLIF_AGC_CONFIG0_REG
# A0, 0D, 06, 06, 44, A3, 90, 03, 00 RF_CLIF_CFG_TARGET CLIF_ANA_RX_REG
# A0, 0D, 03, 06, 47, 02 RF_CLIF_CFG_TARGET CLIF_ANA_AGC_REG
# A0, 0D, 06, 06, 35, FF, 03, FF, 03 RF_CLIF_CFG_TARGET CLIF_AGC_INPUT_REG
# A0, 0D, 06, 06, 34, F7, 7F, 00, 10 RF_CLIF_CFG_TARGET CLIF_AGC_CONFIG1_REG
# A0, 0D, 06, 06, 33, 03, 40, 00, 00 RF_CLIF_CFG_TARGET CLIF_AGC_CONFIG0_REG
# A0, 0D, 06, 06, 30, C8, 00, 64, 00 RF_CLIF_CFG_TARGET CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
# A0, 0D, 06, 06, 2F, AF, 05, 80, 17 RF_CLIF_CFG_TARGET CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 06, 03, 00, 6D, 00, 20 RF_CLIF_CFG_TARGET CLIF_TRANSCEIVE_CONTROL_REG
# A0, 0D, 06, 06, 45, 80, 40, 00, 00 RF_CLIF_CFG_TARGET CLIF_ANA_CM_CONFIG_REG
# A0, 0D, 03, 06, 43, 20 RF_CLIF_CFG_TARGET CLIF_ANA_PBF_CONTROL_REG
# A0, 0D, 06, 06, 42, 00, 02, FF, FF RF_CLIF_CFG_TARGET CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 03, 06, 41, 40 RF_CLIF_CFG_TARGET CLIF_ANA_TX_CLK_CONTROL_REG
# A0, 0D, 03, 06, 37, 08 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, 03, 06, 17, 08 RF_CLIF_CFG_TARGET CLIF_RX_CONFIG_REG
# A0, 0D, 03, 06, 3F, 04 RF_CLIF_CFG_TARGET CLIF_TEST_CONTROL_REG
# A0, 0D, 03, 06, 80, 03 RF_CLIF_CFG_TARGET CLIF_SPARE_REG
# A0, 0D, 03, 07, 3F, 00 RF_CLIF_CFG_TARGET CLIF_TEST_CONTROL_REG
# A0, 0D, 06, 07, 35, FF, 01, FF, 02 RF_CLIF_CFG_TARGET CLIF_AGC_INPUT_REG
# A0, 0D, 03, 16, 41, 8E RF_CLIF_CFG_TECHNO_I_TXB CLIF_ANA_TX_CLK_CONTROL_REG
# A0, 0D, 06, 18, 34, 00, 00, E1, 03 RF_CLIF_CFG_TECHNO_I_RXB CLIF_AGC_CONFIG1_REG
# A0, 0D, 06, 18, 33, 0F, 83, 00, 00 RF_CLIF_CFG_TECHNO_I_RXB CLIF_AGC_CONFIG0_REG
# A0, 0D, 03, 1A, 41, 8E RF_CLIF_CFG_TECHNO_I_TXF CLIF_ANA_TX_CLK_CONTROL_REG
# A0, 0D, 06, 1C, 34, 00, 00, E1, 03 RF_CLIF_CFG_TECHNO_I_RXF_P CLIF_AGC_CONFIG1_REG
# A0, 0D, 06, 1C, 33, 0F, 83, 00, 00 RF_CLIF_CFG_TECHNO_I_RXF_P CLIF_AGC_CONFIG0_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, 41, 82 RF_CLIF_CFG_TECHNO_I_TX15693CLIF_ANA_TX_CLK_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, 06, 32, 41, 82, 07, 00, 00 RF_CLIF_CFG_BR_106_I_TXA CLIF_ANA_TX_CLK_CONTROL_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, 06, 32, 4A, 33, 07, 00, 08 RF_CLIF_CFG_BR_106_I_TXA CLIF_ANA_TX_SHAPE_CONTROL_REG
# A0, 0D, 06, 34, 2D, 24, 47, 0C, 00 RF_CLIF_CFG_BR_106_I_RXA_P CLIF_SIGPRO_RM_CONFIG1_REG
# A0, 0D, 06, 34, 34, 00, 00, EC, 03 RF_CLIF_CFG_BR_106_I_RXA_P CLIF_AGC_CONFIG1_REG
# A0, 0D, 06, 34, 33, 0F, 01, 01, 70 RF_CLIF_CFG_BR_106_I_RXA_P CLIF_AGC_CONFIG0_REG
# A0, 0D, 04, 34, 44, 21, 00 RF_CLIF_CFG_BR_106_I_RXA_P CLIF_ANA_RX_REG
# A0, 0D, 06, 38, 4A, 33, 07, 00, 08 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, 04, 3A, 44, 26, 00 RF_CLIF_CFG_BR_212_I_RXA CLIF_ANA_RX_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, 3A, 34, 00, 00, E1, 03 RF_CLIF_CFG_BR_212_I_RXA CLIF_AGC_CONFIG1_REG
# A0, 0D, 06, 3A, 33, 0B, 83, 00, 00 RF_CLIF_CFG_BR_212_I_RXA CLIF_AGC_CONFIG0_REG
# A0, 0D, 06, 3C, 4A, 52, 07, 00, 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, 04, 3E, 44, 26, 00 RF_CLIF_CFG_BR_424_I_RXA CLIF_ANA_RX_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, 3E, 34, 00, 00, E1, 03 RF_CLIF_CFG_BR_424_I_RXA CLIF_AGC_CONFIG1_REG
# A0, 0D, 06, 3E, 33, 0B, 83, 00, 00 RF_CLIF_CFG_BR_424_I_RXA CLIF_AGC_CONFIG0_REG
# A0, 0D, 03, 40, 41, 8E RF_CLIF_CFG_BR_848_I_TXA CLIF_ANA_TX_CLK_CONTROL_REG
# A0, 0D, 06, 40, 42, F0, 10, FF, FF RF_CLIF_CFG_BR_848_I_TXA CLIF_ANA_TX_AMPLITUDE_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, 04, 42, 44, 26, 00 RF_CLIF_CFG_BR_848_I_RXA CLIF_ANA_RX_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, 42, 34, 00, 00, E1, 03 RF_CLIF_CFG_BR_848_I_RXA CLIF_AGC_CONFIG1_REG
# A0, 0D, 06, 42, 33, 0B, 83, 00, 00 RF_CLIF_CFG_BR_848_I_RXA CLIF_AGC_CONFIG0_REG
# A0, 0D, 04, 46, 44, 26, 00 RF_CLIF_CFG_BR_106_I_RXB CLIF_ANA_RX_REG
# A0, 0D, 06, 46, 2D, 15, 25, 0D, 00 RF_CLIF_CFG_BR_106_I_RXB CLIF_SIGPRO_RM_CONFIG1_REG
# A0, 0D, 06, 44, 4A, 21, 07, 00, 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, 04, 4A, 44, 21, 00 RF_CLIF_CFG_BR_212_I_RXB CLIF_ANA_RX_REG
# A0, 0D, 06, 4A, 2D, 15, 9D, 0D, 00 RF_CLIF_CFG_BR_212_I_RXB CLIF_SIGPRO_RM_CONFIG1_REG
# A0, 0D, 06, 48, 4A, 21, 07, 00, 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, 04, 4E, 44, 26, 00 RF_CLIF_CFG_BR_424_I_RXB CLIF_ANA_RX_REG
# A0, 0D, 06, 4E, 2D, 15, 25, 0D, 00 RF_CLIF_CFG_BR_424_I_RXB CLIF_SIGPRO_RM_CONFIG1_REG
# A0, 0D, 06, 4C, 4A, 21, 07, 00, 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, 04, 52, 44, 26, 00 RF_CLIF_CFG_BR_848_I_RXB CLIF_ANA_RX_REG
# A0, 0D, 06, 52, 2D, 15, 25, 0D, 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, 21, 07, 00, 07 RF_CLIF_CFG_BR_848_I_TXB CLIF_ANA_TX_SHAPE_CONTROL_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, 04, 56, 44, 22, 00 RF_CLIF_CFG_BR_212_I_RXF_P CLIF_ANA_RX_REG
# A0, 0D, 06, 5C, 2D, 05, 9E, 0C, 00 RF_CLIF_CFG_BR_424_I_RXF_P CLIF_SIGPRO_RM_CONFIG1_REG
# A0, 0D, 04, 5C, 44, 26, 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, 5A, 42, 90, 10, FF, FF RF_CLIF_CFG_BR_424_I_TXF CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 06, 98, 2F, CF, 05, 80, 17 RF_CLIF_CFG_GTM_B CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 98, 42, 00, 02, FF, FF RF_CLIF_CFG_GTM_B CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 06, 9A, 42, 00, 02, FF, FF RF_CLIF_CFG_GTM_FELICA CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 06, 30, 44, 12, 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, 03, 70, 2E, 40 RF_CLIF_CFG_BR_212_T_RXA CLIF_SIGPRO_CM_CONFIG_REG
# A0, 0D, 03, 70, 45, 30 RF_CLIF_CFG_BR_212_T_RXA CLIF_ANA_CM_CONFIG_REG
# A0, 0D, 06, 70, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_212_T_RXA CLIF_ANA_RX_REG
# A0, 0D, 06, 74, 2F, 6F, 05, 80, 12 RF_CLIF_CFG_BR_424_T_RXA CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 74, 30, D5, 00, 40, 00 RF_CLIF_CFG_BR_424_T_RXA CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
# A0, 0D, 06, 74, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_424_T_RXA CLIF_ANA_RX_REG
# A0, 0D, 06, 78, 2F, 3F, 07, 80, C1 RF_CLIF_CFG_BR_848_T_RXA CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 78, 30, 50, 00, 10, 00 RF_CLIF_CFG_BR_848_T_RXA CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
# A0, 0D, 06, 78, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_848_T_RXA CLIF_ANA_RX_REG
# A0, 0D, 06, 7C, 2F, CF, 05, 80, 17 RF_CLIF_CFG_BR_106_T_RXB CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 7C, 30, C8, 00, 64, 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, 80, 2F, CF, 05, 80, 17 RF_CLIF_CFG_BR_212_T_RXB CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 80, 30, C8, 00, 64, 00 RF_CLIF_CFG_BR_212_T_RXB CLIF_SIGPRO_ADCBCM_THRESHOLD_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, CF, 05, 80, 17 RF_CLIF_CFG_BR_424_T_RXB CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 84, 30, C8, 00, 64, 00 RF_CLIF_CFG_BR_424_T_RXB CLIF_SIGPRO_ADCBCM_THRESHOLD_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, B1, 05, 80, 17 RF_CLIF_CFG_BR_848_T_RXB CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 88, 30, A8, 00, 64, 00 RF_CLIF_CFG_BR_848_T_RXB CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
# A0, 0D, 06, 88, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_848_T_RXB CLIF_ANA_RX_REG
# A0, 0D, 06, 8E, 44, 12, 90, 03, 00 RF_CLIF_CFG_BR_212_T_RXF CLIF_ANA_RX_REG
# A0, 0D, 06, 94, 44, 12, 90, 03, 00 RF_CLIF_CFG_BR_424_T_RXF CLIF_ANA_RX_REG
# A0, 0D, 06, 10, 35, FF, 01, FF, 02 RF_CLIF_CFG_T_ACTIVE CLIF_AGC_INPUT_REG
# A0, 0D, 06, 10, 34, F7, 7F, 00, 00 RF_CLIF_CFG_T_ACTIVE CLIF_AGC_CONFIG1_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, 06, 8C, 42, 88, 10, FF, FF RF_CLIF_CFG_BR_212_T_TXF_A CLIF_ANA_TX_AMPLITUDE_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, 03, 24, 41, 40 RF_CLIF_CFG_TECHNO_T_TXA_P CLIF_ANA_TX_CLK_CONTROL_REG
# A0, 0D, 06, 24, 42, 00, 02, FF, FF RF_CLIF_CFG_TECHNO_T_TXA_P CLIF_ANA_TX_AMPLITUDE_REG
# A0, 0D, 03, 28, 41, 40 RF_CLIF_CFG_TECHNO_T_TXB CLIF_ANA_TX_CLK_CONTROL_REG
# A0, 0D, 03, 8A, 41, 40 RF_CLIF_CFG_BR_212_T_TXF_P CLIF_ANA_TX_CLK_CONTROL_REG
# A0, 0D, 03, 90, 41, 40 RF_CLIF_CFG_BR_424_T_TXF_P CLIF_ANA_TX_CLK_CONTROL_REG
# A0, 0D, 03, 08, 40, 10 RF_CLIF_CFG_I_PASSIVE CLIF_ANA_NFCLD_REG
# A0, 0D, 06, 08, 45, C0, 82, 00, 00 RF_CLIF_CFG_I_PASSIVE CLIF_ANA_CM_CONFIG_REG
# A0, 0D, 06, 0A, 45, 80, 40, 00, 00 RF_CLIF_CFG_I_ACTIVE CLIF_ANA_CM_CONFIG_REG
# A0, 0D, 06, 0A, 30, C8, 00, 64, 00 RF_CLIF_CFG_I_ACTIVE CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
# A0, 0D, 06, 0A, 2F, AF, 05, 80, 17 RF_CLIF_CFG_I_ACTIVE CLIF_SIGPRO_ADCBCM_CONFIG_REG
# A0, 0D, 06, 0A, 34, 26, 65, E5, 03 RF_CLIF_CFG_I_ACTIVE CLIF_AGC_CONFIG1_REG
# A0, 0D, 06, 0A, 33, 0F, 01, 00, 70 RF_CLIF_CFG_I_ACTIVE CLIF_AGC_CONFIG0_REG
# A0, 0D, 03, 0A, 40, 00 RF_CLIF_CFG_I_ACTIVE CLIF_ANA_NFCLD_REG
#
# *** ALMSL FW VERSION = 10.01.22 ***
NXP_RF_CONF_BLK_1={
20, 02, F7, 20,
A0, 0D, 03, 00, 40, 01,
A0, 0D, 06, 00, FF, 05, 04, 06, 00,
A0, 0D, 06, 00, 35, FF, 01, FF, 02,
A0, 0D, 06, 00, 33, 07, 40, 00, 00,
A0, 0D, 03, 02, 40, 00,
A0, 0D, 03, 04, 47, 02,
A0, 0D, 06, 04, 35, F4, 01, F4, 01,
A0, 0D, 06, 05, 45, 80, 40, 00, 00,
A0, 0D, 06, 05, 35, FF, 01, FF, 02,
A0, 0D, 06, 05, 33, 07, 40, 00, 00,
A0, 0D, 06, 06, 44, A3, 90, 03, 00,
A0, 0D, 03, 06, 47, 02,
A0, 0D, 06, 06, 35, FF, 03, FF, 03,
A0, 0D, 06, 06, 34, F7, 7F, 00, 10,
A0, 0D, 06, 06, 33, 03, 40, 00, 00,
A0, 0D, 06, 06, 30, C8, 00, 64, 00,
A0, 0D, 06, 06, 2F, AF, 05, 80, 17,
A0, 0D, 06, 06, 03, 00, 73, 00, 20,
A0, 0D, 06, 06, 45, 80, 40, 00, 00,
A0, 0D, 03, 06, 43, 20,
A0, 0D, 06, 06, 42, 00, 02, F2, F2,
A0, 0D, 03, 06, 41, 40,
A0, 0D, 03, 06, 37, 08,
A0, 0D, 03, 06, 16, 00,
A0, 0D, 03, 06, 15, 00,
A0, 0D, 03, 06, 17, 08,
A0, 0D, 03, 06, 3F, 04,
A0, 0D, 03, 06, 80, 03,
A0, 0D, 03, 07, 3F, 00,
A0, 0D, 06, 07, 35, FF, 01, FF, 02,
A0, 0D, 03, 16, 41, 8E,
A0, 0D, 06, 18, 34, 00, 00, E1, 03
}
NXP_RF_CONF_BLK_2={
20, 02, FA, 1E,
A0, 0D, 06, 18, 33, 0F, 83, 00, 00,
A0, 0D, 03, 1A, 41, 8E,
A0, 0D, 06, 1C, 34, 00, 00, E1, 03,
A0, 0D, 06, 1C, 33, 0F, 83, 00, 00,
A0, 0D, 06, 20, 4A, 00, 00, 00, 00,
A0, 0D, 06, 20, 42, 88, 10, FF, FF,
A0, 0D, 03, 20, 41, 82,
A0, 0D, 06, 32, 42, F8, 10, FF, FF,
A0, 0D, 06, 32, 41, 82, 07, 00, 00,
A0, 0D, 03, 32, 16, 00,
A0, 0D, 03, 32, 15, 01,
A0, 0D, 06, 32, 4A, 33, 07, 00, 08,
A0, 0D, 06, 34, 2D, 24, 47, 0C, 00,
A0, 0D, 06, 34, 34, 00, 00, EC, 03,
A0, 0D, 06, 34, 33, 0F, 01, 01, 70,
A0, 0D, 04, 34, 44, 22, 00,
A0, 0D, 06, 38, 4A, 33, 07, 00, 08,
A0, 0D, 06, 38, 42, 68, 10, FF, FF,
A0, 0D, 04, 3A, 44, 26, 00,
A0, 0D, 06, 3A, 2D, 15, 47, 0D, 00,
A0, 0D, 06, 3A, 34, 00, 00, E1, 03,
A0, 0D, 06, 3A, 33, 0B, 83, 00, 00,
A0, 0D, 06, 3C, 4A, 52, 07, 00, 1B,
A0, 0D, 06, 3C, 42, 68, 10, FF, FF,
A0, 0D, 04, 3E, 44, 26, 00,
A0, 0D, 06, 3E, 2D, 15, 47, 0D, 00,
A0, 0D, 06, 3E, 34, 00, 00, E1, 03,
A0, 0D, 06, 3E, 33, 0B, 83, 00, 00,
A0, 0D, 03, 40, 41, 8E,
A0, 0D, 06, 40, 42, F0, 10, FF, FF
}
NXP_RF_CONF_BLK_3={
20, 02, F8, 1D,
A0, 0D, 06, 40, 4A, 12, 07, 00, 00,
A0, 0D, 04, 42, 44, 26, 00,
A0, 0D, 06, 42, 2D, 15, 47, 0D, 00,
A0, 0D, 06, 42, 34, 00, 00, E1, 03,
A0, 0D, 06, 42, 33, 0B, 83, 00, 00,
A0, 0D, 04, 46, 44, 26, 00,
A0, 0D, 06, 46, 2D, 15, 25, 0D, 00,
A0, 0D, 06, 44, 4A, 21, 07, 00, 07,
A0, 0D, 06, 44, 42, 88, 10, FF, FF,
A0, 0D, 04, 4A, 44, 21, 00,
A0, 0D, 06, 4A, 2D, 15, 9D, 0D, 00,
A0, 0D, 06, 48, 4A, 21, 07, 00, 07,
A0, 0D, 06, 48, 42, 88, 10, FF, FF,
A0, 0D, 04, 4E, 44, 26, 00,
A0, 0D, 06, 4E, 2D, 15, 25, 0D, 00,
A0, 0D, 06, 4C, 4A, 21, 07, 00, 07,
A0, 0D, 06, 4C, 42, 88, 10, FF, FF,
A0, 0D, 04, 52, 44, 26, 00,
A0, 0D, 06, 52, 2D, 15, 25, 0D, 00,
A0, 0D, 06, 50, 42, 90, 10, FF, FF,
A0, 0D, 06, 50, 4A, 21, 07, 00, 07,
A0, 0D, 06, 56, 2D, 05, 9E, 0C, 00,
A0, 0D, 04, 56, 44, 22, 00,
A0, 0D, 06, 5C, 2D, 05, 9E, 0C, 00,
A0, 0D, 04, 5C, 44, 26, 00,
A0, 0D, 06, 54, 42, 88, 10, FF, FF,
A0, 0D, 06, 5A, 42, 90, 10, FF, FF,
A0, 0D, 06, 98, 2F, CF, 05, 80, 17,
A0, 0D, 06, 98, 42, 00, 02, F2, F2
}
NXP_RF_CONF_BLK_4={
20, 02, F7, 1C,
A0, 0D, 06, 9A, 42, 00, 02, F2, F2,
A0, 0D, 06, 30, 44, 12, 90, 03, 00,
A0, 0D, 06, 6C, 44, A3, 90, 03, 00,
A0, 0D, 03, 70, 2E, 40,
A0, 0D, 03, 70, 45, 30,
A0, 0D, 06, 70, 44, A3, 90, 03, 00,
A0, 0D, 06, 74, 2F, 6F, 05, 80, 12,
A0, 0D, 06, 74, 30, D5, 00, 40, 00,
A0, 0D, 06, 74, 44, A3, 90, 03, 00,
A0, 0D, 06, 78, 2F, 3F, 07, 80, C1,
A0, 0D, 06, 78, 30, 50, 00, 10, 00,
A0, 0D, 06, 78, 44, A3, 90, 03, 00,
A0, 0D, 06, 7C, 2F, CF, 05, 80, 17,
A0, 0D, 06, 7C, 30, C8, 00, 64, 00,
A0, 0D, 06, 7C, 44, A3, 90, 03, 00,
A0, 0D, 06, 80, 2F, CF, 05, 80, 17,
A0, 0D, 06, 80, 30, C8, 00, 64, 00,
A0, 0D, 06, 80, 44, A3, 90, 03, 00,
A0, 0D, 06, 84, 2F, CF, 05, 80, 17,
A0, 0D, 06, 84, 30, C8, 00, 64, 00,
A0, 0D, 06, 84, 44, A3, 90, 03, 00,
A0, 0D, 06, 88, 2F, B1, 05, 80, 17,
A0, 0D, 06, 88, 30, A8, 00, 64, 00,
A0, 0D, 06, 88, 44, A3, 90, 03, 00,
A0, 0D, 06, 8E, 44, 12, 90, 03, 00,
A0, 0D, 06, 94, 44, 12, 90, 03, 00,
A0, 0D, 06, 10, 35, FF, 01, FF, 02,
A0, 0D, 06, 10, 34, F7, 7F, 00, 00
}
NXP_RF_CONF_BLK_5={
20, 02, 7F, 10,
A0, 0D, 06, 6A, 42, F8, 10, FF, FF,
A0, 0D, 06, 8C, 42, 88, 10, FF, FF,
A0, 0D, 06, 92, 42, 90, 10, FF, FF,
A0, 0D, 03, 24, 41, 40,
A0, 0D, 06, 24, 42, 00, 02, F2, F2,
A0, 0D, 03, 28, 41, 40,
A0, 0D, 03, 8A, 41, 40,
A0, 0D, 03, 90, 41, 40,
A0, 0D, 03, 08, 40, 10,
A0, 0D, 06, 08, 45, C0, 82, 00, 00,
A0, 0D, 06, 0A, 45, 80, 40, 00, 00,
A0, 0D, 06, 0A, 30, C8, 00, 64, 00,
A0, 0D, 06, 0A, 2F, AF, 05, 80, 17,
A0, 0D, 06, 0A, 34, 26, 65, E5, 03,
A0, 0D, 06, 0A, 33, 0F, 01, 00, 70,
A0, 0D, 03, 0A, 40, 00
}
###############################################################################
# Core configuration extensions
# It includes
# A002 - Disable/Enable Clock Request
# A009 - Time-out before standby
# A012 - NFCEE interface 2 configuration
# A040 - Low Power Card Detector Enable
# A041 - Low Power Card Detector Threshold
# A042 - Low Power Card Detector Sampling
# A043 - Low Power Card Detector Hybrid
# A05E - Send RID automatically in Jewel Reader mode
# A061 - Retry after LPCD
# A096 - Notification for all AIDs in Card emulation mode
# A0DD - Number of retry for DWP
# A0EC - Disable/Enable SWP1 interface
# A0ED - Disable/Enable SWP2 interface
# A0F2 - SWP_SVDD_ON_CFG
# CLIF_ANA_CLK_MAN_REG Phone ON A01D
# CLIF_ANA_CLK_MAN_REG Phone OFF A01E
NXP_CORE_CONF_EXTN={20, 02, 75, 13,
A0, 02, 01, 01,
A0, 09, 02, 90, 01,
A0, 12, 01, 00,
A0, 40, 01, 01,
A0, 41, 01, 05,
A0, 42, 01, 0F,
A0, 43, 01, 03,
A0, 5E, 01, 01,
A0, 61, 01, 53,
A0, 68, 01, 01,
A0, 96, 01, 01,
A0, DD, 01, 2D,
A0, EC, 01, 01,
A0, ED, 01, 00,
A0, F2, 01, 00,
A0, CA, 07, 02, 00, 1F, 01, 1F, 0F, 20,
A0, 47, 02, 00, 27,
A0, 1D, 11, 57, 33, 14, 17, 00, AA, 85, 00, 80, 55, 2A, 04, 00, 63, 00, 00, 00,
A0, 1E, 11, 18, 13, 14, 14, 00, 6F, 97, 00, 00, 00, 10, 04, 00, 63, 02, 00, 00
}
###############################################################################
# Core configuration RF Field notification filter
# Disabled - 0x00
# Enabled - 0x01
NXP_CORE_RF_FIELD={ 20, 02, 05, 01, A0, 62, 01, 00}
###############################################################################
# I2C fragmentation
# Disabled - 0x00
# Enabled - 0x01
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
# 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, 2A, 0E,
18, 01, 01,
21, 01, 00,
28, 01, 00,
30, 01, 04,
31, 01, 00,
33, 00,
50, 01, 02,
54, 01, 06,
5B, 01, 00,
60, 01, 0E,
80, 01, 01,
81, 01, 01,
82, 01, 0E,
32, 01, 60
}
###############################################################################
#Enable SWP full power mode when phone is power off
NXP_SWP_FULL_PWR_ON=0x00
###############################################################################
#Set the default Felica T3T System Code OffHost route Location :
# host 0x00
# UICC 0x02
# UICC2 0x03
DEFAULT_SYS_CODE_ROUTE=0x02
###############################################################################
#Set the Felica T3T System Code Power state :
#This settings will be used when application does not set this parameter
# bit pos 0 = Switch On
# bit pos 1 = Switch Off
# bit pos 2 = Battery Off
# bit pos 3 = Screen On lock
# bit pos 4 = Screen off unlock
# bit pos 5 = Screen Off lock
DEFAULT_SYS_CODE_PWR_STATE=0x1B
###############################################################################
# AID Matching platform options
# AID_MATCHING_L 0x01
# AID_MATCHING_K 0x02
AID_MATCHING_PLATFORM=0x01
###############################################################################
#CHINA_TIANJIN_RF_SETTING
#Enable 0x01
#Disable 0x00
NXP_CHINA_TIANJIN_RF_ENABLED=0x01
###############################################################################
#SWP_SWITCH_TIMEOUT_SETTING
# Allowed range of swp timeout setting is 0x00 to 0x3C [0 - 60].
# Timeout in milliseconds, for example
# No Timeout 0x00
# 10 millisecond timeout 0x0A
NXP_SWP_SWITCH_TIMEOUT=0x0A
###############################################################################
# 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, 70, FF, FF}
###############################################################################
# Choose the presence-check algorithm for type-4 tag. If not defined, the default value is 1.
# 0 NFA_RW_PRES_CHK_DEFAULT; Let stack selects an algorithm
# 1 NFA_RW_PRES_CHK_I_BLOCK; ISO-DEP protocol's empty I-block
# 2 NFA_RW_PRES_CHK_RESET; Deactivate to Sleep, then re-activate
# 3 NFA_RW_PRES_CHK_RB_CH0; Type-4 tag protocol's ReadBinary command on channel 0
# 4 NFA_RW_PRES_CHK_RB_CH3; Type-4 tag protocol's ReadBinary command on channel 3
PRESENCE_CHECK_ALGORITHM=1
###############################################################################
# UICC mode supported
# Disable 0x00
# Enable 0x01
NXP_DUAL_UICC_ENABLE=0x00
################################################################################
# Restriction of Type A UICC baud rate
# Default supported - 0x00
# 212kbps maximum supported - 0x01
# 424kbps maximum supported - 0x02
# 848kbps maximum supported - 0x03
NXP_TYPEA_UICC_BAUD_RATE=0x00
################################################################################
# Restriction of Type B UICC baud rate
# Default supported - 0x00
# 212kbps maximum supported - 0x01
# 424kbps maximum supported - 0x02
# 848kbps maximum supported - 0x03
NXP_TYPEB_UICC_BAUD_RATE=0x00
###############################################################################
# Extended APDU length for ISO_DEP
ISO_DEP_MAX_TRANSCEIVE=0xFEFF

View File

@@ -0,0 +1,2 @@
sensors.ssc.so
sensors.rp.so

File diff suppressed because it is too large Load Diff

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

@@ -0,0 +1,146 @@
[FRONT_TEMP]
algo_type virtual
trip_sensor msm_therm
set_point -18000
set_point_clr -20000
sensors msm_therm pa_therm0 chg_therm batt_temp
weights 110 100 85 110
offsets -2000 -2000 -2000 -2000
sampling 10000
math 0
sys_temp
[REPORT-FRONT-TEMP]
algo_type monitor
sampling 300000
sensor FRONT_TEMP
thresholds 45000
thresholds_clr 43000
actions report
action_info 1
[BACK_TEMP]
algo_type virtual
trip_sensor msm_therm
set_point -18000
set_point_clr -20000
sensors msm_therm pa_therm0 chg_therm batt_temp
weights 110 100 85 110
offsets -1000 -1000 -1000 -1000
sampling 10000
math 0
sys_temp
[REPORT-BACK-TEMP]
algo_type monitor
sampling 300000
sensor BACK_TEMP
thresholds 45000
thresholds_clr 43000
actions report
action_info 1
[SS-BATT-BATT]
algo_type ss
sampling 5000
sensor batt_therm
device battery
set_point 44000
set_point_clr 42000
[SS-CHG-BATT]
algo_type ss
sampling 5000
sensor chg_therm
device battery
set_point 50000
set_point_clr 44000
time_constant 0
[VIRTUAL-MSM-CPU]
algo_type virtual
trip_sensor msm_therm
set_point 41000
set_point_clr 39000
sensors tsens_tz_sensor4 tsens_tz_sensor5 tsens_tz_sensor6 tsens_tz_sensor7
weights 1 1 1 1
sampling 1000
math 0
[SS-MSM-CPU]
algo_type ss
sampling 1000
sensor VIRTUAL-MSM-CPU
device battery
set_point 43000
set_point_clr 40000
[VIRTUAL-MSM-GPU]
algo_type virtual
trip_sensor msm_therm
set_point 41000
set_point_clr 39000
sensors tsens_tz_sensor15
sampling 1000
math 2
[SS-MSM-GPU]
algo_type ss
sampling 1000
sensor VIRTUAL-MSM-GPU
device battery
set_point 43000
set_point_clr 40000
[SS-MSM-CLUSTER0]
algo_type ss
sampling 1000
sensor msm_therm
device cluster0
set_point 43000
set_point_clr 41000
device_max_limit 1401600
[VIRTUAL-CPUS]
algo_type virtual
trip_sensor tsens_tz_sensor9
set_point 75000
set_point_clr 65000
sensors tsens_tz_sensor9 tsens_tz_sensor10 tsens_tz_sensor11 tsens_tz_sensor12 tsens_tz_sensor13 tsens_tz_sensor4 tsens_tz_sensor5 tsens_tz_sensor6 tsens_tz_sensor7 tsens_tz_sensor8
sampling 50
math 2
[SS-GPU]
algo_type ss
sampling 250
sensor gpu
device gpu
set_point 95000
set_point_clr 65000
[SS-POPMEM]
algo_type ss
disable
sampling 250
sensor pop_mem
device cluster0
set_point 70000
set_point_clr 55000
time_constant 2
[SS-CPUS-ALL]
algo_type ss
sampling 50
sensor VIRTUAL-CPUS
device cluster0
set_point 95000
set_point_clr 55000
[MONITOR-CAMERA-MSM]
algo_type monitor
sampling 1000
sensor msm_therm
thresholds 52000 56000
thresholds_clr 47000 53000
actions camera camera
action_info 1 2

105
device.mk Normal file
View File

@@ -0,0 +1,105 @@
# Copyright (C) 2020 The PixelExperience 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.
# Vendor blobs
$(call inherit-product-if-exists, vendor/motorola/sanders/sanders-vendor.mk)
# Device Path
DEVICE_PATH := device/motorola/sanders
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(DEVICE_PATH)/overlay
# Device properties
$(call inherit-product, $(DEVICE_PATH)/device_prop.mk)
# Screen density
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
PRODUCT_AAPT_CONFIG := normal
# Audio
PRODUCT_PACKAGES += \
audio.primary.msm8953 \
libqcompostprocbundle
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/configs/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
$(DEVICE_PATH)/configs/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
$(DEVICE_PATH)/configs/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
$(DEVICE_PATH)/configs/audio/audio_ext_spkr.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_ext_spkr.conf \
$(DEVICE_PATH)/configs/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml
# Boot animation
TARGET_SCREEN_HEIGHT := 1920
TARGET_SCREEN_WIDTH := 1080
# Camera
PRODUCT_PACKAGES += \
camera.device@1.0-impl
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/configs/camera/imx219_chromatix.xml:$(TARGET_COPY_OUT_VENDOR)/etc/camera/imx219_chromatix.xml \
$(DEVICE_PATH)/configs/camera/mot_imx258_bear_chromatix.xml:$(TARGET_COPY_OUT_VENDOR)/etc/camera/mot_imx258_bear_chromatix.xml \
$(DEVICE_PATH)/configs/camera/mot_imx258_mono_chromatix.xml:$(TARGET_COPY_OUT_VENDOR)/etc/camera/mot_imx258_mono_chromatix.xml \
$(DEVICE_PATH)/configs/camera/mot_s5k3l8_bear_chromatix.xml:$(TARGET_COPY_OUT_VENDOR)/etc/camera/mot_s5k3l8_bear_chromatix.xml \
$(DEVICE_PATH)/configs/camera/mot_s5k3l8_mono_chromatix.xml:$(TARGET_COPY_OUT_VENDOR)/etc/camera/mot_s5k3l8_mono_chromatix.xml \
$(DEVICE_PATH)/configs/camera/msm8953_mot_sanders_camera.xml:$(TARGET_COPY_OUT_VENDOR)/etc/camera/msm8953_mot_sanders_camera.xml \
$(DEVICE_PATH)/configs/camera/s5k4h8_chromatix.xml:$(TARGET_COPY_OUT_VENDOR)/etc/camera/s5k4h8_chromatix.xml
# Gatekeeper HAL
PRODUCT_PACKAGES += \
android.hardware.gatekeeper@1.0-impl \
android.hardware.gatekeeper@1.0-service
# Keymaster HAL
PRODUCT_PACKAGES += \
android.hardware.keymaster@3.0-impl \
android.hardware.keymaster@3.0-service
# NFC
PRODUCT_PACKAGES += \
android.hardware.nfc@1.1-service \
com.android.nfc_extras \
SecureElement \
NfcNci \
nqnfcee_access.xml \
nqnfcse_access.xml \
Tag
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf \
$(DEVICE_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml
# Init
PRODUCT_PACKAGES += \
fstab.qcom \
init.sanders.rc
# Sensors
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/configs/sensors/sensor_def_qcomdev.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sensor_def_qcomdev.conf \
$(DEVICE_PATH)/configs/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
# Thermal
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/configs/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf
# Inherit from motorola msm8953-common
$(call inherit-product, device/motorola/msm8953-common/msm8953.mk)

25
device_prop.mk Normal file
View File

@@ -0,0 +1,25 @@
#
# vendor props for sanders
#
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.calfile1=/vendor/etc/acdbdata/Bluetooth_cal.acdb \
persist.vendor.audio.calfile0=/vendor/etc/acdbdata/Global_cal.acdb \
persist.vendor.audio.calfile2=/vendor/etc/acdbdata/General_cal.acdb \
persist.vendor.audio.calfile4=/vendor/etc/acdbdata/Hdmi_cal.acdb \
persist.vendor.audio.calfile5=/vendor/etc/acdbdata/Headset_cal.acdb \
persist.vendor.audio.calfile6=/vendor/etc/acdbdata/Handset_cal.acdb \
persist.vendor.audio.calfile3=/vendor/etc/acdbdata/Speaker_cal.acdb
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.camera.expose.aux=1 \
ro.camera.cfa.packagelist=org.codeaurora.snapcam,com.motorola.camera2 \
vendor.camera.aux.packagelist=com.motorola.camera2 \
persist.camera.HAL3.enabled=1 \
persist.camera.eis.enable=1
# Sensors
PRODUCT_PROPERTY_OVERRIDES += \
ro.hardware.sensors=sanders

40
extract-files.sh Executable file
View File

@@ -0,0 +1,40 @@
#!/bin/bash
#
# Copyright (C) 2017-2019 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.
#
# If we're being sourced by the common script that we called,
# stop right here. No need to go down the rabbit hole.
function blob_fixup() {
case "${1}" in
esac
}
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
return
fi
set -e
# Required!
export DEVICE=sanders
export DEVICE_COMMON=msm8953-common
export VENDOR=motorola
export DEVICE_BRINGUP_YEAR=2020
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 The LineageOS Project
Copyright (C) 2020 The PixelExperience Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. Do not translate. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Do not translate. Default access point SSID used for tethering -->
<string name="wifi_tether_configure_ssid_default" translatable="false">Moto G (5S) Plus</string>
</resources>

View File

@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="none">0</item>
<item name="screen.on">98.648</item>
<item name="screen.full">193.430</item>
<item name="wifi.on">1.075</item>
<item name="wifi.active">41.638</item>
<item name="wifi.scan">4.446</item>
<item name="camera.flashlight">40.478</item>
<item name="camera.avg">570.594</item>
<item name="gps.on">19.646</item>
<item name="radio.active">182.518</item>
<item name="radio.scanning">41.395</item>
<array name="radio.on">
<value>35.5</value>
<value>35</value>
<value>30</value>
<value>25</value>
<value>20</value>
<value>15</value>
<value>10</value>
<value>5</value>
<value>3.5</value>
</array>
<item name="modem.controller.idle">8.309</item>
<item name="modem.controller.rx">170.273</item>
<item name="modem.controller.tx">146.062</item>
<item name="modem.controller.voltage">866.419</item>
<item name="bluetooth.controller.idle">1.133</item>
<item name="bluetooth.controller.rx">26.438</item>
<item name="bluetooth.controller.tx">63.683</item>
<item name="bluetooth.controller.voltage">112.528</item>
<array name="cpu.clusters.cores">
<value>8</value>
</array>
<array name="cpu.speeds.cluster0">
<value>652800</value>
<value>1036800</value>
<value>1401600</value>
<value>1689600</value>
<value>1804800</value>
<value>1958400</value>
<value>2016000</value>
</array>
<array name="cpu.active.cluster0">
<value>33.802</value>
<value>46.767</value>
<value>59.310</value>
<value>78.318</value>
<value>99.180</value>
<value>112.014</value>
<value>118.914</value>
</array>
<item name="cpu.idle">6.198</item>
<item name="battery.capacity">3000</item>
<item name="wifi.controller.idle">0.585</item>
<item name="wifi.controller.rx">65.896</item>
<item name="wifi.controller.tx">130.159</item>
<array name="wifi.controller.tx_levels" />
<item name="wifi.controller.voltage">184.53</item>
</device>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 The LineageOS Project
Copyright (C) 2020 The PixelExperience 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">
<!-- Default radius of the software rounded corners. -->
<dimen name="rounded_corner_content_padding">2.0dip</dimen>
<dimen name="rounded_corner_radius">8.0dip</dimen>
</resources>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 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.
-->
<resources>
<!-- Defines the location of the fingerprint sensor on the device
0 = back
1 = front
2 = left side
3 = right side
-->
<integer name="config_fingerprintSensorLocation">1</integer>
</resources>

View File

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

596
proprietary-files.txt Normal file
View File

@@ -0,0 +1,596 @@
# ACDB
etc/acdbdata/Bluetooth_cal.acdb:vendor/etc/acdbdata/Bluetooth_cal.acdb
etc/acdbdata/Global_cal.acdb:vendor/etc/acdbdata/Global_cal.acdb
etc/acdbdata/General_cal.acdb:vendor/etc/acdbdata/General_cal.acdb
etc/acdbdata/Hdmi_cal.acdb:vendor/etc/acdbdata/Hdmi_cal.acdb
etc/acdbdata/Headset_cal.acdb:vendor/etc/acdbdata/Headset_cal.acdb
etc/acdbdata/Handset_cal.acdb:vendor/etc/acdbdata/Handset_cal.acdb
etc/acdbdata/Speaker_cal.acdb:vendor/etc/acdbdata/Speaker_cal.acdb
# Camera
lib/motorola.hardware.camera.device@1.0.so
lib/motorola.hardware.camera.provider@2.4.so
lib/libmot_lux_standardization.so:vendor/lib/libmot_lux_standardization.so
lib/lib_mot_app6_metadata.so:vendor/lib/lib_mot_app6_metadata.so
lib/lib_motsensorlistener.so:vendor/lib/lib_motsensorlistener.so
vendor/lib/libmotocalibration.so
vendor/lib/hw/camera.msm8953.so
vendor/lib/libgralloc1.so
vendor/lib/libchromaflash.so
vendor/lib/libflash_pmic.so
vendor/lib/libjpegdhw.so
vendor/lib/libjpegdmahw.so
vendor/lib/libjpegehw.so
vendor/lib/libflash_pmic.so
vendor/lib/libflash_aw3641.so
vendor/lib/libflash_wd3100.so
vendor/lib/libflash_sky81298.so
vendor/lib/libmm-qcamera.so
vendor/lib/libmmjpeg.so
vendor/lib/libmmjpeg_interface.so
vendor/lib/libmmqjpegdma.so
vendor/lib/libmmqjpeg_codec.so
vendor/lib/liboptizoom.so
vendor/lib/libqomx_core.so
vendor/lib/libqomx_jpegdec.so
vendor/lib/libqomx_jpegenc.so
vendor/lib/libqomx_jpegenc_pipe.so
vendor/lib/libremosaic_daemon.so
vendor/lib/libseemore.so
vendor/lib/libts_detected_face_hal.so
vendor/lib/libts_face_beautify_hal.so
vendor/lib/libubifocus.so
vendor/lib/libvideoutils.so
vendor/lib/libmotimager_utils.so
vendor/lib/lib_mot_led_calibration.so
vendor/lib/libmot_afd.so
# Camera-actuators
vendor/lib/libactuator_dw9718s.so
vendor/lib/libactuator_dw9763.so
vendor/lib/libactuator_dw9767.so
vendor/lib/libactuator_lc898217xc.so
vendor/lib/libactuator_mot_ak7371.so
vendor/lib/libactuator_mot_ak7371_bear.so
vendor/lib/libactuator_mot_ak7371_mono.so
vendor/lib/libactuator_pseudo.so
# Camera-bin
vendor/bin/mm-qcamera-daemon
# Camera-chromatix
vendor/lib/libchromatix_ar1335_common.so
vendor/lib/libchromatix_ar1335_cpp_hfr_120.so
vendor/lib/libchromatix_ar1335_cpp_liveshot.so
vendor/lib/libchromatix_ar1335_cpp_preview.so
vendor/lib/libchromatix_ar1335_cpp_snapshot.so
vendor/lib/libchromatix_ar1335_cpp_video.so
vendor/lib/libchromatix_ar1335_default_video.so
vendor/lib/libchromatix_ar1335_hfr_120.so
vendor/lib/libchromatix_ar1335_hfr_120_3a.so
vendor/lib/libchromatix_ar1335_postproc.so
vendor/lib/libchromatix_ar1335_snapshot.so
vendor/lib/libchromatix_ar1335_zsl_preview_3a.so
vendor/lib/libchromatix_ar1335_zsl_video_3a.so
vendor/lib/libchromatix_imx219_common.so
vendor/lib/libchromatix_imx219_cpp_hfr_120.so
vendor/lib/libchromatix_imx219_cpp_liveshot.so
vendor/lib/libchromatix_imx219_cpp_preview.so
vendor/lib/libchromatix_imx219_cpp_snapshot.so
vendor/lib/libchromatix_imx219_cpp_video_full.so
vendor/lib/libchromatix_imx219_hfr_120.so
vendor/lib/libchromatix_imx219_hfr_120_3a.so
vendor/lib/libchromatix_imx219_postproc.so
vendor/lib/libchromatix_imx219_snapshot.so
vendor/lib/libchromatix_imx219_video_full.so
vendor/lib/libchromatix_imx219_zsl_preview_3a.so
vendor/lib/libchromatix_imx219_zsl_video_3a.so
vendor/lib/libchromatix_imx338_4k_ihdr_video_3a.so
vendor/lib/libchromatix_imx338_4k_video_3a.so
vendor/lib/libchromatix_imx338_common.so
vendor/lib/libchromatix_imx338_cpp_hfr_120.so
vendor/lib/libchromatix_imx338_cpp_hfr_60.so
vendor/lib/libchromatix_imx338_cpp_ihdr_video.so
vendor/lib/libchromatix_imx338_cpp_ihdr_video_4k.so
vendor/lib/libchromatix_imx338_cpp_liveshot.so
vendor/lib/libchromatix_imx338_cpp_liveshot_4k.so
vendor/lib/libchromatix_imx338_cpp_liveshot_4k_ihdr.so
vendor/lib/libchromatix_imx338_cpp_liveshot_ihdr.so
vendor/lib/libchromatix_imx338_cpp_qtr_res_snapshot.so
vendor/lib/libchromatix_imx338_cpp_snapshot.so
vendor/lib/libchromatix_imx338_cpp_video.so
vendor/lib/libchromatix_imx338_cpp_video_4k.so
vendor/lib/libchromatix_imx338_default_ihdr_video.so
vendor/lib/libchromatix_imx338_default_video.so
vendor/lib/libchromatix_imx338_hfr_120.so
vendor/lib/libchromatix_imx338_hfr_120_3a.so
vendor/lib/libchromatix_imx338_hfr_60.so
vendor/lib/libchromatix_imx338_hfr_60_3a.so
vendor/lib/libchromatix_imx338_ihdr_video_3a.so
vendor/lib/libchromatix_imx338_ihdr_video_4k.so
vendor/lib/libchromatix_imx338_postproc.so
vendor/lib/libchromatix_imx338_qtr_res_preview_3a.so
vendor/lib/libchromatix_imx338_qtr_res_snapshot.so
vendor/lib/libchromatix_imx338_snapshot.so
vendor/lib/libchromatix_imx338_video_4k.so
vendor/lib/libchromatix_imx338_zsl_preview_3a.so
vendor/lib/libchromatix_imx338_zsl_video_3a.so
vendor/lib/libchromatix_mot_imx214_4k_ihdr_video_3A.so
vendor/lib/libchromatix_mot_imx214_4k_video_3A.so
vendor/lib/libchromatix_mot_imx214_common.so
vendor/lib/libchromatix_mot_imx214_cpp_hfr_120.so
vendor/lib/libchromatix_mot_imx214_cpp_hfr_60.so
vendor/lib/libchromatix_mot_imx214_cpp_liveshot.so
vendor/lib/libchromatix_mot_imx214_cpp_liveshot_4k.so
vendor/lib/libchromatix_mot_imx214_cpp_liveshot_4k_ihdr.so
vendor/lib/libchromatix_mot_imx214_cpp_liveshot_ihdr.so
vendor/lib/libchromatix_mot_imx214_cpp_snapshot.so
vendor/lib/libchromatix_mot_imx214_cpp_video.so
vendor/lib/libchromatix_mot_imx214_cpp_video_4k.so
vendor/lib/libchromatix_mot_imx214_cpp_video_4k_ihdr.so
vendor/lib/libchromatix_mot_imx214_cpp_video_ihdr.so
vendor/lib/libchromatix_mot_imx214_default_4k_video.so
vendor/lib/libchromatix_mot_imx214_default_ihdr_video.so
vendor/lib/libchromatix_mot_imx214_default_ihdr_video_4k.so
vendor/lib/libchromatix_mot_imx214_default_video.so
vendor/lib/libchromatix_mot_imx214_hfr_120.so
vendor/lib/libchromatix_mot_imx214_hfr_120_3A.so
vendor/lib/libchromatix_mot_imx214_hfr_60.so
vendor/lib/libchromatix_mot_imx214_hfr_60_3A.so
vendor/lib/libchromatix_mot_imx214_ihdr_video_3A.so
vendor/lib/libchromatix_mot_imx214_postproc.so
vendor/lib/libchromatix_mot_imx214_snapshot.so
vendor/lib/libchromatix_mot_imx214_zsl_preview_3A.so
vendor/lib/libchromatix_mot_imx214_zsl_video_3A.so
vendor/lib/libchromatix_mot_imx258_bear_4k_preview_3a.so
vendor/lib/libchromatix_mot_imx258_bear_4k_video_3a.so
vendor/lib/libchromatix_mot_imx258_bear_common.so
vendor/lib/libchromatix_mot_imx258_bear_cpp_hfr_120.so
vendor/lib/libchromatix_mot_imx258_bear_cpp_hfr_60.so
vendor/lib/libchromatix_mot_imx258_bear_cpp_liveshot.so
vendor/lib/libchromatix_mot_imx258_bear_cpp_preview.so
vendor/lib/libchromatix_mot_imx258_bear_cpp_snapshot.so
vendor/lib/libchromatix_mot_imx258_bear_cpp_video.so
vendor/lib/libchromatix_mot_imx258_bear_default_video.so
vendor/lib/libchromatix_mot_imx258_bear_hfr_120.so
vendor/lib/libchromatix_mot_imx258_bear_hfr_120_3a.so
vendor/lib/libchromatix_mot_imx258_bear_hfr_60.so
vendor/lib/libchromatix_mot_imx258_bear_hfr_60_3a.so
vendor/lib/libchromatix_mot_imx258_bear_postproc.so
vendor/lib/libchromatix_mot_imx258_bear_preview.so
vendor/lib/libchromatix_mot_imx258_bear_snapshot.so
vendor/lib/libchromatix_mot_imx258_bear_zsl_preview_3a.so
vendor/lib/libchromatix_mot_imx258_bear_zsl_video_3a.so
vendor/lib/libchromatix_mot_imx258_common.so
vendor/lib/libchromatix_mot_imx258_cpp_hfr_120.so
vendor/lib/libchromatix_mot_imx258_cpp_liveshot.so
vendor/lib/libchromatix_mot_imx258_cpp_preview.so
vendor/lib/libchromatix_mot_imx258_cpp_snapshot.so
vendor/lib/libchromatix_mot_imx258_cpp_video.so
vendor/lib/libchromatix_mot_imx258_default_video.so
vendor/lib/libchromatix_mot_imx258_hfr_120.so
vendor/lib/libchromatix_mot_imx258_hfr_120_3a.so
vendor/lib/libchromatix_mot_imx258_ihdr_video.so
vendor/lib/libchromatix_mot_imx258_ihdr_video_3a.so
vendor/lib/libchromatix_mot_imx258_mono_4k_preview_3a.so
vendor/lib/libchromatix_mot_imx258_mono_4k_video_3a.so
vendor/lib/libchromatix_mot_imx258_mono_common.so
vendor/lib/libchromatix_mot_imx258_mono_cpp_hfr_120.so
vendor/lib/libchromatix_mot_imx258_mono_cpp_hfr_60.so
vendor/lib/libchromatix_mot_imx258_mono_cpp_liveshot.so
vendor/lib/libchromatix_mot_imx258_mono_cpp_preview.so
vendor/lib/libchromatix_mot_imx258_mono_cpp_snapshot.so
vendor/lib/libchromatix_mot_imx258_mono_cpp_video.so
vendor/lib/libchromatix_mot_imx258_mono_default_video.so
vendor/lib/libchromatix_mot_imx258_mono_hfr_120.so
vendor/lib/libchromatix_mot_imx258_mono_hfr_120_3a.so
vendor/lib/libchromatix_mot_imx258_mono_hfr_60.so
vendor/lib/libchromatix_mot_imx258_mono_hfr_60_3a.so
vendor/lib/libchromatix_mot_imx258_mono_postproc.so
vendor/lib/libchromatix_mot_imx258_mono_preview.so
vendor/lib/libchromatix_mot_imx258_mono_snapshot.so
vendor/lib/libchromatix_mot_imx258_mono_zsl_preview_3a.so
vendor/lib/libchromatix_mot_imx258_mono_zsl_video_3a.so
vendor/lib/libchromatix_mot_imx258_postproc.so
vendor/lib/libchromatix_mot_imx258_snapshot.so
vendor/lib/libchromatix_mot_imx258_zsl_preview_3a.so
vendor/lib/libchromatix_mot_imx258_zsl_video_3a.so
vendor/lib/libchromatix_mot_imx362_1080p_preview_3a.so
vendor/lib/libchromatix_mot_imx362_1080p_video_3a.so
vendor/lib/libchromatix_mot_imx362_4k_ihdr_video_3a.so
vendor/lib/libchromatix_mot_imx362_4k_preview_3a.so
vendor/lib/libchromatix_mot_imx362_4k_video_3a.so
vendor/lib/libchromatix_mot_imx362_common.so
vendor/lib/libchromatix_mot_imx362_cpp_hfr_120.so
vendor/lib/libchromatix_mot_imx362_cpp_hfr_240.so
vendor/lib/libchromatix_mot_imx362_cpp_hfr_60.so
vendor/lib/libchromatix_mot_imx362_cpp_liveshot.so
vendor/lib/libchromatix_mot_imx362_cpp_preview.so
vendor/lib/libchromatix_mot_imx362_cpp_snapshot.so
vendor/lib/libchromatix_mot_imx362_cpp_video.so
vendor/lib/libchromatix_mot_imx362_cpp_video_4k.so
vendor/lib/libchromatix_mot_imx362_default_preview_3a.so
vendor/lib/libchromatix_mot_imx362_default_video.so
vendor/lib/libchromatix_mot_imx362_default_video_3a.so
vendor/lib/libchromatix_mot_imx362_fullsize_preview_3a.so
vendor/lib/libchromatix_mot_imx362_fullsize_video_3a.so
vendor/lib/libchromatix_mot_imx362_hfr_120.so
vendor/lib/libchromatix_mot_imx362_hfr_120_3a.so
vendor/lib/libchromatix_mot_imx362_hfr_240.so
vendor/lib/libchromatix_mot_imx362_hfr_240_3a.so
vendor/lib/libchromatix_mot_imx362_hfr_60.so
vendor/lib/libchromatix_mot_imx362_hfr_60_3a.so
vendor/lib/libchromatix_mot_imx362_ihdr_video.so
vendor/lib/libchromatix_mot_imx362_ihdr_video_3a.so
vendor/lib/libchromatix_mot_imx362_ihdr_video_4k.so
vendor/lib/libchromatix_mot_imx362_postproc.so
vendor/lib/libchromatix_mot_imx362_preview.so
vendor/lib/libchromatix_mot_imx362_snapshot.so
vendor/lib/libchromatix_mot_imx362_video_4k.so
vendor/lib/libchromatix_mot_ov5695_common.so
vendor/lib/libchromatix_mot_ov5695_cpp_hfr_120.so
vendor/lib/libchromatix_mot_ov5695_cpp_liveshot.so
vendor/lib/libchromatix_mot_ov5695_cpp_snapshot.so
vendor/lib/libchromatix_mot_ov5695_cpp_video.so
vendor/lib/libchromatix_mot_ov5695_default_video.so
vendor/lib/libchromatix_mot_ov5695_default_video_3a.so
vendor/lib/libchromatix_mot_ov5695_hfr_120.so
vendor/lib/libchromatix_mot_ov5695_hfr_120_3a.so
vendor/lib/libchromatix_mot_ov5695_ofilm_common.so
vendor/lib/libchromatix_mot_ov5695_ofilm_cpp_hfr_120.so
vendor/lib/libchromatix_mot_ov5695_ofilm_cpp_liveshot.so
vendor/lib/libchromatix_mot_ov5695_ofilm_cpp_snapshot.so
vendor/lib/libchromatix_mot_ov5695_ofilm_cpp_video.so
vendor/lib/libchromatix_mot_ov5695_ofilm_default_video.so
vendor/lib/libchromatix_mot_ov5695_ofilm_default_video_3a.so
vendor/lib/libchromatix_mot_ov5695_ofilm_hfr_120.so
vendor/lib/libchromatix_mot_ov5695_ofilm_hfr_120_3a.so
vendor/lib/libchromatix_mot_ov5695_ofilm_postproc.so
vendor/lib/libchromatix_mot_ov5695_ofilm_snapshot.so
vendor/lib/libchromatix_mot_ov5695_ofilm_snapshot_3a.so
vendor/lib/libchromatix_mot_ov5695_postproc.so
vendor/lib/libchromatix_mot_ov5695_snapshot.so
vendor/lib/libchromatix_mot_ov5695_snapshot_3a.so
vendor/lib/libchromatix_mot_s5k2l7sa_1080p_preview_3a.so
vendor/lib/libchromatix_mot_s5k2l7sa_1080p_video_3a.so
vendor/lib/libchromatix_mot_s5k2l7sa_4k_ihdr_video_3a.so
vendor/lib/libchromatix_mot_s5k2l7sa_4k_preview_3a.so
vendor/lib/libchromatix_mot_s5k2l7sa_4k_video_3a.so
vendor/lib/libchromatix_mot_s5k2l7sa_common.so
vendor/lib/libchromatix_mot_s5k2l7sa_cpp_hfr_120.so
vendor/lib/libchromatix_mot_s5k2l7sa_cpp_hfr_240.so
vendor/lib/libchromatix_mot_s5k2l7sa_cpp_hfr_60.so
vendor/lib/libchromatix_mot_s5k2l7sa_cpp_liveshot.so
vendor/lib/libchromatix_mot_s5k2l7sa_cpp_preview.so
vendor/lib/libchromatix_mot_s5k2l7sa_cpp_snapshot.so
vendor/lib/libchromatix_mot_s5k2l7sa_cpp_video.so
vendor/lib/libchromatix_mot_s5k2l7sa_cpp_video_4k.so
vendor/lib/libchromatix_mot_s5k2l7sa_default_preview_3a.so
vendor/lib/libchromatix_mot_s5k2l7sa_default_video.so
vendor/lib/libchromatix_mot_s5k2l7sa_default_video_3a.so
vendor/lib/libchromatix_mot_s5k2l7sa_fullsize_preview_3a.so
vendor/lib/libchromatix_mot_s5k2l7sa_fullsize_video_3a.so
vendor/lib/libchromatix_mot_s5k2l7sa_hfr_120.so
vendor/lib/libchromatix_mot_s5k2l7sa_hfr_120_3a.so
vendor/lib/libchromatix_mot_s5k2l7sa_hfr_240.so
vendor/lib/libchromatix_mot_s5k2l7sa_hfr_240_3a.so
vendor/lib/libchromatix_mot_s5k2l7sa_hfr_60.so
vendor/lib/libchromatix_mot_s5k2l7sa_hfr_60_3a.so
vendor/lib/libchromatix_mot_s5k2l7sa_ihdr_video.so
vendor/lib/libchromatix_mot_s5k2l7sa_ihdr_video_3a.so
vendor/lib/libchromatix_mot_s5k2l7sa_ihdr_video_4k.so
vendor/lib/libchromatix_mot_s5k2l7sa_postproc.so
vendor/lib/libchromatix_mot_s5k2l7sa_preview.so
vendor/lib/libchromatix_mot_s5k2l7sa_snapshot.so
vendor/lib/libchromatix_mot_s5k2l7sa_video_4k.so
vendor/lib/libchromatix_mot_s5k2l7_1080p_preview_3a.so
vendor/lib/libchromatix_mot_s5k2l7_1080p_video_3a.so
vendor/lib/libchromatix_mot_s5k2l7_4k_ihdr_video_3a.so
vendor/lib/libchromatix_mot_s5k2l7_4k_preview_3a.so
vendor/lib/libchromatix_mot_s5k2l7_4k_video_3a.so
vendor/lib/libchromatix_mot_s5k2l7_common.so
vendor/lib/libchromatix_mot_s5k2l7_cpp_hfr_120.so
vendor/lib/libchromatix_mot_s5k2l7_cpp_hfr_240.so
vendor/lib/libchromatix_mot_s5k2l7_cpp_hfr_60.so
vendor/lib/libchromatix_mot_s5k2l7_cpp_liveshot.so
vendor/lib/libchromatix_mot_s5k2l7_cpp_preview.so
vendor/lib/libchromatix_mot_s5k2l7_cpp_snapshot.so
vendor/lib/libchromatix_mot_s5k2l7_cpp_video.so
vendor/lib/libchromatix_mot_s5k2l7_cpp_video_4k.so
vendor/lib/libchromatix_mot_s5k2l7_default_preview_3a.so
vendor/lib/libchromatix_mot_s5k2l7_default_video.so
vendor/lib/libchromatix_mot_s5k2l7_default_video_3a.so
vendor/lib/libchromatix_mot_s5k2l7_fullsize_preview_3a.so
vendor/lib/libchromatix_mot_s5k2l7_fullsize_video_3a.so
vendor/lib/libchromatix_mot_s5k2l7_hfr_120.so
vendor/lib/libchromatix_mot_s5k2l7_hfr_120_3a.so
vendor/lib/libchromatix_mot_s5k2l7_hfr_240.so
vendor/lib/libchromatix_mot_s5k2l7_hfr_240_3a.so
vendor/lib/libchromatix_mot_s5k2l7_hfr_60.so
vendor/lib/libchromatix_mot_s5k2l7_hfr_60_3a.so
vendor/lib/libchromatix_mot_s5k2l7_ihdr_video.so
vendor/lib/libchromatix_mot_s5k2l7_ihdr_video_3a.so
vendor/lib/libchromatix_mot_s5k2l7_ihdr_video_4k.so
vendor/lib/libchromatix_mot_s5k2l7_postproc.so
vendor/lib/libchromatix_mot_s5k2l7_preview.so
vendor/lib/libchromatix_mot_s5k2l7_snapshot.so
vendor/lib/libchromatix_mot_s5k2l7_video_4k.so
vendor/lib/libchromatix_mot_s5k3l8_bear_common.so
vendor/lib/libchromatix_mot_s5k3l8_bear_cpp_hfr_120.so
vendor/lib/libchromatix_mot_s5k3l8_bear_cpp_hfr_60.so
vendor/lib/libchromatix_mot_s5k3l8_bear_cpp_liveshot.so
vendor/lib/libchromatix_mot_s5k3l8_bear_cpp_preview.so
vendor/lib/libchromatix_mot_s5k3l8_bear_cpp_snapshot.so
vendor/lib/libchromatix_mot_s5k3l8_bear_cpp_snapshot_custom.so
vendor/lib/libchromatix_mot_s5k3l8_bear_cpp_snapshot_downscale.so
vendor/lib/libchromatix_mot_s5k3l8_bear_cpp_video.so
vendor/lib/libchromatix_mot_s5k3l8_bear_default_preview_3a.so
vendor/lib/libchromatix_mot_s5k3l8_bear_default_video_3a.so
vendor/lib/libchromatix_mot_s5k3l8_bear_hfr_120.so
vendor/lib/libchromatix_mot_s5k3l8_bear_hfr_120_3a.so
vendor/lib/libchromatix_mot_s5k3l8_bear_hfr_60.so
vendor/lib/libchromatix_mot_s5k3l8_bear_hfr_60_3a.so
vendor/lib/libchromatix_mot_s5k3l8_bear_postproc.so
vendor/lib/libchromatix_mot_s5k3l8_bear_preview.so
vendor/lib/libchromatix_mot_s5k3l8_bear_snapshot.so
vendor/lib/libchromatix_mot_s5k3l8_bear_video.so
vendor/lib/libchromatix_mot_s5k3l8_bear_zsl_preview_3a.so
vendor/lib/libchromatix_mot_s5k3l8_bear_zsl_video_3a.so
vendor/lib/libchromatix_mot_s5k3l8_mono_common.so
vendor/lib/libchromatix_mot_s5k3l8_mono_cpp_hfr_120.so
vendor/lib/libchromatix_mot_s5k3l8_mono_cpp_liveshot.so
vendor/lib/libchromatix_mot_s5k3l8_mono_cpp_preview.so
vendor/lib/libchromatix_mot_s5k3l8_mono_cpp_snapshot.so
vendor/lib/libchromatix_mot_s5k3l8_mono_cpp_snapshot_custom.so
vendor/lib/libchromatix_mot_s5k3l8_mono_cpp_snapshot_downscale.so
vendor/lib/libchromatix_mot_s5k3l8_mono_cpp_video.so
vendor/lib/libchromatix_mot_s5k3l8_mono_default_preview_3a.so
vendor/lib/libchromatix_mot_s5k3l8_mono_default_video_3a.so
vendor/lib/libchromatix_mot_s5k3l8_mono_hfr_120.so
vendor/lib/libchromatix_mot_s5k3l8_mono_hfr_120_3a.so
vendor/lib/libchromatix_mot_s5k3l8_mono_postproc.so
vendor/lib/libchromatix_mot_s5k3l8_mono_preview.so
vendor/lib/libchromatix_mot_s5k3l8_mono_snapshot.so
vendor/lib/libchromatix_mot_s5k3l8_mono_video.so
vendor/lib/libchromatix_mot_s5k3l8_mono_zsl_preview_3a.so
vendor/lib/libchromatix_mot_s5k3l8_mono_zsl_video_3a.so
vendor/lib/libchromatix_ov16860_4k_ihdr_video_3a.so
vendor/lib/libchromatix_ov16860_4k_video_3a.so
vendor/lib/libchromatix_ov16860_common.so
vendor/lib/libchromatix_ov16860_cpp_hfr_120.so
vendor/lib/libchromatix_ov16860_cpp_ihdr_video.so
vendor/lib/libchromatix_ov16860_cpp_ihdr_video_4k.so
vendor/lib/libchromatix_ov16860_cpp_liveshot.so
vendor/lib/libchromatix_ov16860_cpp_liveshot_4k.so
vendor/lib/libchromatix_ov16860_cpp_liveshot_4k_ihdr.so
vendor/lib/libchromatix_ov16860_cpp_liveshot_ihdr.so
vendor/lib/libchromatix_ov16860_cpp_snapshot.so
vendor/lib/libchromatix_ov16860_cpp_video.so
vendor/lib/libchromatix_ov16860_cpp_video_4k.so
vendor/lib/libchromatix_ov16860_default_ihdr_video.so
vendor/lib/libchromatix_ov16860_default_video.so
vendor/lib/libchromatix_ov16860_hfr_120.so
vendor/lib/libchromatix_ov16860_hfr_120_3a.so
vendor/lib/libchromatix_ov16860_ihdr_video_3a.so
vendor/lib/libchromatix_ov16860_ihdr_video_4k.so
vendor/lib/libchromatix_ov16860_postproc.so
vendor/lib/libchromatix_ov16860_snapshot.so
vendor/lib/libchromatix_ov16860_video_4k.so
vendor/lib/libchromatix_ov16860_zsl_preview_3a.so
vendor/lib/libchromatix_ov16860_zsl_video_3a.so
vendor/lib/libchromatix_ov5693_common.so
vendor/lib/libchromatix_ov5693_cpp_hfr_120.so
vendor/lib/libchromatix_ov5693_cpp_liveshot.so
vendor/lib/libchromatix_ov5693_cpp_snapshot.so
vendor/lib/libchromatix_ov5693_cpp_video.so
vendor/lib/libchromatix_ov5693_default_video.so
vendor/lib/libchromatix_ov5693_default_video_3a.so
vendor/lib/libchromatix_ov5693_hfr_120.so
vendor/lib/libchromatix_ov5693_hfr_120_3a.so
vendor/lib/libchromatix_ov5693_postproc.so
vendor/lib/libchromatix_ov5693_snapshot.so
vendor/lib/libchromatix_ov5693_snapshot_3a.so
vendor/lib/libchromatix_s5k3p3_common.so
vendor/lib/libchromatix_s5k3p3_cpp_hfr_120.so
vendor/lib/libchromatix_s5k3p3_cpp_liveshot.so
vendor/lib/libchromatix_s5k3p3_cpp_preview.so
vendor/lib/libchromatix_s5k3p3_cpp_snapshot.so
vendor/lib/libchromatix_s5k3p3_cpp_video.so
vendor/lib/libchromatix_s5k3p3_hfr_120.so
vendor/lib/libchromatix_s5k3p3_hfr_120_3a.so
vendor/lib/libchromatix_s5k3p3_ihdr_video.so
vendor/lib/libchromatix_s5k3p3_ihdr_video_3a.so
vendor/lib/libchromatix_s5k3p3_postproc.so
vendor/lib/libchromatix_s5k3p3_snapshot.so
vendor/lib/libchromatix_s5k3p3_zsl_preview_3a.so
vendor/lib/libchromatix_s5k3p3_zsl_video_3a.so
vendor/lib/libchromatix_s5k4h8_common.so
vendor/lib/libchromatix_s5k4h8_cpp_hfr_120.so
vendor/lib/libchromatix_s5k4h8_cpp_liveshot.so
vendor/lib/libchromatix_s5k4h8_cpp_preview.so
vendor/lib/libchromatix_s5k4h8_cpp_snapshot.so
vendor/lib/libchromatix_s5k4h8_cpp_snapshot_custom.so
vendor/lib/libchromatix_s5k4h8_cpp_video_full.so
vendor/lib/libchromatix_s5k4h8_hfr_120.so
vendor/lib/libchromatix_s5k4h8_hfr_120_3a.so
vendor/lib/libchromatix_s5k4h8_postproc.so
vendor/lib/libchromatix_s5k4h8_snapshot.so
vendor/lib/libchromatix_s5k4h8_video_full.so
vendor/lib/libchromatix_s5k4h8_zsl_preview_3a.so
vendor/lib/libchromatix_s5k4h8_zsl_video_3a.so
# Camera-firmware
etc/firmware/cpp_firmware_v1_1_1.fw:vendor/firmware/cpp_firmware_v1_1_1.fw
etc/firmware/cpp_firmware_v1_1_6.fw:vendor/firmware/cpp_firmware_v1_1_6.fw
etc/firmware/cpp_firmware_v1_2_0.fw:vendor/firmware/cpp_firmware_v1_2_0.fw
etc/firmware/cpp_firmware_v1_4_0.fw:vendor/firmware/cpp_firmware_v1_4_0.fw
etc/firmware/cpp_firmware_v1_5_0.fw:vendor/firmware/cpp_firmware_v1_5_0.fw
etc/firmware/cpp_firmware_v1_5_1.fw:vendor/firmware/cpp_firmware_v1_5_1.fw
etc/firmware/cpp_firmware_v1_5_2.fw:vendor/firmware/cpp_firmware_v1_5_2.fw
etc/firmware/cpp_firmware_v1_6_0.fw:vendor/firmware/cpp_firmware_v1_6_0.fw
etc/firmware/cpp_firmware_v1_8_0.fw:vendor/firmware/cpp_firmware_v1_8_0.fw
etc/firmware/cpp_firmware_v1_10_0.fw:vendor/firmware/cpp_firmware_v1_10_0.fw
etc/firmware/cpp_firmware_v1_12_0.fw:vendor/firmware/cpp_firmware_v1_12_0.fw
# Camera-sensors
vendor/lib/libmmcamera2_c2d_module.so
vendor/lib/libmmcamera2_cpp_module.so
vendor/lib/libmmcamera2_dcrf.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_mct.so
vendor/lib/libmmcamera2_mct_shimlayer.so
vendor/lib/libmmcamera2_pproc_modules.so
vendor/lib/libmmcamera2_pp_buf_mgr.so
vendor/lib/libmmcamera2_q3a_core.so
vendor/lib/libmmcamera2_sensor_modules.so
vendor/lib/libmmcamera2_stats_algorithm.so
vendor/lib/libmmcamera2_stats_modules.so
vendor/lib/libmmcamera_ar1335.so
vendor/lib/libmmcamera_cac3_lib.so
vendor/lib/libmmcamera_chromaflash_lib.so
vendor/lib/libmmcamera_dbg.so
vendor/lib/libmmcamera_dcrf_lib.so
vendor/lib/libmmcamera_dummyalgo.so
vendor/lib/libmmcamera_dw9763_eeprom.so
vendor/lib/libmmcamera_dw9767_eeprom.so
vendor/lib/libmmcamera_eebinparse.so
vendor/lib/libmmcamera_eeprom_util.so
vendor/lib/libmmcamera_eztune_module.so
vendor/lib/libmmcamera_facedetection_lib.so
vendor/lib/libmmcamera_faceproc.so
vendor/lib/libmmcamera_gt24c64_bear_eeprom.so
vendor/lib/libmmcamera_gt24c64_mono_eeprom.so
vendor/lib/libmmcamera_hdr_gb_lib.so
vendor/lib/libmmcamera_imglib.so
vendor/lib/libmmcamera_imx219.so
vendor/lib/libmmcamera_imx338.so
vendor/lib/libmmcamera_interface.so
vendor/lib/libmmcamera_isp_abf40.so
vendor/lib/libmmcamera_isp_bcc40.so
vendor/lib/libmmcamera_isp_be_stats44.so
vendor/lib/libmmcamera_isp_bf_stats47.so
vendor/lib/libmmcamera_isp_bg_stats44.so
vendor/lib/libmmcamera_isp_bhist_stats44.so
vendor/lib/libmmcamera_isp_bpc40.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_color_correct40.so
vendor/lib/libmmcamera_isp_color_xform_encoder40.so
vendor/lib/libmmcamera_isp_color_xform_viewfinder40.so
vendor/lib/libmmcamera_isp_cs_stats44.so
vendor/lib/libmmcamera_isp_demosaic40.so
vendor/lib/libmmcamera_isp_demux40.so
vendor/lib/libmmcamera_isp_fovcrop_encoder40.so
vendor/lib/libmmcamera_isp_fovcrop_viewfinder40.so
vendor/lib/libmmcamera_isp_gamma40.so
vendor/lib/libmmcamera_isp_ihist_stats44.so
vendor/lib/libmmcamera_isp_linearization40.so
vendor/lib/libmmcamera_isp_ltm44.so
vendor/lib/libmmcamera_isp_luma_adaptation40.so
vendor/lib/libmmcamera_isp_mce40.so
vendor/lib/libmmcamera_isp_mesh_rolloff40.so
vendor/lib/libmmcamera_isp_rs_stats44.so
vendor/lib/libmmcamera_isp_scaler_encoder44.so
vendor/lib/libmmcamera_isp_scaler_viewfinder44.so
vendor/lib/libmmcamera_isp_sce40.so
vendor/lib/libmmcamera_isp_sub_module.so
vendor/lib/libmmcamera_isp_template.so
vendor/lib/libmmcamera_isp_wb40.so
vendor/lib/libmmcamera_l4h8f20_eeprom.so
vendor/lib/libmmcamera_llvd.so
vendor/lib/libmmcamera_mot_imx214.so
vendor/lib/libmmcamera_mot_imx258.so
vendor/lib/libmmcamera_mot_imx258_bear.so
vendor/lib/libmmcamera_mot_imx258_mono.so
vendor/lib/libmmcamera_mot_imx362.so
vendor/lib/libmmcamera_mot_ov5695.so
vendor/lib/libmmcamera_mot_s5k2l7.so
vendor/lib/libmmcamera_mot_s5k2l7sa.so
vendor/lib/libmmcamera_mot_s5k3l8_bear.so
vendor/lib/libmmcamera_mot_s5k3l8_mono.so
vendor/lib/libmmcamera_optizoom_lib.so
vendor/lib/libmmcamera_ov5693.so
vendor/lib/libmmcamera_ov5693_eeprom.so
vendor/lib/libmmcamera_ov5695_eeprom.so
vendor/lib/libmmcamera_paaf_lib.so
vendor/lib/libmmcamera_pdaf.so
vendor/lib/libmmcamera_pdafcamif.so
vendor/lib/libmmcamera_ppbase_module.so
vendor/lib/libmmcamera_ppeiscore.so
vendor/lib/libmmcamera_quadracfa.so
vendor/lib/libmmcamera_s5k3p3.so
vendor/lib/libmmcamera_s5k3p3_eeprom.so
vendor/lib/libmmcamera_s5k4h8.so
vendor/lib/libmmcamera_s5k4h8_eeprom.so
vendor/lib/libmmcamera_sony_rumba_eeprom.so
vendor/lib/libmmcamera_stillmore_lib.so
vendor/lib/libmmcamera_sw2d_lib.so
vendor/lib/libmmcamera_thread_services.so
vendor/lib/libmmcamera_tintless_algo.so
vendor/lib/libmmcamera_tintless_bg_pca_algo.so
vendor/lib/libmmcamera_trueportrait_lib.so
vendor/lib/libmmcamera_ubifocus_lib.so
vendor/lib/libmmcamera_vstab_module.so
vendor/lib/libllvd_smore.so
vendor/lib/libtrueportrait.so
# Charging
vendor/bin/charge_only_mode
# Display-calibration
vendor/etc/qdcm_calib_data_mipi_mot_vid_djn_1080p_550.xml
vendor/etc/qdcm_calib_data_mipi_mot_vid_tianma_1080p_550.xml
# Display-panels
vendor/firmware/focaltech-biel-ft5436-06-0001-sanders.bin
vendor/firmware/focaltech-djn-ft5436-02-0001-sanders.bin
vendor/firmware/focaltech-toptouch-ft5436-0a-0001-sanders.bin
# Gatekeeper - from LA.UM.8.6.r1-04700-89xx.0
vendor/lib64/hw/gatekeeper.msm8953.so|b3a9d78faa65029b0a20f2ff6dfe986bc80b64c1
# Keystore - from LA.UM.8.6.r1-04700-89xx.0
vendor/lib64/hw/keystore.msm8953.so|1c0fd8bfd45877c40b72aa2714055cddd2104133
# Fingerprint
vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-fpcservice
vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service.rc
vendor/lib/com.fingerprints.extension@1.0_vendor.so
# Firmwares - emmc
etc/firmware/emmc_ffu_15_FE12MB.fw:vendor/firmware/emmc_ffu_15_FE12MB.fw
etc/firmware/emmc_ffu_15_QE13MB.fw:vendor/firmware/emmc_ffu_15_QE13MB.fw
etc/firmware/emmc_ffu_15_RC14MB.fw:vendor/firmware/emmc_ffu_15_RC14MB.fw
etc/firmware/emmc_ffu_15_RC1BMB.fw:vendor/firmware/emmc_ffu_15_RC1BMB.fw
etc/firmware/emmc_ffu_15_RE1BMB.fw:vendor/firmware/emmc_ffu_15_RE1BMB.fw
etc/firmware/emmc_ffu_15_RX14MB.fw:vendor/firmware/emmc_ffu_15_RX14MB.fw
etc/firmware/emmc_ffu_15_RX1BMB.fw:vendor/firmware/emmc_ffu_15_RX1BMB.fw
# Misc
vendor/firmware/FT8006U_Pramboot.bin
vendor/firmware/leia_pfp_470.fw
vendor/firmware/leia_pm4_470.fw
# NFC
vendor/firmware/libpn548ad_fw.so:vendor/lib/libpn548ad_fw.so
# SCVE
vendor/lib/libscveBlobDescriptor.so
vendor/lib/libscveBlobDescriptor_stub.so
vendor/lib/libscveCommon.so
vendor/lib/libscveCommon_stub.so
vendor/lib/libscveImageCorrection.so
vendor/lib/libscveObjectSegmentation.so
vendor/lib/libscveObjectTracker.so
vendor/lib/libscveObjectTracker_stub.so
vendor/lib/libscvePanorama.so
vendor/lib/libscvePanorama_lite.so
vendor/lib/rfsa/adsp/libscveBlobDescriptor_skel.so
vendor/lib/rfsa/adsp/libscveT2T_skel.so

22
rootdir/Android.mk Normal file
View File

@@ -0,0 +1,22 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
# Device init scripts
# Init scripts
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.qcom
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/fstab.qcom
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.sanders.rc
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.sanders.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)

21
rootdir/etc/fstab.qcom Normal file
View File

@@ -0,0 +1,21 @@
# Android fstab file.
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
#TODO: Add 'check' as fs_mgr_flags with data partition.
# Currently we dont have e2fsck compiled. So fs check would failed.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/bootdevice/by-name/userdata /data f2fs rw,discard,nosuid,nodev,noatime,nodiratime,nobarrier,inline_xattr,inline_data wait,check,formattable,encryptable=/dev/block/bootdevice/by-name/metadata
/dev/block/bootdevice/by-name/cache /cache ext4 rw,noatime,nosuid,nodev,barrier=1,data=ordered wait,check,formattable
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/dev/block/bootdevice/by-name/modem /vendor/firmware_mnt ext4 ro,nosuid,nodev,context=u:object_r:firmware_file:s0 wait
/dev/block/bootdevice/by-name/dsp /vendor/dsp ext4 ro,nosuid,nodev,barrier=1,defcontext=u:object_r:adsprpcd_file:s0 wait
/dev/block/bootdevice/by-name/fsg /vendor/fsg ext4 ro,nosuid,nodev,context=u:object_r:fsg_firmware_file:s0 wait
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,barrier=1 wait
/devices/*/xhci-hcd.*.auto/usb* auto auto defaults voldmanaged=usb:auto
/devices/soc/7864900.sdhci/mmc_host* auto auto nosuid,nodev wait,voldmanaged=sdcard1:auto,encryptable=footer
/dev/block/zram0 none swap defaults zramsize=536870912
/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait,recoveryonly
/dev/block/bootdevice/by-name/oem /vendor ext4 ro,barrier=1 wait,recoveryonly
/dev/block/bootdevice/by-name/boot /boot emmc defaults defaults

View File

@@ -0,0 +1,42 @@
# Copyright (c) 2009-2012, 2014-2018, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of The Linux Foundation nor
# the names of its contributors may be used to endorse or promote
# products derived from this software without specific prior written
# permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
on boot
chown system system /sys/homebutton/enable
chown system system /sys/homebutton/enable_off
chown system system /sys/homebutton/haptic
chown system system /sys/homebutton/haptic_off
chown system system /sys/homebutton/key
chown system system /sys/homebutton/key_hold
chown system system /sys/homebutton/key_dbltap
chown system system /sys/homebutton/key_left
chown system system /sys/homebutton/key_right
chown system system /sys/homebutton/key_screenoff
chown system system /sys/homebutton/key_screenoff_hold
chown system system /sys/homebutton/key_screenoff_dbltap
chown system system /sys/homebutton/key_screenoff_left
chown system system /sys/homebutton/key_screenoff_right

27
setup-makefiles.sh Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/bash
#
# Copyright (C) 2017-2019 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
# Required!
export DEVICE=sanders
export DEVICE_COMMON=msm8953-common
export VENDOR=motorola
export DEVICE_BRINGUP_YEAR=2020
"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"