ソースを参照

sm8450-common: Update from V816.0.8.0.ULCEUXM

Arian 10 ヶ月 前
コミット
a15647bc11
62 ファイル変更327 行追加27 行削除
  1. BIN
      proprietary/system_ext/lib/libwfdavenhancements.so
  2. BIN
      proprietary/system_ext/lib/libwfdconfigutils.so
  3. BIN
      proprietary/system_ext/lib64/lib-imsvideocodec.so
  4. BIN
      proprietary/system_ext/lib64/libdiag_system.so
  5. BIN
      proprietary/system_ext/lib64/libimscamera_jni.so
  6. BIN
      proprietary/system_ext/lib64/libimsmedia_jni.so
  7. BIN
      proprietary/system_ext/lib64/libwfdconfigutils.so
  8. BIN
      proprietary/system_ext/lib64/libwfdnative.so
  9. BIN
      proprietary/system_ext/lib64/[email protected]
  10. BIN
      proprietary/system_ext/priv-app/ims/ims.apk
  11. BIN
      proprietary/system_ext/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk
  12. BIN
      proprietary/vendor/app/SoterService/SoterService.apk
  13. BIN
      proprietary/vendor/bin/adpl
  14. BIN
      proprietary/vendor/bin/hw/[email protected]
  15. BIN
      proprietary/vendor/bin/hw/[email protected]
  16. 1 1
      proprietary/vendor/bin/init.kernel.post_boot-diwali.sh
  17. 6 2
      proprietary/vendor/bin/init.kernel.post_boot.sh
  18. BIN
      proprietary/vendor/bin/mdm_helper
  19. BIN
      proprietary/vendor/bin/mdm_helper_proxy
  20. BIN
      proprietary/vendor/bin/mi_thermald
  21. BIN
      proprietary/vendor/bin/netmgrd
  22. BIN
      proprietary/vendor/bin/nqnfcinfo
  23. BIN
      proprietary/vendor/bin/qti
  24. 7 1
      proprietary/vendor/etc/libnfc-nxp.conf
  25. 9 9
      proprietary/vendor/etc/libnfc-nxp_RF.conf
  26. 302 5
      proprietary/vendor/etc/media_codecs_diwali_v2.xml
  27. BIN
      proprietary/vendor/etc/perf/thermal-boost.conf
  28. BIN
      proprietary/vendor/etc/qcril_database/qcrilNr.db
  29. 2 6
      proprietary/vendor/etc/qcril_database/upgrade/config/6.0_config.sql
  30. 0 3
      proprietary/vendor/etc/seccomp_policy/codec2.vendor.base-arm64.policy
  31. BIN
      proprietary/vendor/lib/hw/[email protected]
  32. BIN
      proprietary/vendor/lib/hw/sound_trigger.primary.taro.so
  33. BIN
      proprietary/vendor/lib/libbluetooth_audio_session_qti_2_1.so
  34. BIN
      proprietary/vendor/lib/libminkdescriptor.so
  35. BIN
      proprietary/vendor/lib/[email protected]
  36. BIN
      proprietary/vendor/lib/libnetmgr.so
  37. BIN
      proprietary/vendor/lib/libqcrilNr.so
  38. BIN
      proprietary/vendor/lib/libqti-perfd.so
  39. BIN
      proprietary/vendor/lib/libril-qc-ltedirectdisc.so
  40. BIN
      proprietary/vendor/lib/libril-qc-radioconfig.so
  41. BIN
      proprietary/vendor/lib/librmnetctl.so
  42. BIN
      proprietary/vendor/lib/libvpplibrary.so
  43. BIN
      proprietary/vendor/lib/libxiaomi_qcril.so
  44. BIN
      proprietary/vendor/lib/nfc_nci.nqx.default.hw.v1.so
  45. BIN
      proprietary/vendor/lib/sensors.ssc.so
  46. BIN
      proprietary/vendor/lib64/hw/[email protected]
  47. BIN
      proprietary/vendor/lib64/hw/sound_trigger.primary.taro.so
  48. BIN
      proprietary/vendor/lib64/libbluetooth_audio_session_qti_2_1.so
  49. BIN
      proprietary/vendor/lib64/libminkdescriptor.so
  50. BIN
      proprietary/vendor/lib64/[email protected]
  51. BIN
      proprietary/vendor/lib64/libnetmgr.so
  52. BIN
      proprietary/vendor/lib64/libqcrilNr.so
  53. BIN
      proprietary/vendor/lib64/libqcrilNrImsModule.so
  54. BIN
      proprietary/vendor/lib64/libqcrilNrVoiceModule.so
  55. BIN
      proprietary/vendor/lib64/libqti-perfd.so
  56. BIN
      proprietary/vendor/lib64/libril-qc-ltedirectdisc.so
  57. BIN
      proprietary/vendor/lib64/libril-qc-radioconfig.so
  58. BIN
      proprietary/vendor/lib64/librmnetctl.so
  59. BIN
      proprietary/vendor/lib64/libvpplibrary.so
  60. BIN
      proprietary/vendor/lib64/libxiaomi_qcril.so
  61. BIN
      proprietary/vendor/lib64/nfc_nci.nqx.default.hw.v1.so
  62. BIN
      proprietary/vendor/lib64/sensors.ssc.so

BIN
proprietary/system_ext/lib/libwfdavenhancements.so


BIN
proprietary/system_ext/lib/libwfdconfigutils.so


BIN
proprietary/system_ext/lib64/lib-imsvideocodec.so


BIN
proprietary/system_ext/lib64/libdiag_system.so


BIN
proprietary/system_ext/lib64/libimscamera_jni.so


BIN
proprietary/system_ext/lib64/libimsmedia_jni.so


BIN
proprietary/system_ext/lib64/libwfdconfigutils.so


BIN
proprietary/system_ext/lib64/libwfdnative.so


BIN
proprietary/system_ext/lib64/[email protected]


BIN
proprietary/system_ext/priv-app/ims/ims.apk


BIN
proprietary/system_ext/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk


BIN
proprietary/vendor/app/SoterService/SoterService.apk


BIN
proprietary/vendor/bin/adpl


BIN
proprietary/vendor/bin/hw/[email protected]


BIN
proprietary/vendor/bin/hw/[email protected]


+ 1 - 1
proprietary/vendor/bin/init.kernel.post_boot-diwali.sh

@@ -54,7 +54,7 @@ echo 1200:1708000 2100:3196000 > /sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,m
 echo 1200:1708000 2100:3196000 > /sys/devices/system/cpu/bus_dcvs/DDR/soc:qcom,memlat:ddr:prime/spm_freq_map
 
 # cpuset parameters
-echo 0-2 > /dev/cpuset/background/cpus
+echo 0-3 > /dev/cpuset/background/cpus
 echo 0-3 > /dev/cpuset/system-background/cpus
 echo 4-7 > /dev/cpuset/foreground/boost/cpus
 echo 0-7 > /dev/cpuset/foreground/cpus

+ 6 - 2
proprietary/vendor/bin/init.kernel.post_boot.sh

@@ -136,8 +136,8 @@ function configure_memory_parameters() {
 	else
 		echo 100 > /proc/sys/vm/swappiness
 	fi
-
-	if [ "$ProductName" == "yudi" ]; then
+	
+	if [ "$ProductName" == "ingres" ]; then
 		echo 10 > /proc/sys/vm/watermark_scale_factor
 	else
 		echo 1 > /proc/sys/vm/watermark_scale_factor
@@ -202,3 +202,7 @@ if [ "$ProductName" == "liuqin" ] || [ "$ProductName" == "yudi" ]; then
 	sleep 600
 	echo 100 > /proc/sys/vm/swappiness
 fi
+
+if [ "$ProductName" == "zeus" ]; then
+	echo 180 > /proc/sys/vm/swappiness
+fi

BIN
proprietary/vendor/bin/mdm_helper


BIN
proprietary/vendor/bin/mdm_helper_proxy


BIN
proprietary/vendor/bin/mi_thermald


BIN
proprietary/vendor/bin/netmgrd


BIN
proprietary/vendor/bin/nqnfcinfo


BIN
proprietary/vendor/bin/qti


+ 7 - 1
proprietary/vendor/etc/libnfc-nxp.conf

@@ -489,7 +489,7 @@ NXP_CORE_CONF_EXTN={20, 02, 21, 07,
     A0, 07, 01, 01,
     A0, 0A, 01, 20,
     A0, 47, 02, 00, 27,
-    A0, 85, 04, 58, 08, A8, 2C
+    A0, 85, 04, 58, 08, A8, AC
 }
 
 #       A0, 40, 01, 00
@@ -543,3 +543,9 @@ NXP_NON_STD_CARD_TIMEDIFF={01:03}
 # TAI Timeout
 NXP_SRD_TIMEOUT={2C:01}
 #################################################################################
+# Enable wait/delay if RF session is active.
+# Disable           0x00
+# Enable            0x01
+NXP_CE_PRIORITY_ENABLED=0x00
+
+#################################################################################

+ 9 - 9
proprietary/vendor/etc/libnfc-nxp_RF.conf

@@ -1,7 +1,7 @@
 ##############################################################
-## Sep.24, 2020 - Merged from MW11.51.F1 by Jian #############
+## Sep.24, 2020 - Merged from MW11.51.F1 by Jian   RF tuning by jinzhi Nov.8 2021 #############
 ## Nov.8,  2021  RF tuning by jinzhi #############
-## L2 P2 libnfc-nxp_RF.conf  FW60 test 30,Aug. 2020#########
+## L3 P2.1 libnfc-nxp_RF.conf  FW60 test 30,Aug. 2020#########
 ###############################################################################
 # System clock source selection configuration
 #define CLK_SRC_XTAL       1
@@ -36,17 +36,17 @@ NXP_CLOCK_REQ_DELAY=0x1E
 
 NXP_RF_CONF_BLK_1={
           20, 02, DF, 05,
-          A0, 0E, 2C, F0, 00, 3E, 11, E4, E4, E4, 00, 00, 00, 00, 00, A7, 8E, FF, FF, 20, 20, 20, 20, 0A, 00, 00, 00, 00, 02, 00, 00, 01, 00, 10, 00, 04, 00, 00, 00, 17, 40, FF, 07, 13, 07, 05, 13,
+          A0, 0E, 2C, F0, 00, 3E, 11, E4, E4, E4, 00, 00, 00, 00, 00, A7, 8E, FF, FF, 23, 23, 23, 23, 0A, 00, 00, 00, 00, 02, 00, 00, 01, 00, 10, 00, 04, 00, 00, 00, 17, 40, FF, 07, 13, 07, 05, 13,
           A0, A4, 85, 14, 00, 01, 00, 00, 00, 00, 00, 00, 01, 00, 03, 00, 05, 00, 07, 00, 08, 00, 0A, 00, 0C, 00, 0E, 00, 10, 00, 11, 00, 13, 00, 14, 00, 16, 00, 18, 00, 19, 00, 1A, 00, 1C, 00, 1D, 00, 1F, 00, 20, 00, 21, 00, 24, 00, 25, 00, 27, 00, 29, 00, 2A, 00, 2C, 00, 2D, 00, 2F, 00, 31, 00, 32, 00, 34, 00, 35, 00, 37, 00, 39, 00, 3A, 00, 3C, 00, 3D, 00, 3F, 00, 41, 00, 42, 00, 44, 00, 46, 00, 47, 00, 49, 00, 4A, 00, 4C, 00, 4E, 00, 4F, 00, 51, 00, 52, 00, 54, 00, 56, 00, 57, 00, 59, 00, 5A, 00, 5C, 00, 5E, 00, 5F, 00, 61, 00, 62, 00, 64, 00,
           A0, A5, 0D, 3B, 3B, 3B, 3B, 3B, 3B, FF, 03, 1F, 00, 3B, 00, 00,
-          A0, 6A, 10, 78, 00, 78, 00, 78, 00, 78, 00, 38, 04, 38, 04, 38, 04, 38, 04,
+          A0, 6A, 10, B0, 04, B0, 04, B0, 04, B0, 04, 38, 04, 38, 04, 38, 04, 38, 04,
           A1, 34, 01, 04
 }
 
 NXP_RF_CONF_BLK_2={
           20, 02, F5, 02,
-          A0,   34,   C8,   23,   04,   3D,   01,   02,   19,   EF,   08,   00,   00,   B9,   0A,   00,   00,   B9,   0A,   00,   00,   B9,   0A,   00,   00,   15,   10,   00,   00,   15,   10,   00,   00,   15,   10,   00,   00,   15,   10,   00,   00,   15,   10,   00,   00,   3B,   17,   00,   00,   3B,   17,   00,   00,   3B,   17,   00,   00,   3B,   17,   00,   00,   3B,   17,   00,   00,   3B,   17,   00,   00,   3B,   17,   00,   00,   97,   1C,   00,   00,   97,   1C,   00,   00,   BD,   23,   00,   00,   75,   2E,   00,   00,   08,   32,   00,   00,   9C,   3A,   00,   00,   9C,   3A,   00,   00,   9C,   3A,   00,   00,   06,   19,   93,   03,   00,   00,   93,   03,   00,   00,   93,   03,   00,   00,   93,   03,   00,   00,   26,   07,   00,   00,   26,   07,   00,   00,   26,   07,   00,   00,   DE,   11,   00,   00,   71,   15,   00,   00,   71,   15,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,
-          A0, 28, 26, 00, 00, 00, 03, CB, 3C, 00, 00, 78, 00, 00, C4, FF, 00, 88, FF, 00, 4C, FF, 00, 10, FF, 00, D4, FE, 00, 98, FE, 00, 5C, FE, 00, 20, FE, 00, E4, FD, 00
+          A0,   34,   C8,   23,   04,   3D,   01,   02,   19,   EF,   08,   00,   00,   B9,   0A,   00,   00,   B9,   0A,   00,   00,   4C,   0E,   00,   00,   15,   10,   00,   00,   15,   10,   00,   00,   15,   10,   00,   00,   15,   10,   00,   00,   71,   15,   00,   00,   71,   15,   00,   00,   71,   15,   00,   00,   71,   15,   00,   00,   71,   15,   00,   00,   CE,   1A,   00,   00,   CE,   1A,   00,   00,   CE,   1A,   00,   00,   60,   1E,   00,   00,   2A,   20,   00,   00,   BD,   23,   00,   00,   75,   2E,   00,   00,   08,   32,   00,   00,   9C,   3A,   00,   00,   9C,   3A,   00,   00,   9C,   3A,   00,   00,   06,   19,   93,   03,   00,   00,   93,   03,   00,   00,   93,   03,   00,   00,   93,   03,   00,   00,   26,   07,   00,   00,   26,   07,   00,   00,   26,   07,   00,   00,   DE,   11,   00,   00,   71,   15,   00,   00,   71,   15,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,   7A,   47,   00,   00,
+          A0, 28, 26, 03, 00, 00, 03, CB, 3C, 00, 00, 78, 00, 00, C4, FF, 00, 88, FF, 00, 4C, FF, 00, 10, FF, 00, D4, FE, 00, 98, FE, 00, 5C, FE, 00, 20, FE, 00, E4, FD, 00
 }
 
 NXP_RF_CONF_BLK_3={
@@ -211,7 +211,7 @@ NXP_RF_CONF_BLK_11={
 	      A0, 1F, 06, 63, 00, 42, 00, 14, 00,
 	      A0, 9A, 02, 00, 00,
 	      A0, 99, 0A, 03, 00, 80, 00, 00, 80, 00, 00, 00, 00,
-	      A0, 68, 2A, 06, 40, 60, 03, 19, 00, 00, 00, 00, 82, 24, 00, C0, 05, 00, 0F, FF, 7F, 00, 0F, FF, 7F, A0, 00, 03, FA, 00, 00, 00, 4C, 00, 14, 00, 42, 00, 05, 42, 00, 00, 01, 00, 03
+	      A0, 68, 2A, 06, 40, 60, 03, 19, 00, 00, 00, 00, 82, 04, 00, C0, 05, C0, 00, 00, 01, 00, 01, A0, 00, A0, 00, 03, FA, 00, 00, 00, 4C, 00, 14, 00, 7D, 00, 05, 7F, 00, 00, 01, 00, 03
 }
 
 NXP_RF_CONF_BLK_12={
@@ -222,7 +222,7 @@ NXP_RF_CONF_BLK_12={
           A0, 0D, 06, 60, 97, FF, FF, 0F, 00,
 	      A0, 0D, 06, 82, 82, 49, 80, 00, 00,
 	      A0, 0D, 06, 80, 82, 49, 80, 00, 00,
-	      A0, 0D, 06, 62, 32, 0E, 00, 7F, 00,
-	      A0, 0D, 06, 67, 32, 0E, 00, 1F, 00
+	      A0, 0D, 06, 62, 32, AE, 00, 7F, 00,
+	      A0, 0D, 06, 67, 32, AE, 00, 1F, 00
 }
 NXP_RF_CONF_MAX_NUM=12

+ 302 - 5
proprietary/vendor/etc/media_codecs_diwali_v2.xml

@@ -1,9 +1,306 @@
 <?xml version="1.0" encoding="utf-8" ?>
+<!--
+    Copyright (c) 2018-2021 Qualcomm Technologies, Inc.
+    All Rights Reserved.
+    Confidential and Proprietary - Qualcomm Technologies, Inc.
+
+    Not a Contribution.
+
+    Copyright (C) 2012-2018 The Linux Foundation. All rights reserved.
+    Copyright (C) 2012-2013 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.
+-->
+
+<!--
+"performance-point"
+    Vendor-guaranteed performance advertised to the applications
+        <Limit name="performance-point-widthxheight" value="fps" />
+
+    -For each of the resolutions, the advertised fps is the max supported,
+    with HW-friendly color format and considering video-only.
+    -Performance for any intermediate resolution will be that of the
+    next-higher-advertised-resolution.
+
+    standard sizes: 480p/576p (SD), 720p (HD), 1080p (FHD), 2160p (UHD)
+    standard frame rates: 24, 25, 30, 48+, 50, 60, 100*, 120*, 200*, 240* fps
+        * HD+ only
+        + SD only
+    - All supported standard performance points are listed (unless they are
+    covered by another listed standard performance point)
+    - Non-standard performance points are listed along with all the standard
+    performance points covered by them.
+-->
+
+<!--
+ Diwali Non-Secure decoder capabilities
+ (MB is defined as 16x16)
+
+  _________________________________________________________________
+ | Codec    | W       H       fps     Mbps    MB/s        Max MB/s|
+ |__________|_____________________________________________________|
+ | h264     | 1920    1088    120     100      979200     1105920 |
+ |          | 4096    2304     30     100     1105920             |
+ | hevc     | 1920    1088    120     100      979200     1105920 |
+ |          | 4096    2304     30     100     1105920             |
+ | vp9      | 1920    1088    120      40      979200     1105920 |
+ |          | 4096    2304     30      40     1105920             |
+ |__________|_____________________________________________________|
+
+ Diwali Secure decoder capabilities
+ (MB is defined as 16x16)
+  ______________________________________________________________
+ | Codec    | W       H       fps    Mbps    MB/s       Max MB/s|
+ |__________|___________________________________________________|
+ | h264     | 1920    1088    60     40      489600     1105920 |
+ |          | 4096    2304    30     40     1105920             |
+ | hevc     | 1920    1088    60     40      489600     1105920 |
+ |          | 4096    2304    30     40     1105920             |
+ | vp9      | 1920    1088    60     40      489600     1105920 |
+ |          | 4096    2304    30     40     1105920             |
+ |__________|___________________________________________________|
+
+ Diwali Non-Secure encoder capabilities (Secure not supported)
+ (MB is defined as 16x16)
+  _________________________________________________________________
+ | Codec    | W       H       fps     Mbps    MB/s        Max MB/s|
+ |__________|_____________________________________________________|
+ | h264     | 1920    1088    120     100      979200     1105920 |
+ |          | 4096    2304     30     100     1105920             |
+ | hevc     | 1920    1088    120     100      979200     1105920 |
+ |          | 4096    2304     30     100     1105920             |
+ |__________|_____________________________________________________|
+-->
 
 <MediaCodecs>
-    <Include href="media_codecs_system_default.xml" />
-    <Include href="media_codecs_dolby_audio.xml" />
-    <Include href="media_codecs_with_dolby_taro.xml" />
-    <Include href="media_codecs_with_dolby_diwali.xml" />
-    <Include href="media_codecs_with_dolby_cape.xml" />
+    <Include href="media_codecs_google_audio.xml" />
+    <Include href="media_codecs_vendor_audio.xml" />
+    <Include href="media_codecs_google_telephony.xml" />
+    <Include href="media_codecs_c2_audio.xml" />
+    <Settings>
+        <Setting name="max-video-encoder-input-buffers" value="11" />
+    </Settings>
+    <Decoders>
+        <!-- C2 decoders -->
+        <MediaCodec name="c2.qti.avc.decoder" type="video/avc">
+            <Alias name="OMX.qcom.video.decoder.avc"/>
+            <Limit name="size" min="96x96" max="4096x4096" />
+            <Limit name="alignment" value="2x2" />
+            <Limit name="block-size" value="16x16" />
+            <Limit name="block-count" range="36-34816" />
+            <Limit name="blocks-per-second" range="36-1105920" />
+            <Limit name="bitrate" range="1-100000000" />
+            <Limit name="frame-rate" range="1-240" />
+            <Limit name="concurrent-instances" max="16" />
+            <Feature name="adaptive-playback" />
+            <Limit name="performance-point-1280x720" value="240" />
+            <Limit name="performance-point-1920x1080" value="120" />
+            <Limit name="performance-point-3840x2160" value="30" />
+            <Limit name="performance-point-4096x2304" value="30" />
+        </MediaCodec>
+        <MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc">
+            <Alias name="OMX.qcom.video.decoder.avc.low_latency"/>
+            <Limit name="size" min="96x96" max="4096x4096" />
+            <Limit name="alignment" value="2x2" />
+            <Limit name="block-size" value="16x16" />
+            <Limit name="block-count" range="36-34816" />
+            <Limit name="blocks-per-second" range="36-1105920" />
+            <Limit name="bitrate" range="1-30000000" />
+            <Limit name="frame-rate" range="1-240" />
+            <Limit name="concurrent-instances" max="16" />
+            <Feature name="adaptive-playback" />
+            <Feature name="low-latency" />
+            <Limit name="performance-point-1280x720" value="240" />
+            <Limit name="performance-point-1920x1080" value="120" />
+            <Limit name="performance-point-3840x2160" value="30" />
+            <Limit name="performance-point-4096x2304" value="30" />
+        </MediaCodec>
+        <MediaCodec name="c2.qti.avc.decoder.secure" type="video/avc" >
+            <Alias name="OMX.qcom.video.decoder.avc.secure"/>
+            <Limit name="size" min="96x96" max="4096x4096" />
+            <Limit name="alignment" value="2x2" />
+            <Limit name="block-size" value="16x16" />
+            <Limit name="block-count" range="36-34816" />
+            <Limit name="blocks-per-second" min="36" max="1105920" />
+            <Limit name="bitrate" range="1-40000000" />
+            <Limit name="frame-rate" range="1-60" />
+            <Feature name="adaptive-playback" />
+            <Feature name="secure-playback" required="true" />
+            <Feature name="low-latency" />
+            <Limit name="concurrent-instances" max="3" />
+            <Limit name="performance-point-3840x2160" value="30" />
+            <Limit name="performance-point-4096x2304" value="30" />
+        </MediaCodec>
+        <MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" >
+            <Alias name="OMX.qcom.video.decoder.hevc"/>
+            <Limit name="size" min="96x96" max="4096x4096" />
+            <Limit name="alignment" value="2x2" />
+            <Limit name="block-size" value="16x16" />
+            <Limit name="block-count" range="36-34816" />
+            <Limit name="blocks-per-second" min="36" max="1105920" />
+            <Limit name="bitrate" range="1-100000000" />
+            <Limit name="frame-rate" range="1-240" />
+            <Feature name="adaptive-playback" />
+            <Limit name="concurrent-instances" max="16" />
+            <Limit name="performance-point-1280x720" value="240" />
+            <Limit name="performance-point-1920x1080" value="120" />
+            <Limit name="performance-point-3840x2160" value="30" />
+            <Limit name="performance-point-4096x2304" value="30" />
+        </MediaCodec>
+        <MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" >
+            <Alias name="OMX.qcom.video.decoder.hevc.low_latency"/>
+            <Limit name="size" min="96x96" max="4096x4096" />
+            <Limit name="alignment" value="2x2" />
+            <Limit name="block-size" value="16x16" />
+            <Limit name="block-count" range="36-34816" />
+            <Limit name="blocks-per-second" min="36" max="1105920" />
+            <Limit name="bitrate" range="1-30000000" />
+            <Limit name="frame-rate" range="1-240" />
+            <Feature name="adaptive-playback" />
+            <Feature name="low-latency" />
+            <Limit name="concurrent-instances" max="16" />
+            <Limit name="performance-point-1280x720" value="240" />
+            <Limit name="performance-point-1920x1080" value="120" />
+            <Limit name="performance-point-3840x2160" value="30" />
+            <Limit name="performance-point-4096x2304" value="30" />
+        </MediaCodec>
+        <MediaCodec name="c2.qti.hevc.decoder.secure" type="video/hevc" >
+            <Alias name="OMX.qcom.video.decoder.hevc.secure"/>
+            <Limit name="size" min="96x96" max="4096x4096" />
+            <Limit name="alignment" value="2x2" />
+            <Limit name="block-size" value="16x16" />
+            <Limit name="block-count" range="36-34816" />
+            <Limit name="blocks-per-second" min="36" max="1105920" />
+            <Limit name="bitrate" range="1-40000000" />
+            <Limit name="frame-rate" range="1-60" />
+            <Feature name="adaptive-playback" />
+            <Feature name="secure-playback" required="true" />
+            <Feature name="low-latency" />
+            <Limit name="concurrent-instances" max="3" />
+            <Limit name="performance-point-3840x2160" value="30" />
+            <Limit name="performance-point-4096x2304" value="30" />
+        </MediaCodec>
+        <MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" >
+            <Alias name="OMX.qcom.video.decoder.vp9"/>
+            <Limit name="size" min="96x96" max="4096x4096" />
+            <Limit name="alignment" value="2x2" />
+            <Limit name="block-size" value="16x16" />
+            <Limit name="block-count" range="36-34816" />
+            <Limit name="blocks-per-second" min="36" max="1105920" />
+            <Limit name="bitrate" range="1-40000000" />
+            <Limit name="frame-rate" range="1-60" />
+            <Feature name="adaptive-playback" />
+            <Limit name="concurrent-instances" max="6" />
+            <Limit name="performance-point-3840x2160" value="30" />
+            <Limit name="performance-point-4096x2304" value="30" />
+        </MediaCodec>
+        <MediaCodec name="c2.qti.vp9.decoder.low_latency" type="video/x-vnd.on2.vp9" >
+            <Alias name="OMX.qcom.video.decoder.vp9.low_latency"/>
+            <Limit name="size" min="96x96" max="4096x4096" />
+            <Limit name="alignment" value="2x2" />
+            <Limit name="block-size" value="16x16" />
+            <Limit name="block-count" range="36-34816" />
+            <Limit name="blocks-per-second" min="36" max="1105920" />
+            <Limit name="bitrate" range="1-30000000" />
+            <Limit name="frame-rate" range="1-60" />
+            <Feature name="adaptive-playback" />
+            <Feature name="low-latency" />
+            <Limit name="concurrent-instances" max="6" />
+            <Limit name="performance-point-3840x2160" value="30" />
+            <Limit name="performance-point-4096x2304" value="30" />
+        </MediaCodec>
+        <MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
+            <Alias name="OMX.qcom.video.decoder.vp9.secure"/>
+            <Limit name="size" min="96x96" max="4096x4096" />
+            <Limit name="alignment" value="2x2" />
+            <Limit name="block-size" value="16x16" />
+            <Limit name="block-count" range="36-34816" />
+            <Limit name="blocks-per-second" min="36" max="1105920" />
+            <Limit name="bitrate" range="1-40000000" />
+            <Limit name="frame-rate" range="1-60" />
+            <Feature name="adaptive-playback" />
+            <Feature name="secure-playback" required="true" />
+            <Feature name="low-latency" />
+            <Limit name="concurrent-instances" max="3" />
+            <Limit name="performance-point-3840x2160" value="30" />
+            <Limit name="performance-point-4096x2304" value="30" />
+        </MediaCodec>
+    </Decoders>
+    <Encoders>
+        <!-- C2 encoders -->
+        <MediaCodec name="c2.qti.avc.encoder" type="video/avc">
+            <Alias name="OMX.qcom.video.encoder.avc"/>
+            <Limit name="size" min="128x128" max="4096x4096" />
+            <Limit name="alignment" value="2x2" />
+            <Limit name="block-size" value="16x16" />
+            <Limit name="blocks-per-second" min="64" max="1105920" />
+            <Limit name="block-count" range="64-34816" />
+            <Limit name="bitrate" range="1-100000000" />
+            <Limit name="frame-rate" range="1-240" />
+            <Limit name="complexity" range="0-100"  default="100" />
+            <Limit name="concurrent-instances" max="16" />
+            <Feature name="bitrate-modes" value="VBR,CBR" />
+            <Feature name="intra-refresh" />
+            <Feature name="video-minimum-quality" />
+            <Limit name="performance-point-1280x720" value="240" />
+            <Limit name="performance-point-1920x1080" value="120" />
+            <Limit name="performance-point-3840x2160" value="30" />
+        </MediaCodec>
+        <MediaCodec name="c2.qti.hevc.encoder" type="video/hevc">
+            <Alias name="OMX.qcom.video.encoder.hevc"/>
+            <Limit name="size" min="128x128" max="4096x4096" />
+            <Limit name="alignment" value="2x2" />
+            <Limit name="block-size" value="16x16" />
+            <Limit name="blocks-per-second" min="64" max="1105920" />
+            <Limit name="block-count" range="64-34816" />
+            <Limit name="bitrate" range="1-100000000" />
+            <Limit name="frame-rate" range="1-240" />
+            <Limit name="complexity" range="0-100"  default="100" />
+            <Limit name="concurrent-instances" max="16" />
+            <Feature name="bitrate-modes" value="VBR,CBR" />
+            <Feature name="intra-refresh" />
+            <Feature name="video-minimum-quality" />
+            <Limit name="performance-point-1280x720" value="240" />
+            <Limit name="performance-point-1920x1080" value="120" />
+            <Limit name="performance-point-3840x2160" value="30" />
+        </MediaCodec>
+        <MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc">
+            <Alias name="OMX.qcom.video.encoder.hevc.cq"/>
+            <Limit name="size" min="128x128" max="512x512" />
+            <Limit name="alignment" value="2x2" />
+            <Limit name="block-size" value="16x16" />
+            <Limit name="blocks-per-second" min="64" max="3916800" />
+            <Limit name="bitrate" range="1-100000000" />
+            <Limit name="frame-rate" range="1-240" />
+            <Limit name="concurrent-instances" max="16" />
+            <Limit name="quality" range="0-100" default="80" />
+            <Feature name="bitrate-modes" value="CQ" />
+            <Limit name="performance-point-512x512" value="3825" />
+        </MediaCodec>
+        <MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic">
+            <Alias name="OMX.qcom.video.encoder.heic"/>
+            <Limit name="size" min="512x512" max="16384x16384" />
+            <Limit name="alignment" value="2x2" />
+            <Limit name="block-size" value="16x16" />
+            <Limit name="blocks-per-second" min="64" max="3916800" />
+            <Limit name="bitrate" range="1-100000000" />
+            <Limit name="frame-rate" range="1-20" />
+            <Limit name="concurrent-instances" max="16" />
+            <Limit name="quality" range="0-100" default="80" />
+            <Feature name="bitrate-modes" value="CQ" />
+            <Limit name="performance-point-16384x8192" value="3" />
+            <Limit name="performance-point-1920x1080" value="6" />
+        </MediaCodec>
+    </Encoders>
+    <Include href="media_codecs_google_c2.xml" />
 </MediaCodecs>

BIN
proprietary/vendor/etc/perf/thermal-boost.conf


BIN
proprietary/vendor/etc/qcril_database/qcrilNr.db


+ 2 - 6
proprietary/vendor/etc/qcril_database/upgrade/config/6.0_config.sql

@@ -154,12 +154,8 @@ INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist
 INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.process_sups_ind", "true");
 INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.0x9e_not_callname", "false");
 INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.orig_num_disp", "0");
-/* xiaomi begin
- * MIUIROM-1737523 2023/11/17 Description: set CLIR default value to 2 for KDDI
-*/
-INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.clir0", "3");
-INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.clir1", "3");
-/* xiaomi end */
+INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.clir0", "0");
+INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.clir1", "0");
 INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.report_codec", "0");
 INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.support_subaddr", "false");
 INSERT OR REPLACE INTO qcril_properties_table(property, def_val) VALUES("persist.vendor.radio.subaddr_amp", "true");

+ 0 - 3
proprietary/vendor/etc/seccomp_policy/codec2.vendor.base-arm64.policy

@@ -63,9 +63,6 @@ restart_syscall: 1
 rt_sigreturn: 1
 getrandom: 1
 madvise: 1
-inotify_init: 1
-inotify_add_watch: 1
-inotify_rm_watch: 1
 
 # crash dump policy additions
 clock_gettime: 1

BIN
proprietary/vendor/lib/hw/[email protected]


BIN
proprietary/vendor/lib/hw/sound_trigger.primary.taro.so


BIN
proprietary/vendor/lib/libbluetooth_audio_session_qti_2_1.so


BIN
proprietary/vendor/lib/libminkdescriptor.so


BIN
proprietary/vendor/lib/[email protected]


BIN
proprietary/vendor/lib/libnetmgr.so


BIN
proprietary/vendor/lib/libqcrilNr.so


BIN
proprietary/vendor/lib/libqti-perfd.so


BIN
proprietary/vendor/lib/libril-qc-ltedirectdisc.so


BIN
proprietary/vendor/lib/libril-qc-radioconfig.so


BIN
proprietary/vendor/lib/librmnetctl.so


BIN
proprietary/vendor/lib/libvpplibrary.so


BIN
proprietary/vendor/lib/libxiaomi_qcril.so


BIN
proprietary/vendor/lib/nfc_nci.nqx.default.hw.v1.so


BIN
proprietary/vendor/lib/sensors.ssc.so


BIN
proprietary/vendor/lib64/hw/[email protected]


BIN
proprietary/vendor/lib64/hw/sound_trigger.primary.taro.so


BIN
proprietary/vendor/lib64/libbluetooth_audio_session_qti_2_1.so


BIN
proprietary/vendor/lib64/libminkdescriptor.so


BIN
proprietary/vendor/lib64/[email protected]


BIN
proprietary/vendor/lib64/libnetmgr.so


BIN
proprietary/vendor/lib64/libqcrilNr.so


BIN
proprietary/vendor/lib64/libqcrilNrImsModule.so


BIN
proprietary/vendor/lib64/libqcrilNrVoiceModule.so


BIN
proprietary/vendor/lib64/libqti-perfd.so


BIN
proprietary/vendor/lib64/libril-qc-ltedirectdisc.so


BIN
proprietary/vendor/lib64/libril-qc-radioconfig.so


BIN
proprietary/vendor/lib64/librmnetctl.so


BIN
proprietary/vendor/lib64/libvpplibrary.so


BIN
proprietary/vendor/lib64/libxiaomi_qcril.so


BIN
proprietary/vendor/lib64/nfc_nci.nqx.default.hw.v1.so


BIN
proprietary/vendor/lib64/sensors.ssc.so