Compare commits

...
Author SHA1 Message Date
Michael Bestas
0f95093a24
sm6375-common: Update to fogos_g V1UGS35H.75-14-3-9
Change-Id: If04f2f0a9416be312af5b7adf91d2b929932c101
2026-07-22 13:10:01 +03:00
Michael Bestas
6a8b820e91
sm6375-common: Remove unused fingerprint services
Change-Id: Idcc9dbd5bb1c02b1afcf0e5f26cfea1e0ceb9db6
2026-06-07 07:26:04 +03:00
Michael Bestas
b4c443ff2c
sm6375-common: Update to fogos_g V1UGS35H.75-14-3-8
Change-Id: I3ce881002eb85a57ae6f45c4e8e0e491df583e09
2026-06-01 17:21:54 +03:00
Arian
20bff46da7
sm6375-common: Allow to provide custom AVB keys and build an enabled vbmeta.img
Change-Id: I0578219addb01f094ecd9ec386e820aaf972c284
2026-05-11 20:03:49 +02:00
Nolen Johnson
bec8c1a920
sm6375-common: Set FCM level to 7
Change-Id: I06019ee4824a630180c09c39915e1819bb7482af
2026-05-07 17:39:32 +03:00
Michael Bestas
2f6236702d
sm6375-common: Convert Aperture overlay to RRO
Change-Id: If0abfcbc0a0c228dfe0cb3b4cd2f8b2fca7e8525
2026-05-05 21:44:53 +02:00
Tommy Webb
bdcdde058c
sm6375-common: Specify vendor.usb.controller
Specify this so that USB can be properly brought back online via HAL.

It was already specified in these locations:
- device/motorola/sm6225-common/rootdir/etc/init.target.rc
  But this apparently isn't early enough in the boot process.
- vendor/qcom/opensource/usb/vendor_product.mk
  But this apparently isn't included and doesn't take effect.

As a result, vendor/qcom/opensource/usb/hal/Usb.cpp would use its
fallback value of a600000.dwc3, which is not correct.

Issue: calyxos#3491
Change-Id: I3f10cb8d902281b3cd06e8c2b51bdf60bb57742e
2026-04-26 19:01:59 +02:00
Tommy Webb
487d7f08f3
sm6375-common: Specify vendor.usb.device
Needed to restrict USB properly.

Issue: calyxos#3491
Change-Id: I4fc97c4a0be7a96c89d674bcde613ccf83d1c336
2026-04-26 19:01:56 +02:00
Michael Bestas
d5ed01c027
sm6375-common: Update to fogos_g V1UGS35H.75-14-3-7
Change-Id: I603e1163432bee0afbd3f1f8fc7a221c9a459b05
2026-04-17 03:18:46 +03:00
LuK1337
0c9d6ba80f
sm6375-common: Remove fwk-detect lib from PRODUCT_PACKAGES
See: Iac75d83e6bc46c137c328a2365e6701c210bfe7a
Change-Id: I6b8571e81e59f438e34b76823f47ff024ec33dc6
2026-04-14 07:21:40 +03:00
Michael Bestas
827824220b
sm6375-common: gps: Move some config files to vendor
We don't make any changes there

Change-Id: I1dfaade4a86b37576e6c848732cec4af9ad97c47
2026-04-14 00:08:31 +03:00
Michael Bestas
ff1035c5d5
sm6375-common: Update to fogos_g V1UGS35H.75-14-3-6
Change-Id: I2e11b3835434154d0dce629331c9e001e76caeac
2026-02-28 06:27:23 +02:00
Michael Bestas
f06874eb71
sm6375-common: Remove vendor suffix from vendor.qti.qspmhal@1.0
This was missed in 3e2b71bd98

Change-Id: Ie27dba635ac052ccb05c729f96dc7fbb625687fd
2026-02-04 01:16:15 +02:00
Michael Bestas
6b8e6a885d
sm6375-common: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2026-02-03 15:08:05 +02:00
Edwin Moquete
93bb4b5ca1
sm6375-common: overlay: Convert config_screenBrightnessDoze to float
Change-Id: Ibbb6f9b2ae030ad0938f5608526c392ef5b0cb1e
2026-01-24 03:01:20 +02:00
basamaryan
761ac3e33f
sm6375-common: overlay-lineage: Disable blurs by default
Change-Id: Ia323bb8f66e3515bdf16ff3a14c919b8bd859eba
2026-01-17 07:35:25 +02:00
Lucas Dupin
a7c5921df2
sm6375-common: Enable blurs
Bug: 181092919
Test: manual; performance scripts
Change-Id: I5875a99167e80ddd5b79fc245f988d8a6ac167be
2026-01-16 23:29:33 +02:00
basamaryan
9692ca35f5
sm6375-common: Override kernel BPF version
Change-Id: I3c581f3120b6258b3b45020c5ba12f6bf5b0ee27
2026-01-16 03:16:59 +02:00
LuK1337
17d69f3634 sm6375-common: audio: Disable ULL mode
* Ultra low latency playback is currently broken. Crackling audio
   can be well noticed while playing WhatsApp audio messages or even
   during some games.
 * This patch routes all audio that normally used audio-ull-playback
   paths to low-latency-playback paths instead, thus meaning we're
   switching from ULL to LL mode.

Change-Id: I7d672f1ff10b984c8096c9c4ca83475e730fd16f
2026-01-09 14:56:21 +00:00
kyasu
18bcb06f9d
sm6375-common: Disable thumbnail_block_model of libstagefright
Change-Id: I86f92335af282d3de508150bbbcb3026993ec48c
2026-01-08 02:05:50 +02:00
Arian
3e2b71bd98
sm6375-common: Drop unused perf blobs
Change-Id: I09e2c332102a5b67b7e1d74e9db3d64137e3010a
2026-01-05 05:45:29 +02:00
Michael Bestas
1ddaea0e7c
sm6375-common: Patch some blobs to depend on libtinyxml2-v34.so
libtinyxml2 10.1.0 update which landed in BP4A contains ABI
incompatible changes which cause runtime crashes.

Change-Id: Icc67da5f754b0bb30dce6192b1e520fdf1349ac5
2025-12-29 14:31:06 +02:00
20 changed files with 103 additions and 393 deletions

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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 \

View file

@ -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()

View file

@ -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",

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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>

View file

@ -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>

View file

@ -1,3 +1,6 @@
# eBPF
ro.bpf.kver_override=5.10.239
# IMS
ro.qcom.ims.use_moto_vt_ext=true

View file

@ -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

View file

@ -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>

View file

@ -0,0 +1,9 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "LineageApertureAppCommon",
vendor: true,
}

View file

@ -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>

View file

@ -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

View file

@ -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

View file

@ -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