Skip to content

Releases

LineageOS 24.0 (Android 17) - Galaxy A12 (a12s) [20261130 user]

Choose a tag to compare

@varifocal varifocal released this 30 Nov 20:43

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 main S5KGM2, GC5035 5 MP ultrawide, GC02M1 macro (rear4), and front S5K4HA/SR846 sensors.
  • Switched graphics to stock A127FXXSDDXJ5 Mali Bifrost r38p1 blobs 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 A127FXXSDDXJ5 center Infinity-V notch (status_bar_height_portrait=28dp) and symmetric 20dp (42px) rounded-corner padding.
  • Fixed an HWC3 (libhwc2.1) backlight stall by clamping negative -1.0f screen-off brightness values and calling mBrightnessOfs.clear().

Audio, haptics, sensors, and media

  • Enabled duration_amplitude scaling on the COINDC ERM motor in the Samsung Vibrator HAL (CAP_AMPLITUDE_CONTROL) with 14ms / 8ms / 6ms click timings.
  • Removed declarations for hardware the A12 does not have (gyroscope, compass, hifi_sensors), fixed accelerometer and touchscreen sysfs permissions, and updated thermal_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 userdebug to a user build: dropped su, WITH_ADB_INSECURE, and androidboot.selinux=permissive, and enabled ro.adb.secure=1.
  • Set ro.vendor.build.security_patch=2024-10-01 and ro.frp.pst=/dev/block/platform/12100000.dwmmc0/by-name/persistent.
  • Removed 34 bundled TEE binaries, duplicate fstab.exynos850, dead patches, and TARGET_UNOFFICIAL_BUILD_ID from device/samsung/a12s (zero binary blobs remain in the device trees).
  • Synced proprietary-files.txt 1:1 (178 blobs) with vendor/samsung/a12s-common, verified setup-makefiles.py output, and added camera and codec2 to lineage.dependencies.
  • Verified VINTF compatibility (COMPATIBLE) and matched the exact kernel image across boot.img and recovery.img.

Architecture notes

  • Kernel (exynos850-a12snsxx_defconfig): Samsung A127FXXSDDXJ5 4.19 base with LineageOS 24.0 backports for cgroup freezer, MFC Codec2 + SBWCL, SCSC WPA3/SAE, Mali r38p1, and GC5035 probing.
  • Security and keystore: File-Based Encryption (FBE) is enabled using software android.hardware.security.keymint-service. Samsung hardware TEE keymaster@4.0, vaultkeeper, and cass stay disabled because A12s VaultKeeper TA expects a missing PA provisioning component. All 21 TEEGRIS TAs load from vendor/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)

  1. Verify your downloads:
    sha256sum -c SHA256SUMS-a12s.txt
  2. Boot into Lineage Recovery and choose Apply update -> Apply from ADB.
  3. Sideload the ROM:
    adb sideload lineage-24.0-20261130-UNOFFICIAL-a12s.zip
  4. Choose Reboot system now.

Clean install from stock or another ROM

  1. Boot into Download Mode and flash recovery and vbmeta with Heimdall:
    heimdall flash --RECOVERY recovery.img --VBMETA vbmeta.img
  2. Reboot straight into Lineage Recovery by holding Vol Up + Power before One UI can boot.
  3. Choose Factory reset -> Format data/factory reset.
  4. Choose Apply update -> Apply from ADB, then sideload the ROM:
    adb sideload lineage-24.0-20261130-UNOFFICIAL-a12s.zip
  5. Reboot to system.

Source code

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
LineageOS 24.0 lock screen LineageOS 24.0 home screen LineageOS 24.0 quick settings
Settings Trebuchet Trebuchet
LineageOS 24.0 About phone LineageOS 24.0 app drawer LineageOS 24.0 launcher

Evolution X 12.4 (Android 17) - Galaxy A12 (a12s) [20261201]

Choose a tag to compare

@varifocal varifocal released this 01 Dec 07:06

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.

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/SR846 sensor HAL patches and the HWC3 brightness underflow fix. All four cameras (S5KGM2, SR846, GC5035, GC02M1) work.
  • Audio, earpiece, and microphones: Rebuilt mixer_paths.xml from stock A127FXXSDDXJ5 (mixer_paths.xml + mixer_gains.xml), restoring the Speaker Mute Switch(1:muted_0:un)=1 default, top earpiece routing, and all 108 MAIN/SUB/EAR MIC Gain entries.
  • Charging control: Restored vendor.lineage.health-service.default for Charging Control and Fast Charge.
  • 4 GB RAM tuning: Added PSI LMKD rules in vendor.prop, increased fstab.exynos850 zRAM size, and turned off Quick Tap because a12s has 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.

  1. Download the ROM zip and SHA256SUMS-evolution_a12s.txt, then check the hash:
    sha256sum -c --ignore-missing SHA256SUMS-evolution_a12s.txt
  2. If you are coming from stock or another ROM, flash recovery.img and vbmeta.img in Download Mode, then boot recovery and run Format data / factory reset:
    heimdall flash --RECOVERY recovery.img --VBMETA vbmeta.img
  3. 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)

Screenshots

System UI Settings System UI Pixel Launcher
Evolution X 12.4 lock screen Evolution X 12.4 Settings Evolution X 12.4 quick settings Evolution X 12.4 launcher

LineageOS 23.2 (Android 16) - Galaxy A12 (a12s) [20261129]

Choose a tag to compare

@varifocal varifocal released this 29 Nov 17:43

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 a12s under github.com/a12s-dev.
  • Fixed the GC5035 ultrawide 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/ion graphics permissions, Novatek nt36xxx touch 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, ultrawide GC5035, depth GC02M1D (mono), front SR846

Install

Warning

Never flash bootloader, modem, or EFS partitions. Keep a working recovery installed.

  1. Unlock the bootloader and install a custom recovery.
  2. Reboot to sideload mode:
    adb reboot sideload
  3. Sideload the ROM:
    adb sideload lineage-23.2-20261129-UNOFFICIAL-varifocal-a12s.zip
  4. 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 screenshot 1 LineageOS 23.2 screenshot 2 LineageOS 23.2 screenshot 3
LineageOS 23.2 screenshot 4 LineageOS 23.2 screenshot 5 LineageOS 23.2 recovery banner

LineageOS 23.2 (Android 16) - Galaxy A12 (a12s) [rom38]

Choose a tag to compare

@varifocal varifocal released this 26 Nov 16:15

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, kernel gff9e3657bca0)
  • recovery.img (7f934b14, kernel gff9e3657bca0)

Install

Format data in recovery, then sideload the ROM zip. Flash boot.img and recovery.img with Heimdall if needed.

Source code

Credits

  • LineageOS and the a21s / a21s-common maintainers for the Exynos 850 base and sepolicy
  • TheMuppets for prebuilt vendor blobs
  • Samsung for the kernel source and A127FXXSDDXJ5 firmware
  • Grimler for Heimdall

Screenshots

LineageOS 23.2 screenshot 1 LineageOS 23.2 screenshot 2 LineageOS 23.2 screenshot 3
LineageOS 23.2 screenshot 4 LineageOS 23.2 screenshot 5 LineageOS 23.2 recovery banner

LineageOS 23.2 (Android 16) - Galaxy A12 (a12s) [rom40 test]

Choose a tag to compare

@varifocal varifocal released this 26 Nov 16:15

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 INTERACTION boost 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, kernel g12d74de22978)
  • recovery.img (e76810fa, kernel g12d74de22978)

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

Credits

  • LineageOS and the a21s / a21s-common maintainers for the Exynos 850 base and sepolicy
  • TheMuppets for prebuilt vendor blobs
  • Samsung for the kernel source and A127FXXSDDXJ5 firmware
  • Grimler for Heimdall