Commit graph

1012 commits

Author SHA1 Message Date
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
SebaUbuntu
72f32ab5a3 dre: overlay: Remove config_defaultPeakRefreshRate
* Our hwcomposer already correctly reports display modes

Change-Id: Ic84ee92914b0c50e6e4f1a64d5b729b8ee8c6985
2025-02-02 10:40:55 -08:00
LuK1337
8dfb14cd39 dre: Move network scan overlay to OPlusSettingsResTarget
Change-Id: I5a5a8feea72a74ffaefd598d5e80bec92783d2ea
2025-02-02 10:40:55 -08:00
Ashok Mutyala
2a9c6383cb dre: init: Mlock limited to 64 KB
In Android 14 and higher, the platform reduces the maximum
memory that can be locked using mlock() to 64 KB per process.
In previous versions, the limit was 64 MB per process.
The new restriction promotes better memory management
across apps and the system.

Test: CtsInitTestCases#MemLockLimit

Signed-off-by: Ashok Mutyala <quic_amutyala@quicinc.com>
Change-Id: I883bff0c1e4bd540a1fae9ab0ea35ebdf4da5255
2025-02-02 10:40:55 -08:00
Randall Huang
4d4f07bd89 dre: fstab: data=journal,commit=1 for /metadata
Since Ext4 doesn't implement "-o sync", it commits metadata at every 5 secs.
This may cause /metadata corruption.

Bug: 162883014
Change-Id: Icd38754bad1b1529d01165ea8c703c214d20bb4b
Signed-off-by: Randall Huang <huangrandall@google.com>
2025-02-02 10:40:55 -08:00
Nick Reuter
53611738e8 dre: use the default display flags
Change-Id: Id10513c5e250aa7e9d805b652e538d71fd4b92b8
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
PRANAY BHARGAV BHAVARAJU
01ae51cb94 dre: avoid setting permission for /dev/hw_random
Below patch from system/core is setting required access policy
for /dev/hw_random. And CTS test is updated accordingly

https://android-review.googlesource.com/c/platform/system/core/+/2229337
https://android-review.googlesource.com/c/platform/cts/+/2232052

Change-Id: I762dfa3b1e84dee6c49fc178b5b75cf1c134cfb7
2025-02-02 10:40:55 -08:00
Nick Reuter
04882b6545 dre: Address missing libbinder symbols in libwfdnative
_ZN7android6binder12atrace_beginEmPKc
_ZN7android6binder10atrace_endEm

Change-Id: I942d51721461dbbf9c8d0f2f32128529bb7480c3
2024-12-19 20:18:09 -08:00
Nick Reuter
24f2a2590b dre: Bump libwfdservice to android.media.audio.common.types-V4
Change-Id: I81060d8c73430a9598c676e18dc04e31a2f31c0c
2024-12-19 19:46:40 -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
Nick Reuter
384d8c5c98 dre: update kernel scripts from fogos U1UGS34.23-110-2-1
Change-Id: I6e008352da977617e1b21c8e7b9f80df58cfdfbf
2024-11-30 13:14:02 -08:00
Nick Reuter
09e4c842fe dre: switch to upstream sensors
Change-Id: I01783774fabda178aefa42c460c7650fc1ce5e70
2024-11-30 13:05:44 -08:00
Nick Reuter
ffb04a39b7 dre: cleanup Touchscreen firmware
Symlink the carrier variant to global as the binaries are identical

Change-Id: Id12c46fa6b491ead5018e257e7289631a79dc492
2024-11-30 12:59:08 -08:00
Nick Reuter
1b16f3e1e0 dre: update bluetooth from LE2125_14.0.0.720(EX01)
Change-Id: Iade950a471a5b49d2f2d96a61ee83437b2cb5ee6
2024-11-30 12:30:26 -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
Manoj Basapathi
0448188c4a holi: enable single reg, update HALs.
- Enable IMS RCS single reg
- update ims factory HAL to 2.2
- update qtiradio HAL to 2.7

Change-Id: I641e71a34e36c3d56e0d196c9db98ba240f73788
2024-11-30 12:23:55 -08:00
Pengfei Xiao
5a857c85a8 IMS: Enable IImsRadio v1.7
This change is to enable IImsRadio v1.7

Change-Id: Ic63fd0f1b450174910a5b327547a6c471f119284
CRs-Fixed: 2983955
2024-11-30 12:23:55 -08:00
Susheel Nyamala
c2ccc8596f Uprev QtiRadio HAL to 2.6
Update QtiRadio HAL version to 2.6

Change-Id: Ifd5aafb27dadd912b3bc38c259330b56416ae951
CRs-Fixed: 2854788
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
LuK1337
0c0fec03a1 dre: Add libsecureui_svcsock.so and its dependencies
QSEECOMD: : Init dlopen(libsecureui.so, RLTD_NOW) is failed.... dlopen
failed: library "libsecureui_svcsock.so" not found: needed by
/vendor/lib64/libsecureui.so in namespace (default)

QSEECOMD: : Init dlopen(libsecureui.so, RLTD_NOW) is failed.... dlopen
failed: library "vendor.qti.hardware.tui_comm@1.0.so" not found: needed
by /vendor/lib64/libsecureui_svcsock.so in namespace (default)

Change-Id: I4ca32e61d5186cdde898a11d462f49ec9e491503
2024-11-26 15:22:07 -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
Albert Tang
262f219c38 dre: Update from OOS 11.C.34
Change-Id: I81889c67ef5969da5e66ba4fb6761003943d3d60
2024-11-11 21:58:31 -06:00
LuK1337
02a84ee9f9 dre: ruff check --fix
Change-Id: I8c94472a9b3b42f8bc35cda27d00ff9dc9705a55
2024-11-10 05:52:31 -06:00
LuK1337
2d65dd72e0 dre: Use common lib_fixups
Change-Id: I862e547f3375184729eb1a909bb7d6f676d45dfe
2024-11-10 05:52:31 -06: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
Michael Bestas
5eb0d72622 dre: ELF checks are enabled by default
Change-Id: I5740f4c8d359831b4cb794912c5d650f55c33f17
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
dianlujitao
9695808593 dre: Nuke ATFWD
It's normally not used at all.

Change-Id: Idb824b3b8c783b6ac962e604df05f9154beb4ed2
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
485ca14a4a dre: Adjust override prop key names
Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38
2024-10-30 16:27:51 -05:00
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