Benjamin-Dobell / Heimdall

Heimdall is a cross-platform open-source tool suite used to flash firmware (aka ROMs) onto Samsung Galaxy devices.
MIT License
2.62k stars 587 forks source link

is it possible to flash the tar file without extracting #479

Open Xellerate005 opened 3 years ago

Xellerate005 commented 3 years ago

just want to know if heimdall itself is capable of extracting it then flashing it, because magisk root requires to patch entire ap file

shaun-ba commented 3 years ago

Also stuck on this point, how to flash Magisk using Heimdall, if anyone has a guide :)

amo13 commented 3 years ago

This is a misconception about what heimdall does. Heimdall only flashes a partition image to a partition with a given name. I have flashed a lot of samsung devices with heimdall and only ever needed to flash twrp to recovery. Everything else is done from within twrp. If you want to install magisk, do it with twrp, not with heimdall.

shaun-ba commented 3 years ago

@amo13 Ok thank you for that explanation.

I am following this guide, whereby you can see the Odin step: https://topjohnwu.github.io/Magisk/install.html#samsung-system-as-root

I cannot even download .pit from Heimdall at the moment, so would much prefer another method using TWRP is that's possible?

shaun-ba commented 3 years ago

Currently I just get this:

Initialising protocol... ERROR: Failed to send handshake!ERROR: Protocol initialisation failed!

amo13 commented 3 years ago

OK, don't know... Sorry.