This is because one might not be able to remain confined inside the likes of OxygenOS/ColorOS and MIUI, for long. With that said, not every device is lucky enough to be blessed with a custom ROM. For them, the Generic System Image is the go-to choice. They are available for nearly every Project Treble device and for all the popular custom ROMs. However, the major issue, for some, occurs while flashing these GSI. Since most of them aren’t TWRP-flashable, you will have to opt for fastboot commands to get the job done. Along with that, you might also need to disable the verity check and even erase or resize the system partition in some cases. Due to these complications, users generally prefer to maintain a safe distance from these ROMs. Well, not anymore. In this guide, we will show you the convert a GSI ROM to the TWRP Flashable format and then flash/install it using that recovery.
How to Convert GSI ROM to TWRP Flashable ZIP and Flash it
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.
Supported GSI ROMs
Near about all the popular GSI ROMs are supported by this method. These include the likes of:
Supported Device List
As of now, we have tested this method on two Samsung devices- Galaxy A51 and Galaxy S22 Ultra [Exynos]. We cannot comment on its workability on non-Samsung devices [apologies for that]. However, if you are willing to test it out, then please let us know your device name and whether or not this method worked for you. Moroever, do note that if you end up facing any bugs, such as network issues or VoWIFI/VoLTE/5G not working, then it is because of the GSI ROM that you have flashed. To resolve them, you may contact the ROM developers, use our below-listed reference guides or let us know your queries in the comments section.
No Audio in Bluetooth/Wired Headphones in GSI ROM [Fixed]5G, Bluetooth, 90Hz Display, DT2W not working in GSI ROM: How to FixDevice not booting after flashing GSI: How to Fix
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 flash/install GSI via TWRP.
STEP 2: Download GSI Flasher Tool
Next up, download the GSI Flasher Tool and extract it to any convenient location on your PC.
STEP 3: Convert GSI ROM to TWRP Flashable
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.
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 flash the GSI ROM via TWRP. 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 any Android Device.
STEP 6: Install TWRP Recovery
Your device also needs to have a working TWRP Recovery installed. If you haven’t done so yet, then refer to our guide on How to Install TWRP Recovery on Android.
STEP 7: Boot to TWRP
STEP 8: Install GSI ROM via TWRP
So these were the steps to convert a GSI ROM to the TWRP Flashable format and then flash/install it. 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.