I did a previous post covering a process to install a custom ROM on any Android device, but there’s a little more footwork for Samsung devices. Your bootloader can be unlocked using the process described in my previous post here.
Once again, we are in no way responsible for damage done to your device or flashing not working properly
To flash TWRP and root your Samsung device, you’ll need Odin or Heimdall. Odin is recommended, but it is only for Windows device, whereas Heimdall is for all major PC OS’.
Flashing TWRP via Odin:
- Download the .tar for your device by browsing for your device here and then finding the file with a .tar extension
- Reboot your phone into download/Odin mode. You can look up the proper key combo to boot into this mode. It should like the following
- Launch Odin from the zip you downloaded earlier. It will look like this
- Connect your device. Odin will say “Added!” if it is detected properly
- Select AP(or PDA depending on your version of Odin) and find the .tar you downloaded earlier
- Make sure that repartition is unchecked and then just click start. This process may take awhile, but you’ll want to be there when your device reboots so you can use the proper key combo to let TWRP patch your system
Flashing TWRP via Heimdall
Note: For heimdall, you will be using twrp.img instead of twrp.tar
- Boot your device into Odin mode
- Launch Heimdall frontend
- Connect your device and make sure it is detected and all your drivers are installed
- In Heimdall, go to >Utilities>Download PIT and download the .pit for your device
- Go to flash and in the PIT category add the .pit you just downloaded
- Click add and select the partition for your recovery and select the twrp.img
- Make sure repartition is disabled and click start
- When device boots, use your key combo to boot into TWRP and let it patch your system
You can now use adb sideload to flash your ROM as described in my previous post here.