101 Commits

Author SHA1 Message Date
Michael Bestas
f8310f0951 lemonadep: Add missing build description override
Change-Id: Ic0a73afba299901a3d93873eb525e6dd7122bc8a
2022-06-30 14:10:38 +02:00
LuK1337
83bf030014 lemonadep: Ship lvimfs params files
Change-Id: Iaa653c71094f0cbadcb50692de0a9296d1b006e9
2022-06-27 17:33:59 +02:00
LuK1337
fbcee36726 lemonadep: Copy audio configs to /odm as well
This is required for stock audio HAL

Change-Id: I568373e6096fd3c755550871bc6c5b50048d1794
2022-06-27 17:30:21 +02:00
shawnlin
6321ae0241
lemonadep: Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: I0bf97352bc07e45d7694f9512266f08e7139c103
2022-06-11 23:06:14 +03:00
LuK1337
14aed49c1f lemonadep: audio: Override ACDB ids for VoIP mic AEC_NS too
It seems like we use these with current audio setup.

Change-Id: I005f1c2cd56247784b1afb0f27984ec88e275317
2022-06-11 21:49:58 +02:00
LuK1337
1a3138b75e lemonadep: Sort blobs list /w sort-blobs-list.py
Change-Id: I197c6353dc50baf4ee76ed6ebf083dc00879bd96
2022-06-09 18:19:26 +02:00
Juhyung Park
801ac335dd lemonadep: Relax refresh rate timers
* 80/200 causes excessive switchings and overhead may
   be more apparent during switchings. Relax it a little
   bit to 250/300.

Change-Id: I6a799881b35bea2e4030b5d67608bed788e9f801
2022-06-07 19:42:33 +01:00
Juhyung Park
f736f71718 lemonadep: Set refresh rate timers
* LTPO display on the OnePlus 9 Pro doesn't have
   apparent gamma shifts.

Change-Id: I3aa9bfc6209eb89456613229ed4cdc2d1fe2c725
2022-06-07 19:42:33 +01:00
LuK1337
d77cb88914 lemonadep: Add voice-dmic-ef-hac route
Missed during LE2125_11.C.48 import.

Change-Id: Id378807a9c4d4124a45a20fb1a4e8b4fca20d6c4
2022-06-04 09:49:27 +02:00
Alexander Koskovich
d45f754263 lemonadep: Move device specific audio configurations from common
* As of LE2125_11_C.48.

Change-Id: Ief2f6860b4ac0e400b196938a1ca90fb5ecae241
2022-06-04 09:49:27 +02:00
Alexander Koskovich
65f6e3c070
lemonadep: Alphabetically sort makefiles
Change-Id: Ie31e1c256e096f578b27f04a0087af46ff0c4b39
2022-05-30 21:10:31 +03:00
Michael Bestas
8bf6efd855 lemonadep: overlay: Use smaller status bar in landscape
Change-Id: I8177887d4c8665d4fd6725318b0679b7b1be2c4b
2022-05-29 20:26:44 +02:00
Michael Bestas
c1c399d375 lemonadep: overlay: Align status bar icons with cutout
Change-Id: Ib18e6c4cd4a21e36f5f45ac5f7b894a824e434f3
2022-05-29 20:26:44 +02:00
Alexander Koskovich
ba991a7271 lemonadep: Move UDFPS color & HBM type to common
Change-Id: I0ab41ab0b23a6fef4276b6610d77a52082812063
2022-05-29 20:26:44 +02:00
Alexander Koskovich
055c24e364 lemonadep: Move shipping API level to common
* All OnePlus SM8350 devices have a shipping API of 30.

Change-Id: I5c19735a66c1b6a90ecd4cb1003d4334771dcb8d
2022-05-29 20:26:44 +02:00
Alexander Koskovich
612c4c0044 lemonadep: Drop comments no longer applicable
Change-Id: I41b8450cc197cc2faf24b5f3853c341f335979da
2022-05-29 20:26:44 +02:00
Alexander Koskovich
5dc376b65b lemonadep: Switch to SPDX license identifiers
* Might as well be consistent.

Change-Id: Ia95b2f164a98afc3aa05099a9e704ec110e6d7f7
2022-05-29 20:26:44 +02:00
Alexander Koskovich
d864fdfb34 lemonadep: Don't pick up makefiles under local path
* There are no more makefiles to pick up.

Change-Id: Icdda4aa8af70c849b870468cdd38bf5e73351df0
2022-05-29 20:26:44 +02:00
Alexander Koskovich
22bc143549 lemonadep: Convert init to blueprint
* Move directory to match sm8350-common.

Change-Id: I5a6926065d8bf27cffd0802252c10b605a3e2b38
2022-05-29 20:26:44 +02:00
Alexander Koskovich
4e1745f42d lemonadep: Set USB product string to 'OnePlus 9 Pro'
* This is better for user facing stuff than 'LE2123'.

Change-Id: I1f380699692c07b2fcc03fa83adc292b6d899cf7
2022-05-29 20:26:44 +02:00
Alexander Koskovich
4dd91b090c lemonadep: Move ro.config.vc_call_vol_steps to common
* The values are the same between OP9 and OP9 Pro.

Change-Id: I15af26dd2581708bc3c1d9af06761c78d4ebce44
2022-05-29 20:26:44 +02:00
Alexander Koskovich
797f2ec01d lemonadep: overlay: Update power profile from LE2125_11.C.48
Change-Id: I4770beaaca21a28c4cfed0db44b38497ea0d51c4
2022-05-29 20:26:44 +02:00
Alexander Koskovich
b6089fd9f5 lemonadep: overlay: Add white balance overlays from LE2125_11.C.48
[LuK1337]: Remove common overlays while at it.

Change-Id: Ie59f9207478965c6eaf840807635a82933e13303
2022-05-29 20:26:44 +02:00
Alexander Koskovich
1c49159bab lemonadep: overlay: Convert to RRO packages
Change-Id: Iae6ef9fa9743bd2447991ad11d38fa184b12981d
2022-05-29 20:26:44 +02:00
LuK1337
7d583b2ff4 lemonadep: Update mixer paths from Android 12 (LE2125_11.C.48)
Change-Id: I6633002e84f78bcd187e251063e574faa583695b
2022-05-29 20:26:44 +02:00
Bruno Martins
c725d2ae5e lemonadep: Update blobs to Android 12 (LE2125_11.C.48)
Change-Id: Ib0843bfc2e802af16853875ae4649c403898f51f
2022-05-29 20:26:43 +02:00
Tao Bao
1496a74b92 lemonadep: Set recovery margin height to avoid clipping
Change-Id: Iaaaabd13de384a0ebfff9f527fcdd0338c3f99bc
2022-05-27 15:11:54 -07:00
Michael Bestas
f102818ed2
lemonadep: Add board-info.txt
* Fixes flashall in fastbootd

Change-Id: Iae2f33113317cfaadeff7a3610463880077c35e0
2022-05-27 01:45:26 +03:00
Christopher N. Hesse
ded0aea600
lemonadep: 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-05-27 01:45:04 +03:00
Michael Bestas
4be1efad71 lemonadep: overlay: Drop system_icons_keyguard_padding_end
* No longer exists

Change-Id: I1976d0875588f6527b20016c01eb494e5b1a129c
2022-05-24 14:08:11 +01:00
Christopher N. Hesse
8553e87615 lemonadep: Enforce common device tree presence
* The tree has no chance of building without the common
   device tree as it contains architecture definitions.

Change-Id: Iadd43e887d426732e549969ab8deb14194ca818d
2022-05-24 13:57:21 +01:00
Alexander Koskovich
659babea9f lemonadep: overlay-lineage: Drop kg_security_container_min_bottom_margin
* No longer used.

Change-Id: I1a0f4bc3f5b267e3a62243f9457aabdab10e5cb7
2022-05-22 00:15:20 +01:00
TH779
bb3a3d8864
fixup! lemonadep: Remove resource overlays for system bar heights
* 28dp * (450dpi / 160) = 78.75px, this will cause the height
   of the status bar to be displayed incorrectly under some apps,
   so restore it to its original value.

Change-Id: I82685a0ab33bb08daeaf87b74c93e80aba16c055
2022-05-09 01:25:23 +03:00
shawnlin
8a66297426 lemonadep: Remove resource overlays for system bar heights
With the new added APIs, we don't need to overlay status_bar_height that
contains cutout size and quick_qs_offset_height anymore.

Bug: 186604541
Test: make
Change-Id: I36d869866ed03d3996b7b0d8cc6d3f6bb6ab624d
2022-03-16 17:06:41 +00:00
TheScarastic
2284ae1930 lemonadep: Setup udfps overlays
* fod radius = radius value / 2
 * fod x position = x position value + (radius value / 2)
 * fod y position = y position value + (radius value / 2)
 * fod enroll progress radius = (radius value / 2) + 5

Change-Id: I9d3a39ab6b6b5b069e4ba66ef6baa477fd6829da
2022-02-22 14:49:36 +00:00
Bruno Martins
8cf2d4a133 lemonadep: Drop Goodix fingerprint prebuilt HIDL interface
Reverse engineered one lives in hardware/oneplus now.

Change-Id: Iff28ebbcd7f48e6c45f125a66497a0c3c3329d56
2022-02-21 21:13:34 +00:00
DarkJoker360
83c93aaafc lemonadep: overlay: Reduce status_bar_padding_end
It appears that on Android 12 there's a higher status bar padding by
default, thus we need to adjust it by more or less dividing current
value by 2.

Change-Id: I98e34734425e858242d96812e4aa1329c6052be2
2022-02-21 21:13:34 +00:00
Bruno Martins
19a24903f8 lemonadep: Re-adjust keyguard indication bottom margin
No longer fits nicely bellow the FOD icon, so move it above.

Change-Id: Ic622ae91500b93fdd4571dd3d9f869fc5f712d69
2022-02-21 21:13:34 +00:00
LuK1337
b9c4bbdd62 lemonadep: Make device name/product prop overrides work
Change-Id: I64d11103ddb8f9dce70b9bc110745d4aafd667dc
2022-01-27 11:11:04 +00:00
Bruno Martins
c43dd2db1e lemonadep: Update blobs from OOS 11.2.10.10.LE15BA
Change-Id: I43cb7fa361336041b7456e81ced3b979cf214015
2021-11-25 15:43:47 +00:00
LuK1337
e5c808d442 lemonadep: overlay: Use correct resource for keyguard status bar height
Fixes really large statusbar on Android S GSI.

Change-Id: I82cc4e6c73fb6a408aa27b1a6191f7dd96c7365c
2021-10-10 00:02:23 +02:00
LuK1337
bb44617b22 lemonadep: Update FOD Soong config variable names
Change-Id: I826ca7ce76e0f33130db0f6bceb705d3b4ff61b6
2021-09-22 11:43:46 +02:00
Bruno Martins
fbe524e117 lemonadep: Update blobs from OOS 11.2.9.9.LE15BA
Change-Id: I82193d92c1ab7cd04bd7996af0926a4e81594139
2021-09-20 18:27:06 +01:00
Bruno Martins
aadf6f5cca lemonadep: Blob out ODM feature list
There's not much of a purpose to have this in the device tree.

Change-Id: I67751642b2f34576106a39a83e21996010215c3d
2021-09-20 18:23:58 +01:00
Alexander Koskovich
56f9719d62 lemonadep: Overlay FOD color from stock.
[LuK1337]: This color comes from fod_flash_icon.png.

Change-Id: I0173ce96c5a5a01c2f626cd0b3d6b79b7cafa9ff
2021-07-30 16:29:12 +02:00
LuK1337
98634c00b7 lemonadep: Increase voice call volume steps to 9
Change-Id: Ic81d0267982694d305656ac2a7b7016bef0370b8
2021-07-30 16:28:51 +02:00
Bruno Martins
3601fe5e59 lemonadep: Update odm_feature_list from OOS 11.2.8.8.LE15BA
Change-Id: Ia476086ccbf3e1c32d7db6d9edad2d2e7cab9115
2021-07-21 13:46:27 +01:00
Bruno Martins
3dca282ab0 lemonadep: Update blobs from OOS 11.2.8.8.LE15BA
Change-Id: I4499bc58d32e29e9ccf3f434943a46c9bbddf85e
2021-07-21 13:42:46 +01:00
Bruno Martins
0cc0b22cc8 lemonadep: Update odm_feature_list from OOS 11.2.7.7
Change-Id: If9d02c9fdf5aa1f932bbf19313619233691fe2a9
2021-06-23 22:25:22 +01:00
Bruno Martins
a5216848cb lemonadep: Update blobs from OOS 11.2.7.7
Change-Id: I117e60e1ed1e2b73bcf9f8487dcfe580053c9d15
2021-06-23 22:23:20 +01:00