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
Alice Kuo
053210fbd1
dre: Disable LE audio related profiles
...
Bug: 231671426
Test: build
Change-Id: I57eaa7abe70e4c7739c707b09dc95530e10b5586
2022-12-15 18:50:53 -06:00
Sal Savage
30669050a8
dre: Use the ?= operator so BT properties can be overridden
...
System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.
Bug: 230638462
Test: adb shell getprop | grep bluetooth
Merged-In: Ie29700e8b87f6f3fc2da741411dfbe94fa56ca36
Change-Id: Ie29700e8b87f6f3fc2da741411dfbe94fa56ca36
2022-12-15 18:50:53 -06:00
Sal Savage
f6ad7132cd
dre: Set default the Bluetooth class of device
...
The class of device is a string with a list of uint8t values:
90,2,12
The meaning is as follows:
{Service Field, Major class, Minor class}
Service Field: 0x5A -> 90
Bit 17: Networking
Bit 19: Capturing
Bit 20: Object Transfer
Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)
Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct
Merged-In: I75a6fb83a6149f58372b7aa46ccc190fd4451ab0
Change-Id: I75a6fb83a6149f58372b7aa46ccc190fd4451ab0
2022-12-15 18:50:53 -06:00
Sal Savage
8cc553454c
dre: Update LE Audio profile properties
...
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Merged-In: I0d23d92ae4d75d6658c2ab2ca25122dd5ac68300
Change-Id: I0d23d92ae4d75d6658c2ab2ca25122dd5ac68300
2022-12-15 18:50:53 -06:00
Alexander Koskovich
4fe805701c
dre: Move BT profiles props to vendor
...
* Makes it GSI compatible
Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2022-12-15 18:50:53 -06:00
Sal Savage
7a5ee8c328
dre: Enable Bluetooth profiles with product.prop
...
Bug: 217448211
Test: make -j
Merged-In: I0a76275baf2c80894b6be71d79b3265021ac921b
Change-Id: I0a76275baf2c80894b6be71d79b3265021ac921b
2022-12-15 18:50:53 -06:00
Woody Lin
b7798f1084
dre: Enable zygote critical window
...
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2022-12-15 18:50:53 -06:00
Edwin Moquete
7f8e345483
dre: Switch to legacy sepolicy_vndr
...
Change-Id: I13229c3057bf32c81b0fdace075f0791cb8ad380
2022-12-15 18:50:53 -06:00
Bowgo Tsai
59fb32fef9
dre: Removing GSI keys
...
Those keys will be embedded into VtsSecurityAvb on host side
instead, to verify the GSI image used on the device.
Bug: 149806769
Test: build and checks those keys are removed from
$OUT/recovery/root/first_stage_ramdisk/avb/
Change-Id: I8a002ba6f1421fb460056ccae6572050bdb0ce3c
2022-12-15 18:50:53 -06:00
Albert Tang
859d381258
dre: overlay: Remove keyguard_indication_margin_bottom
...
This was mainly for UDFPS, which we do not have.
Change-Id: I5d6c984328d50515498d48fd1926c581fb61f7f2
2022-11-06 17:12:05 -06:00
Albert Tang
b9d9126ad0
dre: init: Load WLAN module during boot
...
Change-Id: I358d8e580996f9c5eb0bbd60f523ffcf160aea39
2022-11-06 17:12:05 -06:00
Albert Tang
4292f08385
dre: nfc: Use modified libnfc-hal-st.conf
...
Change-Id: I1c30f5d9e5a7212dfcda8cab168fb9d7eaccd1eb
2022-11-06 17:12:05 -06:00
Albert Tang
0a5706caf6
dre: audio: Fix audio policy configuration
...
Change-Id: I671912f888065474b85eb8515193a18abb8bed12
2022-11-06 17:12:05 -06:00
Albert Tang
adaa58d2ca
dre: Update from OOS 11.C.16
...
Change-Id: Iadfe003a3ee0a7303de279debbd1708238877bf1
2022-11-06 17:12:03 -06:00
Albert Tang
5d02516f7a
dre: Switch to oplus fingerprint HAL
...
The generic fingerprint HAL no longer works here.
Change-Id: Ibe16dd5f1e5c30de179c034e15b68ffb4a6f72ec
2022-11-06 17:11:02 -06:00
Albert Tang
da0d89af57
dre: overlay: Decommonize and restore from DE2117_11.C.15
...
Change-Id: Ib311d07854c7168668bd5d22d8c78eab74ac5af5
2022-11-06 17:11:02 -06:00