Commit graph

39 commits

Author SHA1 Message Date
Łukasz Patron dd6d8f321b LG8n: Pass display ID to sensor location
Fixes wrong side fps overlay on Android V.

Change-Id: I7d5fd33d6e58760daa6ac6ce8aa8ccc40cfbd3c1
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-10-08 20:23:13 +08:00
alextrack2013 9680f88822 LG8n: Link Audio HAL against stock libalsautils [2/3]
* Fixes audio playback in some cases with USB headphones.

Change-Id: I4d904b1610dc6e17f29546f6f7f4f04bac0ca4c3
Signed-off-by: alextrack2013 <alextrack2013@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-25 12:56:14 +08:00
Shirayuki39 ed0891fda5 LG8n: Fix Maintainer string
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-11 17:03:32 +08:00
Shirayuki39 8b4cbeb5db LG8n: Welcome to derpfest(again)
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-11 10:30:02 +08:00
Shirayuki39 dd9bddb756 LG8n: overlay: Configure AOD
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-07 01:45:43 +08:00
Ren 20098267bd
LG8n: Move audio_param to device tree 2024-09-06 11:08:30 +08:00
Ren 0998347a86
LG8n: overlay: Import padding configurations 2024-09-05 07:06:29 +08:00
Shirayuki39 936c29dbbc LG8n: overlay: Fixup SystemUIOverlayLG8n
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-05 06:00:01 +08:00
LuK1337 33f8fbe825 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-09-05 01:11:04 +08:00
Shirayuki39 9f285c4a05 LG8n: overlay: Import Display Cutout data and Configure refresh rate
Co-authored-by: dodyirawan85 <dev.irawans@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-05 01:07:54 +08:00
Łukasz Patron 26c00c0c76 LG8n: overlay: Configure side fingerprint sensor properties
Change-Id: I75ba312895d18eae8c89db4dbb24a6945bad9860
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-05 01:02:18 +08:00
Shirayuki39 10f8268a64 LG8n: Build SystemUIResOverlay
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-05 00:58:23 +08:00
Bruno Martins 3dacf79c32 LG8n: overlay: Set physical power button and fps location
This sets config_is_powerbutton_fps, since the device has
fps embedded in the power button. It makes frameworks report that
fingerprint sensor is located on the side of the device, which
can be observed when enrolling a fingerprint for the first time.

Change-Id: Ifa079488db642c8a470e40cb585c08e9c85d7cf4
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-05 00:57:42 +08:00
Shirayuki39 15255111b1 LG8n: overlay: Import Auto Brightness Configurations from Stock
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-05 00:53:21 +08:00
Shirayuki39 59eb6a65d2 LG8n: overlay: Import dimens.xml from the Pova 4 Pro TrebleDroid Overlay
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-05 00:44:54 +08:00
Shirayuki39 deea9d6c50 LG8n: BoardConfig: Drop Duplicate TARGET_NO_BOOTLOADER
* Already defined in common

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-05 00:40:38 +08:00
Shirayuki39 939275197c LG8n: overlay: Initial Overlay
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-05 00:39:41 +08:00
Shirayuki39 a403d5dca2 LG8n: Import Audio Stack
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-05 00:07:19 +08:00
Shirayuki39 4cf1a3e2ab LG8n: Change path to mt6789-common
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-04 23:54:45 +08:00
Shirayuki39 27796b83eb LG8n: Import mcRegistry
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-09-04 23:48:08 +08:00
Shirayuki39 45e5a4bd29 LG8n: Build OSS Transsion Vibrator Service
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 16:35:39 +08:00
dodyirawan85 56841d05e6 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-29 16:22:59 +08:00
Shirayuki39 53703dd7c4 LG8n: Configure OTA Asserts
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 16:17:48 +08:00
Shirayuki39 13a2597e2c LG8n: Define Screen Width and Height for Boot Animation
Co-authored-by: dodyirawan85 <dev.irawans@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 16:16:59 +08:00
Shirayuki39 29717037ad LG8n: Configure AAPT
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 16:15:35 +08:00
Shirayuki39 1490dd5999 LG8n: Import audio_param Configs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 16:03:14 +08:00
bengris32 a0fa5280e4 LG8n:Define Bootloader flags
Change-Id: I8a4aad74ec90124cc35847c64d4db23f97af7ad7
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 16:01:32 +08:00
Shirayuki39 836cff4dfe LG8n: Introduce lineage.dependencies
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 15:24:14 +08:00
Shirayuki39 1d4981ff02 LG8n: Define Screen Density
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 10:09:04 +08:00
Woomymy 9ba63e98db LG8n: Install generated kernel headers from LG8n-kernel
* When generating kernel includes, lineage's generator was using kernel
  source from kernel/tecno/lg8n. 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: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 10:06:39 +08:00
Woomymy e70c4ebe78 LG8n: Fix recovery kernel modules instalation
* BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD should contain the
  list of modules loaded with the recovery, but the modules should be
  installed using BOARD_VENDOR_RAMDISK_KERNEL_MODULES

Signed-off-by: Woomymy <woomy@woomy.be>
Change-Id: I72768f8325017e0f5b969a7eb03ccccbf4b7eae0
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 10:05:30 +08:00
Woomymy 2d2117b8e6 LG8n: Add vendor ramdisk and recovery dlkm configs
Signed-off-by: Woomymy <woomy@woomy.be>
Change-Id: I09cadc101b57511e9441b0ca7349121d2a5521d6
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 10:04:17 +08:00
Shirayuki39 89655add77 LG8n: Add kernel flags
* Kernel is built separatly and placed in device/tecno/LG8n-kernel

Co-authored-by: Woomymy <woomy@woomy.be>
Co-authored-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 10:01:53 +08:00
Shirayuki39 68399ea436 LG8n: Inherit configuration from common trees
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 09:59:00 +08:00
Shirayuki39 46781fba8e LG8n: Import Vendor Firmware Files
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 09:47:54 +08:00
Alexander Koskovich cb080e27d9 LG8n:Don't override PRIVATE_BUILD_DESC.
* Doesn't appear to be used by anything relevant and
   it's been marked forever as do not parse, so we don't
   need the stock one at least.

Change-Id: I8fdfc1f738fede9675de739ef13cd8bfd9fefab2
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 09:46:48 +08:00
Michael Bestas 25fc95ac60 LG8n: Drop COMMON_LUNCH_CHOICES
As of 14 QPR2 this is broken, let's remove it instead of updating it
every 3 months. breakfast is the way to go.

Change-Id: I097bd54b894d9a49c7ce8b1ab6f343349e268fd8
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 09:45:57 +08:00
Shirayuki39 ded6d80c2d LG8n: Initial Skeleton Tree
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 09:45:20 +08:00
Shirayuki39 266d147836 LG8n: Add Device Spec Sheet
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-29 09:33:39 +08:00