Commit graph

70 commits

Author SHA1 Message Date
Shirayuki39 191e7b9015 LG8n: BoardConfig: Drop Duplicate TARGET_TAP_TO_WAKE_NODE
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-18 16:51:33 +08:00
Shirayuki39 3fc1e14fe0 Revert "LG8n: Set TARGET_USES_VULKAN to true"
This reverts commit a2606c644e.
2024-08-18 13:27:49 +08:00
Shirayuki39 175da1f7f2 LG8n: BoardConfig: Drop TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-18 04:25:15 +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 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 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 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 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 6a0c955e21 LG8n: Install product.props
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-02 04:59:36 +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
Georg Veichtlbauer d987c60bc8 LG8n: powerhint: Add DT2W
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 01:30:24 +08:00
Marc Bourgoin 0db9def1aa LG8n: Fix audio on QPR3 with alsa audio
As of Android 14 QPR3, our device requires the use of
alsa audio,# otherwise audio HAL keeps crashing with
error unable to route audio and listAudioPorts failed

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 00:38:22 +08:00
bengris32 f75af8a622 LG8n: Wrap Wi-Fi flags with quotation marks
Change-Id: I04d26ee28f72d4bea727f91df395c8bdb7db3237
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:18:46 +08:00
Shirayuki39 78b6cbc24b LG8n: Set BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE
* Userspace blobs are still dependent on older props that do not pass the VTS test cases.

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 23:00:48 +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 5a1a290db4 LG8n: BoardConfig: fixups and change paths for modules
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 01:38:07 +08:00
Shirayuki39 4efa4dd8e1 LG8n: BoardConfig: Fix SEPolicy path
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 21:23:08 +08:00
Shirayuki39 12b8b0b9de LG8n: Remove Permissive boot because we can boot enforcing now
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 14:59:18 +08:00
Shirayuki39 9a6a4c6373 LG8n: Kang sepolicy from pre-Reboot branch(and ck9n)
* Wouldn't kanging be faster

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 14:56:10 +08:00
Shirayuki39 1357f892e6 LG8n: Enable OTA Asserts
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 14:19:23 +08:00
Shirayuki39 28dc9a30db LG8n: Inherit generic mediatek_vndr sepolicy
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 14:18:30 +08:00
Woomymy ad1def14ad LG8n: Enable Wi-Fi STA/AP concurrency
* https://source.android.com/docs/core/connect/wifi-sta-ap-concurrency

Change-Id: Ie3341ce8e716f7c7071882b4ff0ad966cff6482f
Signed-off-by: Woomymy <woomy@woomy.be>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 14:16:53 +08:00
Woomymy e9efa05d9a LG8n: Enable F2FS Compression
Signed-off-by: Woomymy <woomy@woomy.be>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 08:21:52 +08:00
Arne Coucheron 5dce2c3461 LG8n: Add 0x2000 to additional gralloc usage bits
Fixes warning.

| gralloc4: Buffer descriptor with invalid usage bits 0x2000

Change-Id: I8e67bec9ade6e80e2e362f7a3c287f74b7d81242
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:57:30 +08:00
Shirayuki39 c3b528e171 LG8n: BoardConfig: Use appropriate security patch level
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:43:46 +08:00
dmpstr 4d34381fc1 LG8n: Set SELinux as permissive
`"The device knew the system wouldn't boot with an enforcing kernel, so it switched it out for a permissive kernel"`
`- april (fzr850)`
2024-05-24 09:35:44 +08:00
dmpstr f01add7d7e [DNM] LG8n: Make SELinux enforcing 2024-05-24 09:14:45 +08:00
SebaUbuntu 5a2f3338cf LG8n: Reboot to recovery if init fails 2024-05-24 08:51:28 +08:00
aubrey 94b614a667
LG8n: Switch CPU runtime variant to cortex-a76 2024-05-24 08:39:14 +08:00
Shirayuki39 0daf260f2a LG8n: let's restart from scratch, part 1 2024-05-22 20:40:46 +08:00
Dan Pasanen 2410f428e1 X6833B: Reserve additional space on system/system_ext/product
Co-authored-by: Alessandro Astone <ales.astone@gmail.com>
Co-authored-by: Eamon Powell <eamonpowell@outlook.com>
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Co-authored-by: Nolen Johnson <johnsonnolen@gmail.com>
Co-authored-by: razorloves <razorloves@gmail.com>
Change-Id: I0382f5070751ef4d1be0e48bb89c7abb7eba22c6
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Woomymy c3de457ad8 X6833B: Switch system, system_ext and product to ext4 on non-gms builds
* Makes gapps installation possible, while keeping vendor and
  vendor_dlkm read-only

Signed-off-by: Woomymy <woomy@woomy.be>
Change-Id: I84eecbf5237d878eff8c368f7ab9bd16b45e46e7
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
dodyirawan85 ba2741e9eb X6833B: Define tap to wake node
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
Arian 440e178dcb X6833B: Add power HAL extension and use xiaomi-touch to handle dt2w
Change-Id: I5c65e0df255853eb2b3018a27ceb807c111bc4df
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:11 +07:00
Sebastiano Barezzi 8739c09edc X6833B: Enable vendor RIL service
* We use Mediatek's RIL implementation

Change-Id: I8ca9fcf2afd335ca8f9c7901efa74cddae34708f
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
Woomymy f5223e0f35 X6833B: Install all modules to vendor
Signed-off-by: Woomymy <woomy@woomy.be>
Change-Id: Ife7242c9e3e733436739aa94ed2fb359a316177c
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:13:09 +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 5ca665b1a5 X6833B: Configure Display Stack
* Reference
  cbfb355770
  https://github.com/xiaomi-mt6789-devs/android_device_xiaomi_yunluo/tree/lineage-20 (Lib symlinks)

Co-authored-by: electimon <electimon@gmail.com>
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:03:04 +07:00
dodyirawan85 17b307a980 X6833B: Import device manifest from stock
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 08:57:51 +07:00
dodyirawan85 673758727a X6833B: Define screen density
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-13 01:10:45 +07:00
Woomymy 23230d0990 X6833B: Install generated kernel headers from X6833B-kernel
* When generating kernel includes, lineage's generator was using kernel
  source from kernel/infinix/x6833b. Use kernel headers generated by the
  kernel build system instead (kernel-headers.tar.gz) and a Makefile to
  copy them during `make headers_install`.

Signed-off-by: Woomymy <woomy@woomy.be>
Change-Id: I2c3972604822ce89201d8a317292cd045e77c705
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-13 01:10:45 +07:00
dodyirawan85 ac8af3424c X6833B: Allow duplicate and copy prebuilt elf rules
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-13 01:10:45 +07:00
dodyirawan85 e088d86d5d X6833B: Configure odm_dlkm partition
* Also reorder `AB_OTA_PARTITIONS` and `BOARD_MTK_DYNAMIC_PARTITIONS_PARTITION_LIST`  list while we're at it

Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-13 01:10:45 +07:00