Repository navigation
Releases
LineageOS 24.0 (Android 17) - Galaxy A12 (a12s) [20261130 user]
Unofficial user build of LineageOS 24.0 (Android 17, CP2A.260605.016) for the Samsung Galaxy A12 (SM-A127F, Exynos 850 / universal3830), compiled from source against stock A127FXXSDDXJ5 vendor blobs.
Note
Only for the Exynos 850 Galaxy A12 (SM-A127F). The MediaTek SM-A125F is not supported.
Build info
| Field | Value |
|---|---|
| LineageOS version | 24.0-20261130-UNOFFICIAL-a12s |
| Android version | Android 17 (API 37, CP2A.260605.016) |
| Build type | user (ro.debuggable=0, ro.secure=1, ro.adb.secure=1) |
| SELinux | Enforcing (no permissive kernel flags) |
| Android security patch | 2026-11-01 |
| Vendor security patch | 2024-10-01 (matches stock A127FXXSDDXJ5) |
| Firmware base | A127FXXSDDXJ5 |
| Kernel | Linux 4.19, Clang-built (identical in boot.img and recovery.img) |
What changed since 20261129
Camera, graphics, and display
- Replaced the legacy Android 13 prebuilt camera stack with source-built N23 HAL3 (
hardware/samsung_slsi-linaro/camera), adding sensor definitions for the rear mainS5KGM2,GC50355 MP ultrawide,GC02M1macro (rear4), and frontS5K4HA/SR846sensors. - Switched graphics to stock
A127FXXSDDXJ5Mali Bifrostr38p1blobs with native Gralloc4 handles (gralloc3_compat_handle=false), threaded SkiaGL (skiaglthreaded), background blur, and SurfaceFlinger VSync/ADPF tuning. - Replaced the borrowed A21s top-left punch-hole cutout with the stock
A127FXXSDDXJ5center Infinity-V notch (status_bar_height_portrait=28dp) and symmetric20dp(42px) rounded-corner padding. - Fixed an HWC3 (
libhwc2.1) backlight stall by clamping negative-1.0fscreen-off brightness values and callingmBrightnessOfs.clear().
Audio, haptics, sensors, and media
- Enabled
duration_amplitudescaling on theCOINDCERM motor in the Samsung Vibrator HAL (CAP_AMPLITUDE_CONTROL) with14ms/8ms/6msclick timings. - Removed declarations for hardware the A12 does not have (
gyroscope,compass,hifi_sensors), fixed accelerometer and touchscreen sysfs permissions, and updatedthermal_info_config.json. - Enabled AIDL Codec2 (
media.c2.hal.selection=aidl) hardware video encode/decode through Exynos MFC kernel backports and dropped unused legacy OMX configs.
Security and tree cleanup
- Moved from
userdebugto auserbuild: droppedsu,WITH_ADB_INSECURE, andandroidboot.selinux=permissive, and enabledro.adb.secure=1. - Set
ro.vendor.build.security_patch=2024-10-01andro.frp.pst=/dev/block/platform/12100000.dwmmc0/by-name/persistent. - Removed 34 bundled TEE binaries, duplicate
fstab.exynos850, dead patches, andTARGET_UNOFFICIAL_BUILD_IDfromdevice/samsung/a12s(zero binary blobs remain in the device trees). - Synced
proprietary-files.txt1:1 (178 blobs) withvendor/samsung/a12s-common, verifiedsetup-makefiles.pyoutput, and addedcameraandcodec2tolineage.dependencies. - Verified VINTF compatibility (
COMPATIBLE) and matched the exact kernel image acrossboot.imgandrecovery.img.
Architecture notes
- Kernel (
exynos850-a12snsxx_defconfig): SamsungA127FXXSDDXJ54.19 base with LineageOS 24.0 backports for cgroup freezer, MFC Codec2 +SBWCL, SCSC WPA3/SAE, Malir38p1, andGC5035probing. - Security and keystore: File-Based Encryption (FBE) is enabled using software
android.hardware.security.keymint-service. Samsung hardware TEEkeymaster@4.0,vaultkeeper, andcassstay disabled because A12s VaultKeeper TA expects a missing PA provisioning component. All 21 TEEGRIS TAs load fromvendor/tee/.
Included files
| File | Purpose |
|---|---|
lineage-24.0-20261130-UNOFFICIAL-a12s.zip |
Flashable LineageOS 24.0 user ROM zip (sideload in recovery) |
recovery.img |
LineageOS 24.0 Recovery (Android 17, matching kernel) |
boot.img |
Boot image (matching kernel) |
dtbo.img |
Device Tree Blob Overlay for a12s |
vbmeta.img |
Disabled AVB vbmeta (--flags 0 --algorithm NONE) |
SHA256SUMS-a12s.txt |
Checksums for every file in this release |
SHA-256 checksums
28721df43a50fa983646225f44d8604459b9e5f1507a8a04fbb5e12b5bfe130c lineage-24.0-20261130-UNOFFICIAL-a12s.zip
e06bef61a928dbab6819135fa6d19aa0c055af2a7967201fd71342072d449016 recovery.img
4d7cf69f340afe9b0723302420c97e20240b1ee100221767127c7bf6522ffb6d boot.img
b75e0d784b64adbfa8721201b7c9186bc3e2ee5d60b2d391468088705bbe42de dtbo.img
e204c2dcb3b930754cc26131fc46f5a6a8e954c0a047b5a143b7194b73d0a3b8 vbmeta.img
Install
Warning
Never flash BL, CP, CSC, PIT, PARAM, EFS, or MODEM.
Updating from an existing LineageOS build (keeps data)
- Verify your downloads:
sha256sum -c SHA256SUMS-a12s.txt
- Boot into Lineage Recovery and choose Apply update -> Apply from ADB.
- Sideload the ROM:
adb sideload lineage-24.0-20261130-UNOFFICIAL-a12s.zip
- Choose Reboot system now.
Clean install from stock or another ROM
- Boot into Download Mode and flash recovery and vbmeta with Heimdall:
heimdall flash --RECOVERY recovery.img --VBMETA vbmeta.img
- Reboot straight into Lineage Recovery by holding Vol Up + Power before One UI can boot.
- Choose Factory reset -> Format data/factory reset.
- Choose Apply update -> Apply from ADB, then sideload the ROM:
adb sideload lineage-24.0-20261130-UNOFFICIAL-a12s.zip
- Reboot to system.
Source code
- a12s-dev/android_device_samsung_a12s (
lineage-24.0@04c8e29) - a12s-dev/android_device_samsung_a12s-common (
lineage-24.0@3569fec) - a12s-dev/android_kernel_samsung_exynos850 (
lineage-24.0@507cfd00b) - a12s-dev/proprietary_vendor_samsung_a12s-common (
lineage-24.0@e937e51) - a12s-dev/local_manifests (
lineage-24.0@eb2d0df)
Upstream LineageOS Gerrit CLs
- 515963:
libhwc2.1: ExynosDisplay: Fix brightness error path - 515964:
camera: N23: exynos3830: Add GC5035 sensor info - 515965:
camera: N23: exynos3830: Add 4HA/SR846 front info
Screenshots
| System UI | Trebuchet | System UI |
|---|---|---|
![]() |
![]() |
![]() |
| Settings | Trebuchet | Trebuchet |
|---|---|---|
![]() |
![]() |
![]() |
Evolution X 12.4 (Android 17) - Galaxy A12 (a12s) [20261201]
Unofficial Evolution X 12.4 build (Android 17, CP2A.260605.016) for the Samsung Galaxy A12 (SM-A127F, Exynos 850), with Google Apps bundled (WITH_GMS=true).
Build info
| Field | Value |
|---|---|
| ROM archive | EvolutionX-17.0-20261201-a12s-12.4-Unofficial.zip (2.66 GiB) |
| Android version | Android 17 (CP2A.260605.016) |
| Build variant | userdebug, test-keys |
| Google Apps | Included (WITH_GMS=true) |
| Maintainer | varifocal (a12s-dev) |
ROM download
GitHub caps individual release assets at 2 GiB, and the full GMS archive is 2.66 GiB, so the ROM zip is hosted on Pixeldrain while partition images and checksums stay attached to this release.
- Mirror: Pixeldrain (EvolutionX-17.0-20261201-a12s-12.4-Unofficial.zip)
- CLI download:
curl -fL "https://pixeldrain.com/api/file/LjeRMF8p?download" -o EvolutionX-17.0-20261201-a12s-12.4-Unofficial.zip
Attached on GitHub: boot.img, dtbo.img, recovery.img, vbmeta.img, and SHA256SUMS-evolution_a12s.txt.
Hardware fixes in this build
- Cameras and display: Applied the Exynos3830
GC5035/SR846sensor HAL patches and the HWC3 brightness underflow fix. All four cameras (S5KGM2,SR846,GC5035,GC02M1) work. - Audio, earpiece, and microphones: Rebuilt
mixer_paths.xmlfrom stockA127FXXSDDXJ5(mixer_paths.xml+mixer_gains.xml), restoring theSpeaker Mute Switch(1:muted_0:un)=1default, top earpiece routing, and all 108MAIN/SUB/EAR MIC Gainentries. - Charging control: Restored
vendor.lineage.health-service.defaultfor Charging Control and Fast Charge. - 4 GB RAM tuning: Added PSI LMKD rules in
vendor.prop, increasedfstab.exynos850zRAM size, and turned off Quick Tap becausea12shas no gyroscope.
Install
Warning
Do not flash BL, CP, CSC, PIT, param, efs, sec_efs, nvdata, or modem. Keep a known-good recovery as a fallback.
- Download the ROM zip and
SHA256SUMS-evolution_a12s.txt, then check the hash:sha256sum -c --ignore-missing SHA256SUMS-evolution_a12s.txt
- If you are coming from stock or another ROM, flash
recovery.imgandvbmeta.imgin Download Mode, then boot recovery and run Format data / factory reset:heimdall flash --RECOVERY recovery.img --VBMETA vbmeta.img
- In recovery, select Apply update -> Apply from ADB, then sideload:
adb sideload EvolutionX-17.0-20261201-a12s-12.4-Unofficial.zip adb reboot
SHA-256 checksums
6bce5a6aae7b4d4259b4f15c8236fa6484782c320af73950d056ab7eaf2329e3 EvolutionX-17.0-20261201-a12s-12.4-Unofficial.zip
9ab8dd158b06c6d99ecc08d4466bf4759f7ca3cc68d360639b295b320813ab42 boot.img
abd8c8201937ea2876595e839c4445985197c68c91d7ecc510b7f75deb94d332 dtbo.img
ec8c0851841c319523b2ca249af004811fba620c311858a9f0a4cb703e16e4f4 recovery.img
8c32640e808f07f012fd172702f76cef7dee4bc37ea5a0d958f6dda7fd82fe22 vbmeta.img
Source code (evolution-24.0)
- a12s-dev/android_device_samsung_a12s (
evolution-24.0@2760c0d) - a12s-dev/android_device_samsung_a12s-common (
evolution-24.0@870d2e8)
Screenshots
| System UI | Settings | System UI | Pixel Launcher |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
LineageOS 23.2 (Android 16) - Galaxy A12 (a12s) [20261129]
Unofficial LineageOS 23.2 (Android 16) build for the Samsung Galaxy A12 (SM-A127F, Exynos 850), released on 2026-11-29.
What changed
- Rebranded the device, vendor, and kernel trees to
a12sunder github.com/a12s-dev. - Fixed the
GC5035ultrawide camera (CAM(4)/Back_3) by correcting the kernel CIS probe compatible string and front setfile lookup. - Added the virtual proximity sensor HAL (
sensors.inputvirtual, "Hover Proximity"). - Shipped with SELinux enforcing and File-Based Encryption (FBE) enabled.
- Fixed
/dev/iongraphics permissions, Novateknt36xxxtouch handling, and input booster support. - Turned window blurs off by default to cut UI frame drops.
Hardware support
- Device: Samsung Galaxy A12 (
SM-A127F, Exynos 850) - Cameras: rear main
S5KGM2, ultrawideGC5035, depthGC02M1D(mono), frontSR846
Install
Warning
Never flash bootloader, modem, or EFS partitions. Keep a working recovery installed.
- Unlock the bootloader and install a custom recovery.
- Reboot to sideload mode:
adb reboot sideload
- Sideload the ROM:
adb sideload lineage-23.2-20261129-UNOFFICIAL-varifocal-a12s.zip
- Format data if coming from stock or a different ROM, then reboot.
Checksums
Full checksums for the ROM, boot.img, and recovery.img are in SHA256SUMS-a12s.txt.
- ROM SHA-256:
fdc0878db962d4decf049c88529fe6e88b36cb984b099e6cd9acbc5c1f4fd10a
Source code
- Device:
a12s-dev/android_device_samsung_a12s@19761b2 - Device common:
a12s-dev/android_device_samsung_a12s-common@be129b6 - Kernel:
a12s-dev/android_kernel_samsung_exynos850@58618c3 - Vendor common:
a12s-dev/proprietary_vendor_samsung_a12s-common@6390b47 - Vendor blobs:
a12s-dev/proprietary_vendor_samsung_a12s@33ef262
Screenshots
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
LineageOS 23.2 (Android 16) - Galaxy A12 (a12s) [rom38]
Note
Only for the Exynos 850 Galaxy A12 (SM-A127F). The MediaTek SM-A125F is not supported.
Initial community bring-up of LineageOS 23.2 (Android 16) for the Samsung Galaxy A12 (a12s), built from source.
Build info
| Field | Value |
|---|---|
| Device | Samsung Galaxy A12 (SM-A127F, a12s) |
| ROM | LineageOS 23.2 (Android 16) |
| Kernel | Linux 4.19.325 (gff9e3657bca0) |
| Release | Release 1 (rom38, no panel port) |
| SELinux | Permissive |
| Userdata | Unencrypted |
| Status | Initial bring-up |
What works
- Boot, display, and touch
- Accelerometer and virtual sensors
- Fingerprint sensor
- Rear main and front cameras
- Calls, mobile data, Wi-Fi, hotspot, Bluetooth, and GPS
- Audio, system sounds, and vibration
- Recovery sideload
Known issues
- Ultrawide, macro, and depth rear cameras do not open yet.
- Kernel log prints a sensitivity warning on some camera streams.
- Early bring-up build; expect other bugs.
Included files
lineage-23.2-20261126-UNOFFICIAL-varifocal-a12s-rom38.zip(56cef16e)boot.img(fb1bc4ea, kernelgff9e3657bca0)recovery.img(7f934b14, kernelgff9e3657bca0)
Install
Format data in recovery, then sideload the ROM zip. Flash boot.img and recovery.img with Heimdall if needed.
Source code
- Device: https://github.com/a12s-dev/android_device_samsung_a12s
- Kernel: https://github.com/a12s-dev/android_kernel_samsung_exynos850
- Vendor: https://github.com/a12s-dev/proprietary_vendor_samsung_a12s
- Common: https://github.com/LineageOS/android_device_samsung_a21s-common
- Common vendor: https://github.com/TheMuppets/proprietary_vendor_samsung_a21s
- Sepolicy: https://github.com/LineageOS/android_device_samsung_slsi_sepolicy
- Build setup: https://github.com/a12s-dev/setup
Credits
- LineageOS and the
a21s/a21s-commonmaintainers for the Exynos 850 base and sepolicy - TheMuppets for prebuilt vendor blobs
- Samsung for the kernel source and
A127FXXSDDXJ5firmware - Grimler for Heimdall
Screenshots
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
LineageOS 23.2 (Android 16) - Galaxy A12 (a12s) [rom40 test]
Warning
Unstable pre-release bring-up build (rom40). Back up your data before flashing. Only for the Exynos 850 Galaxy A12 (SM-A127F); the MediaTek SM-A125F is not supported.
Community bring-up build of LineageOS 23.2 (Android 16) for the Galaxy A12 (a12s), introducing SELinux enforcing and file-based userdata encryption.
Build info
| Field | Value |
|---|---|
| Device | Samsung Galaxy A12 (SM-A127F, a12s) |
| ROM | LineageOS 23.2 (Android 16) |
| Kernel | Linux 4.19.325 (g12d74de22978) |
| Release | Release 2 (rom40) |
| SELinux | Enforcing |
| Userdata | Encrypted (file and metadata based) |
| Status | Work-in-progress pre-release |
What changed
- Enabled file and metadata encryption on
userdata. - Switched SELinux to enforcing.
- Enabled the DC vibrator driver so vibration works.
- Added touch
INTERACTIONboost for CPU and MIF. - Cleaned up the sequential install banner in recovery.
- Fixed the device overlay so the phone reports as Galaxy A12.
What works
- Boot, display, and touch
- Accelerometer and virtual sensors
- Fingerprint sensor (including unlock after PIN with encryption enabled)
- Rear main and front cameras
- Calls, mobile data, Wi-Fi, hotspot, Bluetooth, and GPS
- Audio, system sounds, and vibration
- Recovery sideload
Known issues
- Ultrawide, macro, and depth rear cameras do not open in this build.
- Kernel log prints a sensitivity warning on some camera streams.
- Early bring-up build; expect other bugs.
Included files
lineage-23.2-20261126-UNOFFICIAL-varifocal-a12s-rom40.zip(3de3bab7)boot.img(626159a6, kernelg12d74de22978)recovery.img(e76810fa, kernelg12d74de22978)
Install
Because this build encrypts userdata, format data once in recovery before the first boot, then sideload the zip. You can write boot.img and recovery.img with Heimdall.
Source code
- Device: https://github.com/a12s-dev/android_device_samsung_a12s
- Kernel: https://github.com/a12s-dev/android_kernel_samsung_exynos850
- Vendor: https://github.com/a12s-dev/proprietary_vendor_samsung_a12s
- Common: https://github.com/LineageOS/android_device_samsung_a21s-common
- Common vendor: https://github.com/TheMuppets/proprietary_vendor_samsung_a21s
- Sepolicy: https://github.com/LineageOS/android_device_samsung_slsi_sepolicy
- Build setup: https://github.com/a12s-dev/setup
Credits
- LineageOS and the
a21s/a21s-commonmaintainers for the Exynos 850 base and sepolicy - TheMuppets for prebuilt vendor blobs
- Samsung for the kernel source and
A127FXXSDDXJ5firmware - Grimler for Heimdall















