Commit graph

972 commits

Author SHA1 Message Date
Albert Tang
77cc831c25 dre: Update from OOS 11.C.30
Change-Id: I3ea70c166bd78801a04a59ad453f14c6ddb45475
2024-05-09 19:46:41 -05:00
Jake Weinstein
57906249ee dre: Do not balance msm_drm and kgsl_3d0 IRQs
These are critical for display performance and should not be balanced
in order to improve latency and responsiveness.

And also affine them.

Change-Id: If49ecb8757d133a7fad0d7946837b35403e57c2a
2024-04-30 11:27:50 -05:00
Bruno Martins
adef2d52a3 dre: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-04-30 11:20:01 -05:00
Alessio Balsini
2558113d92 dre: Use FUSE passthrough by default
Enable the persist.sys.fuse.passthrough.enable flag for the device
configuration to enable the FUSE passthrough feature.
This feature has been enabled on Cuttlefish, Wembley and Redbull devices for
months and no issues have been detected yet.

Bug: 168023149
Test: 'adb shell getprop | grep persist.sys.fuse.passthrough.enable',
    ScopedStorageTest
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I3f39b02af436f7e508bb70efc702565a667a051c
2024-04-30 11:18:45 -05:00
Cole Faust
509171b097 dre: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qcom has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2024-04-17 10:31:27 -05:00
Albert Tang
f8c1356f3b dre: Import missing Perf LM libraries
Change-Id: If159e211e93016b5fb79dba9cb9109ebe13e8e0a
2024-03-17 11:27:44 -05:00
Albert Tang
7de03cce19 dre: Update from OOS 11.C.29
Change-Id: I3d4dfe3257bc5d39a0b4f381571640ff856a02d3
2024-02-24 21:42:55 -06: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
Michael Bestas
b85828b4cf dre: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2023-12-18 10:00:26 -06:00
Suren Baghdasaryan
9865abc0e6 dre: Replace direct pid writes with setting task profiles for audio interfaces
For easy transition from SchedTune to UtilClamp, direct access to these
cgroups should be abstracted by using task profiles. Replace writepid
commands with new task_profiles command.

Bug: 155419956
Test: change .rc file and confirm task profile is applied
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ide373c283359cf4b73af4cb0813d8c0306942595
2023-12-18 10:00:26 -06:00
Bruno Martins
330a07a092 dre: overlay: Remove obsolete config_keyboardTapVibePattern
Change-Id: Ic89566183d2cdc4a20ea83f462c56a14184621ae
2023-12-18 10:00:26 -06:00
Rick Yiu
d71c9fb394 dre: Remove some camera-daemon commands
Those commands have moved to init.rc.

Bug: 170507876
Bug: 171740453
Test: build pass
Change-Id: Icfe520e7f7367461607cc8fb5e524d9699e79124
2023-12-18 10:00:26 -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
Kamal Wadhwa
a9cc222504 Remove charger service restart and modem partition mount calls for HOLI
Holi supports linux based charging and not via ADSP,
hence remove the modem partition mount logic.
This improves the entry time into power-off charging mode.

Change-Id: I69337e773f6078bc0847b7db199fc21e8c975a8a
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
Bruno Martins
44a6bcdd3e dre: Migrate to restructured sepolicy_vndr
The new folder structure now looks like this:

  device/qcom/sepolicy_vndr
  ├─ legacy-um (meant for sdm845 until sm8350)
  ├─ sm8450
  └─ sm8550

SEPolicy.mk placed in the root automatically redirects devices to the
proper subfolder.

Change-Id: I4ed1a06af779909d64172da294c4a99a3ae9ba0d
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
Albert Tang
e336fb6479 dre: Correct wlan kernel module name
Change-Id: Ia8454a97a85b380d3dbb1e8d60b20824f3ffc0c7
2023-12-16 10:25:13 -06:00
Albert Tang
22e113fbe0 dre: Update from OOS 11.C.28
Change-Id: Ic0b13fc5f185e8c86ab508e32522331d733f74c2
2023-12-15 14:56:39 -06:00
Neel Chauhan
6b0f0ee9b0 dre: Remove old Sprint APNs
Sprint's LTE network is now dead: https://www.t-mobile.com/support/coverage/t-mobile-network-evolution

Change-Id: If7b934bec5b2bfc19d4e4e0409666420deadbeef
2023-12-07 11:02:23 -06:00
Albert Tang
a12f90ad4c dre: Update from OOS 11.C.27
Change-Id: I7308917e53234dd4f35bd996962b47642011a332
2023-12-07 16:07:21 +00:00
Albert Tang
110bdcd8a7 dre: Update from OOS 11.C.26
Change-Id: Icfd22b3fa37ca53858b876b401da596bfdae6745
2023-10-25 16:15:53 -05: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
Albert Tang
c10df7143d dre: Update from OOS 11.C.25
Change-Id: Ica00a6eead0ea823d2a4615b1af926109cccc051
2023-09-03 14:48:59 -05:00
Albert Tang
95308b94a9 dre: Update from OOS 11.C.24
Change-Id: Ie3ac1535d232d925293f68162f25797e04ebb665
2023-06-30 17:10:44 -05:00
Michael Bestas
1e3ebd5caf dre: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2023-06-02 10:34:13 -05:00
Tim Lin
81395d416b dre: qcril: fix MT SMS sent during power off
qcril will block any further MT SMS if previous one is not ACKed.
For this bug, IMS service is not ready and resulted in qcril stuck in blocking state.
This solution will add 30s timer to reset blocking state if there is no ACK from Telephony.

Bug: 169549852
Test: MT SMS during power off
Change-Id: I6f52170654925143aeb55f8bc0cf4c379717e718
2023-06-02 10:33:54 -05:00
Albert Tang
337b36a0e5 dre: Import c2_manifest_vendor.xml
Hardware accelerated video decoding is not available without this

Change-Id: Ia434f45d03af16669110e8c142df67bcc0f4a051
2023-06-02 10:33:43 -05:00
Albert Tang
8f9be60336 dre: proprietary-files.txt: Drop .lic file
Change-Id: I545ce92a6cad832dff1f5615c0d23b22094384e0
2023-05-30 14:56:11 -05:00
Albert Tang
2b3dc1628c dre: overlay: Correct cpu.clusters.cores
Cluster 0 has six CPU cores, not four

Change-Id: I1a67976f1d7957dbfd5316f2d852f9bcd1e787ca
2023-05-23 18:56:31 -05:00
Albert Tang
c1ddc5cef0 dre: Extract missing imsdaemon blob
IMS fails without this

Change-Id: I92ac76b50ffe4c93931208dcb3843f781cb5d3a5
2023-05-22 12:31:49 -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
Albert Tang
6efca624f0 dre: audio: Re-import holi configuration from CLO
* OnePlus has only one change now, but it's useless
* Keep A2DP removal changes in

Change-Id: I5b33f36b138f3e4833907ec4ed2e638ccb42fd8f
2023-05-07 15:57:47 -05:00
Melody Olvera
4b962b3b6f dre: init: Remove racey printk setups
Configure printk from init.qcom.sh only.

Change-Id: I4eff77fd5cd121f31156c2fbdac1208dec6c9ac5
2023-05-07 15:57:47 -05:00
Andrzej Perczak
284502d40e dre: Symlink libvndfwk_detect_jni.qti for CneApp
Needed by CneApp.

dlopen failed: library "/system_ext/lib64/libvndfwk_detect_jni.qti.so" needed or dlopened by "/apex/com.android.art/lib64/libnativeloader.so" is not accessible for the namespace "vendor-classloader-namespace"

Change-Id: I400f03c3cb60acdc4263c24b1096c5961142f03f
2023-05-07 15:57:17 -05:00
Alexander Koskovich
d009011248 dre: Move recovery resources to /vendor_boot
* https://source.android.com/devices/bootloader/partitions/vendor-boot-partitions

Change-Id: I6ffae14aef4597c7f8c787bfaeece69db0e38394
2023-05-07 15:57:17 -05:00
Alexander Koskovich
a51cd13aa3 dre: Make fstab available to vendor ramdisk
Change-Id: I7a34ac9fb0e0779669bdbb8aa2a91302a0fac101
2023-05-07 15:57:17 -05:00
Albert Tang
b71b6fbcfc dre: Update from OOS 11.C.23
Change-Id: Ic9fb9586bd5d8bcc3dd04c11a415066b141bd723
2023-05-05 08:06:16 -05:00
Nick Reuter
16981a495a dre: init: only process props for carrier devices
Change-Id: Ia32508c4c03ea6fd48bc82d60f702cae1e127bde
2023-04-24 08:20:54 -05:00
Alexander Koskovich
7e05eef029 dre: init: Set model based on project codename
Co-authored-by: dianlujitao <dianlujitao@lineageos.org>
Change-Id: I06f9acda3fe77f57a1bc24ee5a802db0ab3b8d60
2023-04-24 08:20:54 -05:00
Albert Tang
f8e7669aa3 dre: overlay: Remove color modes
This is not present in stock OOS (both 11 and 12), and the kernel lacks
any support for them.

Change-Id: I84488285d48ab42b259751cd55444f272d9bd3b6
2023-04-24 08:20:35 -05:00
Michael Bestas
41e3a9e8c3 dre: Add board-info.txt
* Fixes flashall in fastbootd

Change-Id: Iae2f33113317cfaadeff7a3610463880077c35e0
2023-04-21 16:55:53 -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
Albert Tang
482cb4efbe dre: Fix sdcard support
"encryptable=footer" is broken

Change-Id: Ia80bff24fb553a0a10f18600ba6f52705153bb21
2023-04-21 03:19:11 +02:00