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.
Did you "install" the cdc module ?
In my case, I am getting : "cdc-acm.ko invalid module format" in I9100 rooted, not kernel modified.
Offline
Did you "install" the cdc module ?
In my case, I am getting : "cdc-acm.ko invalid module format" in I9100 rooted, not kernel modified.
You are using a cdc-acm.ko module compiled from source code not valid for your actual kernel (built from different device source code or the correct source code for your device but different kernel version/revision compared to the actual one installed in your device).
If I well remember using I9000 you also need to externally power the pm3.
Last edited by asper (2014-04-30 13:15:48)
Offline
Did you "install" the cdc module ?
In my case, I am getting : "cdc-acm.ko invalid module format" in I9100 rooted, not kernel modified.
Nope,my phone already exist ttyACM0,ttyACM2,ttyACM3 before "install" cdc module...
Then I connect PM3 ,there isn't add any more ttyACM port...
So sad
Offline
app_o1 wrote:Did you "install" the cdc module ?
In my case, I am getting : "cdc-acm.ko invalid module format" in I9100 rooted, not kernel modified.
You are using a cdc-acm.ko module compiled from source code not valid for your actual kernel (built from different device source code or the correct source code for your device but different kernel version/revision compared to the actual one installed in your device).
If I well remember using I9000 you also need to externally power the pm3.
I've another phone , Nexus S (i9020),Android 4.3.1 , CyanogenMod 10.2.1-crespo , how to find my suitable cdc-acm.ko module ?
Offline
I'm getting error:
CANNOT LINK EXECUTABLE: empty/missing DT_HASH in ./proxmark3
Have you used --hash-style=sysv for compiling?
I cannot get the last source code , the link is expired
Offline
To be able to use android pm3 client with the latest sources you need a new patch that officially I do not support (for now) because of major changes that are actually under development (openssl crypto stuff in particular). You can find my Android latest patch here (copy/overwrite actual source code with the files in this archive).
Again, i do not offer support for this.
Offline
Hi Asper,
Fantastic work! Sorry for not replying on the other thread, I have stopped all my proxmark-related activities and I was not monitoring this forum. Some time ago I was trying to get my project to work with the new USB interface (/dev/ttyACM) but I lost interest. Also the USB communications with my Android device and the old interface were not very stable. So congratulations for getting the new USB interface to work. Is everything stable now?
By the way I cannot find your source code in any of the links above, just the compiled binaries. Would you have a link to the source code in GitHub or similar? GitHub is very good for collaborating with other developers, and you never know when someone finds your project and decides to contribute!
Thanks,
Marc.
Offline
Yes it is all VERY stable under android; anyway is still quite "experimental" because new pm3 functions (including DES/3DES) are new so I think this is the reason why the patch is not "committed" to github or something like that. Anyway all that was not possible without jonor contribute (and you code of course) ! So thank you for answering-back
Here it is (the re-uploaded patch file).
Last edited by asper (2014-07-04 09:06:47)
Offline
I just got my PM3 and I really need some one to help me with stand alone mode can you help me please
And if I have to pay for you time cause I really need this to work
If we can EMAIL SOUTHWESTSURPLUS@ ymail .com
Or my phone number # 480-818-7996
Best regards
Bobby.M
Offline
Oh gorgeous work, asper marcv81 jonor you awesome! when I have finished reading all of posts, Iam pretty sure I miss this very important beta version, I really I don't want to stay at libusb all the time, pls, if that is possible that you are willing to email me the proxdroid at CDC, my address is 192719@qq.com.
Thank you so much.
Kevin.K
Offline
Added r0.0.6 to the 1st post.
Last edited by asper (2015-01-01 18:07:44)
Offline
Added r.0.0.7 to the 1st post.
Please do not use this thread for feedbacks or bugs, search the forum for the appropriate section. Thank you !
Offline
Updated the 1st post with the new rev 2.0.0 !
Many changes since last compiled 0.0.7, mainly in the LF front but not only !
Many kudos to Piwi, Holiman, Iceman and Marshmellow for the new code !
Offline
Hello, there are two problems that I have encountered.
1) I cannot find the source code of the project Proxdroid on the first page.(the link in unclickable...)
2) Android 5.0+ requires a PIE build to function, and because of I cannot find the source code, I cannot build it with PIE...
Offline
1) Link (it's not the full source, just the patches to apply to the main pm3 source)
2) Never compiled for 5.0; try to compile with the sources provided and let me know
Offline
Successfully complied on Android 5.0+. After several tests I found that we can enable PIE Compile simply by adding these two lines of code into "Android.mk" (Proxmark3 Execute file part)!
"
LOCAL_CFLAGS += -pie -fPIE
LOCAL_LDFLAGS += -pie -fPIE
"
Everything seems function perfectly except when I am trying to dump a card, I got a error:
"
can't create log files, logging disabled.
can't create file name "dump.bin"
"
Let me know if you need the Complied library and execute files. My email: " J@metadata.cc "
Offline
Thank you for your support!
You must enable write permissions access to the proxmark executable folder otherwise android cannot write in log or files in that folder.
Does adding the above lines make errors compiling for android versions below 5.x ?
Offline
Yes, it should be. Android 5.0- should also function with pie execute files, since only android 5.x have forced developer to compile apps with pie.
Offline
@asper
Can you build new version compatible with Android 5.* ?
I have Sony Z3 rooted with 5.0.2 and have a mistake "u0_a304@D6633:/system/bin $ proxmark3
error: only position independent executables (PIE) are supported." Can you help me?
Offline
I can try, let's see the forthcoming new version as soon as iso14443bwil be fixed.
Offline
thanks. it would be perfect.
I'll wait
Offline
Hey,
I finally got proxdroid compiling by using the patch and a checkout of the proxmark3 git repo, but there were a lot of errors of missing libraries etc that I had to rip out to get it compiled.
For starters, libreadline is referenced from the Android.mk file, but the source is not in the patch, nor in the github repo. Fixed it and termcap from other sources. Also got a lot of errors like
/tmp$ mkdir pd
/tmp$ cd pd
/tmp/pd$ git clone https://github.com/Proxmark/proxmark3.git
Cloning into 'proxmark3'...
remote: Counting objects: 7602, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 7602 (delta 2), reused 0 (delta 0), pack-reused 7592
Receiving objects: 100% (7602/7602), 10.06 MiB | 7.13 MiB/s, done.
Resolving deltas: 100% (5643/5643), done.
Checking connectivity... done.
/tmp/pd$ mkdir trunk
/tmp/pd$ mv proxmark3 trunk
/tmp/pd$ unzip /tmp/patch.zip
.../tmp/pd$ mv jni trunk/
/tmp/pd$ cd trunk/
/tmp/pd/trunk$ rsync -av /tmp/readline .
...
/tmp/pd/trunk$ rsync -av /tmp/termcap .
...
/tmp/pd/trunk$ ndk-build
[armeabi] Prebuilt : libcrypto.so <= jni/../openssl/
[armeabi] Install : libcrypto.so => libs/armeabi/libcrypto.so
[armeabi] Compile thumb : proxmark3 <= crapto1.c
...
[armeabi] Compile thumb : readline <= mbutil.c
[armeabi] Compile thumb : readline <= tilde.c
[armeabi] SharedLibrary : libreadline.so
[armeabi] Executable : proxmark3
jni/../proxmark3/client/graph.c:146: error: undefined reference to 'DetectASKClock'
jni/../proxmark3/client/graph.c:166: error: undefined reference to 'countFC'
jni/../proxmark3/client/graph.c:191: error: undefined reference to 'DetectPSKClock'
...
jni/../proxmark3/client/cmdhficlass.c:331: error: undefined reference to 'diversifyKey'
jni/../proxmark3/client/cmdhficlass.c:333: error: undefined reference to 'printvar'
jni/../proxmark3/client/cmdhficlass.c:335: error: undefined reference to 'doMAC'
jni/../proxmark3/client/cmdhficlass.c:379: error: undefined reference to 'saveFile'
jni/../proxmark3/client/cmdhficlass.c:664: error: undefined reference to 'bruteforceFileNoKeys'
jni/../proxmark3/client/cmdhficlass.c:672: error: undefined reference to 'testCipherUtils'
...
jni/../proxmark3/client/cmdhficlass.c:534: error: undefined reference to 'des3_set2key_dec'
jni/../proxmark3/client/cmdhficlass.c:550: error: undefined reference to 'des3_crypt_ecb'
jni/../proxmark3/client/cmdhficlass.c:558: error: undefined reference to 'saveFile'
jni/../proxmark3/client/cmdlf.c:887: error: undefined reference to 'psk2TOpsk1'
jni/../proxmark3/client/cmdhfmfu.c:1711: error: undefined reference to 'des3_set2key_enc'
jni/../proxmark3/client/cmdhfmfu.c:1713: error: undefined reference to 'des3_crypt_cbc'
jni/../proxmark3/client/cmdhfmfu.c:1749: error: undefined reference to 'des3_set3key_enc'
jni/../proxmark3/client/cmdhfmfu.c:1751: error: undefined reference to 'des3_crypt_cbc'
jni/../proxmark3/client/cmdlft55xx.c:301: error: undefined reference to 'psk1TOpsk2'
...
jni/../proxmark3/client/scripting.c:286: error: undefined reference to 'aes_crypt_ecb'
jni/../proxmark3/client/scripting.c:257: error: undefined reference to 'aes_init'
jni/../proxmark3/client/scripting.c:258: error: undefined reference to 'aes_setkey_dec'
jni/../proxmark3/client/scripting.c:259: error: undefined reference to 'aes_crypt_cbc'
collect2: error: ld returned 1 exit status
make: *** [obj/local/armeabi/proxmark3] Error 1
Some of these symbols are internal to proxmark, some are external to openssl, which makes me think it's a NDK issue. I tried the NDK r9d and r10e.
In the end I ended up ripping out scripting, and the other stuff that depended on openssl (e.g. iClass). Then it compiled, but with missing functionality of course.
Any ideas? Jonathan, did it compile cleanly for you?
Offline
Hey,
I finally got proxdroid compiling by using the patch and a checkout of the proxmark3 git repo, but there were a lot of errors of missing libraries etc that I had to rip out to get it compiled.
For starters, libreadline is referenced from the Android.mk file, but the source is not in the patch, nor in the github repo. Fixed it and termcap from other sources. Also got a lot of errors,some of these symbols are internal to proxmark, some are external to openssl, which makes me think it's a NDK issue. I tried the NDK r9d and r10e.
In the end I ended up ripping out scripting, and the other stuff that depended on openssl (e.g. iClass). Then it compiled, but with missing functionality of course.
Any ideas? Jonathan, did it compile cleanly for you?
Offline
Hey,
I finally got proxdroid compiling by using the patch and a checkout of the proxmark3 git repo, but there were a lot of errors of missing libraries etc that I had to rip out to get it compiled.
For starters, libreadline is referenced from the Android.mk file, but the source is not in the patch, nor in the github repo. Fixed it and termcap from other sources. Also got a lot of errors like
/tmp$ mkdir pd
/tmp$ cd pd
/tmp/pd$ git clone https://github.com/Proxmark/proxmark3.git
Cloning into 'proxmark3'...
remote: Counting objects: 7602, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 7602 (delta 2), reused 0 (delta 0), pack-reused 7592
Receiving objects: 100% (7602/7602), 10.06 MiB | 7.13 MiB/s, done.
Resolving deltas: 100% (5643/5643), done.
Checking connectivity... done.
/tmp/pd$ mkdir trunk
/tmp/pd$ mv proxmark3 trunk
/tmp/pd$ unzip /tmp/patch.zip
.../tmp/pd$ mv jni trunk/
/tmp/pd$ cd trunk/
/tmp/pd/trunk$ rsync -av /tmp/readline .
...
/tmp/pd/trunk$ rsync -av /tmp/termcap .
...
/tmp/pd/trunk$ ndk-build
[armeabi] Prebuilt : libcrypto.so <= jni/../openssl/
[armeabi] Install : libcrypto.so => libs/armeabi/libcrypto.so
[armeabi] Compile thumb : proxmark3 <= crapto1.c
...
[armeabi] Compile thumb : readline <= mbutil.c
[armeabi] Compile thumb : readline <= tilde.c
[armeabi] SharedLibrary : libreadline.so
[armeabi] Executable : proxmark3
jni/../proxmark3/client/graph.c:146: error: undefined reference to 'DetectASKClock'
jni/../proxmark3/client/graph.c:166: error: undefined reference to 'countFC'
jni/../proxmark3/client/graph.c:191: error: undefined reference to 'DetectPSKClock'
...
jni/../proxmark3/client/cmdhficlass.c:331: error: undefined reference to 'diversifyKey'
jni/../proxmark3/client/cmdhficlass.c:333: error: undefined reference to 'printvar'
jni/../proxmark3/client/cmdhficlass.c:335: error: undefined reference to 'doMAC'
jni/../proxmark3/client/cmdhficlass.c:379: error: undefined reference to 'saveFile'
jni/../proxmark3/client/cmdhficlass.c:664: error: undefined reference to 'bruteforceFileNoKeys'
jni/../proxmark3/client/cmdhficlass.c:672: error: undefined reference to 'testCipherUtils'
...
jni/../proxmark3/client/cmdhficlass.c:534: error: undefined reference to 'des3_set2key_dec'
jni/../proxmark3/client/cmdhficlass.c:550: error: undefined reference to 'des3_crypt_ecb'
jni/../proxmark3/client/cmdhficlass.c:558: error: undefined reference to 'saveFile'
jni/../proxmark3/client/cmdlf.c:887: error: undefined reference to 'psk2TOpsk1'
jni/../proxmark3/client/cmdhfmfu.c:1711: error: undefined reference to 'des3_set2key_enc'
jni/../proxmark3/client/cmdhfmfu.c:1713: error: undefined reference to 'des3_crypt_cbc'
jni/../proxmark3/client/cmdhfmfu.c:1749: error: undefined reference to 'des3_set3key_enc'
jni/../proxmark3/client/cmdhfmfu.c:1751: error: undefined reference to 'des3_crypt_cbc'
jni/../proxmark3/client/cmdlft55xx.c:301: error: undefined reference to 'psk1TOpsk2'
...
jni/../proxmark3/client/scripting.c:286: error: undefined reference to 'aes_crypt_ecb'
jni/../proxmark3/client/scripting.c:257: error: undefined reference to 'aes_init'
jni/../proxmark3/client/scripting.c:258: error: undefined reference to 'aes_setkey_dec'
jni/../proxmark3/client/scripting.c:259: error: undefined reference to 'aes_crypt_cbc'
collect2: error: ld returned 1 exit status
make: *** [obj/local/armeabi/proxmark3] Error 1
Some of these symbols are internal to proxmark, some are external to openssl, which makes me think it's a NDK issue. I tried the NDK r9d and r10e.
In the end I ended up ripping out scripting, and the other stuff that depended on openssl (e.g. iClass). Then it compiled, but with missing functionality of course.
Any ideas? Jonathan, did it compile cleanly for you?
Offline
My by @asper know somethink?
Offline
Proxdroid-bin-834 not found!!!!!
Offline
Test post
Offline
Strange, openssl depencency was taken away last winter. We use polarssl nowdays in PM3..
Offline
@asper I'm looking for the proxdroid SVN834.Can you sent this software to me?Thx
Offline
@asper I'm looking for the proxdroid SVN834.Can you sent this software to me?Thx
I don't have it anymore, sorry.
Offline
Release 2.0.0 works fine with Samsung GT-NT7000 (Galaxy Note)stock ROM 3.0.31-906407 (needs cdc-acm module)
Offline
Hi asper
Here is a question about my GALAXY SIII I9300 ,
I flash the cm11 from here http://download.cyanogenmod.org/get/jenkins/123996/cm-11-20150901-SNAPSHOT-XNG3CAO3G0-i9300.zip for my S3 ,but it does not have the cdc-acm.ko , so I can't see the ttyACM* 。
I use your zip and get the cdc-acm.ko from “proxdroid-bin-2.0.0\cdc-acm-modules\Samsung Galaxy S3 (GT-I9300)*\” ,but all of them show the same error :"
root@m0:/ # insmod cdc-acm.ko
insmod: init_module 'cdc-acm.ko' failed (Exec format error)"
and the dmesg command show that:
"cdc_acm: disagrees about version of symbol module_layout"
I think the cdc-acm.ko has checked the Android Kernel verson .
My Android Kernel verson is "3.0.64-CM-ge2f984e" , how can I get the current cdc-acm.ko for my Kernel verson ?
Can you or anybody help me ?
Offline
You need the correct compiled file for your exact kernel, other versions will not work. You need To compile it yourself if you are not able To find Someone who already compiled it.
Do not try the ones contained in my packet with a kernel different from the ones tested, they will not work.
Last edited by asper (2015-11-15 16:42:16)
Offline
You need the correct compiled file for your exact kernel, other versions will not work. You need To compile it yourself if you are not able To find Someone who already compiled it.
Do not try the ones contained in my packet with a kernel different from the ones tested, they will not work.
Yes , I understand .
How should I compile ? ex.,where can I get the source code ,and the compile environment ?
do you know ?
Offline
Ask To the kernel/rom authors.
Offline
removed support request. Sorry.
Last edited by Pummarola (2015-11-18 23:03:03)
Offline
Again, this thread is NOT for support, please stop asking help here, just open another thread.
Last edited by asper (2015-11-18 23:00:17)
Offline
"only position independent executables (pie) are supported" error on android 5.1
Offline
THANK YOU ASPER! This was super easy.. D2 tablet. Rooted with kingo root.
android ver 4.4.2
After Root ran - chmod 666 /dev/ttyACM0
Any chance you are going to update the version you have compiled? I like the search feature.
I suppose i could figure out how to compile my own version and contribute, but I'm just so busy.
Thanks again
Apt.
Last edited by Apt-Get (2016-02-05 04:33:10)
Offline
I just downloaded a vmware image for Android x86, rref: http://www.osboxes.org/android-x86/#and … rc1-vmware
I wonder how hard it would be to compile the PM3 source on it?
Offline
I managed to compile proxdroid from marcv81's git repository with PIE support by redefining endpwent() function in tilde.c
But it hangs at start:
139|root@D5303:/system/bin # ./proxmark3 /dev/ttyACM0
PROXMARK3: NOT FOUND!
using 'scripting' commands file /dev/ttyACM0
When I unplug usb cable I get proxmark3 client working.
Offline
Hi MRZA,
If you want, check my github repo (https://github.com/FonkyCorp/proxdroid), you'll find all you need to compile the lastest version of the proxmark3 client for android.
And if you are lazy, you can try this compiled version (2.3.0 Spring 16 release): https://www.sendspace.com/file/7533at
And if it still doesn't work maybe try with an external power source.
Offline
Thank you! It seems to be working. But I don't see what I type. I'll try to compile it myself.
Offline
Hi MRZA,
If you want, check my github repo (https://github.com/FonkyCorp/proxdroid), you'll find all you need to compile the lastest version of the proxmark3 client for android.
And if you are lazy, you can try this compiled version (2.3.0 Spring 16 release): https://www.sendspace.com/file/7533at
And if it still doesn't work maybe try with an external power source.
@MartyMcFly
Thanks for the lazy version man
Works flawless on my Kolina K100+
Tested so far only LF commands with EM41xx and T55xx but I suppose the rest will also work fine.
Working with external power source for me, seems my phone can't provide enough juice for the PM3.
Great work. Much appreciated!
Cheers!
Offline
Has anyone compiled a list of Android devices that have been successful in loading and running Prox Droid? I see group member got it running on HTC HTV ONE V, and Galaxy N7000 tablet. Oh yeah FonkyCorp posted they were successful with an LG G3. What else works?
// I need to buy a used phone and ONLY use it for Proxmark communication.
Anyone else out there with a success story? Lets list models that have been tried - good and bad, was it rooted or not?
What problems did you run into? and how were they resolved?
UPDATE: 7-15-2016 Got the proxdroid running on a Samsung S5. The difficulty was in permission setting of ttyACM0. It lacked persistence. Once that was resolved - this thing becomes sleek using the droid instead of a PC. The only downside is you are only by command line, and don't get to use Gaucho's cool GUI.
Cheers! Muddy
Last edited by muddy (2016-07-15 16:53:17)
Offline
HTC One X
Samsung Note 5 DUOs (N9208) - Works but NFC is terrible. Not recommended.
Offline
Anyone got this working on Nexus 10. 5.1.1 lollipop? Cant find cdc-acm.ko for this that works. Running Nethunter.
Without cdc-acm.ko no /dev/ttyACM0
Offline
is there a new version available for android?
Offline
Hi MRZA,
If you want, check my github repo (https://github.com/FonkyCorp/proxdroid), you'll find all you need to compile the lastest version of the proxmark3 client for android.
And if you are lazy, you can try this compiled version (2.3.0 Spring 16 release): https://www.sendspace.com/file/7533at
And if it still doesn't work maybe try with an external power source.
Compiled it. But still needed to use "endpwent" hack. Works on OnePlus One (with CM13).
Last edited by MRZA (2016-11-26 21:15:32)
Offline