Flashing custom recovery and custom ROMs
Flashing Recovery
- Download your recovery image from your preferred rom post and place it in platform-tools folder
- Boot your device to bootloader mode
- Flash the recovery image
- Type the below command in command prompt and hit enter to flash the custom recovery.
fastboot flash vendor_boot vendor_boot.img
Info
Attach vendor_boot.img in place of vendor_boot.img
Reboot to recovery mode
Method 1
- Type the below command in command prompt and hit enter to reboot into
recovery mode
fastboot reboot recovery
Method 2
- Enter fastboot mode.
- Use the volume key to select Recovery and press power button to boot into recovery.
The phone will reboot into recovery mode
and will look like something this
Flashing ROM
Warning
Make sure that any slot must not be empty, means if u have ever used blankflash or flashed stock ROM using RSA then make sure u got any ota. Else don't flash.
-
Download the ROM:
- Download the ROM of your choice. Verify the MD5 checksum to verify package integrity.
-
Format Data
Info
You must format data if you are flashing for the first time or switching roms
- Apply Update in Recovery:
- Boot into recovery mode.
- Select "Apply update" opton.
-
Choose Update Source:
-
Select either pendrive, external SD card, or ADB sideload.
- for ADB sideload, type
adb sideload <rom.zip>
- Replace
<rom.zip>
with the filename you downloaded, and hit Enter. - for external storage, navigate to the location of the downloaded file and flash.
- for ADB sideload, type
-
Flash ROM:
- The process will proceed to 47% and then ask if you want to reboot to flash additional packages. Select "Yes" or "No". It doesn't matter what you choose.
-
Reboot to System
- Reboot your phone to the system.
Congratulations!!
Your new custom ROM has been installed.