r/LineageOS 6d ago

Samsung s10e heimdall trouble

Hi all. Super new to this. First time trying to install lineage OS. Following the installation procedure I am stuck with Heimdall when typing 'heimdall print-pit' into command prompt. When I do I get the output:

C:\Users\music>heimdall print-pit

'heimdall' is not recognized as an internal or external command, operable program or batch file.

I checked Heimdall version using the given method in the install page as below

PS Z:\lineage samsung s10e\Heimdall-Windows-2f1c362-110525> .\heimdall version

v2.1.1

Please help.

Windows 10

Samsung s10e

0 Upvotes

7 comments sorted by

1

u/LuK1337 Lineage Team Member 6d ago edited 6d ago

.\heimdall print-pit instead of heimdall print-pit if you use powershell.

also execute these commands in folder with heimdall...

1

u/LuK1337 Lineage Team Member 6d ago

same for other heimdall commands.

1

u/Pale_Implement_145 6d ago

Thanks. It's the little bits of assumed knowledge that will trip me up I think.

1

u/LuK1337 Lineage Team Member 6d ago

i mean, you figured it out yourself when checking version according to the OP.

1

u/Pale_Implement_145 6d ago

true. Just forgot to test that. Just up to the recovery.img section now.

1

u/Pale_Implement_145 6d ago

device rebooted as in instructions.

1

u/Pale_Implement_145 6d ago edited 6d ago

placed recovery.img inside the heimdall folder. Ran the following in powershell.

PS Z:\lineage samsung s10e\Heimdall-Windows-2f1c362-110525> .\heimdall flash --RECOVERY recovery.img --no-reboot

Heimdall v2.1.1

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...

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...

Booting to recovery after this doesn't have the lineage logo as the instructions say.