Proxmark3 community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2015-11-28 18:51:43

EuMS85
Contributor
Registered: 2013-12-23
Posts: 13

Proxmark3 on Mac OSX

I followed the instructions here:
https://github.com/Proxmark/proxmark3/wiki/OSX

And, everything went fine until, almost, the end!

The last command to work was this.

22. Update the FPGA and OS:
./client/flasher /dev/cu.usbmodem#### armsrc/obj/fullimage.elf


I did not keep the button pressed or anything.
But this was the output:

[== Undefined ==]
$ ./client/flasher /dev/cu.usbmodem1411 armsrc/obj/fullimage.elf
Loading ELF file 'armsrc/obj/fullimage.elf'...
Loading usable ELF segments:
0: V 0x00102000 P 0x00102000 (0x00025960->0x00025960) [R X] @0x94
1: V 0x00200000 P 0x00127960 (0x00001a44->0x00001a44) [RW ] @0x259f4
Note: Extending previous segment from 0x25960 to 0x273a4 bytes

Waiting for Proxmark to appear on /dev/cu.usbmodem1411. Found.
Entering bootloader...
(Press and release the button only to abort)
Waiting for Proxmark to reappear on /dev/cu.usbmodem1411.. Found.

Flashing...
Writing segments for file: armsrc/obj/fullimage.elf
 0x00102000..0x001293a3 [0x273a4 / 314 blocks].......................................................................................................................................................................................................................................................................................................................... OK

Resetting hardware...
All done.

Have a nice day!

Later on, I also tried with the button pressed during the whole time.
Differences, anyone?!

[== Undefined ==]
$ ./client/flasher /dev/cu.usbmodem1411 armsrc/obj/fullimage.elf
Loading ELF file 'armsrc/obj/fullimage.elf'...
Loading usable ELF segments:
0: V 0x00102000 P 0x00102000 (0x00025960->0x00025960) [R X] @0x94
1: V 0x00200000 P 0x00127960 (0x00001a44->0x00001a44) [RW ] @0x259f4
Note: Extending previous segment from 0x25960 to 0x273a4 bytes

Waiting for Proxmark to appear on /dev/cu.usbmodem1411. Found.

Flashing...
Writing segments for file: armsrc/obj/fullimage.elf
 0x00102000..0x001293a3 [0x273a4 / 314 blocks].......................................................................................................................................................................................................................................................................................................................... OK

Resetting hardware...
All done.

Have a nice day!

But then, when I unplugged the USB.
And then, of course, re-plugged it in.

The Yellow and Red LEDs stay on.
I used to use it on Ubuntu and never had a problem.

Any suggestions?!
What about pressing/not pressing that button?!

Thank you everybody!

Offline

#2 2015-12-02 13:48:33

EuMS85
Contributor
Registered: 2013-12-23
Posts: 13

Re: Proxmark3 on Mac OSX

Nobody?

Do I really need to buy another machine?
Unfortunately I cannot have double boot.

Offline

#3 2015-12-02 18:03:52

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: Proxmark3 on Mac OSX

did you flash the bootrom.elf ?

Offline

#4 2015-12-02 20:50:47

AntiCat
Contributor
Registered: 2010-01-01
Posts: 22

Re: Proxmark3 on Mac OSX

I'm on OS X 10.11 and it works fine. I know this is not very helpful. Just to say that is not an general OS X.
I noticed that sometimes I have to unplug the proxmark prior flashing it a second time.

Offline

#5 2015-12-05 21:09:17

EuMS85
Contributor
Registered: 2013-12-23
Posts: 13

Re: Proxmark3 on Mac OSX

marshmellow wrote:

did you flash the bootrom.elf ?

I did not, but because, following that "how to".
They wrote to skip those steps.

Precisely: "If your Proxmark3 is a HID device, you will need to upgrade it to CDC bootrom by continuing to Upgrading Proxmark3 from HID to CDC. If your Proxmark is a CDC device you can to jump to Compiling."

Should I try those steps anyway?


AntiCat wrote:

I'm on OS X 10.11 and it works fine. I know this is not very helpful. Just to say that is not an general OS X.
I noticed that sometimes I have to unplug the proxmark prior flashing it a second time.

I am on OS X 10.11.1
So, what am I doing wrong?

Offline

#6 2015-12-05 21:11:20

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Proxmark3 on Mac OSX

Flash bootrom,
Flash fullimage,
try connecting to pm3

Offline

#7 2015-12-05 21:45:56

EuMS85
Contributor
Registered: 2013-12-23
Posts: 13

Re: Proxmark3 on Mac OSX

iceman wrote:

Flash bootrom,
Flash fullimage,
try connecting to pm3

I am sorry to write again but I am a little lost.
Especially about if pushing or pushing the button, when.

Also, trying to flash the bootroom, this is what I get

[== Undefined ==]
$ ./flasher -b ../bootrom/obj/bootrom.elf 
Loading ELF file '../bootrom/obj/bootrom.elf'...
Loading usable ELF segments:
0: V 0x00100000 P 0x00100000 (0x00000200->0x00000200) [R X] @0x94
1: V 0x00200000 P 0x00100200 (0x00000b68->0x00000b68) [RWX] @0x298
Attempted to write bootloader but bootloader writes are not enabled
Error while loading ../bootrom/obj/bootrom.elf

Any hint? hmm

Offline

#8 2015-12-05 22:52:14

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Proxmark3 on Mac OSX

specify comport maybe?

and usually if needed,  unplug pm3,  press button, keep it pressed while turning on pm3,  flash bootrom,   when finish release button.   
Wait for the pm3 to restart,  then flash fullimage.    All of this is written serveral times on forum,  on wiki,  I get the feeling you have not done reading up.

Offline

#9 2015-12-05 23:03:57

EuMS85
Contributor
Registered: 2013-12-23
Posts: 13

Re: Proxmark3 on Mac OSX

iceman wrote:

specify comport maybe?

and usually if needed,  unplug pm3,  press button, keep it pressed while turning on pm3,  flash bootrom,   when finish release button.   
Wait for the pm3 to restart,  then flash fullimage.    All of this is written serveral times on forum,  on wiki,  I get the feeling you have not done reading up.

Can I ask more about the COMPORT, maybe?

I tried reading.
And following some guide.
If you read my first post.

The fullimage seemed flashed correctly?
Or you think that message is not right?

And what does it mean, in your experience, the 2 leds, red and orange, on, fixed?

Last edited by EuMS85 (2015-12-06 09:58:59)

Offline

#10 2015-12-05 23:32:10

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Proxmark3 on Mac OSX

for the new flasher you'll need to specifiy comport,
for the hid-flasher you don't.

,  looking at post1,  you're seem to be using the new flasher,  but post7 states you tried flashing bootrom with hid-flasher.

ref:  http://proxmark.org/forum/viewtopic.php?id=2222

For linux based systems, you'll need to edit and blacklist the pm3. 
http://www.proxmark.org/forum/viewtopic.php?id=2616

Did you search and read those threads?

Offline

#11 2015-12-06 09:56:01

EuMS85
Contributor
Registered: 2013-12-23
Posts: 13

Re: Proxmark3 on Mac OSX

No, thanks.

On it... wink

PS: I did not know about the difference in the flasher until I switched to this new Mac.
And I did not use a HID flasher... Where did I write I did?

Sorry about the COMPORT mistake.
I do not fully get it still. Reading more.

Last edited by EuMS85 (2015-12-06 10:01:58)

Offline

#12 2015-12-06 12:14:18

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Proxmark3 on Mac OSX

If your device had an really old firmware,  you'll need to use the hid-flasher.  correct.
But once you upgrade it,  you'll need to use the new flasher instead.

Since you are on a mac, you'll use a tty instead of comport (windows). 

In post1, you used a flasher without specifying a tty/comport, ergo old hid-flasher.

Offline

#13 2016-01-19 22:56:37

Apt-Get
Contributor
Registered: 2015-12-23
Posts: 111

Re: Proxmark3 on Mac OSX

Hey iceman. i thought this would work

./client/flasher /dev/cu.usbmodem1451 bootrom/obj/bootrom.elf


I get the same error.. only loading bootrom.. i can flash the os fine..

Loading ELF file 'bootrom/obj/bootrom.elf'...
Loading usable ELF segments:
0: V 0x00100000 P 0x00100000 (0x00000200->0x00000200) [R X] @0x94
1: V 0x00200000 P 0x00100200 (0x00000b68->0x00000b68) [RWX] @0x298
Attempted to write bootloader but bootloader writes are not enabled
Error while loading bootrom/obj/bootrom.elf

Offline

#14 2016-01-19 23:17:10

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Proxmark3 on Mac OSX

if you read the help for the command 'flasher'... it will make it clear for you

Offline

#15 2016-01-19 23:25:36

Apt-Get
Contributor
Registered: 2015-12-23
Posts: 111

Re: Proxmark3 on Mac OSX

sorry Iceman. i hate spoon-feeding newbies with things i know but everyone needs a mentor. thats how you learn.. lol

how do i access the flasher help file? i can't seem to figure this out.

I'm on OS X.

Offline

#16 2016-01-19 23:26:24

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Proxmark3 on Mac OSX

try running the command without any parameters...

Offline

#17 2016-01-19 23:45:56

Apt-Get
Contributor
Registered: 2015-12-23
Posts: 111

Re: Proxmark3 on Mac OSX

OK got that.
Is this not how i find my tty info?

ls /dev/{tty,cu}.*
/dev/cu.Bluetooth-Incoming-Port        /dev/tty.Bluetooth-Incoming-Port
/dev/cu.Bluetooth-Modem            /dev/tty.Bluetooth-Modem
/dev/cu.usbmodem1451            /dev/tty.usbmodem1451


When i run this command
./client/flasher /dev/tty.usbmodem1451 bootrom/obj/bootrom.elf
i still get the error.
Loading ELF file 'bootrom/obj/bootrom.elf'...
Loading usable ELF segments:
0: V 0x00100000 P 0x00100000 (0x00000200->0x00000200) [R X] @0x94
1: V 0x00200000 P 0x00100200 (0x00000b68->0x00000b68) [RWX] @0x298
Attempted to write bootloader but bootloader writes are not enabled
Error while loading bootrom/obj/bootrom.elf

Offline

#18 2016-01-20 09:55:34

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Proxmark3 on Mac OSX

And you still didn't read the command help properly,   hint:  "-b"

Offline

#19 2016-02-01 14:38:07

EuMS85
Contributor
Registered: 2013-12-23
Posts: 13

Re: Proxmark3 on Mac OSX

iceman wrote:

And you still didn't read the command help properly,   hint:  "-b"

I am trying to piece information together after - apparently - bricking the device.
After following, step by step, the wiki for OS X - linked in the first post also.

The proxmark stays with the red and yellow led on.
It does not seem to work.

I tried flashing the bootrom, the fullimage again.
I do not understand when things went wrong.

Following the last hints...

[== Undefined ==]
$ sudo ./client/flasher -b /dev/cu.usbmodem1411 bootrom/obj/bootrom.elf 
Loading ELF file '/dev/cu.usbmodem1411'...

If I keep the button pushed it gets stuck there.

When I release the button:

[== Undefined ==]
Error while reading ELF file header
Error while loading /dev/cu.usbmodem1411

Offline

#20 2016-02-01 14:52:56

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: Proxmark3 on Mac OSX

Try running from within the client directory

Offline

#21 2016-02-01 22:22:02

jump
Contributor
Registered: 2015-04-29
Posts: 57

Re: Proxmark3 on Mac OSX

I would rather say, try harder to read the help. Flasher expects arguments in a specific order.

$ ./client/flasher /dev/cu.usbmodem1411 -b bootrom/obj/bootrom.elf

should work better.

I don't think you need to run the command as root on OS X BTW.

Offline

#22 2016-02-07 20:56:39

EuMS85
Contributor
Registered: 2013-12-23
Posts: 13

Re: Proxmark3 on Mac OSX

jump wrote:

I would rather say, try harder to read the help. Flasher expects arguments in a specific order.

$ ./client/flasher /dev/cu.usbmodem1411 -b bootrom/obj/bootrom.elf

should work better.

I don't think you need to run the command as root on OS X BTW.

I tried as the last suggestions but it does not work on OS X
It does not give out an error now, but it keeps "waiting" sad

[EDIT] It seems like after different tries, I finally got the right port!
Now it seems working. Tomorrow I will test it better with some cards.

Thank you everybody for the patience - especially jump! smile

Last edited by EuMS85 (2016-02-07 21:15:14)

Offline

#23 2016-02-07 21:36:56

Apt-Get
Contributor
Registered: 2015-12-23
Posts: 111

Re: Proxmark3 on Mac OSX

FOR THE NEXT GUY.. HERE ARE THE SIMPLE COMMANDS FOR OSX with the CDC flasher.
I have Updated the Wiki and this is all documented here https://github.com/Proxmark/proxmark3/wiki/OSX

Get MacPorts installed: http://www.macports.org
Get Xcode installed: https://developer.apple.com/technologies/tools/

open terminal and it should default you to your home dir.. so whatever the name of your mac is usually..

Run these commands...


$sudo port install p7zip readline libusb libusb-compat perl5 wget qt4-mac arm-none-eabi-gcc pkgconfig

$ git clone https://github.com/Proxmark/proxmark3.git
$ cd proxmark3

$ make clean; make

Plug in your proxmark3 and wait 10 seconds..

$ ls /dev/cu*  <<<<<<MAKE NOTE OF THE USB MODEM NUMBER.####

replace #### with your usb modem number.

For Bootrom = $ ./client/flasher /dev/cu.usbmodem#### -b bootrom/obj/bootrom.elf 

For Firmware = $ ./client/flasher /dev/cu.usbmodem#### armsrc/obj/fullimage.elf


Have a nice day..
Launch the program like this.
Open terminal..

$ cd proxmark3/client

$ ./proxmark3 /dev/cu.usbmodem####  <<<< replace with your modem number..

if you want to be a real star you can open up text editor and paste the above command  and save it as pm3.command
put it on your desktop or wherever. you can even google how to change the icon if you want..

cool

Last edited by Apt-Get (2016-02-08 21:47:38)

Offline

#24 2016-02-08 07:11:06

EuMS85
Contributor
Registered: 2013-12-23
Posts: 13

Re: Proxmark3 on Mac OSX

Thanks for the recap Apt-Get!!!
And compliments for the nickname wink

Correct me if I am wrong, the only step
I missed was the bootrom flashing, right?

The confusion with it came from different
USB modem numbers in my case.

And damn TAB-autocomplete that didn't work.
After some plugging/unplugging, always with
the button pressed, finally I could see a new
device up on the comport and flashed it in 1 ms neutral

Offline

#25 2016-02-08 07:43:16

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Proxmark3 on Mac OSX

Nice done writing up the mac wiki part.

I would just like to point out that the recommendation is to run the client for its folder.
The reason for this is that you will have problems running lua-scripts if not.

Please update the wiki and your post here to avoid future problems.

like this:

$ cd proxmark3/client

$ ./proxmark3 /dev/cu.usbmodem####  <<<< replace with your modem number..

Offline

#26 2016-02-08 21:46:25

Apt-Get
Contributor
Registered: 2015-12-23
Posts: 111

Re: Proxmark3 on Mac OSX

iceman wrote:

Nice done writing up the mac wiki part.

I would just like to point out that the recommendation is to run the client for its folder.
The reason for this is that you will have problems running lua-scripts if not.

Please update the wiki and your post here to avoid future problems.

like this:

$ cd proxmark3/client

$ ./proxmark3 /dev/cu.usbmodem####  <<<< replace with your modem number..

Done! thanks Iceman!
Can you Make an OSX and Android Section? Ill update them with precompiled clients and we could move aspers android post out of the windows section.

Last edited by Apt-Get (2016-02-08 22:09:28)

Offline

#27 2016-02-09 07:28:40

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Proxmark3 on Mac OSX

Unfortunately no,  I don't have access to adding sections.

Offline

#28 2017-08-06 22:50:49

Navster
Contributor
Registered: 2017-07-09
Posts: 50

Re: Proxmark3 on Mac OSX

fyi on the mac the following commands did not work for me:
For Bootrom = $ ./client/flasher /dev/cu.usbmodem#### -b bootrom/obj/bootrom.elf
For Firmware = $ ./client/flasher /dev/cu.usbmodem#### armsrc/obj/fullimage.elf

kept getting no such directory

what did work was :
./client/flasher /dev/cu.usbmodemxxxx -b /Users/(your user directory)/proxmark3/bootrom/obj/bootrom.elf
./client/flasher /dev/cu.usbmodemxxxx /Users/(your user directory)/proxmark3/armsrc/obj/fullimage.elf

Offline

Board footer

Powered by FluxBB