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:
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)
- Go to Settings > About Device > Software Info > Tap on Build Number 7 times.
- Go back to Settings > Developer Options > Enable OEM Unlocking
- 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.
- Plug the phone into your Windows computer
- Open Odin, go to options and uncheck Auto Reboot
- In Odin select AP and navigate to the TWRP .TAR that you have downloaded and press Start
- Once the recovery has flashed press and hold Volume Down + Power button until a charging battery appears
- 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)
- You should now be in recovery. Go to Wipe>Format Data>Yes. Then go to Advanced Wipe and wipe every partition.
- 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.
- Once copied go to Install and flash LineageOS, Superuser, and OpenGApps.
- 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.
- Official LineageOS Install Guide: (Heimdall was giving error: Failed to access device. libusb error: -12)
- This Youtube Video: Guy skipped a bunch of steps
How can I install lineage os on my Samsung Galaxy S5. Please give me a solution.
I’ve never done it, refer to the official install instruction: https://wiki.lineageos.org/devices/klte/install
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?
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.
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.