Okay, that’s not bad! There are several possibilities TeamWin - TWRP to flash. Here is an absolutely safe variant.
A) twrp.img.tar is stored on the microSD.
B) Start Odin3 in admin mode.
C) UN-check “Auto Reboot” under "Options
D) Launch the S4mini into “Samsung download mode” by pressing a key combination
E) Connect the S4mini to the Windows PC via USB cable
F) If the S4mini is recognized by Odin3, add in Odin under “AP”: twrp.img.tar - Click in Odin 3 “Start”
If the operation was successful …
-
disconnect the S4mini from the Windows PC
-
remove the battery for a few seconds
-
insert the battery as described above and start the S4mini in TWRT mode by pressing the key combination on the S4mini.
-
now we make a so called “clean flash”.
4.1 Tick (check on): Dalvik/Cache | System | Data | Cache
4.2 After ticking: Swipe below to “Wipe”
4.2.2 Optional, depending on your needs: “Format data”
4.3 Once the wipe has completed return to “Menu”
4.4 Flash /e/ OS ROM *.zip from the microSD via “Install”.
4.5.Penultimate step: Wipe Dalvik/Cache -
Last step: “Reboot” your System
Now the system should be reinitializing itself. Just wait until the animated e-logo is displayed.