• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
Bay Area Tech Pros

Bay Area Tech Pros

Bay Area Computer Repair

  • Home
  • Services
  • About
  • Posts
  • Contact
    • Payments

Root, Recovery, & Lineage OS Guide for Samsung Galaxy S7

2017/03/11 by Administrator

I’ve recently upgraded from my old device to a Samsung Galaxy S7 and had some trouble following the official LineageOS install guide as well as various other sources on the subject. With a slight adjustment of method, however, I was able to easily install a custom recovery, custom rom, as well as root the device. To save everyone some time I’ve written the following guide:

These instructions should work with the following devices:

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

To proceed begin by downloading the following files:

  • TWRP Recovery .TAR – https://dl.twrp.me/herolte/ or https://dl.twrp.me/hero2lte/
  • Odin 3.12.3 (s7 fix)
  • Lineage OS: https://download.lineageos.org/herolte or https://download.lineageos.org/hero2lte
  • Lineage OS Superuser (root): https://download.lineageos.org/extras
  • OpenGApps ARM64 Version (I used nano)
  1. Go to Settings > About Device > Software Info > Tap on Build Number 7 times.
  2. Go back to Settings > Developer Options > Enable OEM Unlocking
  3. Put the s7 device into download mode by powering off the device and then pressing Vol Down + Home + Power. Accept disclaimer by pressing Volume Up.
  4. Plug the phone into your Windows computer
  5. Open Odin, go to options and uncheck Auto Reboot
  6. In Odin select AP and navigate to the TWRP .TAR that you have downloaded and press Start
  7. Once the recovery has flashed press and hold Volume Down + Power button until a charging battery appears
  8. Unplug the device and boot into recovery by pressing and holding Volume Up + Home + Power until the Galaxy S7 logo appears. (Important: The device must power off and boot directly into recovery after flash or the recovery gets wiped and you must repeat the Odin step once more)
  9. You should now be in recovery. Go to Wipe>Format Data>Yes. Then go to Advanced Wipe and wipe every partition.
  10. Now copy over Lineage OS, Superuser, and OpenGApps to the device. This can be done by using “adb push filename.zip /sdcard/” , using a microusb OTG, or by using Windows explorer.
  11. Once copied go to Install and flash LineageOS, Superuser, and OpenGApps.
  12. Upon reboot you will have a custom recovery, custom operating system, and root.

If you have any questions or corrections for this guide please leave a comment below.

References:

  • Official LineageOS Install Guide: (Heimdall was giving error: Failed to access device. libusb error: -12)
  • This Youtube Video: Guy skipped a bunch of steps

We offer the following services:

Android Rooting Services

Pixel 6a running CalyOS

DeGoogled Android Phones

Related

Category: UsabilityTag: Android, gapps

Reader Interactions

Comments

  1. Ratan

    2017/08/01 at 11:02 AM

    How can I install lineage os on my Samsung Galaxy S5. Please give me a solution.

    Loading...
    Reply
    • Alex

      2017/08/04 at 12:35 AM

      I’ve never done it, refer to the official install instruction: https://wiki.lineageos.org/devices/klte/install

      Loading...
      Reply
  2. dEwMe

    2018/03/19 at 12:32 PM

    Been getting updates for my s7 Edge from samsung with their switch software. What is the point in doing this? I have run custom roms and rooted past phones but found myself wondering now what?

    Loading...
    Reply
    • Alex

      2018/03/23 at 3:20 AM

      There’s many reasons to use lienageOS but I am not here to convince you either way, only to provide instructions to those looking for better instructions. If you’re interested the answers are a web search away.

      Loading...
      Reply
  3. Spork Schivago

    2018/07/29 at 7:36 AM

    I believe I know the question to this, but with your method, do you know if going from 6.0.1 to the latest TWRP recovery and LineageOS will trigger Knox?

    I have the SM-G930W8. Supposedly, a gentleman on the xda forums was on 6.0.1 and used that CF-Auto root and his post claims it did not trip Knox to show an invalid or bad warranty. He mentions it wasn’t until he installed TWRP manually that Knox was tripped.

    I understand there are programs that try to emulate a non-tripped Knox in the actual OS for rooted systems, but supposedly this wasn’t the case…

    I am on 6.0.1, hence the reason I ask. We run a business, and it’s fairly knew, but we (my wife, friend, and me) have some large contracts, and one in particular is very descriptive with what we’re allowed to have on the company devices. My wife bought this phone for me as a gift (I am extremely thankful, but would probably have gone for a Nexus because I believe I could remove most programs, if not all that are in violation of our contract).

    Disabling the apps are not enough, and even if it was, there are some apps that simply cannot be disabled in the GUI. I was hoping to just find a stock debloated image from Samsung for Businesses, but I don’t think such an image exists and my only viable option, if I want to use this cell as a company cell (which I do), is to flash a custom firmware and risk tripping Knox.

    Thanks!

    Loading...
    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

work with us

Let’s work together

We specialize in supporting local businesses and residences. Work with us.

Schedule Service

Bay Area Tech Pros is a provider of IT Services and Tech Support. We work locally and remotely.

Opening Hours
Monday 11:00 AM – 6:30 PM
Tuesday 11:00 AM – 6:30 PM
Wednesday 11:00 AM – 6:30 PM
Thursday 11:00 AM – 6:30 PM
Friday 11:00 AM – 6:30 PM
Saturday 12:00 PM – 6:00 PM
Sunday 12:00 PM – 6:00 PM
Bay Area Tech Pros
Walnut Creek, CA 94596
(925) 302-6312
alex@bayareatechpros.com
  • Google
  • Yelp
  • Facebook
  • Twitter
  • LinkedIn
  • YouTube

© 2025 · Terms & Privacy · Website by LegitWebs

Return to top

%d