Skip to content

caymanslm-kernel v1.0 — KernelSU Next + SuSFS + NoMount

Choose a tag to compare

@noamtu123 noamtu123 released this 10 Aug 15:55

Custom 4.9.337 kernel for the LG Velvet 4G (LM-G910EMW, caymanslm), built from LineageOS source (lineage-22.2). Drop-in kernel swap — dtbo untouched. Bootloader unlock + OrangeFox required.

ROM support: LineageOS 22.2 is the intended target. So far tested only on stock Android 12 (G91030a) — that's the ROM on the test device. It should run on LineageOS 22.2 as well (its native base), but that is not yet verified.

Stack

  • KernelSU Next (legacy, manual hooks — non-GKI 4.9, no KPROBES)
  • SuSFS v2.2.0 — sus path/mount/kstat/map, uname + cmdline + /proc/version spoof, symbol hiding
  • NoMount — mountless module engine (/proc/mounts stays stock)

Hardening

  • /proc/config.gz redacted (no CONFIG_KSU* exposure); dmesg root-only
  • Broad symbol/debug disclosure stripped (KALLSYMS_ALL, DEBUG_INFO, kcore, devmem, ftrace, dynamic_debug off)
  • Fails closed on kernel oops (PANIC_ON_OOPS=y)
  • EDL recovery path preserved

Known bugs

  • Duck Detector (com.eltavine.duckdetector) hard-crashes the kernel in SELinux enforcing mode — an unprivileged app can reboot the device just by launching it. Root-caused to KernelSU's runtime SELinux policy work; unresolved, reported upstream. Workaround: setenforce 0, or don't run it.
  • "Zygisk required" if you open the manager too soon after a reboot (ReZygisk daemon still starting). Workaround: close the app, wipe it from recents, and reopen.

Flashing

  1. RAM-boot to verify first: fastboot boot <trial.img> (optional but recommended).
  2. Flash the .zip from OrangeFox (AnyKernel3, ramdisk-agnostic). Backs up boot; dtbo untouched.
  3. Reinstall susfs4ksu + ReZygisk modules afterward.
  4. Verify with uname -a (should report 4.9.337-perf, today's build).

One slot at a time; keep the other bootable.

Credits

  • SuSFS — simonpunk, the original author
  • susfs4ksu — ShirkNeko, whose fork was backported to 4.9 here
  • KernelSU — tiann (weishu), the original project
  • KernelSU Next — rifsxd & contributors
  • NoMount — maxsteeel
  • AnyKernel3 — osm0sis
  • ReZygisk — PerformanC
  • LineageOS — kernel source (android_kernel_lge_sdm845)