[Android Software Development] braveheartleo:
Thank you @TheAirBlow for providing this Odin flasher for Linux. Heimdall can't really properly flash a stock ROM (tar.md5 and lz4 files were all properly extracted, using CSC_ for userdata wipe), at least this has been my experience when returning crownlte to stock. The firmware flashed but resulted in a bootloop. I tried flashing the same ROM using this and resulted in a successful revert to stock. Here is a comparison of the terminal logs I captured when flashing heimdall and odin4:

Heimdall:

Heimdall v1.4.2

Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna
http://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:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
Claiming interface...
Setting up 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 BOOTLOADER
0%
36%
73%
100%

BOOTLOADER upload successful

Uploading USERDATA
0%
1%
2%
3%
4%
5%
6%
7%
8%
9%
10%
11%
12%
13%
14%
15%
16%
17%
18%
19%
20%
21%
22%
23%
24%
25%
26%
27%
28%
29%
30%
31%
32%
33%
34%
35%
36%
37%
38%
39%
40%
41%
42%
43%
44%
45%
46%
47%
48%
49%
50%
51%
52%
53%
54%
55%
56%
57%
58%
59%
60%
61%
62%
63%
64%
65%
66%
67%
68%
69%
70%
71%
72%
73%
74%
75%
76%
77%
78%
79%
80%
81%
82%
83%
84%
85%
86%
87%
88%
89%
90%
91%
92%
93%
94%
95%
96%
97%
98%
99%
100%

USERDATA upload successful

Uploading CM
0%
25%
50%
76%
100%

CM upload successful

Uploading CP_DEBUG
0%
20%
40%
60%
80%
100%

CP_DEBUG upload successful

Uploading OMR
0%
100%

OMR upload successful

Uploading HIDDEN
0%
100%

HIDDEN upload successful

Uploading CACHE
0%
100%

CACHE upload successful

Uploading ODM
0%
1%
2%
3%
4%
5%
6%
7%
8%
9%
10%
11%
12%
13%
14%
15%
16%
17%
18%
19%
20%
21%
22%
23%
24%
25%
26%
27%
28%
29%
30%
31%
32%
33%
34%
35%
36%
37%
38%
39%
40%
41%
42%
43%
44%
45%
46%
47%
48%
49%
50%
51%
52%
53%
54%
55%
56%
57%
58%
59%
60%
61%
62%
63%
64%
65%
66%
67%
68%
69%
70%
71%
72%
73%
74%
75%
76%
77%
78%
79%
80%
81%
82%
83%
84%
85%
86%
87%
88%
89%
90%
91%
92%
93%
94%
95%
96%
97%
98%
99%
100%

ODM upload successful

Uploading VENDOR
0%
1%
2%
3%
4%
5%
6%
7%
8%
9%
10%
11%
12%
13%
14%
15%
16%
17%
18%
19%
20%
21%
22%
23%
24%
25%
26%
27%
28%
29%
30%
31%
32%
33%
34%
35%
36%
37%
38%
39%
40%
41%
42%
43%
44%
45%
46%
47%
48%
49%
50%
51%
52%
53%
54%
55%
56%
57%
58%
59%
60%
61%
62%
63%
64%
65%
66%
67%
68%
69%
70%
71%
72%
73%
74%
75%
76%
77%
78%
79%
80%
81%
82%
83%
84%
85%
86%
87%
88%
89%
90%
91%
92%
93%
94%
95%
96%
97%
98%
99%
100%

VENDOR upload successful

Uploading SYSTEM
0%
1%
2%
3%
4%
5%
6%
7%
8%
9%
10%
11%
12%
13%
14%
15%
16%
17%
18%
19%
20%
21%
22%
23%
24%
25%
26%
27%
28%
29%
30%
31%
32%
33%
34%
35%
36%
37%
38%
39%
40%
41%
42%
43%
44%
45%
46%
47%
48%
49%
50%
51%
52%
53%
54%
55%
56%
57%
58%
59%
60%
61%
62%
63%
64%
65%
66%
67%
68%
69%
70%
71%
72%
73%
74%
75%
76%
77%
78%
79%
80%
81%
82%
83%
84%
85%
86%
87%
88%
89%
90%
91%
92%
93%
94%
95%
96%
97%
98%
99%
100%

SYSTEM upload successful

Uploading DQMDBG
0%
100%

DQMDBG upload successful

Uploading RADIO
0%
2%
4%
7%
9%
12%
14%
16%
19%
21%
24%
26%
28%
31%
33%
36%
38%
41%
43%
45%
48%
50%
53%
55%
57%
60%
62%
65%
67%
69%
72%
74%
77%
79%
82%
84%
86%
89%
91%
94%
96%
98%
100%

RADIO upload successful

Uploading RECOVERY
0%
2%
4%
6%
9%
11%
13%
15%
18%
20%
22%
25%
27%
29%
31%
34%
36%
38%
41%
43%
45%
47%
50%
52%
54%
57%
59%
61%
63%
66%
68%
70%
72%
75%
77%
79%
82%
84%
86%
88%
91%
93%
95%
98%
100%

RECOVERY upload successful

Uploading BOOT
0%
3%
6%
9%
12%
15%
18%
21%
24%
27%
30%
33%
36%
39%
42%
45%
48%
51%
54%
57%
60%
63%
66%
69%
72%
75%
78%
81%
84%
87%
90%
93%
96%
99%
100%

BOOT upload successful

Uploading KEYSTORAGE
0%
100%

KEYSTORAGE upload successful

Uploading UP_PARAM
0%
75%
100%

UP_PARAM upload successful

Uploading PARAM
0%
100%

PARAM upload successful

Ending session...
Releasing device interface...

Odin4:

odin4 -b BL_N960FXXU9FVG2_CL24343300_QB54199203_REV00_user_low_ship.tar.md5 -a AP_N960FXXU9FVG2_CL24343300_QB54199203_REV00_user_low_ship_meta_OS10.tar.md5 -c CP_N960FXXU9FVG2_CP22538496_CL24343300_QB54199203_REV00_user_low_ship.tar.md5 -s CSC_OMC_OXM_N960FOXM9FVG2_CL24343300_QB54199203_REV00_user_low_ship.tar.md5 -d /dev/bus/usb/001/012
Check file : BL_N960FXXU9FVG2_CL24343300_QB54199203_REV00_user_low_ship.tar.md5
Check file : AP_N960FXXU9FVG2_CL24343300_QB54199203_REV00_user_low_ship_meta_OS10.tar.md5
Check file : CP_N960FXXU9FVG2_CP22538496_CL24343300_QB54199203_REV00_user_low_ship.tar.md5
Check file : CSC_OMC_OXM_N960FOXM9FVG2_CL24343300_QB54199203_REV00_user_low_ship.tar.md5
/dev/bus/usb/001/012
Setup Connection
initializeConnection
Set Partition
Receive PIT Info
success getpit
Upload Binaries
sboot.bin.lz4
param.bin.lz4
up_param.bin.lz4
cm.bin.lz4
keystorage.bin.lz4
boot.img.lz4
recovery.img.lz4
system.img.lz4
vendor.img.lz4
dqmdbg.img.lz4
userdata.img.lz4
modem.bin.lz4
modem_debug.bin.lz4
cache.img.lz4
omr.img.lz4
odm.img.lz4
hidden.img.lz4
Close Connection

Hopefully you would be able to provide update releases to this tool, if there be any.