Commit Graph

1166 Commits

Author SHA1 Message Date
Sugakesshaa 8552c6b768 sm8150-common: DolbyManager: Rework supported profiles
correct DAP_PARAM_VALUE while at it which fixes dolby presets

Change-Id: Ic4096b2498353b65e5e38bc5bd88bf84b9c7cc39
2024-09-12 20:48:12 +05:30
Fabian Leutenegger e50c75099f sm8150-common: DolbyManager: Always refresh playback is status changed
otherwise dolby would stay active even if you disable its setting

Change-Id: Ibaacf6286997368be03b116feea914442c914451
2024-09-12 20:48:12 +05:30
Omkar Chandorkar 31df8c55a1 sm8150-common: Introduce Dolby Atmos support
Change-Id: I1a8fc93be075490337de558b603f54fa74e13c46
2024-09-12 20:48:12 +05:30
Adithya R 9659df389f sm8150-common: Introduce DolbyManager
- Converted Xiaomi dirac implementation based on observing
  Xiaomi sound effects app and daxservice.
- Thanks to jhenrique09 for the hack from Xiaomi dirac parts
  "Pause/play music stream to get effects applied".

Change-Id: I23f78ada3ea8fbb17cb9dd715b2b65f0f51feb36
Co-authored-by: Henrique Silva <jhenrique09.mcz@hotmail.com>
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
2024-09-12 20:48:12 +05:30
Cyber Knight f04d926192 sm8150-common: Build KProfiles
- Inherit KProfiles.
- Address sepolicy.
- Define sysfs_kprofiles as a domain.
- Fix permission of nodes relevant to KProfiles at boot.

Signed-off-by: Cyber Knight <cyberknight755@gmail.com>

kprofiles/interfaces: update for staging branch
2024-09-12 20:48:12 +05:30
John Galt 4874d4b6db sm8150-common: OpenDelta:make dex2oat go fast
Make ota updater go a bit faster.
2024-08-10 03:12:36 +05:30
Ido Ben-Hur 8fdfa0e45d sm8150-common: OpenDelta: Support A/B perf mode
fix
2024-08-10 03:12:36 +05:30
LiMee233 9197b76f8d sm8150-common: overlay: Optimize auto brightness adjustment
* Make auto brightness more stable, prevent the brightness from
  jittering repeatedly in dim environment.

Change-Id: I040ad9d0faa3b8a7c0294e8001de0fe14c29561d
2024-08-10 03:12:36 +05:30
John Galt b98a179030 sepolicy/camera: support Laser AF
Stock uses same.
2024-08-10 03:12:36 +05:30
TimoDo 80e3058138 common: Allow Aperture to access AUX cameras
Change-Id: If05c761e98f9748fa19c63338803d478e9b54dcb

Also Extend support for .dev app
2024-08-10 03:12:36 +05:30
fazilsheik96 f07c0cdf56
sepolicy: Move common bt a2dp label to qcom/common
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2024-03-16 13:00:27 +08:00
ShevT 9ec9aec4b0
AlsCorrection: The default max_brightness is the same as in the kernel
# cat /sys/class/backlight/panel0-backlight/max_brightness
 2047

Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2024-03-16 12:48:53 +08:00
Cyber Knight 6a138aad89
sm8150-common: configs: vintf: Remove IOP hidl entry
- IOP has been phased out in favor of Preferred Apps.

Change-Id: Icb778569cba1c8ed93312e9a822285168add8fa6
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2024-03-16 12:46:54 +08:00
Cyber Knight 6172ed7e6d
sm8150-common: Deduplicate common overlays
- This makes the overlays cleaner now.

Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2024-03-16 11:56:59 +08:00
Jake Weinstein 65b1c447f7
sm8150-common: Move overlays back to ODM
This reverts commit 8340be6c44.

Reason for revert: No longer needed due to 0196fcb7dd

Change-Id: Ifce5ddce8a6d065baf8e3877f372838928f3bb49
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2024-03-16 11:34:50 +08:00
Sebastiano Barezzi b7b03d1f96
sm8150-common: Keep building health HIDL interface lib in vendor
* Prebuilt GNSS needs it

Change-Id: Id2e1b2844d195d41fc67a0224e0dc39573f7702e
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2024-03-02 02:37:10 +08:00
Cyber Knight b03b779c7a
sm8150-common: Build QTI health AIDL service to recovery partition
- It is only built for the 7T series that launched with Dynamic Partitions.

Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2024-03-02 02:35:07 +08:00
Bruno Martins 70d57b4b28
sm8150-common: Move to QTI health AIDL service
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.

Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
Signed-off-by: BladeRunner-A2C <john.smith@unused.email>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2024-03-02 02:19:04 +08:00
Luofan Chen 822666b45a
sm8150-common: Import QCC system_ext blobs from LA.QSSI.14.0.r1-12000-qssi.0
Makes the QTI GNSS service happy. Thanks luca020400 for the help.

Change-Id: I6de25b0b3fde6cce3a6cdf95f31c68734d429956
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2024-02-25 17:19:04 +08:00
Cyber Knight 313604d2cf
sm8150-common: Import qcc-trd and init.qdmastats.rc for QCC
- These are imported from LA.UM.9.1.r1-13700-SMxxx0.QSSI13.0

Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2024-02-25 17:19:00 +08:00
Omkar Chandorkar 544b0fc165
sm8150-common: Import some media profiles from stock
- should set appropriate bitrate on camera
- will use to load dolby codecs

Change-Id: I47ee3fbaf45b2b72f7b7e7a348795383f14b17dd
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
[cyberknight777: Reorder proprietary files listing.]
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2024-02-23 17:19:53 +08:00
Timo Dorfner c2d4fa1152 sm8150-common: overlay: Disable pocket mode again
Change-Id: Icc635a1a97ca3e81710d20415373a3c9c85b7f16
2024-02-08 19:26:13 +00:00
Vishal Cj 9dda328ae1 sm8150-common: overlay: Use AOSP overlay for volume panel location
Change-Id: I62a7bdb4bb9b77a8122a12dd3570676e5d94f8ee
2024-01-05 05:41:19 +01:00
Cyber Knight d8068f358d
sm8150-common: Pin new QCRIL blobs from LA.UM.9.1.r1-13700-SMxxx0.QSSI13.0
- These are needed to fix RIL.

Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-12-03 00:42:15 +08:00
Cyber Knight 25a2541744
sm8150-common: Update blobs from LA.UM.9.1.r1-13700-SMxxx0.QSSI13.0
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-12-03 00:42:11 +08:00
Cyber Knight df94a0517f sm8150-common: Reorder listing with reorder-libs.py
- This should make it look cleaner.

Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-11-27 19:49:17 +01:00
Omkar Chandorkar f0680c12c9 sm8150-common: remove unused hta nnapi blob
- isn't used due to removal of qti nn hta vintf at dc6996769b (diff-05b699c47a2ae1e03e4cd94f7e8226a7514ca410d79badf937f5efa1200c9fe7L534)
- fix blob source

Change-Id: I82ae02f5fac27e27a87f30e7d96c616f4e1c1690
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2023-11-27 19:48:58 +01:00
Arian 09ad13a782 sm8150-common: Build Lineage Health HAL 2023-11-22 07:12:47 +01:00
TimoDo c67477c5a8 sm8150-common: vintf: remove perf entry 2023-11-22 04:37:09 +01:00
Simão Gomes Viana b77c99e324 sensors: adapt to Android 14
getInternalDisplayToken was removed from Android U, so we need to do
things it was doing ourselves.

Additionally, the field fence does not longer exist in
ScreenCaptureResult so instead we need to use the replacement.

Change-Id: I0c1cafeeb58316f448a67ed4ebffcc70bc9ae428
2023-11-06 20:22:02 +01:00
TimoDo 8340be6c44 sm8150-common: overlay: move overlays to product
Change-Id: I89c9e58df1422a57ba44aba22b3c6c1778bf0a54
2023-11-06 20:22:00 +01:00
TimoDo 871d3919af sm8150-common: opt out of CUSTOM_LLVM
Change-Id: I5ae9630aedc0d1195e6517c7a0921bc2f8c75850
2023-11-06 20:21:59 +01:00
orges 2872192ac1 init: set correct {up,down}rate_limit_us for msmnile
Change-Id: I3f025e7f03aafa22f2bce9d60f3cd85c460bfe41
2023-11-06 20:21:57 +01:00
TimoDo 5bfd8472dc sm8150-common: drop TUI stuff
Change-Id: If27426a58e863f6ea0d281501ef152e24ebd93f8
2023-11-06 20:21:55 +01:00
TimoDo 857f2b99ac sm8150-common: update camera.device sha1
Change-Id: I4f6989b9fb1e0c630797183bf52f88e7c6bac9cd
2023-11-06 20:21:51 +01:00
TimoDo 87eff69cb5 sm8150-common: don't start msm_irqbalance
Change-Id: I9e5fa6c7877053317dea046dde9e5cf7c4c81cbc
2023-11-06 20:21:48 +01:00
chrisl7 7c0e91a599 common: switch to full AIDL WiFi
Change-Id: If260ae185af214223fb2286cda5f2bf2e4757111
2023-11-06 20:21:46 +01:00
TimoDo 07364f3ef9 sm8150-common: manifest: drop android.hardware.boot
"getDeviceHalManifest: -2147483648 VINTF parse error: Cannot add manifest fragment /vendor/etc/vintf/manifest/android.hardware.boot@1.2.xml: HAL "android.hardware.boot" has a conflict: Conflicting FqInstance: @1.0::IBootControl/default (from /vendor/etc/vintf/manifest.xml) vs. @1.2::IBootControl/default (from /vendor/etc/vintf/manifest/android.hardware.boot@1.2.xml). Check whether or not multiple modules providing the same HAL are installed."

Change-Id: I19e6f8839290145cf1fa77f2b5e4ffe872cce026
2023-11-06 20:21:40 +01:00
Omkar Chandorkar 33fc24c49f sm8150-common: Initial support for MDM modem
Change-Id: I414a8e2350f8e3af1088cd2d345ef31c17600455
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-10-16 04:43:31 +02:00
Cyber Knight 934f5dfbb8 sm8150-common: Fix typo in proprietary-files.txt
- Might've gone unnoticed during blob update.

Change-Id: Ie883ed283fc0b83b8c0395a3a116420f68ab294f
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-10-16 04:43:31 +02:00
Cyber Knight 5713504caa sm8150-common: Override multisim config for oneplus7tpronr
- As oneplus7tpronr is single-sim only;
- This prop has to be set to ssss.

Change-Id: I41e0639b9f581c69781b7a2224218276cc714483
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-10-16 04:43:31 +02:00
Cyber Knight f18da88ed8 sm8150-common: Add support for oneplus7tpronr
- This adds oneplus7tpronr as a build target aswell.

Change-Id: I92dad8eac9b8b6bcab20bf9a35288a1d6da79f6a
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-10-16 04:43:25 +02:00
John Galt c3b98fe304 sm8150-common: overlay: sepolicy: switch to new interface
Use new CSC implementation of DC Dimming with per-panel dc dimming luts.

Change-Id: I4b8455551cddbd656af17d7a01227deb438489cd
2023-10-16 04:43:16 +02:00
TimoDo db98a8dbba sm8150-common: BC: We support full LLVM
* This depends on https://gerrit.aospa.co/c/AOSPA/android_kernel_build/+/32292

Change-Id: Id14eed10480cf2e0687da3b01e06f8029488c012
2023-10-16 04:43:16 +02:00
Ido Ben-Hur 3773fc7973 sm8150-common: overlay: Kill Color Inversion
New kernel switches udfps to CSC, which doesn't work with CI

Change-Id: I69037677590647ac3a8f42cc84a5ce0ec3fcc7f8
2023-10-16 04:43:16 +02:00
Cyber Knight f65497a974 sm8150-common: Support Single Tap Sensor
Change-Id: I92bf77d402d8ee0f569fdefba5a494ea92533b04
2023-10-16 04:43:16 +02:00
John Galt 0560824f5f sm8150-common: Support doze double tap sensor
Change-Id: Iccfe562cb42dae7d6d84e36251e317a7d87cc484
2023-10-16 04:43:16 +02:00
John Galt a38353afec sm8150-common: Drop legacy power hal double tap to wake
We will no longer support legacy power hal double tap node, only the modern double tap sensor.

Change-Id: Ie218975274dbbae013189296bb3d1081a34de81a
2023-10-16 04:43:16 +02:00
TimoDo 85a9947399 sm8150-common: init: keep comment style consistent
Change-Id: I9eecd6d0c58856d4da43663c11b772cc83d0da9f
2023-10-16 04:43:02 +02:00
TimoDo 8f8ca42a78 sm8150-common: drop alarm manifest entry
Change-Id: Ib213a36c8ec4757d84ac17526eb36d75c62fc27a
2023-09-18 18:31:16 +02:00