Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [heimdall]

Heimdall is a cross-platform open-source tool suite used to flash firmware (aka ROMs) onto Samsung Galaxy S devices.

0
votes
2answers
679 views

On flashing TWRP: Custom binary blocked by FRP Lock

Whenever I try to flash TWRP I get Custom binary blocked by FRP Lock. I'm trying to flash with Heimdall.
0
votes
1answer
32 views

Unroot Galaxy Note 5 SM-N902i (XSA Australia) with Heimdall - “System UI has stopped”

I am running a linux machine and trying to unroot my Galaxy Note 5. I've downloaded the lastest firmware from sammobile: N920IDVU4CRG1_N920IXSA4CRG1_XSA.zip which extracts to: boot.img cache.img cm....
0
votes
1answer
1k views

What is a “PIT file”?

Both Heimdall and Odin have options for a PIT file. From Heimdall's option you can find, Action: print-pit Arguments: [--file <filename>] [--verbose] [--no-reboot] [--stdout-errors] [--usb-...
0
votes
1answer
102 views

SGH-T989 (UVLDH firmware) Goes into Recovery mode, but not Download

I'm trying to get my SGH-T989 into Download mode so I can flash TWRP with heimdal. It's been awhile since I've done this and from what I recall (and have researched a bit) I need to: unplug cable ...
0
votes
0answers
205 views

Heimdall says ERROR: Protocol initialisation failed! What now?

Trying to flash TWRP to Note3 using Heimdall v1.4.1 on Ubuntu 16.04 LTS and I get the following: Initialising connection... Detecting device... Claiming interface... Setting up interface... ...
0
votes
0answers
25 views

How to edit a pitfile on Linux?

I'm running Linux and have an sgh-t989 that I'd like to repartition for CM-13 or 14. I have a pitfile from heimdall, but staring at the data in a hex editor doesn't turn up anything obvious to edit. ...
1
vote
0answers
370 views

Bricked Note GT-8013, unable to boot from TWRP recovery (flashes logo for 1-2 secs), nor on normal mode, installed TWRP via both IMG and TAR

I'm running a Samsung Note GT-N8013. One day, my tablet fails to boot, saying that encryption had been unsuccessful; according to this answer, /data has failed to format. I can't reset the device, ...
0
votes
1answer
377 views

In Galaxy S7, cannot disable Samsung Reactivation Lock

Summary I'm trying to install a custom build of LineageOS following the instructions here. I was attempting to load a recovery image using heimdall when I'm told 'Recovery Check failed'. It turns out ...
0
votes
1answer
237 views

“No command” in recovery mode after flashing with CF auto root

Using a Samsung 5 (Model J500FN). I used Heimdall to flash the partitions (from CF-auto-root), which completes in download mode. I then reboot the phone into recovery mode and just get a "Installing ...
1
vote
0answers
218 views

S3 i9300 Soft Bricked. Heimdall says: Failed to receive handshake response. Result: -7

I have S3 i9300 CWM working w/ cannot mount errors Download mode is fine It is stuck on Samsung i9300 logo What I have tried Odin3 all version w/ pit file: fail Heimdall running on Ubuntu 64: fail ...
1
vote
1answer
539 views

Can't Restore Samsung Galaxy S3 To Factory Firmware

I installed CyanogenMod on my Samsung Galaxy S3 (SGH i747), and now I need to re-install factory firmware to network unlock my phone. Heimdall seems to be able to successfully image the firmware ...
0
votes
1answer
197 views

I'm having trouble rooting my Samsung J320P with heimdall

I can't download the pit. i connected to the device with adb. i'll try downloading the pit file and heimdall will tell me Initialising connection... Detecting device... Claiming interface... Setting ...
5
votes
1answer
3k views

How to factory reset Galaxy Note 10.1 from Odin

My Note 10.1 (N8010) won't boot - sticks at the "Samsung Galaxy Note 10.1" logo. Power+VolUp does not take me to the recovery (just reboots), but Power+VolDown does take me to "ODIN MODE", so I ...
0
votes
1answer
406 views

Help a beginner who is about to install cyanogenmod 13 on a samsung Galaxy Note 10.1 2014 edition

I have a Samsung Galaxy note 10.1 2014 edition that is my love. It is my daily driver too. I recently upgraded to lollipop, but faced issues with graphics quality being dropped due to some memory ...
1
vote
1answer
3k views

What does the ROM files (FACTORYFS, HIDDEN, CACHE, PARAM, etc.) mean?

Flashing my Galaxy S 2 i9100 (after breaking with CyanogenMod update CM-13.x) I used the following command: sudo heimdall flash \ --FACTORYFS factoryfs.img \ --CACHE cache.img \ --HIDDEN ...
1
vote
2answers
2k views

Flashing seems not possible

I own an Samsung Galaxy Tab Pro 10.1 wifi (picassowifi). I flashed the recovery with TWRP and installed CyanogenMod 10 on it. After a couple of months I tried installing a nightly update for ...
4
votes
0answers
8k views

Heimdall/JOdin: “We could not obtain the PIT file. We tried, but it didn't work.”

I'm trying to root my Samsung S6, but I don't have a Windows computer. Luckily, JOdin works on Linux too and it connects to my phone, so I am now much closer to my goal. But now I am facing a new ...
2
votes
1answer
501 views

Recover data from SM-N900 - Heimdall/Odin help

I have a SM-N900 (Note 3 Exynos), the password for which is forgotten![1], but there is data that need to be recovered. I am trying to flash TWRP, or CWM recovery image so that I can at least get to ...
5
votes
4answers
14k views

Heimdall Error Protocol initialisation failed! on Ubuntu

I want to install CyanogenMod on my Samsung Galaxy S5. I'd downloaded the version and did the excact steps from the wiki. But when I try to flash with Heimdall I get this error: Ubuntu-Laptop:~/...
2
votes
0answers
2k views

Samsung Galaxy S2 (i9100) stuck @boot & unable to flash

Nearly three years ago my Samsung Galaxy S2 (i9100) system completely broke (after about 1 or 1.5 years of what I would call normal Samsung usage :D - a lot of errors and problems, but usually fixable)...
1
vote
0answers
222 views

After installing CyanogenMod 12+ fastboot is not working

I installed CyanogenMode 12+ in my S2 device. Every thing was working fine and I used fastboot to flash the ROM. After installing CM when I go to download mode again, fastboot didn't detect the ...
1
vote
1answer
1k views

Installed CWM on note 2, but the phone is not rooted

I've used Heimdall 1.4.0 on my mac to install CWM 6.0.4.3 (file name: recovery-clockwork-6.0.4.3-n7100) on my Samsung Note 2 GT-N7100 with android 4.3, the installation went smooth with no issues. I ...
1
vote
1answer
2k views

On S3 Mini, Heimdall ERROR: Partition “RECOVERY” does not exist in the specified PIT

Following this guide for Samsung S3 Mini to install recovery: http://wiki.cyanogenmod.org/w/Install_CM_for_i9300 Started up in download mode connected USB in Terminal (Linux user), typed in heimdall ...
4
votes
1answer
15k views

Heimdall error libusb error: -12

I have installed the C++ redistributables, but everytime I try flashing ClockworkMod Recovery, it fails with an libusb error: -12 C:\Users\new1\Desktop>heimdall detect Device detected C:\Users\...
8
votes
3answers
27k views

How to use *.img file instead of *.gz (or *.pit) file with Heimdall?

I have downloaded .img file for TWRP recovery. How I should use it with Heimdall? It seems that Heimdall accepts .gz files (or .pit files in older versions), not .img! I've tried opening an .img file ...
1
vote
1answer
2k views

What is heimdall PIT file?

What is PIT file that is generated by heimdall? Is the PIT format a general format which is used by other software as well? or is a format dedicated to Heimdall? If it is general format that could ...
1
vote
0answers
994 views

Need Help Unbricking Samsung S3 (GT-i9300)

below is a full and detailed account of what I have tried so far and where I think may be problems. I need someone with experience/in-depth knowledge of these sort of issues to give me a hand. Okay ...
2
votes
0answers
558 views

MAC OSX Heimdall Failed to confirm end of file transfer sequence!

I am getting the error: Failed to confirm end of file transfer sequence!” when using Heimdall on Mac OSx. The error in terminal: Kathryns-MacBook-Pro:~ david$ sudo heimdall flash --RECOVERY ./...
0
votes
1answer
1k views

How do I install a custom recovery on a Note 3 from OS X?

I have a Note 3. I want to install CyanogenMod on it, so I will need a custom recovery. My computer is OS X. http://wiki.cyanogenmod.org/w/Install_CM_for_hlte says: If you've applied the 4.4.x ...
0
votes
1answer
5k views

Heimdall error: Setting up interface failed!

While trying to know the pits available in my phone (Samsung GT-I9082, the Grand Duos) heimdall (in Linux) throwed me this error. What does it mean? How to resolve it?
4
votes
1answer
1k views

Possible Soft-Brick Fix for my Galaxy S4

So, prior to my stupidity, I made a system.img dump via dd However, after my stupidity (tried flashing some lib files....), I am now stuck with only stock recovery mode, or download mode. How can I ...
2
votes
1answer
10k views

Heimdall Failed to confirm end of file transfer sequence!

I have problem flashing my galaxy core SYSTEM with Heimdall using system.img.ext4 ~/Desktop/lll$ sudo heimdall flash --SYSTEM system.img.ext4 Heimdall v1.4.0 Copyright (c) 2010-2013, ...
2
votes
0answers
644 views

Heimdall 1.4.0 (Final) error "Failed to confirm end of file transfer sequence!” on Galaxy S4

Using Heimdall 1.4.0 on Mavericks on a Galaxy S4 SGH-I337 to flash CWM, I get: sudo heimdall flash --RECOVERY recovery-clockwork-touch-6.0.4.7-jflteatt.img --no-reboot Password: Heimdall v1.4.0 ...
2
votes
1answer
9k views

How can I fix this Heimdall Control transfer failed (result -9) for flashing a recovery?

I am getting a "WARNING: Control transfer #1 failed. Result: -9" problem that looks like it might be causing a failure for heimdall to flash a recovery to my Samsung Galaxy S Duos GT-S7562 phone. I ...
0
votes
0answers
2k views

Heimdall errors

Doesnt work. trying to install a new recovery rom on a samsung s4 i9505 heimdall flash --recovery openrecovery-twrp-2.6.3.0-jgedlte.img Heimdall v1.3.1, Copyright (c) 2010-2011, Benjamin Dobell, ...
2
votes
0answers
2k views

Galaxy S2 stuck in boot loop (nor reco, no safe mode working)

I have a Samsung Galaxy S2 GT-I9100 that when hot after intensive use, the day after while rebooting it got stuck to the Samsung initial logo screen and could never start again. I have tried the boot ...
9
votes
3answers
42k views

Heimdall errors, “ERROR: Failed to detect compatible download-mode device.”

When trying to flash a Galaxy S3 (ATT), I get ERROR: Failed to detect compatible download-mode device. below is the log, $ sudo heimdall flash --RECOVERY recovery.img Heimdall v1.4.0 Copyright (...
27
votes
2answers
24k views

Heimdall errors, “ERROR: Partition ”recovery“ does not exist in the specified PIT.”

When I try to flash my S4 with Heimdal and put on clockworkmod, i get the follow, $ sudo heimdall flash --recovery ./clockworkmod_6.0.3.2_jfltespr.img --no-reboot Heimdall v1.4.0 Copyright (c) 2010-...
4
votes
2answers
21k views

Heimdall errors, “ERROR: Failed to confirm end of file transfer sequence!”

Using Heimdall v1.4 RC1 to flash Clockworkmod Recovery on a Samsung S4, I get the following, $ sudo heimdall flash --RECOVERY ./recovery.img --no-reboot Heimdall v1.4 RC1 Copyright (c) 2010-2012, ...
1
vote
1answer
7k views

Cannot boot into recovery (Samsung Galaxy S)

My GT-I9000 device recently got stuck in a bootloop, and now I'm trying to put CyanogenMod on it, hoping that this would fix the situation. I can use Heimdall to install the ClockworkMod Recovery on ...
7
votes
4answers
23k views

How to flash a custom recovery with heimdall (without touching the main system)?

The first recommended step in the installation of CyanogenMod on Samsung Galaxy S is flashing a custom recovery like ClockworkMod or the one from Replicant with a command like: heimdall flash --...
2
votes
1answer
536 views

Which version of Heimdall to use with S2 or S3?

I think this is a pretty straight forward question. I have a Galaxy S2 (i727) and a Galaxy S3 (i747) and I'd like to use Heimdall with both of them, but can't seem to find which version of Heimdall ...
2
votes
0answers
761 views

Tar header contains invalid size

I've been trying to open a .tar.md5 file containing a cellphone software update using Heimdall under Mac OSX Snow Leopard. The file was extracted from a .zip downloaded from sammobile.com containing ...
3
votes
1answer
2k views

Unable to flash CWM recovery to GS3 over stock 4.1 with Heimdall

I want to root and upgrade to 4.1 a just-unboxed Samsung Galaxy S3. After running the official OTA update with stock Samsung ROM, I tried to follow the tutorial here with openSUSE. I installed ...
2
votes
1answer
13k views

Heimdall firmware package of cyanogemmod

How I can get a Heimdall firmware package of CyanogenMod? For example, I want get this firmware, convert it to Odin images, and package and flash it with Heimdall. Is it possible?
5
votes
2answers
4k views

How to flash Samsung devices from a GNU/Linux host running on ARM architecture?

To flash a Samsung Galaxy S (where do not have root access in the currently running OS, and with a stock recovery) with a new firmware (OS), I need to connect it with a USB cable to another computer ...
2
votes
1answer
1k views

Samsung S3 i9300 rooted with Heimdall. Am I able to unroot with ODIN?

I rooted my phone with the Samsung Galaxy S III: Full Update Guide I stumbled when I tried to flash the CyanogenMod. I do not get the install from zip file command while in the ClockworkMod recovery ...
10
votes
1answer
20k views

“Failed to detect compatible download-mode device” on Mac Lion with Samsung Galaxy S2

Hi I'm using the cyanmodgen wiki to install it. but I'm stuck on the first step. Whenever i do sudo heimdall flash --kernel zImage I get : Initialising connection... Detecting device... Failed ...
0
votes
1answer
609 views

Backup Samsung Fascinate running ICS, make ODIN-flashable image

I have Samsung Fascinate running ICS. It's very easy to break the OS, such as: by improperly booting into recovery. I want to make a backup, which I could flash using ODIN. Does anyone know what ...
6
votes
2answers
6k views

'Failed to access device' when trying to root Samsung Galaxy S 2.3.3 with Heimdall

I want to install CyanogenMod on my Samsung Galaxy S. In order to do that it needs to be rooted first of course. For that I followed the the explanation on the CyanogenMod wiki to the letter. However,...