How to use Odin:-
1.You need Odin
Link:- https://odin3.en.lo4d.com/windows
2.PC or Laptop
3.USB cable compatible with your Device.
4.Download ROM compatiablefor your device
For Samsung Devices Visit Sammobile.
LInk:-https://www.sammobile.com/firmwares/archive/ .
Download the Zip folder an unzip it with Winrar.
In that file You will get 5 files .
1.BL file.
2.AP file.
3.CP file.
4.CSC file.
5.USER DATA file.
Switch off your mobile phone.Then Put your device in download mode.
By pressing The Power button+Home button+Volume Down button for 5-10sec.
Connect Your device to pc and run Odin Add all files to its desire position.
Then click volume up button to continue in your phone.
Your device will indicated in left corner of Odin.
Then click Start on Odin.
it will take upto 10 min.
after flashing your phone will restart.
And now you can disconnect usb cable from your mobile.