To flash the latest Firmware via Jodin3 download stock ROM according to your CSC region/carrier.
unpack four (4x) tar.md5 files, for example
BL_J320FNXXU0ARH1_CL13891268_QB19182728_REV00_user_low_ship.tar.md5
AP_J320FNXXU0ARH1_CL13891268_QB19182728_REV00_user_low_ship.tar.md5
CP_J320FNXXU0ASF2_CL491657_QB13009723_REV00.tar.md5
CSC_BTU_J320FNBTU0ARH1_CL13891268_QB19182728_REV00_user_low_ship.tar.md5
open JOdin3 and untick all checkboxes like auto-reboot, re-partition etc.
assign the files according to it's prefixes
BL Bootloader BL_J320FNXXU0ARH1_CL13891268_QB19182728_REV00_user_low_ship.tar.md5
AP PDA AP_J320FNXXU0ARH1_CL13891268_QB19182728_REV00_user_low_ship.tar.md5
CP PHONE CP_J320FNXXU0ASF2_CL491657_QB13009723_REV00.tar.md5
CSC HOME_CSC CSC_BTU_J320FNBTU0ARH1_CL13891268_QB19182728_REV00_user_low_ship.tar.md5
connect device in download mode (Volume Down + Power)
click Start to begin the flashing process. wait up to 7-10 minutes until you see PASS! message. Don’t unplug the device.
Be aware flashing will factory reset your device!
Another approach is flash partitions with heimdall command line manually. this way you ensure userdata partition is not wiped during flash (no factory reset)
use p7zip to extract all tar.md5 files
7z x <file>
in CSC_*.tar.md5 find the J3XNLTE_*.pit file which contains all file names and partition names.
open the .pit file with hex editor. check the extracted file names and use the previous word as partition name
0x00000C00 14 00 00 00 05 00 00 00 01 00 00 00 00 70 02 00 .............p..
0x00000C10 00 A0 00 00 00 00 00 00 00 00 00 00 4B 45 52 4E . ..........KERN
0x00000C20 45 4C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EL..............
0x00000C30 00 00 00 00 00 00 00 00 00 00 00 00 62 6F 6F 74 ............boot
0x00000C40 2E 69 6D 67 00 00 00 00 00 00 00 00 00 00 00 00 .img............
0x00000C50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x00000C60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x00000C70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x00000C80 02 00 00 00 15 00 00 00 05 00 00 00 01 00 00 00 ................
0x00000C90 00 10 03 00 00 A0 00 00 00 00 00 00 00 00 00 00 ..... ..........
0x00000CA0 52 45 43 4F 56 45 52 59 00 00 00 00 00 00 00 00 RECOVERY........
0x00000CB0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x00000CC0 72 65 63 6F 76 65 72 79 2E 69 6D 67 00 00 00 00 recovery.img....
0x00000CD0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
flash all partition images (except userdata.img) via heimdall command line, for example
heimdall flash --BOOT spl.img --BOOT2 spl2.img --MD5HDR md5.img --SBOOT sboot.bin --SBOOT2 sboot2.bin --l_fixnv1 nvitem1.bin --l_fixnv2 nvitem.bin --pm_sys PM_sharkl_arm7.bin --l_ldsp SPRDLTEDSP.img --l_modem SPRDCP.img --l_gdsp SPRDGDSP.img --l_warm SPRDWDSP.img --PARAM param.lfs --efs efs.img --prodnv prodnv.img --KERNEL boot.img --RECOVERY recovery.img --PERSDATA persdata.img --CACHE cache.img --SYSTEM system.img --HIDDEN hidden.img