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 2020-04-25 10:41:27

Rema78
Contributor
Registered: 2020-04-04
Posts: 20

Proxmark3 (RfidResearchGroup firmware does not work on Ubuntu 20.04)

Hello!

I reinstalled the operating system on Ubuntu 20.04
And I followed the instructions for installing and configuring my device.
But I got problems again.

1.Update
sudo apt-get update

2.Requirements
sudo apt-get install --no-install-recommends git ca-certificates build-essential pkg-config \
libreadline-dev gcc-arm-none-eabi libnewlib-dev qtbase5-dev

3.Clone Fork
git clone https://github.com/RfidResearchGroup/proxmark3.git

4.Change Directory
cd proxmark3

5.Get the latest commits
git pull

6.Install the blacklist rules and add user to dialout group.
sudo make udev

7.Restart
Restart Ubuntu

8.Enter proxmark folder
cd proxmark3

9.Create a file Makefile.platform in the root directory "proxmark3" of the repository:

# 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=PM3OTHER
# If you want more than one PLATFORM_EXTRAS option, separate them by spaces:
#PLATFORM_EXTRAS=BTADDON
#STANDALONE=LF_SAMYRUN
#STANDALONE=LF_ICEHID

10.Clean and Compile
make clean && make all

11.Check Connection
Once this is complete run the following comands to make sure the proxmark is being picked up by your computer.
sudo dmesg | grep -i usb

...
[   35.299395] usb 3-4: new full-speed USB device number 3 using xhci_hcd
[   37.215038] usb 3-4: new full-speed USB device number 4 using xhci_hcd
[   37.365603] usb 3-4: New USB device found, idVendor=9ac4, idProduct=4b8f, bcdDevice= 1.00
[   37.365608] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   37.365611] usb 3-4: Product: proxmark3
[   37.365613] usb 3-4: Manufacturer: proxmark.org
[   37.365615] usb 3-4: SerialNumber: iceman
[   37.391689] cdc_acm 3-4:1.0: ttyACM0: USB ACM device
[   37.393631] usbcore: registered new interface driver cdc_acm
[   37.393633] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[  107.440392] usb 3-4: USB disconnect, device number 4
[  150.000977] usb 3-4: new full-speed USB device number 5 using xhci_hcd
[  155.295229] usb 3-4: New USB device found, idVendor=9ac4, idProduct=4b8f, bcdDevice= 1.00
[  155.295234] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  155.295237] usb 3-4: Product: proxmark3
[  155.295239] usb 3-4: Manufacturer: proxmark.org
[  155.295241] usb 3-4: SerialNumber: iceman
[  155.296529] cdc_acm 3-4:1.0: ttyACM0: USB ACM device
[  252.417793] usb 3-4: USB disconnect, device number 5
[  323.289034] usb 3-4: new full-speed USB device number 7 using xhci_hcd
[  323.439763] usb 3-4: New USB device found, idVendor=9ac4, idProduct=4b8f, bcdDevice= 1.00
[  323.439769] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  323.439771] usb 3-4: Product: proxmark3
[  323.439774] usb 3-4: Manufacturer: proxmark.org
[  323.439775] usb 3-4: SerialNumber: iceman
[  323.441616] cdc_acm 3-4:1.0: ttyACM0: USB ACM device
[  329.844195] usb 3-4: USB disconnect, device number 7
[  378.848982] usb 3-4: new full-speed USB device number 9 using xhci_hcd
[  378.999687] usb 3-4: New USB device found, idVendor=9ac4, idProduct=4b8f, bcdDevice= 1.00
[  378.999692] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  378.999696] usb 3-4: Product: proxmark3
[  378.999698] usb 3-4: Manufacturer: proxmark.org
[  378.999701] usb 3-4: SerialNumber: iceman
[  379.000986] cdc_acm 3-4:1.0: ttyACM0: USB ACM device
[  511.453785] usb 3-4: USB disconnect, device number 9
[  516.036892] usb 3-4: new full-speed USB device number 10 using xhci_hcd
[  516.187787] usb 3-4: New USB device found, idVendor=9ac4, idProduct=4b8f, bcdDevice= 1.00
[  516.187792] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  516.187794] usb 3-4: Product: proxmark3
[  516.187797] usb 3-4: Manufacturer: proxmark.org
[  516.187799] usb 3-4: SerialNumber: iceman
[  516.189446] cdc_acm 3-4:1.0: ttyACM0: USB ACM device

12.Remove Modem Manager
sudo apt remove modemmanager

13.Restart
Restart Ubuntu

14.Enter proxmark folder
cd proxmark3

15.Flash the BOOTROM & FULLIMAGE
./pm3-flash-bootrom

administrator@adminpc:~/proxmark3$ ./pm3-flash-bootrom
[=] Waiting for Proxmark3 to appear...
[=] Session log /home/administrator/.proxmark3/log_20200425.txt
[+] About to use the following file:          
[+]     /home/administrator/proxmark3/client/../bootrom/obj/bootrom.elf          
[+] Waiting for Proxmark3 to appear on /dev/ttyACM0          
 ? ............................................................          
[!] ⚠️  ERROR: invalid serial port /dev/ttyACM0
          
[!!] ? Could not find Proxmark3 on /dev/ttyACM0.
          
[!!] ? Aborted on error.          

Have a nice day!          

./pm3-flash-fullimage

administrator@adminpc:~/proxmark3$ ./pm3-flash-fullimage
[=] Waiting for Proxmark3 to appear...
[=] Session log /home/administrator/.proxmark3/log_20200425.txt
[+] About to use the following file:          
[+]     /home/administrator/proxmark3/client/../armsrc/obj/fullimage.elf          
[+] Waiting for Proxmark3 to appear on /dev/ttyACM0          
 ? ............................................................          
[!] ⚠️  ERROR: invalid serial port /dev/ttyACM0
          
[!!] ? Could not find Proxmark3 on /dev/ttyACM0.
          
[!!] ? Aborted on error.          

Have a nice day!          

15.Run the client
./pm3

administrator@adminpc:~/proxmark3$ ./pm3
[=] Waiting for Proxmark3 to appear...
[=] Session log /home/administrator/.proxmark3/log_20200425.txt
[=] Using UART port /dev/ttyACM0          
          
[!] ⚠️  ERROR: invalid serial port /dev/ttyACM0

I really need your help in solving the problem!

Offline

#2 2020-04-27 01:59:19

mwalker
Moderator
Registered: 2019-05-11
Posts: 318

Re: Proxmark3 (RfidResearchGroup firmware does not work on Ubuntu 20.04)

While I am not an Ubuntu user (so there could be better ways), I downloaded 20.04 for a test.
I noticed the same error about the invalid serial port.
I checked the /dev folder and I could see the ttyACM0 there.
When I run via the sudo command, it seems to work.

Looking at the permissions of the ttyACM0 device

mwalker@ubuntu:~/pm3/proxmark3/client$ ls -l /dev/ttyA*
crw-rw---- 1 root dialout 166, 0 Apr 26 17:28 /dev/ttyACM0

We can see the owner is root and the group is dialout and everyone has no permissions.
So i added myself to the group and logged off and logged in again.

sudo adduser mwalker dialout

After that, i can use the proxmark without using sudo

Note: The above action is support by the install guide : https://github.com/Proxmark/proxmark3/wiki/Ubuntu-Linux

Offline

#3 2020-04-27 08:22:49

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

Re: Proxmark3 (RfidResearchGroup firmware does not work on Ubuntu 20.04)

If he did read and follow the instructions that shouldn't have been an issue
https://github.com/RfidResearchGroup/pr … devttyacm0

Offline

#4 2020-04-28 13:48:46

fazer
Contributor
Registered: 2019-03-02
Posts: 156

Re: Proxmark3 (RfidResearchGroup firmware does not work on Ubuntu 20.04)

Hello Rema78, check the doc as Iceman suggests, if after the same problem, try with minicom
sudo minicom -s
then A / enter then put / dev / ttyACM0
then save the configuration> proxmark3> enter
then exit minicom.> reboot.
try to see if connection is correct.
Have a good day.

Offline

Board footer

Powered by FluxBB