Commit graph

980 commits

Author SHA1 Message Date
Albert Tang
1a345a987a dre: Sort proprietary-files.txt
Also drop duplicate entries

Change-Id: Idb55c746dbcbc42dc9d56b09d860f4d579058642
2024-10-30 16:27:51 -05:00
Bruno Martins
460360443d dre: Unset BUILD_BROKEN_DUP_RULES
Overriden commands? Not anymore.

Change-Id: Id435e0fda13babadd5fbc2fe1c790e5a1fdba6df
2024-10-30 16:27:50 -05:00
LuK1337
eab870359c dre: Re-setup ELF checks
Change-Id: I89154af89a7be70fa3702ac3a74adf8bd087b6ef
2024-10-30 16:27:40 -05:00
LuK1337
6266fbca9d dre: Switch to py extract utils
Change-Id: Ia13b728464495ff208ca1a706847b11af5c93ae8
2024-10-30 16:26:54 -05: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
LuK1337
867f02e976 dre: Shim WFD with libgui_shim/libinput_shim
Change-Id: I42bf06bc6b19942303031ef0147dafa6df127fe5
2024-10-27 09:28:30 -05:00
Bruno Martins
d8c0f9c89c dre: Declare WFD lib as symlink during extraction
Change-Id: I83e3ec03e1ddc58f3a7df008789b1e31584946e1
2024-10-27 09:28:30 -05:00
Albert Tang
d500d4719c dre: Address other checkelf issues
Change-Id: I498b0978021f21e1bd1ca9ba7f9e4a93929ead36
2024-10-27 09:28:20 -05:00
Michael Bestas
4e9ab622b7 dre: Enable ELF checks for libwfdmmsrc_proprietary
Change-Id: I7eecffc5481b44451094a6816e50436ad084db7a
2024-10-26 10:13:17 -05:00
Aaron Kling
e58b63bb92 dre: Remove elf files in copy files check
New extract files uses packages instead of copy files

Change-Id: I337c07d13bd350958d4808e1693cc6e03753a96c
2024-10-26 10:13:17 -05:00
Michael Bestas
3ab8caec3e dre: extract-files improvements
Change-Id: I517698ca3b5a93e10a5b167417631c7f8d0ab9e2
2024-10-26 10:13:17 -05:00
Michael Bestas
83e230b3de dre: Patch libwfdservice to resolve duplicate dependencies
Fixes:
error: module "libwfdservice" variant
"android_arm_armv8-a_cortex-a76_static": depends on multiple
versions of the same aidl_interface:
android.media.audio.common.types-V2-cpp-source,
android.media.audio.common.types-V3-cpp-source

Change-Id: I8086a80fcc238d6b03d16640ee2c4e134129bbab
2024-10-26 10:13:17 -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
b3b7493eec dre: Disable ELF checks for certain libraries
Change-Id: I61dbc3559b43becc22f69ae2c1c3e8edf95e2483
2024-10-26 10:13:17 -05:00
Cosmin Tanislav
6c1e0528b6 dre: skip dependencies which aren't defined in .bp
Change-Id: I01a653661856495788c05b720c0577dac44998a4
2024-10-26 10:13:17 -05:00
Michael Bestas
c05da9de89 dre: fix QCOM WFD ELF checks
Change-Id: If3d64c1cfa8fb6d30ca29a3260d2ebe51c9ffd2f
2024-10-26 10:13:17 -05:00
Cosmin Tanislav
73149b58ae dre: fix vendor.qti.imsrtpservice@3.0 ELF checks
Change-Id: Ia1995d0a3360317843685082e3226ab30f124d09
2024-10-26 10:13:17 -05:00
Cosmin Tanislav
4e436a30f3 dre: fix com.qualcomm.qti.dpm.api@1.0 ELF checks
Change-Id: I759752ccc133d7047d415eb83c5d3c55820437a4
2024-10-26 10:13:17 -05:00
Aaron Kling
29f5285274 dre: Add vendor soong imports to extract
Change-Id: Ib19e69dc35af6b04519eeb695228af65f3d01d2a
2024-10-07 19:17:57 -05:00
Michael Bestas
ce340bbc57 dre: Sync extract scripts with 22 templates
Change-Id: I7963ae050cfb193c5d0c2636da9c1e8f82bcdbdb
2024-10-07 16:57:41 -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
Michael Bestas
4867d5e3ee dre: Use AOSP default Codec2/OMX ranks
debug.stagefright.ccodec=4
is the default value in frameworks.

debug.stagefright.omx_default_rank=0
was used to rank OMX SW codecs lower than OMX HW codecs
but we have removed all OMX SW codecs now.

Change-Id: Idf55ec02c2c0f4d2fa73f949cffef0d820a54570
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
9f85aa4e46 dre: Remove software OMX blobs
Default to C2 codecs from swcodec apex.

Change-Id: I32f0b0abe680c1f350268115a3cc5488a2a57ec3
2024-09-19 11:04:13 -05:00
Michael Bestas
d18f03ed8a dre: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-19 11:04:11 -05:00
Bruno Martins
4315cd23c7 dre: Return to stock IMS system stack
Change-Id: I72f838ce6602ee8de1635572791cb7743860a1d7
2024-08-29 13:47:10 -05:00
LuK1337
1a1d988411 dre: Switch to common device_framework_matrix.xml
Change-Id: Idc99a59a377bb3284634a62c0a1ae545bcd4e1e2
2024-08-29 13:44:45 -05:00
LuK1337
952a90ce17 dre: audio: Disable ULL mode
* Ultra low latency playback is currently broken. Crackling audio
   can be well noticed while playing WhatsApp audio messages or even
   during some games.
 * This patch routes all audio that normally used audio-ull-playback
   paths to low-latency-playback paths instead, thus meaning we're
   switching from ULL to LL mode.

Change-Id: I7d672f1ff10b984c8096c9c4ca83475e730fd16f
2024-08-24 21:15:25 -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
Bruno Martins
e2db1ff35b dre: Convert packages disallowed to use aux cameras to prop
Change-Id: I02a4711bfb5f4cebf87d6f2d8a02f47f00c2d62f
2024-08-22 17:59:41 -05:00
Albert Tang
dd72fc6451 dre: Update from OOS 11.C.33
Change-Id: Id444227ff609885d4757e80cc6bcc7a425b0c8e7
2024-08-20 11:17:36 -05:00
Suren Baghdasaryan
c747af4dc8 dre: Replace writepid with task_profiles command for cgroup migration
writepid command usage to join a cgroup has been deprecated in favor
of a more flexible approach using task_profiles. This way cgroup path
is not hardcoded and cgroup changes can be easily made. Replace
writepid with task_profiles command to migrate between cgroups.

Bug: 191283136
Test: build and boot
Change-Id: I12fe7186af1ee5db6f19d485987e78ae0792c606
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2024-08-19 17:12:23 -05:00
Michael Bestas
d62372d358 dre: Remove bdroid_buildcfg.h
As of I3c7aed1bdb45db728d319f7d757400e44d232283 the Bluetooth stack
defaults to reasonable defaults that should work for all devices.

Change-Id: I056d63c4c8a2727e384172e964dc0000b6773504
2024-08-19 17:12:23 -05:00
Jprimero15
6509c10017 dre: Add Natural and Boosted Color Modes
Change-Id: I934d5932d640f84d63871bb40d0836f68af0c389
2024-08-19 17:12:23 -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
LuK1337
e14a490f4a dre: Patch configs to drop NFC logging levels
Co-authored-by: Georg Veichtlbauer <georg@vware.at>
Change-Id: I42bcd622dea35dd69f4fc6bb72a4767ca69af5c3
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
Paul Crowley
d8c4a9a0e5 dre: Remove wait_for_keymaster and all references
No longer needed now init listens for property changes on a
separate thread.

Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288
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
3a3034953e dre: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qualcomm targets can now build hermetic partitions.

Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-07-16 00:53:25 -05:00
Nolen Johnson
9fd9918f3d dre: overlay-lineage: Drop default HardwareKeys overlay
Change-Id: I0b11c55b159f8b04b2cae526ffb1b144cbaaa897
2024-07-12 10:54:03 -05:00
Bruno Martins
2c57242638 dre: Declare EGL libs as symlinks during extraction
Change-Id: I4b2f3e79b5e518889d9771bf8990e27babca8b61
2024-07-12 10:54:03 -05:00
Bruno Martins
3ee0c84ab0 dre: Mark CNE symlink target as required package
Change-Id: I0bfe65ba61b6aa9916fe6459be2a84d772939a2f
2024-07-12 10:54:03 -05:00
Bruno Martins
bb9e49c038 dre: Declare IMS libs as symlinks during extraction
Change-Id: Ia1b8097d28dd4888232fe383b830515b1b9bafaa
2024-07-12 10:54:03 -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