Commit graph

965 commits

Author SHA1 Message Date
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
Albert Tang
5de9562561 dre: sepolicy: Move battery entries to hardware/oplus
Change-Id: I9b1dedf972de3b3fbff0d757d30f95fd7a2a2789
2023-04-17 14:33:17 -05:00
Albert Tang
dec9804d47 dre: Update from OOS 11.C.22
Change-Id: I0fbd8e91fe924d04ed7dcdc0606be54f0d0b7987
2023-04-17 09:34:56 -05:00
Albert Tang
0426db17b2 dre: Update from OOS 11.C.20
Change-Id: I70dd661bc57bdca00c7d8c8fa7eb76ca161cc596
2023-04-13 10:19:50 -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
76d62af9ed dre: Patch hotword sysconfig
Change-Id: I428f4299197cbe5379e9288dbc49ed9fe31e37c4
2023-04-13 10:19:49 -05:00
Georg Veichtlbauer
127623e395 dre: Remove aptX(HD) encoder shared libs
Encoder shared libraries are no longer required as of Android 13 QPR2.

Change-Id: I893a9000070cb2582ada0af91547f5176e6fea84
2023-04-10 20:56:16 -05:00
LuK1337
af5d195b69 dre: Repatch PowerOffAlarm.apk
apktool d PowerOffAlarm.apk
sed -i 's/oplus.permission.OPLUS_COMPONENT_SAFE/org.codeaurora.permission.POWER_OFF_ALARM/g' **/*.*
apktool b PowerOffAlarm
mv PowerOffAlarm/dist/PowerOffAlarm.apk .
rm -rf PowerOffAlarm

Change-Id: Iad10dc6b14cacdf22ab9fb39525c8f1a00548ab0
2023-04-10 20:56:16 -05:00