Commit graph

1023 commits

Author SHA1 Message Date
P.Adarsh Reddy
a84d257640 dre: Enforce android-S new launch debugfs restrictions
Change-Id: I78878e1c4177c07d66b13e5659d4360252c5f87b
2025-02-24 19:40:45 -08:00
SagarMakhar
f1051e96cc dre: Turn off persist.vendor.radio.poweron_opt
It's set to 1 in qcril_database migrations. Sed the property
to something else so it defaults to 0.

When the value is 1 it breaks SMS receiving without QTI telephony.

Change-Id: I7f56ecaac51abb6525c6022d92eac1c285ab0688
2025-02-24 19:40:07 -08:00
Albert Tang
49f47b2936 Revert "dre: Set saturated color mode as default"
Keep saturated mode around, in case we need it again.

This reverts commit aa3aceda39.

Change-Id: I0a0c874c9e8934c27ff0df4aaee44cf78aa61103
2025-02-15 12:06:06 -08:00
Albert Tang
00821c77cc dre: Fix sRGB mode in qdcm calibation data
qdcm_calib_data_default.xml has features 2, 7 and 8 disabled for sRGB.
Do the same thing for nt36672c to fix sRGB here.

Change-Id: Ieee41c8a224bf73ad92b5fdcbb2c5d3c4ee2f9ca
2025-02-15 12:05:09 -08:00
Albert Tang
aa3aceda39 dre: Set saturated color mode as default
All other color modes are borked from V QPR1 onwards.

Change-Id: I9e4137a24473f16f3e385cade1d61ef767535557
2025-02-11 10:53:10 -08:00
LuK1337
dcc2c3fa37 dre: Enable elfchecks for camera libs
Reference: I23190f0b83c9e28aa2624a7575544b0eaf5c83c8
Change-Id: I18b0b07bf3a435dd449106653e3ca458b4f07b69
2025-02-11 10:53:00 -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
Pawin Vongmasa
3298af0f05 dre: Move input surface to CCodec
Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small
Bug: 131800183

Change-Id: I8783a7de4a4fdf7ff2eac6697c71f6592c9a9e06
2025-02-06 14:39:23 -08:00
Michael Bestas
a4a325f15e dre: Disable OMX service
Change-Id: I5381e098af64271f9d71c484262e1710e8fcacea
2025-02-02 10:40:55 -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
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