Commit graph

850 commits

Author SHA1 Message Date
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
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
althafvly
689ab738cb dre: sepolicy: Remove debugfs related rules
- Removed from sepolicy_vndr

Change-Id: Ifd65abd0292577ec050904265310f17b86e10899
2022-08-31 11:14:08 +05:30
Albert Tang
96121babc7 dre: sepolicy: Redo health nodes
This should fix the battery gauge not updating at all.

Change-Id: Iacc0a89bad03d4490948d8aff069073bd22ba5c9
2022-07-25 20:15:57 -05:00
Albert Tang
03fe31d9d8 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
2022-07-18 14:38:43 -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
e9076c14d6 dre: Remove hash for vendor.qti.hardware.camera.postproc impl
Change-Id: Ia004d81a7e99a9c23d763ef89d580e5edae168a0
2022-07-15 17:30:24 -05:00
Albert Tang
8d72ba5ea1 dre: Revert "sm8350-common: Autopatch vendor.qti.hardware.camera.postproc impl"
Not needed, as the method call to be patched out is not present.

This reverts commit c5ef1cac3b.

Change-Id: I28a054b13a2f192e020af14b7885977f786a2fb6
2022-07-04 16:07:54 -05:00
Albert Tang
fedebef567 dre: Reorganize and cleanup BoardConfig and device makefiles
Change-Id: Ic5dd33de9cb9ba54b929cb252fe2a0e33c83c2ef
2022-06-14 20:07:01 -05:00
Jimmy Chen
652ecac63f dre: Move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2022-06-14 20:06:15 -05:00
Albert Tang
d736c9340f dre: sepolicy: Fix flashlight
Change-Id: I95ebf14ffaae81b28204505d23ee448213c23bea
2022-06-14 20:05:00 -05:00
Alexander Koskovich
0d269abc59 dre: sepolicy: Allow update engine to flash oplusstanvbk
* Needed when payload.bin contains oplusstanvbk.

Change-Id: I5139aff2b0152790e1ebf8c598fc99c0f00fd21d
2022-06-13 16:31:47 -05:00
Albert Tang
e3efd3e14c dre: Align status bar with camera cutout
Change-Id: I913879c595011b8d9775d95cb0015b78ab4f3183
2022-06-13 15:43:47 -05:00
Albert Tang
aa5a3c68d7 dre: Enable automatic refresh rate switching
Change-Id: Idfed67ca24da746207e911ebb80e5c2e0481b5dc
2022-06-13 10:36:54 -05:00