Home > Samsung

Install LineageOS GSI ROM on Galaxy S22/Plus/Ultra

In this guide, we will show you the steps to install the LineageOS GSI ROM on Galaxy S22/Plus/Ultra. The latest flagships from the South Korean giant managed to capture the attention of the masses and to be fair, it was already on the cards. With an exceptional build quality, top-of-the-end specs, excellent camera, and 5 years of OS upgrades, the reason for their rise to fame was already on the cards. However, when it comes to custom development, there’s a major piece of the jigsaw missing.

While you could root your device, install a custom recovery, and even flash a custom kernel, however, the custom ROM domain is quite dry. Apart from the Magisk ROM, there’s currently nothing much to look forward to. Well, this is where the Generic System Image comes in handy. And as of now, the GSI for one of the most popular custom ROMs is now live for your device.

LineageOS has always been known to maintain an equilibrium between device stability and the incorporation of customization features and due this is one major reason why tech enthusiasts are usually inclined towards this ROM. So on that note, let’s check out the steps to install the LineageOS GSI ROM on Galaxy S22/Plus/Ultra.

Install LineageOS GSI ROM on Galaxy S22/Plus/UltraLineageOS Galaxy S22 ultra

The below instructions are listed under separate sections for ease of understanding. Make sure to follow the 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

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 LineageOS GSI ROM onto Samsung Galaxy S22/Plus/Ultra.

install adb platform tools windows

STEP 2: Download GSI Flasher Tool

Next up, download the GSI Flasher Tool and extract it to any convenient location on your PC.

Download: GSI Flasher Tool [Credits: XDA Senior Member azteria2000]

LineageOS Galaxy S22 ultra

STEP 3: Convert LineageOS GSI ROM to TWRP Flashable

  1. To begin with, download the LineageOS 19 GSI ROM for your device.
  2. Once downloaded, extract it inside the GSI_Flasher > GSI Folder.
  3. Likewise, rename it to system, so that the complete name becomes system.img.LineageOS Galaxy S22 ultra
  4. Then select all the three folders inside the GSI Flasher Tool- gsi, META-INF, and scripts.
  5. Now right-click on it and select 7ZIP > Add to archive [you may also use WinRAR for this].LineageOS Galaxy S22 ultra
  6. Give it any name of your choice, change the Archive format to ZIP, and hit OK.LineageOS Galaxy S22 ultra
  7. Wait for the process to complete. Once done, send this ZIP file to the platform-tools folder.

STEP 4: Enable USB Debugging and OEM Unlocking

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 process.

LineageOS Galaxy S22 ultra

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 5: Unlock Bootloader

You will also have to unlock the device’s bootloader to install the LineageOS GSI ROM onto Samsung Galaxy S22/Plus/Ultra. Do note that doing so will wipe off all the data from your device and could nullify its warranty as well. So if that’s all and good, then please refer to our guide on How to Unlock Bootloader on Samsung Galaxy S22, S22 Plus, S22 Ultra

LineageOS Galaxy S22 ultra

STEP 6: Install TWRP Recovery

Your device also needs to have a working TWRP Recovery installed using the Odin Tool. If you haven’t done so yet, then refer to our guide on How to Install TWRP Recovery on Galaxy S22 Ultra

LineageOS Galaxy S22 ultra

STEP 7: Boot to TWRP

  1. Connect your device to the PC via 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 TWRP
    adb reboot recovery

STEP 8: Install GSI ROM via TWRP

  1. From TWRP, go to Wipe > Format Data and type in YES in the space provided.
  2. Then hit the checkmark situated at the bottom right and wait for the wipe to complete.LineageOS Galaxy S22 ultra
  3. Once done, go to Advanced Wipe and select Dalvik, Cache, and Data partitions.
  4. Then perform a right swipe to wipe these partitions.LineageOS Galaxy S22 ultra
  5. After that, transfer the GSI ZIP file to your device using ADB Sideload, Mount, or OTG.
  6. Now go to Install, select the GSI ZIP file and perform a right swipe to flash it.
  7. Finally, go to Reboot and select System. Your device will now boot to the newly installed ROM.LineageOS Galaxy S22 ultra

So these were the steps to install the LineageOS GSI ROM onto Samsung Galaxy S22/Plus/Ultra. 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.



FAQ: GSI ROM Bugs and Bootloop Fixes

GSI ROMs are known to go through a few bugs and issues related to network, 5G, or VoWIFI/VoLTE. In case, you also come across such bugs, then you could refer to our below-listed guides to fix them.

Likewise, if your device gets stuck in a continuous bootloop, then it’s most probably in need of disabling the verity checks, which requires flashing the vbmeta. All these have been explained in the below-linked guides, do check them out, if needed

Share:
  • dont work on s22 S901B. boot loop