How to install a custom ROM on your Samsung device

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:

  1. Download the .tar for your device by browsing for your device here and then finding the file with a .tar extension
  2. 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
  3. Launch Odin from the zip you downloaded earlier. It will look like this
  4. Connect your device. Odin will say “Added!” if it is detected properly
  5. Select AP(or PDA depending on your version of Odin) and find the .tar you downloaded earlier
  6. 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

  1. Boot your device into Odin mode
  2. Launch Heimdall frontend
  3. Connect your device and make sure it is detected and all your drivers are installed
  4. In Heimdall, go to >Utilities>Download PIT and download the .pit for your device
  5. Go to flash and in the PIT category add the .pit you just downloaded
  6. Click add and select the partition for your recovery and select the twrp.img
  7. Make sure repartition is disabled and click start
  8. 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.