62 Commits

Author SHA1 Message Date
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
LuK1337
1e7ad0f70c instantnoodlep: Relocate fwb dimens to dimens.xml
* Also unset status_bar_height_landscape while at it.

Change-Id: I2d030b46d94482878aa260e2edfd3a6a07c641ac
2021-02-11 21:48:26 +01:00
Nolen Johnson
607d786a81 instantnoodlep: bluetooth: Disable clean turn on
* This isn't needed anymore.

Change-Id: Ib77e5212099d82bbc07aea6044eb35109faff5cb
2021-02-08 19:54:27 +05:30
LuK1337
ad5c96a66f instantnoodlep: Use config_roundedCornerMultipleRadius
* Because of config_roundedCornerMultipleRadius being set to
  obnoxiously high value we end up having too high corner
  border radius for Android recents.
* Also we still need to set rounded_corner_radius to something
  other than 0 so that we'll have our rounded border drawables
  applied. I guess that 8dp is a fair value for that.

Change-Id: Ib39ac6c4aaf6c00c247b2945e4f0a71ab0789df5
2021-02-06 16:22:27 +01:00
LuK1337
aea57606ea instantnoodlep: Import rounded corners config from OOS
* Set rounded_corner_radius instead of _top + _bottom
  as they are exactly the same.
* Overlay rounded.xml with _top drawable as _bottom one
  is the pretty much the same as _top after manually
  rotating it by 90 degrees.

Change-Id: I89ce857d15804f9a9361ff3825a9426a9382c578
2021-02-06 11:04:36 +01:00
ultranoob-5
ced25a6b00 instantnoodlep: Pull auto-brightness values from OOS
Change-Id: If174ffcbdbe3f2d11955763965a2eccc2c8a46d8
2021-02-03 12:03:24 +01:00
Giuseppe Barillari
bf60d86bc1 instantnoodlep: Avoid aliasing in display cutout
Change-Id: I24e5c4e385b38352a9aabeaa4d5d5666469570cb
2021-02-02 14:55:46 +01:00
LuK1337
a9ea1ade22 instantnoodlep: overlay: Import display white balance config from OOS
Change-Id: I94ce623e57ff16687281b228e6e09ce2d12ce3e8
2021-02-02 11:15:27 +01:00
LuK1337
0df1febb68 instantnoodlep: Pull config_mainBuiltInDisplayCutout from OOS
Change-Id: Ia2720956065137696c1a8a935f554080cd7e2c72
2021-01-31 16:51:07 +01:00
LuK1337
19ea2e42bf instantnoodlep: overlay: WhenDark -> OnLock
Change-Id: Ifb115b154e10a0ef98bfa1e1b8bb8137f81cd0e5
2021-01-30 19:43:20 +01:00
LuK1337
82ec9ed34e instantnoodlep: Set correct product props
Change-Id: Ic7bb4c5c6ca1694538208974ef818f930c98e9be
2021-01-28 12:19:58 +01:00
LuK1337
2ca430dfc6 instantnoodlep: Add tfa98xx firmware
Change-Id: Id8418af53ddfd8ca10e29db7ddb4752b60493897
2021-01-24 15:55:52 +01:00