Commit graph

430 commits

Author SHA1 Message Date
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
Shirayuki39 d0ebb78b49 LG8n: Fix Typo in derp_strings.xml
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-10 12:37:42 +08:00
Shirayuki39 9f7e113ade LG8n: Add DerpFest Flags
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-10 11:59:38 +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 cd34499cc1 LG8n: Welcome DerpFest
* I broke my risingOS install by downgrading to 4.2 from 5.0 beta lol

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-10 10:53:19 +08:00
Shirayuki39 0018ac24f6 LG8n: overlay: Define config_autoBrightnessLightSensorRate
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-10 02:51:42 +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 28030a1c45 LG8n: Fix path
*Bleh

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-09 05:07:54 +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 a2606c644e LG8n: Set TARGET_USES_VULKAN to true
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-08 21:16:09 +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
Danny Lin b0573bc8fa LG8n: overlays: Settings: Enable Smooth Display setting
LG8n has peak refresh rates higher than
60 Hz, so allow users to toggle high-refresh rate like on stock.

Change-Id: If757492b40d23c6742378a1ec0c7b3ece31ad720
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-05 20:17:43 +08:00
Shirayuki39 a3633253ad LG8n: WifiResOverlay fixup
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-05 20:03:18 +08:00
Shirayuki39 05005d148f LG8n: Fix malformed AndroidManifest.xml for WifiResOverlay
* Bruh

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-05 05:04:02 +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
Shirayuki39 a0dc878f7b LG8n: Import IMS from X6833B-H894DEFGHI-U-GL-240703V808
* Plato gave us unstable VoLTE, duchamp gave us Schrodinger's Volte and stock gave us no VoLTE

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-03 19:29:09 +08:00
Shirayuki39 c18fa0778b LG8n: Drop FPSGO and GBE
* Does not even work properly anyway

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-03 16:26:08 +08:00
xNombre 8c0cd62893 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 fe5ea6ee2f LG8n: Cleanup blobs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-03 15:31:04 +08:00
Shirayuki39 a279e17524 Reapply "LG8n: use appropriate ims permissions"
This reverts commit 5d07a81c73.
2024-08-03 12:45:58 +08:00
Shirayuki39 da73d24c18 LG8n: Import IMS from duchamp
* In duchamp IMS we trust

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-03 01:55:54 +08:00
Shirayuki39 47fb6a46c8 LG8n: Import IMS from X6833B-H894DEFGHI-U-GL-240703V808
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-02 22:35:07 +08:00
Shirayuki39 82e983a54e Revert "LG8n: use plato IMS blobs"
* VoLTE Unstable bruh

This reverts commit 9fbca8c0be.
2024-08-02 22:13:38 +08:00
Shirayuki39 5d07a81c73 Revert "LG8n: use appropriate ims permissions"
This reverts commit 959dda9105.
2024-08-02 22:13:31 +08:00
Shirayuki39 fe8d5f9c9b LG8n: use appropriate ims permissions
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-02 17:22:49 +08:00
Shirayuki39 0144a22bfe LG8n: Update props
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-02 04:59:47 +08:00
Shirayuki39 6a0c955e21 LG8n: Install product.props
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-02 04:59:36 +08:00
Shirayuki39 9fbca8c0be LG8n: use plato IMS blobs
* ImsApp crash kontol

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-02 01:26:30 +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 12753dc2a0 Revert "LG8n: powerhint: Fix DT2W value"
: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-01 22:50:15.709  2810  2810 F DEBUG   : RisingOS Version: '4.2'
08-01 22:50:15.709  2810  2810 F DEBUG   : Build fingerprint: 'TECNO/LG8n-GL/TECNO-LG8n:12/SP1A.210812.016/240531V1800:user/release-keys'
08-01 22:50:15.709  2810  2810 F DEBUG   : Revision: '0'
08-01 22:50:15.709  2810  2810 F DEBUG   : ABI: 'arm64'
08-01 22:50:15.709  2810  2810 F DEBUG   : Timestamp: 2024-08-01 22:50:15.697838983+0800
08-01 22:50:15.709  2810  2810 F DEBUG   : Process uptime: 0s
08-01 22:50:15.709  2810  2810 F DEBUG   : Cmdline: /vendor/bin/hw/android.hardware.power-service.lineage-libperfmgr
08-01 22:50:15.709  2810  2810 F DEBUG   : pid: 2807, tid: 2807, name: android.hardwar  >>> /vendor/bin/hw/android.hardware.power-service.lineage-libperfmgr <<<
08-01 22:50:15.709  2810  2810 F DEBUG   : uid: 0
08-01 22:50:15.709  2810  2810 F DEBUG   : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
08-01 22:50:15.709  2810  2810 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
08-01 22:50:15.709  2810  2810 F DEBUG   : Abort message: 'Invalid config: /vendor/etc/powerhint.json'
08-01 22:50:15.709  2810  2810 F DEBUG   :     x0  0000000000000000  x1  0000000000000af7  x2  0000000000000006  x3  0000007fe777f0f0
08-01 22:50:15.709  2810  2810 F DEBUG   :     x4  64766e6f2e627364  x5  64766e6f2e627364  x6  64766e6f2e627364  x7  7f7f7f7f7f7f7f7f
08-01 22:50:15.709  2810  2810 F DEBUG   :     x8  00000000000000f0  x9  0000007b169263a0  x10 ffffff80ffffffdf  x11 fffffffffffffffd
08-01 22:50:15.709  2810  2810 F DEBUG   :     x12 0000007fe777f090  x13 000000000000002b  x14 b400007aa667c510  x15 000000004cec4f46
08-01 22:50:15.709  2810  2810 F DEBUG   :     x16 0000007b169d3fd0  x17 0000007b169be280  x18 0000007b17b7c000  x19 0000000000000af7
08-01 22:50:15.709  2810  2810 F DEBUG   :     x20 0000000000000af7  x21 00000000ffffffff  x22 0000007b17158fc0  x23 0000000000000000
08-01 22:50:15.709  2810  2810 F DEBUG   :     x24 0000000000000000  x25 0000000000000000  x26 0000000000000000  x27 0000000000000000
08-01 22:50:15.709  2810  2810 F DEBUG   :     x28 0000000000000000  x29 0000007fe777f170
08-01 22:50:15.709  2810  2810 F DEBUG   :     lr  0000007b1695daec  sp  0000007fe777f0d0  pc  0000007b1695db1c  pst 0000000000001000
08-01 22:50:15.709  2810  2810 F DEBUG   : 7 total frames
08-01 22:50:15.709  2810  2810 F DEBUG   : backtrace:
08-01 22:50:15.709  2810  2810 F DEBUG   :       #00 pc 000000000005ab1c  /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) (BuildId: 2afbb904895f83a90c49093b988e4c45)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #01 pc 0000000000006088  /system/lib64/liblog.so (__android_log_default_aborter+12) (BuildId: ebe5f9e6e7260209b52b075b9c6f0d5c)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #02 pc 0000000000016938  /vendor/lib64/libbase.so (android::base::LogMessage::~LogMessage()+356) (BuildId: c4818d0ed3ab8b2bb35117388453406e)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #03 pc 00000000000392bc  /vendor/lib64/libperfmgr.so (android::perfmgr::HintManager::Reload(bool)+964) (BuildId: 5d96334bb5971a00292d4975d9fe94a2)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #04 pc 0000000000039970  /vendor/lib64/libperfmgr.so (android::perfmgr::HintManager::GetInstance()+60) (BuildId: 5d96334bb5971a00292d4975d9fe94a2)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #05 pc 0000000000008290  /vendor/bin/hw/android.hardware.power-service.lineage-libperfmgr (main+40) (BuildId: 73fae18a9322df2b77e453da8b119c9e)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #06 pc 0000000000054714  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+116) (BuildId: 2afbb904895f83a90c49093b988e4c45)

This reverts commit 2e726e8aad.
2024-08-01 22:51:53 +08:00
Shirayuki39 d9a7dea909 LG8n: Kang IMS Blobs from INFINIX-U-64-ARMV82-240620V2105(XOS GT Port V3)
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-01 16:12:50 +08:00
Shirayuki39 b1d7beca34 Revert "LG8n: Kang IMS Blobs from INFINIX-U-64-ARMV82-240620V2105"
This reverts commit d3a8f82072.
2024-08-01 14:51:16 +08:00
dodyirawan85 1483d728d1 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 14:16:01 +08:00