If you’ve ever used a search engine to try to find out what is a custom recovery, then you would have likely stumbled across the words “Team Win Recovery Project” or “TWRP” for short.
The TWRP recovery image is the only custom recovery image in the world currently being developed by roughly a group of four guys and being maintained by many more.
I’ve gotten in contact with these guys personally, and if you’re going to install TWRP, you want to do it from the links coming from the official TWRP website, which is what you’ll find in this guide.
When you install a custom recovery image, you are swapping the stock recovery with a custom version, because you can only ever have one of them at a time.
TWRP comes with some extra features that the stock recovery doesn’t have, most notably being the option of flashing unsigned zip files. It’s not uncommon to find custom ROMs and rooting files coming your way in the form of unsigned zip files. Since Android only makes it possible to flash official signed zip from the stock recovery partition, it restricts you from flashing anything that isn’t an official version of Android until you’ve swapped the stock version for a custom one.
Details of Note
- The custom recovery images available in this guide are only to be installed on the Samsung Galaxy S8+ smartphone. Most devices have a custom recovery image developed specifically for it, and you shouldn’t install one that is intended for another device unless advised it is okay by a professional.
- The Samsung Galaxy S8 Plus is a dm-verity device, meaning that swiping to allow system modifications results in your device being unable to boot if it is using the stock kernel. To get around dm-verity’s boot prevention, you must first install a kernel that has dm-verity disabled in the fstab.
- The codename for the Samsung Galaxy S8+ with Snapdragon processor TWRP recovery image is “dream2qlte.” You will see that codename in the TWRP image file path and also from your About Device menu so you know you are flashing the right file on the right device.
- You can visit the official support thread over at XDA-Developers if you run into any problems along the way.
- You can install the official TWRP Recovery application from the Google Play Store or from the TWRP website as an apk, if you have root access on the device already, and get the TWRP installed that way, no adb required. Once the app is installed, it will be in your Downloads folder. Navigate to the Downloads folder and select the TWRP application. When the application opens tap on the option for flashing the TWRP.
- Download on your computer the latest version of TWRP Recovery: Primary (Americas) | Primary (Europe).
How to Install TWRP Recovery on Samsung Galaxy S8+(Snapdragon) with Odin
1. Firstly, you need to know that the Odin flashing tool is really easy to use, but it only works on the Windows operating system. You won’t get the flashing tool to load on a Mac or Linux computer. It doesn’t really matter what version of the Windows operating system that you’re using as long as it is something above Windows XP.
2. Download and install the Samsung USB drivers on the computer if you don’t have them already.
3. Download the stock ROM from the links above directly to the computer. Extract the file by right-clicking on it and choosing the option to extract. When you do, you’ll see the tar.md5 file inside. That’s the file you’ll be using to do the flashing.
4. Download the Odin flashing tool. It doesn’t really matter what version, but the latest is the most up to date so grab that one. Extract the Odin file and then double-click on the Odin executable file (.exe) that is found from within the Odin folder after extraction. You should now have the Odin interface open on the computer and waiting for you to connect to it.
5. Boot the Samsung mobile device into the Download Mode by first powering it down and then rebooting by holding the “Volume Down + Home + Power” keys at the same time.
6. A yellow warning triangle will come up on the device’s display. At this time you need to press the “Volume Up” button. You’ll then see the device getting into the Download Mode. It’s then ready for the flashing.
7. When in Download Mode, connect the Samsung mobile device to the computer with the USB cable.
8. If you have installed the USB drivers correctly, the Odin flashing tool should detect your device. You can tell this by observing the ID: COM port lighting up with a color, usually yellow or blue. (It doesn’t matter what color, it’s the lighting up that counts.)
9. After the device is picked up by Odin, click on the “PDA” or “AP” button, depending on what button your version of the Odin flashing tool has.
10. Navigate to the stock ROM folder and upload the tar.md5 file to this location in Odin.
11. Without changing any of the default settings, click on the “Start” button in Odin, and the flashing then begins.
12. Wait until Odin shows a “Pass” message before disconnecting your device.
TWRP App Installation Method (Root Required)
If you decided to download the TWRP application from the Google Play Store or the APK file from the official TWRP website, then after you open the application you will be given a few different options to choose from. But before even going that far, it’s important to note that you should only install the TWRP APK file from the official TWRP website. If you’re installing it from Git, or any other file hosting website, it might not be the official version, and thus, it won’t have been built or tested by the official TWRP developers and maintainers.
Once the application is open, you’ll need to agree to not hold anyone from TWRP responsible for any issues that your device may face while using the application. This is a standard disclaimer that Team Win puts on top of each of the recovery image files from the official website as well, so it’s nothing new. It just explains that it is your decision to put the custom recovery on your device, and while they work hard to provide a quality product, there are no guarantees that your device isn’t susceptible to damages relating to TWRP while the custom recovery is installed. You can grant the application root permissions now as well. Root access can be obtained by flashing SuperSU, or other appropriate rooting files, from the custom recovery itself. Without root, you won’t have access to some of the app’s features, such as image flashing. It’s here also where you can enable InsightCore (a feature to monitor and record the network performance of your device).
Once you’ve accepted the agreements, you’ll see the TWRP application’s home screen, where you can choose to flash TWRP or view the network statistics. When choosing to flash the custom recovery, you’ll need to scroll and select your device from the list to make sure you are flashing the correct file. When the device is chosen, the TWRP application automatically then searches for the latest version of the TWRP for that device and will continue doing so every day for as long as the app is installed. This interval can also be altered from the Settings in the top right-hand corner of the device’s display when the apps open.
If root access has been enabled, you’ll see the chance to select the custom recovery image and the buttons for flashing the images to boot or from recovery. You should choose to flash the images to recovery. Only use the boot image flashing when you are flashing full boot images, not just kernel zimages.
DD Installation Method
You can also get the custom recovery installed on the Samsung Galaxy S8+ smartphone by using the DD install method. To do it this way, download the latest recovery image file for your device from its downloads page on the official TWRP website (Primary [Americas]| Primary [Europe]) and then place the file in the root of your /sdcard folder. Rename the image “twrp.img.”
You then need to run the following commands from the ADB shell or a Terminal Emulator application:
dd if=/sdcard/twrp.img of=/dev/block/bootdevice/by-name/recovery
TWRP developers make it clear that TWRP does not support the official updates from your manufacturer. Official updates never make changes to the system partition, but a lot of the things that people dabble in with a custom recovery image do. For example, if you were to get root access, install an app like Titanium Backup to remove system apps, so forth, you would be, during all those times, having to make changes to the system partition. As soon as you do that, you run the risk of experiencing unexpected behavior when returning back to the stock updates.
If you understand the risk and are sure you want to get the stock recovery installed again, you can do it by flashing the stock recovery image found inside the official firmware file zip or just flashing the official firmware file in full. Depending on your device, the method for firmware flashing changes, but you can always flash the stock recovery images by themselves by using the same commands that you used for flashing the custom recovery from ADB on the computer. The only difference being that you would need to use the updated file name when flashing.
You might also be interested in: