Commit graph

192 commits

Author SHA1 Message Date
Dhina17
acf4649586 sm8350-common: Implement torch light control
[RealJohnGalt: Modify for oneplus usage and add toggle switch]
[cyberknight777/ralph950412: Adapt nodes and SEPolicy for Xiaomi SM8350]
[Hexdare: Adapt nodes and SEPolicy for Haydn]

Change-Id: Icd32d1f6aedb55462c9df4d7cc63a2a4c4e4263e
Signed-off-by: ralph950412 <ralph950412@gmail.com>
Signed-off-by: Hexdare <mohammedasimuddin786@gmail.com>
2025-04-07 23:44:04 +00:00
New Author Name
9d295d35ba sm8350-common: Include Moto Dolby Atmos
* Using dolby from: https://github.com/swiitch-OFF-Lab/hardware_dolby
* dolby: Add mediacodecs support (Useful for Apple Music)

Signed-off-by: swiitchOFF <120115258+swiitchOFF@users.noreply.github.com>
Co-Authored-By: HELLBOY017 <abhaygill017@gmail.com>
Co-Authored-By: Pranav Vashi <neobuddy89@gmail.com>
2025-04-07 22:48:53 +00:00
Peng Xu
c5e068278b sm8350-common: wifi: Enable support for IEEE80211AX
* This is to allow supporting WiFi 6 mobile hotspots,
   to be noted this is only supported on SDM855+ platforms.
2025-04-07 22:48:53 +00:00
Mahesh Palivela
eb81eb49d6 sm8350-common: Enable support for IEEE80211AC
* This is to allow supporting GO with 11AC support.

Change-Id: I08793eaa6295c5cfe5ac11eeee2f92213af78844
2025-04-07 22:48:53 +00:00
Anand
083c4662b5 sm8350-common: wifi: Enable automatic channel selection
* Automatic Channel Selection algorithms and implementations
   are used to enable interfaces to automatically figure
   out which channel configuration to use for initiating
   communication, for any mode of operation which initiates
   radiation (AP, Mesh, IBSS, P2P).

   https://wireless.wiki.kernel.org/en/users/documentation/acs
2025-04-07 22:48:53 +00:00
Kuba Wojciechowski
46e2f74abf sm8350-common: Disable kpti
* As per qualcomm - "SM8150/SM8250/SM8350/SM7250/SM7150/SM6150 - KPTI Not
required".
* It can also help increase performance by a lot in some scenarios.
2025-04-07 22:48:53 +00:00
Danny Lin
a6821e0211 sm8350-common: Use armv8-2a for 2nd arch variant
Fixes error:
Incorrect TARGET_2ND_ARCH_VARIANT, armv8-a. Use armv8-2a instead
2025-04-07 22:15:48 +00:00
Danny Lin
6ec7d9a895 sm8350-common: Optimize native executables for Cortex-A76 CPU
* Allow the compiler to take advantage of ARMv8.2 extensions
   to improve performance in native executables, not
   just Java code compiled by ART.

Change-Id: Idd3414de107f47a18c2769dc930e6c4bceacdc62
2025-04-07 21:53:10 +00:00
Adithya R
4e2357c35e sm8350-common: Switch to dot product CPU variant
* lisa:/ $ cat /proc/cpuinfo | grep -m 1 Features
   Features: fp asimd evtstrm aes pmull sha1 sha2 crc32
   atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp

 * From this, it's evident that our CPU (Snapdragon 888)
   supports all the features of ARMv8.2-DotProd [1].
   Moreover AOSP sets this arch variant in their generic
   cortex-a55 ART target as well [2]. This should unlock
   some optimizations in different code paths.

[1]:
https://en.wikichip.org/wiki/arm/armv8#ARMv8_Extensions_and_Processor_Features
[2]:
https://android.googlesource.com/device/generic/art/+/refs/heads/master/armv8_cortex_a55/BoardConfig.mk#23

Change-Id: I484bb2bcc181c62e29c04bc6e467e5edea8ac0d8
2025-04-07 21:52:59 +00:00
basamaryan
163777f564
sm8350-common: Don't explicitly set as an AB target
AB is the default

Change-Id: I93346d29da38405bf571f138ae905d67966c1f9c
2025-04-01 08:44:40 +02:00
basamaryan
1525a08736
sm8350-common: Use the common Xiaomi FCM
Change-Id: I0ca395bc5c23c26e1546d3dd1839592530cc0e3f
2025-04-01 08:44:39 +02:00
Bruno Martins
e505b0bd25
sm8350-common: Inherit from QTI FCM
Change-Id: I0bdd4d63b60a1e29cdd69e71f7268932a105c16b
2025-04-01 08:44:39 +02:00
Bruno Martins
f02a3ab3e6
sm8350-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2025-04-01 08:44:39 +02:00
Luofan Chen
b137ababef
sm8350-common: Remove quotes in TARGET_RECOVERY_PIXEL_FORMAT
Change-Id: Ic400a47f0b4b8d2884082b99df3fe2e09c9438f6
2024-12-29 10:50:14 +01:00
Michael Bestas
d83f0f37bd
sm8350-common: gps: Convert remaining Android.mk to bp
Change-Id: I75e6af92795fe755a48557aa06106406b14c6750
2024-12-29 09:27:25 +01:00
Giovanni Ricca
8944f56aa8
sm8350-common: Update blobs from haydn V816.0.11.0.UKKMIXM
Change-Id: Iff0b30220a8feefb163ae2502eba7aab1b88087c
2024-12-29 09:27:24 +01:00
Aaron Kling
a61c4fe556 sm8350-common: Remove elf files in copy files check
New extract files uses packages instead of copy files

Change-Id: I337c07d13bd350958d4808e1693cc6e03753a96c
2024-09-30 03:56:32 +08:00
AdarshGrewal
94686364bb sm8350-common: Update blobs from haydn V816.0.6.0.UKKMIXM
Change-Id: I0a3666c7354a45e570654cb2253a070c9e7596a6
2024-09-29 05:42:27 +08:00
Sebastiano Barezzi
4e4a00634b sm8350-common: Drop SDM LiveDisplay service
* We switched to AOSP colors so messing with color calibration will
  confuse QDCM

Change-Id: Ia22c4c06e922d1b7f9c60b257299634333cc3fe4
2024-09-06 13:37:18 +00:00
FlowerSea0208
0ced5f6337 sm8350-common: Switch to common lineage Powershare hal
Change-Id: Iadddff9dbe9cf86e8510ddae165ddb04bcabe01d
2024-09-01 13:51:08 +00:00
Bruno Martins
6cffdc06c9 sm8350-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qualcomm targets can now build hermetic partitions.

Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-09-01 12:23:19 +02:00
Giovanni Ricca
69bfa64a72 sm8350-common: Update blobs to haydn V816.0.1.0.UKKCNXM
Change-Id: I0679f0d96977957c38e55b9998fc059dfd41f07b
2024-05-20 18:02:56 +02:00
Cole Faust
917686a74b sm8350-common: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Floral has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2024-05-20 18:02:56 +02:00
Michael Bestas
662a3fa088
sm8350-common: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2024-04-17 15:46:36 +02:00
Michael Bestas
d064ac4a31 sm8350-common: Switch to common QTI vibrator HAL
Change-Id: I281c6d993901ad86592d43afcac2171840998738
2024-01-11 15:44:15 +01:00
Bruno Martins
89bec86297 sm8350-common: Migrate to restructured sepolicy_vndr
The new folder structure now looks like this:

  device/qcom/sepolicy_vndr
  ├─ legacy-um (meant for sdm845 until sm8350)
  ├─ sm8450
  └─ sm8550

Change-Id: I4ed1a06af779909d64172da294c4a99a3ae9ba0d
2023-10-28 23:43:10 +08:00
Arian
2ed616667b fixup! sm8350-common: Configure common Powershare HIDL
Change-Id: Ic720909c803c20aaec72dae9b25ed2070b144f9d
2023-08-21 15:09:10 +02:00
LuK1337
b042c893a5 sm8350-common: Include vendor/debugfs.config
This disables the following kernel configs:
* CONFIG_DEBUG_FS
* CONFIG_PAGE_OWNER

Change-Id: Idbf74e3dee4dccff4708462271e79374e28449ae
2023-08-21 15:07:50 +02:00
Michael Bestas
22f550f593 sm8350-common: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2023-08-21 15:07:42 +02:00
FlowerSea0208
afa2607ddd sm8350-common: Configure common Powershare HIDL
Change-Id: I1287d066eca7d1a274b491f80166ed68c5b11459
2023-08-12 16:52:07 +08:00
FlowerSea0208
00327ecb3a sm8350-common: Make the value of screen density overridable
Looks too small on some devices

Change-Id: I0accc5fdd0ad4cb0b466e226cfc9ec4bc96a66d4
2023-08-10 00:01:27 +08:00
Bruno Martins
e86ecfdac5 sm8350-common: Unset DEXPREOPT_GENERATE_APEX_IMAGE
This was missed in commit Ib2cea88499cf08274d620d9d85ffcafc31fee868.

Change-Id: I8a130456021da1532279c3f0ac0ca0110e68b9b4
2023-04-16 17:49:30 +02:00
Bruno Martins
1ee719bb6d sm8350-common: Drop custom APM flag along with no-op audio flags
Custom audio policy manager is hard disabled by CAF
for 2 years now. Remove as well the audio feature flags
that were used to configure it.

Change-Id: Idd34d1cbbdb735d6cf0de3b159c2670bf7ddd1e3
2023-04-16 17:43:25 +02:00
AdarshGrewal
7f3d4cc88d sm8350-common: Update from haydn V14.0.3.0.TKKMIXM
Change-Id: I319efc1d4ae76192c8314b37b65db72cdfb1ba04
2023-04-16 17:43:25 +02:00
Alexander Koskovich
286b0959a9 sm8350-common: Move BT profiles props to vendor
* Makes it GSI compatible

Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2023-03-19 17:12:27 +01:00
Sal Savage
5a1ee9c5fa sm8350-common: Enable bluetooth profiles with product.prop
Bug: 217448211
Test: make -j
Change-Id: Idd7e52b7822915ed61299f1c0b29bf87ca0339fe
2023-03-19 17:12:27 +01:00
Michael Bestas
e44aac4ba2 sm8350-common: Remove bdroid_buildcfg.h
As of I3c7aed1bdb45db728d319f7d757400e44d232283 the Bluetooth stack
defaults to reasonable defaults that should work for all devices.

Change-Id: I056d63c4c8a2727e384172e964dc0000b6773504
2023-03-19 17:12:27 +01:00
AdarshGrewal
a1cf0b5981 Revert "sm6250-common: Switch to QTI bt stack"
This reverts commit 14509d9e2f.

Change-Id: Ibb4d42d067c0ce1e45e8000cd8224d11b58c6c3a
2023-03-19 16:59:44 +01:00
Michael Bestas
8a4059e02e sm8350-common: Compile the kernel without GCC
Change-Id: I882c0d8600f88c1bb939c7ee247230ec5e70338a
2023-03-05 10:01:37 +05:30
Edwin Moquete
d141088910 sm8350-common: Switch to legacy sepolicy_vndr
Change-Id: I13229c3057bf32c81b0fdace075f0791cb8ad380
2023-03-05 10:01:27 +05:30
Giovanni Ricca
91909d8cea sm8350-common: Update blobs to haydn V13.0.4.0.SKKMIXM
Change-Id: I1960beab441ef320c00994cab150a4ef7a40b212
2022-12-31 14:30:20 +01:00
Bruno Martins
7469b72e89 sm8350-common: Blob out audio HAL extensions
These targets are using prebuilt audio HAL and for some reason,
using the source-built liba2dpoffload breaks A2DP. Just use
prebuilt HAL extensions to avoid mismatches.
Build libtinycompress explicitly as that was built implicitly as
dependency of the audio HAL extensions previously.

Change-Id: I37a5601afdbfdcb81a1053b366fad79fadf4eaa7
2022-09-26 17:12:40 +02:00
Giovanni Ricca
42b801c2e4 sm8530-common: Switch to fragmented defconfigs
Change-Id: I5c3a7c41a9764221a2872830abf078ecc2cdf192
2022-09-26 17:12:40 +02:00
Alexander Koskovich
8bd2080cc3 sm8350-common: Switch to /vendor_dlkm for kernel modules
* This lets us flash /vendor regardless of the kernel situation.

Change-Id: Ie1c18354b26006e416d06474f5844ceef3cfbaf3
2022-09-26 17:12:40 +02:00
Giovanni Ricca
9ff3970ef0 sm8350-common: Update blobs to haydn V13.0.3.0.SKKMIXM
Change-Id: Id056ba050d88849d5bdd56b0e40d0f1f4b67b6c2
2022-09-26 17:11:57 +02:00
Bruno Martins
16a45dcda2 sm6150-common: Move to common fingerprint HIDL
Change-Id: I7cb0a45c865d9dbfd800b1d633f8d5ae613bb1b9
2022-09-25 20:04:30 +02:00
Alexander Koskovich
b98097ff80 sm8350-common: Move DTC_EXT definition to vendor/lineage
Change-Id: I452ec4dabfd6abf052f020fe48527403df873f5f
2022-09-25 20:04:30 +02:00
Alexander Koskovich
5b6287a401 sm8350-common: Move LLVM=1 and LLVM_IAS=1 to BoardConfigKernel
Change-Id: I994ed59207aaad159d8f5363be21a0a1357374e6
2022-09-25 20:04:30 +02:00
Sebastiano Barezzi
2c89c465c5 sm8350-common: Drop QTI camera device usage
* qcom-camera topic hasn't been ported to 19.1
* Keep building vendor.qti.hardware.camera.device@1.0 interface lib, IMS stack and possibly camera HAL still needs it

Change-Id: I87bcd5b54ad986d5844df50de243fc1a18507198
2022-09-25 20:04:30 +02:00
Georg Veichtlbauer
0ec2d73850 sm8350-common: Remove CLANG compile flag
Defaults to true now project-wide.

Change-Id: I1e0ff5adadc889d81c90c816457a72d2621e4b5a
2022-09-25 20:04:30 +02:00