team win recovery project (TWRP) allows you to make backups install ROMs root your phone and do a heck of a lot more so if you are looking to heavily tweak your phone you probably need one.
First, unlock your device and make sure it is compatible for TWRP
this process will only work if you unlocked your bootloader so if you haven’t done that yet check how to unlock your bootloader then you finished come back here to flash TWRP
Enable USB debugging
open your phone app drawer tap the settings icon and select “about phone” scroll all the way down and tap the “build number” item seven times you should get a message saying you are now a developer.
now go to the main settings page and you should see a new option near the bottom called “developer options”. open that and enable “USB debugging”
Download TWRP for your phone
go to the team win website and go to the devices page search for your device and click on it to see the TWRP downloads available for it.
after the find, devices click on the “download links” section on that page and download the TWRP image. copy it to the folder in which you have ADB installed and rename it to “TWRP.IMG”
Now open the extracted ADB folder and open a command window
open a command window by pressing shift key + right mouse click.
now connect the pc to mobile with a USB cable.
you need to reboot the phone into the bootloader to reboot, type the following command from below in your command window that you opened.
ADB reboot bootloader
your device will boot into bootloader if it doesn’t boot, then please make sure your cable and USB drivers have been installed properly.
now type the below command on your command window.
“This command will list the connected devices. its show your phone’s serial number”
flash the recovery type the command.
fastboot flash recovery recovery.img
When you are done you will see the TWRP main screen