mirror of
https://github.com/BobTheBlinker/android_device_motorola_sm6375-common.git
synced 2026-10-05 19:31:58 -04:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f95093a24 |
||
|
|
6a8b820e91 |
||
|
|
b4c443ff2c |
||
|
|
20bff46da7 |
||
|
|
bec8c1a920 |
||
|
|
2f6236702d |
||
|
|
bdcdde058c |
||
|
|
487d7f08f3 |
||
|
|
d5ed01c027 |
||
|
|
0c9d6ba80f |
||
|
|
827824220b |
||
|
|
ff1035c5d5 |
||
|
|
f06874eb71 |
||
|
|
6b8e6a885d |
||
|
|
93bb4b5ca1 |
||
|
|
761ac3e33f |
||
|
|
a7c5921df2 |
||
|
|
9692ca35f5 |
||
|
|
17d69f3634 | ||
|
|
18bcb06f9d |
||
|
|
3e2b71bd98 |
||
|
|
1ddaea0e7c |
20 changed files with 103 additions and 393 deletions
|
|
@ -148,10 +148,22 @@ BOARD_VENDOR_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor
|
|||
|
||||
# Verified Boot
|
||||
BOARD_AVB_ENABLE := true
|
||||
|
||||
ifneq (,$(AVB_CUSTOM_KEY_PATH))
|
||||
BOARD_AVB_ALGORITHM := $(AVB_CUSTOM_ALGORITHM)
|
||||
BOARD_AVB_KEY_PATH := $(AVB_CUSTOM_KEY_PATH)
|
||||
else
|
||||
AVB_CUSTOM_ALGORITHM := SHA256_RSA2048
|
||||
AVB_CUSTOM_KEY_PATH := external/avb/test/data/testkey_rsa2048.pem
|
||||
endif
|
||||
|
||||
ifneq ($(WITH_AVB),true)
|
||||
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 3
|
||||
endif
|
||||
|
||||
BOARD_AVB_VBMETA_SYSTEM := system system_ext product
|
||||
BOARD_AVB_VBMETA_SYSTEM_KEY_PATH := external/avb/test/data/testkey_rsa2048.pem
|
||||
BOARD_AVB_VBMETA_SYSTEM_ALGORITHM := SHA256_RSA2048
|
||||
BOARD_AVB_VBMETA_SYSTEM_ALGORITHM := $(AVB_CUSTOM_ALGORITHM)
|
||||
BOARD_AVB_VBMETA_SYSTEM_KEY_PATH := $(AVB_CUSTOM_KEY_PATH)
|
||||
BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX_LOCATION := 2
|
||||
|
||||
# WiFi
|
||||
|
|
|
|||
|
|
@ -99,11 +99,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="raw" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="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"
|
||||
|
|
@ -360,31 +355,31 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||
<routes>
|
||||
<route type="mix" sink="Earpiece"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="Speaker"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="Wired Headset"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="Wired Headphones"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="Line"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="HDMI"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,compress_passthrough,voip_rx"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,compress_passthrough,voip_rx"/>
|
||||
<route type="mix" sink="Proxy"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload"/>
|
||||
<route type="mix" sink="FM"
|
||||
sources="primary output"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO Car Kit"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="USB Device Out"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>
|
||||
<route type="mix" sink="Telephony Tx"
|
||||
sources="voice_tx,incall_music_uplink"/>
|
||||
<route type="mix" sink="voice_rx"
|
||||
|
|
|
|||
|
|
@ -99,11 +99,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="raw" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="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"
|
||||
|
|
@ -345,31 +340,31 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||
<routes>
|
||||
<route type="mix" sink="Earpiece"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="Speaker"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="Wired Headset"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="Wired Headphones"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="Line"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="HDMI"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,compress_passthrough,voip_rx"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,compress_passthrough,voip_rx"/>
|
||||
<route type="mix" sink="Proxy"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload"/>
|
||||
<route type="mix" sink="FM"
|
||||
sources="primary output"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO Car Kit"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="USB Device Out"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>
|
||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>
|
||||
<route type="mix" sink="Telephony Tx"
|
||||
sources="voice_tx,incall_music_uplink"/>
|
||||
<route type="mix" sink="voice_rx"
|
||||
|
|
|
|||
18
common.mk
18
common.mk
|
|
@ -31,6 +31,7 @@ PRODUCT_PACKAGES += \
|
|||
FrameworksResCommon \
|
||||
FrameworksResProduct \
|
||||
FrameworksResTarget \
|
||||
LineageApertureAppCommon \
|
||||
NcmTetheringOverlay \
|
||||
SettingsProviderResCommon \
|
||||
SystemUIResCommon \
|
||||
|
|
@ -137,10 +138,6 @@ PRODUCT_PACKAGES += \
|
|||
PRODUCT_PACKAGES += \
|
||||
fastbootd
|
||||
|
||||
# Framework detect
|
||||
PRODUCT_PACKAGES += \
|
||||
libvndfwk_detect_jni.qti.vendor # Needed by CNE app
|
||||
|
||||
# GPS
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.gnss@2.1-impl-qti \
|
||||
|
|
@ -156,10 +153,7 @@ PRODUCT_PACKAGES += \
|
|||
flp.conf \
|
||||
gnss_antenna_info.conf \
|
||||
gps.conf \
|
||||
izat.conf \
|
||||
lowi.conf \
|
||||
sap.conf \
|
||||
xtwifi.conf
|
||||
izat.conf
|
||||
|
||||
# Health
|
||||
PRODUCT_PACKAGES += \
|
||||
|
|
@ -203,6 +197,12 @@ PRODUCT_PACKAGES += \
|
|||
$(call soong_config_set_bool,livedisplay_sdm,enable_dm,false)
|
||||
$(call soong_config_set_bool,livedisplay_sysfs,enable_se,true)
|
||||
|
||||
# Lineage Health
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.lineage.health-service.default
|
||||
|
||||
$(call soong_config_set,lineage_health,charging_control_charging_path,/sys/module/qpnp_adaptive_charge/parameters/charging_enabled)
|
||||
|
||||
# Media
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/media/blair/media_codecs_performance_blair.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_blair.xml \
|
||||
|
|
@ -212,6 +212,8 @@ PRODUCT_COPY_FILES += \
|
|||
$(LOCAL_PATH)/media/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
|
||||
$(LOCAL_PATH)/media/media_codecs_performance_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_c2.xml
|
||||
|
||||
$(call soong_config_set_bool,stagefright,target_disable_thumbnail_block_model,true)
|
||||
|
||||
# Moto hardware
|
||||
PRODUCT_PACKAGES += \
|
||||
MotoActions \
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ lib_fixups: lib_fixups_user_type = {
|
|||
'vendor.qti.hardware.fm@1.0',
|
||||
'vendor.qti.hardware.wifidisplaysession@1.0',
|
||||
'vendor.qti.imsrtpservice@3.0',
|
||||
'vendor.qti.qspmhal@1.0',
|
||||
): lib_fixup_vendor_suffix,
|
||||
}
|
||||
|
||||
|
|
@ -51,6 +50,11 @@ blob_fixups: blob_fixups_user_type = {
|
|||
.add_needed('libinput_shim.so'),
|
||||
'system_ext/priv-app/ims/ims.apk': blob_fixup()
|
||||
.apktool_patch('ims-patches'),
|
||||
(
|
||||
'vendor/lib64/libdpps.so',
|
||||
'vendor/lib64/libsnapdragoncolor-manager.so',
|
||||
): blob_fixup()
|
||||
.replace_needed('libtinyxml2.so', 'libtinyxml2-v34.so'),
|
||||
'vendor/lib64/libwvhidl.so': blob_fixup()
|
||||
.add_needed('libcrypto_shim.so'),
|
||||
('vendor/bin/init.kernel.post_boot-blair.sh', 'vendor/bin/init.kernel.post_boot-holi.sh'): blob_fixup()
|
||||
|
|
|
|||
|
|
@ -18,24 +18,6 @@ prebuilt_etc {
|
|||
src: "izat.conf",
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "lowi.conf",
|
||||
vendor: true,
|
||||
src: "lowi.conf",
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "sap.conf",
|
||||
vendor: true,
|
||||
src: "sap.conf",
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "xtwifi.conf",
|
||||
vendor: true,
|
||||
src: "xtwifi.conf",
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
|
||||
name: "gnss_antenna_info.conf",
|
||||
|
|
|
|||
|
|
@ -1,29 +0,0 @@
|
|||
#*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*
|
||||
#
|
||||
# LOWI Config file - lahaina
|
||||
#
|
||||
# GENERAL DESCRIPTION
|
||||
# This file contains the config params for LOWI
|
||||
#
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
# 2012-2013 Qualcomm Atheros, Inc.
|
||||
# All Rights Reserved.
|
||||
# Qualcomm Atheros Confidential and Proprietary.
|
||||
#
|
||||
# Export of this technology or software is regulated by the U.S. Government.
|
||||
# Diversion contrary to U.S. law prohibited.
|
||||
#=============================================================================*/
|
||||
|
||||
# X86 ONLY - UBUNTU:
|
||||
# Copy this file in the same directory where the executable is
|
||||
|
||||
# Log level
|
||||
# EL_LOG_OFF = 0, EL_ERROR = 1, EL_WARNING = 2, EL_INFO = 3, EL_DEBUG = 4, EL_VERBOSE = 5, EL_LOG_ALL = 100
|
||||
LOWI_LOG_LEVEL = 4
|
||||
LOWI_USE_LOWI_LP = 0
|
||||
LOWI_HE_RTT_SUPPORT = 1
|
||||
LOWI_USE_NLMSG_FOR_CAPS = 1
|
||||
LOWI_RTT_WEIGHTED_MEAN = 1
|
||||
179
gps/etc/sap.conf
179
gps/etc/sap.conf
|
|
@ -1,179 +0,0 @@
|
|||
################################
|
||||
# Sensor Settings
|
||||
################################
|
||||
#The following parameters are optional.
|
||||
#Internal defaults support MEMS sensors
|
||||
#native to most handset devices.
|
||||
#Device specific sensor characterization
|
||||
#for improved performance is possible as
|
||||
#described in SAP application notes.
|
||||
#GYRO_BIAS_RANDOM_WALK=
|
||||
#ACCEL_RANDOM_WALK_SPECTRAL_DENSITY=
|
||||
#ANGLE_RANDOM_WALK_SPECTRAL_DENSITY=
|
||||
#RATE_RANDOM_WALK_SPECTRAL_DENSITY=
|
||||
#VELOCITY_RANDOM_WALK_SPECTRAL_DENSITY=
|
||||
|
||||
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
|
||||
# 4 - Debug, 5 - Verbose
|
||||
# If DEBUG_LEVEL is commented, Android's logging levels will be used
|
||||
DEBUG_LEVEL = 0
|
||||
# Sensor Sampling Rate Parameters for Low-Data Rate Filter (should be greater than 0)
|
||||
# used in loc_eng_reinit
|
||||
SENSOR_ACCEL_BATCHES_PER_SEC=2
|
||||
SENSOR_ACCEL_SAMPLES_PER_BATCH=5
|
||||
SENSOR_GYRO_BATCHES_PER_SEC=2
|
||||
SENSOR_GYRO_SAMPLES_PER_BATCH=5
|
||||
# Sensor Sampling Rate Parameters for High-Data Rate Filter (should be greater than 0)
|
||||
SENSOR_ACCEL_BATCHES_PER_SEC_HIGH=4
|
||||
SENSOR_ACCEL_SAMPLES_PER_BATCH_HIGH=25
|
||||
SENSOR_GYRO_BATCHES_PER_SEC_HIGH=4
|
||||
SENSOR_GYRO_SAMPLES_PER_BATCH_HIGH=25
|
||||
|
||||
# Sensor Control Mode (0=AUTO, 1=FORCE_ON, 2=MODEM_DEFAULT)
|
||||
# used in loc_eng_reinit
|
||||
SENSOR_CONTROL_MODE=2
|
||||
|
||||
# Bit mask used to define which sensor algorithms are used.
|
||||
# Setting each bit has the following definition:
|
||||
# 0x1 - DISABLE_INS_POSITIONING_FILTER
|
||||
# 0x0 - ENABLE_INS_POSITIONING_FILTER
|
||||
SENSOR_ALGORITHM_CONFIG_MASK=0x0
|
||||
|
||||
#Vehicle Network Provider configuration
|
||||
|
||||
#Service configuration strings
|
||||
#The number before colon in VN_X items defines version of the format of the rest of the string
|
||||
#VN_ACCEL_CFG=0:5
|
||||
#VN_GYRO_CFG=0:5.5
|
||||
#VN_ODOMETRY_CFG=0:2,4.5
|
||||
|
||||
################################################
|
||||
# QDR3 configurations #
|
||||
################################################
|
||||
#VN_SPEED_CFG=1:131,5,8,1,2,3,1,1,9,2,14,2
|
||||
#VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8
|
||||
VN_SPEED_CFG=1:777,0,0,1,3,1,0.002778,0,40,8,32,8
|
||||
VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8
|
||||
|
||||
################################################
|
||||
# QDR2-Gyro configurations #
|
||||
################################################
|
||||
#VN_GYRO_CFG=1:555,0,1,0,0,0,0,-6.5,6.6066,-6.5,-1.00,2,6.607,6.6068,0,0,16,0.0002,0,16,0.0002,0,16,0.0002
|
||||
#VN_SPEED_CFG=1:555,0,0,1,2,1,0.01,0,56,8,48,8
|
||||
#VN_GEAR_CFG=1:555,16,4,0,1,1,9,0,1,2,3,4,5,6,7,8
|
||||
|
||||
################################################
|
||||
# QDR2-DWT configurations #
|
||||
################################################
|
||||
#VN_SPEED_CFG=1:555,22,1,2,1,1,1,0,8,8,23,1,2,0,1,0,8,8,23,1
|
||||
#VN_GEAR_CFG=1:555,12,4,16,14,16,8,1,2,3,4,5,6,7,8
|
||||
#VN_DWS_CFG=1:555,0,0,1,3,1,1,0,0,8,0,0,8,8,0,0,16,8,0,0,24,8,0,0
|
||||
#VN_GYRO_CFG=1:555,40,16,1.0,40,16,1.0,40,16,1.0
|
||||
|
||||
#####################################################################################
|
||||
# VNW service batching configuration strings #
|
||||
# VNW provider will initialize default type as Time based batching #
|
||||
# Each service batch value is configured to be 100 #
|
||||
# VN_ACCEL_CFG_BATCH_VALUE will be treated as time in Ms if VN_CFG_BATCH_TYPE #
|
||||
# is set to time based batching #
|
||||
# VN_ACCEL_CFG_BATCH_VALUE will be treated as sample count if VN_CFG_BATCH_TYPE #
|
||||
# is set to count based batching #
|
||||
# Uncomment and update batch time /sample count as per selected batching type #
|
||||
#####################################################################################
|
||||
# Batching type
|
||||
# 1 - Time based (default)
|
||||
# 2 - Count based
|
||||
VN_CFG_BATCH_TYPE=1
|
||||
|
||||
#Vehicle Accel batching value, it can either accept time in milli seconds or sample count
|
||||
#VN_ACCEL_CFG_BATCH_VALUE=100
|
||||
|
||||
#Vehicle Gyro batching value, it can either accept time in milli seconds or sample count
|
||||
VN_GYRO_CFG_BATCH_VALUE=50
|
||||
|
||||
#Vehicle Odo batching value, it can either accept time in milli seconds or sample count
|
||||
#VN_ODOMETRY_CFG_BATCH_VALUE=100
|
||||
|
||||
#Vehicle Speed batching value, it can either accept time in milli seconds or sample count
|
||||
VN_SPEED_CFG_BATCH_VALUE=50
|
||||
|
||||
#Vehicle Gear batching value, it can either accept time in milli seconds or sample count
|
||||
VN_GEAR_CFG_BATCH_VALUE=50
|
||||
|
||||
#Vehicle DWS batching value, it can either accept time in milli seconds or sample count
|
||||
#VN_DWS_CFG_BATCH_VALUE=100
|
||||
####################################################################################
|
||||
|
||||
#Procesors clock ratio: AP and CAN bus microcontroller
|
||||
################################################
|
||||
# QDR3 configurations #
|
||||
################################################
|
||||
VN_PROC_CLOCK_RATIO=1.0
|
||||
|
||||
################################################
|
||||
# QDR2-DWT OR QDR2-Gyro configurations #
|
||||
################################################
|
||||
#VN_PROC_CLOCK_RATIO = 1.0
|
||||
|
||||
# Time source used by Sensor HAL
|
||||
# Setting this value controls accuracy of location sensor services.
|
||||
# 0 - Unknown
|
||||
# 1 - CLOCK_BOOTTIME
|
||||
# 2 - CLOCK_MONOTONIC
|
||||
# 3 - CLOCK_REALTIME
|
||||
# 4 - CLOCK_BOOTTIME using Alarm timer interface
|
||||
NDK_PROVIDER_TIME_SOURCE=1
|
||||
|
||||
# Sensor Batching Configuration
|
||||
# 0 - Time based
|
||||
# 1 - Fixed count based
|
||||
# 2 - Variable count based
|
||||
COUNT_BASED_BATCHING=1
|
||||
SYNC_ONCE=0
|
||||
|
||||
# Vehicle Network Data optimization
|
||||
# Default value: 0
|
||||
# Value 0x40000 - Speed(bit 18 eSLIM_SERVICE_VEHICLE_SPEED)
|
||||
# Value 0x80000 - Speed(bit 19 eSLIM_SERVICE_VEHICLE_DWS)
|
||||
# Value 0x100000 - Speed(bit 20 eSLIM_SERVICE_VEHICLE_GEAR)
|
||||
VN_ENABLE_DATA_OPTIMIZATION=0x100000
|
||||
|
||||
# Vehicle Network Data Routing time interval
|
||||
# This is applicable only if VN_ENABLE_DATA_OPTIMIZATION value is set
|
||||
# Default value: 5000 msec
|
||||
VN_DATA_ROUTING_TIME_INTERVAL_MSEC=3000
|
||||
|
||||
#Sensor HAL Provider Configuration HAL Library name including path
|
||||
################################################
|
||||
# #
|
||||
# Configuration for BMI 160 Sensor #
|
||||
# #
|
||||
################################################
|
||||
#SENSOR_TYPE=2
|
||||
#SENSOR_HAL_LIB_PATH=/usr/lib/libbmi160sensors.so.1
|
||||
|
||||
################################################
|
||||
# #
|
||||
# Configuration for ASM330 Sensor #
|
||||
# #
|
||||
################################################
|
||||
SENSOR_TYPE=1
|
||||
SENSOR_HAL_LIB_PATH=/usr/lib/libasm330sensors.so.1
|
||||
|
||||
|
||||
################################################
|
||||
# #
|
||||
# Configuration for IAM20680 Sensor #
|
||||
# #
|
||||
################################################
|
||||
#SENSOR_TYPE=3
|
||||
#SENSOR_HAL_LIB_PATH=/usr/lib/libiam20680sensors.so.1
|
||||
|
||||
|
||||
################################################
|
||||
# #
|
||||
# Configuration for SMI130 Sensor #
|
||||
# #
|
||||
################################################
|
||||
#SENSOR_TYPE=4
|
||||
#SENSOR_HAL_LIB_PATH=/usr/lib/libsmi130sensors.so.1
|
||||
|
|
@ -1,78 +0,0 @@
|
|||
#GTP AP Project client core config file
|
||||
#
|
||||
#GENERAL DESCRIPTION
|
||||
#This is used by client core
|
||||
#
|
||||
#Copyright (c) 2012-2014 Qualcomm Atheros, Inc.
|
||||
#All Rights Reserved.
|
||||
#Qualcomm Atheros Confidential and Proprietary.
|
||||
#
|
||||
#Copyright (c) 2017 Qualcomm Technologies, Inc.
|
||||
#All Rights Reserved.
|
||||
#Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
##############################################################################
|
||||
# non-IOT devices configuration items #
|
||||
# For non-IOT devices, configure below configuration items #
|
||||
# according to the app note: 80-NK218-1 and remove the configuration items #
|
||||
# in section of "IOT devices configuration items". #
|
||||
##############################################################################
|
||||
|
||||
# ASN URI v2 to be used by some GTP AP modules that
|
||||
# need to run with ASN URI v2 protocol.
|
||||
XT_SERVER_ROOT_URL = https://gtp1.izatcloud.net:443/uds/v2
|
||||
|
||||
# ASN URI v3 to be used by GTP AP modules that
|
||||
# can support ASN URI v3 protocol.
|
||||
XT_SERVER_ROOT_URL_V3 = https://gtp1.izatcloud.net:443/uds/v3
|
||||
|
||||
# size, in bytes, of the cache on device
|
||||
SIZE_BYTE_TOTAL_CACHE = 5000000
|
||||
|
||||
##############################################################################
|
||||
# IOT devices configuration items #
|
||||
# For IOT devices, configure below configuration items #
|
||||
# according to the app note and remove the configuration items in section of #
|
||||
# "non-IOT devices configuration items". #
|
||||
##############################################################################
|
||||
|
||||
# ASN URI v3 to be used by GTP AP modules that
|
||||
# can support ASN URI v3 protocol.
|
||||
# XT_SERVER_ROOT_URL_V3 = https://gtpma1.izatcloud.net:443/uds/v3
|
||||
|
||||
# 3: Wi-Fi APDB injection via Izat SDK. GTP server is not accessed
|
||||
# for any GTP requests, instead notification is sent to Izat SDK.
|
||||
# WiFi crowdsourcing module is disabled.
|
||||
# 4: Wi-Fi APDB injection via Izat SDK. GTP server is not accessed
|
||||
# for any GTP requests, instead notification is sent to Izat SDK.
|
||||
# WiFi crowdsourcing module is active, also accessed via Izat SDK.
|
||||
# GTP_AP_MODE = 4
|
||||
|
||||
# 1: MP cell features relies on GTP AP for either download or upload
|
||||
# 0: MP cell features does not rely on GTP AP
|
||||
# GTP_AP_NEEDED_BY_MP_CELL = 1
|
||||
|
||||
##############################################################################
|
||||
# Configuration items applicable to all devices #
|
||||
##############################################################################
|
||||
|
||||
# Log verbosity control for most of the GTP WiFi system, including native and
|
||||
# Java componenets
|
||||
# OFF = 0, ERROR = 1, WARNING = 2, INFO = 3, DEBUG = 4, VERBOSE = 5, ALL = 100
|
||||
DEBUG_GLOBAL_LOG_LEVEL = 2
|
||||
|
||||
# this is used at the server side to distinguish uploads from different maker/model
|
||||
# default "Qualcomm"
|
||||
OEM_ID_IN_REQUEST_TO_SERVER = "Qualcomm"
|
||||
|
||||
# this is used at the server side to distinguish uploads from different maker/model
|
||||
# default "UNKNOWN"
|
||||
MODEL_ID_IN_REQUEST_TO_SERVER = "UNKNOWN"
|
||||
|
||||
##############################################################################
|
||||
# Qualcomm Network Location Provider config #
|
||||
##############################################################################
|
||||
|
||||
# Accuracy Threshold for NLP position. Position exceeds thsi threshold will be filtered out.
|
||||
# Default is 25000 meters.
|
||||
LARGE_ACCURACY_THRESHOLD_TO_FILTER_NLP_POSITION = 25000
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest version="2.0" type="device" target-level="6">
|
||||
<manifest version="2.0" type="device" target-level="7">
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.audio</name>
|
||||
<transport>hwbinder</transport>
|
||||
|
|
@ -178,11 +178,6 @@
|
|||
<transport>hwbinder</transport>
|
||||
<fqname>@1.0::IFmHci/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.hardware.iop</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@2.0::IIop/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.hardware.perf</name>
|
||||
<transport>hwbinder</transport>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
<!-- Default for Settings.Global.DISABLE_WINDOW_BLURS -->
|
||||
<integer name="def_disable_window_blurs">1</integer>
|
||||
</resources>
|
||||
|
|
@ -1,3 +1,6 @@
|
|||
# eBPF
|
||||
ro.bpf.kver_override=5.10.239
|
||||
|
||||
# IMS
|
||||
ro.qcom.ims.use_moto_vt_ext=true
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# All unpinned blobs are extracted from fogos_g V1UGS35H.75-14-3-5
|
||||
# All unpinned blobs are extracted from fogos_g V1UGS35H.75-14-3-9
|
||||
|
||||
# ADSP
|
||||
vendor/bin/adsprpcd
|
||||
|
|
@ -285,6 +285,11 @@ vendor/lib64/vendor.qti.gnss@3.0.so
|
|||
vendor/lib64/vendor.qti.gnss@4.0-service.so
|
||||
vendor/lib64/vendor.qti.gnss@4.0.so
|
||||
|
||||
# GNSS configs
|
||||
vendor/etc/lowi.conf
|
||||
vendor/etc/sap.conf
|
||||
vendor/etc/xtwifi.conf
|
||||
|
||||
# Graphics - Adreno
|
||||
vendor/lib/egl/eglSubDriverAndroid.so
|
||||
vendor/lib/egl/libEGL_adreno.so;SYMLINK=vendor/lib/libEGL_adreno.so
|
||||
|
|
@ -337,11 +342,6 @@ vendor/gpu/kbc/unified_ksqs.bin
|
|||
vendor/lib/hw/vulkan.adreno.so
|
||||
vendor/lib64/hw/vulkan.adreno.so
|
||||
|
||||
# IO prefetcher
|
||||
vendor/lib64/libqti-iopd-client.so
|
||||
vendor/lib64/libqti-iopd.so
|
||||
vendor/lib64/vendor.qti.hardware.iop@2.0.so
|
||||
|
||||
# IPA firmware
|
||||
vendor/etc/init/ipa_fws.rc
|
||||
|
||||
|
|
@ -491,23 +491,12 @@ vendor/lib64/libqmi_encdec.so
|
|||
vendor/lib64/libqmiservices.so
|
||||
|
||||
# QSPM
|
||||
system_ext/bin/qspmsvc
|
||||
system_ext/etc/init/qspmsvc.rc
|
||||
system_ext/lib64/libqspmsvc.so
|
||||
system_ext/lib64/vendor.qti.qspmhal-V1-ndk.so
|
||||
system_ext/lib64/vendor.qti.qspmhal@1.0.so
|
||||
vendor/bin/vendor.qti.qspmhal@1.0-service
|
||||
vendor/etc/init/vendor.qti.qspmhal@1.0-service.rc
|
||||
vendor/etc/seccomp_policy/qspm.policy
|
||||
vendor/lib/vendor.qti.qspmhal@1.0.so;MODULE_SUFFIX=_vendor
|
||||
vendor/lib/vendor.qti.qspmhal@1.0.so
|
||||
vendor/lib64/vendor.qti.qspmhal@1.0-impl.so
|
||||
vendor/lib64/vendor.qti.qspmhal@1.0.so;MODULE_SUFFIX=_vendor
|
||||
|
||||
# QTI service tracker
|
||||
vendor/bin/hw/vendor.qti.hardware.servicetracker@1.2-service
|
||||
vendor/etc/init/vendor.qti.hardware.servicetracker@1.2-service.rc
|
||||
vendor/etc/vintf/manifest/vendor.qti.hardware.servicetracker@1.2-service.xml
|
||||
vendor/lib64/hw/vendor.qti.hardware.servicetracker@1.2-impl.so
|
||||
vendor/lib64/vendor.qti.qspmhal@1.0.so
|
||||
|
||||
# RIL
|
||||
product/app/uimgbaservice/uimgbaservice.apk
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
<!-- Screen brightness used to dim the screen while dozing in a very low power state.
|
||||
May be less than the minimum allowed brightness setting
|
||||
that can be set by the user. -->
|
||||
<integer name="config_screenBrightnessDoze">17</integer>
|
||||
<item name="config_screenBrightnessDozeFloat" format="float" type="dimen">0.06667</item>
|
||||
|
||||
<!-- The restoring is handled by modem if it is true-->
|
||||
<bool name="skip_restoring_network_selection">true</bool>
|
||||
|
|
|
|||
9
resource-overlay/common/LineageApertureApp/Android.bp
Normal file
9
resource-overlay/common/LineageApertureApp/Android.bp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "LineageApertureAppCommon",
|
||||
vendor: true,
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.lineageos.aperture.common.lineage">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="200"
|
||||
android:targetPackage="org.lineageos.aperture" />
|
||||
</manifest>
|
||||
|
|
@ -7,9 +7,9 @@ on early-boot
|
|||
chown system system /sys/devices/platform/soc/4804000.ufshc/ufshid/trigger
|
||||
|
||||
on boot
|
||||
# Set adaptive charging perms for HAL
|
||||
chown system system /sys/module/qpnp_adaptive_charge/parameters/upper_limit
|
||||
chown system system /sys/module/qpnp_adaptive_charge/parameters/lower_limit
|
||||
# Set adaptive charging perms for HAL
|
||||
chown system system /sys/module/qpnp_adaptive_charge/parameters/charging_enabled
|
||||
chmod 0660 /sys/module/qpnp_adaptive_charge/parameters/charging_enabled
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
write /sys/devices/platform/soc/soc:mmi,charger/state_sync 1
|
||||
|
|
|
|||
|
|
@ -58,7 +58,6 @@ on early-init
|
|||
on fs
|
||||
insmod /vendor/lib/modules/cci_intf.ko
|
||||
mkdir /mnt/vendor/persist/fps 0770 system system
|
||||
exec_start vendor.ident-fps-sh
|
||||
|
||||
on fs && property:ro.vendor.hw.modem_version=*
|
||||
# Super modem detection
|
||||
|
|
@ -338,20 +337,6 @@ service vendor.hal-fps-sh /vendor/bin/init.oem.fingerprint2.sh
|
|||
group system
|
||||
oneshot
|
||||
|
||||
service fpc_ident /vendor/bin/hw/fpc_ident
|
||||
class late_start
|
||||
user system
|
||||
group system
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
service egis_ident /vendor/bin/hw/egis_ident
|
||||
class late_start
|
||||
user system
|
||||
group system
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
service vendor.touch-dead-sh /vendor/bin/init.oem.hw.sh -f
|
||||
class main
|
||||
user root
|
||||
|
|
|
|||
|
|
@ -315,6 +315,7 @@ ro.surface_flinger.max_frame_buffer_acquired_buffers=4
|
|||
ro.surface_flinger.max_virtual_display_dimension=4096
|
||||
ro.surface_flinger.protected_contents=true
|
||||
ro.surface_flinger.set_touch_timer_ms=200
|
||||
ro.surface_flinger.supports_background_blur=1
|
||||
ro.surface_flinger.use_color_management=true
|
||||
ro.surface_flinger.use_content_detection_for_refresh_rate=true
|
||||
ro.surface_flinger.use_smart_90_for_video=true
|
||||
|
|
@ -322,6 +323,8 @@ ro.surface_flinger.wcg_composition_dataspace=143261696
|
|||
|
||||
# USB
|
||||
sys.usb.mtp.batchcancel=1
|
||||
vendor.usb.controller=4e00000.dwc3
|
||||
vendor.usb.device=4e00000.ssusb
|
||||
vendor.usb.diag.func.name=ffs
|
||||
vendor.usb.dpl.inst.name=dpl
|
||||
vendor.usb.qdss.inst.name=qdss
|
||||
|
|
|
|||
Loading…
Reference in a new issue