Commit graph

865 commits

Author SHA1 Message Date
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
Albert Tang
0246645893 dre: Move SurfaceFlinger properties to vendor.prop
Change-Id: I6a7aff873e528ad3bcd859547492694de142f605
2022-06-13 10:36:54 -05:00
Albert Tang
88601fee6c dre: Disable the serial console
Change-Id: Ie156b3aef3128f2adbc875f3ea5b6f13f0df7888
2022-06-13 10:24:35 -05:00
althafvly
f20c9d1520 dre: overlays: set physical location of side fps
- we have fps on power button, so same values

Change-Id: Ieec34eef8c5a26b075da1314445b2b06391ec7b4
2022-06-10 22:30:47 -05:00
Albert Tang
0d0657c07d dre: Declare power button as fingerprint sensor
Change-Id: I326e6c514cce00dad562d46bb4721bb3a2ddeaa4
2022-06-10 22:30:12 -05:00
Albert Tang
2f13abf6d5 dre: Set voice call volume steps to 9
Change-Id: I3ae8d2466aaaa563b2aa10e3675608bc68976591
2022-06-10 22:30:12 -05:00
Alexander Koskovich
845d1950c9 dre: Disable QCOM system daemon
* For factory use only and has real performance costs.

Change-Id: I2d25c28c2ba146fa4464cb49f02ead6a6d787b48
2022-06-10 22:30:12 -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
b5eeaf89ed dre: Add WCN vendor props
While we are at it, correct the wifi module name too.

Change-Id: I546477ef194efb9fa2e94f195ddc0ff0242b8a90
2022-06-06 21:01:30 -05:00
Albert Tang
f651de3a0d dre: sepolicy: Add new sysfs health nodes
Change-Id: I0160abf0d9f2adc1877726a7672e9d313afc8aad
2022-06-06 21:01:30 -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
a00313b8fa dre: Remove support for wireless charging.
The Nord N200 does not have this feature.

This reverts commit dc568fa506.

Change-Id: I27468e57453bb433f36b852c0f10c857db1d53de
2022-06-06 21:01:30 -05:00
Albert Tang
aa630780b5 dre: sepolicy: Redo sysfs nodes for wakeup
Also edit sysfs nodes for livedisplay_tunables.

Change-Id: I10239dd4710cd38ddc323a18cdd857b3526b4dc6
2022-06-06 21:01:30 -05:00
Albert Tang
10739e6f80 dre: sepolicy: Fix block and thermal data paths
Change-Id: Ie8c730a95898499f548239c67f37e5ff47578b3e
2022-06-06 21:01:30 -05:00
Albert Tang
40c5487ca9 dre: sepolicy: Remove OP charger feature
OnePlus does not ship their DASH/Warp Charging feature with the N200.
Their 18W block is most likely just a rebranded QTI charger.

Change-Id: I176b3bd91877943f76b0db6e146ea845e0bf2d55
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
2e43ab76f9 dre: Sync properties with OOS 11.0.6.0.DE17AA
Change-Id: I5a95e81a3baa4d3b7acd7b538796298565c01dfd
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
35633e4a49 dre: Drop ro.gfx.driver
Neither of these exist in stock OOS.

Change-Id: Id37646e1c357b23782606acd6fb17eb5b034c2a2
2022-06-05 18:26:10 -05:00
Albert Tang
e32b6d0ef5 dre: Do not specify sepolicy version in manifest
Change-Id: I6918598f7c74b082d17e1f0fd8202d652187f7a6
2022-06-05 18:26:10 -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
9616129e96 dre: Remove Iris display features
Change-Id: I97fbae7764f15051dfab42f1a5b2b92c8879c60e
2022-06-03 17:40:51 -05:00
Albert Tang
a925fae1c0 dre: Remove Fingerprint-On-Display (FOD)
The N200 does not have this feature.

Change-Id: I98345722d6d4096d922b3c7f8b829bb80307f9fa
2022-06-03 17:40:51 -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
47a821ffae dre: Update Wi-Fi configs from OOS 11.0.6.0.DE17AA
Preserve read_mac_addr_from_mac_file while we are at it.

Change-Id: I810e8cbf8755849b8ad2cdd9823e4627d0355408
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
2dcbb46030 dre: Checkout cmdline from LA.UM.9.16.r1-10900.MANNAR.QSSI12.0
Change-Id: Ic26198cb01d9feaab95823ed03d0007a6d218a76
2022-06-03 17:39:47 -05:00
Albert Tang
9193d5afe8 dre: Update GPS configs from OOS 11.0.6.0.DE17AA
Change-Id: Ied19b3f8a9e01c9b15c7a6265716f8c2c430393d
2022-06-01 22:16:26 -05:00
Albert Tang
7df199a10c dre: configs: Replace lahaina media codecs and profiles with holi
Change-Id: I390ed91f0c100f2bd6452e3062332be9887ce9f4
2022-06-01 22:16:26 -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
375c1cfe9e dre: overlay: Set default peak refresh rate to 90 Hz
The N200 has a 90 Hz screen.

Change-Id: I54071549d14c008c277ad5e2dff768f2a8c62d68
2022-06-01 22:16:26 -05:00
Albert Tang
ff0855c048 dre: overlay: Import status bar padding from lemonade
Change-Id: Ic11fc75801533038b6a1fb5353d8cea21eb9b9d0
2022-06-01 22:16:26 -05:00
Albert Tang
c885d97707 dre: Import rounded corner setup from lemonade
There does not seem to be any differences between the 9 and N200 for
rounded corners, so we will just import those.

Change-Id: Ibfc43ebb95a802aaa5bbb7f34afb92ceb1027b3e
2022-06-01 22:16:26 -05:00
Albert Tang
5b22cf4631 dre: overlay: Import stock power profile
Change-Id: I08656ff41fef64dc62590089b2a28f19d8686a73
2022-06-01 22:16:26 -05:00
Albert Tang
5ee22fbe22 dre: Add fwb dimensions
Change-Id: If3840d18aa2b6eb55cfe0eb7e75c1dce2660d2f1
2022-06-01 22:16:26 -05:00