Commit graph

138 commits

Author SHA1 Message Date
Shirayuki39 4707237abc Revert "LG8n: Build and rename audio service HAL"
This reverts commit 09782b6996.
2024-08-14 15:11:09 +08:00
Shirayuki39 d4836bac37 [Squash] Remove DT2W service and helper
* I'm fixing powerhint instead, shirayuki-dt2w doesn't start on boot

Revert "LG8n: rootdir: Start shirayuki-dt2w on late_start"

This reverts commit f2c2c98f24.

Revert "LG8n: fixup!: Fix Android.bp"

This reverts commit 75f87d9602.

Revert "LG8n: Introduce shirayuki-dt2w service as a helper for DT2W service app"

This reverts commit 9407fb90fb.

Revert "LG8n: remove xiaomi-touch from dt2w Android.bp"

This reverts commit f5d0d8ae8f.

Revert "LG8n: Import DT2w service from HOAMSI's rom"

This reverts commit 64ff4cb6e8.
2024-08-14 13:40:03 +08:00
Shirayuki39 1eba94acbd [SQUASH] Revert "LG8n: rootdir: Change init.gesture.sh code"
This reverts commit 70cd3788d3.

Revert "LG8n: rootdir: Add shebang on init.gesture.sh"

This reverts commit 856f196618.

Revert "LG8n: rootdir: call init.gesture.sh on boot"

This reverts commit 5ead707f36.

Revert "LG8n: rootdir: Improve init.gesture.sh to allow dt2w to be turned off"

This reverts commit 9e8121393c.

Revert "LG8n: rootdir: Add init.gesture.sh for fix DT2W"

This reverts commit a865a799ff.
2024-08-14 01:58:32 +08:00
Shirayuki39 64ff4cb6e8 LG8n: Import DT2w service from HOAMSI's rom
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-13 22:48:39 +08:00
fjrXTR a865a799ff LG8n: rootdir: Add init.gesture.sh for fix DT2W
* idk why after using the powerhint method dt2w doesn't work, so we tried to use the sh scripts method. hopefully it works lol

Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-13 19:41:22 +08:00
Shirayuki39 40eff5adcd Revert "LG8n: Temporarily bring back mtkpower stack"
This reverts commit 9ed2ce0ae0.
2024-08-12 18:36:32 +08:00
Shirayuki39 85cd7c95e9 Revert "LG8n: Don't install powerhint.json temporarily, we don't need this for now with mtkpower"
This reverts commit 683d98e603.
2024-08-12 18:36:23 +08:00
Shirayuki39 8a31706d50 LG8n: Build SettingsProviderOverlayLG8n
*Bruh

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-11 05:47:22 +08:00
Shirayuki39 d0302992d2 LG8n: Rename Overlays to not cause conflicts with derpfest
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-10 10:55:33 +08:00
Shirayuki39 683d98e603 LG8n: Don't install powerhint.json temporarily, we don't need this for now with mtkpower
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-10 01:27:44 +08:00
Shirayuki39 9ed2ce0ae0 LG8n: Temporarily bring back mtkpower stack
* lol

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-09 04:45:06 +08:00
Shirayuki39 aa08680014 Revert "LG8n: Build BesLoudness"
* Apparently it's extremely useless and does nothing

This reverts commit 2a50d07623.
2024-08-07 00:17:34 +08:00
Shirayuki39 2a50d07623 LG8n: Build BesLoudness
* Audio HAL turns it on every boot but there's no way to configure it
* Allow users to turn it off as it causes the audio to become distorted on high volumes

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-06 17:56:43 +08:00
Shirayuki39 8b9320c577 LG8n: Import WifiResOverlay configs from Stock
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-05 04:41:07 +08:00
LuK1337 86c39d2ec9 LG8n: Set default Settings.Global.DEVICE_NAME according to HiOS
HiOS uses ro.product.product.tran.device.name.default for default device name.

Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
Signed-off-by: dodyirawan85 <dev.irawans@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-01 23:38:32 +08:00
Shirayuki39 da541fcd84 LG8n: Build additional libs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-01 23:34:40 +08:00
Shirayuki39 7fb6223c11 LG8n: Build libperfctl_vendor
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 21:50:18 +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
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
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 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 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
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
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
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
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
Shirayuki39 b2fd99ebbc LG8n: Switch to prebuilt power-service-mediatek
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:36:05 +08:00
Shirayuki39 49cd637d8d LG8n: Build libshim_sensors
* fck

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:31:19 +08:00
Bruno Martins db5ad32b23 LG8n: Patch libs for missing GraphicBufferMapper symbols
Change-Id: I1e79f01710433ceafb2a4b296a591cf910ee649f
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:24:12 +08:00
bengris32 6ab546ca4a LG8n: Build libwifi-hal-wrapper
Change-Id: I86e31ef7fe472941ba41181a66e6ee6e54d24570
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:17:55 +08:00
SamarV-121 d4aa606aea LG8n: Compile required vndk blobs to vendor
Change-Id: I39c214c263ed14dd61b8e9d4df79e9f6d0ad7032
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:17:11 +08:00
Shirayuki39 a732505aff LG8n: device.mk: Build android.hardware.security.rkp-V*-ndk since we're A14 now
* Bomb

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:54:18 +08:00
basamaryan ed388ee2e3 LG8n: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:45:22 +08:00
Woomymy 7c44c6a656 LG8n: Link media.c2 service against v33 libstagefright_foundation
* Fixes crashes and high CPU usage

Change-Id: I60c07d10c2db9335d20c6dbaaaeacc9313aebf06
Signed-off-by: Woomymy <woomy@woomy.be>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:44:31 +08:00
Jooyung Han b85fcc002a LG8n: Install bootcontrol HAL APEX
Bug: 297467553
Test: VtsHalBootAidlTargetTest
Change-Id: Id206966e9f181283082b85dadbf409e3bf4017db
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:25:33 +08:00
Gabriel Biren 3bcbb93658 LG8n: Update makefile to use the AIDL Wifi Vendor HAL.
Bug: 274964641
    Test: Pre-submit tests
    Change-Id: I4d9114377fe75b593bbfe6a59f03d8f5d607d6a1

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:17:15 +08:00
Shirayuki39 64867ce514 LG8n: Actually build SystemUIOverlay
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-19 19:12:05 +08:00
Woomymy aa70fe8ee4 LG8n: Install charger res images to vendor
Signed-off-by: Woomymy <woomy@woomy.be>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-19 19:10:46 +08:00
Shirayuki39 b828977ac8 LG8n: device.mk: Don't buld android.hardware.security.rkp-V*-ndk since we're not A14
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 20:37:27 +08:00
fjrXTR c695f0ed4f LG8n: build more media required libs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 14:43:25 +08:00