165 Commits

Author SHA1 Message Date
pjgowtham
393369a9f8 ferrari: Update display density for 1440p resolution
(1440/1080) * 450 = 600

Change-Id: I0007a5aac1ac771c03184a15b245a0cc0e3889da
2025-06-07 21:57:03 +05:30
joenchen
3ed5ae59f7 ferrari: set value of config_stableDeviceDisplayWidth/Height
Bug: 209592558
Test: adb shell dumpsys display | grep mStableDisplaySize
Change-Id: I76e835c695508295ad23538005bfa899efafbc01
2025-06-07 21:56:58 +05:30
pjgowtham
268b2c3e45 ferrari: Set config_autoBrightnessAdjustmentMaxGamma to 100%
mMaxGamma=1.0 when running dumpsys display on stock

Change-Id: I65ea05bc6f5b960f82bcb1843b2765cb70f6a2c8
2025-06-07 21:53:38 +05:30
pjgowtham
a9fe8fcc4f ferrari: Redo brightness configuration and move partially to displayconfig
* Updated minimum brightness calculation from 4/2047 to 4/4095
to align with display DTSI's max level (qcom,mdss-brightness-min-level = 1,
qcom,mdss-brightness-max-level = 4095).

* Synced screenBrightnessRamp with Oplus SM8650.

* screenBrightnessMap is preferred as it supports only floating-point values.

* Calculated High Brightness Mode (HBM) transition point as 2047/(4095-4).
The transition lux is also obtained from OplusSmartBrightnessController.

* Removed some overlays so as to prefer the defaults.

* Update auto brightness overlays from stock display dumpsys under
OplusSmartBrightnessController.

Change-Id: I0b2513be866728f3ddf93f7fbe296d78d862c813
2025-06-07 21:53:38 +05:30
pjgowtham
764ef5aaac ferrari: displayconfig: Setup density mapping
Change-Id: I1a0cab5d554b072d889133128b49f8ccf4d4fb21
2025-06-07 21:53:38 +05:30
Shashank Sivakumar
a6b3318070 ferrari: Moving core 64 bit only makefile
Moving the corresponding core_64_bit_only make file after removing the
entry from the common64.mk file. This is to enable the GSI components for
64 bit option available.

Change-Id: Idefd924e096371ae53fd76781257667b4f5a2fb7
2025-06-07 21:53:38 +05:30
pjgowtham
1d522b94f1 ferrari: Update framework dimming overlays
Setting up delays are no more and the default dimming array is now used.

Change-Id: I7fa7ae80e3bef7540d2dbf58058015d9a671b7a9
2025-06-07 21:53:38 +05:30
pjgowtham
e92ab26554 ferrari: Initial tree update from RMX3301_14.0.0.801(EX01)
Change-Id: I14581196331c7ba714c352c3fbca330683eedabf
2025-06-07 21:53:38 +05:30
pjgowtham
359df9c37f ferrari: Update supported framerates for camera
* Stock oplus camera does not expose 480p videos on any cameras and they are not needed.
* Rear Main camera: 60fps video is supported on oplus camera but unexposed, so lets expose it.
* Front cam: Only HD and FHD qualities are exposed and only upto 30fps in oplus camera. The same modes are exposed properly.
* UW: Supports upto HD FHD 30|60 fps but with shitty quality even in oplus camera. Oplus camera switches to main lens if 4k quality is selected. 60fps remains unexposed, so lets expose it
* Microscope supports HD 30|60 FPS modes. But unsupported FHD quality is exposed too.
2024-10-22 20:03:17 +05:30
dekefake
d79bd6d979 ferrari: overlay: Set up UDFPS framework dimming
Change-Id: I438f770c6a8ee08ddc2c7cdfc55218f3987e75c7
2024-10-22 20:03:17 +05:30
pjgowtham
1637391abf Revert "lemonadep: Define proper charging control node"
This reverts commit 00ca78e410a87ee41f2edaf97a0e1c1170d332e2.
2024-10-22 20:03:17 +05:30
pjgowtham
e17a99eed8 ferrari: Move device specific properties to /odm
Change-Id: I37ed4d6ff8382b67360ff927242b195fc34f4621
2024-10-22 20:03:17 +05:30
pjgowtham
6b3966cb1d ferrari: Fix lockscreen text overlapping FOD sensor location
Now the text appears at an equal distance from the fod sensor and the bottom end of the screen

Change-Id: I752488fb2ad96c5f5c67a0ad87abc4f8527dcc8a
2024-10-22 20:03:17 +05:30
pjgowtham
350b505868 ferrari: Update fod sensor location for ferrarri
sensorlocationX is calculated as width/2
sensorlocationY is calculated as (height - persist.vendor.fingerprint.optical.iconlocation) ie (3216 - 753 = 2463)
sensorRadius is calculated as persist.vendor.fingerprint.optical.iconsize/2 ie (228/2 = 114)
config_udfpsEnrollProgressBar is calculated as sensorRadius+5

Change-Id: If6556437abc7c760a45bd3f73f34e38f5d9bb3f2
2024-10-22 20:03:17 +05:30
pjgowtham
388377a37b ferrari: Remove unsupported powershare and tristatekey features
Change-Id: I29adc129eae09f5378537c0d0356b85da4774095
2024-10-22 20:03:17 +05:30
pjgowtham
c2a34cea9d ferrari: Rebrand for realme GT 2 pro
Change-Id: I326aabe3c36b87106e567a028a59f37cf7c54603
2024-10-22 20:02:58 +05:30
pjgowtham
77d17d6739 lemonadep: Update to OOS LE2123_14.0.0.710(EX01)
Change-Id: Icbdf44df26bb9d241a7554230d3b7a37a594ce77
2024-10-21 21:57:31 +05:30
Cosmin Tanislav
efada07840 lemonadep: Do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2024-10-20 18:29:29 +01:00
LuK1337
1c64446299
lemonadep: Adjust override prop key names
Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38
2024-10-20 14:09:37 +02:00
Beverly
de083c4f86
lemonadep: overlay: Update pixel pitch
Bug: 319894241
Flag: ACONFIG com.android.systemui.device_entry_udfps_refactor DEVELOPMENT
Test: manual

Change-Id: Iaa9576cb95ebe73043b7030b2b176f67bc90e3a1
2024-10-20 14:09:37 +02:00
LuK1337
1e0e035f44
lemonadep: Setup ELF checks
Change-Id: Iacc8a942f4e09bf61f5b8e0f4ad8e70f0b43dfa8
2024-10-20 14:09:37 +02:00
LuK1337
34d033cde7
lemonadep: Fix DT_SONAME for some camera libs
Change-Id: I15547a8e7d02838afb4eb24a1663ac9e381307f3
2024-10-20 14:09:37 +02:00
LuK1337
8302d53270
lemonadep: Switch to py extract utils
Change-Id: I5618bf10c107df579a540e2393b222128961e670
2024-10-20 14:09:36 +02:00
LuK1337
9e282c176f
lemonadep: Repatch vendor.qti.hardware.camera.postproc@1.0-service-impl
Now it matches the version specified in the proprietary-files.txt
header.

Change-Id: I33cd30a65166703f90e2ddb0213a834f806f7414
2024-10-20 14:00:36 +02:00
LuK1337
d8be29bccb
lemonadep: Move {liba2dpoffload,libssrec}.so to /odm
Change-Id: I1b2fdfcdc304e9d807e9e72a7347e3255ff64ae7
2024-10-20 10:58:15 +02:00
LuK1337
7618e181c4
lemonadep: Add extra blobs to make checkelf happy
Change-Id: I34945e373b62714538813cc0fd12ee8ad4f04e1f
2024-10-20 00:27:46 +02:00
LuK1337
6e60f1ba78
lemonadep: Commonize libc++_shared.so
Change-Id: I457d78e76b57ec1989639c8c9c0240800d4c4282
2024-10-20 00:17:53 +02:00
Michael Bestas
c4044a331a
lemonadep: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-02 15:06:00 +02:00
Michael Bestas
9c04d34ff0
lemonadep: Drop COMMON_LUNCH_CHOICES
As of 14 QPR2 this is broken, let's remove it instead of updating it
every 3 months. breakfast is the way to go.

Change-Id: I097bd54b894d9a49c7ce8b1ab6f343349e268fd8
2024-06-19 04:17:23 +03:00
Edwin Moquete
f374623d41
lemonadep: Don't override manifest target level
Change-Id: I8c61b55f8aadd4474a144af08e3f027171e064df
2024-06-15 21:10:44 +02:00
LuK1337
3d0c73a297 lemonadep: Update from OOS 13.1.0.593(EX01)
Change-Id: I7a3fad7377f122e0ebe3bb05c455ba1164587fa3
2024-02-10 16:39:34 +00:00
jabashque
76eda3c25c
lemonadep: overlay: Set peak refresh rate to 120 Hz
We enabled smooth display in sm8350-common, but we purposely left out
setting the max refresh rate there as not all the sm8350 devices have
the same peak refresh rate. Set it for each device instead.

Change-Id: I26963dd1e26bf39ef2613a3ffc784a0128a3e3b1
2023-12-19 01:55:00 +02:00
Michael Bestas
573500fa2f lemonadep: Remove media profile for camera ID 4
Change-Id: I73aa98ff5ca732fb7a1f7cf7074d264f90b891ee
2023-12-15 20:10:05 +00:00
Bruno Martins
c8a899aeb8
lemonadep: Unlock 2160p recording on supported cameras
Main back camera (cam ID 0) and ultra-wide back camera (cam ID 2)
support recording resolutions up to 2160p.

Change-Id: Iacdc4dbb0f8c9999d46cc06f928599d58eacc4e8
2023-12-15 21:02:49 +02:00
Bruno Martins
bd64e3f998
lemonadep: Import stock media profiles
Change-Id: I0e265e73f1c961ce39501e1b84f6f1e409bea1d0
2023-12-15 21:02:48 +02:00
LuK1337
8046b7e3eb lemonadep: Setup firmware extraction
Change-Id: I693e59abbfcec4f016de324517ad0e24ef565c65
2023-12-05 14:57:29 +01:00
Albert Tang
97b4232cfd lemonadep: Update from OOS 13.1.0.592(EX01)
Change-Id: I4b7955947702209119572fa786c1c52255ba05a9
2023-12-05 14:40:03 +01:00
Omkar Chandorkar
fc45af36cb lemonadep: overlay: Move UDFPS enroll radius to settings
- required after LineageOS/android_packages_apps_Settings@af35c7c

Change-Id: I79ecd91513df0d195e1d15d20b4438d1b283743f
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2023-11-10 13:53:58 +01:00
Jason Chang
c9db37ca4e lemonadep: Phase out config_roundedCornerMultipleRadius from overlay package
Phasing out config_roundedCornerMultipleRadius config from device
overlay package.

Bug: 224688507

Test: Build ROM and pass presubmit test
Change-Id: I5cb7efdde8b03f89b74d775612b20e78c6e4d89d
2023-11-10 12:20:28 +00:00
LuK1337
c87f67db7a lemonadep: Build AIDL NXP NFC HAL
Change-Id: I6ace3ac149c84d2cb9e2773e7ef5ddbf24c35b92
2023-10-21 11:38:55 +02:00
Albert Tang
032b78b46f lemonadep: Update from OOS 13.1.0.591(EX01)
Change-Id: I32303a4938a818f6ffdb84b83cbdb4d5e4de86c4
2023-09-27 20:24:21 +02:00
LuK1337
8d8c3328dc lemonadep: Add libarc_gk_pt_hvx_skel adsp lib
Change-Id: I53b9fb4e5ee34fd1cc858bf363a83fb6e81a8be9
2023-08-11 01:03:51 +02:00
LuK1337
af0f6a3504 lemonadep: Update from OOS 13.1.0.590(EX01)
Change-Id: I00f1ddc264d3d3dba7c9ae9813021394cf7c8530
2023-08-02 14:30:17 +02:00
Albert Tang
00ca78e410 lemonadep: Define proper charging control node
This is overriding TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH,
previously set in the common device tree and supports controlling both
wired and wireless charging.

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/5965
Change-Id: I97c00d6a707281e33e6b8c5dfa817ec90714e16a
2023-07-28 00:31:14 +02:00
Albert Tang
926b797b85 lemonadep: Update from OOS 13.1.0.582(EX01)
Change-Id: I2764a23e74a5756bf69b8e1bbbf31a8eb0f9d1ae
2023-07-15 01:06:15 +02:00
LuK1337
1663bff959 lemonadep: Update from OOS 13.1.0.500(EX01)
Change-Id: I74509092b8964393e4a4c5ce4e2f4fa5ccc1e60c
2023-05-19 23:50:54 +02:00
Michael Bestas
21ef43c881
lemonadep: Cleanup comments in proprietary-files.txt
Change-Id: I5bcb59a7ec092e3f2637de9637d3f7555439bb6d
2023-04-10 13:19:00 +03:00
pjgowtham
3ebd863242
lemonadep: Move some parts from common
Following adding support for lunaa and martini

Change-Id: Idaab654774f31bf8bfc44d87f3779ea6cc8db94b
2023-04-10 13:19:00 +03:00
Albert Tang
9aa14fa755 lemonadep: Update from OOS 11.F.21
Change-Id: I8295f6637ad19a833ae8e95e4ee558bddc6c3f5e
2023-04-06 13:57:19 +02:00
Albert Tang
3ee14c03e6 lemonadep: Update to Android 13 (LE2125_11.F.20)
Change-Id: I43155c9b4855bb13ea6eb01ee8ab265bfc053765
2023-02-20 00:47:40 +01:00