proxmark3 icon indicating copy to clipboard operation
proxmark3 copied to clipboard

Blueshark not functioning as expected/not communicating with PM3

Open SimonSaysBoo opened this issue 2 years ago • 2 comments

Things to try before submitting bug report read the troubleshooting guide

Compilation problems Try compiling with verbose. make VERBOSE=1 with main makefile or make V=1 with cmake.

flashing problems Have you followed the instructions properly? ie, flashed bootrom seperately first if you are going from Offical repo to Iceman repo.

Describe the bug The PM3 is working as expected over USB. Blueshark addon will connect to Bluetooth but I cannot connect it to PM3 client via Bluetooth when it is connected to laptop.

All Github instruction followed - have tried the Brew 'with Blueshark' install, tried recompiling it from source, tried the ---HEAD with blueshark support. All same result.

Bluetooth device name is not as suggested in online instructions and appears funky. My Bluetooth device name is PM3_RDV4.0AT+ROLE=S (out of the box)

Screenshots Screenshot 2022-06-22 at 08 54 52 Screenshot 2022-06-22 at 08 54 37

Screenshots show Bluetooth device name and available serial ports before and after connecting PM3+Blueshark to laptop to demonstrate it is present.

Sample Terminal Output

Last login: Tue Jun 21 21:26:22 on ttys000
/Users/simongeorge/.zshrc:8: command not found: If
❯ ls /dev/tty.*
/dev/tty.BLTH                    /dev/tty.PM3_RDV40ATROLES
/dev/tty.Bluetooth-Incoming-Port
❯ ### ^^^ PM3 connected by Bluetooth - visible in serial ports ###
❯ 
❯ pm3
[=] Waiting for Proxmark3 to appear...
^C
❯ ### doesn't find it using pm3 wrapper ###
❯ 
❯ 
❯ proxmark3 -p /dev/tty.PM3_RDV40ATROLES
[=] Session log /Users/simongeorge/.proxmark3/logs/log_20220622.txt
[+] loaded from JSON file /Users/simongeorge/.proxmark3/preferences.json
[=] Using UART port /dev/tty.PM3_RDV40ATROLES
[!!] 🚨 ERROR: cannot communicate with the Proxmark

❯ ### doesn't find it by specifying serial port either ###
❯ 



**Desktop (please complete the following information):**
 - OS: MacOS Monterey 12.4

Debugging output

❯ pm3
[=] Session log /Users/simongeorge/.proxmark3/logs/log_20220622.txt
[+] loaded from JSON file /Users/simongeorge/.proxmark3/preferences.json
[=] Using UART port /dev/tty.usbmodemiceman1
[=] Communicating with PM3 over USB-CDC


  ██████╗ ███╗   ███╗█████╗ 
  ██╔══██╗████╗ ████║╚═══██╗
  ██████╔╝██╔████╔██║ ████╔╝
  ██╔═══╝ ██║╚██╔╝██║ ╚══██╗
  ██║     ██║ ╚═╝ ██║█████╔╝ 
  ╚═╝     ╚═╝     ╚═╝╚════╝     [ Iceman ❄️ ]

Release v4.14831 - Frostbit


 [ Proxmark3 RFID instrument ]

 [ CLIENT ]
  RRG/Iceman/master/v4.14831 2022-01-11 19:17:19
  compiled with............. Clang/LLVM Apple LLVM 13.1.6 (clang-1316.0.21.2.5)
  platform.................. OSX / x86_64
  Readline support.......... present
  QT GUI support............ present
  native BT support......... absent
  Python script support..... absent
  Lua SWIG support.......... present
  Python SWIG support....... absent

 [ PROXMARK3 ]
  device.................... RDV4
  firmware.................. RDV4
  external flash............ present
  smartcard reader.......... present
  FPC USART for BT add-on... present

 [ ARM ]
  bootrom: RRG/Iceman/master/v4.14831 2022-01-11 19:17:19
       os: RRG/Iceman/master/v4.14831 2022-01-11 19:17:19
  compiled with GCC 10.2.1 20201103 (release)

 [ FPGA ] 
  LF image built for 2s30vq100 on 2020-07-08 at 23:08:07
  HF image built for 2s30vq100 on 2020-07-08 at 23:08:19
  HF FeliCa image built for 2s30vq100 on 2020-07-08 at 23:08:30

 [ Hardware ]
  --= uC: AT91SAM7S512 Rev B
  --= Embedded Processor: ARM7TDMI
  --= Internal SRAM size: 64K bytes
  --= Architecture identifier: AT91SAM7Sxx Series
  --= Embedded flash memory 512K bytes ( 59% used )

[usb] pm3 --> hw version

 [ Proxmark3 RFID instrument ]

 [ CLIENT ]
  RRG/Iceman/master/v4.14831 2022-01-11 19:17:19
  compiled with............. Clang/LLVM Apple LLVM 13.1.6 (clang-1316.0.21.2.5)
  platform.................. OSX / x86_64
  Readline support.......... present
  QT GUI support............ present
  native BT support......... absent
  Python script support..... absent
  Lua SWIG support.......... present
  Python SWIG support....... absent

 [ PROXMARK3 ]
  device.................... RDV4
  firmware.................. RDV4
  external flash............ present
  smartcard reader.......... present
  FPC USART for BT add-on... present

 [ ARM ]
  bootrom: RRG/Iceman/master/v4.14831 2022-01-11 19:17:19
       os: RRG/Iceman/master/v4.14831 2022-01-11 19:17:19
  compiled with GCC 10.2.1 20201103 (release)

 [ FPGA ] 
  LF image built for 2s30vq100 on 2020-07-08 at 23:08:07
  HF image built for 2s30vq100 on 2020-07-08 at 23:08:19
  HF FeliCa image built for 2s30vq100 on 2020-07-08 at 23:08:30

 [ Hardware ]
  --= uC: AT91SAM7S512 Rev B
  --= Embedded Processor: ARM7TDMI
  --= Internal SRAM size: 64K bytes
  --= Architecture identifier: AT91SAM7Sxx Series
  --= Embedded flash memory 512K bytes ( 59% used )

[usb] pm3 --> hw status
[#] Memory
[#]   BigBuf_size............. 40408
[#]   Available memory........ 40408
[#] Tracing
[#]   tracing ................ 1
[#]   traceLen ............... 0
[#] Current FPGA image
[#]   mode.................... HF image built for 2s30vq100 on 2020-07-08 at 23:08:19
[#] Flash memory
[#]   Baudrate................ 24 MHz
[#]   Init.................... OK
[#]   Memory size............. 2 mbits / 256 kb
[#]   Unique ID............... 0xD5697C30977A5223
[#] Smart card module (ISO 7816)
[#]   version................. v3.10
[#] LF Sampling config
[#]   [q] divisor............. 95 ( 125.00 kHz )
[#]   [b] bits per sample..... 8
[#]   [d] decimation.......... 1
[#]   [a] averaging........... yes
[#]   [t] trigger threshold... 0
[#]   [s] samples to skip..... 0 
[#] 
[#] LF T55XX config
[#]            [r]               [a]   [b]   [c]   [d]   [e]   [f]   [g]
[#]            mode            |start|write|write|write| read|write|write
[#]                            | gap | gap |  0  |  1  | gap |  2  |  3
[#] ---------------------------+-----+-----+-----+-----+-----+-----+------
[#] fixed bit length (default) |  29 |  17 |  15 |  47 |  15 | N/A | N/A | 
[#]     long leading reference |N/A | N/A | N/A | N/A | N/A | N/A | N/A | 
[#]               leading zero |N/A | N/A | N/A | N/A | N/A | N/A | N/A | 
[#]    1 of 4 coding reference |N/A | N/A | N/A | N/A | N/A | N/A | N/A | 
[#] 
[#] HF 14a config
[#]   [a] Anticol override.... std    ( follow standard )
[#]   [b] BCC override........ std    ( follow standard )
[#]   [2] CL2 override........ std    ( follow standard )
[#]   [3] CL3 override........ std    ( follow standard )
[#]   [r] RATS override....... std    ( follow standard )
[#] Transfer Speed
[#]   Sending packets to client...
[#]   Time elapsed................... 500ms
[#]   Bytes transferred.............. 243712
[#]   Transfer Speed PM3 -> Client... 487424 bytes/s
[#] Various
[#]   Max stack usage......... 4088 / 8480 bytes
[#]   Debug log level......... 1 ( error )
[#]   ToSendMax............... -1
[#]   ToSend BUFFERSIZE....... 2308
[#]   Slow clock.............. 31817 Hz
[#] Installed StandAlone Mode
[#]   LF HID26 standalone - aka SamyRun (Samy Kamkar)
[#] Flash memory dictionary loaded
[#] 
[usb] pm3 --> data tune
[=] ---------- Reminder ------------------------
[=] `hw tune` doesn't actively tune your antennas,
[=] it's only informative.
[=] Measuring antenna characteristics, please wait...
 🕛   9
[=] ---------- LF Antenna ----------
[+] LF antenna: 76.14 V - 125.00 kHz
[+] LF antenna: 32.64 V - 134.83 kHz
[+] LF optimal: 76.14 V - 125.00 kHz
[+] Approx. Q factor (*): 12.5 by frequency bandwidth measurement
[+] Approx. Q factor (*): 13.3 by peak voltage measurement
[+] LF antenna is OK
[=] ---------- HF Antenna ----------
[+] HF antenna: 45.73 V - 13.56 MHz
[+] Approx. Q factor (*): 8.0 by peak voltage measurement
[+] HF antenna is OK

(*) Q factor must be measured without tag on the antenna

[+] Displaying LF tuning graph. Divisor 88 (blue) is 134.83 kHz, 95 (red) is 125.00 kHz.

[usb] pm3 --> 

SimonSaysBoo avatar Jun 22 '22 08:06 SimonSaysBoo

Remove the device from the known devices and re-pairing helped in my case

Einstein2150 avatar Jul 13 '22 10:07 Einstein2150

Is there any alternate solution to this? I ran into the same problem and re-pairing the device did not help. @SimonSaysBoo have you found a solution to this problem? I have the exact same setup and followed the same steps and of course ran into the same problem. Your help would be appreciated

ghost avatar Sep 09 '22 00:09 ghost

Seeing the same issue here. Removing and re-pairing did not help.

sCrunch021 avatar Oct 27 '22 23:10 sCrunch021

im having the same issue, removing and repairing did not help . Any thoughts?

navst3r avatar Mar 17 '23 12:03 navst3r

I am brand new at this and having the same problem. Looking at the hw version output for both myself and OP we seem to be missing native bt support for our clients.

TheMitch2 avatar May 21 '23 01:05 TheMitch2

Okay, I am assuming there are compiling options I missed, but there is a build at https://www.proxmarkbuilds.org/ that is marked for blueshark and contains the pm3 environment and the flash files necessary to get this working on a computer. Still no luck with the app, but that is a totally separate issue.

TheMitch2 avatar May 21 '23 22:05 TheMitch2

Following works for me on macOS:

Start proxmark with: proxmark3 -p /dev/tty.PM3_RDV40ATROLES -w

Then click on connect in the Bluetooth Menu. Sometimes I have to remove it in the Bluetooth Menu and repair.

I have installed it with Homebrew: brew install xquartz brew tap RfidResearchGroup/proxmark3 brew install --with-blueshark proxmark3

mik-at avatar May 21 '23 22:05 mik-at

its a shit shot of problems on Mac. I get it connected to bluetooth no problem. But won't connect to client. This device biggest PIA I've ever dealt with

MadPalmTree avatar Nov 13 '23 12:11 MadPalmTree

Since it seems to be a running issue, we would need some kind of documentation on how to make it run / how to handle different possible wrongs on Mac.

Who is up for it?

iceman1001 avatar Nov 17 '23 03:11 iceman1001

we would need some kind of documentation on how to make it run / how to handle different possible wrongs on Mac.

My comment 6 months ago explains how to get it running, if there is anything I can do that helps you, just tell me. Maybe someone can also test it and tell us if it helps them too.

I did not test on macOS Sonoma yet.

mik-at avatar Nov 17 '23 06:11 mik-at

./pm3 --list

It should give you that serial port, and the rest of your items is mentioned in the macOS guide.

iceman1001 avatar Nov 19 '23 10:11 iceman1001