Commit graph

223 commits

Author SHA1 Message Date
Wei Wang 5983bbb725 LG8n: rootdir: Tune zram performance
-Set max_comp_streams to num of cores since upstream also moves this to percpu.

Bug: 38249616
Test: boot and run zram-perf showing better performance
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:28:54 +08:00
bengris32 c6eedc41a1 LG8n: rootdir: Add ZRAM entry from fstab.enableswap
Change-Id: I84333394bd27f67fcd30e054f0446e7c45f39bde
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:28:37 +08:00
fjrXTR afc7e6f426 LG8n: link older libutils for audio.primary.mt6789
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:28:11 +08:00
Jiyong Park 48ae642a21 LG8n: power: Remove ndk_platform backend. Use ndk backend instead
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m

Signed-off-by: xyzuniverse <dev.xyzuniverse@gmail.com>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:26:43 +08:00
AndroidHQ254 8fdb8d0d07 LG8n: Link older libhidlbase & libbinder for camerahalserver
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:26:05 +08:00
AndroidHQ254 cfdce7385f LG8n: Link older libutils for camerahalserver 2024-07-17 07:25:30 +08:00
Shirayuki39 f069c2fbc2 LG8n: Build required blobs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:23:39 +08:00
Shirayuki39 f624f4cba7 LG8n: Import required blobs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:21:01 +08:00
Shirayuki39 d0a3a049f3 LG8n: Reimport Media Blobs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:17:50 +08:00
Shirayuki39 ea45ea8db8 LG8n: Switch to Prebuilt Lights Stack
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:16:56 +08:00
Shirayuki39 7a72965ffb LG8n: Switch to Prebuilt Vibrator Stack
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:15:14 +08:00
Shirayuki39 cc44e7ed6c LG8n: Build *-v31
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:13:34 +08:00
Shirayuki39 8c27b3a9d3 LG8n: Import Camera Stack
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:11:32 +08:00
fjrXTR 13274e9239 LG8n: Import missing permissions
Change-Id: I641df2c8e45f915ffdf9ec363393a9993a43ce6b
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:06:44 +08:00
Shirayuki39 334b03326e LG8n: Import LG8n Audio and Bluetooth Blobs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 07:06:14 +08:00
Shirayuki39 6d64c0733c LG8n: Import LG8n firmware blobs
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 06:57:32 +08:00
dmpstr 3801a8d5f5 Revert "LG8n: fstab.mt6789: Switch to ext4"
This reverts commit c5d0901849.
2024-05-25 22:54:45 +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 c5d0901849
LG8n: fstab.mt6789: Switch to ext4 2024-05-24 08:46:09 +08:00
aubrey 94b614a667
LG8n: Switch CPU runtime variant to cortex-a76 2024-05-24 08:39:14 +08:00
Shirayuki39 c73a1b20de LG8n: initial LG8n overlay 2024-05-22 20:58:50 +08:00
Shirayuki39 1e39589b57 LG8n: Remove files that doesn't exist in LG8n 2024-05-22 20:55:23 +08:00
Shirayuki39 0daf260f2a LG8n: let's restart from scratch, part 1 2024-05-22 20:40:46 +08:00
Shirayuki39 644f67a2c8 Change the spec sheet to a more appropriate one 2024-05-18 14:31:32 +08:00
Sarthak Roy 2628f11802 X6833B: Remove android.hardware.soundtrigger@2.3 from manifest
Change-Id: I3a5132c27f4b9801c7824443a6ff4ce0580ded69
Signed-off-by: Sarthak Roy <sarthakroy2002@gmail.com>
Signed-off-by: SakthivelNadar <s2234nadar@gmail.com>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:15:20 +07:00
Adithya R 0265abd50e X6833B: overlay: Disable alpha compositing in WM
* Completely eliminates occasional jank in few animations

Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Woomymy 650362d320 X6833B: Fix OTA post-install file system types
* On non-gms builds, /system is ext4, just use the variable set in
  BoardConfig.mk to configure postinstall

Signed-off-by: Woomymy <woomy@woomy.be>
Change-Id: I20407e3e6b34b143f88c5c8054e575ce2fa55684
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
dodyirawan85 d054191528 X6833B: Add ext4 filesystem to product and system_ext
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07: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
bengris32 9df45be24c X6833B: perf: Trigger kernel touch boosting on INTERACTION
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I7b1397b66553a68e96e5b2471bc62dbb083f89cf
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Vaisakh Murali afb70de88e X6833B: perf: Use input boost to improve interaction hint
Drop unused GPU node and instead use input touch boost for boosting
whenever a touch input is detected upto 50% and for a duration of
1 millisecond, improving overall scrolling and responsiveness.

Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Change-Id: I77c163ea7a2cf9546c321b180b2304b099fc7a34
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
bengris32 f960288513 X6833B: perf: Remove unimplemented hints on AOSP
* Clean-up the scenario table by removing hints which
  would never be triggered under an AOSP system.

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: Ib4572fe68ed7e0e77124895b47b59daa0e3786c0
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
SamarV-121 3fb13ca2f1 X6833B: perf: Rename MTKPOWER_HINT_UX_SCROLLING hint to INTERACTION
* This hint along with almost every MTKPOWER_HINT depends on fwk side changes
 * Use INTERACTION hint to boost stuffs on interaction instead

Change-Id: I79603458fb525cdc1b6ac58cee31b84d63083f79
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
bengris32 fedc3e881a X6833B: Configure vendor logtags
Change-Id: I83b1e3d5691c7c22a5fef5f03ce3172ac47298d3
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Woody Lin 0c7fab181e X6833B: Enable zygote critical window
Bug: 141948707
Change-Id: Iad7407bdacd03caafc4bb3ce2b9deaff00b9f692
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
David Sehr 75db0331bf X6833B: Use dex2oat64 for better dexopt time
Enable dex2oat64 usage on ruby.

Bug: 153380900
Test: boot and install an application.
Change-Id: I101ebfe5865da84baa90c55d2246dbd4287a9b72
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Michael Bestas c8857ab71d X6833B: overlay: Update multiple vibration strength levels overlay for 13
Change-Id: If17503f2dd4bd4d6e333891f9649a7db8d809852
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Murat Kozan 293f807ece X6833B: overlay: Enable vibration intensity control
* Activates some options on Settings>accessibility>vibration

Change-Id: I00e20f0d607736c04d5c2a0bd9c513c7f5fd8b41
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Santiago Seifert 5e2043c264 X6833B: overlay: Unpin updatable-media from memory
Bug: 214499288
Test: Presubmit
Change-Id: I83757ae6a053ec6b10b08322c4e76d988f1a4a48
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Nicolas Geoffray 494ce22e97 X6833B: Remove odex/oat files from pinner list.
The pinner now asks the runtime for these files.

Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: I8de2a2935901cbd3eaa50ce2d8aa09f61080ba02
Merged-In: Ie633ea788dab3389a3407ec9a461b5837befca46
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Kevin Jeon 6ffc1e5bae X6833B: Update SurfaceFlinger pin on all targets
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.

Bug: 176197656
Test: adb shell dumpsys pinner (coral)
      - shows that /system/bin/surfaceflinger is successfully pinned
      adb logcat | grep PinnerService (coral)
      - no longer shows a file-not-found error in PinnerService

Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Danny Lin cd55dfae6b X6833B: Don't pin camera app in memory
The default camera app can be *huge* in some cases, e.g. when the app in
question is Google Camera. The system will only pin up to the first 80
MiB of the APK file, as well as the first 80 MiB of its odex. There are
several problems with this:

  - We could easily end up with 160 MiB of camera app files pinned,
    which is a tall order with the 8 GiB of usable RAM that we have
  - The data that gets pinned may not even be the most critical data for
    launching the camera

Let's disable pinning of the camera app to save RAM.

Change-Id: I745e39b6ff212dfaf9213517d2a2be8ff7384e24
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Bruno Martins d4a19ee64f X6833B: overlay: Pin standard SystemUI instead of Google's
Change-Id: If96bb13d6cc2c2156d8df111a1037247c96c6e0f
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Jeongik Cha 525eee2f0c X6833B: overlay: Update config overlay with new SystemUI location
The app is moving to /product

Test: m
Test: check if it can boot
Bug: 137908189
Change-Id: Ifd73ba03884543e33d61c74d933ad8171dd3b259
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Martin Stjernholm dd5b453cc9 X6833B: overlay: Update paths to the new ART APEX.
Test: Presubmits
Bug: 135753770
Change-Id: If522ab29b6c4e9aab91f5ba41e10947799315f33
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Rick Yiu 44db5a7aaa X6833B: overlay: sync pinner service configs from crosshatch
Bug: 130103428
Test: verified with dumpsys pinner
Change-Id: I8ffe5eee1d40a5ac6be2112621ccda4b4dd5be1a
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00
Michael Wright 491b0e4fe0 X6833B: overlay: Enable haptic text cursor
Support has landed in WebView, so time to turn it on in framework!

Change-Id: I064cf3512928637895932b3405adaec74b1ceed2
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
2023-12-26 09:14:29 +07:00