← Projects

LineageOS for the Samsung Galaxy M20

Maintainer of the Samsung Galaxy M20 (m20lte, Exynos 7904) for LineageOS 22.2 (Android 15), now an official device with weekly builds: device trees, a 4.4 kernel with CIP updates, proprietary blobs, and a camera HAL patch for the ultra-wide lens.

Published
October 30, 2026
Updated
November 4, 2026
Status
active
Source
LineageOS/android_device_samsung_m20lte ↗

Scope

The Galaxy M20 last received Android 10 from Samsung. LineageOS 22.2 brings it to Android 15, and I took over the device from its previous maintainer to make it official.

Device

• Samsung Galaxy M20 (m20lte)• Exynos 7904• Linux 4.4 kernel• LineageOS 22.2 / Android 15

What the work involved

Path to official

  1. Device bring-up
  2. History rebuild
  3. Gerrit review
  4. Org import
  5. Weekly builds
  • Rebuilt the device and common trees on top of the 18.1 branch, so every change from 18.1 to 22.2 could be reviewed on its own, with no hack-then-revert pairs.
  • Rebased the kernel so it no longer fakes its version and only carries the BPF backports it needs. It stays on 4.4 with CIP updates.
  • Regenerated the proprietary blobs with extract-files and published them through TheMuppets.
  • Kept SELinux enforcing.
  • Fixed the signing step for a device without AVB, so official builds could be published.
  • Reverse engineered the camera HAL and patched one instruction so the ultra-wide lens works. Samsung's HAL filled the wrong size tables for that sensor.

Status

The M20 is an official LineageOS device with weekly builds. The ultra-wide fix is merged and arrives with the next weekly build. Download builds or see the device tree on GitHub.

Related projects

All projects →
  1. XDNA NPU Miner

    Experimental

    An early-stage research project exploring whether suitable cryptocurrency mining kernels can be mapped honestly and measurably onto AMD XDNA1 NPUs.

    Python · AIE2 · MLIR-AIE · XRT · Ryzen AI

    ★ 0 · 45 commitsAug 12, 2026Repository ↗
  2. Running small transformer models directly on first-generation AMD XDNA NPUs with MLIR-AIE/IRON, plus an OpenAI-compatible local API.

    Python · C++ / AIE2 · MLIR-AIE · XRT · OpenAI API

    ★ 33 · 113 commitsNov 17, 2026Repository ↗