[Google Pixel 7a] eng.stk:
​

Kernel features:

Build with custom upstream LLVM 14.x (Clang 14.0.6 + LLD linker + IAS)

ThinLTO full -O2 build with device and target flags enhanced, build improvements and compiler fixes, etc

Less is more: stockish kernel+modules builds based on Google latest sourcedrop for max stability (android-gs-lynx-android14-qpr3)

Full kernel tree with OEM integrated drivers, for minimal build overhead and fast deploy

Systemless installer (doesn't touch system/vendor partition, OTA friendly), AnyKernel3 backend (compatible with autoflash apps)

Removed some debug and logging options

CVE security patches, general upstream and fixes for important subsystems when applicable

No OC, use 250HZ base timer frequency

Enhanced TCP methods (cubic is default, westwood, BBR and others available)

Some I/O tweaks (SSG added), advanced filesystems enabled (ExFAT upstreamed)

ZRAM set at 3G (default lz77eh with lzo-rle, zstd, etc available)

Gamepad support enabled (xbox, ps4, switch)

USB2 Fast Charge (force USB CDP mode up to 1500mA with MTP on)

TWRP Support(LZMA/LZ4 Ramdisk)

Wireguard updates

KernelSU included (GKI mode)

Compatible with Kernel Flasher, EXKM, FKM , Kernel Adiutor and others

DOWNLOAD AK3 KERNEL ZIP

Kernel Flasher/FKM download configs: HERE

(No mirrors please)​

Setup and troubleshoot:

If you're running with verity/verification ON (default stock) or OFF: Have root working and flash the zip with Kernel Flasher (recommend) or other compatible autoflash kernel app. If TWRP/LOS recovery is available, sideload should work also.

For fastboot flash, unpack the kernel zip on our PC, reboot to bootloader and flash the IMGs directly via fastboot like so:

fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash vendor_kernel_boot vendor_kernel_boot.img
fastboot reboot fastboot
fastboot flash vendor_dlkm vendor_dlkm.img

If you come from other kernel or have any issues, you should restore your stock setup or dirty flash your ROM before flashing blu_spark zip to avoid problems. Also uninstall or clean data of any kernel control app you're using.

If you are upgrading between blu_spark versions, just flash the kernel zip (if you're already rooted) or fastboot the IMGs. Keep in mind that flashing from fastboot will upgrade boot SPL to the one posted in changelog (same behavior as stock).

While flashing from zip will check for the compatible SPL, fastboot will not and can trigger FRP (bootloops) if you try to flash a downgraded security patch boot file after the fact.

About bugs and reports: don't bother to post if a log isn't ready or without steps so the behavior can be replicated. I only active support stock ROM with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk/KernelSU with wonky modules, etc.

If you're using custom ROMs (including stock based ones) you're much on your own, except if running LineageOS. I'm mostly interested on debugging stuff in stock and stable ROM.

Also try not to spam the thread with too much OT. There's threads for all kind of stuff, use them.

Going back to stock: This kernel installer doesn't change your filesystem. You can backup your boot.img/dtbo.img/vendor_boot.img/vendor_kernel_boot.img/vendor_dlkm.img with Kernel Flasher app before flashing blu_spark if you want to go back to full stock via restore. You can also flash boot.img/dtbo.img/vendor_boot.img/vendor_kernel_boot.img in fastboot and vendor_dlkm.img in fastbootd from your stock factory image. Or just dirty flash full OTA ROM zip.

Extra tip: if you decide to go verity/verification OFF to flash the kernel via zip and have easier update path, you can do it in fastboot:

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

Keep in mind that this will ERASE ALL YOUR STORAGE, so backup beforehand

Source Code: https://github.com/engstk/pxl7a

Don't forget to hit like, it's free ;)