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.
Scope
Device
• Samsung Galaxy M20 (m20lte)• Exynos 7904• Linux 4.4 kernel• LineageOS 22.2 / Android 15What the work involved
Path to official
- Device bring-up
- History rebuild
- Gerrit review
- Org import
- 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
Related projects
All projects →XDNA NPU Miner
ExperimentalAn 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
Hawk Point NPU LLM
ActiveRunning 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