T2C App Patches

August 18, 2026 ยท View on GitHub

Release License: MIT Target App

Collection of patches for the official T2C mobile application (Transports en commun de Clermont-Ferrand - fr.t2c.t2c), maintained by dumb-software.

This project is built using Morphe Patcher and follows the Morphe Patches template.


Available Patches

PatchTypeDescriptionConfigurable Options
Change API endpointRawResourceRedirects all backend microservices (URL_EDITORIAL, URL_SIV, URL_NOTIFICATIONS, URL_FAVORITES, URL_STATUS) to a custom base URL.api_url (default: https://api.t2c.fr)
Force environmentRawResourceReplaces the production environment variables with the developer (staging.t2c.fr) or local (localhost) ones.environment (dev or local)
Remove Firebase trackingResourceDisables Google Firebase tracking by wiping google_app_id, google_crash_reporting_api_key, and google_api_key.None
Remove Google Maps API keyResourceRemoves the Google Maps API key (com.google.android.geo.API_KEY) from AndroidManifest.xml.None
Remove Umami trackingRawResourceDisables Umami telemetry safely by redirecting endpoints to loopback (127.0.0.1) and clearing website ID.None
Custom Umami endpointRawResourcePoints Umami analytics to a custom server instance.umami_endpoint, umami_website

Compatibility

App NamePackage NameSupported Versions
T2Cfr.t2c.t2c3.2.0, 3.2.2 (Latest)

Get Started

Using Morphe Manager

You can easily import these patches directly into Morphe Manager:

  1. One-click Import: Click here to add to Morphe
  2. Manual Import: Open Morphe Manager > Settings > Sources > Add Source and enter:
    https://github.com/dumb-software/T2C-App-Patch-Morphe
    

Development & Usage

  • Development is conducted on feature branches, squashed and merged into the dev branch.
  • The dev branch is merged into main for stable releases.
  • Versioning is strictly governed by Semantic Versioning and Conventional Commits.
  • Commits on dev and main automatically trigger builds and releases via GitHub Actions (.github/workflows/release.yml).

Building from Source

Prerequisites

  • JDK 17 or JDK 21
  • Gradle (provided wrapper gradlew)

Build commands

To build the .mpp patch bundle:

./gradlew :patches:build

To update and generate the patches list (patches-list.json):

./gradlew :patches:generatePatchesList


License

T2C App Patches are licensed under the MIT License.