673 Commits

Author SHA1 Message Date
Sebastiano Barezzi
886c0a1efe sm8150-common: libinit: Fix const and static usages
Change-Id: I39738685bca884a5c9303d877b699d0beab9eacc
2025-11-01 15:07:00 +01:00
Sebastiano Barezzi
cfdb4f03a6 sm8150-common: libinit: Add brackets
Change-Id: I1d70aeaf0972726d832c144f729067f96b2cb0c6
2025-11-01 15:07:00 +01:00
Sebastiano Barezzi
df36233274 sm8150-common: libinit: Stop copying objects around functions
Change-Id: Ic226030f4dac212d3ed545e6b3cc41e8a53e29f7
2025-11-01 15:07:00 +01:00
Sebastiano Barezzi
79ac7fecac sm8150-common: libinit: Move dalvik_heap_info outside the header
Change-Id: I6dea4a5e669a211c9fbf44d0ca3dc0c530bbdd6f
2025-11-01 15:07:00 +01:00
Sebastiano Barezzi
17090a0241 sm8150-common: libinit: typedef is not needed with C++
Change-Id: Ie412cb5483b065b2d470d0d5dbb4c81c1aec1aa0
2025-11-01 15:07:00 +01:00
Sebastiano Barezzi
cba3251537 sm8150-common: libinit: Fix headers inclusion order
Change-Id: Iabae5a63577cf462e171dee5eac796c345962801
2025-11-01 15:06:59 +01:00
Sebastiano Barezzi
23ff00ab44 sm8150-common: libinit: Use #pragma once
Change-Id: I33db772ba211e7c124cd3d381e226e1331269218
2025-11-01 15:06:59 +01:00
Sebastiano Barezzi
6f03578de2 sm8150-common: libinit: Apply clang-format
Change-Id: Ia66f8cffb06e65d24fc3d357831364d2db47a4ea
2025-11-01 15:06:59 +01:00
Sebastiano Barezzi
5bca60446f sm8150-common: Add clang-format
Change-Id: I5619199d6048299796c783b408f05408f518a5e1
2025-11-01 15:06:59 +01:00
Sebastiano Barezzi
9fd398c199 sm8150-common: libinit: Sync up with sm8250-common
Change-Id: I648bf5a8016e6064f98eb78f46331ea8891d8738
2025-11-01 15:06:59 +01:00
Alexander Winkowski
3c4426e87b sm8150-common: libinit: Override odm_dlkm and vendor_dlkm props
Change-Id: If601ae82e6bcaeec756f868575b2ae465f21156c
2025-11-01 15:06:59 +01:00
LuK1337
0aab24e469 sm8150-common: Move WfdCommon boot jar declaration to vendor
Change-Id: I8fa2c0f64692873b432cc252ec88b388a32023a1
2025-10-31 02:55:11 +01:00
Ivan Vecera
f472698d44 sm8150-common: Allow gettid() for atfwd-daemon
Fixes:
E ATFWD-daemon: libminijail[11561]: blocked syscall: gettid
I init    : Service 'vendor.atfwd' (pid 11561) received signal 31
I init : Sending signal 9 to service 'vendor.atfwd' (pid 11561) process
group...

Change-Id: I637c80cd1ce277902ae9dc5309473370a2acea3d
2025-10-31 02:47:22 +01:00
grepfox
a7166e7566 sm8150-common: Migrate to py extract utils
Change-Id: Ia699b544e673bb2ba06aaab7cfb2ed1bec5fc8f7
2025-10-31 02:09:59 +01:00
Sebastiano Barezzi
3838f4adc3 sm8150-common: Unpin patched blobs
Change-Id: I324e40632f6ffe70cde07e8dd5635028fa9bf9ee
2025-10-31 02:04:35 +01:00
Sebastiano Barezzi
f1e3a2d8fe sm8150-common: Align proprietary files list with sm8250-common
Change-Id: I2e19beb24f5e3d6dfa4cfe1ee7711f03d72b3351
2025-10-31 00:45:14 +01:00
Sebastiano Barezzi
4b9b96c690 sm8150-common: Drop ppd
* Nothing starts it

Change-Id: I189e2f5cb139ef7390fc9319f263be17c0bb62c2
2025-10-31 00:29:54 +01:00
grepfox
7709abb6af sm8150-common: Drop duplicate listing in proprietary-files.txt
Change-Id: Icec48aa78b60f8b8580efc2d16d82e7058979698
2025-10-31 00:18:18 +01:00
armdebug
92ca8d90f2 sm8150-common: Update IR guards
- raphael doesn't have an IR

Change-Id: Ie6ce6936e03b5003405973de1413f500c7b60a47
2025-10-30 23:43:40 +01:00
grepfox
fc8b9029b1 sm8150-common: Use Bluetooth service from vayu
* Else FM won't work

Change-Id: I9ea300265f9ea860860710a2cd0a595fd06e3408
2025-10-30 22:38:01 +01:00
armdebug
7576deb400 sm8150-common: Add missing CACert manifest entry
```
I hwservicemanager: getTransport: Cannot find entry
vendor.qti.hardware.cacert@1.0::IService/default in either framework or
device VINTF manifest.
E HidlServiceManagement: Service
vendor.qti.hardware.cacert@1.0::IService/default must be in VINTF
manifest in order to register/get.
E CACERT  : failed to register service
```

Change-Id: I1543395f9dbf37da24ac237d54cc4b326bdd5d28
2025-10-30 22:17:48 +01:00
armdebug
333a012976 sm8150-common: Enable ELF checks for all libwpa_client dependent libs
Change-Id: Ia0b917285e2114f8b37a67d148cb257aefcbd6ce
2025-10-30 15:23:10 +01:00
LuK1337
6fd7e1aa9d sm8150-common: Build libqti_vndfwk_detect.vendor
Before:
audio_hw_extn: spkr_prot_feature_init: Called with feature Enabled,
vendor_enhanced_info 0x0

After:
audio_hw_extn: spkr_prot_feature_init: Called with feature Enabled,
vendor_enhanced_info 0x3

Change-Id: Ie5c33eafc1e0be2eeda8e0a6bbbc3712e32986e9
2025-10-30 14:21:32 +00:00
Michael Bestas
e094abf162 sm8150-common: parts: Convert to SwitchPreferenceCompat
Change-Id: Ic1cbaba37d499da1855af9c3930f2df426e2d3af
2025-10-30 14:21:32 +00:00
Yumi Yukimura
5b332a0a09 sm8150-common: Build QTI Thermal AIDL HAL
Change-Id: I21406af9d90fe6be1402f30e1b19958e4f46eec9
2025-10-30 14:21:32 +00:00
Etan Cohen
4203fc9a20 sm8150-common: Declare WiFi Aware support to WiFi HAL
* The Wi-Fi Aware feature added in Android 8.0 enables
   supporting devices to discover, connect, and range
   (added in Android 9) to one another directly using
   the Wi-Fi Aware protocol without internet or cellular
   network access.

 * This feature, built upon the Wi-Fi Alliance (WFA) Wi-Fi
   Aware specification (versions 2.0 and 3.0), allows easy
   sharing of high-throughput data among trusted devices
   and apps that are otherwise off-network.

   https://source.android.com/devices/tech/connect/wifi-aware

Change-Id: I18ff20e7466b8e8fd598381b730fb7db391e9ad4
Signed-off-by: armdebug <armdebug@protonmail.com>
2025-10-30 14:21:32 +00:00
armdebug
cf6b070be9 sm8150-common: Update CarrierConfig from nabu OS1.0.6.0.TKXMIXM
Change-Id: I8f0b386fb648d44ede70ae860e572128b4245fde
2025-10-30 14:21:32 +00:00
Sebastiano Barezzi
f4ca8d3ff5 sm8150-common: Move to sort-blobs-list shortcut
Change-Id: I6f2fe5ed88f6fd3f9a344720ee5e967e2ff71469
2025-10-30 14:21:32 +00:00
Bruno Martins
b13374df08 sm8150-common: Set UDFPS extension lib via soong config
Change-Id: I8a709bde4843b61420ea1003a749952d2619e2da
2025-10-30 01:17:16 +01:00
Sebastiano Barezzi
66739acd7c sm8150-common: Remove debug.mdpcomp.logs
Unused

Change-Id: I20a6ab0d27c1a80fb0e0e14b742241ac87723c45
2025-10-30 01:17:16 +01:00
chandu078
7273ab18b2 sm8150-common: Drop debug.sf.disable_client_composition_cache
This property disables client composition cache and causes
visible jank. Drop it to restore smoother UI behavior.

Change-Id: I73a73aa415cadd8174c9328d19d692aa7b7bc719
2025-10-30 01:17:16 +01:00
Alex Sarraf
46d272bb86 sm8150-common: Set debug.sf.auto_latch_unsignaled to 0
Need to explicitly set auto_latch_unsignaled property to
disabled state to keep latch-unsignaled as the default
behavior.

Change-Id: I3856caaf0a68e7e720819f25338d1eb9196f56b0
2025-10-30 01:17:16 +01:00
Georg Veichtlbauer
568c010593 sm8150-common: Remove obsolete SurfaceFlinger properties
* debug.sf.hw & debug.egl.hw were removed.

Change-Id: I8d38f3257b5f6b56c0f6b79cf4fb406a47d64af8
2025-10-30 01:17:16 +01:00
Flicker372
0e4cc7ef9b sm8150-common: sepolicy: Use the correct node for leds
- Kona platform uses pm8150 power management chip

thyme:/ # ls
/sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/
c440000.qcom,spmi:qcom,pm8150l@5:qcom,amoled
c440000.qcom,spmi:qcom,pm8150l@5:qcom,pwms@b100 of_node uevent
c440000.qcom,spmi:qcom,pm8150l@5:qcom,leds@d000
c440000.qcom,spmi:qcom,pm8150l@5:qcom,pwms@bc00 power
c440000.qcom,spmi:qcom,pm8150l@5:qcom,leds@d300 driver subsystem

Change-Id: I0071630584f3e3ec38b45304d33a71e58f353f61
2025-10-30 01:17:16 +01:00
Michael Bestas
9c60239ac4 sm8150-common: overlay: Enable battery cycle count
Change-Id: I92bc8363e1c9e2ad54c29a0a30dce992e25f697d
2025-10-30 01:17:16 +01:00
LuK1337
12e4ea632e sm8150-common: Switch to NCM USB tethering
Change-Id: I20b6b2b2e26a45d8b28c7483afc83ad4da4b8643
2025-10-30 01:17:16 +01:00
Michael Bestas
6091145148 sm8150-common: Enable UFFD GC
Kernel has support for it now.

Change-Id: I3863ee71477f321fe47646571b857fdc39a1902b
2025-10-30 01:17:16 +01:00
Lucas Dupin
d5ca9d8ce4 sm8150-common: Enable blurs
Bug: 181092919
Test: manual; performance scripts
Change-Id: I5875a99167e80ddd5b79fc245f988d8a6ac167be
2025-10-30 01:17:16 +01:00
Wang Han
3c8e54c94a sm8150-common: Configure number of physical SIM slots
Needed because of Google commit
42e37234ce

Change-Id: I18c058d295ed2eaf23e8ca5d1f3933b65806ed48
2025-10-30 01:17:16 +01:00
Marc Bourgoin
dd9fea8a37 sm8150-common: Remove time_daemon from init.qcom.rc
It is covered by a self-contained module

Change-Id: I24f5ccab38328a785c4eb4af8005ad37799b8df8
2025-10-30 01:17:16 +01:00
Bruno Martins
7ebd1ba42b sm8150-common: Ditch rild.libpath prop
This is only needed for AOSP rild services. It's currently
unused since the move to QCRIL.

Change-Id: I5eb4d0bc2d086d5a2f29e3c3f5ee2d8f0220f5f5
2025-10-30 01:17:16 +01:00
Nagireddy Annem
cb00ac5ee5 sm8150-common: init: Set permissions to rawdump node
Move permission setting logic from init rc file to ueventd rc file.

Change-Id: I4b94e0e188f8b420a608cc2e0d97e4b960381c31
2025-10-30 01:17:16 +01:00
Bruno Martins
2130793db5 sm8150-common: Drop custom APM flag
Custom audio policy manager is hard disabled by CAF
for 2 years now.

Change-Id: Idd34d1cbbdb735d6cf0de3b159c2670bf7ddd1e3
2025-10-30 01:17:15 +01:00
Michael Bestas
cdcf966ed8 sm8150-common: sepolicy: Remove duplicate rules
These already exist in device/qcom/sepolicy_vndr/legacy-um

Change-Id: I517edee45bfa7708b2e24055d9b0f8c0b3dbc5c4
2025-10-30 01:17:15 +01:00
David Sehr
244d602cd3 sm8150-common: Enable usage of dex2oat64
Use 64-bit dex2oat for better dexopt time.

Bug: 153380900
Test: boot and install an application
Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
(cherry picked from commit 126f03be80f57a8a0411842011152d9381589b78)
Merged-In: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
2025-10-30 01:17:15 +01:00
Nolen Johnson
438fdeff21 sm8150-common: Don't declare BOARD_VENDOR
* Only matters when it differs from the device OEM.

Change-Id: Id9af8263cb42dc7a0e3a9ce8677385e224910302
2025-10-30 01:17:15 +01:00
Edgar Arriaga
6e6dd0c756 sm8150-common: Set default pin amount for home app
Bug: 288900050
Test: dumpsys pinner
Flag: EXEMPT refactor

Change-Id: I87e15ec968f59acd65e3d4bc80d1bad08704bc53
2025-10-30 01:17:15 +01:00
Michael Bestas
90e3f5408e sm8150-common: Remove deprecated config_mobile_tcp_buffers/networkAttributes
Change-Id: Ieda947e283cde11cf74a01dc1b438e1deeb902c9
2025-10-30 01:17:15 +01:00
Lorenzo Colitti
d5773b5df3 sm8150-common: Delete dhcpcd init entries, since dhcpcd is no more.
Bug: 27192644
Change-Id: I1aa25190c07f027884421d91c1e93f214493382d
2025-10-29 23:09:48 +01:00
Ethan Chen
c2fc742fe9 sm8150-common: Remove wigig components
Change-Id: If730bffdf749f30ddf0dfeec8ce769848b19b17e
2025-10-29 23:09:47 +01:00