# How to Flash Firmware

### Download latest Firmware

The latest firmware for Proxmark3 X can be downloaded from <https://shop.mtoolstec.com>.

<figure><img src="https://2865144540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0XcTedgoP36Qs9ftwLlX%2Fuploads%2Fq3wOtgujcWHgdOjL7pvA%2Fdownload%20fm.png?alt=media&#x26;token=d163f6ab-4fc1-4e1e-b533-66eaba10c7fb" alt=""><figcaption></figcaption></figure>

### Flash firmware on the phone

{% embed url="<https://www.youtube.com/watch?v=Tt_onJMjDQA>" %}

### Flash the firmware on Linux or macOS

Press the Proxmark3 button then plug in, and run the command to check the available port.

{% code overflow="wrap" %}

```
ls /dev/* |grep usb

proxmark3 /dev/tty.usbmodemiceman1 --flash --unlock-bootloader --image bootrom.elf --image fullimage.elf
```

{% endcode %}

<figure><img src="https://2865144540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0XcTedgoP36Qs9ftwLlX%2Fuploads%2Ftw6S16NbsYCxule4ahca%2Fcheck%20port.png?alt=media&#x26;token=27da4dfd-7279-441f-9f3f-0fec5244904d" alt=""><figcaption></figcaption></figure>

Flash the firmware done.

<figure><img src="https://2865144540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0XcTedgoP36Qs9ftwLlX%2Fuploads%2FmTRlCmTF4r6wKYBWcoFL%2Fflash%20done.png?alt=media&#x26;token=1cb8a203-dbe6-4480-9a79-53771258b261" alt=""><figcaption></figcaption></figure>
