Ubuntu Proxmark3 Easy startup

Hello I am new.
I am working on Ubuntu and I use proxmark3 easy (512).
I follow Proxmark3_Wiki and whase okay for Flash the BOOTROM, FULLIMAGE.

But when I try to start the client I have this issue.

🍎:~/Downloads/proxmark/proxmark3/client (master)
 ./proxmark3 /dev/ttyACM0
QSocketNotifier: Can only be used with threads started with QThread
proxmark3> hw status
Status command failed. USB Speed Test timed out          
proxmark3> 

The green led turn on when i send the command

$πŸ‘‰  ./proxmark3 /dev/ttyACM0

And i check the usb:

/Downloads/proxmark/proxmark3 (master)
$πŸ‘‰ [ -r /dev/ttyACM0 ] && [ -w /dev/ttyACM0 ] && echo ok
ok

What i can do ? :smiling_face_with_tear:

1 Like

Can you try running the ./pm3 script in the main PM3 folder instead of running the client directly?

2 Likes

I don’t have a pm3 in the main folder :frowning:

🍎:~/Downloads/proxmark/proxmark3 (master)
$πŸ‘‰ ./pm3
bash: ./pm3: No such file or directory
🍎:~/Downloads/proxmark/proxmark3 (master)
$πŸ‘‰ ls
armsrc        client         driver       liblua       proxmark3.log  traces
bootrom       common         fpga         LICENSE.txt  README.md      uart
CHANGELOG.md  COMPILING.txt  HACKING.txt  Makefile     recovery       zlib
CI            doc            include      pcb          tools
🍎:~/Downloads/proxmark/proxmark3 (master)

1 Like

Are you working with a current version of the client?

1 Like

how can I check this

1 Like

Did you clone it from the github as part of the starting steps?

If not, I’d personally recommend starting over, go to the directory you want to put your PM3 folder in and run git clone https://github.com/RfidResearchGroup/proxmark3.git

2 Likes

Oh yes I clone from github like this

git clone https://github.com/proxmark/proxmark3.git
cd proxmark3
git pull

Is there a big difference betwen

and
git clone GitHub - Proxmark/proxmark3: Proxmark 3
??

1 Like

The second one is the official firmware from the people who make the PM3, that’s almost certainly not the one you want

The unofficial β€œIceman” firmware is what people usually use, that’s what I linked to

I believe the Iceman firmware has more features and is more regularly developed

Here’s an install guide for it too, if it helps:

3 Likes

okay I will try to do this :slight_smile:
Thank

1 Like

I try this:

git clone https://github.com/RfidResearchGroup/proxmark3.git

okay

sudo dmesg | grep -i usb

okay β†’

[ 7442.053200] usb 3-4: New USB device found, idVendor=9ac4, idProduct=4b8f, bcdDevice= 0.01
[ 7442.053218] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7442.053224] usb 3-4: Product: proxmark3
[ 7442.053228] usb 3-4: Manufacturer: proxmark.org
[ 7442.057808] cdc_acm 3-4:1.0: ttyACM0: USB ACM device
[ 7442.986226] usb 3-4: USB disconnect, device number 47
[ 7443.837107] usb 3-4: new full-speed USB device number 48 using xhci_hcd
[ 7449.222354] usb 3-4: New USB device found, idVendor=9ac4, idProduct=4b8f, bcdDevice= 0.01
[ 7449.222366] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7449.222370] usb 3-4: Product: proxmark3
[ 7449.222373] usb 3-4: Manufacturer: proxmark.org
[ 7449.226651] cdc_acm 3-4:1.0: ttyACM0: USB ACM device

Test present

[ -r /dev/ttyACM0 ] && [ -w /dev/ttyACM0 ] && echo ok

okay
cd proxmark3
git pull
okay
Change the makefile for my device

cat Makefile.platform.sample 
# If you want to use it, copy this file as Makefile.platform and adjust it to your needs
# Run 'make PLATFORM=' to get an exhaustive list of possible parameters for this file.

#PLATFORM=PM3RDV4
#PLATFORM=PM3GENERIC
# If you want more than one PLATFORM_EXTRAS option, separate them by spaces:
#PLATFORM_EXTRAS=BTADDON
#PLATFORM_EXTRAS=FLASH
#PLATFORM_EXTRAS=SMARTCARD
#PLATFORM_EXTRAS=BTADDON FLASH
#STANDALONE=LF_SAMYRUN

# Uncomment the line below to set the correct LED order on board Proxmark3 Easy
# Only available with PLATFORM=PM3GENERIC
#LED_ORDER=PM3EASY

# Uncomment the lines below in order to make a 256KB image
# and comment out the lines above

PLATFORM=PM3GENERIC
PLATFORM_SIZE=512
#STANDALONE=
#SKIP_HITAG=1
#SKIP_FELICA=1
#SKIP_HFPLOT=1`Preformatted text`
#SKIP_NFCBARCODE=1
#SKIP_ZX8211=1
#SKIP_LF=1

# To accelerate repetitive compilations:
# Install package "ccache" -> Debian/Ubuntu: /usr/lib/ccache, Fedora/CentOS/RHEL: /usr/lib64/ccache
# And uncomment the following line
#export PATH := /usr/lib64/ccache:/usr/lib/ccache:${PATH}

# To install with sudo:
INSTALLSUDO=sudo

Then the make okay no probleme

make clean && make -j

okay

proxmark3 /dev/ttyACM0 --flash --unlock-bootloader --image bootrom.elf --image fullimage.elf

nop

proxmark3 /dev/ttyACM0 --flash --unlock-bootloader --image bootrom.elf --image fullimage.elf
[=] Session log /home/ddd/.proxmark3/logs/log_20240619111046.txt
[+] About to use the following files:
[+]    /usr/local/bin/../share/proxmark3/firmware/bootrom.elf
[+]    /usr/local/bin/../share/proxmark3/firmware/fullimage.elf
[+] Loading ELF file /usr/local/bin/../share/proxmark3/firmware/bootrom.elf
[+] ELF file version Iceman/master/v4.18589-40-g2a31079e7-dirty-suspect 2024-06-19 11:33:53 f1dc6862f

[+] Loading ELF file /usr/local/bin/../share/proxmark3/firmware/fullimage.elf
[+] ELF file version Iceman/master/v4.18589-40-g2a31079e7-dirty-suspect 2024-06-19 11:34:02 f1dc6862f

[+] Waiting for Proxmark3 to appear on /dev/ttyACM0
 πŸ•˜  28 found
[!!] 🚨 ====================== OBS ! ===========================================
[!!] 🚨 Note: Your bootloader does not understand the new CMD_BL_VERSION command
[!!] 🚨 It is recommended that you first update your bootloader alone,
[!!] 🚨 reboot the Proxmark3 then only update the main firmware


[!!] 🚨 ------------- Follow these steps -------------------

[!!] 🚨  1)   ./pm3-flash-bootrom
[!!] 🚨  2)   ./pm3-flash-fullimage
[!!] 🚨  3)   ./pm3

[=] ---------------------------------------------------

[=] Available memory on this board: UNKNOWN

[!!] 🚨 ====================== OBS ! ======================================
[!!] 🚨 Note: Your bootloader does not understand the new CHIP_INFO command
[=] Permitted flash range: 0x00100000-0x00140000
[+] Loading usable ELF segments:
[+]    0: V 0x00100000 P 0x00100000 (0x00000200->0x00000200) [R X] @0x94
[+]    1: V 0x00200000 P 0x00100200 (0x000014c0->0x000014c0) [R X] @0x298

[+] Loading usable ELF segments:
[+]    1: V 0x00102000 P 0x00102000 (0x00055b84->0x00055b84) [R X] @0xb8
[!!] 🚨 Error: PHDR is not contained in Flash
[!!] 🚨 Firmware is probably too big for your device
[!!] 🚨 See README.md for information on compiling for platforms with 256KB of flash memory
[!] ⚠️  The flashing procedure failed, follow the suggested steps!
[+] All done

[=] Have a nice day!

But a see the led turn one (orange, green)

Try ./pm3-flash-all

And if that doesn’t work try:

./pm3-flash-bootrom
And then
./pm3-flash-fullimage

3 Likes

Good new :slight_smile:
./pm3-flash-all β†’ not work
./pm3-flash-bootrom β†’ Okay but fast :sweat_smile:
./pm3-flash-fullimage β†’ Okay

🍎:~/Downloads/proxmark/Dange/proxmark3 (master)
$πŸ‘‰  ./pm3-flash-all
[=] Session log /home/ddd/.proxmark3/logs/log_20240619114033.txt
[+] About to use the following files:
[+]    /home/mima/Downloads/proxmark/Dange/proxmark3/client/../bootrom/obj/bootrom.elf
[+]    /home/mima/Downloads/proxmark/Dange/proxmark3/client/../armsrc/obj/fullimage.elf
[+] Loading ELF file /home/mima/Downloads/proxmark/Dange/proxmark3/client/../bootrom/obj/bootrom.elf
[+] ELF file version Iceman/master/v4.18589-40-g2a31079e7-dirty-suspect 2024-06-19 13:09:22 f1dc6862f

[+] Loading ELF file /home/mima/Downloads/proxmark/Dange/proxmark3/client/../armsrc/obj/fullimage.elf
[+] ELF file version Iceman/master/v4.18589-40-g2a31079e7-dirty-suspect 2024-06-19 13:09:31 f1dc6862f

[+] Waiting for Proxmark3 to appear on /dev/ttyACM0
 πŸ•‘  59 found
[+] Entering bootloader...
[+] (Press and release the button only to abort)
[+] Waiting for Proxmark3 to appear on /dev/ttyACM0
 πŸ•‘  49 found
[!!] 🚨 ====================== OBS ! ===========================================
[!!] 🚨 Note: Your bootloader does not understand the new CMD_BL_VERSION command
[!!] 🚨 It is recommended that you first update your bootloader alone,
[!!] 🚨 reboot the Proxmark3 then only update the main firmware


[!!] 🚨 ------------- Follow these steps -------------------

[!!] 🚨  1)   ./pm3-flash-bootrom
[!!] 🚨  2)   ./pm3-flash-fullimage
[!!] 🚨  3)   ./pm3

[=] ---------------------------------------------------

[=] Available memory on this board: UNKNOWN

[!!] 🚨 ====================== OBS ! ======================================
[!!] 🚨 Note: Your bootloader does not understand the new CHIP_INFO command
[=] Permitted flash range: 0x00100000-0x00140000
[+] Loading usable ELF segments:
[+]    0: V 0x00100000 P 0x00100000 (0x00000200->0x00000200) [R X] @0x94
[+]    1: V 0x00200000 P 0x00100200 (0x000014c0->0x000014c0) [R X] @0x298

[+] Loading usable ELF segments:
[+]    1: V 0x00102000 P 0x00102000 (0x00055b84->0x00055b84) [R X] @0xb8
[!!] 🚨 Error: PHDR is not contained in Flash
[!!] 🚨 Firmware is probably too big for your device
[!!] 🚨 See README.md for information on compiling for platforms with 256KB of flash memory
[!] ⚠️  The flashing procedure failed, follow the suggested steps!
[+] All done

[=] Have a nice day!

🍎:~/Downloads/proxmark/Dange/proxmark3 (master)
$πŸ‘‰ ./pm3-flash-bootrom
[=] Session log /home/dddd/.proxmark3/logs/log_20240619114052.txt
[+] About to use the following file:
[+]    /home/mima/Downloads/proxmark/Dange/proxmark3/client/../bootrom/obj/bootrom.elf
[+] Loading ELF file /home/mima/Downloads/proxmark/Dange/proxmark3/client/../bootrom/obj/bootrom.elf
[+] ELF file version Iceman/master/v4.18589-40-g2a31079e7-dirty-suspect 2024-06-19 13:09:22 f1dc6862f

[+] Waiting for Proxmark3 to appear on /dev/ttyACM0
 πŸ•‘  59 found
[+] Entering bootloader...
[+] (Press and release the button only to abort)
[+] Waiting for Proxmark3 to appear on /dev/ttyACM0
 πŸ•’  48 found
[!!] 🚨 ====================== OBS ! ===========================================
[!!] 🚨 Note: Your bootloader does not understand the new CMD_BL_VERSION command
[!!] 🚨 It is recommended that you first update your bootloader alone,
[!!] 🚨 reboot the Proxmark3 then only update the main firmware


[!!] 🚨 ------------- Follow these steps -------------------

[!!] 🚨  1)   ./pm3-flash-bootrom
[!!] 🚨  2)   ./pm3-flash-fullimage
[!!] 🚨  3)   ./pm3

[=] ---------------------------------------------------

[=] Available memory on this board: UNKNOWN

[!!] 🚨 ====================== OBS ! ======================================
[!!] 🚨 Note: Your bootloader does not understand the new CHIP_INFO command
[=] Permitted flash range: 0x00100000-0x00140000
[+] Loading usable ELF segments:
[+]    0: V 0x00100000 P 0x00100000 (0x00000200->0x00000200) [R X] @0x94
[+]    1: V 0x00200000 P 0x00100200 (0x000014c0->0x000014c0) [R X] @0x298

[+] Flashing...
[+] Writing segments for file: /home/mima/Downloads/proxmark/Dange/proxmark3/client/../bootrom/obj/bootrom.elf
[+]  0x00100000..0x001001ff [0x200 / 1 blocks]
. ok
[+]  0x00100200..0x001016bf [0x14c0 / 11 blocks]
........... ok

[+] All done

[=] Have a nice day!

🍎:~/Downloads/proxmark/Dange/proxmark3 (master)
$πŸ‘‰ ./pm3-flash-fullimage
[=] Session log /home/dddd/.proxmark3/logs/log_20240619114115.txt
[+] About to use the following file:
[+]    /home/mima/Downloads/proxmark/Dange/proxmark3/client/../armsrc/obj/fullimage.elf
[+] Loading ELF file /home/mima/Downloads/proxmark/Dange/proxmark3/client/../armsrc/obj/fullimage.elf
[+] ELF file version Iceman/master/v4.18589-40-g2a31079e7-dirty-suspect 2024-06-19 13:09:31 f1dc6862f

[+] Waiting for Proxmark3 to appear on /dev/ttyACM0
 πŸ•‘  59 found
[+] Entering bootloader...
[+] (Press and release the button only to abort)
[+] Waiting for Proxmark3 to appear on /dev/ttyACM0
 πŸ•“  59 found
[=] Available memory on this board: 512K bytes

[=] Permitted flash range: 0x00102000-0x00180000
[+] Loading usable ELF segments:
[+]    1: V 0x00102000 P 0x00102000 (0x00055b84->0x00055b84) [R X] @0xb8
[+]    2: V 0x00200000 P 0x00157b84 (0x00001c3d->0x00001c3d) [R X] @0x55c40
[=] Note: Extending previous segment from 0x55b84 to 0x577c1 bytes

[+] Flashing...
[+] Writing segments for file: /home/mima/Downloads/proxmark/Dange/proxmark3/client/../armsrc/obj/fullimage.elf
[+]  0x00102000..0x001597c0 [0x577c1 / 700 blocks]
...................................................................
        @@@  @@@@@@@ @@@@@@@@ @@@@@@@@@@   @@@@@@  @@@  @@@
        @@! !@@      @@!      @@! @@! @@! @@!  @@@ @@!@!@@@
        !!@ !@!      @!!!:!   @!! !!@ @!@ @!@!@!@! @!@@!!@!
        !!: :!!      !!:      !!:     !!: !!:  !!! !!:  !!!
        :    :: :: : : :: :::  :      :    :   : : ::    : 
        .    .. .. . . .. ...  .      .    .   . . ..    . 
...................................................................
...................................................................
...................................................................
........................................................... ok

[+] All done

[=] Have a nice day!


2 Likes