GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - metrodroid/metrodroid: Read data from public transit cards using your NFC Android phone! (iOS 13 and PC/SC support coming soon)

BranchesTags
Open more actions menu

Latest commit

 

History

4,847 Commits
4,847 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/ISSUE_TEMPLATE
.github/ISSUE_TEMPLATE
 
 
.travis
.travis
 
 
buildSrc
buildSrc
 
 
cardimages
cardimages
 
 
config/checkstyle
config/checkstyle
 
 
data
data
 
 
docs
docs
 
 
extra
extra
 
 
fastlane/metadata/android
fastlane/metadata/android
 
 
gradle/wrapper
gradle/wrapper
 
 
jvmcli
jvmcli
 
 
lintchecks
lintchecks
 
 
mdst
mdst
 
 
native/metrodroid
native/metrodroid
 
 
proto
proto
 
 
src
src
 
 
stops-dot-farebot-m
stops-dot-farebot-m
 
 
third_party
third_party
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.travis.yml
.travis.yml
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
COPYING
COPYING
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
proguard.cfg
proguard.cfg
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

logo Metrodroid

Translation status Build Status

Get it at IzzyOnDroid Direct APK download iOS version coming soon!

Version: 3.1.0

View remaining balance, recent trips, and other info from contactless public transit cards using NFC on Android and iOS (coming soon).

  • Michael Farrell

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.

Thanks to

  • 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, MRT Jakarta)

Translated by

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, Yaron Shahrabani
  • 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

Supported card protocols

  • FeliCa
  • FeliCa Lite
  • ISO/IEC 7816-4
    • Calypso
    • CEPAS
    • T-Money
  • ISO/IEC 15693 "Vicinity"
  • MIFARE Classic (Not compatible with all devices)
  • MIFARE DESFire
  • MIFARE Ultralight (Not compatible with all devices)

Supported cards / agencies

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
HOLO 🇺🇸 Oʻahu, HI, USA 🆕 🆔 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
Kirov transport card 🇷🇺 Kirov, Russia 🆕 🔐 MFC
KomuterLink 🇲🇾 Malaysia 🆕 🔐 MFC
Krasnodar ETK 🇷🇺 Krasnodar, Russia 🆕 🔐 MFC
Kyiv Metro 🇺🇦 Kyiv, Ukraine 🆕 🔐 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 🇧🇪 Belgium 🆕 IOS
MRT Jakarta 🇮🇩 Jakarta, Indonesia 🆕
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.

Supported devices

Metrodroid for Android requires Android 4.1 or later, with NFC support.

Some transit cards use MIFARE Classic, a proprietary card media which is not supported by all Android devices. These cards can only be read on devices with NXP NFC chipsets and a limited set of NFC chipsets from other vendors.

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), and does not support MIFARE Classic cards.

License and copyright

Copyright © 2015–2025 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.

Building / hacking on this software

  1. Clone the repository including submodules:

    $ git clone --recursive https://github.com/metrodroid/metrodroid.git
    

    If you get an error from Gradle about :material-design-icons not being available, then your clone doesn't have the submodules.

    ZIP source code downloads from GitHub's web interface will not work!

  2. Import the directory into Android Studio.

    Android Studio will prompt you to install the appropriate SDK version, build tools, and Gradle.

About

Read data from public transit cards using your NFC Android phone! (iOS 13 and PC/SC support coming soon)

www.metrodroid.org

Topics

androidcepasfelicaiosiphoneiso14443amifaremifare-classicmifare-desfiremifare-ultralightnfcpcscpublic-transportsuica

Resources

Readme
License

Contributing

Contributing
Activity
Custom properties

Stars

672 stars

Watchers

17 watching

Forks

93 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.