提交图

671 次代码提交

作者 SHA1 备注 提交日期
46912d9e14 Merge remote-tracking branch 'upstream/lineage-22.2' into HEAD 2025-04-09 06:35:12 +00:00
Cindy Chung
29b9440ea0 sm8450-common: Modify maxGamma value of short-term model
Bug: 346699039
Test: dump display log
Flag: EXEMPT bugfix
Change-Id: I5309f2fc376af1a05cd578c2bdff7949d0a6f151
2025-04-07 17:44:12 +02:00
Peter Lin
3ac38acde5 sm8450-common: update darkening light debounce to 2s
Bug: 298742079
test: check dumpsys display
Change-Id: Icae83917aefa6b52faac54b72d8af30d80de0660
2025-04-07 17:44:12 +02:00
SianyiHuang
73fb6c1dc1 sm8450-common: Config: Update Auto Brightness debounce and ambient threshold setting
Bug: 233283720
Test: adb shell dumpsys display and check debounce and ambien threshold
seting

Change-Id: I36cc5cf257869c37304c6525d1965a61da5bd037
2025-04-07 17:44:12 +02:00
Arian
009fdb8213 sm8450-common: Copy card-defs and microphone_characteristics XMLs from audio HAL
Change-Id: I1a2440ea36ce464e031c9492551f154ce3e7e7a5
2025-04-07 17:44:12 +02:00
Arian
b49a17b79d sm8450-common: Remove unnecessary display board flags
TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS - only used by configstore which is long dead
TARGET_USES_DISPLAY_RENDER_INTENTS - only set in qcom configs but unused
TARGET_USES_GRALLOC4 - defaults to true
TARGET_USES_HWC2 - only used by sdm660 and msm8953 display hals
MAX_VIRTUAL_DISPLAY_DIMENSION - replaced by property `ro.surface_flinger.max_virtual_display_dimension` which is already set
NUM_FRAMEBUFFER_SURFACE_BUFFERS - replaced by property `ro.surface_flinger.max_frame_buffer_acquired_buffers` which is already set

Change-Id: I67218cfcc0346ccc4b5ac44167f464becebc449a
2025-04-07 17:44:12 +02:00
Arian
9fbdb69e94 sm8450-common: Drop gralloc priv handle configuration
private_handle_t seems to only be used in parts of the display
stack which we build from source, so there is no need to match
stock.

Change-Id: Ic92dc0c4329c86bc5a7c72141509dea79fe03fcb
2025-04-07 17:44:12 +02:00
Arian
3228e25468 sm8450-common: media: Update from cupid OS2.0.1.0.VLCMIXM
Change-Id: I18ed2d30055fd982b5e5587b953e0c5769aa9966
2025-04-07 17:44:12 +02:00
danielml
ffbd61fcab sm8450-common: Build QtiTelephonyCompat
Change-Id: If4be818632aecd1577dd77e6c81f3f114ae628d8
Signed-off-by: danielml <daniel@danielml.dev>
2025-04-07 17:44:12 +02:00
Arian
d01a75fc1c sm8450-common: Update blobs from cupid OS2.0.1.0.VLCMIXM
Change-Id: I313f8c609b57fb23f456b1ce667ffaa2dcd4e82c
2025-04-07 17:44:12 +02:00
Arian
55bc269892 sm8450-common: Update blobs from cupid V816.0.10.0.ULCMIXM
Change-Id: I47ee63fd391f01a6eb8e8e9f16354bd94fefe456
2025-04-06 13:33:03 +01:00
LuK1337
ca8c10aea2 sm8450-common: Add libwfdservice_shim for WFD
e69a5be2449122f90220151f9d01ace15221facf | AOSP in system/hardware/interfaces
broke the ABI ;'(

Change-Id: I3badfc56581a6bf3de5d7e996fa51f59eb164aae
2025-04-06 13:32:53 +01:00
Michael Bestas
b88b0f4e04 sm8450-common: Enable ELF checks for libwpa_client dependent libs
Change-Id: I490df02b68da4b9a7088a239672a1dcace66d270
2025-04-03 19:25:13 +02:00
basamaryan
8859f26471 sm8450-common: Don't explicitly set as an AB target
AB is the default

Change-Id: I93346d29da38405bf571f138ae905d67966c1f9c
2025-04-03 19:19:58 +02:00
feiyuchen
58a89634b7 sm8450-common: rootdir: Add "system" group to Audio HAL
needed for using EdgeTpu.
Due to this code goes to AOSP, please see CL details and test result in
b/289097511#comment24.

Bug: 289097511
Change-Id: Ie0969309346cd85b4bb8ac71860a529710c73345
2025-04-03 19:19:15 +02:00
Arian
ee556f9c63 sm8450-common: Update blobs from diting V816.0.12.0.ULFMIXM
Change-Id: I2331e71bad9f7c8c0e3a53993343b2e7dedbee4a
2025-03-25 18:08:00 +01:00
Anand S
86c9cc3f3b sm8450-common: qcril-database: Add migration to turn off poweron_opt
If this value 1 it breaks SMS receiving.

Change-Id: I7f56ecaac51abb6525c6022d92eac1c285ab0688
2025-03-25 17:57:10 +01:00
Arian
6bd08deb33 sm8450-common: qcril-database: Add migration to turn off redir_party_num
Caused incoming caller number not being parsed correctly by Phone app on
VoLTE and VoWiFi. No idea why Xiaomi enabled this ancient prop.

Co-authored-by: Andrzej Perczak <linux@andrzejperczak.com>
Change-Id: I5a9c30c3f0e42c7816d3dc7eebb73e97cdc0fed8
2025-03-25 17:47:36 +01:00
Arian
8669740561 sm8450-common: qcril-database: Add missing migration for db 15.0
The shipped qcrilNr.db on diting miui V816.0.7.0.ULFMIXM has version 15.0
and sets persist.vendor.radio.unicode_op_names to true. However xiaomi
missed to include the migration to vendor, leading to OTA updates missing
the new change. Add the migration based on observing the stock db changes.

Change-Id: Iced27d8d8ea02594dd4c26a5ed6b8c51b4b61f20
2025-03-25 17:47:07 +01:00
Arian
a9102a09f5 sm8450-common: Generate qcrilNr.db during build
Change-Id: I1f3425713b9b5b1cc7185bc94124b9f01efe3abb
2025-03-25 17:39:15 +01:00
Arian
b6d0f0fb2b sm8450-common: nonui-notifier: Switch to shared_ptr to avoid memory leaks
Change-Id: I950bd5f6abd1dd78093864f5813ab22f0e093ded
2025-03-25 17:26:37 +01:00
Arian
9aa22d6c2a sm8450-common: udfps: Switch to unique fd and shared pointer to avoid memory leaks
Change-Id: I746bfd8dbbb20a30ff173ed50b8e0ffaee73bda2
2025-03-25 17:22:21 +01:00
Nolen Johnson
ebc72b42ff sm8450-common: Drop PRODUCT_PACKAGES_DEBUG entry
* unnecessary

Change-Id: I22ae2c744ec55168b8367c826e55110e7534466e
2025-03-14 10:59:19 +01:00
dianlujitao
50649469cd sm8450-common: move to aidl bootctrl hal
Change-Id: I50fd09148097f0cda03c1a105340a3fd5f55ce8d
2025-03-14 10:59:00 +01:00
Cosmin Tanislav
8462c095d9 sm8450-common: Build audio blobs from source
Change-Id: Ia2d82e4252fead1dbd6b3267abc83b161b0b5712
2025-03-14 10:50:11 +01:00
Arian
22a43f9447 Revert "sm8450-common: Work around using prebuilt audio primary HAL"
This reverts commit 2711cd0ffb.

Change-Id: Ia5725d3f3a7d2c15436e26d8fd8b05248e5c3128
2025-03-14 10:49:30 +01:00
Arian
edd428da2f sm8450-common: Drop shoebox soundfx library
Change-Id: Iaaa0e3fd637a15e231b60d7c6ea13370bf3ec272
2025-03-14 10:49:19 +01:00
Jaideep Sharma
12ef3a32fe sm8450-common: configs: Remove shoebox effect
This effect is no longer supported, hence removing it.

Change-Id: I9636c69a8257dd453193cb0f0f7087e2bb9dd6d6
2025-03-14 10:46:48 +01:00
Arian
3dd2e7eb74 sm8450-common: rootdir: Drop platform specific setup from init.qcom.sh
Change-Id: I4c2298b7c110d3a4b9fc8530e8197ead75a02ff6
2025-03-14 10:46:48 +01:00
Arian
0439ed5c48 sm8450-common: rootdir: Drop platform specific setup from init.qcom.early_boot.sh
Change-Id: Ie07521b41d5d1a9652af325ad96ab29f5dd89230
2025-03-14 10:46:48 +01:00
Arian
c4ce48c269 sm8450-common: rootdir: Drop platform specific setup from init.qcom.post_boot.sh
This did nothing except setting persist.vendor.mmi.misc_dev_path
and writing build image information to /sys/devices/soc0.

`zeus:/ # bash -x /vendor/bin/init.qcom.post_boot.sh
++ getprop ro.board.platform
+ target=taro
++ cat /proc/sys/kernel/osrelease
+ KernelVersionStr=5.10.230-gki-g4e1607caf9af
+ KernelVersionS=10
+ KernelVersionA=5
+ KernelVersionB=10
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ chown -h system /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
chown: /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory
+ chown -h system /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
chown: /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor: No such file or directory
+ chown -h system /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy
chown: /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy: No such file or directory
++ getprop vendor.boot.emmc
+ emmc_boot=
+ case "$emmc_boot" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ '[' -f /data/prebuilt/AdrenoTest.apk ']'
+ '[' -f /data/prebuilt/SWE_AndroidBrowser.apk ']'
+ case "$target" in
+ '[' -f /sys/devices/soc0/select_image ']'
+ image_version=10:
++ getprop ro.build.id
+ image_version+=AP4A.250105.002
+ image_version+=:
++ getprop ro.build.version.incremental
+ image_version+=1738747703
++ getprop ro.product.name
+ image_variant=zeus
+ image_variant+=-
++ getprop ro.build.type
+ image_variant+=userdebug
++ getprop ro.build.version.codename
+ oem_version=REL
+ echo 10
+ echo 10:AP4A.250105.002:1738747703
+ echo zeus-userdebug
+ echo REL
++ getprop persist.vendor.console.silent.config
+ console_config=
+ case "$console_config" in
+ echo 'Enable console config to '
Enable console config to
++ ls -l /dev/block/bootdevice/by-name/misc
+ misc_link='lrwxrwxrwx 1 root root 16 1970-11-04 04:28 /dev/block/bootdevice/by-name/misc -> /dev/block/sda11'
+ real_path=' /dev/block/sda11'
+ setprop persist.vendor.mmi.misc_dev_path /dev/block/sda11`

Change-Id: I20177ec77805feed90c019a6390cbad03f462577
2025-03-14 10:46:48 +01:00
Arian
2c3f5dfa7a sm8450-common: rootdir: Drop useless init.qcom.class_core.sh
This did nothing for us:
`zeus:/ # bash -x /vendor/bin/init.qcom.class_core.sh
++ getprop ro.board.platform
+ target=taro
+ '[' -f /sys/devices/soc0/hw_platform ']'
++ cat /sys/devices/soc0/hw_platform
+ soc_hwplatform=MTP
+ '[' -f /sys/devices/soc0/soc_id ']'
++ cat /sys/devices/soc0/soc_id
+ soc_hwid=457
+ '[' -f /sys/devices/soc0/platform_version ']'
++ cat /sys/devices/soc0/platform_version
+ soc_hwver=65536
+ case "$target" in`

Change-Id: I6e0f4b123387582975b15c0c39272877909739bb
2025-03-14 10:46:48 +01:00
LuK1337
035ee2950a sm8450-common: Unmount /firmware after fastbootd starts
Fixes `fastboot flash modem modem.img`.

Change-Id: I17e2183f666979c94c3f5b1affd660bfd60df15d
2025-03-14 10:46:13 +01:00
Yan Yan
dfe245d078 sm8450-common: Add feature flag for IPSEC_TUNNEL_MIGRATION
This commit adds the IPSEC_TUNNEL_MIGRATION feature flag,
with XFRM_MIGRATE used as the implementation

Bug: 273379472
Test: build, flash and verify with "adb shell pm list features"
Test: atest IpSecManagerTunnelTest
Change-Id: Id2ee3e65183e32ea63f6251ba921e1e4c6b09ed0
2025-03-14 10:45:44 +01:00
Bruno Martins
c28e24a6fa sm8450-common: sepolicy: Remove duplicate snxxx AIDL rules
These are now part of qcom/sepolicy_vndr.

Change-Id: I709c29e827d51e22507027862a56cca1efcdc984
2025-03-14 10:41:43 +01:00
Arian
d361023121 sm8450-common: Build and configure xiaomi touch hal
Change-Id: I01cb169d6f9609985a9eb70ba86b1497bd58aac1
2025-03-14 10:39:44 +01:00
2f43661ec0 Merge remote-tracking branch 'upstream/lineage-22.1' into cr11 2025-01-30 12:06:29 +09:00
Arian
0da0932ce6 sm8450-common: Build and configure xiaomi touch hal
Change-Id: I01cb169d6f9609985a9eb70ba86b1497bd58aac1
2025-01-23 21:47:16 +01:00
Michael Bestas
06a5e2beed sm8450-common: Migrate mount point creation out of Android.mk
Change-Id: Id5986b8a740e45f864eecdd2bd82d9455f128d6b
2025-01-19 17:03:48 +01:00
Michael Bestas
a7baad7fb6 sm8450-common: Migrate mount point creation out of Android.mk
Change-Id: Id5986b8a740e45f864eecdd2bd82d9455f128d6b
2025-01-19 17:03:48 +01:00
Arian
425ed40e12 sm8450-common: Update display, GPS and QCC blobs from ingot UKQ1.240227.165
Change-Id: I6eb2b234e071fe5f3f0bef605d6b22aba250b74d
2025-01-19 17:03:48 +01:00
Arian
0e0aa92307 sm8450-common: Update display, GPS and QCC blobs from ingot UKQ1.240227.165
Change-Id: I6eb2b234e071fe5f3f0bef605d6b22aba250b74d
2025-01-19 17:03:48 +01:00
Michael Bestas
fb97277571 sm8450-common: gps: Convert remaining Android.mk to bp
Change-Id: I75e6af92795fe755a48557aa06106406b14c6750
2025-01-19 17:03:48 +01:00
Michael Bestas
ed4f5f9ee0 sm8450-common: gps: Convert remaining Android.mk to bp
Change-Id: I75e6af92795fe755a48557aa06106406b14c6750
2025-01-19 17:03:48 +01:00
Michael Bestas
8514a7ba23 sm8450-common: gps: Remove unused implementations
Change-Id: I079edea073f3ae43eaebbf04712e99ec1a931b10
2025-01-19 17:03:48 +01:00
Michael Bestas
f91d3fc499 sm8450-common: gps: Remove unused implementations
Change-Id: I079edea073f3ae43eaebbf04712e99ec1a931b10
2025-01-19 17:03:48 +01:00
Arian
32b643fecc sm8450-common: overlay: Update wifi overlay comments from AOSP
Change-Id: I0c04f497abb33e2ebd1bd4b3c30cc8956197006a
2025-01-19 17:03:38 +01:00
Arian
04fbf6cb2d sm8450-common: overlay: Update wifi overlay comments from AOSP
Change-Id: I0c04f497abb33e2ebd1bd4b3c30cc8956197006a
2025-01-19 17:03:38 +01:00
Arian
a5eb029a97 sm8450-common: overlay: Remove backup calling strings
AOSP killed them in [1].

[1]: 30b81d637e

Change-Id: Ie1d5d5ac76425cf49b834e6f578f6a6bde640d4e
2025-01-19 16:30:25 +01:00
Arian
0fc95e7ee8 sm8450-common: overlay: Remove backup calling strings
AOSP killed them in [1].

[1]: 30b81d637e

Change-Id: Ie1d5d5ac76425cf49b834e6f578f6a6bde640d4e
2025-01-19 16:30:25 +01:00