For those of you who want to install custom ROM using TWRP recovery, here’s a fail-proof method that will make your new custom ROM boot every time (in my experience).
The only difference between the usual method and this one is that we will also be formatting /system partition, which if not formatted sometimes causes bootloops when installing new custom ROM.
This method will work on any rooted Android smartphone or tablet with TWRP recovery installed. And also will work on all types of custom ROMs including CyanogenMod (CM11, CM12), TouchWiz, Sense, etc…etc…
Before we begin, make sure you have TWRP recovery installed (if you don’t, see our guide on how to install TWRP recovery using Flashify)
Step 1. First download the ROM zip files you need. Usually there’s one or two zip files. You can download these files straight onto your phone or download them to your computer first then copy them over to your phone. (Also you can use an OTG cable and USB flash drive so it won’t take up space on your phone/tablet.)
For AOSP ROMs like CyanogenMod CM11 or CM12, you will need an additional Gapps zip file.
Once files are downloaded, make sure they are not corrupt. You can do this by opening the ROM zip files with ES File Explorer app. If you can see the contents of the zip file fine, you are good to go. Otherwise, your files are bad so re-downloaded them!
Step 2. If you have a rooted Android device, use Quick Boot app to reboot into recovery.
If you don’t have a rooted phone or maybe you are stuck in bootloop, manually boot into your recovery.
(for Samsung Galaxy devices, power off the phone and hold down Volume Up + Center Home + Power for 5 seconds, for HTC/Nexus devices, power off the phone and hold down Volume Down + Power buttons then select recovery). If you have another device, try googling on how to enter recovery mode.
Join the HighOnAndroid VIP Fans List for free help from Max and discounts on Android accessories.