[Motorola Moto G52] Tomoms:
In this thread I'll share with you my personal builds of LineageOS 21 for the Motorola Moto G52 (codename: rhode). These builds are unofficial LineageOS builds, customized with my favorite tweaks and features, and with some interesting optimizations.

MAIN FEATURES

LineageOS 21 features:

support for MicroG (signature spoofing) -

read the 2nd post!

the latest Moto Camera and Aperture are both preinstalled

support for OTA updates

some debugging/tracing instructions have been removed from ART

improved bionic routines + ARM optimized routines

all native code built with Polly optimizations + LTO for selected components

in-built support for many private DNS providers

PixelPropUtils & Pif, to unlock Pixel-only features in Google apps and pass Play Integrity

Mulch System Webview (from DivestOS) replaces the default Chromium WebView

"de-Googling" tweaks: SUPL, captive portal, NTP and DNS servers changed from Google to privacy-friendly alternatives (Kuketz, GrapheneOS, Quad9)

support for fine-tuning the minimum and maximum screen refresh rate

improved autobrightness curve from Motorola

updated 3rd-party libraries: SQLite

in-built F-Droid client and Log Viewer app

minor miscellaneous optimizations applied to several system components

Spoiler content hidden.

KERNEL FEATURES

Linux 4.19.316

KernelSU support

built with ThinLTO and Polly optimizations

some debugging code has been removed from several drivers

MGLRU backported & enabled out of the box

binder backported from Linux 5.4

DDR bandwidth boost on interaction

Simple LMK replaces LMKD

task scheduler updates & improvements

memory allocation overhead greatly reduced

TEO cpuidle governor

BUGS

Common to official LineageOS builds (regardless of the version) as well:

Aperture's QR code scanner doesn't work - has been fixed upstream in early June 2024

some issues when 2 SIMs are inserted - fixed in the 2023-09-28 LineageOS 20 build

in-call echo when on speakerphone, low microphone volume - fixed in the 2023-10-03 LineageOS 20 build, and in official builds too

can't read Mifare Classic NFC tags - fixed in the 2023-11-02 LineageOS 20 build, and in official builds too

can't write Mifare Classic NFC tags - work in progress

Specific to my builds:

the Contacts app crashes when adding a new contact - fixed in the 2023-12-29 build

Moto Camera often crashes on startup - workaround implemented in 2024-05-25 and later builds

CHANGELOG for LineageOS 21:

July 3rd:

synced with LineageOS

July's security patches

Spoiler content hidden.

Spoiler content hidden.

DOWNLOADS

LineageOS 21 (and older 20 builds): on Github

Recommended Gapps: MindTheGapps

INSTALLATION INSTRUCTIONS

Follow the official instructions, using my zip instead of the official one. The images needed to boot the recovery (boot, dtbo and vendor_boot, mentioned in the guide) are available here.

SOURCES

All my repos are on Github. In particular: device tree 1, device tree 2, kernel sources.

A BIG "THANK YOU" TO

the whole LineageOS team, and the multitude of great developers of the Android custom ROM scene, such as kdrag0n, kerneltoast (Sultanxda), arter97, nathanchance, neobuddy89, flar2, franciscofranco, frap129, the MSM-Xtended project, the crDroid project, the GrapheneOS team, the YAAP team, the DivestOS team, the Kenvyra team. I hope I have not forgotten anyone.