Commit graph

379 commits

Author SHA1 Message Date
Shirayuki39 d3a8f82072 LG8n: Kang IMS Blobs from INFINIX-U-64-ARMV82-240620V2105
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-01 13:39:58 +08:00
Shirayuki39 7fb6223c11 LG8n: Build libperfctl_vendor
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 21:50:18 +08:00
fjrXTR e1c3dc52b2 LG8n: Use libshim_ui for vtservice
F linker  : CANNOT LINK EXECUTABLE /system_ext/bin/vtservice: cannot locate symbol _ZN7android19GraphicBufferMapper4lockEPK13native_handlejRKNS_4RectEPPvPiS9_ referenced by /system_ext/lib64/libsource.so...

Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 21:49:04 +08:00
Shirayuki39 d4cabc9451 Revert "LG8n: Kang IMS stuffs from H0AMSI ROM's"
This reverts commit ec3c6af020.
2024-07-31 21:44:47 +08:00
fjrXTR f74fd7ba8f LG8n: Kang IMS stuffs from H0AMSI ROM's
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 20:53:34 +08:00
Shirayuki39 fffe7552c7 LG8n: Rearrange Soong Namespaces
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 01:34:35 +08:00
Shirayuki39 09825cb4d7 LG8n: Link to the correct shim
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 01:34:22 +08:00
Shirayuki39 0399653220 LG8n: Point to the correct shim for camera metadata
* Bruh

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 01:33:45 +08:00
neroices 3edfca9140 LG8n: sepolicy: Fix definition for storage_dbg_data_file 2024-07-30 21:49:57 +07:00
mikeNG 1f49668091 LG8n: Build missing libraries for 14 QPR3
Fixes several issues:

No sim detected
Camera not opening
Storage not detecting (Neither accessible by any app)
No sound

Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
2024-07-30 21:41:34 +07:00
luk1337 0c2da1b00a LG8n: Add libcamera_metadata shim for stripping out system camera cap
Change-Id: I8f7772fc9ec15a00c4b630866aa7fc162a52c1aa
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2024-07-30 21:34:24 +07:00
Giovanni Ricca e4967e0c5a LG8n: libshims: Add android::GraphicBufferMapper::unlock shim
* Commit Ib4590b7a3b839a993f6c747c5f09a6312f7ab329 modified
  GraphicBufferMapper::unlock overload. Create a shim to provide the old
  symbol for blobs that need it

Change-Id: I0e90ac0b383b05904df83076d990ad9335a40664
2024-07-28 19:50:28 +08:00
R0rt1z2 83b3478711 LG8n:libshims: Add android::GraphicBufferMapper::lock shim
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 19:47:58 +08:00
Shirayuki39 ce05ca2fb4 Revert "LG8n: Re-Import libperfctl_vendor"
This reverts commit bf5deca091.
2024-07-28 19:23:51 +08:00
Shirayuki39 bf5deca091 LG8n: Re-Import libperfctl_vendor
07-28 10:01:46.025   865   865 I FPSGO   : dlopen error: dlopen failed: library libperfctl_vendor.so not found
07-28 10:01:46.025   865   865 I FPSGO   : load_xgf_api fail
07-28 10:01:46.025   866   866 I GBE     : dlopen error: dlopen failed: library libperfctl_vendor.so not found
07-28 10:01:46.025   866   866 I GBE     : load_gbe_api fail

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 19:12:53 +08:00
Shirayuki39 0f18157db6 LG8n: Add SEPolicy for vibrator-service.transsion
Co-authored-by: dodyirawan85 <dev.irawans@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 18:34:52 +08:00
Shirayuki39 2f4177e4ed LG8n: Switch to vibrator-service from hardware-transsion
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 18:30:41 +08:00
Shirayuki39 1578a6b31e Revert "LG8n: sepolicy: Address flags_health_check denials"
This reverts commit 0f9f873466.
2024-07-28 16:01:20 +08:00
Shirayuki39 e51c1a7938 LG8n: sepolicy: Address flags_health_check denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 14:15:19 +08:00
Shirayuki39 bcc3de108b LG8n: configs: Nuke references to DTS Audio
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 13:43:39 +08:00
Shirayuki39 91a9ebdc17 LG8n: Switch to AIDL health HAL
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 12:18:38 +08:00
xyzuniverse 2c062f6e38 LG8n: Switch to AIDL vibrator
Change-Id: I9b1ad902c6a34cd9916c06f586e8bf664a08aae1
Signed-off-by: xyzuniverse <dev.xyzuniverse@gmail.com>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 12:37:35 +08:00
Shirayuki39 f0ca7afa98 LG8n: Nuke InCallService
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 04:52:38 +08:00
Shirayuki39 87a15c2d07 LG8n: Drop power service prebuilt
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 04:33:55 +08:00
Shirayuki39 a330a96d15 LG8n: Build libshim_ui
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 04:21:42 +08:00
Shirayuki39 537a0a98b2 LG8n: Nuke power-mtk.xml manifest due to conflict
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 03:23:28 +08:00
Shirayuki39 8888008bff LG8n: sepolicy: Fix unable to serialize property duplicate
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 03:07:28 +08:00
Shirayuki39 91db3fba0d LG8n: sepolicy: Change mtk_hal_audio
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 02:52:36 +08:00
Shirayuki39 6012048c0b LG8n: sepolicy: remove duplicate declaration of NVRAM prop
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 02:21:46 +08:00
Shirayuki39 159263e47c LG8n: BoardConfig: Remove TARGET_POWERHAL_MODE_EXT
* Bleh

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 02:15:31 +08:00
fjrXTR f59b8302af LG8n: Switch to lineage-libperfmgr for Power service
* QPR3 KONTOL

Change-Id: I8282e47e543d4bc466a4bc464e1c5f61741d3a64
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 01:32:07 +08:00
Georg Veichtlbauer d987c60bc8 LG8n: powerhint: Add DT2W
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 01:30:24 +08:00
DennySPB c1a8129b34 LG8n: powerhint: Decrease launch boost to 3sec
* 5s is just too long

Change-Id: I7e037c45cd2296a8bbd67d6bd63c212c0ef2a805
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
2024-07-26 01:25:48 +08:00
Subhajeet Muhuri 2fd5542441 LG8n: powerhint: Drop PM QoS latency boosting
Change-Id: I683033dcbb12e27ccfbf21eff0b5c9bba0269089
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
2024-07-26 01:25:26 +08:00
Woomymy 9fc02b86c1 LG8n: powerhint: Drop task_turbo and fix max bhr_opp value
Change-Id: Ic19a75aa731f0b5be9f36ca273ac573f7f0eb94a
Signed-off-by: Woomymy <woomy@woomy.be>
2024-07-26 01:25:06 +08:00
Woomymy e40c20ddce LG8n: powerhint: Lower interaction min frequencies
Change-Id: Iac66afb6e5570c72ce435ccf86eedac2fb922f0d
Signed-off-by: Woomymy <woomy@woomy.be>
2024-07-26 01:24:45 +08:00
Woomymy 156af5b10b LG8n: Kang powerhint from mt6768-common
* Imported from mt6768-common powerhint and initialy adapted for yunluo

Co-Authored-By: Matsvei Niaverau <matvej2002@gmail.com>
Co-Authored-By: Vaisakh Murali <mvaisakh@statixos.com>
Co-Authored-By: Woomymy <woomy@woomy.be>
Signed-off-by: Woomymy <woomy@woomy.be>
Change-Id: I45d501e7d9e7ff124db773cad3178a6698085053
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
2024-07-26 01:05:52 +08:00
Jesse Chan 8c3ad5f633 LG8n: Initialize powerHAL when boot is completed
Change-Id: Iff72fa27b3b1df4d4c63cbc30876248e53188645
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 01:01:22 +08:00
Shirayuki39 92c8b70e95 LG8n: Add hardware/mediatek/libmtkperf_client to Soong namespaces
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:54:23 +08:00
bengris32 911e71edaa LG8n: Build MediaTek libperfmgr
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:53:43 +08:00
fjrXTR 424f740c3b LG8n: Build stub mtkpower service
Change-Id: I6284e6f8a1d6ce7660502a0b553d0fa9824d6703
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:52:03 +08:00
bengris32 41ee2f7d67 LG8n: Build dummy libmtkperf_client library
* Required for some vendor blobs that refuse to
  work without mtkpower

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:51:11 +08:00
Shirayuki39 b18e5aea4d LG8n: Nuke MTK PowerHAL and cleanup
* ref - xiaomi-mt6789-devs/android_device_xiaomi_yunluo@8361661

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:50:12 +08:00
fjrXTR 44ff68f84c LG8n: Build Required libs for QPR3
* And Patch libcamera_metadata for Camera provider
* ref - Evilmove/android_device_spartan@55eb0b6 ObsidianMaximus/android_device_realme_sm8250-common@a0ed2f1

Change-Id: I4696adea73edc5a8cfe530df6d89c5b244009722
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:46:22 +08:00
ChrisCatto 035c860c1a LG8n: Link mediatek camera provider against v32 libutils
* Abort message: 'incStrongRequireStrong() called on 0xb40000770d0587a0
  which isn't already owned'
* Required after U QPR3

Change-Id: Ie6ea7f331207f604cb87804c67f4de9fd9a60d76
Signed-off-by: ChrisCatto <chriscatto08@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:45:10 +08:00
fjrXTR 2447ecc482 LG8n: Build missing libraries on camera
* Required on A14 QPR3
* ref - StatiXOS/android_device_xiaomi_yunluo@fbd7104

Change-Id: Iedf6b29e9b814fbd8d24a1620af586eafd3aee46
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:42:14 +08:00
Marc Bourgoin 0db9def1aa LG8n: Fix audio on QPR3 with alsa audio
As of Android 14 QPR3, our device requires the use of
alsa audio,# otherwise audio HAL keeps crashing with
error unable to route audio and listAudioPorts failed

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:38:22 +08:00
Shirayuki39 b2fd99ebbc LG8n: Switch to prebuilt power-service-mediatek
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:36:05 +08:00
fjrXTR 216cd024cd LG8n: Patchelf mnld to load libshim_sensors
Change-Id: I3f63ca6635976e5102a743c36b4156b7123deaa3
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:32:18 +08:00
Shirayuki39 49cd637d8d LG8n: Build libshim_sensors
* fck

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:31:19 +08:00