A mod of the Twitch Android Mobile App adding BetterTTV, FrankerFaceZ and 7TV emotes
[![license: MIT][license-badge]][license-file] [![bttv version][bttv-version]][latest-release] ![build on][base-version] ![GitHub release (latest by date)][downloads-latest] ![GitHub all releases][downloads-total] [![Discord][discord-badge]][discord-invite]
bttv-android
A mod of the Twitch Android Mobile1 App adding BetterTTV, FrankerFaceZ and 7TV emotes
This project is not affiliated to Twitch Interactive Inc, NightBot LLC, Dan Salvato LLC or the SevenTV project!
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND!
[![Hero image][hero-img]][hero-img]
We need you
You can help this project by contributing translations on [crowdin][crowdin].Features
- BTTV, FFZ and 7TV Emotes - Auto-Claim Bonus Channel Points - Auto Updater - Sleep Timer - Highlight Keywords - Split Chat - Anon ChatKnown issues
- Amazon Video Watch Parties require the Twitch App to be installed on the device and the optional step in the install instructions below - Animated Emotes occasionally glitch on some devices - 7TV's zero width emotes are not supported right now - Personal Emotes are not supported for now - Users have reported that notifications are not working for them. To fix this go to "App-Info -> Open Supported Apps" and select "Only in this application".- bttv-android will not work on Android TVs as it is a mod of the Twitch mobile App and not of the Twitch Andorid TV App. You can install it, just do not expect a good experience
Install
- Skim through this [guide on how to enable third party app istallations][enable-guide]
- Go to the [latest release][latest-release] page and download the
.apkfile of the mod. It periodically checks for new releases so you only have to download it once from there.
- (Optional) Prevent Twitch from opening when you interact with twitch.tv links: Long-press on the Twitch App -> "App Info" -> "Advanced" -> "Open by default" -> "Open supported links" -> "Ask every time" (might vary depending on OEM)
Build it yourself
This patch is meant to be applied to version 19.0.1 of the official twitch app
Make sure you use this version before you create an issue!
Easy way: Docker
Prerequisites:
Docker
How to:
- Clone this repo
- Get the Twitch App's apk files (e.g from [here][evozi], or [here][apkmirror])
.apk file, name it twitch.apk
> If you have downloaded a bundle of .apk files put them in a .zip archive and name it twitch.zip
> Note: Apkmirror publishes bundles as .apkm files, those are just zip files, so rename them to twitch.zip
- Run the builder:
docker run --rm -ti \
-v path/to/twitch.apk:/usr/build/twitch.apk \
-v /path/to/dist:/usr/build/dist \
-v path/to/patches:/usr/build/patches \
-v /path/to/mod:/usr/build/mod \
-v /path/to/.all-contributorsrc:/usr/build/.all-contributorsrc \
-v /path/to/bttv.manifest.json:/usr/build/bttv.manifest.json \
ghcr.io/bttv-android/builder
> If you are in the same directory as the apk file you can copy and paste:
docker run --rm -ti \
-v $(pwd)/twitch.apk:/usr/build/twitch.apk \
-v $(pwd)/.bttv-cache:/usr/build/.bttv-cache \
-v $(pwd)/dist:/usr/build/dist \
-v $(pwd)/patches:/usr/build/patches \
-v $(pwd)/mod:/usr/build/mod \
-v $(pwd)/.all-contributorsrc:/usr/build/.all-contributorsrc \
-v $(pwd)/bttv.manifest.json:/usr/build/bttv.manifest.json \
ghcr.io/bttv-android/builder
- The
distdirectory will contain the patched apk file! - Transfer to device and install apk
- Remove the builder again:
docker rmi ghcr.io/bttv-android/builder
Hard way
Prerequisites:
| Tool | Env variable | Default | | -------------------------------------------------------------------- | ------------------------ | ---------------------------------------------- | | Bash | Has to be in /bin | | | Git | Has to be in PATH | | | Java JDK | JAVAPATH and JAVACPATH | java and javac (from PATH) | | jq | Has to be in PATH | | | [Android SDK][sdk] or install using Android Studio | BUILDTOOLS_PATH | ~/Android/Sdk | | [ApkTool][apktool] | APKTOOL_PATH | /opt/apktool/apktool.jar | | [Uber APK Signer][uber] | UBERAPKSIGNER_PATH | /opt/uber-apk-signer/uber-apk-signer-1.2.1.jar | | [Baksmali][baksmali] | BAKSMALI_PATH | /opt/baksmali/baksmali-2.4.0.jar | | [build-companion][build-companion] | BUILD_COMPANION | /opt/build-companion |
How to:
If you get stuck at any point, just remove the disass dir and try again
- Download and install prerequisites
- Get the Twitch App's apk files (e.g from [here][evozi]), drop them zipped in this directory and call it "twitch.zip"
- The
./initworkspacescript will disassemble the apks, build the sources, apply monkey patches and build the new apk for you - Transfer to device and install apk
./install script)
This repo is mirrored on [Gitlab][mirror-gitlab].
Made with β₯οΈ by @FoseFx and contributors. MIT License.
[license-badge]: https://img.shields.io/github/license/bttv-android/bttv?style=flat-square [license-file]: ./LICENSE [bttv-version]: https://img.shields.io/github/v/release/bttv-android/bttv?style=flat-square [base-version]: https://img.shields.io/badge/build%20on-v19.0.1-blueviolet?style=flat-square [downloads-latest]: https://img.shields.io/github/downloads/bttv-android/bttv/latest/total?color=yellow&style=flat-square [downloads-total]: https://img.shields.io/github/downloads/bttv-android/bttv/total?color=yellowgreen&label=downloads%20total&style=flat-square [latest-release]: https://github.com/bttv-android/bttv/releases/latest [crowdin]: https://crowdin.com/project/bttv-android [discord-badge]: https://img.shields.io/discord/856518013292249089?color=blue&label=discord&logo=discord&logoColor=white&style=flat-square [discord-invite]: https://discord.gg/7jgDGdXXqN [enable-guide]: https://www.howtogeek.com/696504/how-to-install-third-party-app-stores-on-android/ [howtodl]: ./.github/dltut.webp?raw=true [hero-img]: ./.github/bttvog.jpg?raw=true [baksmali]: https://github.com/JesusFreke/smali [uber]: https://github.com/patrickfav/uber-apk-signer/releases/latest [apktool]: https://ibotpeaches.github.io/Apktool/ [sdk]: https://developer.android.com/studio/#downloads [evozi]: https://apps.evozi.com/apk-downloader/?id=tv.twitch.android.app [apkmirror]: https://www.apkmirror.com/apk/twitch-interactive-inc/twitch/ [adb-apk]: https://beebom.com/how-extract-apk-android-app/ [build-companion]: https://github.com/bttv-android/build-companion/releases/latest [mirror-gitlab]: https://gitlab.com/fosefx/bttv
Contributors β¨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!