147 Commits

Author SHA1 Message Date
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
LuK1337
3927dc7da4 instantnoodlep: Build PowerShare HAL
Change-Id: Ib4d973baddd71482f2e2535194c5fabc75ca21a0
2021-01-13 12:08:27 +01:00
LuK1337
6ae6e6e555 instantnoodlep: Set density to 480 while in recovery mode
* This allows us to provide usable recovery image for people
  who are still on OxygenOS dtbo as unmodified stock dtbo
  defaults to 1080p. While it'll make UI slightly smaller
  on Lineage dtbo, it doesn't make it unacceptable.

Change-Id: Ic216c9d17066765c1b06ffdd35f2543f412f18db
2021-01-11 18:48:16 +01:00
LuK1337
5261c29aec instantnoodlep: Remove product.prop
Change-Id: I453e3122e53183623fa4dca508c57f7dce499fd8
2021-01-09 14:14:42 +01:00
LuK1337
4af7aeeaaa instantnoodlep: Declare super partition size
Change-Id: Ic457ae61f21ce0535dacc3050d54a6dd2e900ab3
2021-01-07 02:48:48 +01:00
LuK1337
2b33e215fe instantnoodlep: Add device specific fstab
Change-Id: Ib93eb1255e5cbf44c5d0cd4acd9e3ccc606fce79
2021-01-06 23:43:05 +01:00
LuK1337
36c8c16c8d instantnoodlep: Import odm_feature_list
Change-Id: I367bc78aa19b0362018c8c0f9551153f4037571b
2021-01-06 23:43:05 +01:00
LuK1337
c79c27caca instantnoodlep: Add device specific vintf manifest
Change-Id: Ia2423a26b13edfdc8c5c70d6c1d0fb7168e92dae
2021-01-06 23:43:05 +01:00
LuK1337
41a15ab5b1 instantnoodlep: Copy mixer paths
Change-Id: Ic76a48cf815bda7f1902cbbcd15cc228d4929764
2021-01-06 23:43:05 +01:00
LuK1337
11847978e5 instantnoodlep: Initial vendor blobs
Change-Id: Ie2ec4dcae34e414b064b9362bf4021eade5d5123
2021-01-06 23:43:05 +01:00
Bruno Martins
f5e855dc28 instantnoodlep: Align with extraction-utils templates
Change-Id: Ifbf18f79a1d0f173cb5b83bdf0178db2a5f1373e
2020-12-31 18:37:07 +01:00
LuK1337
4dbaefed27 instantnoodlep: overlay: Update cutout/padding related overlays
Change-Id: I5c74d72e388043c68c58bb3b835fad3db9fa814a
2020-11-21 23:33:59 +01:00
LuK1337
a443131d82 instantnoodlep: Initial commit 2020-06-26 21:34:58 +02:00