Commit graph

994 commits

Author SHA1 Message Date
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
Kishor Krishna Bhat
acd79ebf24 dre: Remove frozen and unfrozen cgroup
Removed frozen and unfrozen cgroup configuration which
are outdated and are also not required. This passes
testFreezerKillExitCode test case.

Change-Id: I8fef53a3b957d529cd6ace75e648ce8a5847e046
Signed-off-by: Kishor Krishna Bhat <quic_kishkris@quicinc.com>
2023-04-10 20:56:16 -05:00
Albert Tang
e79aee3bbf dre: Import task_profiles.json
Change-Id: I922e83abeb47706303f2b83698ea07c09a65b069
2023-04-10 20:56:16 -05:00
LuK1337
fd732c0a74 dre: overlay-lineage: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2023-04-10 20:56:03 -05:00
Michael Bestas
c426c6bd4b dre: Remove leftover A2DP input configuration
Change-Id: I29e7c09f9ba13717a996755e4f9320485cacdff0
2023-02-14 21:15:53 -06:00
Edwin Moquete
7a8ba5de0c dre: Remove unused persist.bluetooth.a2dp_offload.cap property
This prop has no effect as of T QPR1.

See: cf25e33147

Change-Id: Ic762812dd59429d344ccc55c01bf96b0ffd6dbab
2023-02-14 21:15:53 -06:00
Edwin Moquete
e95c402869 dre: Restore vendor bluetooth props
These are read by the BT audio blobs, even without the
QTI BT stack.

Change-Id: Ia2335bedfd7e19899c2cb32c23fcc664f2cfe8ce
2023-02-14 21:15:53 -06:00
althafvly
9a431a2322 dre: Inherit launch_with_vendor_ramdisk for vAB
- sm4350 devices have a vendor_boot partition

Change-Id: I5c344890bc12ee769e2f27369a4151b469271a51
2023-02-10 10:06:43 -06:00
Dan Pasanen
3bae34ec95 dre: Enable config_vibrateOnIconAnimation
* Need those sexy vibes.

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
2023-02-10 10:06:43 -06:00
Michael Bestas
6ee40466e6 dre: Compile the kernel without GCC
Change-Id: I882c0d8600f88c1bb939c7ee247230ec5e70338a
2023-02-10 10:06:43 -06:00
jabashque
2a0087a04c dre: Disallow aux cam usage for Zoom
Zoom seems to try using camera ID 2 for the back camera instead of
camera ID 0. Block access to aux camera for Zoom to force it to use
camera ID 0 for the back camera.

Change-Id: I99d79259a2a3adefb72a5ffed5fbbb37bd8b756d
2023-02-10 10:06:43 -06:00
LuK1337
4831b7afb9 dre: Migrate vendor.camera.aux.packageexcludelist to overlay
Change-Id: Iee884cc98b5fada492b27e8085de98ae08406cf4
2023-02-10 10:06:43 -06:00
Bruno Martins
08cc2b73e0 dre: Create IMS symlinks
Change-Id: I25d011323268b2f25c98e38441df633fb91e0715
2023-02-10 10:06:43 -06:00
Aaron Kling
d500a981a2 dre: Remove references to a2dp module
APM would fail to parse the config anyway:

  E DevicesFactoryHAL: loadAudioInterface couldn't load audio hw module audio.a2dp (No such file or directory)
  W DevicesFactoryHalHidl: The specified device name is not recognized: "a2dp"
  E AudioFlinger: loadHwModule() error -22 loading module a2dp
  W APM_AudioPolicyManager: could not open HW module a2dp

Change-Id: Iaa1be881cfe8f8474cef0ba46e1b0a62b59e14be
2023-02-10 10:06:43 -06:00
Bruno Martins
29eeb7cafd dre: Switch to AOSP BT stack
Change-Id: Ice6c2b0735aa7cb4b2e638a794c778883e706c97
2023-02-10 10:06:43 -06:00
Bruno Martins
2cd76d66b2 dre: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2022-12-15 18:50:53 -06:00
Michael Bestas
5bedce0348 dre: Fix disabling A2DP offload
Change-Id: I49c717a19afb2491b6280670fdbfe8765813a4dc
2022-12-15 18:50:53 -06:00
Bruno Martins
535982b6d4 dre: Ship dependencies for S blobs
Change-Id: I36f92cf324ee0b1379e224b8a4415c4886bc2d11
2022-12-15 18:50:53 -06:00
LuK1337
fd763c826c dre: Pull appropriate USB props from vendor_product.mk
Change-Id: I93b25c5d0989c83d1c8d7b7946a083771febdddd
2022-12-15 18:50:53 -06:00
Alexander Koskovich
92081d81fd dre: Update device that aptX is pulled from
* Same SHAs, but nice to note that it's the same on
   the newest release available.

Change-Id: I5c862470ac6f54251c8fa61984c734a51d89a750
2022-12-15 18:50:53 -06:00
Michael Bestas
2852296ff8 dre: Remove persist.sys.fflag.override.settings_bluetooth_hearing_aid
This has been replaced by `bluetooth.profile.asha.central.enabled`

Change-Id: I0bb72ec01a77f790ebeb594e45c695e9a087dc43
2022-12-15 18:50:53 -06:00
Alexander Koskovich
dbb445de25 dre: Move Bluetooth power overlays to sysprops
* These were moved to sysprops in Android 13 [1] and while
   frameworks reads the values directly from power_profile.xml
   Bluetooth app reads from the properties.

 [1] 976d33062b%5E%21/#F0

Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5
2022-12-15 18:50:53 -06:00