Stuck on installing e/os on Galaxy S9

I am trying to install e/os on a Galaxy S9, but I am stuck.

When I do what I think is required in the terminal, I get a message that does not help me, and the blue download bar does not appear either.

friso@friso-HP-ProBook-650-G1:~$ heimdall flash --RECOVERY /e-3.0.4-t-20250711507810-community-starlte.zip .img --no-reboot
Invalid argument: .img

Action: flash
Arguments:
[– …]friso@friso-HP-ProBook-650-G1:~$ heimdall flash --RECOVERY /e-3.0.4-t-20250711507810-community-starlte.zip .img --no-reboot
Invalid argument: .img

Action: flash
Arguments:
[– …]
[– …]
[–pit ] [–verbose] [–no-reboot] [–resume] [–stdout-errors]
[–usb-log-level <none/error/warning/debug>]
or:
–repartition --pit [– …]
[– …] [–verbose] [–no-reboot]
[–resume] [–stdout-errors] [–usb-log-level <none/error/warning/debug>]
[–tflash] [–skip-size-check]
Description: Flashes one or more firmware files to your phone. Partition names
(or identifiers) can be obtained by executing the print-pit action.
T-Flash mode allows to flash the inserted SD-card instead of the internal MMC.
Use --skip-size-check to not verify that files fit in the specified partition.
Note: --no-reboot causes the device to remain in download mode after the action
is completed. If you wish to perform another action whilst remaining in
download mode, then the following action must specify the --resume flag.
WARNING: If you’re repartitioning it’s strongly recommended you specify
all files at your disposal.
friso@friso-HP-ProBook-650-G1:~$
[– …]
[–pit ] [–verbose] [–no-reboot] [–resume] [–stdout-errors]
[–usb-log-level <none/error/warning/debug>]
or:
–repartition --pit [– …]
[– …] [–verbose] [–no-reboot]
[–resume] [–stdout-errors] [–usb-log-level <none/error/warning/debug>]
[–tflash] [–skip-size-check]
Description: Flashes one or more firmware files to your phone. Partition names
(or identifiers) can be obtained by executing the print-pit action.
T-Flash mode allows to flash the inserted SD-card instead of the internal MMC.
Use --skip-size-check to not verify that files fit in the specified partition.
Note: --no-reboot causes the device to remain in download mode after the action
is completed. If you wish to perform another action whilst remaining in
download mode, then the following action must specify the --resume flag.
WARNING: If you’re repartitioning it’s strongly recommended you specify
all files at your disposal.
friso@friso-HP-ProBook-650-G1:~$

I have repeated the steps several times, but I am not getting anywhere.

What am I doing wrong?

Who can help me? Thanks in advance.

So you command should be :

heimdall flash --RECOVERY recovery-e-3.0.4-t-20250711507810-community-starlte.img --no-reboot
  • From the folder where the files are
  • Without / before the file name
  • With correct file name, without space between file name and file extention

Thanks for your quick answer but… I did paste the line you gave and the phone says "Downloading’ but nothing happens for hours already.
In the terminal I find:
riso@friso-HP-ProBook-650-G1:~/Downloads$ heimdall flash --RECOVERY recovery-e-3.0.4-t-20250711507810-community-starlte.img --no-reboot
Heimdall v2.0.2

Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna
https://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
https://www.glassechidna.com.au/donate/

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…
Releasing device interface…

friso@friso-HP-ProBook-650-G1:~/Downloads$
You see I’m a real dummy…

Flashing the custom recovery take less than 2 minutes

Then :

I fiddled around with it for a while and finally got it working.

Thanks for all the help you offered.

1 Like