Commit graph

117 commits

Author SHA1 Message Date
Arian
3a3d3af33f dre: Generate qcrilNr.db during build
Change-Id: I1f3425713b9b5b1cc7185bc94124b9f01efe3abb
2025-03-29 14:23:02 -05:00
Michael Bestas
12f74ba4a3 dre: Enable ELF checks for libwpa_client dependent libs
Change-Id: I490df02b68da4b9a7088a239672a1dcace66d270
2025-03-25 16:22:31 -05:00
Michael Bestas
610a175646 dre: Enable UFFD GC
Kernel has support for it now.

Change-Id: I3863ee71477f321fe47646571b857fdc39a1902b
2025-03-06 18:28:46 -08:00
Yan Yan
c046b4f19d dre: 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-06 18:28:46 -08:00
Albert Tang
1408ace291 dre: Swap to OSS audio_io_policy.conf
The 24-bit stuff from oplus is useless anyway.

Change-Id: I8a16002c1afe2c5c4d710b785ff376a7b0273399
2025-03-06 18:28:46 -08:00
LuK1337
5641b0442f Revert "dre: Disable WiFi Aware & RTT for unsupported target"
This reverts commit 98080a2194cdf19a9fa8178a8bc2215cf9a66cad.

Test: run CtsVerifier tool
Change-Id: Ibe8c64d2ba95326594e3103c3cff4c03153e11b9
2025-03-06 18:28:46 -08:00
Albert Tang
bf711e18a8 dre: Drop duplicate audio_platform_info.xml
Change-Id: I02a4279ccec7351c146900f7dada512b29486189
2025-03-01 22:26:04 -08:00
Bruno Martins
020dc6a61d dre: Use aidl sensors multihal
Change-Id: I21da3da39e9726dca693d6bcbe42e93be861f7c7
2025-02-24 19:40:45 -08:00
Michael Bestas
2e429556a1 dre: Import media_codecs*.xml from vendor
Change-Id: Ic874270d8bc50e854109556b663cffae22025324
2025-02-24 19:40:45 -08:00
Nick Reuter
035a3a74c2 dre: Copy audio configs to device tree
* audio_platform_info.xml is a copy of audio_platform_info_intcodec.xml
   as it is the closest in comparision to stock

Change-Id: I733f848dd221c21171413711e835f9e77ae70e13
2025-02-24 19:40:45 -08:00
Michael Bestas
c2a9564491 dre: Migrate mount point creation out of Android.mk
Change-Id: Id5986b8a740e45f864eecdd2bd82d9455f128d6b
2025-02-24 19:40:45 -08:00
Nick Reuter
00bfc3b725 dre: organize tree to match sm8350-common
Change-Id: Ia5a9a9a70d662c3fcfef9a30c8fa78acc734b59a
2025-02-24 19:40:45 -08:00
P.Adarsh Reddy
a84d257640 dre: Enforce android-S new launch debugfs restrictions
Change-Id: I78878e1c4177c07d66b13e5659d4360252c5f87b
2025-02-24 19:40:45 -08:00
dianlujitao
9acfd5598e dre: move to aidl bootctrl hal
Change-Id: I50fd09148097f0cda03c1a105340a3fd5f55ce8d
2025-02-11 10:52:47 -08:00
danascape
f2c8225ae9 dre: Drop atrace HAL
It is deprecated in Android 14.

Change-Id: I5af8056853058ad29be7debb5c5af5dea83d84a9
2025-02-06 14:39:23 -08:00
LuK1337
6c2484f942 dre: Move WfdCommon boot jar declaration to vendor
Change-Id: I8fa2c0f64692873b432cc252ec88b388a32023a1
2025-02-06 14:39:23 -08:00
dianlujitao
a27d857000 dre: remove OMX
* OMX HW video codecs are no longer used after enabling Codec2
 * OMX HW audio codecs won't work without QCOM A/V enhancements, which
   we don't have on Lineage.

Change-Id: I65852151c8fb6387add5fc4402ba3f13c97b5f64
2025-02-02 10:40:55 -08:00
Nick Reuter
8671c7c353 fixup! dre: do not manually build dependencies
Change-Id: I88b191c3b23b44a34b0d1841984e6d31079e60ed
2025-02-02 10:40:55 -08:00
LuK1337
97fb165d39 Revert "dre: Build 64-bit only libvndfwk_detect_jni.qti.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

This reverts commit ebce0090de.

Change-Id: Ie5c33eafc1e0be2eeda8e0a6bbbc3712e32986e9
2024-12-05 12:23:15 -08:00
LuK1337
fd4cc1741a dre: Build wvmkiller
Change-Id: I1505f82dfa92933f2a2fcf5f4b3c96ce4f17c4fb
2024-11-30 12:30:26 -08:00
Luofan Chen
be01fa8dac dre: Build composer service from source
Change-Id: Id9b5920e1be26e9d5417f8e0b2a9e0a295b6e47a
2024-11-30 12:23:55 -08:00
Nick Reuter
fecfefb74f dre: update blobs from CPH2467_14.0.0.1320(EX01)
Pin device specific libs, and switch to CPH2467 as default

Change-Id: Ib8c9dd09a18dcd0851c4505187d7ddbdb4faf259
2024-11-30 12:23:12 -08:00
Albert Tang
7ad0fea5b9 dre: livedisplay: Disable sunlight enhancement
Our panel does not support high brightness mode.

Change-Id: Id836295a231e6afca15ef71c15c5fb41f8029b8e
2024-11-26 15:22:07 -08:00
LuK1337
ebce0090de dre: Build 64-bit only libvndfwk_detect_jni.qti.vendor
symlink_target: "/vendor/lib64/libvndfwk_detect_jni.qti.so".

Change-Id: I651706330ff88bda8920ec0a8670ebe1a434acac
2024-11-10 05:52:31 -06:00
LuK1337
2d0542b13b dre: Declare adsp_avs_config.acdb symlink during extraction
Change-Id: I5a328db61cbd83fe292522b90f21b85e94986381
2024-11-10 05:52:31 -06:00
Albert Tang
08ccefecf0 dre: Ship FM2
This device is able to use FM Radio, so we might as well use it.

Change-Id: I791e4ca732feabd543dadc885f4ab0940e1cf3f4
2024-11-10 05:52:31 -06:00
LuK1337
7c01cafcf5 dre: Update WFD system stack from OOS 14.0.0.710(EX01)
Change-Id: Ica1450a1568fe9c7eb8087ed0fa567493150af5d
2024-10-30 16:26:54 -05:00
Michael Bestas
594e8e1c20 dre: Work around using prebuilt HWC
After enabling ELF checks and switching prebuilts to modules,
the init and vintf files are no longer automatically built.

Change-Id: I48fcab53a7c8128b18e1399d9afadcfd5c85b116
2024-10-26 10:13:17 -05:00
Cosmin Tanislav
171d01a1c7 dre: do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2024-10-26 10:13:17 -05:00
Michael Bestas
fa9d414d86 dre: Shim widevine with libcrypto_shim
The following change
e202e51cb0
removed symbols that our libs require.

Change-Id: I1325c34ecec3d339dd68c665010ecb36fa2e6a29
2024-10-07 16:56:47 -05:00
Michael Bestas
0c8d606929 dre: Switch to AIDL USB HAL
Change-Id: I70f6a4e57eef577d86987bfae44f381a4f107624
2024-10-07 16:55:54 -05:00
Michael Bestas
04739e0390 dre: Switch to AIDL thermal HAL
Change-Id: I6ae621194044ab66fad69b9ef997b3b347bf6120
2024-10-07 16:55:38 -05:00
Michael Bestas
1e9e2a9ea6 dre: Remove media_codecs_google_c2*
AOSP codecs can be used by default and it is not necessary to include
them device side.

Change-Id: I8227b06f0466b614f12fa9008402b92461ea3dd0
2024-09-22 10:18:27 -05:00
Aaron Kling
ec768a0c76 dre: Remove software omx codec references
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead.

Change-Id: I8cdf3e700823779a7382c66c3df8410d41209b7c
2024-09-22 10:18:19 -05:00
Bruno Martins
4315cd23c7 dre: Return to stock IMS system stack
Change-Id: I72f838ce6602ee8de1635572791cb7743860a1d7
2024-08-29 13:47:10 -05:00
Yumi Yukimura
c55f76d555 dre: Switch to QTI Memtrack AIDL HAL
Change-Id: Ibcbaff02fd56fbccc3a88c01a5f46a89cb212ef5
2024-08-22 18:01:06 -05:00
George Chang
2a4dfa5de9 Switch NFC from HIDL to AIDL
Bug: 216290344
Test: atest NfcNciInstrumentationTests
Test: atest VtsAidlHalNfcTargetTest
Merged-In: I33d07604e87a2d9466a3a857e281ee4b611330a8
Change-Id: I33d07604e87a2d9466a3a857e281ee4b611330a8
2024-08-22 18:00:58 -05:00
LuK1337
da8871005f dre: Build erofs odm, vendor and vendor_dlkm images
Making these partitions erofs saves ~674MB, which lets us reserve
significantly more space on /product.

Change-Id: I88984f6137c0bc9f01da742a7a485445c2162157
2024-08-19 17:12:23 -05:00
Georg Veichtlbauer
f77ae41e15 dre: Convert ADSP AVS config symlink to install_symlink target
Change-Id: I058d05bbed239cc07a6e3094adb37422ce44716e
2024-08-19 17:12:23 -05:00
basamaryan
55045b7e42 dre: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
2024-08-19 17:12:23 -05:00
Bruno Martins
871f99d6c7 dre: Convert WiFi firmware symlinks to install_symlink targets
The last bit that was preventing building hermetic images.

Change-Id: I75bb7de4593a7992f6015317cf97e088beeba0cb
2024-07-12 10:53:51 -05:00
Bruno Martins
7620c53bcf dre: Move to new RFS install_symlink targets
Change-Id: I9560fd0da00958d9349a0881b5a5f64a2c02e495
2024-07-11 11:21:34 -05:00
Michael Bestas
0b9a253868 dre: Build missing libraries for 14 QPR3
Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
2024-06-21 11:59:43 -05:00
Chirayu Desai
4c5783bf01 dre: Disable UFFD GC
Unable to determine UFFD GC flag for kernel version "5.4.268-qgki".
You can fix this by explicitly setting PRODUCT_ENABLE_UFFD_GC to "true" or
"false" based on the kernel version.
1. Set PRODUCT_ENABLE_UFFD_GC to "true" if the kernel supports userfaultfd(2)
   and MREMAP_DONTUNMAP.
2. Set PRODUCT_ENABLE_UFFD_GC to "false" otherwise.

Change-Id: Ie77d9a86a7fe94e4cade1868ffea27194f724e03
2024-06-21 11:59:43 -05:00
Chirayu Desai
bb1d8db952 dre: Don't set BOARD_API_LEVEL
build/make/core/board_config.mk:1001: error: BOARD_API_LEVEL must not
set manully. The build system automatically sets this value..

Change-Id: If59ae9dea6cb13701d7217a1c0a355d4e07113eb
2024-06-21 11:59:43 -05:00
Albert Tang
cef33f952e dre: Don't store media config files locally
Change-Id: Ieb27d0c570aa2888038b4ac0cc69559ff6c8c8e7
2024-02-06 13:09:56 -06:00
Georg Veichtlbauer
29bd1b8cd2 dre: Inherit generic overlays from OPlus
Change-Id: I7ecb6c9ea6636450076918bef6dce9986342ae3e
2023-12-30 21:13:27 -06:00
Josh Wu
dcb1867a5a dre: Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2023-12-30 21:13:27 -06:00
Sebastiano Barezzi
0d96dca686 dre: Keep building health HIDL interface lib in vendor
* GNSS HAL needs it

Change-Id: Id2e1b2844d195d41fc67a0224e0dc39573f7702e
2023-12-18 10:00:26 -06:00
Bruno Martins
fa5ed0b1cf dre: 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
2023-12-18 10:00:26 -06:00