Version: 3.0.xx
View remaining balance, recent trips, and other info from contactless public transit cards using NFC on Android and iOS (coming soon).
View the presentation of work undergone to support a number of Australian agencies' cards, given at linux.conf.au 2018, in the talk Tap on to reverse engineering.
- Eric Butler (Farebot, on which this project is based)
- Karl Koscher (ORCA)
- Sean Cross (CEPAS/EZ-Link)
- Anonymous Contributor (Clipper)
- nfc-felica and IC SFCard Fan projects (Suica)
- Chris Norden (Edy)
- Wilbert Duijvenvoorde (MIFARE Classic/OV-chipkaart)
- tbonang (NETS FlashPay)
- Marcelo Liberato (Bilhete Único)
- Lauri Andler (HSL)
- Michael (Opal, Manly Fast Ferry, Go card, Myki, Octopus, Cubic Nextfare, LAX TAP, SmartRider, MyWay, MIFARE Ultralight, ERG, Christchurch Metrocard)
- Steven Steiner (LAX TAP)
- Rob O'Regan (Manly Fast Ferry card image)
- The Noun Project (Various icons)
- Vladimir Serbinenko (Podorozhnik, Troika, Compass, Shenzhen Tong, Rav-Kav, T-money, Leap, CharlieCard, EN1545, Intercode, IstanbulKart, Lisboa Viva, Mobib, RicaricaMi, Chinese cards, Adelaide Metrocard, Rejsekort)
- Toomas Losin (Compass)
- Sinpo Lib (Shenzhen Tong)
- Maria Komar (Podorozhnik database and dumps)
- Bondan Sumbodo (Kartu Multi Trip, COMMET)
Thanks to those who have helped to make Metrodroid available in languages other than English:
- Dutch: Vistaus
- Finnish: Lari Oesch, Lauri Andler
- French: Albirew
- Hebrew: Steven Steiner
- Indonesian: Bondan Sumbodo
- Japanese: naofum, Chris Norden, Eric Butler
- Kabyle: belkacem77, aqvayli
- Norwegian Bokmål: Allan Nordhøy, Petter Reinholdtsen
- Portuguese (Brazil): Marlon Colhado
- Russian: Vladimir Serbinenko
- Spanish: NokisDemox
- Turkish: omersiar
- FeliCa
- FeliCa Lite
- ISO/IEC 7816-4
- ISO/IEC 15693 "Vicinity"
- MIFARE Classic (Not compatible with all devices)
- MIFARE DESFire
- MIFARE Ultralight (Not compatible with all devices)
Card / Agency | Location | Notes |
---|---|---|
Amiibo | 🌏 worldwide | 🆕 IOS |
AT HOP | 🇳🇿 Auckland, New Zealand | 🆕 🆔 IOS |
Beijing Municipal Card | 🇨🇳 Beijing, China | 🆕 |
bip! | 🇨🇱 Santiago de Chile, Chile | 🆕 🔐 MFC |
Bilhete Único | 🇧🇷 São Paulo, Brazil | 🔐 MFC |
BUS-IT | 🇳🇿 Greater Hamilton (Waikato), New Zealand | 🆕 🔐 MFC |
Carta Mobile | 🇮🇹 Pisa, Italy | 🆕 IOS |
CharlieCard | 🇺🇸 Boston, MA, USA | 🆕 🔐 MFC |
Cifial | 🌍 worldwide | 🆕 MFC |
City Union | 🇨🇳 Mainland China | 🆕 IOS |
Clipper | 🇺🇸 San Francisco, CA, USA | IOS |
Compass | 🇨🇦 Vancouver, BC, Canada | 🆕 1️⃣ IOS |
Crimea Trolleybus | Crimea | 🆕 🔐 MFC |
Cubic Nextfare | 🌎 many locations | 🆕 🔐 MFC |
EasyCard | Taipei | 🔐 MFC |
Edy | 🇯🇵 Japan | |
Ekarta | 🇷🇺 Ekaterinburg, Russia | 🆕 🔐 MFC |
Electronic Barnaul | 🇷🇺 Barnaul, Russia | 🆕 🔐 MFC |
EMV | 🌍 worldwide | 🆕 |
Envibus | 🇫🇷 Sophia Antipolis, France | 🆕 IOS |
ERG | 🌏 many locations | 🆕 🔐 MFC |
EZ-Link | 🇸🇬 Singapore | |
Go card | 🇦🇺 Brisbane and South East Queensland, Australia | 🆕 🔐 MFC |
GoCard | 🇳🇿 Otago, including Greater Dunedin and Queenstown, New Zealand | 🆕 MFC |
Go-to card | 🇺🇸 Minneapolis-St. Paul, MN, USA | 🆕 🔐 MFC |
Hafilat | 🇦🇪 Abu Dhabi, UAE | 🆕 IOS |
Hop Fastpass | 🇺🇸 Portland, OR, USA | 🆕 🆔 IOS |
HSL, Matkakortti, Waltti | 🇫🇮 Finland | IOS |
IstanbulKart | 🇹🇷 Istanbul, Turkey | 🆕 🆔 IOS |
Kartu Multi Trip | 🇮🇩 Jakarta, Indonesia | KMT IOS |
Kazan transport card | 🇷🇺 Kazan, Russia | 🆕 🔐 MFC |
Kiev Metro | 🇺🇦 Kiev, Ukraine | 🆕 🔐 MFC |
Kirov transport card | 🇷🇺 Kirov, Russia | 🆕 🔐 MFC |
KomuterLink | 🇲🇾 Malaysia | 🆕 🔐 MFC |
Krasnodar ETK | 🇷🇺 Krasnodar, Russia | 🆕 🔐 MFC |
Leap | 🇮🇪 Ireland | 🆕 🔓 |
Lisboa Viva | 🇵🇹 Lisbon, Portugal | 🆕 IOS |
Manly Fast Ferry | 🇦🇺 Sydney, NSW, Australia | 🆕 🔐 MFC |
Metrocard | 🇦🇺 Adelaide, SA, Australia | 🆕 IOS |
Metrocard | 🇳🇿 Christchurch, New Zealand | 🆕 🔐 MFC |
Metromoney | 🇬🇪 Tbilisi, Georgia | 🆕 🔐 MFC |
Mobib | 🇧🇪 Brussels, Belgium | 🆕 IOS |
Myki | 🇦🇺 Melbourne (and surrounds), VIC, Australia | 🆕 🆔 IOS |
MyWay | 🇦🇺 Australian Capital Territory, Australia | 🆕 🔐 MFC |
Navigo | 🇫🇷 Paris, France | 🆕 IOS |
NETS FlashPay | 🇸🇬 Singapore | |
Nol | 🇦🇪 Dubai, UAE | 🆕 🆔 IOS |
Octopus | 🇭🇰 Hong Kong | 🆕 IOS |
Opal | 🇦🇺 Sydney (and surrounds), NSW, Australia | 🆕 IOS |
Opus | 🇨🇦 Québec, Canada | 🆕 IOS |
ORCA | 🇺🇸 Seattle, WA, USA | IOS |
Orenburg EKG | 🇷🇺 Orenburg, Russia | 🆕 🔐 MFC |
OùRA | 🇫🇷 Grenoble, France | 🆕 IOS |
OV-chipkaart | 🇳🇱 Netherlands | 🔐 MFC |
Oyster | 🇬🇧 London, United Kingdom | 🆕 🔐 MFC |
Penza transport card | 🇷🇺 Penza, Russia | 🆕 🔐 MFC |
Podorozhnik | 🇷🇺 Saint Petersburg, Russia | 🆕 🔐 MFC |
Rav-Kav | 🇮🇱 Israel | 🆕 IOS |
Rejsekort | 🇩🇰 Denmark | 🆕 🔐 MFC |
RicaricaMi | 🇮🇹 Milan, Italy | 🆕 🔐 MFC |
Samara ETK | 🇷🇺 Samara, Russia | 🆕 🔐 MFC |
Selecta | 🇫🇷 France | 🆕 MFC |
Shenzhen Tong | 🇨🇳 Shenzhen, Guangdong Province, China | 🆕 IOS |
Siticard | 🇷🇺 Nizhniy Novgorod, Russia | 🆕 🔐 MFC |
SLAccess | 🇸🇪 Stockholm, Sweden | 🆕 🔐 MFC |
Smartride | 🇳🇿 Rotorua, New Zealand | 🆕 MFC |
SmartRider | 🇦🇺 Western Australia, Australia | 🆕 🔐 MFC |
Snapper | 🇳🇿 Wellington, New Zealand | 🆕 IOS |
Strelka | 🇷🇺 Moscow, Russia | 🔐 🆔 MFC |
Strizh | 🇷🇺 Izhevsk, Russia | 🆕 🔐 MFC |
Suica, ICOCA, PASMO | 🇯🇵 Japan | |
SunCard | 🇺🇸 Orlando, FL, USA | 🆕 🔐 🆔 MFC |
TaM | 🇫🇷 Montpellier, France | 🆕 IOS |
Tartu Bus | 🇪🇪 Tartu, Estonia | 🆕 🆔 MFC |
T-Money | 🇰🇷 South Korea | 🆕 IOS |
TPF card | 🇨🇭 Fribourg, Switzerland | 🆕 🆔 |
TransGironde | 🇫🇷 Gironde, France | 🆕 IOS |
Transit Access Pass | 🇺🇸 Los Angeles, CA, USA | 🆕 🔐 MFC |
Troika | 🇷🇺 Moscow, Russia | 🆕 🔐 MFC |
T-Union | 🇨🇳 Mainland China | 🆕 IOS |
Umarsh | 🇷🇺 multiple cities in Russia | 🆕 🔐 MFC |
Ventra | 🇺🇸 Chicago, IL, USA | 🆕 1️⃣ IOS |
Warszawska Karta Miejska | 🇵🇱 Warsaw, Poland | 🆕 🆔 🔐 MFC |
Wuhan Tong | 🇨🇳 Wuhan, Hubei Province, China | 🆕 IOS |
Yaroslavl ETK | 🇷🇺 Yaroslavl, Russia | 🆕 🔐 MFC |
Yoshkar-Ola | 🇷🇺 Yoshkar-Ola, Russia | 🆕 🔐 MFC |
Zolotaya Korona | 🇷🇺 multiple cities in Russia | 🆕 🔐 MFC |
Note | Meaning |
---|---|
🆕 | New in Metrodroid. |
🔐 | Encryption keys required to read this card. |
🔓 | Encryption keys are downloaded from the operator. |
🇮🇪 | Leap not yet supported on iOS. |
🇯🇵 | FeliCa cards with more than 1 system not supported on iOS. |
🇸🇬 | CEPAS cards (Singapore) are not compatible with all devices (ISO 14443-B). Not supported on iOS. |
MFC |
MIFARE Classic card; requires NXP NFC chipset in your device. Not supported on iOS. |
🆔 | Only the card number can be read. |
KMT |
Only new FeliCa-based cards can be read. |
1️⃣ | Only single-use tickets can be read. |
IOS |
Supported on Metrodroid for iOS. |
This project will only read data from the card itself, without having to connect to the agency's back-office systems. In some cases, limited data is available, so balance information and trip history might not be available.
Note: The Leap card reader connects to Transport for Ireland's server for challenge-response authentication with the card. The data is otherwise interpreted locally, and connectivity is disabled by default.
Metrodroid for Android requires Android 4.1 or later, with NFC support.
Some devices do not support MIFARE Classic. MIFARE Classic is not an NFC-compliant card format, so they can only be read on devices with NXP chipsets.
Metrodroid for iOS requires iOS 13.0 or later, and iPhone 7 or later. It does not support other iOS devices, even those that support Apple Pay.
Copyright © 2015–2019 Michael Farrell
Copyright © 2011–2013 Eric Butler
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
This program contains Leaflet, a JavaScript mapping library, licensed under the BSD license.
This software and it's authors are not associated with any public transit agency. Pictures of supported cards, including their logos, are included with this software package for the purposes of identifying cards.
-
Clone the repository including submodules:
$ git clone --recursive https://github.com/metrodroid/metrodroid.git
ZIP source code downloads from GitHub's web interface will not work!
-
Import the directory into Android Studio.
Android Studio will prompt you to install the appropriate SDK version, build tools, and Gradle.