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

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;

(Video) Install Lineage OS 18.1 on Samsung Galaxy S4 GT-I9505 - Custom Rom Android 11

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.

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

(Video) How to install LineageOS 17.1 on galaxy s4 mini (with download links)

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.

(Video) Install Android 12 on Galaxy S4 Mini (LineageOS 19.1) - How to Guide!

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


  • 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

  • Samsung Galaxy S4 Official LineageOS 16[button anchor=”Official LineageOS 16″ url=”” size=”lg” style=”metro” color=”juicy-orange” block=”yes”]
  • Heimdall Suite[button anchor=”Heimdall Suite” url=”” size=”lg” style=”metro” color=”juicy-orange” block=”yes”]
  • ADB and Fastboot Tools[button anchor=”ADB and Fastboot Tools” url=”” size=”lg” style=”metro” color=”juicy-orange” block=”yes”]
  • TWRP Recovery[button anchor=”TWRP Recovery” url=”” size=”lg” style=”metro” color=”juicy-orange” block=”yes”]
  • GApps [button anchor=”GApps (arm architecture)” url=”” size=”lg” style=”metro” color=”juicy-orange” block=”yes”]

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;

(Video) Android 10 on Galaxy S4! | Lineage OS 17.1 (How to install from STOCK)

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 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
  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.

Where to Download Google Camera for Galaxy S4 LineageOS 16?

GCam version 6.x and 7.0 such as: GCam 6.2.030 or Gcam 6.1.021 and some or all GCam 7.0 are compatible with any Android Pie ROM in general.
In case you won’t get your device in the above lists, you can always look into the big list of Google Camera for Android Pie page that contains a huge list of GCam for all available devices.


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!

(Video) How to install lineage os on your Galaxy s4


How do I install LineageOS on Samsung? ›

Here's how to do it!
  1. First, a primer.
  2. Flashing Lineage OS: The Basics.
  3. Step 1: Install the necessary software.
  4. Step 2: Download packages.
  5. Step 3: Backup and prepare device.
  6. Step 4: Unlock the bootloader.
  7. Step 5: Flash a custom recovery.
  8. Step 6: Flash Lineage OS.
12 Jan 2022

What version of Android is lineage 16? ›

Version history
VersionAOSP versionFirst build release date (Oreo)26 February 2018 (Pie)1 March 2019
17.110 (Quince Tart)1 April 2020
18.111 (Red Velvet Cake)1 April 2021
10 more rows

Can I install LineageOS without root? ›

You don't have to root your device, but you do have to unlock your bootloader. If you install Lineage OS, it will not automatically come with root access, although you can enable it easily.

How do I install LineageOS on unsupported devices? ›

Just want to get the knowledge out so you can find a way that works for you.
local_manifests/gts28vewifi. xml at lineage-17.1 · team-infusion-developers/local_manifests
  1. Step 3: Turn on caching to speed up build. ...
  2. Step 4: Select Build. ...
  3. Step 5: Prepare the output: ...
  4. Step 6: Build it!
21 Mar 2022

Can I install LineageOS without TWRP? ›

In short... NO you cannot. To install a Custom ROM requires a Custom Recovery and a Custom Recovery requires an unlocked Bootloader. Good Luck!

Where can I download LineageOS? ›

  • LineageOS Downloads.
  • Sony Xperia XA2 (pioneer) - LineageOS ROMs. LineageOs ROM Sony Xperia XA2 (pioneer)...
  • LineageOS Downloads.
  • Home - LineageOS ROMs. Welcome to LineageOS ROMs, this site is...
12 Jul 2022

Is LineageOS still available? ›

LineageOS 19 comes with a plethora of new features and enhancements: Security patches from March 2021 to April 2022 have been merged to LineageOS 16.0 through 19. 19 builds are currently based on the android-12.1. 0_r4 tag, which is the Pixel 6 series tag.

Can I use Google Play store on LineageOS? ›

Google apps are the proprietary Google-branded applications that come pre-installed with most Android devices, such as the Play Store, Gmail, Maps, etc. Due to licensing restrictions, these apps cannot come pre-installed with LineageOS and must be installed separately.

Is LineageOS the best ROM? ›

LineageOS is by far the most popular custom ROM, as an open-source firmware, with over 2.6 million active users.

Can LineageOS be hacked? ›

Hackers have broken into the core infrastructure of LineageOS, a free and open-source operating system for smartphones, tablet computers and set-top boxes, based on the Google Android mobile platform.

Can I install other OS on Android? ›

Every custom ROM, comes with a unique look and there are plenty of options to choose from. You can opt for something that looks good, or something simple such as the stock UI. You can also simply run a beefed up version of your existing OS, but do make sure that you choose the right ROMs.

What launcher does LineageOS use? ›

LineageOS 19: Launcher & App Drawer

Once you're finished with the setup, you'll be greeted by Trebuchet, the default home screen launcher.

How do I fix my device isn't compatible with this version? ›

Top 5 Ways to Fix 'Your Device Isn't Compatible with This Version' on Android
  1. Update Android OS. ...
  2. Corrupt Google Play Store Cache. ...
  3. Uninstall Play Store Updates. ...
  4. Sideload an App From the Web. ...
  5. Install a Custom ROM. ...
  6. 7 Nifty Android Hacks That You Must Know.
26 Aug 2022

How do I bypass the device isn't compatible with this version? ›

How to Resolve This Error on Android
  1. Clear Google Play Store's Cache and Data.
  2. Uninstall Google Play Store Updates.
  3. Delete Google Services Framework's Cache and Data.
  4. Update Android Version.
  5. Sideload the “Incompatible” App.
  6. Install a Custom ROM on Your Android Device.
19 Oct 2021

How do you bypass your device is not compatible with this version? ›

It appears to be an issue with Google's Android operating system. To fix the “your device is not compatible with this version” error message, try clearing the Google Play Store cache, and then data. Next, restart the Google Play Store and try installing the app again.

Can I use LineageOS without Gapps? ›

I'm also glad I can use the device without any google apps. so if I press the button to center at current location, nothing happens although navigation is enabled.

Can I install custom ROM without bootloader? ›

It depends on phone. On most phones you can install custom os without bootloader unlock and most phones won't let you do that. It's always good to unlock bootloader before doing experiment on your phone.

Is root necessary for custom ROM? ›

You generally don't need to root the phone to install the custom ROM, you have to root the phone to install a mechanism to install the custom ROM (such as a custom recovery image). Some phones have unlockable bootloaders - you can flash boot and system. img files via the bootloader without the need to root.

How do I root my LineageOS 16? ›

Senior Member
  1. Download/extract this LineageOS version: ...
  2. Download ARM64/9.0 Gapps /
  3. Do a full Wipe.
  4. Install the LineageOS image first. ...
  5. After image is done, go back to main menu in TWRP. ...
  6. Reboot, Setup Google Account, and restore your cloud backup.
  7. Download latest Magisk app & Zip and install.
28 Jun 2019

How do I build a LineageOS on my phone? ›

To build LineageOS, you'll need: bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev libelf-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.

How do you update LineageOS manually? ›

Using the LineageOS Updater app
  1. Open Settings, navigate to “System”, then “Updater”.
  2. Click the Refresh Icon in the top right corner.
  3. Choose which update you'd like and press “Download”.
  4. When the download completes, click “Install”.

How do I bypass Google Play store restrictions? ›

The best way to bypass Google Play's geo-restrictions is with a VPN. Then, choose the server you want, clear your data and cache and go back to the Play Store. Then, return to the app you want, and you should be able to download it.

Do all apps work on LineageOS? ›

LineageOS is Open Source OS. Google apps like Play Store, Gmail, Maps etc are proprietary Google products and cannot be bundled with LineageOS due to licencing issues. However, you can always download these Google Apps Packages (Gapps) to run with LineageOS.

Which is best GApps package? ›

PSA: Always Use the GApps Package Recommended by your ROM Developer. LineageOS continues to recommend MindTheGapps instead of OpenGApps. The reason is because OpenGApps currently breaks important functionality in LineageOS, and users should always use GApps packages that are recommended by their ROM developer.

Which is most secure OS for Android? ›

About. GrapheneOS is a privacy and security focused mobile OS with Android app compatibility developed as a non-profit open source project. It's focused on the research and development of privacy and security technology including substantial improvements to sandboxing, exploit mitigations and the permission model.

Is there anything better than LineageOS? ›

There are more than 50 alternatives to LineageOS for a variety of platforms, including Android, Android Tablet, Linux, Linux Mobile and Android-x86. The best alternative is Android, which is both free and Open Source. Other great apps like LineageOS are /e/, Ubuntu Touch, GrapheneOS and CalyxOS.

What is a custom OS for Samsung? ›

A custom Android OS is linked to superior hardware security, especially in single-purpose device use cases. It provides the ability to control user access to hardware components, such as blocking access to the 3.5mm audio jack or disabling the volume rocker.

What is the latest version of LineageOS? ›

The Android community's biggest aftermarket distribution, LineageOS, is now up and running with Android 11. The new release is called "LineageOS 18.1," and builds for over 60 smartphones are hitting official servers for brands like OnePlus, Google, Xiaomi, Sony, Motorola, LG, and even some old Samsung devices.

Can custom ROM steal your data? ›

No, custom ROM is just like your current ROM but it just has different looks/features/OS version etc.. Custom ROMs don't use your personal info but some third party apps might steal personal data.

Does LineageOS get security updates? ›

Your data, your rules. Along with monthly security updates to every supported device, we enhance existing privacy touchpoints around the OS and keep you informed of how the system shares your data.

Can a phone run 2 OS? ›

Dual-boot Operating Systems is a concept of running multiple operating systems on the same Smartphone Device without any interruptions. For example, with a dual boot you could have multiple operating systems such as Ubuntu & Android or Ubuntu & Windows Phone 8 etc.

Is it possible to install 2 operating system? ›

While most PCs have a single operating system (OS) built-in, it's also possible to run two operating systems on one computer at the same time. The process is known as dual-booting, and it allows users to switch between operating systems depending on the tasks and programs they're working with.

Can you install a different OS on Samsung? ›

Quick answer: Yes it is possible to get a nearly stock Android on your Galaxy S.

Can LineageOS be rooted? ›

Go to Settings> Developer options> Root, and here activate the options Apps and ADB. With this, you will already have your mobile with Lineage OS completely rooted.

Can I manually update Android? ›

Get the latest Android updates available for you

Open your phone's Settings app. Near the bottom, tap System. System update.

How do I install an app that is not compatible with my device? ›

Open “Settings” and go for “Security options.” Scroll down to find Install Apps from “Unknown resources” and tap it. A pop-up window will open related to security risks and tap “OK.” Now you can easily install an external apk file from unknown resources.

Where can I download APK for free? ›

It should thoroughly vet all APKs and have a history of security and reliability.
  • APKMirror. APKMirror is probably the best Android APK download site. ...
  • APKPure. The biggest mainstream competitor to APKMirror is arguably APKPure. ...
  • APK Downloader. We really like APKMirror and APKPure. ...
  • Aptoide. ...
  • Yalp Store. ...
  • APKMonk. ...
  • APKHere.

How do I bypass device administrator on Android? ›

Go to your phone's settings and then click on “Security.” You'll see “Device Administration” as a security category. Click on it to see a list of apps that have been given administrator privileges. Click the app you want to remove and confirm that you want to deactivate administrator privileges.

How do you fix compatibility issues on Android? ›

Open your device's Settings app and navigate to System > Advanced > Developer options > App Compatibility Changes. Select your app from the list. From the list of changes, find the change that you want to toggle on or off and tap the switch.

How can I download incompatible apps on Android without root? ›

How to Install Incompatible Apps on Android No Root
  1. Method 01: Use a VPN program to install country-restricted applications.
  2. Method 02: Download and Install the APK files directly.
  3. Method 03: Use a Play Store alternative to install incompatible apps.
  4. Method 04: Upgrade your Android Operating System.
8 Jun 2022

What is the current version of Android OS? ›

Android 13, released on August 15, 2022, is the latest version, and the recently released Android 12.1/12L includes improvements specific for foldable phones, tablets, desktop-sized screens and Chromebooks.

Does LineageOS work on any phone? ›

Supported Models: LineageOS technically doesn't support entire product lines, such as the Motorola Edge. Instead, you need the phone's exact model number listed on the LineageOS device page (for example, one supported model of the Motorola Edge is XT2063-2).

What browser does LineageOS use? ›

It was recently announced that the Jelly browser would be replacing the AOSP browser on new LineageOS builds.

What happens if you don't install GApps? ›

While you can use a custom ROM without GApps, you cannot access your usual Android apps and services without installing them. Typically, you'd install a GApps package to gain access to Google Play and so you can download apps and games, enjoy films, etc.

Can I install custom ROM without root? ›

Can we install custom ROM without rooting? You can install any custom ROM to your device without rooting, but first be sure if your device has a unlockable bootloader/unlocked bootloader, because you need to flash a custom recovery (different from the original the device comes with) for flashing a custom ROM.


1. Android 11 for Samsung Galaxy S4 Mini i9190 i9195 first Builds by #Arco68
2. Install Lineage OS 18.1 on Samsung Galaxy S4 GT-I9515 - Custom ROM Android 11
3. Galaxy S4 - Stable Android 10 - LOS 17.1 Daily Driver
4. Android 11 for Galaxy S4! | Lineage OS 18.0
(William's Tech)
5. Android 13 upgrade Samsung S5 & S10 full show #Khalvat #Linux4 October 2022
6. How to flash LineageOS 17.1 on the Samsung Galaxy S4 (GT-I9505)
(XDboy YT BG)

Top Articles

You might also like

Latest Posts

Article information

Author: Frankie Dare

Last Updated: 11/27/2022

Views: 6415

Rating: 4.2 / 5 (53 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Frankie Dare

Birthday: 2000-01-27

Address: Suite 313 45115 Caridad Freeway, Port Barabaraville, MS 66713

Phone: +3769542039359

Job: Sales Manager

Hobby: Baton twirling, Stand-up comedy, Leather crafting, Rugby, tabletop games, Jigsaw puzzles, Air sports

Introduction: My name is Frankie Dare, I am a funny, beautiful, proud, fair, pleasant, cheerful, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.