Commit graph

37 commits

Author SHA1 Message Date
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
Albert Tang
4844942afc dre: Update init scripts from OOS 11.0.6.0.DE17AA
Change-Id: I110d64343f2aa3e44e95238e28e42db48382a1c7
2022-06-03 17:40:51 -05:00
Albert Tang
1ec22b2d21 dre: Inherit dalvik VM config for phones with 4 GB of RAM
Change-Id: I59927c94dbbf08ac596136f68ed26f9d0d967aa8
2022-06-01 22:16:26 -05:00
Albert Tang
ab3a259438 dre: Import mixer paths from OOS 11.0.6.0.DE17AA
Change-Id: I929d9ab4bb3ab5b50bb55ae47964cda8734e95de
2022-06-01 22:16:26 -05:00
Albert Tang
620d3be334 dre: Initial device tree conversion and decommonization
Added properties taken from lemonade and modified for dre.

Change-Id: Ibac1a345547184d7dc6e231ce9b867c457d6b576
2022-06-01 22:09:03 -05:00
Renamed from common.mk (Browse further)