# TWRP
Team Win Recovery Project (TWRP) (opens new window) is custom Android recovery software. It includes special features that aren't available with your device's stock recovery software.
# Installing TWRP
There are many ways to install TWRP, but here's one that works well.
Download TWRP for your device (here's a link (opens new window) where you can search for your device)
Connect your device to your computer, enable USB Debugging, and follow the instructions below:
Make sure to substitute the correct name of the file you downloaded for anything in brackets.
Open up a terminal and run the following:
$ adb reboot bootloader
You are now in the bootloader.
Check your bootloader lock state on the line "LOCK STATE - ...".
If it says "unlocked", skip to step 4. If it says "locked", you will need to first unlock your bootloader:
$ fastboot oem unlock
Make sure you follow the on-screen instructions to verify the unlock.
After unlocking, hit the
Power
button to reboot your device. After it boots back up, re-enable USB debugging and reboot to the bootloader again:$ adb reboot bootloader
Flash TWRP:
$ fastboot flash recovery <twrp filename>.img
If above command failed with no
recovery
partition error, you can try the following command:$ fastboot flash boot <twrp filename>.img
Use the
Volume Up
button on your device to cycle through the bootloader options to "Recovery mode" and hit thePower
button to boot into TWRP recoverySwipe right to let TWRP modify the system partition (this lets TWRP avoid being overwritten by the stock recovery when you reboot)
Tap "Reboot", then tap "System" to reboot
Tip: You may be asked to install SuperSU to root your device. If you know what rooting your device means and want to have it rooted then go ahead. Otherwise, it's best to tap "Do Not Install".