73 Commits

Author SHA1 Message Date
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
Bruno Martins
ba1c3db829 lemonadep: overlay: Align brightness configs with stock
Change-Id: Id299ad9f3613b821318eb6e9986a3450db023682
2021-06-06 11:00:59 +02:00
Bruno Martins
6e46039963 lemonadep: bluetooth: Switch to QVA bdroid config
Change-Id: If2ffd896f318680ce38356a1f2728336e68490b4
2021-06-05 11:11:12 +02:00
LuK1337
87a8f755a5 lemonadep: overlay: Set mask size for proper rounded corner curves
Change-Id: I8c83c30762025d1ff8091ce75bf4d3784c5a6f76
2021-06-04 12:04:40 +02:00
Bruno Martins
a598864184 lemonadep: Update mixer paths from OOS 11.2.6.6
Change-Id: Iaa6dc0bc0db2b5dc6c7e3808a1cb8dccfb7ed3bc
2021-06-03 11:44:28 +02:00
Bruno Martins
0135602d4f lemonadep: Update blobs from OOS 11.2.6.6
Change-Id: I6adb41da0ba90090d9b880f5b097fae36bf0cd4c
2021-06-03 11:44:24 +02:00
Bruno Martins
e27a97442e lemonadep: Tweak keyguard indication bottom margin
Not perfect, but it's a good compromise to keep the text below
the FOD icon without actually appear behind it.

Change-Id: I96df93d87865a0e05f4b8fe894659087b5496ace
2021-06-02 23:55:32 +02:00
LuK1337
4290a98ce5 lemonadep: Move mixer_paths.xml to /vendor/etc/audio/sku_lahaina/
Since ro.boot.product.vendor.sku is set to lahaina we are loading mixer
paths from /vendor/etc/audio/sku_lahaina/ instead of /vendor/etc/.

Change-Id: I5a871ed3b64d47558b90e522eb32cbd94cb65daf
2021-06-02 01:30:49 +02:00
LuK1337
409c69ca88 lemonadep: Remove PowerShare HAL from PRODUCT_PACKAGES
Moving this to common tree.

Change-Id: I3a28b059f3ad532e98dd8ccc911b7b9b5e929df6
2021-06-01 23:12:16 +01:00
LuK1337
9b2bcf7876 lemonadep: Commonize partition sizes
Change-Id: I81b11b7da8c4e73c8590c852288e690e8779d2f5
2021-06-01 23:12:16 +01:00
Bruno Martins
58c7f06a2b lemonadep: Set proper fingerprint sensor position
Dimension values op_biometric_icon_normal_location_x,
op_biometric_icon_normal_location_y and op_biometric_icon_normal_width
taken from OnePlus overlays (OdmOverlay-OPSystemUI).

Keyguard security container bottom margin adjusted accordingly
as per formula: (SCREEN_HEIGHT - FOD_POS_Y + (FOD_SIZE / 2))

Change-Id: I88d8352f89915552e49c9c959ba5af963241a115
2021-06-01 23:09:27 +01:00
Bruno Martins
8947388735 lemonadep: overlay: Import stock power profile
Change-Id: Iaf3d246b83db150112a183e29bb87989d0a3a437
2021-06-01 15:59:11 +01:00
LuK1337
9fb5a66b4b lemonadep: overlay: Replace display cutout overlay with self made one
It appears that OnePlus is not using AOSP resources for display cutout.
Instead they are drawing it manually thus I used their x, y and radius
to prepare my own vector path:
  <dimen name="op_draw_cutout_circle_r">43.0px</dimen>
  <dimen name="op_draw_cutout_circle_x">155.0px</dimen>
  <dimen name="op_draw_cutout_circle_y">83.0px</dimen>

Change-Id: Ia061229717cd84277d792269aa1985ded07d1ae3
2021-06-01 15:59:11 +01:00
Bruno Martins
5e2979b88d lemonadep: Update mixer paths from OOS 11.2.5.5
Change-Id: Ib67f4d4e0c41e0851e5d7a5c92518249ae08d11e
2021-06-01 15:59:05 +01:00
Bruno Martins
a103627aab lemonadep: Update odm_feature_list from OOS
Change-Id: Id4bb54edad90287bc62e99d2758a6481a0b8b9c8
2021-06-01 01:55:13 +02:00
Bruno Martins
13eea6422f lemonadep: Move over to commonized fstab
Change-Id: I3b9b76997e4f61bfd56df5469115bc0e33a2548e
2021-06-01 01:55:13 +02:00
Bruno Martins
4e8bc45a68 lemonadep: Populate initial blobs list
Change-Id: I9bce8ce78009450be0b712f683943cb2d29ede5a
2021-06-01 01:55:13 +02:00
Bruno Martins
977f347ce7 lemonadep: Initial device tree conversion
Change-Id: I943e61b56a9e42b228dbed3872037ed84f933d48
2021-06-01 01:22:12 +02:00
LuK1337
7b973a39ba instantnoodlep: Update blobs from OOS 11.0.6.6
Change-Id: I503da2a164a78a1b65043d3390757ad431ff9ac5
2021-05-27 14:26:48 +02:00
LuK1337
88932432e6 instantnoodlep: Set default Settings.Global.DEVICE_NAME according to OOS
OxygenOS uses ro.display.series for default device name.

Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2021-05-21 15:44:35 +02:00
LuK1337
3ef9960670 instantnoodlep: Set voice call volume steps to 6
Change-Id: If670a52feb961b7e07546f2b1ef210f8ad695fd3
2021-05-20 09:33:10 +02:00
Andrew Fluck
364cfca344 instantnoodlep: Add cutout approximation + set status bar padding start to 0px
[LuK1337]: Modified vector path so that its height matches regular
           cutout path + converted it from relative to absolute.

Change-Id: I792a85826041c7debf7f70e65318855c0cce65fe
2021-04-29 17:28:32 +02:00
LuK1337
c210eaf003 instantnoodlep: Reset max notification icons back to default
Change-Id: Iad7b2362af01d5afd18efcae3e6313d7a60a99a8
2021-04-18 12:24:46 +02:00
LuK1337
116c280205 instantnoodlep: overlay: Set config_screenBrightnessSettingMaximumFloat=1.0
When config_screenBrightnessSettingMaximumFloat is unset
we are falling back to legacy (0-255 int) configuration.

Change-Id: Iecb9ad8fcc25178160e2114dd40337f59af3cf66
2021-04-06 11:26:47 +02:00
LuK1337
ef02e9c0eb instantnoodlep: Set reserved partition sizes on !WITH_GMS
Change-Id: I65be2d30eb613603dbcbfca730bb46850a78e5f1
2021-04-02 03:08:48 +02:00
LuK1337
8c157d4f01 instantnoodlep: Set BOARD_ONEPLUS_DYNAMIC_PARTITIONS_SIZE to (super / 2 - 4M)
Change-Id: Ib2e2e96c525e5b2e12c176cafc1c7545ea735fa6
2021-04-02 02:04:55 +02:00
LuK1337
dcda8104ec instantnoodlep: Update blobs from OOS 11.0.5.5
Change-Id: Ib371d4930873ee83ae581df8847d9f5d1dcbe514
2021-03-30 12:12:24 +02:00
LuK1337
35e9463221 instantnoodlep: Update power profile config
* Apparently we should be using one extracted from /odm overlays
  rather than /vendor ones.

Change-Id: Id2f8858f3c6779623875f5419daf146102d46d1f
2021-03-07 11:08:07 +01:00
LuK1337
c562e9f7da instantnoodlep: Set matching status bar padding for landscape mode
Change-Id: I5ad572fb8452c9f8db213adbfc9c1022e6755d56
2021-02-12 10:39:20 +01:00