Download and Install Lineage OS 18.1 on Google Pixel 5a

Google has silently launched Pixel 5a which is a successor of Pixel 4a. It features a slightly larger display, features a dust and water resistance rating, and a much larger battery compared to the Pixel 4a 5G.

In this tutorial, we will show you how to download and install Lineage OS 18.1 on the Google Pixel 5a (codename: barbet) device. The Google-owned OS is open source in nature. This allows the userbase to try out tons of customizations and modifications onto your devices. For starters, they could install themes, icon packs, and launchers from the Play Store. But this is just the beginning. There are a plethora of other tweaks that you could try out on your device.

All that is required is an unlocked bootloader, and then you could easily set your feet in the custom development. From installing a custom recovery like TWRP to gaining root access via Magisk, the possibilities are endless. Along the same lines, you could also try out a customized Android OS in the form of custom ROMs. And in this guide, we will be discussing just that. Today, we will show you the steps to install LineageOS 18.1 onto your Pixel 5a (barbet) device.

LineageOS 18.1 with Android 11 Features

Among all the custom ROMs available for our device, Lineage has been among the oldest player. In its early days, it was known as CyanogenMod and now this ‘lineage’ seems to have been rightly carried forward. Based on the Android Open Source Project, you will be able to welcome a few handy customization options to your device. The ROM isn’t known to offer a plethora of features, rather it maintains an equilibrium with the stability front.

As far as the latest LineageOS 18.1 is concerned, it is based on the latest Android 11 that has just been released. This in turn translates to the user getting blessed with some noteworthy features. These include a separate Conversation section, OneTime Permissions, and the new Notification History. Likewise, there has been the introduction of Chat Bubbles and a native Screen Recorder. The Media Player has now also been moved to the Quick Settings with some handy Media Controls options.

Refer to our detailed instructions on how to install lineage OS 18.1 onto the Pixel 5a.

converstation android 11

Warning

Before we begin with this procedure, I would strongly recommend you to create a backup of your device storage and all your files stored on your device. Moreover, it is advised to follow the steps mentioned in this post very carefully to avoid permanent damage or to brick your device. If anything goes wrong the author or GetDroidTips is not responsible for it.

How to Install LineageOS 18.1 on Google Pixel 5a

So if you are ready to install LineageOS 18.1 onto your Pixel 5a (barbet) device, then here is all the required information.  Let’s start with the requirements set.

Prerequisites

  • First and foremost, create a complete device backup. This is because we will be wiping the data partition which will format your device.
  • Next up, you will need to unlock the bootloader on your device. If you haven’t done so, then refer to our guide on How to Unlock the Bootloader on the Pixel 5a.
  • Once that is done, you also need to have the TWRP Recovery installed. You could refer to our guide on How to Install TWRP Recovery on the Pixel 5a.
  • Also, enable USB Debugging on your device so that it gets recognized by your PC in the ADB Mode. For that, head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging.
    USB Debugging note 5 pro
  • Next, up, download, and install the Android SDK Platform Tool on your PC. This will provide you with the necessary binary files.
  • Also, download and install the Google USB Drivers onto your PC.
  • Finally, download the Lineage OS 18.1:
  • If you want Google Apps as well, then download the Android 11 GApps file

That’s it. You may now proceed with the installation steps.

Installing LineageOS Recovery Temporarily:

    1. First of all, you need to unlock the bootloader on your device
    2. Download and install the ADB and fastboot binaries on your computer.
    3. You can now install the LineageOS recovery on your phone.
    4. To install the recovery, you need to boot your device into the bootloader.
    5. Run the command window by pressing the Shift key + Right mouse click adb command window
    6. Enter the command given below to boot your device into bootloader:
      adb reboot bootloader
      • You can boot into fastboot mode via a key combination:
      • With the device powered off, hold Volume Down + Power. Keep holding both buttons until the word “FASTBOOT” appears on the screen, then release.
    7. Once the device is in fastboot mode, verify your PC finds it by typing:
      fastboot devices
    8. Now temporarily flash the recovery image by typing the command given below:
      fastboot flash boot <recovery_filename>.img


      NOTE:
       Outdated fastboot releases dropped legacy A/B support, so it might attempt to flash to boot__a / boot__b rather than boot_a / boot_b if you try to flash boot. In this case, you must update fastboot to a release newer than or equal to 31.0.2. Alternatively, you can manually specify which slot to flash to based on what slot fastboot failed to flash to. For example, if fastboot fails to flash to boot__a, you must flash to boot_a.
    9. With the device powered off, hold Volume Up + Power. Keep holding both buttons until the logo appears on the screen, then release.

Installing LineageOS from recovery

  1. Download the latest LineageOS build and additional gapps addon and move it to the Pixel 5a internal storage.
  2. Reboot your device into recovery by the combination key:
    • With the device powered off, hold Volume Up + Power. Keep holding both buttons until the logo appears on the screen, then release.
  3. Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one).
  4. Return to the main screen on your recovery and sideload the LineageOS.zip package:
    • On the device, select “Apply Update”, then “Apply from ADB” to begin to sideload.
    • On the host machine, sideload the package using: adb sideload filename.zip
  5. (Optionally): If you want to install any add-ons, click Advanced, then Reboot to Recovery, then when your device reboots, click Apply Update, then Apply from ADB, then adb sideload filename.zip those packages in sequence.
  6. Once you have installed everything successfully, click the back arrow in the top left of the screen, then “Reboot system now”.
  7. That’s it! If you want to root, you can root using magisk.

With this, we conclude the guide on how to install Lineage OS 18.1 on the Pixel 5a (barbet) device. Do let us know your views about this ROM in the comments section below. Furthermore, you could also drop in your queries in the comments. Rounding off, here are some iPhone Tips and TricksPC tips and tricks, and Android Tips and Tricks that deserve your attention as well.

Source: XDA

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.