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.
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.
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
Nobody?
Do I really need to buy another machine?
Unfortunately I cannot have double boot.
Offline
did you flash the bootrom.elf ?
Offline
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
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?
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
Flash bootrom,
Flash fullimage,
try connecting to pm3
Offline
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?
Offline
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
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
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
No, thanks.
On it...
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
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
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
if you read the help for the command 'flasher'... it will make it clear for you
Offline
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
try running the command without any parameters...
Offline
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
And you still didn't read the command help properly, hint: "-b"
Offline
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
Try running from within the client directory
Offline
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
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"
[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!
Last edited by EuMS85 (2016-02-07 21:15:14)
Offline
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..
Last edited by Apt-Get (2016-02-08 21:47:38)
Offline
Thanks for the recap Apt-Get!!!
And compliments for the nickname
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
Offline
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
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
Unfortunately no, I don't have access to adding sections.
Offline
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