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
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
4292f08385
dre: nfc: Use modified libnfc-hal-st.conf
...
Change-Id: I1c30f5d9e5a7212dfcda8cab168fb9d7eaccd1eb
2022-11-06 17:12:05 -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
Alexander Koskovich
f5ba6792a2
dre: overlay: Move OPlusWifiResCommon to hardware/oplus
...
Change-Id: I0751a3271fcdeed3a5e43cf37ae49f67f75285b4
2022-11-06 17:11:02 -06:00
Alexander Koskovich
6db1973e9a
dre: Update to Boot Control HAL v1.2
...
Change-Id: Ib5d06c9b0c7e2ed000eb03a9bf18e4d78cc8740d
2022-11-06 17:11:02 -06:00
Michael Bestas
28bd6e8beb
dre: bootctrl: Remove bootctrl.holi target
...
* This is no longer used after switching to QTI 1.1 impl
Change-Id: Id770b77da62c3b16eaea83cec366b299b1ea49d2
2022-11-06 17:11:02 -06:00
Alexander Koskovich
8a48076979
dre: Disable WiFi Aware & RTT for unsupported target
...
* Lahaina is supposed to be a supported target, but
some CTS tests fail. Oplus also disables these in
OOS.
Change-Id: I5921e0f4ecb2140a5610059bdd16cc6e99d7d725
2022-11-06 17:11:02 -06:00
hpnightowl
4060e892f5
dre: Drop audio.a2dp.default
...
-
5be591a6f6
Change-Id: Ib71c1abd381468ec3621d60e5ca959f738f51168
2022-11-06 17:11:02 -06:00
Albert Tang
fa0473e516
dre: Move GNSS files back to proprietary-files.txt
...
They won't be edited, so don't store them locally.
Change-Id: I4fb340553442e1ddaf09c9ea81743c0745999e1a
2022-10-11 08:31:24 -05:00
Alexander Koskovich
61cd2f935a
dre: Import GPS configuration from DE2117_11_C.15
...
Change-Id: I64c78ddc6af425117af8dd85f2fc9a49ac3bb942
2022-10-11 08:31:24 -05:00
Alexander Koskovich
7d1a1c52a7
dre: Switch to SPDX license identifiers
...
* Might as well be consistent.
Change-Id: Ib95789a0286785ba3b0b6df265291e87a13d2ef8
2022-10-11 08:31:24 -05:00
Alexander Koskovich
0225f34c01
dre: Drop some audio packages
...
* All of these are implied, except libcirrusspkrprot
which was removed as we are not using any Cirrus
hardware, and even hardware supported by it is hard
to find in production.
Change-Id: Iad7824105bd2c22899365f8a5fc0a9e73d36beda
2022-10-11 08:31:24 -05:00
Glen Kuhne
54eee440db
dre: overlay: Set default hotspot SSID prefix
...
Change-Id: I2b5310c2acfd4e0110244fb17cf6bd5552bf81d7
2022-10-11 08:31:24 -05:00
Alexander Koskovich
22fa99ecf3
dre: overlay: Import relevant custom changes made prior to RROs
...
Change-Id: Id3e5c5548088209a2459217dcdfe78fb59ff7221
2022-10-11 08:31:23 -05:00
Alexander Koskovich
380b359fd0
dre: Import cleaned MANNAR RROs from DE2117_11.C.15
...
Change-Id: I6c668a7fb81fbe69fbdb9c75725bb586010c75d9
2022-10-11 08:31:23 -05:00
Alexander Koskovich
7a78cdb010
dre: Pick up QSSI overlays from hardware/oplus
...
Change-Id: I796c4ca9939a70f7917303d509a51dba150f5174
2022-10-11 08:31:23 -05:00
Alexander Koskovich
3250dfc3de
dre: Import CarrierConfig RRO from DE2117_11.C.15
...
* Remove anything that the value is already the default,
or deprecated.
Change-Id: I597a93b580754a7fde51d051accfffca54c22482
2022-10-11 08:31:23 -05:00
Alexander Koskovich
7bc48ae239
dre: overlay: Atomize
...
Change-Id: I972d46e1dafb03b42249193fd033e91c4e3b3bc5
2022-10-11 08:31:23 -05:00
Albert Tang
8d724e7675
dre: Cleanup BoardConfig and packages
...
Change-Id: I050052f6249fa3348038dd9536c11a3931acf95c
2022-10-11 08:31:23 -05:00
Alexander Koskovich
09f5250dc9
dre: Drop PRODUCT_BUILD_SUPER_PARTITION
...
* Super image is not generated by a default 'm' build,
but we at least want it for dist builds.
Change-Id: Ia12a5314632509fcd309d51ddf757efdc37499c3
2022-10-11 08:31:23 -05:00
LuK1337
b4cde8f64f
dre: Remove audio_amplifier.holi from PRODUCT_PACKAGES
...
No longer needed.
Change-Id: Iff01273b155a10510a63927326294f45c178c862
2022-10-11 08:31:23 -05:00
LuK1337
bc48b8ea85
dre: Remove wifi-mac-generator
...
No longer needed.
Change-Id: I68bf87be2a8613e6c83ed71ea5b9c4b832e4dba7
2022-10-11 08:31:23 -05:00
Albert Tang
7ac8b2e584
dre: Update audio configuration from DE2117_11.C.15
...
Change-Id: I4b05937d5e853e836b2735838b7f7e86ff4761f4
2022-10-11 08:31:23 -05:00
Alexander Koskovich
03b3625313
dre: Switch to hardware/oplus
...
Change-Id: Ifb472cf1cd5f4c198394de41bc5d337d1f066b16
2022-10-11 08:31:23 -05:00
Albert Tang
af2cf817e7
dre: Remove building audio HAL 4.0
...
This was needed by sensors.ssc.so in OOS 11, but not in OOS 12.
Change-Id: I32f82433d74ccffb5cae78846117b1f59c8eaaac
2022-10-11 08:31:23 -05:00
Alexander Koskovich
a8fffbcca3
dre: Update WCNSS configuration from DE2117_11.C.15
...
* OnePlus reads MAC address from QMI DMS now.
* Since that was the only custom change, move back
to proprietary files.
This commit is a partial revert of 83d0538609
.
Change-Id: I9e89def5258f9085e7169a1a6753cbdabd1d548c
2022-10-11 08:31:23 -05:00
Alexander Koskovich
234c55f48c
dre: init: Load WiFi firmware from ODM
...
Change-Id: Id18a7aea8d38a62bb871f588d3620583a0e4e562
2022-10-11 08:31:23 -05:00
Alexander Koskovich
3deb110867
dre: init: Chown used display nodes
...
Change-Id: Iea4985c06e6094464b5b5dfa7a06294e895a9971
2022-10-11 08:31:23 -05:00
Alexander Koskovich
34a40e275c
dre: Pick up USB configurations from QCOM
...
* If we want to override anything in particular, e.g.
PID/VIDs we will create a seperate script named
'init.oplus.usb.rc'.
Change-Id: I83882d8992eb367211871130c163f4ca5689fcd4
2022-10-11 08:31:23 -05:00
Albert Tang
fd363c65df
dre: Import QCOM scripts from LA.UM.9.16.r1-10900-MANNAR.QSSI12.0
...
Change-Id: I351b26ce78e4a40475eecdbee438e33cd52e5d08
2022-10-11 08:31:23 -05:00
Alexander Koskovich
8170122ba9
dre: Nuke rootdir from orbit
...
Change-Id: I163b5a68e2791ba379add991bf68cd171e722ba0
2022-10-11 08:31:23 -05:00
Albert Tang
b0d5291408
dre: Update blobs to Android 12 (DE2117_11.C.15)
...
Change-Id: Ie768fe44ebb2c09218a805de674e45f96ab7d12b
2022-10-11 08:31:07 -05:00
Albert Tang
5bb147a914
dre: Move WCNSS config back to proprietary files
...
read_mac_addr_from_mac_file has no effect, thus making such modification
unnecessary.
Change-Id: I30120867953fb2c24933837c81d21b1a3d59ebe9
2022-07-18 14:38:43 -05:00
Albert Tang
8abcf2d6c7
dre: Use local version of wifi-mac-generator
...
MAC_1_PATH does not exist in the N200, causing a 10-second delay in
generating MAC addresses. By that point, the WLAN driver has already
failed to get a MAC address, thus leaving Wi-Fi broken.
Change-Id: Iab2d34aa9db9e8843108b90b203e82f915c79bda
2022-07-18 14:38:43 -05:00
Albert Tang
63af35b020
dre: Build st21nfc from source
...
Change-Id: I9dfcba67ec51702050a0834375054d0a495c740c
2022-07-18 14:38:43 -05:00
Albert Tang
fedebef567
dre: Reorganize and cleanup BoardConfig and device makefiles
...
Change-Id: Ic5dd33de9cb9ba54b929cb252fe2a0e33c83c2ef
2022-06-14 20:07:01 -05:00
Albert Tang
0246645893
dre: Move SurfaceFlinger properties to vendor.prop
...
Change-Id: I6a7aff873e528ad3bcd859547492694de142f605
2022-06-13 10:36:54 -05:00
Albert Tang
7f5a985687
dre: Import audio configs from LA.UM.9.14.r1-19200.02-LAHAINA.QSSI13.0
...
The SM8350 audio HAL has SM4350 configuration files, so we will just
import those.
Any configurations not imported from there were pulled from OOS 11.0.6.0.DE17AA.
Change-Id: I2bed70eba6b08d63b3bcc15c93ed1fc54ea0a770
2022-06-10 22:29:42 -05:00
Albert Tang
f60e1d5110
dre: Switch to generic QTI vibrator
...
Change-Id: I12159fced7097084b2ed80c2d20f12aeb23ebf0c
2022-06-06 21:01:30 -05:00
Albert Tang
50ca8fb110
dre: Remove PowerShare HAL
...
This feature relies on wireless charging capabilities, which the Nord
N200 lacks.
This reverts commit d2493c7765
.
Change-Id: I44753bd51d3f1a812999607ae67bc431b561f750
2022-06-06 21:01:30 -05:00
Albert Tang
1a73073a2f
dre: Sync permissions with OOS 11.0.6.0.DE17AA
...
Change-Id: I41d0d27c45ef5d3f3392c8619d914c3a8fff9cb7
2022-06-06 21:01:30 -05:00
Albert Tang
79d957ce67
dre: Use OSS ST NFC
...
OnePlus chose to go with ST21NFC instead of NXP.
Change-Id: I48765e548cd018a2420fe00994aecd48c4ca9227
2022-06-06 21:01:16 -05:00
Albert Tang
7ef0ff78eb
dre: Switch to generic fingerprint HAL
...
The fingerprint HAL in hardware/oneplus is mainly for devices
with FOD, which the Nord N200 does not support.
ID mismatches will make the generic HAL fail, so hack the goodix
blob to fix it.
Change-Id: I0724569ed1105d8c63075286987ad56ea0ecd078
2022-06-05 18:22:39 -05:00
Albert Tang
14c4279118
dre: Remove KeyHandler
...
The N200 does not have an alert slider, making KeyHandler useless to us.
Change-Id: I9589b730172b3fc79070d75b8183fe9f92447a6e
2022-06-03 17:40:51 -05:00