• October 2019
 

Download and Install Official LineageOS 16 [nightly] for Samsung Galaxy S4

 
 
 

This post was last updated on August 29th, 2019 at 01:04 pm

Samsung Galaxy S4, which was released on April 2013 has now officially got the support of the LineageOS 16 [nightly build]. This year we have seen the list of supported devices of the LineageOS to grow and another smartphone from way back 2013, has been added to the official support list. Moreover, we have seen this month, quite a few Samsung smartphones getting official LineageOS 16 support been extended to the Samsung Galaxy A5, and the A7 then the Samsung Galaxy Note 3 as well. Finally, this past week, Samsung Galaxy S4 and S4 Active were also added to the list of supported devices of the LineageOS 16. However, in this post, we will guide you on how to download and install official LineageOS 16 [nightly] for Samsung Galaxy S4.

The LineageOS is one of the best and most popular custom ROMs available to install for a huge range of devices. And, this official nightly port is courtesy of the XDA developers arco, side, and npjohnson. The latest LineageOS 16 is now updated with more features and bug fixes. The official version of the LineageOS 16 [nightly] carries the version 16.0-20190812-nightly-jfltexx-signed. However, you need to have an unlocked bootloader in order to install the LineageOS 16 for the Samsung Galaxy S4. So, without any further ado, let us get straight into how to download and install official LineageOS 16 [nightly] for Samsung Galaxy S4;

Note that this is an in-depth and detailed guide on the installation of the official LineageOS 16 on the Samsung Galaxy S4. We would recommend you to at least go through each section once to avoid any issues and problems.

What is LineageOS?

LineageOS is one of the most popular Custom ROMs that are downloaded and installed by the users on their smartphones. For those who do not know, it is based on the Android Open Source Project and get a contribution from various contributors in the Android community. You get a brilliant and my favorite stock Android experience with some extra features that enhances the productivity of your smartphones. Moreover, it is a highly recommended Custom ROM for any device by most of the Android community.

As explained in Wikipedia;

LineageOS is a free and open-source operating system for set-top boxes, smartphones and tablet computers, based on the Android mobile platform. It is the successor to the custom ROM CyanogenMod, from which it was forked in December 2016 when Cyanogen Inc. announced it was discontinuing development and shut down the infrastructure behind the project. Since Cyanogen Inc. retained the rights to the Cyanogen name, the project rebranded its fork as LineageOS.

Advantages of Custom ROM

  • Custom ROMs are built to perform faster than stock ROM.
  • They are more stylish and eye-catching in terms of interface/UI.
  • You will get some extra features in custom ROMs.
  • Moreover, after installing a custom ROM, you will also notice a slight increase in the performance of your device.
  • The Custom ROM installation also comes very handy when your device is operating or running on an older Android version. Custom ROMs like LineageOS can get you the taste of the latest Android version.

Disadvantages of Custom ROM

  • For installing custom ROMs you need to have unlocked the bootloader.
  • You need to have a custom recovery like TWRP, installed and also root access on your device.
  • If anything goes wrong with the custom ROM installation process, you can cause permanent damage or might brick your device.
  • Moreover, if you install a non-optimized custom ROM on your device then, your device will become laggier.
  • The final but most important disadvantage is that your device warranty will be voided and you will not be able to receive official OTA updates on your device.

Download and Install Official LineageOS 16 [nightly] for Samsung Galaxy S4

Pre-requisites

  • This guide is only for Samsung Galaxy S4 users. We would advise you not to follow this guide if you are not the users of the Samsung Galaxy S4 and S4 Active.
  • This method requires you to have a PC/Laptop.
  • Make sure to charge your device up to at least 70%.
  • You need to download the correct USB drivers for your device first.
  • Download all the files from the download section.
  • Enable USB debugging on your device.
    • To do this, go to Settings>>About Phone>> tap on Build Number 7 times till you see a toast message “You are now a developer“.
    • Now again go to Settings>>Developer Options>>enable USB Debugging

Download Links

Steps to Install Official LineageOS 16 [nightly] on Samsung Galaxy S4

In this guide we will share with you two methods to install the official LineageOS 16 on the Samsung Galaxy S4 device. First we will look at how to install the LineageOS via the Heimdall Suite for Samsung and then we will look at how to install the LineageOS 16 via the Custom Recovery i.e. TWRP. Let us take a look at both the methods and you can choose whichever options works best for you;

Method 1: Installation Using Heimdall Suite

Preparing for Installation

Samsung devices like other devices come with a mode which is called the Download Mode. You need to access the download mode in order to interact with the Samsung device. Moreover, the Download Mode is similar to what we find on other phones, the Fastboot Mode. In this method, we will make use of the Heimdall Suite, which is a cross-platform and open-source tool that allows us to access the Download mode on Samsung Galaxy devices. Besides, this method does not require you to root the stock firmware.

  1. Firstly, download the Heimdall suite from the above download section based on the OS that you are running on your PC.
  2. Now follow the below instructions to install the Heimdall Suite on your compatible OS (Windows, Mac or Linux)
    • Windows: Download and extract the Heimdall suite and note the location of the directory containing heimdall.exe. You can check whether Heimdall is working or not, by opening a command prompt in the same folder where you have extracted the Heimdall suite and typing heimdall version. If you receive an error, make sure you install the Microsoft Visual C++ 2012 Redistributable Package (x86) installed on your computer.
    • Linux: Download the Linux compatible Heimdall suite. Check whether the 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.
  3. Then, turn OFF your device.
  4. Boot into the Download Mode by pressing Volume Down + Home + Power buttons, together.
  5. Accept the disclaimer and connect your Samsung Galaxy S4 to the PC via a USB cable.
  6. Below are the instructions for Windows PC only;
    • Install all the drivers in the Heimdall download file.
    • Run the zadiag.exe from the Drivers folder of the Heimdall suite.
    • Now, choose Options>>List all devices from the menu.
    • Select the Samsung USB composite device or Device Name from the drop-down menu.
    • Click on Replace Driver.
    • Then, you need to select Install this driver anyway. Just complete the installation by selecting the options that allows you to carry on the installation.
    • Now, in your PC, open a command prompt and type;
      heimdall print-pit
    • If your device reboots, then the Heimdall suite is installed successfully.

Install a Custom Recovery Using Heimdall Suite

  1. Download any custom recovery like TWRP.
  2. Now, turn OFF your smartphone.
  3. You need to boot into the Download Mode. To do this press the Volume Down + Home + Power button together.
  4. Accept the disclaimer and connect your smartphone to the PC using a USB cable.
  5. Open the command prompt on the same folder where the recovery image is located and type the below;
    heimdall flash --RECOVERY twrp-x.x.x-x-jfltexx.img --no-reboot
    (Note that you need to change the “twrp-x.x.x-x-jfltexx.img” file name to the name of the image file you have downloaded.)
  6. You will see a blue loading bar on your device’s screen confirming the transfer of the file.
  7. Unplug the USB cable from your device.
  8. Now, you need to reboot your device to recovery mode quickly once you have installed the custom recovery to avoid issues, by pressing the Volume UP + Home + Power buttons together.
  9. That’s It.

Method 2: Installation Using TWRP Custom Recovery

  1. Download the LineageOS 16 from the above download section.
  2. You can also optionally download the Google Apps (arm64) for your Samsung Galaxy S4.
  3. Boot into the recovery mode by pressing Volume Up + Home + Power buttons together.
  4. Now, return back to the Main Menu and then type Wipe.
  5. To format the data, tap on the Format Data button, to begin the formatting process.
  6. Now, return to the previous menu and tap on the Advanced Wipe.
  7. You now need to clear the Cache and System partitions. Swipe to Wipe.
  8. Now, sideload the LineageOS.zip package:
    • On the device, select “Advanced“, “ADB Sideload“, then Swipe to begin the sideload process.
    • On the host machine, sideload the package using:adb sideload filename.zip
  9. Once the installation is finished run the below command:adb reboot
  10. That’s it! You have successfully installed the official LineageOS 16 for the Samsung Galaxy S4 device.

Specifications Overview of Samsung Galaxy S4

The Samsung Galaxy S4 is powered by the Exynos 5410 chipset which is paired with 2GB of RAM. You also get three storage options i.e. 16/32/64GB. In the display department, the device has a 5-inch Super AMOLED display with a resolution of 1080 x 1920 pixels, with 441 PPI density. It also comes with the Corning Gorilla Glass 3 protection for the display. Under the hood, the device is powered by a 2600 mAh battery. The device runs on the Android 4.2.2 Jellybean out of the box and was upgradable to 5.0.1 Lollipop.

The Samsung Galaxy S4 device has a single camera setup at the rear with 13MP f/2.2 aperture. Moreover, there is a 2MP selfie camera with f/2.4 aperture. The Samsung Galaxy S4 device was launched in 4 colors – White Frost, Black Mist, Arctic Blue, Black Edition.

Conclusion

So, there you have it from my side in this article. Hope you guys liked this post and have successfully installed the official LineageOS 16 [nightly] on your Samsung Galaxy S4. Please do let us know in the comments section on whether you have installed the LineageOS 16 on your device and also do let us know all the new features that it has. Moreover, do let us know any issues faced by you while the installation of LineageOS 16 on your device. Note that this is an official LineageOS 16 for the Samsung Galaxy S4 and all the bugs and issues have been fixed with the latest update. Until the next post…Cheers!

 

About the Author

A Six Sigma and Google Certified Digital Marketer, who has a year of experience as an Analyst for a Top MNC. A technology and automobile enthusiast who likes to write, play guitar, travel, ride his bike, and relax. Entrepreneur and Blogger.

   
Loading...
 

Leave a Reply