How to Install LineageOS using Heimdall on Samsung

install lineageos heimdall

install lineageos heimdall

In this guide, we will show you the steps to install the LineageOS ROM using Heimdall on Samsung. When it comes to custom ROMs, then there are a plethora of noteworthy players to choose from, with the likes of PixelOS, EvolutionX, and crDroid all making a name for themselves. However, it goes without saying that LineageOS has been the go-to choice for the masses. And the reason for the same is hardly a secret either.

When you are getting a clean stock usage experience with a fast snappy system bereft of any bloatware [or even any Google apps] then the users are bound to get inclined towards it. Likewise, it is also a must-have for many developers as they base their offerings on this ROM’s source code. Furthermore, flashing it is also a relatively easier task- just flash its recovery and then sideload the ZIP file.

However, when it comes to Samsung, things are completely different as you’ll have to take the help of Odin. And if you own an older Samsung device, then installing LineageOS would involve Heimdall, which might prove to be an even more challenging task for some users. Fret not, this guide has got you covered and we’ll help you install the ROM and its recovery using the Heimdall Tool. So without further do, let’s check out,

How to Install LineageOS using Heimdall on Samsung

Before starting, please take a backup of all the data on your device. Moreover, this is a generic Samsung guide not specifically targeting any one device, so make sure to verify the firmware that your device needs to be from the LineageOS website or third-party sites like XDA.

STEP 1: Install Heimdall

  1. To begin with, unlock the bootloader on your device.install lineageos heimdall
  2. Then download and install Microsoft Visual C++ 2015-2019 Redistributable Package.
  3. Now download and extract Heimdall on your PC.
  4. Then open Command Prompt inside that directory and type in the below command:
    heimdall version
  5. Make sure that you get a serial ID, which will signify that the installation is successful

STEP 2: Install libusb Driver Zadig

  1. First off, you will have to boot your device to Download Mode for the flashing.
  2. Now install a libusb driver via the zadig.exe present in the Heimdall folder.
  3. Once that is done, choose Options followed by List all devices from the menu.
  4. Now select the device having USB ID 04E8 685D from the drop-down menu.
  5. Then click Replace Driver and select Install Driver from the drop-down list.
  6. NOTE: If you get any warning signs, just click on Install this driver anyway.
  7. Now type in the below command in the CMD opened in the Heimdall folder.
    heimdall print-pit
  8. If the device reboots, then it signifies that Heimdall is installed and working.

STEP 3: Install LineageOS Recovery via Heimdall

  1. Download the LineageOS Recovery for your device from here: recovery.img.
  2. Now transfer this file to the Heimdall folder and open Command Prompt there.
  3. Type in the following command to flash the LioneageOS Recovery via Heimdall
    heimdall flash --RECOVERY recovery.img --no-reboot
  4. Finally, boot your device to the Recovery Mode directly from the Download Mode.

STEP 4: Flash LineageOS ROM

  1. First off, download the LineageOS ROM from its official page.
  2. Then download and extract the Android SDK Platform Tools.android sdk platform tools
  3. Likewise, open a Command Prompt inside that folder as well
  4. After that, go to Factory Reset > Format data/Factory Reset.
  5. Then go to “Apply Update” and choose “Apply from ADB”.
  6. Now in the below command in the CMD to start the sideload:
    adb sideload rom.zip
  7. The flashing will now start and it could take a few minutes.
  8. Once done, your device will boot to the newly flashed ROM!

That’s it. These were the steps to install the LineageOS ROM using Heimdall on Samsung. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.

Leave a Reply

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