Spatch GitHub

The Spotify app, with a new face.

Spatch patches the official Spotify app on Android so it opens to its own player, library and settings. Your account, playback and downloads stay Spotify’s.

For Spotify 9.2.0.2053 on 64-bit Android 10 or newer.

The Spatch player: round cover art inside a ring of bars, the current lyric line, the song title with its audio quality, a wavy progress line and a large play button, on a backdrop tinted from the cover.

Every screen is redrawn

Home: a greeting, the song that’s playing as a large card, Liked Songs and recently played playlists.
Home opens on what you’re playing and what you played last.
Library: a search field, filters for playlists, albums and artists, and a list of saved items with their covers.
Library lists everything you’ve saved, with search and filters.
Search: a switch between Spotify and On this device, and a search field for songs, albums, playlists and podcasts.
Search looks through Spotify, or only what’s on your phone.
Settings: Appearance, Playback, Equalizer and sound, Navigation and gestures, Downloads and storage, Developer and About.
Settings covers looks, playback, sound and storage.

What Spotify still does

Spatch changes the screens, not the service. Spotify still signs you in, streams and downloads music, runs Connect and keeps your library. Ads and account limits work as they do in the regular app.

See what’s new in the player

A closer look

The player, lyrics, queue, looks and sound, as they appear on the phone.

In the player

The cover sets the colour
The backdrop and controls take their tint from the artwork, and change with every song.
A ring that follows the music
Bars around the cover move with the song. Turn on Follow the music for the full effect.
Lyrics under the art
The current line sits below the cover. Full, synced lyrics are one tap away.
Seek on a wave
The progress line waves while the song plays and straightens while you drag.
Quality you can see
Lossless songs show their bit depth and sample rate under the title.
Every effect is optional
Blur, floating motes, haptics and animations each have their own switch. Reduce motion stills them all.

Lyrics that keep your place

Open lyrics from the player and the current line lights up as it’s sung. The column glides to keep it centred, lines you’ve passed fade back, and tapping any line jumps the song there.

Full-screen lyrics with the current line highlighted and the lines around it dimmed.

Everything is a tap from the player

The queue shows what’s playing and what comes next. The player menu has a sleep timer, Play on another device for Connect speakers, Share and the player’s own settings.

Your picture at the top of every page opens Profile, Queue, Downloads and Settings.

The queue: the song that’s playing, then four songs up next with their covers. The player menu open over the player, with Sleep timer, Play on another device, Share and Player settings.

Turn it sideways

Turn on Allow rotation and the app follows your phone into landscape. The player puts lyrics and Up next beside the cover, and switches between them by itself.

The rest of the app uses the width too. The navigator and mini player share one row, Library becomes a grid, and playlists show their cover beside the songs.

The player in landscape: the cover in its ring with the title and controls on the left, and synced lyrics on the right under Lyrics and Up next tabs.
Home in landscape: the playing song as a wide card beside Liked Songs and Up next, with the navigator and mini player in one row along the bottom.
Home puts quick picks beside what’s playing.
Library in landscape as a grid of large playlist covers.
Library switches between a grid and a two-column list.
A playlist in landscape: its cover, name, song count and buttons on the left, and the song list with a search field on the right.
Playlists keep the cover in view while you scroll the songs.

Make it look the way you like

Pick a palette, or let the app take its colours from each cover. Choose light, dark or the system setting, and an accent colour for songs without art.

The player’s visualizer can be bars, a ring, a contour or nothing. Spinning artwork, the bass pulse, the cover glow and the blurred backdrop each switch on and off on their own.

Appearance settings: palettes named Dynamic, Lavender and Gruvbox, the theme switch, Artwork colours, accent colours and Expressive type. Player visuals settings: visualizer styles Bars, Ring, Off and Contour, and switches for Follow the music, Spinning artwork, Artwork pulse, Cover glow and Blurred backdrop.

Tune the sound for your headphones

Drag a 10-band curve, start from a preset like Rock or Vocals, or load an AutoEq correction made for your headphone model. Bass boost, loudness compensation, reverb and a limiter sit on the same page.

Turn the curve off for a moment to hear the difference.

Equalizer and sound: a tone curve set to the Rock preset across ten bands from 31 Hz to 16 kHz, with Faders, Save, Copy and Reset buttons.

Install it in three steps

Spatch Manager does the work on your phone. You need Spotify 9.2.0.2053 and a 64-bit phone on Android 10 or newer.

  1. Get Spatch Manager

    Download spatch-manager.apk from the releases page and install it.

  2. Give it Spotify

    If Spotify 9.2.0.2053 is installed unmodified, the Manager uses it. Otherwise, choose the matching Spotify APKM.

  3. Tap Install Spatch

    The Manager patches Spotify, signs it with a key made on your phone and installs it. Nothing is uploaded.

The Manager keeps it up to date

Its Changes page lists what’s new in each nightly. Turn on Tell me about new patches and it checks twice a day, then updates Spatch in place with the same key, so your login and downloads stay.

Clones installs a second Spotify with its own name, icon, login and downloads, so you can keep the regular app as well.

Spatch Manager’s Changes page: Refresh and GitHub releases buttons above a timeline of nightly changes, newest first. Spatch Manager’s Clones page: an installed clone called Spotify Two with Open, Update and Uninstall, and a form to create a new clone.

Keep your key

Android only installs an update signed with the same key. Use Export key in the Manager and keep the file somewhere safe: without it, updating means uninstalling first, which removes your downloads.

Get Spatch Manager

Docs

Short guides to installing, tuning and troubleshooting Spatch on your phone.

Getting started

Spatch Manager patches Spotify on your phone, signs it with a key made there and installs it. You need a 64-bit phone on Android 10 or newer and Spotify 9.2.0.2053.

  1. Install spatch-manager.apk from the Spatch Manager releases page.
  2. If unmodified Spotify 9.2.0.2053 is already installed, the Manager uses it. Otherwise, tap Choose Spotify APKM and pick the matching APKM once; the Manager keeps it for future updates.
  3. Tap Install Spatch. Android asks once to allow installs from the Manager, then to confirm. Nothing is uploaded.

Updates: nightly vs release

Turn on Tell me about new patches in the Manager to check twice a day; tapping the notification opens straight into the update. Leave Nightly patches off to follow tagged releases, or turn it on to get each new nightly build as changes land. Updates replace only base.apk with the same key, so your login and downloads stay. On Android 12 and newer they install without a confirmation screen once the Manager has installed Spotify. Update manager appears when a newer Manager build is ready.

First launch

Fresh installs use Spotify’s own sign-in screen. Once signed in, Spatch loads your library and account from Spotify’s core; the first load needs a live connection rather than an old cache. Premium is what Spatch is built and tested with — free accounts currently have trouble loading and playing music.

Your signing key

Android only installs an update when the new APK is signed with the same key as the one already on your phone. The Manager creates a key on your device the first time you install Spatch.

Use Export key in the Manager to save a password-protected .p12 backup somewhere safe. If you switch phones or reinstall the Manager, use Import key to bring it back before updating.

If the key is lost, Android refuses to install updates over Spatch. You have to uninstall first and install fresh, which removes your offline downloads and local app data.

Keys from the desktop patcher

Import key also reads a .p12 keystore made with keytool for the desktop patcher, so the Manager can update a desktop-patched install in place. If Android can’t read a newer keytool file (AES encryption), re-export it with legacy encryption first, then delete the temporary key.pem file:

openssl pkcs12 -in your.p12 -nodes -out key.pem
openssl pkcs12 -export -legacy -in key.pem -out spatch-key.p12

Private sources and invites

An invite is a private link (an index.json address with a personal name and code after #) that lets Install Spatch download the exact Spotify APKM it needs automatically, so you don’t have to pick the file yourself.

To add one, paste the link under Spotify → Add an invite in Spatch Manager, or share the link straight to Spatch Manager from a chat app. The invite stays in the Manager’s private, non-backed-up storage. A saved APKM or unmodified installed Spotify still comes first if you already have one.

When downloading, the Manager sends your login only to the invite’s own host over HTTPS, selects only the entry whose version code and SHA-256 match the patch bundle, checks your phone’s Android version and ABI, and writes to a temporary file until both length and hash check out. Credentials are never forwarded if a redirect leaves the invite’s host.

Spatch never ships Spotify’s own files. If you want to run a private source for friends using spatch source, see the private source guide on GitHub.

Second Spotify (clones)

A clone installs a second Spatch beside the regular Spotify app (or another Spatch install), under its own package name such as com.spotify.music.two. Its package, content providers and app-owned permissions are renamed in every split, so it sits cleanly next to official Spotify.

  • Name and limit: give the clone its own launcher name and package suffix. The full package name can be up to 127 characters. Screens inside the app still say Spotify.
  • Own icon: optionally pick any picture on your phone as the clone’s launcher icon.
  • Own login and downloads: each clone keeps its own account session, settings and offline downloads. Clones are signed with your phone’s key and need that same key to update in place.

Settings tour

Tap your avatar at the top right of any screen to open Settings. Controls are grouped into seven pages.

  • Appearance: pick Dynamic colours or a fixed palette, Theme (System, Dark or Light), Artwork colours, accent colour, Expressive type and Material icons. Tune Artwork & visualizer (Visualizer style, Follow the music, Spinning artwork, Artwork pulse, Cover glow, Blurred backdrop, GPU effects, Frosted bars, Floating motes, Rotating stickers), Player layout & buttons (Allow rotation, Hide controls when idle, Quality line, top-bar buttons), Lyrics options, Motion & celebrations (Reduce motion, Playback confetti), Home shelves and Library sorting or grid view.
  • Playback: Spotify’s own switches (Streaming quality up to Lossless, Allow quality downgrade, Download over cellular, Normalise volume, Gapless playback, Automix, Crossfade, Play explicit content, Private session, Show unavailable songs — changing them updates Spotify too), Playback backend, and Keep screen on while the player is open.
  • Equalizer & sound: Sound processing switch, 10-band graphic equalizer, Headphone correction, Loudness & bass, Space, Gain & dynamics and Compatibility.
  • Navigation & gestures: Slide to switch across the bottom bar, Hide controls while scrolling, Double-tap artwork to play or pause, Swipe artwork to skip, Hold-to-seek step (5 s, 10 s or 30 s) and Haptics.
  • Downloads & storage: Offline mode (asks before turning on), your downloaded items and cache size.
  • Developer: Playback diagnostics, the Automation & intents reference and Refresh library.
  • About: build commit, host Spotify version, Android version, copyable build details, project links and license.

Sound

Turn on Sound processing in Settings → Equalizer & sound to shape audio playing on your phone. Every stage lives on this page.

  • Equalizer: drag the 10-band curve (31 Hz to 16 kHz) or switch to Faders, fine-tune any band in 0.1 dB steps, start from eight presets (Flat, Bass boost, Warm, Vocals, Treble boost, Rock, Electronic, Acoustic), or save, copy and reset your curve. Toggle Tone curve off to compare.
  • AutoEq headphone correction: open Headphone correction to search the AutoEq database for your headphone model or import custom GraphicEQ text, then tune Correction intensity. Uses up to 64 bands on Android’s DynamicsProcessing when supported.
  • Loudness & bass: Equal loudness applies ISO 226 compensation based on your media volume threshold; Bass boost adds low-end weight; Bass tuner lets you pick Natural, Transient or Sustain character, cutoff frequency and post-gain. Space adds Reverberation and Virtualizer; Gain & dynamics adds Automatic headroom, a Limiter and Left/Right channel balance.
  • Legacy compatibility: under Compatibility, turn this on if Spotify doesn’t expose an active audio session on your phone. It attaches to the global output mix, which may affect other apps’ audio. You can also set a preferred processing buffer (0 ms uses the device default).

What “device bands (fallback)” means

When a phone doesn’t support Android’s DynamicsProcessing effect (or refuses to open it), Spatch falls back to the phone’s built-in hardware equalizer and reports device bands (fallback) in Compatibility and Diagnostics. Basic tone shaping still works, while high-band AutoEq precision, the limiter and channel balance need DynamicsProcessing.

Lyrics

Tap the lyrics button in the player for full-screen synced lyrics, where tapping any line jumps the song there. You can also show one to three lines under the cover via Settings → Appearance → Lyrics in the player.

  • Spotify & LRCLIB: Spatch uses Spotify’s lyrics first. With More lyrics from LRCLIB on (enabled by default in Appearance), it checks lrclib.net when Spotify has no lyrics or only whole-line timing, adding word-by-word highlighting when available.
  • Timing nudge: if a song’s lyrics sit slightly early or late, use the − and + timing buttons in the lyrics header to shift them in 0.5-second steps for that track.
  • ExperimentalGenerate missing lyrics: in Settings → Appearance, this listens on your phone when no service has lyrics for a song, writes rough timed lyrics locally and saves them for next time. Turning it on downloads a ~60 MB speech model once; it uses extra battery while listening.

Widget and automation

Add the Spatch home-screen widget from your launcher’s widget picker for artwork and playback controls, or add the Spatch tile in Android’s Quick Settings shade for one-tap play and pause. Both remember the last-played track when Spatch is closed and wake playback in the background.

External control intents

Automation apps (Tasker, MacroDroid, Automate, KWGT, Termux or ADB) can send a Broadcast intent to package com.spotify.music (or your clone’s package, shown in Settings → Developer → Automation & intents) and component <package>/spatch.SpatchWidget. Always include the package or component name so Android 8+ delivers the broadcast. If Spatch is closed, playback wakes in the background without opening the main UI.

Action What it does Extras
spatch.action.PLAYResume playback (or last played at saved position)—
spatch.action.PAUSEPause playback—
spatch.action.TOGGLEToggle play / pause—
spatch.action.NEXTSkip to next track—
spatch.action.PREVIOUSSkip to previous track—
spatch.action.SEEKSeek within the current trackposition_ms (or position) in ms
spatch.action.PLAY_URIPlay a Spotify URIuri, optional context, shuffle, position_ms
spatch.action.SHUFFLESet shuffle stateenabled / shuffle (bool) or mode (0/1)
spatch.action.REPEATSet repeat modemode (0 off, 1 all, 2 one)
spatch.action.QUEUEAdd a track to the queueuri

ADB examples

# Resume last played in the background
adb shell am broadcast -a spatch.action.PLAY -n com.spotify.music/spatch.SpatchWidget

# Play a specific track at 30 seconds
adb shell am broadcast -a spatch.action.PLAY_URI -n com.spotify.music/spatch.SpatchWidget \
  --es uri "spotify:track:4cOdK2wGLETKBW3PvgPWqT" \
  --el position_ms 30000

# Seek to 1:00
adb shell am broadcast -a spatch.action.SEEK -n com.spotify.music/spatch.SpatchWidget \
  --el position_ms 60000

Official playback fallback

Official playback fallback lets you browse and control music in Spatch (typically installed as a clone) while the installed, official Spotify app plays the audio. Enable it under Settings → Playback → Playback backend → Official Spotify fallback, and keep official Spotify installed and signed into the same account.

Spatch mirrors playback state and controls using Android’s notification access permission, restricted to com.spotify.music only (it never reads or logs notification text). On newer Android builds, if the switch is greyed out as a restricted setting, tap it once, then open your clone’s App info → ⋮ → Allow restricted settings and return to enable access. Auto-return after handoff (on by default) brings Spatch back to the front once Spotify starts playing.

Normal Spotify ads and free-account limits still apply. Built-in EQ, clone downloads, Connect transfers and some queue or shuffle controls remain in the official app while fallback is active. You can switch back to Built-in player at any time.

ExperimentalApp Remote: for in-app playback control without switching over to official Spotify, Playback backend also includes optional App Remote settings (Client ID, Redirect URI, package & SHA-1 copy and Connect App Remote).

Troubleshooting

Common snags and where to look first.

  • Library stuck on “Connecting”: Spatch retries automatically now. Give it a few seconds, tap Retry if shown, or run Settings → Developer → Refresh library. Check that you’re signed in and online for the first load.
  • “Signed with a different key” error: Android blocks updating an app signed with another key. Either import the original .p12 key in Spatch Manager, uninstall the existing app first (this clears downloads), or install Spatch as a Second Spotify clone.
  • Play Protect prompt: because Spatch is signed with your own key on your phone, Play Protect doesn’t recognize it. Choose More details → Install anyway (or Install without scanning) if asked.
  • Downloads and offline mode: long-press a song or hold the player cover to download it; downloads appear in Library → Downloaded and Settings → Downloads & storage. If browsing or search won’t load anything, check that Offline mode is turned off in Downloads & storage.
  • Where logs are: open Settings → Developer → Playback diagnostics to view and copy connection, playback, library, search and audio-effect details. Your Profile page’s Connection card also has Copy details.

Building from source

Building locally needs Rust (2024 edition), a JDK, apktool, Android SDK platform 35+ with build tools, the matching Spotify APKM, and the ARM64 Rust library build (via cargo-ndk) for signed patches and bundles.

cargo build --release
./target/release/spatch inspect input.apkm
./target/release/spatch patch input.apkm --out out-dir --dry-run
./target/release/spatch bundle input.apkm --out spatch-bundle.zip

Full build steps, checks and source layout live in the Spatch repository on GitHub and docs/development.md.

Questions

What people ask before they install.

Do I need Spotify Premium?

Premium is what Spatch is built and tested with. Free accounts currently have trouble loading and playing music in Spatch.

Can I keep the regular Spotify app too?

Yes. The Manager can install Spatch as a second Spotify with its own name, icon, login and downloads, next to the one you already have.

Is anything uploaded?

No. The Manager patches Spotify and signs it on your phone, with a key it makes there. It only downloads the patch from GitHub.

How do updates work?

Turn on Tell me about new patches and the Manager checks twice a day. Updates install over the top with the same key, so your login and downloads stay. On Android 12 and newer they install without a confirmation screen.

What happens if I lose the signing key?

Android only accepts an update signed with the same key. Without it, you’d have to uninstall Spatch to update, which removes its downloads. Use Export key in the Manager and keep the file somewhere safe.

Which Spotify version does it work with?

Spotify 9.2.0.2053. If that version is installed unmodified, the Manager uses it. If not, give the Manager the matching APKM file once and it keeps it for updates.

Is Spatch made by Spotify?

No. Spatch is an independent, open-source project under the MIT License. It changes how the Spotify app looks on your phone and nothing else.

Changelog

What’s being worked on, then every change to Spatch, newest first.

What’s next

  • A new Spatch Manager

    The Manager is being rebuilt from scratch as a separate app. It will install beside the current one, so you can try it without giving anything up.

  • Free accounts

    Free Spotify accounts can’t load or play music in Spatch yet. Finding out why, and fixing it, is a priority.

Every change

Each change builds a new nightly, which the Manager installs when Nightly patches is on.

Loading changes from GitHub…