To install LineageOS, you unlock your phone’s bootloader, flash Lineage Recovery, and then sideload the LineageOS zip from a computer with ADB. The exact files and buttons are different for every phone, so this guide explains the general process, the checks that prevent most failed installs, and where to find your phone’s official instructions. The newest release is LineageOS 24.0, based on Android 17, announced on 11 October 2026.

Which LineageOS Version Will You Get?

Builds roll out device by device, and each device page says which version its guide is for. At the time of writing, the Pixel 7 guide is for 24.0 and the Redmi Note 13 Pro 5G (India) guide is for 23.2.

Version Based on Notes
LineageOS 24.0 Android 17 Released October 2026. More devices are added as maintainers get them ready.
LineageOS 23.2 Android 16 Released February 2026.
LineageOS 22.2 Android 15 Still gets monthly security patches. Devices with old Linux 4.4 and 4.9 kernels are only accepted on this branch.

Requirements

Your exact phone must be officially supported

  • Find your phone on the LineageOS devices list. If it is not listed, it is not supported.
  • A build for a “nearly identical” model will not work. If your model name contains a year, a model with a different year is a different device.
  • Many device pages list the exact model numbers they support. For example, the Galaxy A52 4G guide lists only SM-A525F, SM-A525M, SM-A525F/DS and SM-A525M/DS.

The right stock firmware

Each guide names a stock firmware version that must be on the phone first. The Pixel 7 needs the Android 17 version of its stock OS; the Redmi Note 13 Pro 5G (India) needs HyperOS firmware OS3.0.2.0.WNRINXM. Being on another custom ROM does not count. The wiki warns that the wrong firmware can cause failed installs, crashes or even permanent damage.

Computer, tools and preparation

  • A Windows, macOS or Linux computer with ADB and fastboot from Google’s SDK Platform-Tools. On Windows you also need a USB driver (see our Android USB driver for Windows 11 guide).
  • A working USB data cable and a well-charged battery.
  • A full backup of photos, chats and files. Unlocking the bootloader and formatting data both erase the phone. Brand backups such as Samsung or Motorola backup may not be usable on LineageOS.
  • Test calls and SMS on the stock software first. If they fail on stock, they will fail on LineageOS too. Some phones need VoLTE or Wi-Fi calling used once on stock.
  • Sign out of all Google accounts on the phone before you start. The LineageOS guides require this so that Factory Reset Protection does not cause problems after the wipe.

How to Install LineageOS: Step by Step

Warning: These steps erase all data on the phone. Follow your device’s own guide exactly, and stop if any step fails. LineageOS comes with no warranty, so you install it at your own risk.

  1. Open your device’s install guide. On the devices list, tap your phone, choose the correct variant if asked, then open Installation. Read the whole guide once before you begin.
  2. Set up ADB. Extract Platform-Tools on your computer. On the phone, tap Build number seven times to unlock Developer options (Pixel: Settings > About phone; Samsung: Settings > About phone > Software information; Xiaomi guides say to tap the OS version instead). Then turn on USB debugging. Connect the phone, run adb devices, and allow the debugging prompt on the phone.
  3. Download the files from your device’s page on download.lineageos.org: the LineageOS zip, the Lineage Recovery image and any extra images your guide names. Ignore files your guide does not mention.
  4. Unlock the bootloader (only once per phone). Turn on OEM unlocking in Developer options if it is there. The method depends on the brand:
    • Pixel and many other phones: run adb -d reboot bootloader, check the phone appears with fastboot devices, then run fastboot flashing unlock and confirm on the phone.
    • Xiaomi, Redmi and POCO: use Xiaomi’s official Mi Unlock app with your Mi account. It may make you wait before it unlocks.
    • Samsung: there is no fastboot. You unlock from the Download mode screen. The Galaxy A52 4G guide, for example, then uses a tool called samloader-rs to flash files.

    The phone resets after unlocking, so turn on USB debugging again.

  5. Flash extra partitions if your guide asks. On the Pixel 7, for example:
    fastboot flash boot boot.img
    fastboot flash dtbo dtbo.img
    fastboot flash vendor_kernel_boot vendor_kernel_boot.img
    fastboot reboot bootloader
  6. Flash Lineage Recovery. The partition name differs by phone. The Redmi Note 13 Pro 5G uses fastboot flash recovery recovery.img, and the Pixel 7 uses fastboot flash vendor_boot vendor_boot.img. Then boot into recovery and check that it shows the LineageOS logo. LineageOS warns that other recoveries may not work.
  7. Wipe the phone. In Lineage Recovery, tap Factory reset, then Format data / factory reset. This deletes everything in internal storage.
  8. Sideload LineageOS. Go back to the main menu and tap Apply update > Apply from ADB. On the computer, run:
    adb -d sideload /path/to/lineage-zip-file.zip

    Do not reboot yet if you want Google apps.

  9. Install Google apps (optional). When recovery asks about rebooting to recovery for add-ons, choose Yes. Then use Apply update > Apply from ADB again and sideload the add-on. The wiki’s Google Apps page lists MindTheGapps for each version: use the Android 17 package for LineageOS 24, in the architecture shown on your device page (arm64 for most phones). A “Signature verification failed” screen is expected for add-ons; tap Yes.
  10. Reboot. Tap the back arrow, then Reboot system now. The first boot usually takes no longer than 15 minutes.

Optional: install from the browser with Lineage Flash Tools

With LineageOS 24, the project added Lineage Flash Tools, a web tool with ADB, Fastboot, Odin (Samsung) and Amlogic tabs, so you do not need to install ADB and fastboot. It needs a WebUSB browser such as Chrome or Edge, and Windows may still need USB drivers. It is an extra option; your device’s wiki guide remains the supported method.

Updating LineageOS Later

  • Normal updates: open Settings > System > Updater, tap refresh, then Download and Install. On A/B phones, add-ons such as Google apps are only kept when you update with the Updater app.
  • Major upgrades (for example 23.2 to 24.0): the Updater blocks these. Follow the “Upgrade to a higher version” guide on your device page. If you use Google apps, sideload the matching new package before the first boot. From an official build you normally do not need to wipe; from an unofficial build, do a full clean install.

Troubleshooting

fastboot devices shows nothing

On Windows, open Device Manager. If the phone has a yellow triangle, install or change the USB driver until the command works. On Linux or macOS, try running fastboot as root if you see “no permissions”. Also try another cable and USB port. Our fastboot commands guide explains the common errors.

“No such file or directory” when flashing

Type the full path to the file, or drag the file into the command window after the partition name.

Error 7 in recovery

The LineageOS FAQ lists four usual causes: a build for a different device or variant, moving from an unofficial build without a full wipe, firmware that is too old or too new, or an outdated recovery.

Signature verification failed, or sideload stops at 47%

For the LineageOS zip, a signature failure means the file is corrupted or unofficial, so download it again. For add-ons it is normal. A sideload that stops at 47% with adb: failed to read command: Success can still be a successful install.

Apps crash after adding Google apps

Google apps must be installed before LineageOS boots for the first time. If you booted first, factory reset in recovery and sideload the package again before booting.

Stuck on the boot animation or bank apps refuse to run

If the first boot takes much longer than 15 minutes, you probably missed a step; see our boot loop fixes. Separately, LineageOS does not get around Play Integrity checks, so some banking and payment apps may refuse to work. If you need them, return to stock firmware.

Related Guides

FAQ

Will installing LineageOS delete my data?

Yes. Unlocking the bootloader erases the phone, and the guide also asks you to format data in recovery. Back up everything first.

Does LineageOS include Google Play?

No. Google apps cannot come pre-installed because of licensing. You can sideload a Google Apps package such as MindTheGapps during installation, or use microG, which LineageOS documents as an open-source alternative.

Can I relock the bootloader after installing LineageOS?

The LineageOS FAQ warns that few devices allow it and even fewer work properly afterwards. Relocking can leave the phone unusable, so do not do it unless your device page says it is supported.

Does Android developer verification affect LineageOS?

The LineageOS team says it does not ship Google’s verification app, so the rules do not apply to LineageOS itself. They do apply to the stock software on certified phones. See our guide to Android developer verification.

https://droid-developers.com/wp-content/uploads/2026/11/how-to-install-lineageos-featured-1024x538.jpghttps://droid-developers.com/wp-content/uploads/2026/11/how-to-install-lineageos-featured-150x150.jpgFahim MahmudAndroid OSHow ToTo install LineageOS, you unlock your phone's bootloader, flash Lineage Recovery, and then sideload the LineageOS zip from a computer with ADB. The exact files and buttons are different for every phone, so this guide explains the general process, the checks that prevent most failed installs, and where to...Android Help,Troubleshooting  & Stock Rom