Repository navigation
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 |
|---|---|---|
![]() |
![]() |
![]() |





