Skip to content

About

PurpleTV ReVive: continuation of the great work. Third-party emotes, badges, pronouns and chat tweaks for the Twitch Android app. No ad blocking, no money mods.

Topics

Resources

Stars

16 stars

Watchers

0 watching

Forks

Latest commit

 

History

174 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PurpleTV ReVive: continuing the great work

An Xposed / LSPosed module that brings third-party emotes, badges, pronouns and a pile of chat quality-of-life tweaks to the official Twitch app for Android.

If you have ever wanted BetterTTV, FrankerFaceZ and 7TV emotes to actually render in Twitch mobile chat instead of showing up as plain text, this module does that, without replacing the Twitch app and without touching your login.

Latest release Android 8.0+ Xposed Website


Looking for PurpleTV or bttv-android?

Both brought 7TV, BetterTTV and FrankerFaceZ emotes to Twitch on Android, and bttv-android has stopped updating. PurpleTV ReVive picks up their chat features for today's Twitch app. It works as a module for the official app, so your Twitch login stays as it is, and there is a ready-to-install patched APK if you do not use LSPosed.

Features

Feature What it does
7TV emotes Global and per-channel 7TV emotes render inline in chat, including animated WEBP.
BetterTTV (BTTV) emotes Global and channel BTTV emotes, animated GIF support.
FrankerFaceZ (FFZ) emotes Global and channel FFZ emote sets.
Homies emotes Global and channel Chatterino Homies emotes. Off by default.
BTTV WEBP Optionally load BTTV emotes in WEBP format instead of GIF or PNG.
Emote autocomplete Start typing an emote name, no leading colon needed, and pick it from a scrolling list just above the input. 7TV, BTTV and FFZ emotes come first, then your sub emotes, then other Twitch emotes. Hold one to pin it to the top whenever it matches, or to add it to the favorites bar. Pins can be kept per streamer.
Favorites bar Long-press an emote in the picker, in chat or in the suggestions to add it to a bar at the top of the picker. 7TV, BTTV and FFZ favorites use each chat's own picture and are greyed out where that chat does not have them. Sort them into groups with a name or an emote as their icon, shown as folders that open and close, or as tabs that switch the bar. Hold a favorite to drag it into a group, to a new spot or onto the bin. The bar can be one scrolling row or grow into rows. Can be kept per streamer.
7TV, BTTV and FFZ in the emote picker This channel's and the global 7TV, BTTV, FFZ and Homies emotes appear as their own sections at the bottom of Twitch's emote picker.
Emote details Tap a 7TV, BTTV or FFZ emote in chat to see it big, with where it comes from (global or this channel's), who uploaded it, and a link to its page on 7TV, BetterTTV or FrankerFaceZ.
Emote stats Tap an emote in chat to also see who used it most in this chat since you opened it. Twitch's own emote card stays as it is, with the list added under it.
Frequently Used Emotes you send from the favorites bar or the suggestion list count towards Twitch's Frequently Used row, like ones picked in Twitch's own picker.
Emote picker backspace The backspace button in the emote picker deletes the whole last word or emote at once, or one letter, or keeps Twitch's own behaviour.
Auto-claim channel points Bonus chests are claimed automatically in the background, whether or not the chest is on screen.
Third-party badges 7TV, FFZ, BTTV, Chatterino, DankChat, Chatsen and Homies badges shown next to usernames. 7TV badges come over a live connection to 7TV for the chat you have open, the way Chatterino does it, so 7TV learns which channel you are watching, as with 7TV's own apps. Each source can be switched off.
Pronouns Pronoun tags from pronouns.alejo.io shown next to usernames.
Timestamps Nine timestamp formats, including seconds, which Twitch itself cannot show. Shown even if Twitch's own chat timestamps are off.
Deleted messages Show what a deleted message actually said, struck through, greyed, or plain. Works as an ordinary viewer, not only as a moderator, including messages already deleted before you joined.
Highlighter Tint a whole chat row when it contains a word, or comes from a given user. Separate colour for @mentions of you.
Blacklist Hide matching chat messages completely, with no gap left behind.
/me styling Italic, coloured, or both.
Username display style For people whose display name differs from their login: show both, the international name only, or the login only.
Vibrate on mention Buzz when someone @mentions you, with an adjustable duration.
Push notifications on patched builds A re-signed Twitch normally cannot register for push notifications. This lets it, so go-live alerts work on the patched APK too.
Raid card for raiders When you arrive in a channel with a raid, the "is raiding with a party of" card shows in chat, which Twitch otherwise misses because raiders join a few seconds late.
Skip link warning Open chat links straight away, without Twitch's "this link will take you to" confirmation.
Pinned messages and Drops Hide pinned chat messages, or hide them 30 seconds after they appear, and dismiss the Twitch Drops notice, by pressing Twitch's own hide buttons. Hype trains, polls and predictions stay.
Video filters A filters button in the player for lives and VODs, with 50 filters: exposure, brightness, contrast, highlights, shadows, gamma, fade, dynamic exposure, gamma, contrast and black point (they follow the stream and fix washed-out or very dark scenes as they happen), clarity, texture, sharpen, soft focus, temperature, tint, hue, saturation, vibrance, monotone, gradient map, posterize, invert, noise, vignette, colour fringe, pixelate, an overlay layer, moving bokeh lights and 11 animated glitch effects (slice shift, RGB split, VHS tracking, block corruption, wave, shake, flicker, static, rolling scanlines, channel swap, colour bleed). A Colour grading section adds a colour mixer (hue, saturation and luminance for eight colours), tone curves with ready-made looks, calibration of the red, green and blue primaries, split toning and your own .cube LUTs, next to whites, blacks, dehaze and glow. Most can be limited to the shadows, midtones or highlights. Every filter has a plain-words explanation, and each section has its own Reset. Save and load presets (several looks built in), and switch any effect or whole section off without losing its setting.
Overlays Lay a texture, your own picture or a solid colour over the video with any of Photoshop's 27 blend modes and an opacity slider. Comes with 32 built-in textures: grunge, paper, film grain, light leaks, bokeh, manga screentones and speed lines, retro scanlines, rain and more.
Audio filters An Audio tab next to the video filters: volume boost, auto volume, compressor, limiter, voice clarity, rumble cut, and Bass and Treble or a full 16-band equaliser (30 Hz to 16k). Made for talk streams: even out the volume, tame loud moments and make voices clearer. Android 9 or newer.
Ad volume Turn ads down to 50%, 25% (the default), 15%, 10% or 5% of their loudness. The ad still plays in full, on screen, and still counts for the streamer. Works with the audio filters on or off.
Picture-by-Picture ad breaks When Twitch keeps the stream going in a small muted picture during an ad, show it bigger beside the ad, with captions under it: Twitch's own captions when the streamer sends them, otherwise optional speech-to-text made on your phone (two free downloads, nothing is sent anywhere). The captions can also be read aloud with an offline voice of your phone.
Ad break recap When an ad break of 15 seconds or more ends, a short recap in chat: what the streamer said (when captions were on for the live picture) and what chat did, with the top emotes and what most people said.
Player gestures In the landscape player, swipe up or down on the left half for brightness and on the right half for volume.
Sleep timer A crescent moon button in the player controls (purple while a timer runs). Pick 15 minutes to 2 hours, or any time in hours and minutes; when time is up it closes Twitch like PurpleTV did, or only pauses the stream if you prefer.
VOD seek amounts Choose how far the VOD forward and back buttons jump, from 5 seconds to 2 minutes.
Live refresh button A reload button in the live player controls for a stream that froze or fell behind (on by default).
Clip and save A button in the live player makes a Twitch clip of the last moments and saves it as a video in Movies/PurpleTV on your phone. The clip is a normal Twitch clip, so it also shows on the channel.
Player stats A button in the player controls that shows quality, bitrate, frame rate, how far behind live you are, the buffer, the network estimate and dropped frames over the video.
Disable low latency Plays live streams a few seconds further behind, for fewer stutters and rebuffers on a weak connection.
Turn off autoplay When a VOD or clip ends, the next video does not start by itself. The Up next card stays so you can still tap it.
Keep chat on /clear When a moderator clears chat, the messages stay on your screen and a short note says chat was cleared. Timeouts and bans still work.
Mod logs In channels you moderate (or your own), a line in chat says who timed out, banned, unbanned or deleted a message from whom, with the reason. Only works where you are a moderator.
Chat translation Chat lines in another language get a small translation under them, made on your phone. Nothing is sent anywhere. Pick the language to translate into and download it once from the Translation settings. English, Spanish, Portuguese, German, French, Italian, Russian, Chinese, Arabic, Japanese, Filipino and Lithuanian, with models trained further on chat-style lines.
Live captions Captions over live streams: the stream's own captions when it sends them, otherwise speech to text on your phone, for streams in English, Spanish, German, French, Russian, Korean, Chinese, Japanese, Filipino or Lithuanian, English with Twitch slang, or Auto, which follows the language of each stream (pick the stream language, each is its own download). They can be translated into your language too, shown as lines or a box with history, and moved and resized anywhere on the screen.
Two streams Watch two live channels side by side, each with its own chat. Picture-in-picture shows both.
Menus in your language PurpleTV's own menus, dialogs and messages in English, Spanish, Portuguese, German, French, Italian, Russian, Chinese, Arabic, Japanese, Korean, Filipino or Lithuanian. They follow the phone, or pick one under Info, App language.
Chat appearance Font size, alternating row backgrounds, opacity, and the landscape chat width, with a separate width for the expanded chat (swipe from the video edge).
Chat menu in landscape The three-dots chat menu beside the chat box shows in landscape too, not only in portrait. On by default.
Home tab tidy-up Home opens on Following by default. Optionally remove the Live and Clips tabs, and hide the Browse (search) tab or the Create (plus) button, in portrait and landscape.
Following page tidy-up Hide the Categories, Continue Watching or Offline Channels sections of the Following page. Hide Twitch Stories on Home.
Hide clutter Individually hide the chat header, leaderboards, message input, Bits button, Follow/Subscribe, the unfollow button, cast, the hype train banner, the create button, and the mature content label and warning.
Update checker Tells you when a new PurpleTV ReVive version is out, with what changed, a Skip this version button, and an Update button that downloads the right file. On the ready-to-install Twitch it downloads and installs inside the app, with a small progress bar and an Install now or Remind me later popup. Can be switched off under Updates.
Settings sync Keeps your PurpleTV settings the same on all your devices through one small file in your Google Drive (or any cloud storage Android's file picker offers). No sign-in: create the file on one device, pick it on the others. Changes are saved a few seconds after you make them and loaded when Twitch opens.

Everything is opt-in and individually toggleable, and the whole module can be switched off in one tap, see Turning it off.

Requirements

  • Android 8.0 (API 26) or newer
  • A rooted device with LSPosed, or a non-rooted device using LSPatch
  • The official Twitch app installed, in a version the release is built for, named in its file names and release notes (currently Twitch 31.7.0 and 31.1.2). Twitch 31.7.0 needs Android 12L or newer; on older Android, use Twitch 31.1.2.

Installation

Rooted: LSPosed

Easiest: in LSPosed, open the Repository tab, search for PurpleTV ReVive and install it from there. Updates then show up in LSPosed by themselves.

Or by hand:

  1. Download the module file from the latest release: the one named purpletv-revive-<version>-module-twitch<version>.apk (older releases call it purpletv-xp.apk).
  2. Install it like a normal app.
  3. In LSPosed, open Modules and enable PurpleTV ReVive.
  4. In the module's scope list, tick Twitch.
  5. Force-stop and reopen Twitch.

Non-rooted: LSPatch

  1. Download the module file (purpletv-revive-<version>-module-twitch<version>.apk) from the latest release.
  2. In LSPatch, select your installed Twitch app, choose Integrated patch mode, and add the module file as an embedded module.
  3. Install the patched Twitch APK that LSPatch produces.

Your Twitch login is preserved across reinstalls as long as the signing key stays the same.

Usage

Open Twitch and start watching any channel. Third-party emotes load automatically for that channel.

  • Emote autocomplete: just start typing an emote name in the chat box.
  • Add a favorite: long-press any Twitch or subscriber emote in the native emote picker.
  • Groups and removing: tap + in the favorites bar to make a group; hold a favorite to drag it into a group, to a new spot, or onto the bin to remove it.
  • Settings: open Twitch's own Settings screen; PurpleTV is the first row.

Turning it off

The first row of the PurpleTV settings screen is PurpleTV enabled. Turn it off and restart the Twitch app, and you get the stock Twitch app back, with no hooks installed at all.

The settings row itself stays put while the module is switched off, showing just that one switch, so you can always turn it back on. Your other settings are remembered while it is off. A restart of the Twitch app is required either way, because the module installs its hooks once, when the app starts.

Building from source

You need JDK 17 or newer, the Android SDK with platform 36 (point ANDROID_HOME at it, or put sdk.dir=... in xposed/local.properties) and Gradle 8.9 or newer. The repo has no Gradle wrapper, so use your own Gradle:

git clone https://github.com/alienware377/PurpleTV-ReVive.git
cd PurpleTV-ReVive/xposed
gradle :app:assembleRelease

The unsigned APK lands in app/build/outputs/apk/release/. Sign it with any key before installing. gradle :app:testDebugUnitTest runs the unit tests.

How it works

The Twitch Android app is obfuscated with R8, and class and method names change on every release, which is why most Twitch mods break within weeks of an update. Wherever it can, this module avoids naming obfuscated classes and anchors on things R8 cannot rename:

  • Android framework classes (Activity, EditText, ViewGroup) hooked directly.
  • Resource entry names (getResourceEntryName): resource IDs survive obfuscation and are package-independent.
  • Kept public model packages such as tv.twitch.android.shared.chat.pub.messages.data, which R8 preserves.
  • Twitch's own GraphQL gateway for channel points, rather than the UI layer.

Some features can only be reached through Twitch's renamed internals. Those few names are pinned for each supported Twitch version, and the module picks the set that matches your Twitch, which is why a new Twitch release can break a feature or two until the module catches up.

Compatibility

Built and tested for Twitch 31.7.0 and Twitch 31.1.2, the versions named in each release; the module picks the right setup for the one you have. From Twitch 31.5, phones open live streams in a new screen whose chat is out of the module's reach, so the module keeps the classic stream screen (Use the classic stream screen in its settings). A Twitch version newer than the ones named will most likely break some features until the module is updated, since a few hooks rely on names Twitch changes in every release. If a feature stops working after a Twitch update, please open an issue with your Twitch version number.

What this module will never do

There is no ad blocking, and there are no money-related mods of any kind. That is a deliberate design decision, not a missing feature, and pull requests adding either will be declined.

  • No ad blocking. Ads are how Twitch and the streamers on it get paid. Ad volume only turns an ad's sound down: the ad still plays in full and counts for the streamer, and the live picture stays muted during it.
  • No Bits, subscription, Turbo or payment workarounds. Nothing here touches money, anywhere.
  • No view-botting, auto-chatting, or faked engagement.

We fully support Twitch and the people who make a living on it. This module is about the chat reading experience (emotes, badges, and readability), and it is not interested in taking anything away from the platform or from creators.

FAQ

Does this get my account banned? The module reads third-party emote APIs and uses Twitch's own GraphQL endpoints with your existing session. It does not automate chat messages or viewing. That said, any client modification is against Twitch's Terms of Service, so use it at your own risk.

Does it block ads? No, and it never will. See What this module will never do. Ads pay Twitch and the streamers; blocking them takes money out of creators' pockets.

Does it unlock subs, Bits, Turbo or anything paid? No. There are no money-related mods of any kind, deliberately.

Why doesn't my passkey work? A passkey is tied to the app's signing certificate, and a patched build is re-signed with a different key, so the saved credential no longer matches. Sign in with your password, or with the Google, Amazon or Apple buttons. This affects any patched build and cannot be fixed on our side.

How do I get the normal Twitch app back? Turn off PurpleTV enabled at the top of the module's settings and restart Twitch. See Turning it off.

Does it work without root? Yes, via LSPatch. See Installation.

Why do some favorites show as text instead of an image? The emote image is cached per channel. Favorites from a channel you are not currently watching fall back to their name until the image is fetched.

Contributing

Questions, ideas and show-and-tell go in Discussions. Bug reports go in Issues, and pull requests are welcome. When reporting a bug, include your Android version, Twitch app version, and whether you are using LSPosed or LSPatch.

Credits

Emote data is provided by the 7TV, BetterTTV and FrankerFaceZ public APIs.

Speech-to-text captions use sherpa-onnx by the k2-fsa project (Apache License 2.0; its download also contains ONNX Runtime under MIT and espeak-ng under GPL-3.0) and the Kroko ASR English model by Banafo (CC-BY-SA), converted for sherpa-onnx by csukuangfj. Both are separate downloads from the captions-pack-1 release, not part of this module. The other stream languages use ReazonSpeech k2 v2 by Reazon Human Interaction Lab (Apache-2.0), Meta's Omnilingual ASR (Apache-2.0), OpenAI's Whisper (MIT; the Twitch slang model is Whisper base.en trained further on spoken chat lines), Sber's GigaAM v3 (MIT, converted for sherpa-onnx by csukuangfj) and Silero VAD (MIT), from the captions-pack-2 to captions-pack-6 releases.

Offline translation uses ONNX Runtime by Microsoft (MIT) and the Opus-MT models by Helsinki-NLP, University of Helsinki (CC-BY 4.0), in the ONNX conversions by Xenova on Hugging Face. They are separate downloads from the translate-pack-1, translate-pack-2 and translate-pack-3 releases. The translate-pack-3 models are trained further on Tatoeba sentence pairs (CC BY 2.0 FR) and chat-style lines; the English to Japanese one starts from FuguMT by Satoshi Takahashi and both Japanese ones use JESC, so those two are CC-BY-SA 4.0.

Not affiliated with, endorsed by, or connected to Twitch Interactive, Inc.

License

Apache License 2.0. See LICENSE.


Keywords: twitch android mod, 7tv android, bttv android, ffz android, twitch xposed module, lsposed twitch, lspatch twitch, third party emotes twitch mobile, twitch emotes android app, betterttv android, frankerfacez android, twitch channel points auto claim, twitch chat transparency, purpletv, twitch mobile emotes

About

PurpleTV ReVive: continuation of the great work. Third-party emotes, badges, pronouns and chat tweaks for the Twitch Android app. No ad blocking, no money mods.

Topics

Resources

Stars

16 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages