Commit Graph

147 Commits

Author SHA1 Message Date
jabashque
169895cbe9 ferrarri: 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
2024-03-03 22:57:47 +05:30
pjgowtham
1fe2452a1f Revert "lemonadep: Define proper charging control node"
This reverts commit 00ca78e410.
2024-03-03 22:57:47 +05:30
pjgowtham
bdc0f2ce3c ferrarri: Move device specific properties to /odm
Change-Id: I37ed4d6ff8382b67360ff927242b195fc34f4621
2024-03-03 22:57:47 +05:30
pjgowtham
9e3572e36c ferrarri: Build dependencies for esepowermanager
Change-Id: I0e8912923d53b15d8fa8d69a8d4dc3303bcdb2aa
2024-03-03 22:57:47 +05:30
pjgowtham
4352d18550 ferrarri: 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-03-03 22:57:47 +05:30
pjgowtham
997a6e093b ferrarri: Use correct nfc configs which are meant for global devices
Change-Id: Id26fecb226683276fb891dbcb5a0aae0fba580e4
2024-03-03 22:57:47 +05:30
pjgowtham
69e04c4ef0 ferrarri: Add kernel target-level
Change-Id: I406bf4e5841109688ab2435896a3a09622dd814d
2024-03-03 22:57:47 +05:30
pjgowtham
bc349a474b ferrarri: Import stock vibration FIFO data
Stock click effect feels weak but tick effect feels strong for regular usage.
Thus, CLICK effect is repurposed as TICK effect that was obtained from porsche.
Stock also has empty heavy click effect, thus thud effects are used instead.
Rest of the effects are the same as stock ferrarri configuration

Change-Id: I0513eb895a78da6337f1405bd093a03666869219
2024-03-03 22:57:39 +05:30
pjgowtham
eca8a2ec30 ferrarri: 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-03-02 20:24:30 +05:30
pjgowtham
aec63e6c66 ferrarri: Initial tree update from RMX3301_14.0.0.410(EX01)
Change-Id: I14581196331c7ba714c352c3fbca330683eedabf
2024-03-02 20:24:18 +05:30
pjgowtham
393b818a64 ferrarri: manifest: Uprev target-level to 6
Change-Id: Ib9b7083a16fac5d862a261800b6715e28bd12cc5
2023-12-20 17:45:53 +05:30
pjgowtham
f6014daa8b ferrarri: Remove unsupported powershare and tristatekey features
Change-Id: I29adc129eae09f5378537c0d0356b85da4774095
2023-12-20 17:45:53 +05:30
pjgowtham
a96625078e ferrarri: Recommonize some parts
* Commonize firmwares that are soc specific
* Commonize audio hardware hal since all the devices use LVACFS

Change-Id: I6ad88a0fadb4afb675d8b7743b79c27fe25764ce
2023-12-20 17:45:37 +05:30
pjgowtham
8934017493 ferrarri: Rebrand for realme GT 2 pro
ferrari->ferrarri since it conflicts with a xiaomi device

Change-Id: I326aabe3c36b87106e567a028a59f37cf7c54603
2023-12-20 17:45:08 +05:30
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
Bruno Martins
eb644afbc2 lemonadep: overlay: Unlock additional camera framerates
This unlocks 120fps recording on main back camera (cam ID 0)
and 60fps on ultra-wide back camera (cam ID 2), both supporting
resolutions up to 2160p. As for front facing camera (cam ID 1),
it only supports 60fps recording on resolutions up to 1080p.

Change-Id: I87d8f91401e27223ed01f92687ab508a2ffae416
2022-12-11 13:50:47 +00:00
LuK1337
ed7bf0e074 lemonadep: Update from OOS 11.C.66
Change-Id: Ied8811dd25bb3e6bc2e5835986431b11937b6d3a
2022-11-25 18:39:33 +00:00
LuK1337
cea1729447 lemonadep: overlay: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2022-11-01 15:18:52 +00:00
LuK1337
ebf4e54ccf lemonadep: Update config_udfps_sensor_props based off SF dumpsys
See OnScreenFingerprintPressedIcon#0 HWC layer size and location.

Change-Id: I69971c1ead040934fcaee641ee8fc6cd66fe26a3
2022-10-22 14:16:29 +02:00
LuK1337
67e3055242 lemonadep: We now run at 1080p by default ^.^
Change-Id: I4989e95ff6d8b99413c3cffe5c7ec76ca9de9dff
2022-09-19 14:12:23 +01:00
Bruno Martins
e9e30e83cc lemonadep: Commonize bdroid_buildcfg
Change-Id: I7b06908aa0f1c1012f77eb06049957bdcd6fcdff
2022-09-19 14:12:09 +01:00
Sal Savage
f17d8f6099 lemonadep: Replace BTM_DEF_LOCAL_NAME with a sysprop
Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
2022-09-19 14:11:47 +01:00
LuK1337
5328dc49ad lemonadep: Update from OOS 11.C.63
Change-Id: If4ab3efc554e3cff8ed576384f5521753f31af5f
2022-09-01 12:52:12 +02:00
LuK1337
93bf752ff2 lemonadep: Update from OOS 11.C.62
Change-Id: I11c9bd47431a9335001d422f4fa1dfd2e52b1ae0
2022-07-27 23:25:53 +02:00
Alexander Koskovich
315954b5dd lemonadep: Update from OOS 11.C.61
Change-Id: Ib782386195da04e7bb3146a0dbe581a2db41195e
2022-07-21 09:06:00 -07:00
Alexander Koskovich
1b1352cf4e lemonadep: overlay: Drop explicit 'sdk_version' declaration
* We don't need to manually set this anymore.

Change-Id: I1239ba541636e53f8ea4373d3815024f2cd60824
2022-07-09 23:39:25 +02:00
Alexander Koskovich
dd2f114147 lemonadep: Don't translate def_device_name_simple
Change-Id: I36c66fc5e79f3500a4b804a2287edeaa77904b4f
2022-07-05 23:41:37 -07:00
LuK1337
ef8421e3c4 lemonadep: RIP init.recovery.target.rc
No longer loaded by init.qcom.recovery.rc plus we require users to flash
custom dtbo and vendor_boot.

Change-Id: I447e8604ee447bc567be03dadd1e4448b5647338
2022-07-05 23:10:50 +02:00
Michael Bestas
473f775546 lemonadep: Remove duplicate odm/etc/wifi/regdb.bin
This is present in sm8350-common

Change-Id: Ie856a219d24bb49725da5ea87a7ad683db6f265a
2022-07-02 10:09:23 +02:00
Michael Bestas
f8310f0951 lemonadep: Add missing build description override
Change-Id: Ic0a73afba299901a3d93873eb525e6dd7122bc8a
2022-06-30 14:10:38 +02:00
LuK1337
83bf030014 lemonadep: Ship lvimfs params files
Change-Id: Iaa653c71094f0cbadcb50692de0a9296d1b006e9
2022-06-27 17:33:59 +02:00
LuK1337
fbcee36726 lemonadep: Copy audio configs to /odm as well
This is required for stock audio HAL

Change-Id: I568373e6096fd3c755550871bc6c5b50048d1794
2022-06-27 17:30:21 +02:00
shawnlin
6321ae0241 lemonadep: Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: I0bf97352bc07e45d7694f9512266f08e7139c103
2022-06-11 23:06:14 +03:00