Commit graph

248 commits

Author SHA1 Message Date
995cbb083d Revert "sdm660-common: build kernel with clang 14.0.7"
This reverts commit 952c7d9cf1.
2024-08-03 11:50:15 +03:00
pix106
1a1708430d Revert "sdm660-common: Use the common device compatibility matrix from QCOM"
This reverts commit 493d3edf2dd09a6681735cac2634736cbfbecd38.
2024-08-03 09:13:53 +03:00
Michael Bestas
79debef800 sdm660-common: Use LLVM binutils by default in source
* GCC has been completely removed in AOSP but we keep it
      for compatibility reasons with older kernels until they
      are adapted to remove all the dependencies to GCC.
* Most updated 4.19+ kernels should be able to use LLVM
      binutils out of the box. 4.14 is possible with a few patches
      and 4.9 with even more patches.
* Make this the default and allow devices opting out by using
      TARGET_KERNEL_LLVM_BINUTILS := false

Change-Id: I569cf290b41aaf2dc16ff9cc4cc6dc461f0d504e
2024-08-03 09:12:37 +03:00
pix106
952c7d9cf1 sdm660-common: build kernel with clang 14.0.7
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-08-03 09:12:26 +03:00
Bruno Martins
47bc940428 sdm660-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-08-03 09:07:16 +03:00
Alcatraz323
42ee12ead5 sdm660-common: set TARGET_USES_VULKAN false
* aosp made this default true on Android 15, mark it false now for future
2024-05-10 14:02:24 +03:00
Minchan Kim
ee99b60a37
sdm660-common: Enable zram writeback job scheduler
Bug: 140882488
Change-Id: I5489a7ce7a8d73306a6ecf69f57d338b2b0eaad2
Signed-off-by: Minchan Kim <minchan@google.com>
2024-02-09 09:53:51 +02:00
Nolen Johnson
319eec3cee sdm660-common: Drop unecessary Bluetooth flags
* BOARD_HAVE_BLUETOOTH is uneeded.
* BOARD_HAVE_BLUETOOTH_QCOM is only important if
  you build libbt-vendor which we don't.

Change-Id: Ib0465b3c0d5138a70cee6a3c3d5f08dd7ce9aa57
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:19:23 +01:00
pix106
bbe91ca79d sdm660-common: drop TARGET_USES_GRALLOC1 2024-01-14 17:18:17 +01:00
pix106
bfa61a3f25 sdm660-common: Cleanup duplicated build recipe & sepolicy 2024-01-14 17:18:17 +01:00
Alcatraz323
f6eb32a92c sdm660-common: clear properties, clear BoardConfig, update surface api properties
* kill not exist debug.media.codec2
* replace NUM_FRAMEBUFFER_SURFACE_BUFFERS with properties

Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:18:17 +01:00
pix106
48043e85f1 sdm660-common: commonize BOARD_VENDOR_PLATFORM 2023-09-15 20:53:17 +02:00
pix106
03c297e53d sdm660-common: commonize releasetools 2023-08-22 08:45:13 +02:00
pix106
3ae97bde94 sdm660-common: decommonize camera flags 2023-08-22 08:44:53 +02:00
1582130940
6f376a1348 sdm660-common: manifest: Add FCM to enforce vintf check
* added wifidisplay, sensormanager, fingerprint, wifi, camera, power(up rev) interface
* removed not existed vendor.qti.hardware.perf in manifest

Co-authored-by: Alcatraz323 <alcatraz32323@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
klozz
a14ab3ee8e sdm660-common: use LZ4 ramdisk
Signed-off-by: klozz <carlosj@klozz.dev>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-06-24 08:20:03 +02:00
pix106
6cecdfb6d3 Revert "sdm660-common: apex: Generate APEX image"
This reverts commit 1c6b82775f.
2023-06-24 08:20:03 +02:00
pix106
63d19fc065 Revert "sdm660-common: Flatten APEXes if updatable APEX is not present"
This reverts commit 256827eaf3.
2023-06-24 08:20:03 +02:00
Immanuel Raj
4cc5a3e964 sdm660-common: Remove flags already defined in rom's vendor
Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-06-24 08:20:03 +02:00
Sabar
ea2f9d0e1d sdm660-common: Don't guard CACHEIMAGE file system
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-20 08:12:52 +02:00
johnmart19
e0eafa9e48 sdm660-common: Switch to SkiaGL Threaded
- SkiaVK works, in some cases HwUI works better, but mostly shuttery and microlags, so let's go for SkiaGL Threaded

Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-20 08:12:52 +02:00
pix106
5c287da296 sdm660-common: build scudo-free 32-bit libc variant
This reverts commit 64f098356b.
2023-05-09 06:36:23 +02:00
Bruno Martins
305c24f51b sdm660-common: BoardConfig: Sync boot image header with stock
Pass proper boot image header version and at the same time
ditch defaults.

Change-Id: If0345731ab8edc9a7f4c2c506e3748833d6dd076
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
Bruno Martins
9aa514c54e sdm660-common: BoardConfig: Drop custom APM flag
Custom audio policy manager is hard disabled by CAF
for 2 years now.

Change-Id: Idd34d1cbbdb735d6cf0de3b159c2670bf7ddd1e3
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
Alcatraz323
a0cfb3bcf4 sdm660-common: use BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE
* BOARD_SYSTEMIMAGE_PARTITION_TYPE is not exist and useless for file system selection
* use BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE is the correct way

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-01 20:35:06 +02:00
pix106
abf02f8d4a Revert "sdm660-common: use clang 12.0.5"
This reverts commit d60b8e6a14.
2023-03-20 07:07:36 +01:00
pix106
71b54e4a08 Revert "sdm660-common: Build missing required modules"
This reverts commit da423f515e.
2023-02-25 23:14:58 +01:00
pix106
051a66151b Revert "sdm660-common: Relax sysprop owner enforcement"
This reverts commit e0adc52cce.
2023-02-25 23:14:58 +01:00
pix106
481805fbc4 Revert "sdm660-common: set RELAX_USES_LIBRARY_CHECK true"
This reverts commit d6024e9fa9.
2023-02-25 23:14:58 +01:00
pix106
3d880c2850 Revert "sdm660-common: Enable legacy _platform compatibility"
This reverts commit 3ebb2cfa75.
2023-01-24 19:36:03 +01:00
pix106
64f098356b Revert "sdm660-common: build scudo-free 32-bit libc variant"
This reverts commit 225e4c510a.
2023-01-13 20:23:19 +01:00
Kunmun
2cf5718249 sdm660-common: audio: Import configs from LA.UM.10.2.1.r1-03400-sdm660.0
• Override some properties
• Import minimal device specific changes for lavender

Change-Id: Iacfc1d97928935a57f76d276dbab8761138bf0e5
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:27 +01:00
pix106
b8266fd9c6 sdm660-common: build Face Unlock 2023-01-04 06:53:43 +01:00
pix106
0fcf8ea137 Revert "sdm660-common: Migrate to Xiaomi power AIDL HAL"
Revert "sdm660-common: rootdir: Clean part of Unexported properties"
Revert "sdm660-common: power-libperfmgr: Reduce GPU idle timer to 64ms"
2023-01-04 06:23:14 +01:00
Bruno Martins
71c49fcc8c sdm660-common: Migrate to Xiaomi power AIDL HAL
Change-Id: I42170d51a517170b58d532addd9c38496e43457c

jasmine_sprout: Remove QTI perfd

Bug: 69270928
Test: Build and boot device and test camera
Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4

jasmine_sprout: Declare BOARD_VENDOR

* Needed for xiaomi-perfmgr power AIDL guards

Change-Id: Idbb48e0f9b01090a456ad5d3f2d51f4dfab55672

jasmine_sprout: Create dummy libqti-perfd-client

* proprietary perfd blobs can finally be nuked without breaking goodix
* we could even map the functions to use libperfmgr powerhints in the future

[SebaUbuntu]: Cleanup Android.bp and add copyright header

Change-Id: I124652f3041761966a3e3bd97c757fecc39cc5fb

jasmine_sprout: libqti-perfd-client: Remove namespace declaration

It's pointless when using extern "C".

Change-Id: Ibdf9f06a70aa3a75687b33781c78cf2172bb334d

jasmine_sprout: libqti-perfd-client: return a dummy value

Return a positive integer for perf lock acquire and release so
that Goodix/FPC fingerprint sensor blobs will not complain.

Goodix:
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_acquire: Failed to acquire perf lock, err: 0
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_release: Perf lock release error 0

FPC:
E fpc_tac : fpc_perf_lock_acquire: Incorrect params, Failed to acquire perf lock, err
E fpc_tac : fpc_perf_lock_release: Perf lock release error 0

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I861672e9a738c2204755d802670f4b28b662f286

jasmine_sprout: libqti-perfd-client: Move to C

* Why bothering with C++ mangling when we can just build it as a standard C library?

Change-Id: I45ea977edf7ea7fab6fece76f3049654a8d24c5d

jasmine_sprout: Add powerhint.json jasmine

Change-Id: If270fc906fd833bb6b0d3b00621c0b079346e47d

jasmine_sprout: rootdir: Initial libperfmgr init config

* From coral, heavily stripped down

Change-Id: Ib6846e4f4f23baf56910d2330e26846b99830218

jasmine_sprout: sepolicy: Initial libperfmgr sepolicy

Change-Id: I3d0a259bc89b4ecd0bf1632199172710d98230e0

jasmine_sprout: Don't explicitly build older minor version HIDL libs

Change-Id: Ib0caa49054a79b1f01ffc751826286a29c642e06

jasmine_sprout: Remove QTI perf reminants

jasmine_sprout: Add back ro.vendor.extension_library definition

 * We aren't using QCOM's perfd but our blobs still check for this.
 * To avoid unnecessary errors, let's just add it back.

Change-Id: Icc44b330f21a658cfa8ded691a6628d8f62c3649
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-27 07:34:56 +01:00
Michael Bestas
ff9ff905d0 sdm660-common: Remove bdroid_buildcfg.h
As of I3c7aed1bdb45db728d319f7d757400e44d232283 the Bluetooth stack
defaults to reasonable defaults that should work for all devices.

Change-Id: I056d63c4c8a2727e384172e964dc0000b6773504
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-19 07:17:51 +01:00
pix106
d60b8e6a14 sdm660-common: use clang 12.0.5
* fixes (audio) modules when building kernel inline
 * 60d47ffd4c
2022-11-07 08:21:12 +01:00
Georg Veichtlbauer
6fcda33eda sdm660-common: Defer triggering WiFi load to HAL
Remove triggering WLAN load through boot_wlan
Let WiFi HAL write to /dev/wifi instead

Change-Id: I788bf933c56fb85cb26219d6bb657f4226a0d54b
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Sebastiano Barezzi
c8c4bd01a8 sdm660-common: Set WIFI_DRIVER_DEFAULT to qca_cld3
Change-Id: I4f0e325e69af45a4d65464631ef6059a1432cb9b
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Georg Veichtlbauer
8b643901b2 sdm660-common: Drop WIFI_DRIVER_FW_PATH_*
These will default to NULL, resulting in the HAL disabling FW reloads
on mode changes, which are unneeded. With our non-existent paths they
would fail anyways.

Change-Id: Idc4be5f82efce77716a5239abfa03f5de91628f7
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Alexander Koskovich
e321a025b5 sdm660-common: Undefine BOARD_HAS_QCOM_WLAN.
* Not used anywhere relevant anymore, considering
   we're not using CAF's fork of WPA supplicant.

Change-Id: I409e5897f1eec08209a747b0f7f2adbf9960b163
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Kyle Harrison
23aa5c0ac2 sdm660-common: Enable TARGET_HAS_BROKEN_WLAN_SET_INTERFACE
Change-Id: I803ffa0ac7ece8101c58279e1d846d0218018519
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Alin Jerpelea
3ebb2cfa75 sdm660-common: Enable legacy _platform compatibility
our vendor libs are still dependent on _platform

The *-ndk_platform.so libraries no longer exist and are removed from the VNDK set. However, they
can exist if NEED_AIDL_NDK_PLATFORM_BACKEND is set to true for legacy devices. Don't be bothered
with the extraneous libraries.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Bruno Martins
44c1dda750 sdm660-common: Drop DRM service flag
This is not needed anymore in android 13

Change-Id: I97023f1bab88ddb8fa4cb205df190c516a759951
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
mracar07
ad7852eeff sdm660-common: Kickout clang version
Signed-off-by: mracar07 <umutcan@umutcanacar.me>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-09-13 06:56:46 +02:00
pix106
225e4c510a sdm660-common: build scudo-free 32-bit libc variant
* https://review.arrowos.net/c/ArrowOS/android_build/+/18089
2022-09-13 06:56:46 +02:00
Nolen Johnson
fb7286f854 sdm660-common: Remove deprecated TARGET_USES_QTI_CAMERA_DEVICE
* Dead as of https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/331507.
* We already build vendor.qti.hardware.camera.device@1.0
  so we have what we need.

Change-Id: I8ec420d6264fee70a1602eecdbb4f34f2e5db3dc
Signed-off-by: wHo-EM-i <ehteshammalik18998@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-09-03 11:46:02 +02:00
Chris Fries
9512942072 sdm660-common: Set VENDOR_SECURITY_PATCH to platform
Set the VENDOR_SECURITY_PATCH level to match the platform
security patch level.  These are functionally the same.

Bug: 125914443
Change-Id: Ib77ab115d6faabd21958c34e2dae49ec96421fdd
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-07-29 13:48:08 +02:00
pix106
a695848b09 sdm660-common: enable TARGET_USES_USB_GADGET_HAL 2022-07-04 07:40:35 +02:00
wHo-EM-i
1a180dfe7b sdm660-common: set TARGET_COMPILE_WITH_MSM_KERNEL true
audio hal needs this flag to be true otherwise some kernel headers will get skipped

Signed-off-by: ImPrashantt <prashant33968@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-07-04 07:40:35 +02:00