How to Flash Samsung SM-A500F:
Make sure your device is atleast 30 percent charged to perform flashing
Install Samsung kies to make connectivity between Phone & Odin flash tool.
Switch off the mobile.
Press the Power + volume down + home button.
Android symbol will appear, now press volume up to enter into the download mode.
Unzip the Samsung SM-A500G Update file.
Now open the Odin flash tool.
Select flash file in PDA or AP.
After selection mobile will get detected automatically and will display a message Added.
Now click start on system & installation is in process.
After installation mobile restart of its own.