Best application to flash my old SGS6


I use Manjaro as my daily driver now for past year or two, and would like to flash my old Samsung Galaxy S6 to new Android Pie, maybe LineageOS?

I have checked YouTube and almost all tutorials use Windows, which I really don't want to do.

I did find this website... says these are the steps one usually performs to flash a ROM:

  1. Install necessary computer software (usually ADB)
  2. Download packages (ROM, recovery, apps, etc.)
  3. Backup and prepare device.
  4. Unlock bootloader.
  5. Flash custom recovery.
  6. Flash custom ROM.
  7. Flash apps.
  8. Reboot and personalize.

I don't mind giving it a go, but I'm not as confident as I was in my younger days (I'm 71 going on 72 )

Step 1. I was wondering if I should download the adb tool "" that they mention here...

But I noticed there is a tool in the AUR called... "android-sdk-platform-tools 28.0.1-1" is this an option?

Which tool would you recommend?

Thanks for any advice/guidance

EDIT: I've only ever used the graphical package manager (pamac) in Manjaro and I'm not too confident installing from zip files.. can zips be installed with right-click and use "engrampa-package-manager" option offered?

Trying to flash LineageOS on my old Samsung Galaxy S6
Trying to flash LineageOS on my old Samsung Galaxy S6

abd and fastboot are part of android-tools from the official repo :slight_smile:


Thanks for quick reply, I will install with right-click and use “engrampa-package-manager” option.


No bacause they are generic archives not pacman packages (*.pkg.tar.xz)

sudo pacman -Syu android-tools

This is the way to go.

There might be some udev rules you need in place to actually do a connection to your device.

Manjaro has a package android-udev - that might come in handy.

You might even want to install the heimdall package which is a tool for samsung devices. Only available in AUR so use Pamac to install

pamac build heimdall

Sorry - I have been doing some of this stuff several times.


As fhdk already said, you need heimdall for Samsungs.
I’ve just used it this morning, it’s in AUR.

Follow the instructions at Lineage Wiki.
Do not unzip the Lineage or TWRP zip, they are packages.

Also make sure you have android-tools and android-udev installed.
In some cases you need a custom udev rule for your device’s modes (fastboot, adb etc.)

In case you do not need root on your phone:

  1. enable OEM unlock in developer settings on your phone
  2. reboot to odin/fastboot mode (see lineage wiki for necessary key combo)
  3. flash twrp recovery with heimdall flash --RECOVERY twrp-xxx.img --no-reboot
  4. reboot to recovery, enable sideload, and sideload the lineage zip with adb sideload (*)
  5. reboot to system

(*) you can also just put the zip on the phone with MTP or SD card and choose it in the install menu.

(these instructions are just a hint on how to do it, don’t take them too literally)

Important: please go to XDA forum for more detailed instructions, additional software, FAQ and advice.


Hi, I'm trying to install LineageOS on my old Samsung Galaxy S6 on which I have enabled developer options and USB debugging.

I tried to do this at beginning of year and posted some questions

I did get good feedback from @Lolix, @fhdk and @torvic but unfortunately I couldn't move forward due to other circumstances which prevented me from devoting the time required at the time.

So I have tried to make a start again...

I'm posting this under "Newbie Corner" as I need step-by-step help, but not sure if this is the correct forum to be honest as it is not related to Manjaro itself. Please advise if this is not correct....

What I have installed so far on my old SONY VAIO Manjaro laptop is... # Installed adb and fastboot

"" # download, extract & configure # done

Setting up "adb" # done, I can see "List of devices" when phone connected

Was able to boot phone into recovery mode, "Android Recovery" text only menu is displayed. I was not able to select and "Reboot to bootloader".

Was able to boot phone into "Download-mode" showing "ODIN MODE" top LH of text only screen

I have also installed following software on my laptop...

$ sudo pacman -Syu android-udev			# installed OK

$ pamac build heimdall				# installed OK

$ sudo heimdall print-pit			# this produced a long list of partitions, then 
						# phone reboots to standard home screen.

$ sudo pacman -Syu android-tools		# I decided to install this from stardard repos
						# I wasn't sure if this was required or not.

I wasn't sure if my phone needed to be rooted, so tried to root my phone following these instructions...

I was able to complete each step successfully until step 22.

.. I just didn't get "Flash completed successfully!" message next to the progress bar at Step 22 of instructions.

I did get following message in the Status text area....

Heimdall v1.4.2

Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna

This software is provided free of charge. Copying and redistribution is

If you appreciate this software and you would like to support future
development please consider donating:

Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...

Beginning session...
Releasing device interface...

Not sure what went wrong here to be honest.

NOTE: Phone is still not rooted yet. is this a problem going foward?

I'm trying to follow the instructions laid out on...

when I click on the first link...

How to install LineageOS on the Samsung Galaxy S6

I get to this page....

Install LineageOS on zerofltexx


  1. Basic requirements # DONE
  2. Preparing for installation # DONE
  3. Installing a custom recovery using heimdall # I'M HERE
  4. Installing LineageOS from recovery
  5. Get assistance

"Installing a custom recovery using heimdall" states the following instructions....

Download a custom recovery - you can download TWRP. Simply download the latest recovery file, named something like twrp-x.x.x-x-zerofltexx.img.

NOTE: I found "twrp-3.2.3-0-zeroflte.img" 24.8M 2018-08-04 13:04:34 EDT

which is different from "twrp-x.x.x-x-zerofltexx.img"

Power off the your device and connect the USB adapter to the computer (but not to the device, yet).

Boot into download mode: With the device powered off, hold Volume Down + Home + Power.

Accept the disclaimer, then insert the USB cable into the device.

On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window in the directory the recovery image is located, and type:

heimdall flash --RECOVERY twrp-x.x.x-x-zerofltexx.img --no-reboot

so I think my command should be...

$ heimdall flash --RECOVERY twrp-3.2.3-0-zeroflte.img --no-reboot

NOTE: I haven't done this step yet because the next step is...

Installing LineageOS from recovery
Build a LineageOS install package.

which links to

where it talks about "Build LineageOS and LineageOS Recovery"

this looks very complicated for my limited knowledge of Linux and Android flashing etc.

I'm wondering:

Is there an easier way to do this ?

Have I installed the correct software packages so far?

Any help / guidance would be appreciated. Thanks.

Sorry for long post, I'm trying to provide as much info as possible.


You don't need that.
Use a prebuilt zip from the download page.


thanks @torvic for quick feedback, where is best / safest place to download for my model?


This is the Manjaro forum, not the LineageOS forum.

There are plenty of support routes for LineageOS:

I urge you to use those instead.

closed #11