FORUMS
Remove All Ads from XDA

[GUIDE] Heimdall - Installation, (stock) ROM flashing, PIT extraction from linux OS

160 posts
Thanks Meter: 125
 
By beardedpanda, Senior Member on 3rd August 2016, 12:14 AM
Post Reply Email Thread
You always wanted to change your OS from bloated Windows to something different or you're tired of maintaining your virtual machine to flash your device freely. I know that pain!
Now, you could stop cursing your powerlessness. Here comes the solution to all problems.


The answer is called Heimdall. This is a multiplatform tool for flashing our phones (not only ours) like Odin (Odin is available only for Windows). It's created by Glass Echidna, I've just compile binaries of most recent version to make it "multi-distribution". I don't want put you to sleep so, let's get started!

Quote:

Be aware! Heimdall isn't longer maintained and have some debility. When something will be not working do this steps below:

  1. Restart the program
  2. Connect device to other USB port
  3. Restart the computer (in extreme cases)

Quote:

I use a Xubuntu for my main OS so all installation commands and etc. are for debian based distribution

Installation method:
Code:
For more info look at the Video tutorial section of this post
  1. Download ROM you want to flash and extract it to the one folder
  2. Download the attachment and extract the binaries to /usr/local/bin/
  3. Install the prerequisites: sudo apt-get install build-essential cmake zlib1g-dev qt5-default libusb-1.0-0-dev libgl1-mesa-glx libgl1-mesa-dev
  4. Open terminal window and type: sudo heimdall-frontend
  5. Change tab to Flash and load the pit file
  6. Click on Add to add partition to flash and corresponding files to them (!! MBR,GPT partition is use to repartition our device, so you have to put a .pit.md5 file to it when you want repartition your device !!)
  7. Put your phone into Download mode and connect it to the PC using USB cable
  8. In Heimdall Frontend click Start and wait
  9. Enjoy :)
Pit extraction:
Code:
  1. In Heimdall frontend click Utilities tab
  2. Click under Print Pit - Device
  3. Click under Download pit - Save as
  4. Choose the name and destination
  5. Click Download and wait
  6. Enjoy ;)
Video tutorial
TUTORIAL

Mirror:
Google drive
Attached Files
File Type: zip Heimdall1.4.1.zip - [Click for QR Code] (151.0 KB, 110 views)
16th November 2019, 12:16 AM |#2  
Member
Thanks Meter: 4
 
More
Hi, I was glad to find your guide; unfortunately it does not work for me (LM 19.2)- my old beloved ace (cooper) runs a unofficial LOS 10.1, and heimdall (neither your zip nor a 1.4.2-version) could not download a PIT - so it seems that I cannot flash TWRP (I am using CWM Recovery on this phone. I would like to test PostmarketOS, and I am not sure if CWM will help.
DO you still work with the ace? Any idea to flash? THank you
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes