Commit graph

464 commits

Author SHA1 Message Date
namaskaragusthi 1d96db43d2 LG8n: overlay: Enable FadingMarquee
Improves the UI Smoothness.

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-17 19:49:01 +08:00
Danny Lin e0fdca635f LG8n: props: Disable sf EGL image tracking
Surfaceflinger Debugging feature that we don't care about, so disable it to reduce overheads.
Signed-off-by: skwel <abalverde1694@gmail.com>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-17 19:49:01 +08:00
Martin Liu e0c54c1ed6 LG8n:props: Disable LMK Debug
This disables LMKD debug logs
https://source.android.com/docs/core/perf/lmkd#configuring-lmkd-in-android-r

Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-17 19:49:01 +08:00
Shirayuki39 bcd76a3413 LG8n: configs: props: Import some stock stuffs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-17 19:49:01 +08:00
Alex Sarraf d977f47768 LG8n: display: Set debug.sf.auto_latch_unsignaled to 0
Need to explicitly set auto_latch_unsignaled property to
disabled state to keep latch-unsignaled as the default
behavior.

Change-Id: I3856caaf0a68e7e720819f25338d1eb9196f56b0
2024-08-17 19:49:01 +08:00
wildbeetle afe2ff28fd LG8n: Remove debug.sf.latch_unsignaled
* Got removed in A14 QPR2
 * 1fd9bfca9d
 * We have set auto_latch_unsignaled property to
   disabled state to keep latch-unsignaled as the default
   behavior.

Change-Id: I3443d6e5b0916a3098dad556ec46cf53069ae348
Signed-off-by: SamarV-121 <samar@samarv121.dev>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-15 19:14:33 +08:00
Shirayuki39 dc1eff5654 LG8n: configs: Fix audiopreprocessing path
* I forgot to do this before committing 567e87c bruh

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-15 15:14:31 +08:00
Shirayuki39 d9b71c9d8b LG8n: Hardcode the TAP_TO_WAKE_NODE into the libperfmgr extension
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-14 23:56:16 +08:00
Shirayuki39 b7e84f207c LG8n: BoardConfig: Wrap TARGET_TAP_TO_WAKE_NODE in quotes
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-14 23:51:51 +08:00
Shirayuki39 4b344f59a6 LG8n: configs: powerhint: Let the power mode extension handle dt2w
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-14 23:41:44 +08:00
Shirayuki39 265c8c8087 LG8n: Rename Xiaomi to Transsion
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-14 23:40:40 +08:00
Arian ae5f0bfbdb LG8n: Provide a static lib for power mode extension
Change-Id: I3e2cf17bf1e733838e9e18afdf3f888e814593dc
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-14 23:39:36 +08:00
Shirayuki39 a22472a4e6 LG8n: power: Adapt namespace for libperfmgr
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-14 21:15:07 +08:00
Shirayuki39 b5d4a419f2 LG8n: power: Bring back power-mode.cpp
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-14 21:15:07 +08:00
Shirayuki39 737909c6d8 LG8n: BoardConfig: Define TARGET_TAP_TO_WAKE_NODE
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-14 20:38:15 +08:00
Shirayuki39 c474e84c16 LG8n: sepolicy: Allow libperfmgr to read dir perms for dt2w node
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-14 18:42:42 +08:00
Shirayuki39 4707237abc Revert "LG8n: Build and rename audio service HAL"
This reverts commit 09782b6996.
2024-08-14 15:11:09 +08:00
Shirayuki39 c80d554da1 Revert "LG8n: audio: Use binder threadpool"
This reverts commit 13856a412b.
2024-08-14 15:11:07 +08:00
bengris32 6636ab9c73 LG8n: audio: Fix UUIDs for AOSP audio pre-processing effects
* EffectsFactoryConfigLoader: Error querying effect 9f35ed76-0b66-4330-8f79-e39ca266dc7c on lib pre_processing
  EffectsFactoryConfigLoader: Error querying effect 300abe9f-dfc5-4340-9c4b-79ef1be4e651 on lib pre_processing
  EffectsFactoryConfigLoader: Error querying effect 3387eb70-9896-4338-90f5-b2de883864c9 on lib pre_processing
  EffectsFactoryConfigLoader: 3 errors during loading of configuration: /vendor/etc/audio_effects.xml
  EffectsFactory: Effect config is partially invalid, skipped 3 elements

* Fixes a0ecac (RM6785: Drop MTK audiopreprocessing).

Change-Id: I5cf2a493cad4befe42c56f7dfb0c70f5957d2389
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-14 14:33:34 +08:00
Vaisakh Murali 1b735b108a LG8n: Drop MTK audiopreprocessing
OSS counterpart works well, instead of using prebuilt blobs, use oss
where possible. This has no adverse effect on the audio quality.
Switch to OSS libaudiopreprocessing.

Change-Id: Id6f075c76f7bf13b12b66500d60b65c69ef069e5
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-14 14:33:32 +08:00
Shirayuki39 baa2f36a77 LG8n: configs: powerhint: Drop *mediatek* stuffs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-14 14:02:51 +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 f2c2c98f24 LG8n: rootdir: Start shirayuki-dt2w on late_start
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-14 11:26:46 +08:00
Shirayuki39 75f87d9602 LG8n: fixup!: Fix Android.bp
* Bruh

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-14 03:15:51 +08:00
Shirayuki39 9407fb90fb LG8n: Introduce shirayuki-dt2w service as a helper for DT2W service app
* The code can use some improvements

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-14 03:04:43 +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 f5d0d8ae8f LG8n: remove xiaomi-touch from dt2w Android.bp
* Lol

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-13 22:53:31 +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
Shirayuki39 70cd3788d3 LG8n: rootdir: Change init.gesture.sh code
* Instead of trying to read from a secure key, use it to assist dt2w service

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-13 22:44:40 +08:00
Shirayuki39 856f196618 LG8n: rootdir: Add shebang on init.gesture.sh
* This could be why it's not executing even if called by init, honestly i'm just shooting in the dark atp

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-13 21:53:51 +08:00
Shirayuki39 5ead707f36 LG8n: rootdir: call init.gesture.sh on boot
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-13 21:26:19 +08:00
Shirayuki39 9e8121393c LG8n: rootdir: Improve init.gesture.sh to allow dt2w to be turned off
* may have to be adapted for every rom since not every rom uses the same dt2w settings key lol

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-13 19:42:55 +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 522c0cc573 LG8n: props: Import MTK Audio props
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-13 19:10:21 +08:00
Shirayuki39 b1870db572 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:39:49 +08:00
Shirayuki39 a2d234dc24 LG8n: sepolicy: Fixup dt2w node in mtk_hal_power
* Lol

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-13 14:07:06 +08:00
Shirayuki39 89f6aa4a44 LG8n: sepolicy: Fix dt2w nodes
* Lol

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-13 14:02:05 +08:00
Woomymy 20fda16312 LG8n: sepolicy: Address libperfmgr power HAL denials
Change-Id: Ia642e53930b77b79f157e27c135c13b4e2131cff
Signed-off-by: Woomymy <woomy@woomy.be>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-13 10:45:41 +08:00
Woomymy adb00c1f36 LG8n: sepolicy: Allow libperfmgr to write cgroup files
Change-Id: I9bf653076acf06111f3bb8b0ef46f56362f7f829
Signed-off-by: Woomymy <woomy@woomy.be>

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-13 00:57:48 +08:00
Shirayuki39 44658cdc5c LG8n: sepolicy: Allow libperfmgr to access the dt2w nodes
* Bruh

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-12 22:58:55 +08:00
Shirayuki39 015bd3046e LG8n: configs: powerhint: Fix DT2W values
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-12 21:30:35 +08:00
Shirayuki39 40eff5adcd Revert "LG8n: Temporarily bring back mtkpower stack"
This reverts commit 9ed2ce0ae0.
2024-08-12 18:36:32 +08:00
Shirayuki39 323d80ff22 Revert "LG8n: Fix path"
This reverts commit 8d6a1ba8ea.
2024-08-12 18:36:26 +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
fjrXTR 78fccf3e9e LG8n: configs: properties: Add some Tweak for better perform…
…ance

* taken from fleur tree & this commit 23217c0

Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-11 21:40:31 +08:00
Shirayuki39 8a31706d50 LG8n: Build SettingsProviderOverlayLG8n
*Bruh

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-11 05:47:22 +08:00
Shirayuki39 4051120b2a LG8n: Switch to minigapps
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-11 03:08:01 +08:00
Ren 67b3fe6845
LG8n: Fix PRODUCT_NAME
* Kontol
2024-08-10 16:35:32 +08:00
Shirayuki39 b01bc18412 Revert "LG8n: Fix COMMON_LUNCH_CHOICES"
* Bruh

This reverts commit 02ce30c6af.
2024-08-10 13:35:32 +08:00
Shirayuki39 02ce30c6af LG8n: Fix COMMON_LUNCH_CHOICES
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-10 13:25:30 +08:00