Metrodroid Save

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

Project README

logo Metrodroid

Translation status Build Status

Direct APK download iOS version coming soon!

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.

Thanks to

Translated by

Thanks to those who have helped to make Metrodroid available in languages other than English:

Supported card protocols

Supported cards / agencies

Card / Agency Location Notes
Amiibo :earth_asia: worldwide :new: IOS
AT HOP :new_zealand: Auckland, New Zealand :new: :id: IOS
Beijing Municipal Card :cn: Beijing, China :new:
bip! :chile: Santiago de Chile, Chile :new: :closed_lock_with_key: MFC
Bilhete Único :brazil: São Paulo, Brazil :closed_lock_with_key: MFC
BUS-IT :new_zealand: Greater Hamilton (Waikato), New Zealand :new: :closed_lock_with_key: MFC
Carta Mobile :it: Pisa, Italy :new: IOS
CharlieCard :us: Boston, MA, USA :new: :closed_lock_with_key: MFC
Cifial :earth_africa: worldwide :new: MFC
City Union :cn: Mainland China :new: IOS
Clipper :us: San Francisco, CA, USA IOS
Compass :canada: Vancouver, BC, Canada :new: :one: IOS
Crimea Trolleybus Crimea :new: :closed_lock_with_key: MFC
Cubic Nextfare :earth_americas: many locations :new: :closed_lock_with_key: MFC
EasyCard Taipei :closed_lock_with_key: MFC
Edy :jp: Japan
Ekarta :ru: Ekaterinburg, Russia :new: :closed_lock_with_key: MFC
Electronic Barnaul :ru: Barnaul, Russia :new: :closed_lock_with_key: MFC
EMV :earth_africa: worldwide :new:
Envibus :fr: Sophia Antipolis, France :new: IOS
ERG :earth_asia: many locations :new: :closed_lock_with_key: MFC
EZ-Link :singapore: Singapore
Go card :australia: Brisbane and South East Queensland, Australia :new: :closed_lock_with_key: MFC
GoCard :new_zealand: Otago, including Greater Dunedin and Queenstown, New Zealand :new: MFC
Go-to card :us: Minneapolis-St. Paul, MN, USA :new: :closed_lock_with_key: MFC
Hafilat :united_arab_emirates: Abu Dhabi, UAE :new: IOS
HOLO :us: Oʻahu, HI, USA :new: :id: IOS
Hop Fastpass :us: Portland, OR, USA :new: :id: IOS
HSL, Matkakortti, Waltti :finland: Finland IOS
IstanbulKart :tr: Istanbul, Turkey :new: :id: IOS
Kartu Multi Trip :indonesia: Jakarta, Indonesia KMT IOS
Kazan transport card :ru: Kazan, Russia :new: :closed_lock_with_key: MFC
Kiev Metro :ukraine: Kiev, Ukraine :new: :closed_lock_with_key: MFC
Kirov transport card :ru: Kirov, Russia :new: :closed_lock_with_key: MFC
KomuterLink :malaysia: Malaysia :new: :closed_lock_with_key: MFC
Krasnodar ETK :ru: Krasnodar, Russia :new: :closed_lock_with_key: MFC
Leap :ireland: Ireland :new: :unlock:
Lisboa Viva :portugal: Lisbon, Portugal :new: IOS
Manly Fast Ferry :australia: Sydney, NSW, Australia :new: :closed_lock_with_key: MFC
Metrocard :australia: Adelaide, SA, Australia :new: IOS
Metrocard :new_zealand: Christchurch, New Zealand :new: :closed_lock_with_key: MFC
Metromoney :georgia: Tbilisi, Georgia :new: :closed_lock_with_key: MFC
Mobib :belgium: Brussels, Belgium :new: IOS
MRT Jakarta :indonesia: Jakarta, Indonesia :new:
Myki :australia: Melbourne (and surrounds), VIC, Australia :new: :id: IOS
MyWay :australia: Australian Capital Territory, Australia :new: :closed_lock_with_key: MFC
Navigo :fr: Paris, France :new: IOS
NETS FlashPay :singapore: Singapore
Nol :united_arab_emirates: Dubai, UAE :new: :id: IOS
Octopus :hong_kong: Hong Kong :new: IOS
Opal :australia: Sydney (and surrounds), NSW, Australia :new: IOS
Opus :canada: Québec, Canada :new: IOS
ORCA :us: Seattle, WA, USA IOS
Orenburg EKG :ru: Orenburg, Russia :new: :closed_lock_with_key: MFC
OùRA :fr: Grenoble, France :new: IOS
OV-chipkaart :netherlands: Netherlands :closed_lock_with_key: MFC
Oyster :gb: London, United Kingdom :new: :closed_lock_with_key: MFC
Penza transport card :ru: Penza, Russia :new: :closed_lock_with_key: MFC
Podorozhnik :ru: Saint Petersburg, Russia :new: :closed_lock_with_key: MFC
Rav-Kav :israel: Israel :new: IOS
Rejsekort :denmark: Denmark :new: :closed_lock_with_key: MFC
RicaricaMi :it: Milan, Italy :new: :closed_lock_with_key: MFC
Samara ETK :ru: Samara, Russia :new: :closed_lock_with_key: MFC
Selecta :fr: France :new: MFC
Shenzhen Tong :cn: Shenzhen, Guangdong Province, China :new: IOS
Siticard :ru: Nizhniy Novgorod, Russia :new: :closed_lock_with_key: MFC
SLAccess :sweden: Stockholm, Sweden :new: :closed_lock_with_key: MFC
Smartride :new_zealand: Rotorua, New Zealand :new: MFC
SmartRider :australia: Western Australia, Australia :new: :closed_lock_with_key: MFC
Snapper :new_zealand: Wellington, New Zealand :new: IOS
Strelka :ru: Moscow, Russia :closed_lock_with_key: :id: MFC
Strizh :ru: Izhevsk, Russia :new: :closed_lock_with_key: MFC
Suica, ICOCA, PASMO :jp: Japan
SunCard :us: Orlando, FL, USA :new: :closed_lock_with_key: :id: MFC
TaM :fr: Montpellier, France :new: IOS
Tartu Bus :estonia: Tartu, Estonia :new: :id: MFC
T-Money :kr: South Korea :new: IOS
TPF card :switzerland: Fribourg, Switzerland :new: :id:
TransGironde :fr: Gironde, France :new: IOS
Transit Access Pass :us: Los Angeles, CA, USA :new: :closed_lock_with_key: MFC
Troika :ru: Moscow, Russia :new: :closed_lock_with_key: MFC
T-Union :cn: Mainland China :new: IOS
Umarsh :ru: multiple cities in Russia :new: :closed_lock_with_key: MFC
Ventra :us: Chicago, IL, USA :new: :one: IOS
Warszawska Karta Miejska :poland: Warsaw, Poland :new: :id: :closed_lock_with_key: MFC
Wuhan Tong :cn: Wuhan, Hubei Province, China :new: IOS
Yaroslavl ETK :ru: Yaroslavl, Russia :new: :closed_lock_with_key: MFC
Yoshkar-Ola :ru: Yoshkar-Ola, Russia :new: :closed_lock_with_key: MFC
Zolotaya Korona :ru: multiple cities in Russia :new: :closed_lock_with_key: MFC
Note Meaning
:new: New in Metrodroid.
:closed_lock_with_key: Encryption keys required to read this card.
:unlock: Encryption keys are downloaded from the operator.
:ireland: Leap not yet supported on iOS.
:jp: FeliCa cards with more than 1 system not supported on iOS.
:singapore: 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.
:id: Only the card number can be read.
KMT Only new FeliCa-based cards can be read.
:one: 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 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.

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.

Open Source Agenda is not affiliated with "Metrodroid" Project. README Source: metrodroid/metrodroid

Open Source Agenda Badge

Open Source Agenda Rating