[Note] | February 20, 2026
lineageos samsung upgrade adb heimdall

LineageOS Update 22 to 23

How i updated my Samsung Galaxy S10 from LineageOS 22 to 23. ADB & Heimdall setup, recovery flashing with heimdall, sideloading LineageOS and NikGapps from a Linux machine.

LineageOS Update 22 to 23

Setup

Prepare working directory

Create the working directory and download all required files into it :

mkdir -p ~/lineageos_update
cd ~/lineageos_update

Enable USB Debugging on device

Go to Settings > About > Build Number (tap 7 times), then enable USB Debugging in Developer Options.

Run as root

udev rules for Android USB devices can be tricky to configure correctly. Running as root bypasses these permission issues entirely.

sudo su

export the PATH so the tools installed in your user directory are available :

export PATH="$HOME/lineageos_update/platform-tools:$PATH"
export PATH="$HOME/lineageos_update/heimdall:$PATH"

Verify both tools work :

adb version
heimdall version

1. Update Recovery

Boot the device into Download mode :

adb reboot download

Or manually : power off, then hold Volume Down + Bixby and plug USB cable.

Flash the recovery :

heimdall flash --RECOVERY ~/lineageos_update/recovery.img --no-reboot

A transfer bar will appear on screen. Once done, reboot into recovery mode :

adb reboot recovery

Or manually : hold Volume Down + Power for 8–10 seconds until the screen turns black, then immediately hold Volume Up + Bixby + Power.

WARNING

Reboot into recovery immediately after flashing — otherwise the stock ROM will overwrite the custom recovery.

2. Enable ADB in Recovery

In recovery, go to AdvancedEnable ADB.

3. Sideload LineageOS

adb reboot sideload

Or manually on device : Apply UpdateApply from ADB.

Then sideload :

adb sideload ~/lineageos_update/lineage-23-XXXXXXXX-nightly-beyond1lte-signed.zip

TIP

If adb stops at 47% with adb: failed to read command: Success — that’s fine, the flash succeeded.

4. Sideload GApps (Before Reboot!)

On device go to Apply UpdateApply from ADB.

adb sideload ~/lineageos_update/NikGapps-core-arm64-16-XXXXXXXX-signed.zip

WARNING

GApps must be installed before the first boot, or you’ll need a factory reset to add them later.

5. Reboot

adb reboot

Enjoy LineageOS 23!


Sources

jeer.fr
- 2026
version: 1.1.2 changelog code
Legal notice