RfidResearchGroup / proxmark3

Iceman Fork - Proxmark3
http://www.icedev.se
GNU General Public License v3.0
4.08k stars 1.07k forks source link

Hitag detection fail on Android - RDV2 #1341

Closed ysard closed 3 years ago

ysard commented 3 years ago

Describe the bug Hitag detection works on computer but not on Android device.

To Reproduce Steps to reproduce the behavior:

  1. Use the last current commit of master branch (35ddebc) on both platforms.
  2. Follow the compilation procedure especially for Android. https://github.com/RfidResearchGroup/proxmark3/blob/master/doc/termux_notes.md#enable-the-driver

Note: There is a typo error in the command of this doc: pkg install make clang clang++ readline libc++ git The clang++ packages doesn't exist. In fact, clang package also installs clang++.

  1. make SKIPBT=1 PLATFORM=PM3GENERIC
  2. The command lf search reports "No known 125/134 kHz tags found!" on Android when the same tag (not moved) is detected on computer side. The command lf hitag reader --26 returns nothing on Android when the tag uid is found on computer side.

Android example:

[usb] pm3 --> lf hitag reader --26
[usb] pm3 --> lf search
[=] Checking for known tags...
[=]
[-] ⛔ No known 125/134 kHz tags found!
[=] Couldn't identify a chipset

PC example:

[usb] pm3 --> lf search
[=] Checking for known tags...
[=] 
[+]  UID: 126f436d

[+] Valid Hitag found!

[usb] pm3 --> lf hitag reader --26
[+]  UID: 126f436d

Expected behavior The Hitag tag should be detected on both platforms.

Desktop

Don't focus on the "dirty" flag of the git id on the computer. It's an old platform and I made some changes (gcc/ld flags in Makefiles) to successfully compile the client.

Also, I did not follow the project for 2 years and what was achieved during this time is enormous. Many thanks for all of this.

iceman1001 commented 3 years ago

Interesting, there is not differences in source for compilation on Android vs PC. So no real software issue. I would believe like you mentioned your android phone which doesn't manage to power the device properly but even that is inconclusive to your experienced issue. Try power it with a battery and retest on android.

Glad you noticed the massive improvements to the repository. It is truly a different experience today than two years ago. Nothings says thank you as much as a donation :)

Clang++ doesn't exists ? @doegox , that one is yours :)

doegox commented 3 years ago

clang++: done, thank you !

ysard commented 3 years ago

Hi thanks for the quick response, indeed, I should have tested with the battery of the rdv2, and it works now, with voltage levels similar to those on the computer.

Procedure:

So it's a power supply issue that is not on the proxmark side. I can't test on another phone or with another OTG cable for now, but it should be interesting to test on a USB-C phone instead of on a Micro-USB one.

iceman1001 commented 3 years ago

Ok, closing