NFC Card-Emulation Catch-All Routing

This module alone does NOTHING!! This is just a helper module for app-developers.

This module overrides the NFC AID routing mechanism for the NFC Card Emulation feature of Android. NFC Host Card Emulation on Android works in a way, that an app registers for one or more specific "AID" (application identifier). If then a NFC card terminal asks for this specific AID Android routes the NFC packages to the app so that it can respond as it were a NFC SmartCard.

However, if the card terminal asks for an AID which the app did not register for, the app will never receive the APDU. As far as I know there is no catch-all AID routing available.

This module changes this behaviour and completly OVERRIDES the AID routing mechanism. So ALL incoming APDUs for ALL application identifiers will be routed to the app which has registered the "special magic" AID "F04E66E75C02D8" (I just randomly chose this one.) Even if there are other card-emulation apps installed which explicitly register for a specific AID they never will get any APDU SELECT message.

So as an app developer, you simply can create a app and register it for AID F04E66E75C02D8 and it will receive all APDUs packets for ANY AID value the card terminal ever may ask for.

All your APDUs are belong to us! :-)

Author(s): 
Package: 
at.zweng.xposed.modifyaidrouting
Version name: 
0.4
Release type: 
Stable (low risk of bugs)
Number of downloads: 
2,544 in total · 5 in the last 24 hours
MD5 checksum: 
c21dd358c34fc8e79b76b0b64d6cf748
Uploaded on: 
Tuesday, September 11, 2018 - 08:56
Changes: 

adds support for newer Android versions up to Android 9 (and maybe also above)

Version name: 
0.2
Release type: 
Stable (low risk of bugs)
Number of downloads: 
14,556 in total · 0 in the last 24 hours
MD5 checksum: 
b9fcb7fcafcbeb4b9d9d3f4a1db857d4
Uploaded on: 
Sunday, October 26, 2014 - 18:47
Changes: 
  • Fixed "IllegalAccessException"
  • if more than 1 ApduService matching the *special magic* AID is registered, try to route to the default one
Version name: 
0.1
Release type: 
Stable (low risk of bugs)
Number of downloads: 
9,596 in total · 0 in the last 24 hours
MD5 checksum: 
5e1b3b30d7a7d0e19c6b3d07aa71ab1e
Changes: 

Newly created the module.