Installing Android Nougat On A Samsung S5

4 minute read

In this post, we will install Android 7.0 Nougat on a Samsung Galaxy S5 using a Windows machine.

Background

The Samsung Galaxy S5 was released in 2014 and the last official update to Android operating system is Android 6.0 Marshmallow. Therefore, Samsung will no longer release any more updates or security patches. If we want to use the latest and greatest Android operating system, we will have to take matters in our own hands.

Disclaimers

Installing an unsupported operating system can void the warranty and permanently damaged the phone. Although, we were successful in our attempt, there could be many factors that were simply not accounted for. Follow these steps at your own risks.

Backup The Android Device

A backup is the most crucial step. Most people are using a Google account, which already backup contacts, pictures, etc. on Google Drive. Several apps such as WhatsApp also provide integrated backup mechanism so make sure to enabled them.

Google Backup

Head into Settings and look for Backup & Reset. In there make sure that Back up my data is on and Backup account is properly setup.

Google Backup

Backup App

A fairly decent backup app is App Backup Restore - Transfer. We have the option to backup to the cloud or a SD card and we can backup apps, contacts, sms, call logs, etc.

App Backup Restore - Transfer

Manual Backup

Lastly, we can simply plug the Android device into a computer and copy everything via Windows Explorer.

Identify The Exact Model of the Device

Believe or not, there is over 40 different models of the Samsung Galaxy S5. It is critical to correctly identify the model.

Head into

  1. Settings
  2. More
  3. About device
  4. Model number

Make note of it.

Prerequisites Downloads

The following should be downloaded prior to the installation. There are sometime specific version for the different variant of the Samsung Galaxy S5 so be sure to pick the right one.

Samsung Driver for Windows PC

We will need to download and install this driver in order to connect the device to a PC over USB

Android USB Driver for Windows

Odin

We will use this tools to flash a Custom Recovery firmware image to the Android device.

Odin

TeamWin Recovery Project

Download the tar file for TWRP for the model identified above. Custom recovery is necessary since we want to interact with the partition of the smartphones to change the Android system and install system apps.

TWRP

Lineage OS

Download the appropriate firmware based on the model identified above. This is basically the custom ROM that will contain the new Android operating system.

Lineage OS

Google Apps

Head over to (Open GApps)[http://opengapps.org/] and download the zip that would contains the Google apps desired on the device. Be sure to select the proper platform (ARM), Android version, which depends on the version of LineageOS (at the time of written 7.1), and variant (pico is the minimum).

Installation

Connecting the Device to the PC

  1. Open Odin on the PC
  2. Shutdown the device
  3. Do not connect the device to the PC
  4. Boot the device in Odin Mode. To do this, while the device is shut off, press and hold home, volume down and power.
  5. Acknowledge the warning. If there is no warning, the boot fail so try step 2 onward again.
  6. Connect the device to the PC
  7. Wait for the log in Odin to say “Added!!” and for a device to appear in the interface. If nothing happens, try these steps again.

Device Added

Install TWRP Recovery

Step 3 is time critical, make sure to understand all steps before moving forward.

  1. In Odin, click on AP and select the .tar file for the TWRP downloaded above
  2. Click Start to flash the new recovery
  3. Once the process is complete, the device will shutdown and reboot. Prior to that boot, restart in recovery mode. Otherwise, the device will revert the installation. To do this, press and hold home, volume up and power.
  4. TWRP should boot up and acknowledge a warning about modifying system partition.
  5. Go to the Mount section and make sure files of the device are visible on the PC.

TWRP Home

Install Lineage OS and Google Apps

  1. Copy the Lineage OS and Google Apps zip file to a folder on your device. If internal storage lacks, a SD card will work too
  2. In TWRP, select Wipe and then on Advanced Wipe
  3. Select Dalvik / ART Cache, System, Data, and Cache and confirm
  4. Once the wipe is completed, go back to the home screen and select Install
  5. Select ZIP and go into the directory where Lineage OS is copied and select the file
  6. Select Add more ZIPs and add the Google Apps zip. Doing both at the same time is critical to avoid authorization conflicts in the future.
  7. Check for Reboot
  8. Confirm to start the installation.

TWRP Install Zip

Setup the Device

If everything is successful, then it is time to restore backed up information and enjoy a rejuvenated device.

Tags:

Updated:

Leave a Comment

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

Loading...