FP4: Bump to FP4.TP1V.C.073.20230905
Change-Id: I8c9dbb84100b070b0442ce2881a07f0af6d99907
diff --git a/device.mk b/device.mk
index e2039fa..c800f1f 100644
--- a/device.mk
+++ b/device.mk
@@ -408,6 +408,8 @@
init.qcom.sh \
init.qcom.usb.sh \
init.qti.dcvs.sh \
+ init.qti.early_init.sh \
+ init.qti.media.sh \
init.qti.qcv.sh
PRODUCT_PACKAGES += \
diff --git a/extract-files.sh b/extract-files.sh
index 17964c3..c75b637 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -55,6 +55,9 @@
function blob_fixup() {
case "${1}" in
+ system_ext/lib64/libwfdnative.so)
+ sed -i "s/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/" "${2}"
+ ;;
vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.bitra.so)
"${SIGSCAN}" -p "13 0a 00 94" -P "1F 20 03 D5" -f "${2}"
;;
diff --git a/gps/etc/izat.conf b/gps/etc/izat.conf
index 2d35b6a..079b0da 100644
--- a/gps/etc/izat.conf
+++ b/gps/etc/izat.conf
@@ -124,6 +124,14 @@
#BASIC
WIFI_SUPPLICANT_INFO=BASIC
+#DBH modes:
+#USE_ZPP_IN_DBH values:
+#0: for new Modem platform, time based tracking is supported during DBH in modem,
+# AP side doesn't need to use ZPP to get best available position during DBH.
+#1: for old Modem platform, time based tracking is not supported during DBH in modem,
+# AP side has to use ZPP to get bese available position during DBH for CPI injection.
+USE_ZPP_IN_DBH = 0
+
#####################################
# Location process launcher settings
#####################################
diff --git a/lineage_FP4.mk b/lineage_FP4.mk
index 5e9d0df..d6f07fc 100644
--- a/lineage_FP4.mk
+++ b/lineage_FP4.mk
@@ -30,7 +30,7 @@
PRODUCT_GMS_CLIENTID_BASE := android-alcatel
PRODUCT_BUILD_PROP_OVERRIDES += \
- PRIVATE_BUILD_DESC="qssi-user 12 SKQ1.220201.001 SP2K release-keys" \
+ PRIVATE_BUILD_DESC="qssi-user 13 TKQ1.230127.002 TP1V release-keys" \
TARGET_PRODUCT=FP4eea
-BUILD_FINGERPRINT := "Fairphone/FP4eea/FP4:12/SKQ1.220201.001/SP2K:user/release-keys"
+BUILD_FINGERPRINT := "Fairphone/FP4eea/FP4:13/TKQ1.230127.002/TP1V:user/release-keys"
diff --git a/manifest.xml b/manifest.xml
index cab51e4..1b33de4 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -95,22 +95,6 @@
<fqname>@1.0::IMemtrack/default</fqname>
</hal>
<hal format="hidl">
- <name>android.hardware.neuralnetworks</name>
- <transport>hwbinder</transport>
- <version>1.2</version>
- <interface>
- <name>IDevice</name>
- <instance>qti-default</instance>
- <instance>qti-dsp</instance>
- <instance>qti-gpu</instance>
- <instance>qti-hta</instance>
- </interface>
- <fqname>@1.2::IDevice/qti-default</fqname>
- <fqname>@1.2::IDevice/qti-dsp</fqname>
- <fqname>@1.2::IDevice/qti-gpu</fqname>
- <fqname>@1.2::IDevice/qti-hta</fqname>
- </hal>
- <hal format="hidl">
<name>android.hardware.nfc</name>
<transport>hwbinder</transport>
<version>1.2</version>
diff --git a/proprietary-files.txt b/proprietary-files.txt
index c25cd8f..07c4cc6 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -1,4 +1,4 @@
-# Unpinned blobs from Fairphone/FP4eea/FP4:12/SKQ1.220201.001/SP2K:user/release-keys
+# Unpinned blobs from Fairphone/FP4eea/FP4:13/TKQ1.230127.002/TP1V:user/release-keys
# ACDB
vendor/etc/acdbdata/MTP/lito-lagoon-fp4-snd-card/Bluetooth_cal.acdb:vendor/etc/acdbdata/MTP/lito-lagoonmtp-snd-card/Bluetooth_cal.acdb
@@ -630,13 +630,11 @@
# Neural networks
vendor/bin/hw/android.hardware.neuralnetworks@1.3-service-qti
vendor/etc/init/android.hardware.neuralnetworks@1.3-service-qti.rc
-vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-qti-hta.xml
vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-qti.xml
vendor/lib64/libhexagon_nn_stub.so
vendor/lib64/libhta_hexagon_runtime.so
vendor/lib64/unnhal-acc-adreno.so
vendor/lib64/unnhal-acc-common.so
-vendor/lib64/unnhal-acc-hta.so
vendor/lib64/unnhal-acc-hvx.so
# NFC
@@ -872,6 +870,9 @@
vendor/lib64/vendor.qti.hardware.radio.qtiradio@2.2.so
vendor/lib64/vendor.qti.hardware.radio.qtiradio@2.3.so
vendor/lib64/vendor.qti.hardware.radio.qtiradio@2.4.so
+vendor/lib64/vendor.qti.hardware.radio.qtiradio@2.5.so
+vendor/lib64/vendor.qti.hardware.radio.qtiradio@2.6.so
+vendor/lib64/vendor.qti.hardware.radio.qtiradio@2.7.so
vendor/lib64/vendor.qti.hardware.radio.uim@1.0.so
vendor/lib64/vendor.qti.hardware.radio.uim@1.1.so
vendor/lib64/vendor.qti.hardware.radio.uim@1.2.so
@@ -880,6 +881,8 @@
vendor/lib64/vendor.qti.hardware.radio.uim_remote_client@1.2.so
vendor/lib64/vendor.qti.hardware.radio.uim_remote_server@1.0.so
vendor/radio/qcril_database/upgrade/0_initial.sql
+vendor/radio/qcril_database/upgrade/10_version_update_ecc_table.sql
+vendor/radio/qcril_database/upgrade/11_version_update_ecc_table.sql
vendor/radio/qcril_database/upgrade/1_version_intro.sql
vendor/radio/qcril_database/upgrade/2_version_add_wps_config.sql
vendor/radio/qcril_database/upgrade/3_version_update_wps_config.sql
@@ -887,6 +890,8 @@
vendor/radio/qcril_database/upgrade/5_version_update_ecc_table.sql
vendor/radio/qcril_database/upgrade/6_version_update_ecc_table.sql
vendor/radio/qcril_database/upgrade/7_version_update_ecc_table.sql
+vendor/radio/qcril_database/upgrade/8_version_update_ecc_table.sql
+vendor/radio/qcril_database/upgrade/9_version_update_ecc_table.sql
vendor/radio/qcril_database/qcril.db
# SECCOMP policy
@@ -980,6 +985,7 @@
vendor/etc/sensors/proto/sns_facing.proto
vendor/etc/sensors/proto/sns_fmv.proto
vendor/etc/sensors/proto/sns_formatter.proto
+vendor/etc/sensors/proto/sns_formatter_notify.proto
vendor/etc/sensors/proto/sns_fw.proto
vendor/etc/sensors/proto/sns_game_rv.proto
vendor/etc/sensors/proto/sns_geomag_rv.proto
@@ -1120,49 +1126,49 @@
vendor/etc/wifi/aoa_cldb_falcon.bin
vendor/etc/wifi/aoa_cldb_swl14.bin
-# WiFi Display (system) - from OnePlus 8T IN2020 11.F.06
-system/framework/WfdCommon.jar|da807ef11346e38e3d9058e655b3a565f3e2a32d
-system_ext/bin/wfdservice|fc204600629fbf60c4c6c187f0943d21643fdb4a
-system_ext/etc/init/wfdservice.rc|907def8565d8f91f531ca7dfad880af05d540b0c
-system_ext/etc/seccomp_policy/wfdservice.policy|37994de64d6bd127898bd556cd614db459fe07ec
-system_ext/etc/wfdconfigsink.xml|cb78df66948314a75080a4161321fb3111a0785a
-system_ext/lib/com.qualcomm.qti.wifidisplayhal@1.0.so|bd23ab1fea433e6c2efbc14a944e11ad3beaeba4
-system_ext/lib/libmmrtpdecoder.so|e15387b44fd9b3661d763d934663551ca30743d7
-system_ext/lib/libmmrtpencoder.so|dbf276471b60a706d76e12edde388ef887b27396
-system_ext/lib/libwfdavenhancements.so|48fad56992a95b102c40cd3d73fdb6cc5430d07b
-system_ext/lib/libwfdclient.so|feead7bcaf6a54b60a511f62fe2822a5ebf3fbee
-system_ext/lib/libwfdcommonutils.so|4b48d7941df68f7316c464d94d2f31d4e8f026e5
-system_ext/lib/libwfdconfigutils.so|d4c35b0409f2177c32bd7572f48a832348bb3c76
-system_ext/lib/libwfddisplayconfig.so|ec3383d6c03a21985f4442eae6c7e935867d10c8
-system_ext/lib/libwfdmminterface.so|610a9dadc4f577a655b9fdfee2411a44b0e39a7d
-system_ext/lib/libwfdmmsink.so|a045b3dd2b4cad52684e579af2d72554c178e9f6
-system_ext/lib/libwfdmmsrc_system.so|c3a0c08eaefa1cb59ed3134752b9a6d424c0e1e6
-system_ext/lib/libwfdrtsp.so|3ace8ddfd6dc3f8aea2d8f489431599e6467de1c
-system_ext/lib/libwfdservice.so|1512125bbba762f3e5293a24ff13457a69597472
-system_ext/lib/libwfdsinksm.so|68d32947455c468d12e52a57cd71a2ba50d7fcd2
-system_ext/lib/libwfduibcinterface.so|7ac5b7fd7ff0b469629548549cf3a907068be174
-system_ext/lib/libwfduibcsink.so|5630028a8152379a1037d81224b8c031209b93ce
-system_ext/lib/libwfduibcsinkinterface.so|25e3cd7b8fd106c401597e9d71f47006ca06b31f
-system_ext/lib/libwfduibcsrc.so|09821648adb3275b2c2619af7581f35a47643ff5
-system_ext/lib/libwfduibcsrcinterface.so|0c98741c0d65b27acf73a8b1a742e433fbeb86f4
-system_ext/lib/vendor.qti.hardware.wifidisplaysession@1.0.so|ea191fba6f573dab06841218525abb828681add9
-system_ext/lib64/libmmrtpdecoder.so|8bb6d0a8f31795ed913acd3e8cb2299ada7cd22c
-system_ext/lib64/libmmrtpencoder.so|fef79b731d9c2109f23ebc27575b6e057da8310f
-system_ext/lib64/libwfdclient.so|09d0f04a6251f14f41e548592a9848af9d70975c
-system_ext/lib64/libwfdcommonutils.so|4350b11e16553d02fded587feaae5cd82cdfaa0a
-system_ext/lib64/libwfdconfigutils.so|483aca3a0e52bea1702cebf40e00d0c6c8c24063
-system_ext/lib64/libwfddisplayconfig.so|59a5cb17ffe46900c0ae26a8937a5ddab80fe283
-system_ext/lib64/libwfdmminterface.so|b1e33104bc2231c7f75132757a28c918ee4b3889
-system_ext/lib64/libwfdmmsink.so|0db18686f52492b89d9feffffd0494371f6a8c18
-system_ext/lib64/libwfdnative.so|16cef66041a8a04cc2dadd706113eecdd82bc84c|6ef61f10f3ac2921471e35f00572e4f726b89075
-system_ext/lib64/libwfdrtsp.so|1957934068e8befa237106fbc584457e86ef07da
-system_ext/lib64/libwfdsinksm.so|bd2369a1203a3b24115605ec1d27d288b4b62718
-system_ext/lib64/libwfduibcinterface.so|d5a578a2159c4681cb9d159b93c1c39b8f3091f7
-system_ext/lib64/libwfduibcsink.so|d4cc3afb86003f0e26134f82b503b6deac30b6b5
-system_ext/lib64/libwfduibcsinkinterface.so|a875792e5242870cd9a069cb367a6b5031fce2f0
-system_ext/lib64/libwfduibcsrc.so|1529ca18c3484b8a3f3d95e9198def564e86fda3
-system_ext/lib64/libwfduibcsrcinterface.so|69400030817aa8f6994a525b027bb3dd7cabd0d4
-system_ext/priv-app/WfdService/WfdService.apk|33eb0fd6703303f2ff20e39898e278a4358c820b
+# WiFi Display (system)
+system/framework/WfdCommon.jar
+system_ext/bin/wfdservice
+system_ext/etc/init/wfdservice.rc
+system_ext/etc/seccomp_policy/wfdservice.policy
+system_ext/etc/wfdconfigsink.xml
+system_ext/lib/com.qualcomm.qti.wifidisplayhal@1.0.so
+system_ext/lib/libmmrtpdecoder.so
+system_ext/lib/libmmrtpencoder.so
+system_ext/lib/libwfdavenhancements.so
+system_ext/lib/libwfdclient.so
+system_ext/lib/libwfdcommonutils.so
+system_ext/lib/libwfdconfigutils.so
+system_ext/lib/libwfddisplayconfig.so
+system_ext/lib/libwfdmminterface.so
+system_ext/lib/libwfdmmsink.so
+system_ext/lib/libwfdmmsrc_system.so
+system_ext/lib/libwfdrtsp.so
+system_ext/lib/libwfdservice.so
+system_ext/lib/libwfdsinksm.so
+system_ext/lib/libwfduibcinterface.so
+system_ext/lib/libwfduibcsink.so
+system_ext/lib/libwfduibcsinkinterface.so
+system_ext/lib/libwfduibcsrc.so
+system_ext/lib/libwfduibcsrcinterface.so
+system_ext/lib/vendor.qti.hardware.wifidisplaysession@1.0.so
+system_ext/lib64/libmmrtpdecoder.so
+system_ext/lib64/libmmrtpencoder.so
+system_ext/lib64/libwfdclient.so
+system_ext/lib64/libwfdcommonutils.so
+system_ext/lib64/libwfdconfigutils.so
+system_ext/lib64/libwfddisplayconfig.so
+system_ext/lib64/libwfdmminterface.so
+system_ext/lib64/libwfdmmsink.so
+system_ext/lib64/libwfdnative.so
+system_ext/lib64/libwfdrtsp.so
+system_ext/lib64/libwfdsinksm.so
+system_ext/lib64/libwfduibcinterface.so
+system_ext/lib64/libwfduibcsink.so
+system_ext/lib64/libwfduibcsinkinterface.so
+system_ext/lib64/libwfduibcsrc.so
+system_ext/lib64/libwfduibcsrcinterface.so
+system_ext/priv-app/WfdService/WfdService.apk
# WiFi Display (vendor)
vendor/bin/wfdhdcphalservice
diff --git a/rootdir/bin/init.qcom.early_boot.sh b/rootdir/bin/init.qcom.early_boot.sh
index 9fdcdd3..b9537e0 100644
--- a/rootdir/bin/init.qcom.early_boot.sh
+++ b/rootdir/bin/init.qcom.early_boot.sh
@@ -26,6 +26,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
+#Changes from Qualcomm Innovation Center are provided under the following license:
+#Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
+#SPDX-License-Identifier: BSD-3-Clause-Clear
+#
export PATH=/vendor/bin
@@ -78,7 +82,7 @@
elif [ $fb_width -ge 1440 ]; then
setprop vendor.display.lcd_density 560
elif [ $fb_width -ge 1080 ]; then
- setprop vendor.display.lcd_density 480
+ setprop vendor.display.lcd_density 400
elif [ $fb_width -ge 720 ]; then
setprop vendor.display.lcd_density 320 #for 720X1280 resolution
elif [ $fb_width -ge 480 ]; then
@@ -370,11 +374,11 @@
setprop vendor.display.enhance_idle_time 1
setprop vendor.netflix.bsp_rev ""
;;
- 518)
+ 518|561|586)
+ setprop vendor.media.target.version 3
;;
- *)
- # default case is for bengal
- setprop vendor.netflix.bsp_rev "Q6115-31409-1"
+ 585)
+ setprop vendor.media.target.version 4
;;
esac
;;
diff --git a/rootdir/bin/init.qcom.post_boot.sh b/rootdir/bin/init.qcom.post_boot.sh
index ed77d94..c7470fe 100644
--- a/rootdir/bin/init.qcom.post_boot.sh
+++ b/rootdir/bin/init.qcom.post_boot.sh
@@ -26,6 +26,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
+# Changes from Qualcomm Innovation Center are provided under the following license:
+# Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
+# SPDX-License-Identifier: BSD-3-Clause-Clear
+#
function 8953_sched_dcvs_eas()
{
@@ -1101,6 +1105,36 @@
;;
esac
+# For Kodiak target for which cdsp is defective, we read remote cdsp status from fastrpc node
+# and if its value is false we disable cdsp daemon by setting the cdsp disable propety to true
+case "$target" in
+ "lahaina")
+ if [ -f /sys/devices/soc0/chip_family ]; then
+ chip_family_id=`cat /sys/devices/soc0/chip_family`
+ else
+ chip_family_id=-1
+ fi
+
+ echo "adsprpc : chip_family_id : $chip_faily_id" > /dev/kmsg
+
+ case "$chip_family_id" in
+ "0x76")
+ if [ -f /sys/devices/platform/soc/soc:qcom,msm_fastrpc/remote_cdsp_status ]; then
+ remote_cdsp_status=`cat /sys/devices/platform/soc/soc:qcom,msm_fastrpc/remote_cdsp_status`
+ else
+ remote_cdsp_status=-1
+ fi
+
+ echo "adsprpc : remote_cdsp_status : $remote_cdsp_status" > /dev/kmsg
+
+ if [ $remote_cdsp_status -eq 0 ]; then
+ setprop vendor.fastrpc.disable.cdsprpcd.daemon 1
+ echo "adsprpc : Disabled cdsp daemon" > /dev/kmsg
+ fi
+ esac
+ ;;
+esac
+
case "$target" in
"msm7201a_ffa" | "msm7201a_surf")
echo 500000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
@@ -4256,7 +4290,7 @@
#power/perf tunings for khaje
case "$soc_id" in
- "518" )
+ "518" | "561" | "585" | "586" )
# Core control parameters on big
echo 0 > /sys/devices/system/cpu/cpu0/core_ctl/enable
@@ -5230,7 +5264,7 @@
"msmnile")
# cpuset parameters
target_varient=`getprop ro.build.product`
- if [ "$target_varient" == "msmnile_gvmq" ]; then
+ if [ "$target_varient" == "msmnile_gvmq" ] || [ "$target_varient" == "msmnile_gvmgh" ]; then
echo 4-7 > /dev/cpuset/background/cpus
echo 4-7 > /dev/cpuset/system-background/cpus
@@ -5282,14 +5316,11 @@
echo 85 85 > /proc/sys/kernel/sched_downmigrate
echo 100 > /proc/sys/kernel/sched_group_upmigrate
echo 10 > /proc/sys/kernel/sched_group_downmigrate
- echo 1 > /proc/sys/kernel/sched_walt_rotate_big_tasks
echo 0-3 > /dev/cpuset/background/cpus
echo 0-3 > /dev/cpuset/system-background/cpus
- # Turn off scheduler boost at the end
- echo 0 > /proc/sys/kernel/sched_boost
# configure governor settings for silver cluster
echo "schedutil" > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
@@ -5381,6 +5412,10 @@
done
done
fi
+ # Turn off scheduler boost at the end
+ echo 0 > /proc/sys/kernel/sched_boost
+ echo 1 > /proc/sys/kernel/sched_walt_rotate_big_tasks
+
# memlat specific settings are moved to seperate file under
# device/target specific folder
setprop vendor.dcvs.prop 1
diff --git a/rootdir/bin/init.qti.qcv.sh b/rootdir/bin/init.qti.qcv.sh
index b6891e3..1a0d8b5 100644
--- a/rootdir/bin/init.qti.qcv.sh
+++ b/rootdir/bin/init.qti.qcv.sh
@@ -24,4 +24,10 @@
[ "$soc_id" -eq 515 ]; then
setprop ro.vendor.qti.soc_name yupik
setprop ro.vendor.qti.soc_model SM7325
+elif [ "$soc_id" -eq 575 ]; then
+ setprop ro.vendor.qti.soc_name yupik
+ setprop ro.vendor.qti.soc_model QCS5430
+elif [ "$soc_id" -eq 576 ]; then
+ setprop ro.vendor.qti.soc_name yupik
+ setprop ro.vendor.qti.soc_model QCM5430
fi
diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc
index 40fa9e0..099f1ff 100644
--- a/rootdir/etc/ueventd.qcom.rc
+++ b/rootdir/etc/ueventd.qcom.rc
@@ -420,6 +420,7 @@
/sys/class/graphics/fb* hdmi_audio_cb 0600 audioserver audio
/sys/class/graphics/fb* lineptr_value 0664 system graphics
+/sys/class/drm/sde-crtc-* lineptr_value 0664 system graphics
/sys/class/graphics/fb* msm_fb_persist_mode 0664 system graphics
/sys/class/graphics/fb0 idle_time 0664 system graphics
diff --git a/vendor.prop b/vendor.prop
index 4b6d360..db65c6a 100644
--- a/vendor.prop
+++ b/vendor.prop
@@ -127,6 +127,7 @@
debug.sf.perf_fps_early_gl_phase_offset_ns=-5000000
debug.sf.perf_fps_early_phase_offset_ns=-5000000
debug.sf.perf_fps_late_sf_phase_offset_ns=-5000000
+debug.sf.predict_hwc_composition_strategy=0
persist.demo.hdmirotationlock=false
persist.sys.sf.color_mode=0
persist.sys.sf.color_saturation=1.0
@@ -139,9 +140,6 @@
debug.stagefright.ccodec=1
debug.stagefright.omx_default_rank=0
-# Netflix
-ro.netflix.bsp_rev=Q7250-19133-1
-
# OEM Unlock
ro.oem_unlock_supported=1
@@ -161,7 +159,6 @@
persist.vendor.radio.custom_ecc=1
persist.vendor.radio.enableadvancedscan=true
persist.vendor.radio.procedure_bytes=SKIP
-persist.vendor.radio.rat_on=combine
persist.vendor.radio.sib16_support=1
ro.com.android.dataroaming=true
ro.telephony.iwlan_operation_mode=AP-assisted
diff --git a/wifi/WCNSS_qcom_cfg.ini b/wifi/WCNSS_qcom_cfg.ini
index 085421a..2ed1567 100644
--- a/wifi/WCNSS_qcom_cfg.ini
+++ b/wifi/WCNSS_qcom_cfg.ini
@@ -1,5 +1,7 @@
# This file allows user to override the factory
# defaults for the WLAN Driver
+# Add for 5G
+gindoor_channel_support=1
# Enable IMPS or not
gEnableImps=1