Samsung-Loki / Thor

An alternative to Heimdall
Mozilla Public License 2.0
227 stars 26 forks source link

badges badges badges badges

Thor Flash Utility

This is a flash utility for Samsung devices, made from scratch in C#. \ To run this, you must have .NET 7 runtime installed on your computer. \ This tool was tested and works flawlessly, I'm open for any bug reports.

Disclaimer

1) You can't reuse the same USB connection after you close an Odin session, and you can't re-connect the device. You have to reboot each time. 2) Do not use the Linux version under WSL or under a badly configured VM. Do not expect any support on those - it's a waste of time. 3) Always try each option the platform-specific note tells you. In case of linux, try with cdc_asm disabled and enabled.

Support me

Please consider donating here if you would like to support me and other projects made by sussy.dev - like this one!

List of platforms

1) [x] Linux (USB DevFS method) 2) [ ] Windows (not implemented) 3) [ ] Mac OS (not implemented)

How's it different from Heimdall?

Fun fact: Official Odin for Linux works using DevFS, and people report it working when Heimdall didn't. 1) Is able to do NAND Erase All (aka erase userdata) and erase any partition, given the length. 2) Ability to shutdown and reboot into Odin mode (not supported on every device) 3) Not using a USB transfer library and doing it natively for best results 4) Extended the PIT parser with new information being discovered 5) Can flash directly from an Odin .tar / .tar.md5 archive 6) Works with .lz4 files directly without manual extraction 7) Implemented EFS Clear and Bootloader Update options in Odin 8) Is able to change the sales code of the device

Current list of commands

Commands

Usage guide

Initiate a connection
Select the options
Flash an odin archive
Flash a single partition