Commit graph

75 commits

Author SHA1 Message Date
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
basamaryan
1e0021ccc9 dre: Build libprotobuf-cpp-full-3.9.1-vendorcompat
For now this is implicitly built by lineage specific
libprotobuf-cpp-lite-3.9.1-vendorcompat lib, but in the future this
might not be the case.

Change-Id: I724e933e046cbf631c078321d55550b96ca998da
2023-12-18 10:00:26 -06:00
LuK1337
ff6a34afe0 dre: Update libstdc++.vendor target name
Change-Id: I9fb48d50df7b8b74d19bfb05b3d9c2ca169bf3e2
2023-12-18 10:00:26 -06:00
LuK1337
9725e4fb45 dre: Build libprotobuf-cpp-lite-3.9.1-vendorcompat
Change-Id: I0aac742db9c2b4b3e48ee20158f19405863893c2
2023-12-18 10:00:26 -06:00
Gabriel Biren
91c1031176 dre: Update makefile to use the AIDL Wifi Vendor HAL.
Bug: 274964641
Test: Pre-submit tests
Change-Id: I4d9114377fe75b593bbfe6a59f03d8f5d607d6a1
2023-12-18 10:00:26 -06:00
SGCMarkus
f0cfa62f3c dre: Set BOARD_[SHIPPING]_API_LEVEL to 30
IMS needs this, as it won't connect to its own HIDL service when
ro.board.api_level is not set.

Change-Id: I2d8346b02e2b874e7ea76f4f0a36bf5764ea4a74
2023-10-18 09:22:36 -05:00
Michael Bestas
1e3ebd5caf dre: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2023-06-02 10:34:13 -05:00
Bruno Martins
493e5f4182 dre: Only ship with disabled A2DP offload configuration
A2DP hardware offload is broken since A13 QPR1 merge.

Change-Id: Idca3373669e28a0afd627daa79ebb0254abb5c74
2023-05-08 10:27:21 -05:00
Jakub Pawlowski
709c6daead dre: Use bluetooth.audio@2.1
bluetooth.audio@2.1 adds new functionalities required for Bluetooth LE
Audio development

Bug: 150670922
Change-Id: Iac2ece0c029a38fef82e81f5ba3ba491163818ef
2023-05-08 10:27:07 -05:00
Alexander Koskovich
a51cd13aa3 dre: Make fstab available to vendor ramdisk
Change-Id: I7a34ac9fb0e0779669bdbb8aa2a91302a0fac101
2023-05-07 15:57:17 -05:00
Michael Bestas
43624b572c dre: Build fastboot custom HAL
* This adds getprop functionality in fastbootd.

Change-Id: I4906f6e9dcc00d37a7fa97e0139ba536f00755fa
2023-04-21 16:55:44 -05:00
LuK1337
b4fb0c355e dre: Use libcamera_metadata_shim for unlocking cameras
Change-Id: I985c6e317b36d8cdc6b41a9f9f625b293a8987eb
2023-04-13 10:19:49 -05:00
Albert Tang
e79aee3bbf dre: Import task_profiles.json
Change-Id: I922e83abeb47706303f2b83698ea07c09a65b069
2023-04-10 20:56:16 -05:00
althafvly
9a431a2322 dre: Inherit launch_with_vendor_ramdisk for vAB
- sm4350 devices have a vendor_boot partition

Change-Id: I5c344890bc12ee769e2f27369a4151b469271a51
2023-02-10 10:06:43 -06:00
Aaron Kling
d500a981a2 dre: Remove references to a2dp module
APM would fail to parse the config anyway:

  E DevicesFactoryHAL: loadAudioInterface couldn't load audio hw module audio.a2dp (No such file or directory)
  W DevicesFactoryHalHidl: The specified device name is not recognized: "a2dp"
  E AudioFlinger: loadHwModule() error -22 loading module a2dp
  W APM_AudioPolicyManager: could not open HW module a2dp

Change-Id: Iaa1be881cfe8f8474cef0ba46e1b0a62b59e14be
2023-02-10 10:06:43 -06:00
Bruno Martins
29eeb7cafd dre: Switch to AOSP BT stack
Change-Id: Ice6c2b0735aa7cb4b2e638a794c778883e706c97
2023-02-10 10:06:43 -06:00
Bruno Martins
2cd76d66b2 dre: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2022-12-15 18:50:53 -06:00
Michael Bestas
5bedce0348 dre: Fix disabling A2DP offload
Change-Id: I49c717a19afb2491b6280670fdbfe8765813a4dc
2022-12-15 18:50:53 -06:00
Bruno Martins
535982b6d4 dre: Ship dependencies for S blobs
Change-Id: I36f92cf324ee0b1379e224b8a4415c4886bc2d11
2022-12-15 18:50:53 -06:00
Bowgo Tsai
59fb32fef9 dre: Removing GSI keys
Those keys will be embedded into VtsSecurityAvb on host side
instead, to verify the GSI image used on the device.

Bug: 149806769
Test: build and checks those keys are removed from
      $OUT/recovery/root/first_stage_ramdisk/avb/
Change-Id: I8a002ba6f1421fb460056ccae6572050bdb0ce3c
2022-12-15 18:50:53 -06:00
Albert Tang
4292f08385 dre: nfc: Use modified libnfc-hal-st.conf
Change-Id: I1c30f5d9e5a7212dfcda8cab168fb9d7eaccd1eb
2022-11-06 17:12:05 -06:00
Albert Tang
5d02516f7a dre: Switch to oplus fingerprint HAL
The generic fingerprint HAL no longer works here.

Change-Id: Ibe16dd5f1e5c30de179c034e15b68ffb4a6f72ec
2022-11-06 17:11:02 -06:00
Albert Tang
da0d89af57 dre: overlay: Decommonize and restore from DE2117_11.C.15
Change-Id: Ib311d07854c7168668bd5d22d8c78eab74ac5af5
2022-11-06 17:11:02 -06:00
Alexander Koskovich
f5ba6792a2 dre: overlay: Move OPlusWifiResCommon to hardware/oplus
Change-Id: I0751a3271fcdeed3a5e43cf37ae49f67f75285b4
2022-11-06 17:11:02 -06:00
Alexander Koskovich
6db1973e9a dre: Update to Boot Control HAL v1.2
Change-Id: Ib5d06c9b0c7e2ed000eb03a9bf18e4d78cc8740d
2022-11-06 17:11:02 -06:00
Michael Bestas
28bd6e8beb dre: bootctrl: Remove bootctrl.holi target
* This is no longer used after switching to QTI 1.1 impl

Change-Id: Id770b77da62c3b16eaea83cec366b299b1ea49d2
2022-11-06 17:11:02 -06:00
Alexander Koskovich
8a48076979 dre: Disable WiFi Aware & RTT for unsupported target
* Lahaina is supposed to be a supported target, but
   some CTS tests fail. Oplus also disables these in
   OOS.

Change-Id: I5921e0f4ecb2140a5610059bdd16cc6e99d7d725
2022-11-06 17:11:02 -06:00
hpnightowl
4060e892f5 dre: Drop audio.a2dp.default
-
5be591a6f6

Change-Id: Ib71c1abd381468ec3621d60e5ca959f738f51168
2022-11-06 17:11:02 -06:00
Albert Tang
fa0473e516 dre: Move GNSS files back to proprietary-files.txt
They won't be edited, so don't store them locally.

Change-Id: I4fb340553442e1ddaf09c9ea81743c0745999e1a
2022-10-11 08:31:24 -05:00
Alexander Koskovich
61cd2f935a dre: Import GPS configuration from DE2117_11_C.15
Change-Id: I64c78ddc6af425117af8dd85f2fc9a49ac3bb942
2022-10-11 08:31:24 -05:00
Alexander Koskovich
7d1a1c52a7 dre: Switch to SPDX license identifiers
* Might as well be consistent.

Change-Id: Ib95789a0286785ba3b0b6df265291e87a13d2ef8
2022-10-11 08:31:24 -05:00
Alexander Koskovich
0225f34c01 dre: Drop some audio packages
* All of these are implied, except libcirrusspkrprot
   which was removed as we are not using any Cirrus
   hardware, and even hardware supported by it is hard
   to find in production.

Change-Id: Iad7824105bd2c22899365f8a5fc0a9e73d36beda
2022-10-11 08:31:24 -05:00
Glen Kuhne
54eee440db dre: overlay: Set default hotspot SSID prefix
Change-Id: I2b5310c2acfd4e0110244fb17cf6bd5552bf81d7
2022-10-11 08:31:24 -05:00
Alexander Koskovich
22fa99ecf3 dre: overlay: Import relevant custom changes made prior to RROs
Change-Id: Id3e5c5548088209a2459217dcdfe78fb59ff7221
2022-10-11 08:31:23 -05:00
Alexander Koskovich
380b359fd0 dre: Import cleaned MANNAR RROs from DE2117_11.C.15
Change-Id: I6c668a7fb81fbe69fbdb9c75725bb586010c75d9
2022-10-11 08:31:23 -05:00
Alexander Koskovich
7a78cdb010 dre: Pick up QSSI overlays from hardware/oplus
Change-Id: I796c4ca9939a70f7917303d509a51dba150f5174
2022-10-11 08:31:23 -05:00
Alexander Koskovich
3250dfc3de dre: Import CarrierConfig RRO from DE2117_11.C.15
* Remove anything that the value is already the default,
   or deprecated.

Change-Id: I597a93b580754a7fde51d051accfffca54c22482
2022-10-11 08:31:23 -05:00
Alexander Koskovich
7bc48ae239 dre: overlay: Atomize
Change-Id: I972d46e1dafb03b42249193fd033e91c4e3b3bc5
2022-10-11 08:31:23 -05:00
Albert Tang
8d724e7675 dre: Cleanup BoardConfig and packages
Change-Id: I050052f6249fa3348038dd9536c11a3931acf95c
2022-10-11 08:31:23 -05:00
Alexander Koskovich
09f5250dc9 dre: Drop PRODUCT_BUILD_SUPER_PARTITION
* Super image is not generated by a default 'm' build,
   but we at least want it for dist builds.

Change-Id: Ia12a5314632509fcd309d51ddf757efdc37499c3
2022-10-11 08:31:23 -05:00
LuK1337
b4cde8f64f dre: Remove audio_amplifier.holi from PRODUCT_PACKAGES
No longer needed.

Change-Id: Iff01273b155a10510a63927326294f45c178c862
2022-10-11 08:31:23 -05:00
LuK1337
bc48b8ea85 dre: Remove wifi-mac-generator
No longer needed.

Change-Id: I68bf87be2a8613e6c83ed71ea5b9c4b832e4dba7
2022-10-11 08:31:23 -05:00
Albert Tang
7ac8b2e584 dre: Update audio configuration from DE2117_11.C.15
Change-Id: I4b05937d5e853e836b2735838b7f7e86ff4761f4
2022-10-11 08:31:23 -05:00