What is TWRP?#
It is a custom recovery used for installing custom software on your device. This custom software can include smaller modifications like rooting your device or even replacing the firmware of the device with a completely custom "ROM" like OmniROM.
You can find the source code for TWRP at github.com/teamwin/android_bootable_recovery.
Installation#
Samsung#
Galaxy S10 Series#
Find the correct recovery image on TWRP's website. You will need the .img for flashing with Heimdall and .img.tar for flashing with Odin.
After you unlocked the bootloader as described here, install Heimdall or Odin on your system.
Flashing with Heimdall#
Save the partition table -> heimdall print-pit --file s10.pit
Flash the TWRP recovery -> heimdall flash --recovery twrp-xxx.img --pit s10.pit
Flashing with Odin#
Open Odin, tap on AP and select the twrp-xxx.img.tar file.
Press Start and wait until Odin displays a success message.
Useful Flashables#
- Lygisk (fork of Magisk, root manager with modules and some extra features)
- Boot Warning Message Patcher
- Multidisable (disabling Samsung protections and encryption) Samsung Only
- Latest Bootloader (so you don't have to install the newest firmware) Samsung Only