180 Commits

Author SHA1 Message Date
pjgowtham
3cece27a59 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-07-28 18:56:07 +05:30
Shashank Sivakumar
959b6e48b3 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-07-28 18:56:07 +05:30
pjgowtham
86cdec29a8 ferrari: Initial tree update from RMX3301_14.0.0.801(EX01)
Change-Id: I14581196331c7ba714c352c3fbca330683eedabf
2025-07-28 18:56:03 +05:30
pjgowtham
e891f7d587 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.
2025-07-28 18:16:55 +05:30
Bruno Martins
f283df89e4 ferrari: overlay: Move to reworked udfps dimming implementation
This removes deprecated config and uses default udfps dimming LUT.

Change-Id: Ie6d94c5d4350a574fbc61ff5a892293cb95ce5a7
2025-07-28 18:16:45 +05:30
dekefake
c7e5e2dc26 ferrari: overlay: Set up UDFPS framework dimming
Change-Id: I438f770c6a8ee08ddc2c7cdfc55218f3987e75c7
2025-07-28 18:15:21 +05:30
pjgowtham
0d94430d96 lunaa: Force multisim configuration to dsds for all variants
No single SIM variants for this device

Change-Id: I1854fe1797e9de55f64b325ec4fe2dfa9eec232e
2025-07-28 18:15:21 +05:30
pjgowtham
e62328a429 ferrari: Fix lockscreen text overlapping UDFPS sensor location
Now the text appears at an equal distance from the fod sensor and the bottom end of the screen

Change-Id: I752488fb2ad96c5f5c67a0ad87abc4f8527dcc8a
2025-07-28 18:15:21 +05:30
pjgowtham
b51a94a303 ferrari: Update UDFPS sensor location for ferrari
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
2025-07-28 18:15:21 +05:30
pjgowtham
cc5cc70af2 ferrari: Remove unsupported powershare and tristatekey features
Change-Id: I29adc129eae09f5378537c0d0356b85da4774095
2025-07-28 18:15:21 +05:30
pjgowtham
ff3a4602e2 ferrari: Change charging control node to the ones with oplus driver
lemonade/p are outliers since they use the oplus_chg driver
whereas rest of the devices uses the oplus driver.

Change-Id: I8ab004a2fa4e9cbfb246f5c9eabd701fab03cf5e
2025-07-28 18:15:21 +05:30
pjgowtham
00ecfe826a ferrari: Intiail rebrand for realme GT 2 pro
Change-Id: I326aabe3c36b87106e567a028a59f37cf7c54603
2025-07-28 18:15:12 +05:30
LuK1337
3a545e1bd5
lemonadep: Update from OOS 14.0.0.1901(EX01)
Change-Id: I04cbe452c1675594754e4281419229fb019fd2a9
2025-05-13 13:19:03 +02:00
Bruno Martins
6aa2fbd9c6 lemonadep: Switch to PowerShare AIDL
Change-Id: I97400638493a3b9d5a3b87fa6831c9affc7c3def
2025-05-10 11:48:42 +00:00
Bruno Martins
148d2753b0 lemonadep: Migrate Lineage Health to soong_config_set
Change-Id: I2eff39e83b9673aa2989d05de65c646241ba61da
2025-04-29 23:49:41 +01:00
Michael Bestas
c10ac4b947
lemonadep: Bump libAlgoProcess android.hardware.graphics.common dep
Change-Id: I6fa3a4fade0b600384e0f25bd5f14eb3d09d97a7
2025-03-09 23:41:17 +02:00
LuK1337
082ffc5c46
lemonadep: audio: Set SND_DEVICE_IN_VOICE_DMIC_TMUS ACDB ID to 41
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/8422
Change-Id: If241864b79439029057aded8b90a623317110c25
2025-03-02 19:40:31 +01:00
pjgowtham
d0ec07ca13
lemonadep: Remove prebuilt audio HAL
Change-Id: I6e2c879d97c9dce7a5731b7b3a4a377583cb91a8
2025-02-07 04:44:31 +02:00
LuK1337
27b5134b0f lemonadep: Pin OOS 13 abl
For some users, bootloader mode crashes with OOS 14 abl.

Change-Id: Ib799befe2b437090b5a593cbc454cc761123dfca
2025-01-26 11:49:40 +00:00
Michael Bestas
9ef997233c
lemonadep: Disable OMX service
Change-Id: I5381e098af64271f9d71c484262e1710e8fcacea
2025-01-03 23:24:12 +02:00
LuK1337
6fbaa6abb8
lemonadep: Update from OOS 14.0.0.730(EX01)
Change-Id: I7022ba89d1a163d5f0bb8e112ec5a92da287392c
2024-12-24 12:52:05 +01:00
LuK1337
693922f228
lemonadep: Enable elfchecks for camera libs
Reference: I23190f0b83c9e28aa2624a7575544b0eaf5c83c8
Change-Id: I18b0b07bf3a435dd449106653e3ca458b4f07b69
2024-12-14 11:15:47 +01:00
Michael Bestas
8bd02a6874
lemonadep: Remove unused Android.mk
Change-Id: I98105c127066f7de7012a1895d19c96356105921
2024-12-02 00:30:29 +02:00
pjgowtham
72e1a19ec1 lemonadep: displayconfig: Setup density mapping
Change-Id: I1a0cab5d554b072d889133128b49f8ccf4d4fb21
2024-11-12 19:34:50 +00:00
LuK1337
f0980aad5d lemonadep: Unpin QTI camera postproc
Change-Id: I376cfa8b0ab91814a0b602d68e333164ff90c891
2024-11-11 19:04:41 +00:00
LuK1337
6fce3e1b36
lemonadep: Ship OOS 14.0.0.720(EX01) FW
Change-Id: I21ffbd6639bf58260aaeab6079accbe4c68fba25
2024-11-11 19:26:25 +01:00
LuK1337
7be46be1b2
lemonadep: audio: Restore old INCALL_REC_UPLINK_AND_DOWNLINK setup
Change-Id: Ic157279b3916ed875e94241f03a30158cde04c87
2024-11-11 18:14:53 +01:00
Albert Tang
fd605eefbe
lemonadep: Update from OOS 14.0.0.720(EX01)
Change-Id: Ibd42df29fc71726c5968007f570490b46aacc896
2024-11-11 18:14:53 +01:00
LuK1337
88bbf0277c
fixup! lemonadep: Use common lib_fixups
Remove unused imports.

Change-Id: Ice4131b22bee3e3d8623089d4d7f29588da426b9
2024-11-06 12:03:10 +01:00
LuK1337
e4648ad0a6
lemonadep: Use common lib_fixups
Change-Id: I862e547f3375184729eb1a909bb7d6f676d45dfe
2024-11-06 11:58:39 +01:00
Michael Bestas
79bf0a2c12
lemonadep: ELF checks are enabled by default
Change-Id: I5740f4c8d359831b4cb794912c5d650f55c33f17
2024-11-05 23:18:08 +02:00
LuK1337
b5aaaf89c8
lemonadep: Use libgui_vendor instead of blobbed libgui1_vendor
Change-Id: I8a6fd0067dcd34391121e48e26225f5c727cef38
2024-10-25 18:47:48 +02:00
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