Commit graph

867 commits

Author SHA1 Message Date
Alexander Koskovich
73bd7212e4 dre: Drop QSPM vendor property
* Only used in system_ext libraries that we don't include.

Change-Id: I5ddcb48558df9b396cf4753aca9044978d3ddcb5
2022-10-11 08:31:24 -05:00
Alexander Koskovich
45d6b0b943 dre: Drop PASR properties
* vendor.power.pasr.enabled is unused and vendor.pasr.activemode.enabled
   is only used on property:vendor.pasr.enabled=true, which isn't the
   case since we disable memory hotplugging kernel.

verify_pasr_support()
{
         if [ -d /sys/kernel/mem-offline ]; then
                setprop vendor.pasr.enabled true
         fi
}

Change-Id: I73145cb15bd970eaec3bd96f87a48c44e3115a3b
2022-10-11 08:31:24 -05:00
Alexander Koskovich
13c31dcd58 dre: Drop shutdown wait time property
* Can't find anything that uses it.

Change-Id: I146158a8f37fb888a3ae88e5241ab68f62d69194
2022-10-11 08:31:24 -05:00
Alexander Koskovich
b2de3cc369 dre: Drop vendor camera properties
* Unused, at least for us.

Change-Id: Icf0f599db2ed1d19be2a93f3ee362686333a2792
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
Alexander Koskovich
5a36ce2a00 dre: Sync audio properties with QSSI & MANNAR
* Remove all values that are assumed false.

Change-Id: I8885cb0af27c66aabdc4b2561e0eef48c60220cd
2022-10-11 08:31:24 -05:00
Revathi Uddaraju
ca1f276b3d dre: Enable multi-stage SVA
Change-Id: I5bced49059bb5d98c647e7688899a1314ef1571d
2022-10-11 08:31:24 -05:00
Alexander Koskovich
165f9ed5ec dre: Remove virtual framebuffer
* It's largely for testing purposes and it consumes
   a large amount of memory. If your hardware doesn't
   have graphics then it can be useful, which isn't the
   case for shipped devices.

Change-Id: I2348718ad3afba846498572161fa7e83dd8b7ce9
2022-10-11 08:31:24 -05:00
Etan Cohen
51993dba27 dre: overlay: Depend on carrier provisioning for WFC
Change-Id: I2cdeb1e39a68922dc8489998f65dcc6c891da31c
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
LuK1337
cf7ca4e244 dre: overlay: Disable AOD by default
Change-Id: I474ec8ab718140c30c1032adca6946461bba593e
2022-10-11 08:31:24 -05:00
Pavan Kumar M
eb6ffeace8 dre: hidl: Add v1.0 MwqemAdapter HIDL entry
Change-Id: I78a1b779d762f34856215397d879908df748fa3c
CRs-Fixed: 2823635
2022-10-11 08:31:24 -05:00
Alexander Koskovich
edf1762796 dre: Update IMS from SKQ1.220303.001
* Closest QSSI tag is LA.QSSI.12.0.r1-06800-qssi.0.

Change-Id: Ief930b8b8eae1da02cc22185e3709c53ee69ca70
2022-10-11 08:31:23 -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
7919db86e7 dre: overlay: Import CarrierConfig changes from DE2117_11.C.15
Change-Id: If5dbeed7534c80db6712044e6898f59b11f17941
2022-10-11 08:31:23 -05:00
Alexander Koskovich
a438632768 dre: overlay: Use CarrierConfig DTMF & CSP booleans
* Overlays were deprecated awhile ago for these.

Change-Id: I51b70aa15f128186063ce52446cb67715a957185
2022-10-11 08:31:23 -05:00
Jake Weinstein
6d68cf9ffa dre: overlay: Disable global mode and CDMA choices
* Cleans up mobile network settings.

 * CAF already disables world mode in CarrierConfig
   which is the proper way to do it, so remove the
   overlay entierly since it's deprecated anyways.

Change-Id: Ib331062fa77a18661bbfcd1a49f62ddf9144228c
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
ee67669b42 Revert "sm8250-common: enable unspecialized app process pool"
* Does not appear to work anymore, denials all over.

This reverts commit e6554e26d6.

Change-Id: I16e4c5bbad3a443e7b69b669f173d5869b29c633
2022-10-11 08:31:23 -05:00
Mohammad Asaad Akram
028a88312d dre: Enable asynchronous library events in WPA supplicant
Change-Id: I3b028afa54605bd57d9fb5700d792cb9e5e0e76f
2022-10-11 08:31:23 -05:00
Etan Cohen
c23823da98 dre: Declare WiFi Aware support to WiFi HAL
* The Wi-Fi Aware feature added in Android 8.0 enables
   supporting devices to discover, connect, and range
   (added in Android 9) to one another directly using
   the Wi-Fi Aware protocol without internet or cellular
   network access.

 * This feature, built upon the Wi-Fi Alliance (WFA) Wi-Fi
   Aware specification (versions 2.0 and 3.0), allows easy
   sharing of high-throughput data among trusted devices
   and apps that are otherwise off-network.

   https://source.android.com/devices/tech/connect/wifi-aware

Change-Id: I18ff20e7466b8e8fd598381b730fb7db391e9ad4
2022-10-11 08:31:23 -05:00
Christopher N. Hesse
90a2a607e6 dre: Enforce vendor tree presence
A compiled build has no chance of booting without the prebuilt
binaries, so fail the build if those are not present.

Change-Id: I8124a5f92a75490ce48422b9d760764733efe37e
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
Naman Padhiar
1357bcf66f dre: init: Bring WPSS out of reset on init
Change-Id: Ia7e6d0644102147a56869d22de5d26faae3cbb63
2022-10-11 08:31:23 -05:00
Alexander Koskovich
a99a36b875 dre: Move properties to their respective partitions
* They don't have permission to be set otherwise.

Change-Id: I63aa83d0ff316c5fe0c90df85f0951c4d3a19e06
2022-10-11 08:31:23 -05:00
Alexander Koskovich
4f1bc6a399 dre: Sync properties with OOS
Change-Id: I7b53d83d9acd46fd91f842f552338952a95f86d3
2022-10-11 08:31:23 -05:00
Alexander Koskovich
ae5da56035 dre: Copy PFM licenses to persist
* This is read by the feature enabler client. OOS already
   does this but we want to make sure we're doing this for
   users upgrading from Lineage 18.1.

Change-Id: I1d112d9cea6f3d0e87cdf12898587c7bacf8de9c
2022-10-11 08:31:23 -05:00
Alexander Koskovich
76847dfb0f dre: init: Set 'ro.separate.soft' to project name
Change-Id: I4ae6281c323a68e0f21af5b0c4e2a578fe80794a
2022-10-11 08:31:23 -05:00
LuK1337
ef5d44adaf dre: Regenerate config.fs
Change-Id: I73e85d9d33f87dafef930bad0c2d7c08ef31d7c2
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
LuK1337
bbcb64a0ce dre: Switch doze to android.sensor.tilt_detector
Change-Id: Ieb91a64f7e03f6d4a6e755c35c68054817e858f2
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
273c9562ff dre: init: Use the same PID/VIDs from OOS
Change-Id: Ieaa52f748c75272b80fa6f3e7018cdb71e3a2f7f
2022-10-11 08:31:23 -05:00
Albert Tang
c6a5802e47 dre: init: Add st21nfc device entry
Change-Id: Ie55b061c1a5cc695e487690feea22245f18c418a
2022-10-11 08:31:23 -05:00
Alexander Koskovich
51ba5a3de2 dre: init: Add oplusreserve1 ueventd entry
Change-Id: I3aa6e23e38d9e525e0e1d823e0933ab81c8f81af
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
6d5dddd02a dre: Add oplus_sensor_fb
Change-Id: I289d5e3270fe0b3e8b185b4bf22f1d9c59209f48
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
5ba23790d0 dre: init: Add vendor_dlkm fstab entry
Change-Id: Id265ea956fd8d9d3ea7b598f960b9eede07a921e
2022-10-11 08:31:23 -05:00
Jimmy Chen
b9667921a4 dre: Move WiFi supplicant service definition to dedicated RC
Change-Id: I7c448ecb511a738903ebe3702fefdf2cb13c3be3
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
Alexander Koskovich
5dc7536c35 dre: Add rest of QTI scripts to proprietary-files
* We won't be touching these.

Change-Id: Iec07925125b8fc27e807dea635ef2b17f5c7898b
2022-10-11 08:31:23 -05:00