Install instructions for Samsung Galaxy S23 (dm1q)
Latest build: lineage-23.0-20251016-UNOFFICIAL-dm1q.zip — sha256
Recovery: recovery.img — sha256
vbmeta: vbmeta.img — sha256 >
Basic requirements
- Read through the instructions once before following them.
- Install
adb
on your computer. - Windows: Install Samsung USB drivers and have Odin available. Linux/macOS: Use Heimdall.
- Ensure your model is supported and OEM unlock is available in Developer options.
- Boot stock OS once and verify functionality.
Pre-Install instructions (unlock + vbmeta)
- Enable Developer options, then enable OEM unlock.
- Download
vbmeta.img
(link above). Create a TAR for flashing tools that require it:
tar --format=ustar -cvf vbmeta.tar vbmeta.img
- Reboot to Download mode: with USB plugged in, hold Volume Up + Volume Down and plug in the USB cable.
- Unlock the bootloader when prompted. The device will wipe data and reboot. Re-enable OEM unlock afterwards.
Important information
Samsung devices use Download mode with Odin (Windows) or Heimdall (Linux/macOS).
Installing Lineage Recovery (Odin on Windows)
- Extract and run Odin.
- In Options, uncheck “Auto Reboot”.
- Prepare
recovery.tar
fromrecovery.img
:
tar --format=ustar -cvf recovery.tar recovery.img
- Put device in Download mode, connect USB. Odin should show a COM port.
- Click AP and select
recovery.tar
. - Click Start and wait for the transfer to complete.
- Without booting to system, force reboot then immediately boot to recovery (Plug in USB + Volume Up + Power).
Installing Lineage Recovery (Heimdall on Linux/macOS)
- Install Heimdall via your package manager.
- Reboot to Download mode and connect USB.
- Flash recovery:
heimdall flash --RECOVERY recovery.img --no-reboot
- When flashing completes, manually boot to recovery (Plug in USB + Volume Up + Power).
Installing vbmeta (to disable verification)
Flash vbmeta.img
from Download mode using Odin/Heimdall:
- Odin (Windows): Pack as
vbmeta.tar
, load in AP, Start. - Heimdall:
heimdall flash --VBMETA vbmeta.img --no-reboot
Then immediately boot to recovery (do not boot to system yet).
Installing LineageOS from recovery
- In recovery, Factory reset → Format data / factory reset.
- Return to main menu → Apply update → Apply from ADB.
- Sideload the build from your computer:
adb sideload <lineageos-zip-name.zip>
Tip: adb
may show 47% and exit messages while still succeeding.
Installing add-ons (optional)
If you plan to install Google Apps or other add-ons, sideload them before first boot using the same Apply from ADB flow.
All set
Reboot system now. First boot can take up to 15 minutes.
What next
- If you see a bootloader warning, it’s normal on unlocked devices.