Skip to main content

Questions tagged [heimdall]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
81 views

Unpack boot.img and add "androidboot.selinux=enforcing" to boot.img-cmdline not work on Samsung

After flashing Android 13 of LineageOS to Galaxy Note 10+, I'm trying to set SELinux permissive following the steps. Unpack boot.img and add androidboot.selinux=permissive to boot.img-cmdline use ...
Nelson's user avatar
  • 11
1 vote
0 answers
42 views

DivestOS Mobile recovery image gives error on Heimdall

My Samsung Note 3 SM-N9005, the first time I used Heimdall I could successfully flash the recovery image from here (particularly this image). Now in download mode is current binary: custom and system ...
Neggia's user avatar
  • 11
1 vote
0 answers
35 views

YABLS? (Yet Another Boot Loop Snafu?)

So I have read through quite a few bootloop posts but still haven't managed to resolve my issue (am very close to trying oden 2 linux...). Device: samsung galaxy tab a (sm-t350) what I did: Using ...
DrZog's user avatar
  • 11
0 votes
0 answers
789 views

How do I setup TWRP on my SM-T295?

I've tried almost every twrp.img I can find on the internet that supports my device (SM-T295, Android 11) yet I can't seem to get it to work. Every twrp recovery.img I try still results in the "...
CordCreator 182's user avatar
0 votes
0 answers
32 views

Does Heimdall verify compatibility?

I want to flash TWRP to my Samsung Android device. I do not know if there is a compatible version of TWRP (device model not listed). Does Heimdall verify compatibility before flashing with sudo ...
ecokjeonb's user avatar
1 vote
0 answers
271 views

How do I flash a custom recovery/ROM to my Galaxy Core Prime (SM-G360V)?

I've been trying to flash a custom recovery and ROM to an old Galaxy Core Prime. Based on advice I received on Reddit, I decided to try using Heimdall. I put the phone into Odin Mode and connected it ...
shwin320's user avatar
  • 111
2 votes
0 answers
546 views

Required Img files for heimdall root

Folks, I'm trying to root a phone with Heimdall (on Linux). Completed steps so far: Downloaded Factory Firmware patched it with Magisk setup heimdall downloaded PIT from phone backed up phone with ...
Mat's user avatar
  • 41
1 vote
0 answers
273 views

Does Heimdall have the option to boot without flashing/substituting the kernel? (like fastboot boot boot.img)

Fastboot has the option fastboot boot Image.gz to boot a kernel without flashing it to the phone. Is there something similar for Heimdall? I did not want to mess with my phone's kernel for now. It's a ...
Rafaelo's user avatar
  • 71
1 vote
0 answers
1k views

Failing to flash custom (Magisk-patched) boot.img to Samsung S20 FE (4G) with Heimdall

I am attempting to flash a Magisk-patched boot.img from Linux onto my unlocked SM-G780G. I have so far tried doing that using fastboot flash ... to which the device responded that it doesn't know the ...
0xC0000022L's user avatar
3 votes
1 answer
2k views

How to install GSI on Samsung Galaxy Tab Active3

I am trying to flash an Android 12 GSI onto my Samsung Galaxy Tab Active3. Goal is to install the GSI without root / voiding the warranty. My company produces an app which is primarily used on Android ...
Kidburla's user avatar
  • 500
1 vote
0 answers
974 views

SAMSUNG a10s boot loop after TWRP flash

I have bought a SAMSUNG A10s phone and tried to install TWRP according to this instruction. I was able to unlock the bootloader and enter the 'Downloading' mode. I disabled time sycro and automatic ...
peng's user avatar
  • 111
3 votes
0 answers
918 views

How to install a post-market operating system on a Samsung Galaxy S7 with a broken screen that has "OEM unlock" still disabled?

I want to use my old Samsung Galaxy S7 (with a broken screen) as a headless device in my home network. (Rationale - for the curious readers: Even with a broken screen it could possibly become a ...
Hauke P.'s user avatar
  • 131
2 votes
0 answers
2k views

Heimdall gives ERROR: Failed to receive handshake response. Result: -7 on samsung J5 (2016)

I am trying to connect to a Samsung J5 (2016) SM-J510FN, using linux ubuntu 20.04 (libusb-1.0.0), to flash a TWRP image using heimdall v1.4.2 (build from master a2cfdaa) I have set the udev based on ...
Jorge Mendes's user avatar
2 votes
0 answers
245 views

Can we use Odin/Heimdall to emulate a fake flash (without real hardware connection)?

As my title suggests.. is there a method to flash a (samsung) firmware on a formatted sd card (fat32 I guess? And 16gb too?) instead of an actual phone (flash emulation) using pit file in heimdall/...
Alex's user avatar
  • 21
0 votes
1 answer
1k views

Samsung Note 5: Heimdall recovery flash completes, but device stuck "Downloading..."

I downloaded TWRP from twrp.me, and ran heimdall flash --RECOVERY recovery.img --no-reboot On my Samsung S5 that was in Download Mode. heimdall seems to have completed successfully: Heimdall v1.4.2 ...
Dr-Bracket's user avatar
2 votes
1 answer
3k views

Can't boot into recovery mode after flashing TWRP on Samsung Galaxy S5

Problem I can not boot my Samsung Galaxy S5 into recovery mode after flashing TWRP. Background I am trying to install LineageOS on my Samsung Galaxy S5. What I tried I followed the install ...
nonthevisor's user avatar
1 vote
1 answer
1k views

heimdall libusb error -1

I am trying to flash TWRP on Samsung Galaxy S6 that I inherited from someone else, there was already some custom software on it, but I am not sure what exactly. File transfer to a computer works fine. ...
gdkrmr's user avatar
  • 131
0 votes
1 answer
336 views

Flash Galay S 3 Mini on Linux

I tried to root my Samsung Galaxy S3 Mini (GT-I8190) to pull the boot.img to flash a custom kernel. However rooting doesn't seem to be that easy for the Galaxy S3 mini. I was recommended to flash a ...
TobTobXX's user avatar
  • 123
3 votes
2 answers
11k 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.
Evan Carroll's user avatar
  • 4,287
0 votes
1 answer
278 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....
philipper's user avatar
  • 101
4 votes
1 answer
11k 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-...
Evan Carroll's user avatar
  • 4,287
0 votes
1 answer
360 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 ...
Eris Wagner's user avatar
1 vote
0 answers
946 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, ...
Exercise To The Reader's user avatar
1 vote
1 answer
1k 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 ...
jyn's user avatar
  • 111
1 vote
1 answer
408 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 ...
Chris Stryczynski's user avatar
1 vote
0 answers
436 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 ...
Fabio de Paula's user avatar
1 vote
1 answer
1k 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 ...
Gradyn Wursten's user avatar
0 votes
1 answer
279 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 ...
anarchokawaii's user avatar
4 votes
1 answer
5k 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 ...
Mark Smith's user avatar
0 votes
1 answer
469 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 ...
Vishwas's user avatar
  • 11
1 vote
1 answer
6k 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 ...
Édouard Lopez's user avatar
1 vote
2 answers
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 ...
Erik Schulz's user avatar
4 votes
0 answers
12k 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 ...
Torben Gundtofte-Bruun's user avatar
1 vote
1 answer
737 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 ...
Ani's user avatar
  • 111
7 votes
5 answers
28k 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:~/...
celsheet's user avatar
2 votes
0 answers
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)...
David's user avatar
  • 121
1 vote
0 answers
229 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 ...
Nazar Hussain's user avatar
1 vote
1 answer
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 ...
Don Giulio's user avatar
2 votes
1 answer
3k 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 ...
zuckerbrot's user avatar
11 votes
1 answer
34k 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\...
billylee258's user avatar
12 votes
3 answers
54k 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 ...
PHP Learner's user avatar
1 vote
1 answer
3k 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 ...
PHP Learner's user avatar
1 vote
0 answers
1k 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 ...
user163911's user avatar
2 votes
0 answers
720 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 ./...
StealthRT's user avatar
  • 143
0 votes
1 answer
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 ...
user avatar
1 vote
2 answers
8k 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?
Envite's user avatar
  • 209
4 votes
1 answer
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 ...
Kevin's user avatar
  • 209
2 votes
1 answer
12k 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, ...
CBeTJlu4ok's user avatar
2 votes
0 answers
958 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 ...
dwhly's user avatar
  • 21
3 votes
1 answer
10k 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 ...
user29020's user avatar
  • 321