Commit graph

56 commits

Author SHA1 Message Date
Shirayuki39 1ac966e657 Revert "LG8n: Kang IMS stuffs from H0AMSI ROM's"
This reverts commit ec3c6af020.
2024-07-31 21:44:02 +08:00
fjrXTR ec3c6af020 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:54:55 +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
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
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
Shirayuki39 34d2097d01 LG8n: vintf: remove android.hardware.boot from manifest
ERROR: files are incompatible:
 android.hardware.boot@1.0::IBootControl/default is deprecated; requires at least 1.2
    because it matches android.hardware.boot@1.0::IBootControl/default from /system/etc/vintf/compat
ibility_matrix.4.xml

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:19:37 +08:00
Shirayuki39 2c21867fef LG8n: Update to LG8n-H891OPAeAf-S-GL-240531V2678
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-23 18:15:47 +08:00
Shirayuki39 51ae0b6279 LG8n: props: Update props
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 11:53:17 +08:00
Shirayuki39 411f8b3cf0 LG8n: media: Kang media configs from X6837
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 19:51:10 +08:00
Vaisakh Murali ee7ab520cf LG8n: Include c2 media codecs
Enables c2 codec detection

Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Reviewed-on: https://review.statixos.com/c/android_device_xiaomi_cannon/+/6412
Reviewed-by: Vaisakh Murali <vaisakhmurali@gmail.com>
Tested-by: Vaisakh Murali <vaisakhmurali@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 15:57:30 +08:00
Shirayuki39 5abd04f064 LG8n: Reconfigure Media Stack
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 15:57:08 +08:00
Shirayuki39 ce7928789e LG8n: Self-kang props from pre-reboot branch
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 14:22:42 +08:00
etylix 15203b6761 LG8n: props: RIL for battery life.
Changed “ro.ril.disable.power.collapse” value to zero.
Seems to be a debate on what value is more effective but after more reading and testing found that a value of “0” shows more improvement.
Have also added “ro.mot.eri.losalert.delay=1000 “ that helps smooth out disconnects and reconnects, saving battery.

Co-authored by: KARTHIK LAL <karthik.lal558@gmail.com>

Change-Id: Iaad44323cc6aa11332a6d818cc2402929b7b15ae
Signed-off-by: DarkAngelGR <asavvo01@gmail.com>
Signed-off-by: ramshell688 <ramonzost68@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 08:19:41 +08:00
Shirayuki39 37f633a5ae LG8n: props: Import recommended dexopt props
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 08:11:14 +08:00
Shirayuki39 43cff21a0d LG8n: Import LG8n Media Configs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 08:05:32 +08:00
Shirayuki39 78e7e75f0e LG8n: Import LG8n stock audio configs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 08:02:15 +08:00
fjrXTR b6e7810f08 LG8n: configs: Add missing IMS permission
Change-Id: If916d8ac813d1aea54c4fba31745de09f78fec95
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:58:07 +08:00
LuK1337 55f4ca66d6 LG8n: prop: Disallow aux cam usage for Telegram / Telegram X
These seem to misbehave when they reach certain camera IDs.

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:51:23 +08:00
Shirayuki39 a5d018b999 LG8n: vintf: Fixup manifest and FCM
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:42:45 +08:00
AndroidHQ254 bab3d6632a LG8n: Import stock public.libraries.txt
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:41:07 +08:00
Tim Zimmermann 311fd01400 LG8n: props: Enable FS-Verity
* fsverity flag in fstab is needed to make init run tune2fs -O verity on it

Change-Id: Iebc34457f8d92bf8e09cf1981a47e597aa7ab7c3
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:37:20 +08:00
bengris32 58b947bbeb LG8n: Ship MediaTek cgroup/task_profiles configuration
* MediaTek ship their own modified task_profiles and use the V30 cgroups configuration.

Change-Id: I15245ea87b00925597db65f1564e808a094c937a
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:32:28 +08:00
Shirayuki39 8c27b3a9d3 LG8n: Import Camera Stack
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:11:32 +08:00
Sarthak Roy 2628f11802 X6833B: Remove android.hardware.soundtrigger@2.3 from manifest
Change-Id: I3a5132c27f4b9801c7824443a6ff4ce0580ded69
Signed-off-by: Sarthak Roy <sarthakroy2002@gmail.com>
Signed-off-by: SakthivelNadar <s2234nadar@gmail.com>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:15:20 +07:00
bengris32 9df45be24c X6833B: perf: Trigger kernel touch boosting on INTERACTION
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I7b1397b66553a68e96e5b2471bc62dbb083f89cf
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Vaisakh Murali afb70de88e X6833B: perf: Use input boost to improve interaction hint
Drop unused GPU node and instead use input touch boost for boosting
whenever a touch input is detected upto 50% and for a duration of
1 millisecond, improving overall scrolling and responsiveness.

Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Change-Id: I77c163ea7a2cf9546c321b180b2304b099fc7a34
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
bengris32 f960288513 X6833B: perf: Remove unimplemented hints on AOSP
* Clean-up the scenario table by removing hints which
  would never be triggered under an AOSP system.

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: Ib4572fe68ed7e0e77124895b47b59daa0e3786c0
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
SamarV-121 3fb13ca2f1 X6833B: perf: Rename MTKPOWER_HINT_UX_SCROLLING hint to INTERACTION
* This hint along with almost every MTKPOWER_HINT depends on fwk side changes
 * Use INTERACTION hint to boost stuffs on interaction instead

Change-Id: I79603458fb525cdc1b6ac58cee31b84d63083f79
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Woody Lin 0c7fab181e X6833B: Enable zygote critical window
Bug: 141948707
Change-Id: Iad7407bdacd03caafc4bb3ce2b9deaff00b9f692
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
David Sehr 75db0331bf X6833B: Use dex2oat64 for better dexopt time
Enable dex2oat64 usage on ruby.

Bug: 153380900
Test: boot and install an application.
Change-Id: I101ebfe5865da84baa90c55d2246dbd4287a9b72
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
bengris32 dcbc47dc22 X6833B: Configure MediaTek IMS stack
* Import required system IMS blobs from XOS X6833B-H894DEFGHI-T-GL-231102V2897.
* Set the default IMS implementation to com.mediatek.ims via overlay.
* Force enable IMS features via overlay and sysprops.
* Add MediaTek framework jars to bootjars.
* Copy priv-app permissions for MediaTek IMS.

Change-Id: Ie258bff336586919a1127c3f7241e3ef9d689dd5
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:28 +07:00
dodyirawan85 5f632b55a9 X6833B: Add keylayout file to map double tap event to wake
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 b68902cc11 X6833B: Configure Apuware stack
Refs: 7a24215e7a/proprietary-files.txt (L14)

Co-authored-by: Woomymy <woomy@woomy.be>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 dca4eaa102 X6833B: Configure GNSS stack
* Reference: 32c01723d3

Co-authored-by: electimon <electimon@gmail.com>
Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 89adb47547 X6833B: Configure Neural Networks stack
Refs:
* 20a5cd3523
* 7a24215e7a/proprietary-files.txt (L7521)

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Co-authored-by: Woomymy <woomy@woomy.be>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 1a1754044a X6833B: Configure Media stack
* References: 1cba75df74

Co-authored-by: electimon <electimon@gmail.com>
Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
dodyirawan85 9b5848a12c X6833B: Configure offline charging
Refs:
436747685d
0951b5b378

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:13:59 +07:00
dodyirawan85 9469383b0d X6833B: Configure Radio/IMS stack
Refs: 98ebd44a6a

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:13:50 +07:00
dodyirawan85 0de96303d2 X6833B: Configure NFC stack
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:13:08 +07:00
Josh Wu 3bd5cb997b X6833B: Switch BtAudio to AIDL
Test: m
Bug: 203490261

Change-Id: I80eced28790a15ad5485c9780ccf5812ab75dc1d
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:12:42 +07:00
dodyirawan85 2bd6390627 X6833B: Configure Bluetooth stack
Refs: 8162996196

Co-authored-by: electimon <electimon@gmail.com>
Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:12:28 +07:00
dodyirawan85 f401f30c14 X6833B: Configure Sensors stack
Refs: 3bf7b31611

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:11:38 +07:00
bengris32 8551890ccc X6833B: Switch to prebuilt libwifi-hal
* Reference: https://github.com/moto-common/android_device_mediatek_common/tree/master/vendor/wlan

* Perhaps it will help with the Wi-Fi scanning issues,
  and intermittent disconnections we're having. Besides,
  we can't legally use the OSS one anyway.

Change-Id: I9bbf289ad88a12bbdc68ab0abdee410678bf1420
Co-authored-by: electimon <electimon@gmail.com>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:11:18 +07:00
dodyirawan85 5a3219062d X6833B: Configure Wi-Fi stack
Refs: c0fb62cdc9

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:11:17 +07:00
dodyirawan85 c2abe75e9d X6833B: Configure TEE stack
Refs: fc96a49e41/proprietary-files.txt (L2218)

Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:10:59 +07:00