[Android Software Development] shervinemami:
I renamed all the tar.md5 files to end with tar. Still same problem:

$ ./TheAirBlow.Thor.Shell
Welcome to Thor Shell v1.0.4!
Successfully loaded "usb.ids" from cache.
Type "help" for list of commands.
To start off, type "connect" to initiate a connection.
~~~~~~~~ Platform specific notes ~~~~~~~~
You have to run Thor as root or edit udev rules as follows:
1) create and open /etc/udev/rules.d/51-android.rules in an editor
2) enter SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="YourUserGroupHere"
Additionally, you may have to disable the cdc_acm kernel module:
1) To temporarily unload, run "sudo modprobe -r cdc_acm"
2) To disable it, run "echo 'blacklist cdc_acm' | sudo tee -a /etc/modprobe.d/cdc_acm-blacklist.conf"
shell> debug on
Enabled debug logging
shell> connect
[10:53:15 DBG] Number of configurations: 1
[10:53:15 DBG] Number of interfaces: 2
[10:53:15 DBG] ~~~~ Interface index 0 ~~~~
[10:53:15 DBG] Number of endpoints: 1
[10:53:15 DBG] Interface class: 0x02
[10:53:15 DBG] $$ Endpoint index 0 $$
[10:53:15 DBG] !! Class-dependant descriptor, skipping (len = 5 - 2)
[10:53:15 DBG] !! Class-dependant descriptor, skipping (len = 5 - 2)
[10:53:15 DBG] !! Class-dependant descriptor, skipping (len = 4 - 2)
[10:53:15 DBG] !! Class-dependant descriptor, skipping (len = 5 - 2)
[10:53:15 DBG] Endpoint address: 0x82
[10:53:15 DBG] !! USB_ENDPOINT_XFER_BULK fail (value = 03)
[10:53:15 DBG] !! Interface is invalid, continuing
[10:53:15 DBG] ~~~~ Interface index 1 ~~~~
[10:53:15 DBG] Number of endpoints: 2
[10:53:15 DBG] Interface class: 0x0A
[10:53:15 DBG] $$ Endpoint index 0 $$
[10:53:15 DBG] Endpoint address: 0x81
[10:53:15 DBG] $$ Endpoint index 1 $$
[10:53:15 DBG] Endpoint address: 0x01
[10:53:15 DBG] > Interface is valid, exiting
[10:53:15 DBG] Interface: 0x01, Alternate: 0x00, Read Endpoint: 0x81, Write Endpoint: 0x01
Successfully connected to the device!
Now run "begin" with the protocol you need.
shell> begin odin
[10:54:25 DBG] Bootloader version integer 0x00038000
[10:54:25 DBG] Unknown1: 0, Unknown2: 128, Version: 3
[10:54:25 INF] Unknown2 is not zero: 80
[10:54:25 INF] Please contact me (TheAirBlow) about this in XDA DMs!
[10:54:25 INF] If you would cooperate, we could uncover hidden features!
[10:54:25 DBG] Sending file part size of 1048576
Successfully began an Odin session!
shell> flashTar Phone_Firmware_of_SM-A336E_XSA_A336EDXS8DXC1_fac/
[10:54:44 DBG] PIT size is 2000 (8192), 17 total blocks
Choose what partitions to flash from HOME_CSC_OLM_A336EOLM8DXC1_MQB78085687_REV00_user_low_ship_MULTI_CERT.tar:
…

(Press <space> to select, <enter> to accept) [10:54:47 DBG] Full exception: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.Collections.Generic.List`1.get_Item(Int32 index)
at Spectre.Console.MultiSelectionPrompt`1.Spectre.Console.IListPromptStrategy<T>.HandleInput(ConsoleKeyInfo key, ListPromptState`1 state) in /_/src/Spectre.Console/Prompts/MultiSelectionPrompt.cs:line 165
at Spectre.Console.ListPrompt`1.Show(ListPromptTree`1 tree, CancellationToken cancellationToken, Int32 requestedPageSize, Boolean wrapAround) in /_/src/Spectre.Console/Prompts/List/ListPrompt.cs:line 58
at Spectre.Console.MultiSelectionPrompt`1.ShowAsync(IAnsiConsole console, CancellationToken cancellationToken) in /_/src/Spectre.Console/Prompts/MultiSelectionPrompt.cs:line 97
at Spectre.Console.MultiSelectionPrompt`1.Show(IAnsiConsole console) in /_/src/Spectre.Console/Prompts/MultiSelectionPrompt.cs:line 89
at Spectre.Console.AnsiConsole.Prompt[T](IPrompt`1 prompt) in /_/src/Spectre.Console/AnsiConsole.Prompt.cs:line 21
at ThorRewrite.Shell.Commands.ProtoOdin.FlashTar.RunCommand(State state, List`1 args) in /home/theairblow/RiderProjects/Thor/TheAirBlow.Thor.Shell/Commands/ProtoOdin/FlashTar.cs:line 42
~~~~~~~^
Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
shell>