Important to note:
This tutorial is supported only with the Samsung S5 devices. Variants supported are:
Samsung Galaxy S5 – klte
Samsung Galaxy S5 (AU) – kltekdi
Samsung Galaxy S5 (China) – kltechn
Samsung Galaxy S5 (Korea) – kltekor
Samsung Galaxy S5 (Sprint) – kltespr
Samsung Galaxy S5 (US Cellular) – klteusc
Samsung Galaxy S5 (Verizon) – kltevzw
Samsung Galaxy S5 (Vodafone) – kltedv
Samsung Galaxy S5 Duos – klteduos
Samsung Galaxy S5 Duos (China)
Dont use this ROM to another Samsung devices other than listed above. And remember this: This is NOT unified ROM. Each variant have their LineageOS ROM them self.
Make sure your Samsung Galaxy S5 had installed a TWRP Recovery installed. Read this guide to install twrp recovery. The preferred method of installing a custom recovery is through this boot mode – rooting the stock firmware is neither necessary nor required.
In order to install correctly this Nougat ROM you will need to wipe the data and/or factory reset your Samsung Galaxy S5. This step is included in the tutorial and it means that You will have to backup all your files using cloud storage services, a external SD Card or PC. Using Titanium Backup is not recomended.
Creating a nandroid back-up is also needed to anticipate if something bad happened during intstalation or after instalation. You can restore to the earlier rom you've been used before with a nandroid backup you'll created.
Make sure that your smartphone s battery charge level is over 30%, at least 60% is good enough. This will prevent it from powering down while you're ugrade your Samsung Galaxy S5 to Nougat 7.1.1 using Lineage OS ROM
If you done with all prequisites mentioned above, you can now forward to these steps by step guide.
Installing TWRP RecoveryYou can skip this if you already have TWRP or another custom recovery.
Samsung devices come with a unique boot mode called “Download mode”, which is very similar to “Fastboot mode” on some devices with unlocked bootloaders. Heimdall is a cross-platform, open-source tool for interfacing with Download mode on Samsung devices.
Download and install the Heimdall suite first.
Windows: Extract the Heimdall suite and take note of the directory holding heimdall.exe. You can verify Heimdall is working by opening a command
prompt in that directory and typing heimdall version. If you receive an error, make sure you have the
Microsoft Visual C++ 2012 Redistributable Package (x86) installed on your computer.
Linux: Pick the appropriate package to install for your distribution. The -frontend packages aren’t needed for this guide. After installation,
verify Heimdall is installed by running heimdall version in the terminal.
macOS: Install the dmg package. After installation, Heimdall should be available from the terminal - type heimdall version to double-check.
Download a custom recovery - you can download TWRP, simply search for your device on that page and download the corresponding
recovery file, named something like
Power off the Galaxy S5 and connect the USB adapter to the computer (but not to the Galaxy S5, yet).
Boot the Galaxy S5 into download mode: With the device powered off, hold Vol Down & Home & Power.. Accept the disclaimer, then insert the USB cable into the device.
Windows Only: install the drivers. A more complete set of instructions can be found in the ZAdiag user guide
Run zadiag.exe from the Drivers folder of the Heimdall suite.
Choose Options » List all devices from the menu.
Select Samsung USB Composite Device or MSM8x60 or Gadget Serial or Device Name from the drop down menu. (If nothing relevant appears, try uninstalling any Samsung related Windows software, like Samsung Windows drivers and/or Kies).
Click Replace Driver (having to select “Install Driver” from the drop down list built into the button)
If you are prompted with a warning that the installer is unable to verify the publisher of the driver, select Install this driver anyway. You may receive two more prompts about security. Select the options that allow you to carry on.
On the computer, open a terminal (or Command Prompt on Windows) in the directory the recovery image is located, and type heimdall flash --RECOVERY recovery.img --no-reboot.
Tip: The file may not be named identically to what’s in this command. If the file is wrapped in a zip or tar file, extract the file first, because heimdall isn’t going to do it for you.
A blue transfer bar will appear on the device showing the recovery being transferred.
Unplug the USB cable from your device.
Note: Be sure to reboot into recovery immediately after having installed the custom recovery. Otherwise the custom recovery will be overwritten and the device will reboot (appearing as though your custom recovery failed to install).
Manually reboot into recovery: With the device powered off, hold Volume Up, Home & Power. When the blue text appears, release the buttons.
Congratulations! Your Galaxy S5 now has a custom recovery installed. Continue on to the next section.
Installing Samsung Galaxy S5 LineageOSYour Galaxy S5 has installed with TWRP, we will use this to install LineageOS on your device.
Make sure your computer has working adb. Setup instructions can be found here.
Download the LineageOS install package that you’d like to install according your variant.
S5 – klte
S5 (AU) – kltekdi
S5 (China) – kltechn
S5 (Korea) – kltekor
S5 (Sprint) – kltespr
S5 (US Cellular) – klteusc
S5 (Verizon) – kltevzw
S5 (Vodafone) – kltedv
S5 Duos – klteduos
S5 Duos (China)
Optionally, You can also build the package yourself. Read this guide.
Optionally, download 3rd party application packages like Google Apps. Download Gapps for LineageOS
Place the LineageOS .zip package, as well as any other .zip packages on the root of /sdcard:
Using adb: adb push filename.zip /sdcard/
You can use any method you are comfortable with. adb is universal across all devices, and works both in Android and recovery mode, providing USB debugging is enabled.
If you aren’t already in recovery, boot into recovery:
With the device powered off, hold Volume Up, Home & Power. When the blue text appears, release the buttons.
(Optional, but recommended): Select the Backup button to create a nandroid backup.
Select Wipe and then Factory Reset.
Navigate to /sdcard, and select the LineageOS .zip package.
Follow the on-screen prompts to install the package.
(Optional): Install any additional packages using the same method.
Once installation has finished, return to the main menu, select Reboot, and then System.
You can also read how to enable native root access in Lineage OS. In those guide also explain to you how to replace native root with SuperSU without flashing zip.
Please leave your review in the comment section. Or if you have diffucuties in LineageOS 14.1 for Oppo R7 Plus Android Nougat 7.1.1 topic, don't hesitate to write a question in the comment section .