# Pm3ez-device-fw-mismatch-after-flashing-on-linux

**URL:** <https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916>\
**Category:** Support\
**Created:** [September 28, 2023, 7:22am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916 "2023-09-28T07:22:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![boby4](https://forum.dangerousthings.com/letter_avatar_proxy/v4/letter/b/a698b9/32.png) [@boby4](https://forum.dangerousthings.com/u/boby4)\
**Post date:** [September 28, 2023, 7:22am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/1 "2023-09-28T07:22:09Z")

</div>

Hi evryone , I have installed my [PM3](https://dangerousthings.com/product/proxmark3-easy/) Via Brew and everything was working find .

Unfortunately I tried to Install it on my Ubuntu via VB and I have the message after flashing .

Target device /fw mismatch .

Please can you help me.

---

<div class="post-metadata">

**Author:** ![Equipter](https://forum.dangerousthings.com/user_avatar/forum.dangerousthings.com/equipter/32/18780_2.png) [@Equipter](https://forum.dangerousthings.com/u/Equipter)\
**Post date:** [September 28, 2023, 7:22am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/2 "2023-09-28T07:22:55Z")

</div>

you must have flashed the version for the rdv4 instead of pm3generic

---

<div class="post-metadata">

**Author:** ![boby4](https://forum.dangerousthings.com/letter_avatar_proxy/v4/letter/b/a698b9/32.png) [@boby4](https://forum.dangerousthings.com/u/boby4)\
**Post date:** [September 28, 2023, 7:27am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/3 "2023-09-28T07:27:17Z")

</div>

I am going to look into it

 ![Screen Shot 2023-09-28 at 18.16.07](https://dangerousthings-forum.b-cdn.net/original/3X/f/e/fecb96c9df5736bb28bfc7a5be7d01be82e3a5cd.png)  
Thanks

---

<div class="post-metadata">

**Author:** ![boby4](https://forum.dangerousthings.com/letter_avatar_proxy/v4/letter/b/a698b9/32.png) [@boby4](https://forum.dangerousthings.com/u/boby4)\
**Post date:** [September 28, 2023, 8:09am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/5 "2023-09-28T08:09:54Z")

</div>

I tried make PLATFORM=PM3GENERIC clean && make PLATEFORM=PM3GENERIC all

Then Flash but it ls not working … ☹

---

<div class="post-metadata">

**Author:** ![Pilgrimsmaster](https://forum.dangerousthings.com/user_avatar/forum.dangerousthings.com/pilgrimsmaster/32/1179_2.png) [@Pilgrimsmaster](https://forum.dangerousthings.com/u/Pilgrimsmaster)\
**Post date:** [September 28, 2023, 8:16am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/6 "2023-09-28T08:16:47Z")

</div>

`notepad Makefile.platform`

You will see something like this

 ![image](https://dangerousthings-forum.b-cdn.net/original/3X/a/a/aa18824a110c9f34a559859c56d0df618727a40b.png)

Change this ( just move the # )  
PLATFORM=PM3RDV4  
#PLATFORM=PM3GENERIC

to this  
#PLATFORM=PM3RDV4  
PLATFORM=PM3GENERIC

File - Save - Close

---

<div class="post-metadata">

**Author:** ![boby4](https://forum.dangerousthings.com/letter_avatar_proxy/v4/letter/b/a698b9/32.png) [@boby4](https://forum.dangerousthings.com/u/boby4)\
**Post date:** [September 28, 2023, 8:19am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/7 "2023-09-28T08:19:56Z")

</div>

Thanks trying ASAP

---

<div class="post-metadata">

**Author:** ![boby4](https://forum.dangerousthings.com/letter_avatar_proxy/v4/letter/b/a698b9/32.png) [@boby4](https://forum.dangerousthings.com/u/boby4)\
**Post date:** [September 28, 2023, 8:44am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/9 "2023-09-28T08:44:15Z")

</div>

unfortunately not working I have changed Change  
this ( just move the # )  
PLATFORM=PM3RDV4  
#PLATFORM=PM3GENERIC

to this  
#PLATFORM=PM3RDV4  
PLATFORM=PM3GENERIC

and then make clean && make all

but when I do Make platform and I still Have RDV4 …

 ![Screen Shot 2023-09-28 at 19.39.49](https://dangerousthings-forum.b-cdn.net/original/3X/0/8/0850aa0563e415ba501c5c092d2f993a728b460b.png)  
 ![Screen Shot 2023-09-28 at 19.40.51](https://dangerousthings-forum.b-cdn.net/original/3X/3/7/375eb71162413795890fa7ed57c908dcc45fd81e.png)

---

<div class="post-metadata">

**Author:** ![boby4](https://forum.dangerousthings.com/letter_avatar_proxy/v4/letter/b/a698b9/32.png) [@boby4](https://forum.dangerousthings.com/u/boby4)\
**Post date:** [September 28, 2023, 9:31am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/10 "2023-09-28T09:31:11Z")

</div>

I went back To Terminal on my Mac

1. Press and hold button and plug into computer
2. continue to hold the button
3. run [pm3](https://dangerousthings.com/product/proxmark3-easy/)-flash-bootrom, two lights should stay now after successful flash
4. run [pm3](https://dangerousthings.com/product/proxmark3-easy/)-flash-all  
and it works But I really don’t Know why can’t I use it on ubuntu ???

---

<div class="post-metadata">

**Author:** ![amal](https://forum.dangerousthings.com/user_avatar/forum.dangerousthings.com/amal/32/37192_2.png) [@amal](https://forum.dangerousthings.com/u/amal)\
**Post date:** [September 28, 2023, 9:31am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/11 "2023-09-28T09:31:16Z")

</div>

It’s not “make platform” it’s just “make all” … you can see the compiler errors out saying “no rule to make target ‘platform’”

---

<div class="post-metadata">

**Author:** ![boby4](https://forum.dangerousthings.com/letter_avatar_proxy/v4/letter/b/a698b9/32.png) [@boby4](https://forum.dangerousthings.com/u/boby4)\
**Post date:** [September 28, 2023, 9:33am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/12 "2023-09-28T09:33:32Z")

</div>

I did make. make clean && make all and even sudo make install

and then Flash still the same message so then I went to Make plateform to see what was inserted .

---

<div class="post-metadata">

**Author:** ![boby4](https://forum.dangerousthings.com/letter_avatar_proxy/v4/letter/b/a698b9/32.png) [@boby4](https://forum.dangerousthings.com/u/boby4)\
**Post date:** [September 28, 2023, 9:35am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/13 "2023-09-28T09:35:49Z")

</div>

![Screen Shot 2023-09-28 at 20.34.35](https://dangerousthings-forum.b-cdn.net/original/3X/5/5/55f8dcb7d8149aebd01df5d630719102eb04c43e.png)

I will love to set it up on Ubuntu even if it is working on my Mac

---

<div class="post-metadata">

**Author:** ![amal](https://forum.dangerousthings.com/user_avatar/forum.dangerousthings.com/amal/32/37192_2.png) [@amal](https://forum.dangerousthings.com/u/amal)\
**Post date:** [September 28, 2023, 9:36am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/14 "2023-09-28T09:36:59Z")

</div>

![Screenshot_20230928-023613](https://dangerousthings-forum.b-cdn.net/original/3X/e/2/e2b7a5b171d3912886655796ab8975285705ae5f.png)

You appear to have edited the sample file.

---

<div class="post-metadata">

**Author:** ![amal](https://forum.dangerousthings.com/user_avatar/forum.dangerousthings.com/amal/32/37192_2.png) [@amal](https://forum.dangerousthings.com/u/amal)\
**Post date:** [September 28, 2023, 9:39am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/15 "2023-09-28T09:39:31Z")

</div>

> [@boby4](#):
>
> and even sudo make install

This might be a problem as well because now you have an “installed version” alongside your compiled output… future updates via git pull may compile but likely won’t get flashed. I found this out the hard way after hours of confusion I had to blast the whole thing and start over.

---

<div class="post-metadata">

**Author:** ![boby4](https://forum.dangerousthings.com/letter_avatar_proxy/v4/letter/b/a698b9/32.png) [@boby4](https://forum.dangerousthings.com/u/boby4)\
**Post date:** [September 28, 2023, 9:46am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/16 "2023-09-28T09:46:43Z")

</div>

It is the one [Pilgrimsmaster](https://forum.dangerousthings.com/u/Pilgrimsmaster) showed me

---

<div class="post-metadata">

**Author:** ![amal](https://forum.dangerousthings.com/user_avatar/forum.dangerousthings.com/amal/32/37192_2.png) [@amal](https://forum.dangerousthings.com/u/amal)\
**Post date:** [September 28, 2023, 9:50am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/17 "2023-09-28T09:50:47Z")

</div>

You’re supposed to copy the Makefile.platform.sample file to Makefile.platform and edit that. The reason for this seemingly extra step is so a git pull later on won’t overwrite your platform file.

If you’re not aware of this, it’s easy to assume you just edit the file that is there… but he did indicate the correct file.

 ![Screenshot_20230928-025106](https://dangerousthings-forum.b-cdn.net/original/3X/0/3/03f8f0712f8bdf448165f2404696e7f65468fbfb.jpeg)

… kinda. His notepad image does indicate the sample file haha

Edit… embarrassing… he got that image from my [guide](https://dngr.us/pm3-guide)… I will need to update that image.

---

<div class="post-metadata">

**Author:** ![Pilgrimsmaster](https://forum.dangerousthings.com/user_avatar/forum.dangerousthings.com/pilgrimsmaster/32/1179_2.png) [@Pilgrimsmaster](https://forum.dangerousthings.com/u/Pilgrimsmaster)\
**Post date:** [September 28, 2023, 10:03am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/18 "2023-09-28T10:03:28Z")

</div>

> [@amal](#):
>
> His notepad image does indicate the sample file haha
> 
> Edit… embarrassing… he got that image from my [guide](https://dngr.us/pm3-guide)

![shame](https://dangerousthings-forum.b-cdn.net/original/3X/d/4/d43937d7ec445b679c144dcf6090e780bdacc4b4.gif)

---

<div class="post-metadata">

**Author:** ![amal](https://forum.dangerousthings.com/user_avatar/forum.dangerousthings.com/amal/32/37192_2.png) [@amal](https://forum.dangerousthings.com/u/amal)\
**Post date:** [September 28, 2023, 9:04pm UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/19 "2023-09-28T21:04:25Z")

</div>

its fixed now 🙂

---

<div class="post-metadata">

**Author:** ![Pilgrimsmaster](https://forum.dangerousthings.com/user_avatar/forum.dangerousthings.com/pilgrimsmaster/32/1179_2.png) [@Pilgrimsmaster](https://forum.dangerousthings.com/u/Pilgrimsmaster)\
**Post date:** [September 28, 2023, 11:11pm UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/20 "2023-09-28T23:11:44Z")

</div>

> [@amal](#):
>
> its fixed now 🙂

Plagiarism here I come

 ![image](https://dangerousthings-forum.b-cdn.net/original/3X/2/c/2cfd021c3859cb015165dbefd337ea9dabe39203.png)

Gotta fix my completely original not 100% copied from Amal , [PM3 abriged setup guide](https://forum.dangerousthings.com/t/handy-dandy-tips-and-tricks/13041/14)

---

<div class="post-metadata">

**Author:** ![Hamspiced](https://forum.dangerousthings.com/user_avatar/forum.dangerousthings.com/hamspiced/32/26547_2.png) [@Hamspiced](https://forum.dangerousthings.com/u/Hamspiced)\
**Post date:** [September 28, 2023, 11:32pm UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/21 "2023-09-28T23:32:58Z")

</div>

Hey his guide got me running on osx with that file edit.

---

<div class="post-metadata">

**Author:** ![boby4](https://forum.dangerousthings.com/letter_avatar_proxy/v4/letter/b/a698b9/32.png) [@boby4](https://forum.dangerousthings.com/u/boby4)\
**Post date:** [October 2, 2023, 5:29am UTC](https://forum.dangerousthings.com/t/pm3ez-device-fw-mismatch-after-flashing-on-linux/19916/22 "2023-10-02T05:29:00Z")

</div>

Absolutely perfect thank you Amal and pilmgrimsmaster .  
With text editor and following your guide everything went smooth.

Once more thanks a lot .
