Commit graph

57 commits

Author SHA1 Message Date
Shirayuki39 1aefd8f720 LG8n: configs: powerhint: Change cc0 to cc2 for DT2w off state
Test by sending cc1 first to the dt2w node which should enable dt2w
then send cc0 which should turn it off but it doesn't
Sending cc2 disables dt2w, not cc0
Maybe this is why dt2w broken

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-13 15:36:49 +08:00
Shirayuki39 9e727be721 LG8n: configs: powerhint: Fix DT2W values
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-12 21:30:59 +08:00
fjrXTR ee082d12c7 LG8n: configs: properties: Add some Tweak for better performance
* taken from fleur tree & this commit 23217c0

Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-12 18:35:21 +08:00
xNombre 08302337b3 LG8n: props: Enable IncrementalFS support
* IncrementalFS is enabled by default in GKI defconfig

Signed-off-by: Woomy <woomy@woomy.be>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-03 15:33:21 +08:00
Shirayuki39 4c1b6e7d41 LG8n: use appropriate ims permissions
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-03 12:45:58 +08:00
Shirayuki39 6d7f2fa9a7 LG8n: Update props
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-02 04:59:47 +08:00
dodyirawan85 3690a763f3 LG8n: Kang smooth display props from xiaomi emerald
Signed-off-by: dodyirawan85 <dev.irawans@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-01 22:51:53 +08:00
Shirayuki39 a842cfee08 LG8n: configs: Nuke references to DTS Audio
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 16:01:20 +08:00
Georg Veichtlbauer 96d2a24a81 LG8n: powerhint: Add DT2W
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 01:30:24 +08:00
DennySPB 8db8995f19 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 067c3723d4 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 a39971faa7 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 20c544a63e 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 524370028b 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 787658e184 LG8n: Drop MTK PowerHAL and cleanup
* ref - xiaomi-mt6789-devs/android_device_xiaomi_yunluo@8361661

Co-authored-by: Woomymy <woomy@woomy.be>
Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:50:55 +08:00
Shirayuki39 6c9f0b3dea 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 c86561c87c LG8n: Update to LG8n-H891OPAeAf-S-GL-240531V2678
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-23 18:15:47 +08:00
Shirayuki39 c4d8e5488e LG8n: props: Update props
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 11:53:17 +08:00
Shirayuki39 8297e8a844 LG8n: Self-kang props from pre-reboot branch
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 14:22:42 +08:00
etylix 52c79fdec5 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 87b5d4ef6f LG8n: props: Import recommended dexopt props
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 08:11:14 +08:00
Shirayuki39 573053ec58 LG8n: Import LG8n stock audio configs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 08:05:32 +08:00
fjrXTR 23cca09c4e 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 d9b5512540 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 04dbe0f380 LG8n: vintf: Fixup manifest and FCM
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:42:45 +08:00
AndroidHQ254 99e654cf0d LG8n: Import stock public.libraries.txt
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:41:07 +08:00
Tim Zimmermann 45a9fe4666 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 d21360b5a8 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 0afdaf3538 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