ERROR during action " heimdall flash --RECOVERY twrp-... "

Hello I have an error with a SAMSUNG A53 5G recovery flash:

After a successful “adb reboot bootloader” and “heimdall print-pit” at the attempt to flash the TWRP recovery image " heimdall flash --RECOVERY twrp-3.7.1_12-0-a53x.img --no-reboot " I encounter the error “ ERROR: Failed to receive session end confirmation! “

Here below is the full log of what’s on the screen:

Heimdall v2.1.0

Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna https://glassechidna.com.au
Copyright (c) 2021-2024 Henrik Grimler
This software is provided free of charge. Copying and redistribution is encouraged.

Initialising connection…
Detecting device…
Claiming interface…
Initialising protocol…
Resetting device…
Protocol initialisation successful.

Beginning session…

Some devices may take up to 2 minutes to respond.
Please be patient!

Session begun.

Downloading device’s PIT file…
PIT file download successful.

Uploading RECOVERY
100%
RECOVERY upload successful

Ending session…
ERROR: Failed to receive session end confirmation!
Releasing device interface…

Any suggestion will be helpfull, kind regards, thanks, JB

Well I think that I just have to wait 7 days, and to retry with an internet connection activated.

“Even though OEM unlock is “On” is it still necessary to wait a week for it to actually take effect ?”

The “small print” top left of Download mode screen will reveal any locks applied.

You really want the phone online while unlock. The unlock will ultimately come from Samsung servers.

Thanks for the quick reply, No I do not really want the phone online while unlock, but I’ve read that it is advised in 2 post on this forum. But I will try offline first.

Hello, even 7 days after the OEM unlock I still not succeed to flash the recovery image : twrp-3.7.1_12-0-a53x.img to the Samsung A53.

The error did change and I do not understand what’s wrong now ?

the error message at the end of the flash is still :

Initialising connection…
Detecting device…
Claiming interface…
Initialising protocol…
Resetting device…
Protocol initialisation successful.

Beginning session…

Some devices may take up to 2 minutes to respond.
Please be patient!

Session begun.

Downloading device’s PIT file…
PIT file download successful.

Uploading RECOVERY
100%
RECOVERY upload successful

Ending session…
ERROR: Failed to receive session end confirmation!
Releasing device interface…

Any suggestion will be helpful, kind regards, thanks, JB

What I read top right is along the lines of Custom binary (Recovery) blocked by OEM lock.

The above message tells us the phone is Prenormal. More here Know your hardware - Samsung.

Yes this was the screen-copy 7 days ago, the screen-copy from today is the second picture with just the message: No signinfo (RECOVERY) “secure check fail” (RECOVERY)

I am not familiar. What is the build? Is TWRP recommended? Looks like you are using very new Heimdall is that the method recommended by the developer?

Ok I will check that, my Desktop is a Linux Debian 13 with:

adb --version
Android Debug Bridge version 1.0.41
Version 34.0.5-debian
Installed as /usr/lib/android-sdk/platform-tools/adb
Running on Linux 6.12.74+deb13+1-amd64 (x86_64)

heimdall version
v2.1.0

and I am following the installation method from the link below but it is maybe not accurate for this phone, I will continue to search for the proper way to install it. I have time to explore, and test various options. And maybe one day the A53 5G will be a supported device. Thanks for your help.

I get the TWRP twrp-3.7.1_12-0-a53x.img from this page : Samsung Galaxy A53 5G

but I missed the point “You are therefore strongly advised to first root your device with Magisk” also I will retry after the root with Magisk. And also a method the flash from SDcard is described on this page.

A non standard TWRP.

In addition to your observation I see

Flashing TWRP without first flashing a vbmeta image with verity disabled will render your device unable to boot.

and refer to the device’s TWRP support thread on XDA for detailed information about installation and the associated hazards

1 Like

The build is the : e-3.6-a16-20260323-UNOFFICIAL-a53x.zip from this page :

My reading is that the idea starts with

If you intend to root

but better info Development - [RECOVERY][OFFICIAL] TWRP 3.7.1-12 for Galaxy A53 5G | XDA Forums

How to install?

  • Download [Odin ](use Odin3 for Windows and Odin4 for Linux)
1 Like