Contiguous U.S. mail-in service
$150 · standard return includedPay an invoice

GuidesHistorical

Install TWRP, LineageOS, and Root on a Samsung Galaxy S7

A Windows-based installation guide for TWRP, LineageOS, optional Google applications, and root on supported Galaxy S7 variants.

Samsung Galaxy S7 phone

I wrote this guide after combining the official LineageOS instructions with a modified recovery-flashing sequence that worked on my Galaxy S7.

Supported variants

  • SM-G930F
  • SM-G930FD
  • SM-G930S
  • SM-G930K
  • SM-G930L
  • SM-G930W8

Downloads

Installation

  1. Open Settings > About device > Software info, then tap Build number seven times.

  2. Return to Settings > Developer options and enable OEM unlocking.

  3. Power off the phone, then hold Volume Down + Home + Power to enter Download Mode. Press Volume Up to continue past the device warning.

  4. Connect the phone to the Windows PC.

  5. Open Odin, select Options, and disable Auto Reboot.

  6. Select AP, choose the downloaded TWRP .tar file, and start the flash.

  7. After Odin finishes, hold Volume Down + Power until the charging-battery screen appears.

  8. Disconnect the USB cable, then hold Volume Up + Home + Power until the Galaxy S7 logo appears to boot directly into recovery. This immediate recovery boot is important; otherwise the stock system may overwrite TWRP and require repeating the Odin step.

  9. In TWRP, open Wipe > Format Data, enter yes, then use Advanced Wipe for the partitions required by the installation.

  10. Copy the LineageOS, Superuser, and optional OpenGApps ZIP files to the phone. You can use Windows Explorer, a Micro-USB OTG drive, or ADB:

    adb push filename.zip /sdcard/
  11. In TWRP, install LineageOS first, followed by Superuser and OpenGApps if those packages are wanted.

  12. Reboot into the newly installed operating system.

References