SiRFIDaL - Simple RFID authentication for Linux

Do adb logcat | grep nfcuid. You should see something like this:

01-02 15:10:15.024  7032  7032 I log     : nfcuid:xxxxxxxx
01-02 15:10:41.961  7066  7066 I log     : nfcuid:xxxxxxxxxxxxxx
01-02 15:11:02.167  7092  7092 I log     : nfcuid:xxxxxxxxxxxxxx

yes, its logging it perfectly on logcat. maybe autotype or enter-on-login services are messing with it?

Ok so adb talks to the phone and the UIDs go in the log. So the problem must be the server not starting adb properly.

Try this when the server is running: ps ax | grep adb

You should see something like this:

 321564 ?        Ssl    0:20 adb -L tcp:5037 fork-server server --reply-fd 4
 404603 ?        S      0:00 /usr/bin/adb shell logcat -c&&logcat -v brief log:I NativeNfcTag:D StNativeNfcTag:D *:S

Sorry - I found the problem between seat and keyboard…I dint copy modded server settings from git to /etc
Now I see it reading if I run the server with debug flag (but still not showing at getuid.py)

[android_listener] [android_device_#1] [client stdout] D/NativeNfcTag( 2318): Connect to a tech with a different handle
[android_listener] [android_device_#1] [client stdout] D/NativeNfcTag( 2318): Starting background presence check
[android_listener] [android_device_#1] [client stdout] D/NativeNfcTag( 2318): Tag lost, restarting polling loop
[main] Received message: (0, (‘android_device_#1’, ()))
[android_listener] [android_device_#1] [client stdout] D/NativeNfcTag( 2318): Stopping background presence check
[android_listener] [android_device_#1] [client stdout] I/log (11422): nfcuid:xxxxxxxxxxxxxxx
[main] Received message: (0, (‘android_device_#1’, (‘xxxxxxxxxxxxxxxxx’,)))

its past 0300. I’ll go to sleep for now or make even more errors

That means the UID is received and processed by the server. Strange, you should see it with getuid…

By all means, don’t let me ruin your life with this. Thanks for your help! At least I know for sure the apk works correctly with Android 11.