Home > ROMs > Custom ROMs

How to Install LineageOS 21 Android 14 GSI on any device [Video]

In this guide, we will show you the steps to flash the latest LineageOS 21 GSI ROM based on Android 14 onto your device. Whether due to the underlying chipset or simply due to the restrictions placed by the OEM, not every device is lucky enough to be blessed with Custom ROMs. Fortunately, we have the Generic System Images at our disposal.

As is evident from its name, these are the generic images that are compatible across all the Project Treble devices, in other words, devices that were launched with Android 8+ out of the box. However, there exists a plethora of Android 14 GSI ROMs, and users are spoilt for choices [not that we are complaining though]. So which one should you ultimately opt for?

Well, if you are looking for a GSI ROM that offers a clean stock OS experience and comes with just the barebone functions, then your search stops right here. To top it all off, the entire OS is packed in a fast, snappy, and performance-enhanced ecosystem. So on that note, let’s now get started with the steps to flash the latest LineageOS 21 GSI ROM based on Android 14 onto your device.

How to Install LineageOS 21 Android 14 GSI on any Android

The below instructions are listed under separate sections for ease of understanding. Make sure to follow in the exact same sequence as mentioned. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

STEP 1: Install Android SDK

install adb platform tools windows

First and foremost, you will have to install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform-tools folder, which will be used throughout this guide to install the latest Android 14 GSI ROM on your device.

STEP 2: Enable USB Debugging and OEM Unlocking

Next up, you will also have to enable USB Debugging and OEM Unlocking on your device. The former will make your device recognizable by the PC in ADB mode. This will then allow you to boot your device to Fastboot Mode. On the other hand, OEM Unlocking is required to carry out the bootloader unlocking.

LineageOS 21 Android 14 GSI

So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging and OEM Unlocking.

STEP 3: Unlock Bootloader

Next up, you will also have to unlock the device’s bootloader. Do keep in mind that doing so will wipe off all the data from your device and could nullify its warranty as well. So if that’s all well and good, then please refer to our detailed guide on How to Unlock Bootloader of Any Android Device.

LineageOS 21 Android 14 GSI

STEP 4: Download Android 14 GSI ROM

  1. You may now grab hold of the GSI ROM for your device from the below link. TD builds are TrebleDroid Patchset and have better compatibility with legacy devices, Samsung, among others. On the other hand, Light includes much fewer patches that are known useful for new and modern devices [the ROM developer uses this as his daily driver].
    LineageOS 21: Light | Td
    Which GSI to Download: arm64/a64/bgn/bvn/bgs/vndklite? 
    
  2. Now extract it via 7-ZIP to the platform-tools folder on your PC.
  3. This will give you the system.img file, which will act as our GSI ROM.LineageOS 21 Android 14 GSI

STEP 5: Download vbmeta

  1. First off, download the stock firmware for your device
  2. Then extract it and get hold of the vbmeta.img file.
  3. Now transfer the vbmeta.img to the platform-tools folder on your PC.LineageOS 21 Android 14 GSI

STEP 6: Boot Device to Fastboot Mode

  1. First off, connect your device to the PC via a USB cable. Make sure USB Debugging is enabled.
  2. Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
    command-prompt-inside-adb
  3. Type in the following command in the CMD window to boot your device to Fastboot Mode
    adb reboot bootloader

    LineageOS 21 Android 14 GSI

  4. To verify the Fastboot connection, type in the below command and you should get back the device ID.
    fastboot devices

    twrp poco f4

  5. If you are not getting any serial ID, then please install the Fastboot Drivers on your PC.

STEP 7: Disable Verity Check

Type in the below command to flash the vbmeta and hence disable the verification check of the vbmeta partition on your device

fastboot --disable-verification flash vbmeta vbmeta.img

LineageOS 21 Android 14 GSI

STEP 8: Flash LineageOS 21 Android 14 GSI ROM

  1. As of now, your device will be in the Fastboot Mode. So type in the below command to boot to FastbootD Mode
    fastboot reboot fastboot

    LineageOS 21 Android 14 GSI

  2. Now delete the logical partition to free up some space on your device:
    fastboot delete-logical-partition product_a

    LineageOS 21 Android 14 GSI

  3. You may now flash the GSI ROM via the below command [system.img is the name of the GSI ROM]
    fastboot flash system system.img

    LineageOS 21 Android 14 GSI

  4. Once done, you’ll now have to do a format data, so use the below command
    fastboot -w

    LineageOS 21 Android 14 GSI

  5. Finally, reboot your device to the newly installed OS via the below command
    fastboot reboot

That’s it. These were the steps to install the LineageOS 21 Android 14 GSI ROM on your device via Fastboot Commands. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest. And do check out the below-linked guides to fix numerous GSI-related bugs and issues:

How to Install Android 14 GApps

If you have flashed a GSI that doesn’t have GApps but you wish to install it, then do refer to our guide on How to Download and Install Android 14 GApps.

How to Install Android 14 GSI ROM via DSU Sideloader

You could also install Android 14 GSI without using the PC, all thanks to the DSU Sideloader app. To try it out, do check out the below-linked guide.

How to Install any GSI ROM on Android without PC [Video]

How to Install Android 14 GSI ROM on Samsung Devices

Refer to our below guide to install Android 14 GSI on your Samsung device.

How to Install Android 14 GSI on Samsung Devices

These were the steps to download and install the Android 14 GSI on Project Treble devices. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.


Share: