Commit graph

395 commits

Author SHA1 Message Date
Shirayuki39 d41ced68da LG8n: Update props
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-02 15:46:16 +08:00
Shirayuki39 332aa29f3f LG8n: add some rising flags
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-02 01:23:11 +08:00
Shirayuki39 a3ba9c4bd8 LG8n: use plato IMS blobs
* ImsApp crash kontol

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-02 01:10:28 +08:00
LuK1337 e1ea607c7c 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:42:12 +08:00
Shirayuki39 5036051946 LG8n: Build additional libs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-01 23:39:45 +08:00
Shirayuki39 86d95e835a 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:07 +08:00
Shirayuki39 1331614511 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:23 +08:00
Shirayuki39 c614c1de92 Revert "LG8n: Kang IMS Blobs from INFINIX-U-64-ARMV82-240620V2105"
This reverts commit a0db8ee731.
2024-08-01 14:52:25 +08:00
dodyirawan85 f4a27bb0f7 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:52:18 +08:00
fjrXTR 2e726e8aad LG8n: powerhint: Fix DT2W value
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-01 14:52:09 +08:00
Shirayuki39 a0db8ee731 LG8n: Kang IMS Blobs from INFINIX-U-64-ARMV82-240620V2105
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-01 13:39:29 +08:00
Shirayuki39 a1441d0edc LG8n: Build libperfctl_vendor
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 21:53:59 +08:00
fjrXTR 770668daba LG8n: Use libshim_ui for vtservice
F linker  : CANNOT LINK EXECUTABLE /system_ext/bin/vtservice: cannot locate symbol _ZN7android19GraphicBufferMapper4lockEPK13native_handlejRKNS_4RectEPPvPiS9_ referenced by /system_ext/lib64/libsource.so...

Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 21:53:46 +08:00
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 7312ea487f LG8n: cleanup
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 19:57:25 +08:00
Shirayuki39 5056932938 LG8n: Readd color modes
* Only for rising because the X Reality engine in rising actually works on LG8n

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 19:54:26 +08:00
Shirayuki39 ef29d891ed LG8n: set PRODUCT_NO_CAMERA to false
* I know it doesn't work yet, but we have a camera

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 04:26:06 +08:00
Shirayuki39 2dfac4385a LG8n: Rename Overlays to not cause conflicts with rising
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 04:25:54 +08:00
Ren 758cae0fc4 LG8n: Rising CoreGAPPS 2024-07-31 04:25:45 +08:00
Ren 5461ce4b61 LG8n: Something's rising and it ain't the shield hero 2024-07-31 04:25:26 +08:00
Shirayuki39 fffe7552c7 LG8n: Rearrange Soong Namespaces
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 01:34:35 +08:00
Shirayuki39 09825cb4d7 LG8n: Link to the correct shim
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 01:34:22 +08:00
Shirayuki39 0399653220 LG8n: Point to the correct shim for camera metadata
* Bruh

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-31 01:33:45 +08:00
neroices 3edfca9140 LG8n: sepolicy: Fix definition for storage_dbg_data_file 2024-07-30 21:49:57 +07: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
Giovanni Ricca e4967e0c5a LG8n: libshims: Add android::GraphicBufferMapper::unlock shim
* Commit Ib4590b7a3b839a993f6c747c5f09a6312f7ab329 modified
  GraphicBufferMapper::unlock overload. Create a shim to provide the old
  symbol for blobs that need it

Change-Id: I0e90ac0b383b05904df83076d990ad9335a40664
2024-07-28 19:50:28 +08:00
R0rt1z2 83b3478711 LG8n:libshims: Add android::GraphicBufferMapper::lock shim
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 19:47:58 +08:00
Shirayuki39 ce05ca2fb4 Revert "LG8n: Re-Import libperfctl_vendor"
This reverts commit bf5deca091.
2024-07-28 19:23:51 +08:00
Shirayuki39 bf5deca091 LG8n: Re-Import libperfctl_vendor
07-28 10:01:46.025   865   865 I FPSGO   : dlopen error: dlopen failed: library libperfctl_vendor.so not found
07-28 10:01:46.025   865   865 I FPSGO   : load_xgf_api fail
07-28 10:01:46.025   866   866 I GBE     : dlopen error: dlopen failed: library libperfctl_vendor.so not found
07-28 10:01:46.025   866   866 I GBE     : load_gbe_api fail

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 19:12:53 +08:00
Shirayuki39 0f18157db6 LG8n: Add SEPolicy for vibrator-service.transsion
Co-authored-by: dodyirawan85 <dev.irawans@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 18:34:52 +08: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 1578a6b31e Revert "LG8n: sepolicy: Address flags_health_check denials"
This reverts commit 0f9f873466.
2024-07-28 16:01:20 +08:00
Shirayuki39 e51c1a7938 LG8n: sepolicy: Address flags_health_check denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-28 14:15:19 +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
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 f0ca7afa98 LG8n: Nuke InCallService
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 04:52:38 +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
Shirayuki39 537a0a98b2 LG8n: Nuke power-mtk.xml manifest due to conflict
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 03:23:28 +08:00
Shirayuki39 8888008bff LG8n: sepolicy: Fix unable to serialize property duplicate
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 03:07:28 +08:00
Shirayuki39 91db3fba0d LG8n: sepolicy: Change mtk_hal_audio
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 02:52:36 +08:00
Shirayuki39 6012048c0b LG8n: sepolicy: remove duplicate declaration of NVRAM prop
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 02:21:46 +08:00
Shirayuki39 159263e47c LG8n: BoardConfig: Remove TARGET_POWERHAL_MODE_EXT
* Bleh

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 02:15:31 +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
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