Tutorial to flash GSI on Infinix Hot 12 Play [lion]
PLEASE HAVE A BACKUP OF YOUR DATA AS FLASHING GSI WIPES ALL DATA ON THE PHONE. THIS GUIDE ONLY WORKS ON X6816.
Prerequisite (Requirements) :-
PC/Laptop with Windows XP or newer/MacOS/Linux
Platform tools guide to install
Phone with type-C usb cable
Developer options and Usb debugging should be turned on
Bootloader should be unlocked guide
TABLE OF CONTENTS
Step-1 [Downloading appropriate GSI for your device]
- Download required GSI from this list
- Download product_gsi.img from here
- Once you've finished downloading GSI, extract the img.xz file into a folder.
Step-2 [Downloading important files for your device]
- Download appropriate firmware from here which matches the firmware version on your device.
- Extract boot.img, vbmeta.img & vbmeta_system.img from the firmware file you downloaded above.
Step-3 [Flashing boot.img]
- Connect phone to laptop with USB Debugging turned ON in Developer options.
- In Powershell do
./adb devicesin order to check if your phone is detected or not. - If you see device name then do
./adb reboot bootloader - See if your device is listed in
./fastboot devices - If the device is listed then run this command to flash boot.img
./fastboot flash boot /path/to/bootxxx.img - Continue the next step.
Step-4 [Disable verified boot]
- Run this command to disable vbmeta verification
./fastboot --disable-verity --disable-verification flash vbmeta vbmetaxxx.img - After doing the above command run this
./fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_systemxxx.img - Continue the next step.
Step-5 [Flash GSI]
- Now reboot your phone to fastboot again
./fastboot reboot fastboot - Make sure you remember the folder where you extracted downloaded GSI before.
- Make sure you have downloaded product_gsi.img from Step 1.
- Flash product_gsi using this command
./fastboot flash product product_gsi.img - After doing the above flash system using this command
./fastboot flash system yourdownloadedgsi.img - Reboot your phone to recovery using this command
./fastboot reboot recoveryand peform a Factory rest/wipe using recovery.
If you face any issues or want anything else to be added/updated to this guide please feel free to contact the admins of the group.