Skip to content

Releases

Beta v5.6.4

Choose a tag to compare

@github-actions github-actions released this 06 Nov 09:31

🚀 Rustify 5.6.4

Rustify is no longer only an Android app. The same app — the same screens, the same Rust core — now
runs on Windows, Linux, macOS, iOS and in the browser, served by rustify-server from your own
computer or NAS. Android itself barely changes: a few fixes and small additions on top of 5.0.0.
Install it over any previous version; everything you have is kept.

App 5.0.0b → 5.6.4b · Rust core 5.0.0 → 5.6.4

Why 5.6.4: 5.0.0, plus 0.1 for the fixes, 0.5 for the five new platforms and 0.0.4 for the extra
architectures (Linux arm64, Mac Intel, server arm64 and armv7).

Which file:

Platform File
Android 10+ android-arm64-v8a.apk (almost every phone), android-armeabi-v7a.apk (older 32-bit), android-x86_64.apk (emulators, Chromebooks)
Windows 10/11 windows-x86_64.msi or -setup.exe; -portable.zip keeps its data next to itself
Linux .deb, .rpm, .AppImage or -portable.tar.gz, for x86_64 and aarch64
macOS macos-arm64.dmg (Apple Silicon) or macos-x86_64.dmg (Intel)
iOS 16+ ios-unsigned.ipa, installed with AltStore or SideStore (they sign it with your Apple ID)
Web rustify-server-…-linux-<arch>.tar.gz (x86_64, aarch64, armv7)

The desktop and iOS builds are not signed with a paid certificate: Windows asks through SmartScreen
(More info → Run anyway) and macOS the first time you open it (right-click → Open).


🖥️ One app, six platforms

  • Windows, Linux and macOS. The phone's app in a desktop window, laid out like the tablet. It plays
    through the core's own audio engine with the phone's effects (equaliser, normalisation, fades,
    speed, stereo tools, skip silence). Spotify's sign-in opens in the system's own browser engine, as
    on the phone. Local music, downloads, a tray icon, rustify:// links, updates from inside the app.
    The DJ talks, and can use a local model for the DJ, the chat and lyric translation: Ollama, LM
    Studio, llama-server, or its own on CUDA, Vulkan or Metal.
  • iOS. The same interface on the iPhone, with background audio, the lock screen and Control
    Center, your session kept in the Keychain, and your music folders kept across launches.
  • The web. rustify-server puts the core behind an HTTP API and serves the whole app as a web page:
    play, search, lyrics, video, Jam, downloads to the server's folder and Drive sync, from any
    browser in your home.
    • Nothing to copy. On the computer the server runs on, the page simply opens. From your other
      devices, the first visit from your home network creates an account (a name and a password);
      each browser asks once and remembers it for a year.
    • Spotify in one click when the server has a screen: it opens Spotify's own sign-in window. A
      server without one gets your session from the phone or desktop app (Settings → Integrations →
      Your Rustify server
      ).

🔄 Google Drive, everywhere

Drive sync now works on every platform, the web included, and carries pick up where you left off
too. A phone that was offline for days merges with what the others did meanwhile: nothing is
overwritten, and a place you removed on one device does not come back from another.

5.0.0's APKs shipped without Drive (the build was missing its Google client). 5.6.4 has it again.

✨ New on Android too

  • Search inside an album, like the search in playlists: the track keeps its number, and playing a
    result plays the album from there.
  • Play and Shuffle on Liked Songs, two small buttons above the list, like albums and artists have.

🐛 Fixes

  • The manual queue is first-in, first-out again. In 5.0.0, songs added to the queue could end up
    in front of the ones added before them (a song queued twice, or a row dragged into the middle,
    was enough). They now always go behind what you queued earlier.
  • "Pick up where you left off" after a radio. When an album, playlist or artist ends and its
    radio takes over, the row now says X radio instead of pretending to be X.
  • Searching for initials. t.n.t matched almost everything, because each dot split it into
    single letters. Now t.n.t and tnt find T.N.T., and acdc finds AC/DC.

🔭 Known, for next time

  • Synced lyrics follow the song, but scrolling them by hand jumps back to the current line; for now,
    pause to read ahead.

Beta v5.0.0

Choose a tag to compare

@PabloSoage PabloSoage released this 03 Nov 01:15

🚀 Rustify 5.0.0

Everything since 4.8.2: listening together, your own music server, sound tools, a home-screen widget
and a long list of playback fixes. Install it over any previous version; everything you have is
kept.

App 4.8.2b → 5.0.0b · Rust core 4.8.2 → 5.0.0 · 354 tests in the core, 197 in the app.

Which APK:

  • arm64-v8a: almost every phone.
  • armeabi-v7a: older 32-bit phones.
  • x86_64: emulators and Chromebooks.

The baselineProfiles zip is optional: it makes the first start faster when you install with
adb install-multiple, as the README explains.

The APK is smaller too: 50 MB for arm64, against 81 MB for 4.8.2, because yt-dlp now uses Rustify's
own audio-only FFmpeg.


👥 Jam: listen together

One phone hosts the queue; the others join with a 12-character code and play it in step on their own
phone, wherever they are. Guests can skip, go back and pick a song from the queue. Pausing stays on
your own phone, so a guest taking a call does not stop the room. The host can remove anyone.

It is in the home menu and in the queue. It goes through a public MQTT broker by default, or your
own (Settings → Audio & backends → Jam). It is end-to-end encrypted: the room code never leaves the
phones, the broker sees only a hash of it, and the queue travels sealed with ChaCha20-Poly1305 under
a key derived from the code.

🗄️ Your own music server

A Subsonic-compatible server (Navidrome, Gonic, Airsonic…) is one more audio source. Settings →
Audio & backends → Own music server. A song the server has plays from your file at its own quality; one
it does not have goes to the next source. It asks for the stored file, never a transcode. The source
turns itself on once the server answers.

🎚️ Sound

  • ReplayGain from the file's tags, in an automatic track/album mode, now the default.
  • AutoEq per output: a correction profile for each pair of headphones, applied when they connect.
  • Stereo tools: crossfeed for headphones, balance, mono for one earbud, voice reduction for
    karaoke.
  • Bit-perfect USB on Android 14 and later: a USB DAC receives the file's own sample rate, with
    nothing in the app in the way.
  • Equaliser apps (Wavelet and the system ones) now see Rustify's audio session.
  • Speed and pitch, A-B repeat, skip silence, a fade on pause and resume, and a sleep timer that
    can count songs.

🎧 Playback

  • Headphones or Bluetooth disconnect: pause, and resume if they come back within a minute (the
    car starting).
  • The network drops: songs are no longer skipped, and a stream that was cut resumes where it
    stopped. After three failures in a row it stops instead of emptying the queue.
  • The whole song is buffered, not just the first 50 seconds.
  • Long tracks remember their place.
  • Shuffle by album, and an option for "previous" to always go back a song.
  • Saved queues: keep the queue under a name and switch between them.
  • Blocklist: songs and artists you never want. The radio never adds them and the queue skips
    them; chosen by hand, they still play.

📚 Library and listening

  • Local library: a folder view, M3U import and export, artist tags split on separators you choose,
    lyrics read from the file itself.
  • Tempo: measure the BPM of a local track from its menu.
  • Scrobbling to ListenBrainz and to Last.fm (with your own Last.fm API key), queued while offline.
  • Metrics: export a ranking as CSV.
  • Lyrics translation with Gemini Nano now reads the whole song for context.
  • Downloads keep their original format instead of being re-encoded to MP3.

📱 Outside the app

  • A home-screen widget, a Quick Settings tile and launcher shortcuts.
  • Headphone button: two and three presses do what you choose.

🐛 Fixed before release

Found by testing this version on three devices:

  • The release build crashed at start. The widget's library brought an old WorkManager that the
    release optimizer (R8) breaks. Debug builds are not optimized, so they never showed it.
  • Jam:
    • a real queue was larger than the MQTT client's default limit, which broke the host's connection;
    • joining failed when the public broker was slow to answer;
    • a guest had no way in before playing something.
  • Subsonic: a server that answered was still left switched off.

⏱️ Measured

On a Xiaomi Pad 6S Pro (Android 16), release build against release build, median of five cold
starts, signed out:

Cold start Memory (PSS)
Rustify 5.0.0 246 ms 178 MB
Spotube 6.0.0-beta.0 401 ms 208 MB

Not yet tried on real hardware

  • Bit-perfect USB: no DAC was at hand.
  • Last.fm: no API key was at hand.

Both are covered by tests. If one of them misbehaves for you, please open an issue.

Beta v4.8.2

Choose a tag to compare

@PabloSoage PabloSoage released this 22 Oct 19:12

🚀 Rustify 4.8.2

Fixes a release-only bug introduced in 4.7.0 that broke Gemini Nano, lyrics translation and
language detection. Install it over any previous version; everything you have is kept.

App 4.8.1b → 4.8.2b · Rust core 4.8.1 → 4.8.2 · 310 tests in the core, 110 in the app.

Which APK:

  • arm64-v8a: almost every phone.
  • armeabi-v7a: older 32-bit phones.
  • x86_64: emulators and Chromebooks.

The baselineProfiles zip is optional: it makes the first start faster when you install with
adb install-multiple, as the README explains.


🐛 Fix: on-device AI worked in debug but not in release builds

R8 (the release optimizer) removed constructors that ML Kit loads by reflection, so every ML Kit
feature — Gemini Nano for the DJ and the chat, lyrics translation and language detection — failed
silently in the release build. The app reported "this phone has no on-device AI (AICore)" on a phone
that has it, and translation icons stayed grey. Debug builds were not affected because they skip R8.

What was wrong: ComponentRegistrar classes (the entry points ML Kit discovers from the
manifest) had their no-argument constructors stripped. ML Kit's ComponentDiscovery instantiates
them by reflection; with no constructor, it threw and every downstream feature read as unavailable.

The fix:

  • A ProGuard rule keeps every ComponentRegistrar constructor: -keep class * implements com.google.firebase.components.ComponentRegistrar { public <init>(); }.
  • The AICore status check now logs its failure instead of swallowing it as "unsupported", which is
    what hid the problem in 4.8.1.
  • Synchronized version bump: app 4.8.2b and Rust core 4.8.2.

Affected versions: every release build from 4.7.0 (when ML Kit was first added) through 4.8.1.
Debug builds were never affected.

Beta v4.8.1

Choose a tag to compare

@PabloSoage PabloSoage released this 22 Oct 17:46

🚀 Rustify 4.8.1

What changed since 4.8.0. It was tested on a POCO F8 Ultra (Snapdragon 8 Elite Gen 5). Install it
over 4.8.0; everything you have is kept.

App 4.8.0b → 4.8.1b · Rust core 4.8.0 → 4.8.1 · 310 tests in the core, 110 in the app.

Which APK:

  • arm64-v8a: almost every phone.
  • armeabi-v7a: older 32-bit phones.
  • x86_64: emulators and Chromebooks.

The baselineProfiles zip is optional: it makes the first start faster when you install with
adb install-multiple, as the README explains.


🤖 The Gemini Nano chat now controls the app

You can find it in Settings → Advanced → Chat with Gemini Nano. Besides answering, it now does what
you ask:

  • Play: "play something by Queen" plays a song and then similar music.
  • Queue: "add Hotel California to the queue".
  • Find: "find songs by Fleetwood Mac" lists songs. Tap one to play it, or use + to add it to the
    queue.
  • Mix: "make me a chill mix for studying" starts a DJ set.
  • Playback: pause, resume, skip and go back.

Each answer takes about 2 seconds on a Snapdragon 8 Elite Gen 5.

Photos: send it a photo of an album cover and it tells you which album it is. Then say "play it"
and it plays that album. On the phone tested, it named Hotel California from its cover. Whether
the chat can read photos depends on the Gemini Nano model your phone has.

It only acts when your message asks for something, in English, Spanish or Japanese. A question such
as "what album is this?" gets an answer and nothing else.

What stays on your phone: the conversation itself never leaves it. When you ask the chat to play
or find something, only that search goes out, the same as any other search in the app.

📸 README

The README has new screenshots of what 4.8 added:

  • find in a playlist;
  • the audio lab: mel spectrogram, the song's key, and every ARM path measured;
  • the Gemini Nano chat: an answer, acting on the app, finding songs, and a cover photo;
  • the Gemini Nano panel.

Beta v4.8.0

Choose a tag to compare

@PabloSoage PabloSoage released this 22 Oct 15:56

🚀 Rustify 4.8.0

Everything since 4.7.0. Tested on a POCO F8 Ultra (Snapdragon 8 Elite Gen 5) and a Xiaomi Pad 6S Pro
(Snapdragon 8 Gen 2). Install it over 4.7.0 and everything you have is kept.

App 4.7.0b → 4.8.0b · Rust core 4.7.0 → 4.8.0 · 310 tests in the core, 104 in the app.

Which APK:

  • arm64-v8a: almost every phone from the last ten years.
  • armeabi-v7a (new): older 32-bit phones.
  • x86_64: emulators and Chromebooks.

The baselineProfiles zip is optional. It holds the .dm files that make the first start faster when
installed with adb install-multiple; the README explains how.


🔋 Longer battery while listening

  • The phone's audio chip plays the music. With the screen off, the audio DSP decodes the song
    and the processor sleeps for minutes at a time. On a POCO F8 Ultra the app did not wake once in 90
    seconds.
    • It is on by default, under Settings → Audio → Sound, on phones that support it.
    • It steps aside by itself while the processor is needed: for the equalizer, the fade between songs,
      the video or the audio lab.
  • Your listening stats still count every minute played while the processor slept.
  • Closing the app no longer lets a few seconds of an offloaded song play on.

🔎 Find in a playlist

A search box at the top of every playlist (#2):

  • It looks at title, artist and album, ignoring accents.
  • It searches the whole playlist, not just the part that has loaded.
  • Playing a result plays the playlist from that song.

🤖 Gemini Nano, on your phone's AI chip

  • Works with Android's regular AICore. You do not need the beta program.
  • Settings → DJ shows the model download with its progress, the model's name and a check for updates.
    There is also a shortcut to AICore's storage: the model belongs to Android, and other apps use it too.
  • If a download was already running when you opened the screen, Rustify follows it. It used to stay on
    "downloading" after the model had arrived.
  • The DJ loads the model while you choose a mood. The first answer came in 6.7 s instead of 12.5 s.
  • Chat with Gemini Nano (Settings → Advanced): ask anything and you can attach a photo.
    • Answers appear as they are written; the first word arrives in about 1.4 s.
    • Nothing leaves the phone.

🎛️ Audio lab

Settings → Advanced → Audio lab shows what is playing as you hear it:

  • the waveform;
  • the spectrum;
  • a spectrogram, on a logarithmic scale or on the mel scale (how the ear spaces pitch).

The key of the song, for example "A minor", with a bar for each of the twelve notes. It is read
from the last few seconds of music. It can confuse a key with its relative, because both use the same
notes: E minor may show as G major.

Your processor's own instructions do the work:

  • The lab uses hand-written code for each generation of ARM chip: NEON, SVE2, BF16 and SME, the
    matrix unit of the newest chips.
  • The lab shows which of these your phone has, lets you switch between them, and measures each one.
  • "Auto" uses whichever was measured fastest on your phone, not the newest:
    • for the spectrum (FFT), NEON;
    • for the key and the mel bands, SME. On a Snapdragon 8 Elite Gen 5, SME is 9× faster than NEON there.

⚡ Faster everywhere

The core is now built so the compiler can use vector instructions. On a Snapdragon 8 Elite Gen 5:

  • reading Spotify's answers got 25–50% faster;
  • Deezer decryption got about 25% faster.

The library is 3% larger.

🎤 Lyrics translation that tells you what it is doing

  • Japanese, Korean and Chinese are recognised by their script. A Japanese song with a few English
    lines is no longer taken for English.
  • Romanised lines under each line are left alone instead of being echoed back in capitals.
  • A song in your own language with a few lines in another is no longer "translated" into broken
    text: each line is judged on its own.
  • It says when it is downloading a language. When it does not translate, it says why: the lyrics are
    already in your language, the text is romanised, it cannot translate that language, or there was
    an error.

📱 Tablets and older phones

  • A 32-bit APK (armeabi-v7a) for older phones. Tested on a Snapdragon 8 Gen 2 running in 32-bit
    mode, with all core tests passing.
  • On a tablet the now-playing cover fills the screen. It was a small square in landscape.
  • Search categories use the full width: six columns on a tablet in landscape.
  • The translate button no longer covers long lyric lines, and in portrait the cover leaves the lyrics
    in view.

🧹 Fixes

  • The travel map's basemap note was in English in every language.
  • Opening a playlist from another playlist and coming back no longer breaks the first one's search.
  • The audio chip takes over again when you leave the app with the audio lab open. Before, that stayed
    off.
  • Turning on the equalizer or the fade in the middle of a song takes effect right away, not from the
    next song.
  • The Video tab keeps the sound in step with the picture.

🛠️ For developers

  • The debug build installs beside the release app as "Rustify Debug", with its own package id.
  • The C kernels are built with branch protection (PAuth and BTI).
  • Benchmarks: JSON parsing, FFT and matrix kernels, and LSE atomics. LSE was measured and not enabled,
    because it gave no clear gain on the phone.

Beta v4.7.0

Choose a tag to compare

@PabloSoage PabloSoage released this 21 Oct 15:00

🚀 Rustify 4.7.0 — the 4.x series

Everything since 3.7.4, the last release: 4.0 to 4.7 were betas, and this is all of them in one
update. Install it over 3.7.4; your library, downloads, mappings and stats are kept.

App 3.7.4b → 4.7.0b · Rust core 3.7.4 → 4.7.0. The listening history moved into the core in
4.0, so an older core library cannot run this app (the APK carries the right one).

Times below were measured on the Android emulator, not estimated.


⚡ Songs start in seconds, not half a minute

  • YouTube without yt-dlp. The core fetches the audio itself, in one request, the way YouTube's
    own apps do. A song never played before went from 37.6 s tap-to-sound to about 5 s; one
    played before, about a second. It is "YouTube (direct, fast)" in Settings → Audio.
  • Sources race instead of queueing. If the first source has not answered in 4 seconds the next
    one starts, and whichever answers first plays — no more 40 seconds of silence behind a source
    that hangs.
  • Two songs ready ahead, so skipping twice lands on a song that is already resolved.
  • One lookup per song, even when playing and pre-loading ask for it at the same moment.

🎚️ Audio sources, in the right order

The default order follows speed and how well each source survives changes on the other side:

  1. YouTube (direct, fast) — the fastest; a change at YouTube can break it until an update.
  2. yt-dlp — slower, but it updates itself, so it is the dependable one behind the first.
  3. Your add-ons.
  4. Invidious and Deezer — last, and off unless you turn them on (public Invidious
    instances are blocked more often than not; Deezer needs an ARL that expires).

Updating puts your list in this order once, keeping each source on or off as you had it; anything
you drag afterwards stays where you put it. The download list no longer offers the direct YouTube
source, which can only stream.

🔓 No account needed

  • No login wall. The app opens without a Spotify account: local music, YouTube Music, search,
    downloads and your stats all work, and signing in is offered only where Spotify is what is
    missing.
  • Home without an account shows what you played lately, the charts (Top 50 and Viral, global
    and for your country) and mood playlists.
  • Home offline keeps your last Home and shows a notice instead of an error screen.
  • Song radio, credits, recommendations, artist pages and search all work signed out.

🐢 No more "Rustify isn't responding"

A cold start with no network blocked the app for about 4.8 s; it now starts in 2.4 s with no pause
over 0.7 s. Settings → General no longer measures every file the app keeps before it can appear.

🎧 Playback

  • Same volume from song to song, using the loudness YouTube measures for each upload (Settings
    → Audio → Normalize volume, on by default; local files are left alone).
  • Fade between songs (Settings → Audio → Sound): the end of a song fades out and the next fades
    in, 1 to 12 seconds. Off by default.
  • Sleep timer (the moon on the song screen): 15–60 minutes or "end of this track", fading out
    over the last ten seconds and pausing rather than stopping.
  • Equalizer with your phone's presets and bands.
  • Queue reordering rebuilt. Dragging a song to the top of a long queue used to jump, drop it in
    the wrong place, and — because the drop was not saved — play the songs in the old order. Now the
    list scrolls under your finger, the other songs move out of the way, and what you see is what
    plays.

🎤 Lyrics

  • Spotify's own lyrics first when you are signed in, matched to the exact track; LRCLIB and the
    rest take over otherwise.
  • Translate lyrics on the phone (the translate button on the lyrics panel): each line gets its
    translation underneath, following the highlight, and lines appear as they are translated.
    Offline once the language's model (~30 MB) is downloaded; nothing is sent anywhere.

🔎 Search and discover

  • Search before you type — your recent searches (remove one or all) and genre and mood tiles
    that open playlists, Spotify's own first. It used to be an empty screen with one line of text.
  • Credits — the track menu shows who wrote, played and produced a song, with the label.
  • Recommended — ten songs that fit any Spotify playlist, under it; "Refresh" brings others.
  • Artist pages now have About: monthly listeners, world rank, the biography, the cities that
    listen most and upcoming concerts. "Fans also like" was always empty and works again.
  • Song radio plays the song's real radio instead of searching for a playlist with the right
    name.

🤖 DJ

  • On your phone's AI chip. The DJ's on-device mode runs Gemini Nano through Android's AICore,
    which uses the phone's NPU where there is one — offline, no key, nothing leaves the device.
    Settings shows whether your phone has it and downloads the model once. Phones without it use the
    built-in DJ instead.
  • One-tap moods — chill, focus, party, workout, happy, sad — and "more like" your three most
    played artists. Moods now play playlists made for that mood; asking for "chill" used to search for
    a song called "chill" and play its radio.

📊 Your listening

  • Every play kept. The history used to be cut to the last 5,000 plays — also after an import,
    which deleted your newest plays while saying "added N". It now has no ceiling.
  • Imports read Spotify's exports correctly (end time, not start; UTC for the older files) and
    importing the same file twice adds nothing.
  • Streaks, records per artist (bronze to platinum), and "vs the previous period".
  • Your year in music — Metrics → "Your 2026 in music": minutes, top artist and song, and what
    kind of listener you are, as cards you swipe through and can share as an image.
  • Clearer numbers: "24 min" instead of "0 hours", no duplicated cards, chips that fit.

☁️ Sync between devices

  • The Google Drive backup records which device wrote it, by the name you gave the phone (or its
    model), and Settings → Drive says "Brought in changes from …" when a sync merged another
    device's — so you can tell the tablet's changes reached the phone.

🚗 Android Auto

  • Search from the car, also without an account.
  • Shuffle / repeat button next to the heart (it also shows in the notification).
  • Recently played in the root.
  • Albums and playlists as a grid of covers; a song inside a Spotify playlist that was not in
    your liked songs now plays.

🗺️ Travel playlist

The street and night maps were blank (their provider started asking for a key); they use
OpenFreeMap now. Typing a city finds the city first, picking a suggestion no longer reopens the list
over the route, and the panels are no longer see-through.

🧹 Fixes

  • Nine screens left an empty band above their title.
  • Text that appeared in Spanish in every language (queue, match editor, video picker, video quality)
    or in English in every language (playlist editor, album labels, counts) is translated; "1 tracks"
    is "1 song".
  • "Remove from playlist" only shows where it can work.
  • On a narrow phone the now-playing controls were squeezed; they keep their size now.
  • Albums and playlists opened from a link had no title.
  • The travel map's Destination/Origin and Route/Manual selectors were dark with black text.
  • New releases explains why it is empty without an account.
  • The search bar's hint no longer wraps onto two lines.
  • One switch style everywhere; the sound settings have their own heading.

🛡️ Privacy and under the hood

  • The in-app web player blocks a set of logging, crash-report and ad hosts out of the box, before
    its filter lists have even downloaded.
  • Sign-in and public reads no longer depend on credentials or files kept by third parties.
  • The core is clean under clippy and CI enforces it; two tests that failed now and then (casting,
    local-file matching) share their global state safely.
  • The choice of where each song's audio comes from is one tested function; the app's root screen,
    the login screen, the miniplayer and Settings' General are no longer buried inside two
    2,000-line files.
  • 299 tests in the Rust core and 82 in the app.

Beta v3.7.4

Choose a tag to compare

@PabloSoage PabloSoage released this 23 Sep 21:51

🚀 Rustify Beta v3.7.4

Invidious plays again, the web player works on tablets, and an honest account of why the desktop
web player still does not.

App 3.7.3b → 3.7.4b · Rust core 3.7.3 → 3.7.4 — not one line of Rust changed. The core
version follows the app's as always and moves as a number only. An old .so behaves identically.

Everything below was measured on a real device — a Mi Pad 6S Pro over adb, with the web player
inspected through DevTools — rather than reasoned out from the code.


🎯 Invidious plays again

With Invidious as the only backend, nothing played, and the chain gave up with
invidious: 25198 ms of 15000 -> timed out. Four separate things were wrong, and each one alone
was enough to keep it silent.

Invidious split in two, and the app only knew the old half. Since 2025 an Invidious deployment is
usually two services: Invidious itself, and Invidious Companion, which does the actual stream
extraction. On such an instance /api/v1/videos/{id} answers 200 with an empty body. Checked
against the whole public directory: of the six instances the app shipped with, three answered
403 Endpoint disabled, two did not answer and one redirected away; of the directory's seven,
exactly one has its API open, and it works only through its Companion. The app now asks the API
first — still right for a self-hosted instance that extracts on its own — and then the Companion,
which the instance names in its own Content-Security-Policy.

A success that played nothing. On one instance the API returned 24 formats whose URLs all pointed
at a host behind a bot check — so every one of them answered 200 text/html, a "making sure you're
not a bot" page, which would have gone to the player as a working stream. Every candidate URL is now
checked by asking for one byte and requiring audio back.

The time limit did not hold. The provider made blocking network calls, which do not notice being
cancelled, so the chain's 15-second budget only took effect when a dead server finally gave up on
its own — measured at 25 seconds. Calls are cancellable now: 15004 ms of 15000.

Every dead instance cost ten seconds. A host that does not answer used to be tried three times per
song. It is now tried once, remembered as down for ten minutes, and the last instance that worked is
tried first.

The result, on the tablet: the first song resolves in 10 s, the next one in 2.5 s. Opus
through the Companion, and seeking works without resolving again.

Honest caveat. Public Invidious currently rests on a single working instance, and it is not
steady — it answered 502/504 for a while during testing and then came back. It is fine as a
fallback. As a primary backend, run your own Invidious + Companion: add it as a custom instance and
the app finds a Companion mounted at /companion on the same host.

📱 The web player on tablets

On a tablet, the web player's mobile mode never played anything: Spotify answered "Navegador no
compatible — Spotify no está disponible en este navegador"
. The app presents the page with the
system WebView's own user agent, and on a tablet that agent has no Mobile in it — a combination
Spotify does not recognise. On a phone the token is already there, which is where the mobile mode had
been validated and why this went unnoticed.

The user agent now always presents a phone. Verified on the tablet: asked for Blinding Lights, the
page registered as a mobile player, received the track, fetched it and played it — the requested song,
not a shuffle.

🔐 "Session expired" after you had just logged in

If Spotify ended your session, the app sent you to the login screen with Saved session expired.
You logged in, the app let you in — and Home still showed the same message, with a retry button, over
a session that was working fine. The login cleared everything except that message; only the retry
did. It is cleared when the login succeeds now.


🔍 The desktop web player: what we now know

It still does not play. This release does not change that, but it does change what is known about
it, and that is worth writing down — because the answer looks like Spotify's decision, not a bug
in Rustify
.

Side by side, the same account, the same network:

Chrome on Windows Rustify's web player, desktop mode
Registers as Web Player (Chrome) · Windows · desktop identical
Formats, licence the same 8 formats · free-tier tft identical
The play command accepted accepted
0.8 s later the server sends the track to play nothing, ever

The page asks for exactly the same thing. The server gives Chrome something to play and gives the app
an empty playlist, so the player never requests any audio — without an error of any kind.

What sets the two apart, measured:

  • The Android WebView adds X-Requested-With: com.varuna.rustify to every request — the app's
    own package name. On this device's WebView it cannot be removed: the API that would do it
    reports itself unsupported.
  • The desktop page loads reCAPTCHA Enterprise; the mobile page, which plays, does not. And
    something inside the WebView asks Google's Play Integrity for a token — the mechanism a service
    uses to verify which app is embedding the browser.

Put together, the likeliest reading is that Spotify refuses on-demand desktop playback to a browser
embedded in an app it does not recognise, on purpose. That is a well-supported reading, not a
proven one
— but if it is right, there is nothing on this side to fix.

Also settled along the way, so nobody chases them again:

  • The reject(undefined) that closed 2.12.14's investigation is a 5-second timer in Spotify's
    group-listening ("Jam") code, not the player.
  • The web player's page runs in a 0×0 viewport, because its WebView is kept off-screen so audio
    survives leaving the screen. That is real, and it is not the cause: given a real size, nothing
    changes.
  • Rustify's own page patches are not the cause either: a pass with none of them fails the same way.

Use the mobile mode (Settings → Audio, "play with the desktop page" off). It works on phones and
now on tablets, and it plays the song you asked for.

⚠️ Known issue

In desktop mode, while it waits for the page to start, the app re-sends the play command about every
1.5 seconds — nine times in eleven seconds when measured. Against a server that is not going to
answer, that does nothing useful. Not fixed in this release.


📦 Installation

adb install-multiple app-arm64-v8a-release.apk app-arm64-v8a-release.dm

Or install the APK normally, or update from inside the app (Settings → refresh icon).

Reminder: a reinstall clears the battery exemption — check Settings → Audio → Background
playback.

The Rust core is unchanged, so nothing needs rebuilding. Gradle rebuilds it anyway as part of
a normal build.

Full Changelog: v3.7.3-beta...v3.7.4-beta

Beta v3.7.3

Choose a tag to compare

@PabloSoage PabloSoage released this 21 Sep 23:31

🚀 Rustify Beta v3.7.3

The login screen, which showed nothing at all on a clean install.

App 3.7.2b → 3.7.3b · Rust core 3.7.2 → 3.7.3 — not one line of Rust changed. The core
version follows the app's as always and moves as a number only. An old .so behaves identically.


🎯 Tap "Login to Spotify", get a blank screen

Install Rustify with no saved session and the login page never appeared. No Spotify form, no error,
no spinner — an empty rectangle with a Cancel button. It had been reported on a Mi Pad 6S Pro on
3.7.1, and it reproduces on a POCO F1 on 3.7.2. If you already had a session it never bit you,
because hasSavedSession() walks straight into the app and that screen is never built.

Everything that screen could report said nothing was wrong. The diagnostics 3.7.2 added — network
errors, HTTP errors, TLS, a dead render process — none of them fired, and they were right not to.
The page had loaded. Its JavaScript was running: the reCAPTCHA Enterprise frame mounted and asked
Play Integrity for a token. The DOM was complete, 23330 characters of it, with the email field and
the Continue button present and laid out.

Asked directly, the renderer said this:

window.innerHeight 752 ✓
documentElement.clientHeight 753 ✓
height: 100vh 0
position: absolute; inset: 0 0

Everything derived from the visual viewport was right. Everything derived from the layout
height was zero. And Spotify's login page roots at exactly that:

.gsHiTn { position: absolute; inset: 0; display: flex; flex-direction: column;
          overflow: auto; padding-block-start: 48px; }

Against a zero-height containing block, inset: 0 collapses, and the box is left as tall as its own
padding — 48px, which is what <main> measured. The header fit. The 642px section holding the form
did not, and it was clipped inside a content box zero pixels tall. What reaches the screen is the
#121212 of Spotify's <body> and nothing else.

That colour is why this read as "the WebView is dead" for so long: #121212 is also
android:windowBackground in themes.xml, to the byte. The WebView was painting correctly the
whole time. It was painting an empty page.

The cause is one line that was never written

Compose's AndroidView attaches its child with WRAP_CONTENT layout params. It sizes the view
through the modifier instead, so the params are vestigial — to Compose. Not to WebView:
AwLayoutSizer reads the layout params, not the measure spec, and a WRAP_CONTENT height turns on
force_zero_layout_height. Blink then lays the page out in a viewport zero pixels tall, so the page
can report its natural height back to a view that wants to wrap it.

Five builds, each changing one thing, with 100vh measured over the DevTools protocol:

Host 100vh
Bare WebView + setContentView 784 ✓
Bare + every one of the login screen's settings — desktop UA, multiple windows, third-party cookies, both clients 784 ✓
Compose AndroidView in a Column 0
Compose AndroidView in a Box 0
Same as the third, plus layoutParams = MATCH_PARENT 720 ✓

The measure spec was EXACTLY in all five. Only the layout params differed: -1 where it worked,
-2 where it did not.

So both WebViews now set their layout params explicitly. The web player's is the fourth row of that
table — it has the same defect and always has. It is invisible there only because
open.spotify.com does not size itself off the viewport, which makes it a bug waiting on someone
else's redesign rather than a bug that isn't there.

Nothing in Rustify regressed. This has been latent since the first commit, because that screen
has never set its layout params. What changed is Spotify: the login page moved to a viewport-rooted
layout, and a viewport zero pixels tall stopped being survivable. Which is also why it looks like
it broke "recently" while no release touched it.

What was ruled out, and how

Worth writing down, because every one of these is where this looks like it should be:

  • The user agent. The screen claims to be Chrome 120 on Windows while the device's WebView is
    150, and WebPlayerController goes to real trouble over exactly that mismatch. The login page was
    fetched with that UA, with the device's real UA, and with deliberately contradictory client hints:
    200 and the same 27013 bytes every time, form included.
  • The locale. The device is ja-JP, which is where the hl=ja on the reCAPTCHA frame comes
    from. The page is byte-identical in es, en and ja — and the Mi Pad was in es.
  • setSupportMultipleWindows, added in 3.7.2 with no onCreateWindow to go with it. It cannot
    be the cause: the Mi Pad failed on 3.7.1, before it existed.
  • MIUI's force-dark, which fits two Xiaomi devices and fits nothing else. The renderer's own
    screenshot comes back correctly dark.
  • Caching. The zero-height viewport reproduces on a page written into memory with
    document.write, which no cache has ever seen.
  • The system WebView, the last suspect standing and the one that would have meant nothing could
    be done here. A bare WebView on the same device, same WebView 150, same page: 100vh = 784.

🧰 And one dependency

from to
Android Gradle Plugin 9.4.0 9.4.1

A patch release, and the same caveat 3.7.1 wrote down still applies and is still the first thing to
check if a build ever fails to configure: kotlin in the catalogue is only the compiler plugin, there
is no org.jetbrains.kotlin.android in the build, AGP brings Kotlin itself, and the two have to
agree. Kotlin stays at 2.4.20 and the app recompiled clean, so they do.

📦 Installation

adb install-multiple app-arm64-v8a-release.apk app-arm64-v8a-release.dm

Or install the APK normally, or update from inside the app (Settings → refresh icon).

Reminder: a reinstall clears the battery exemption — check Settings → Audio → Background
playback.

The Rust core is unchanged, so nothing needs rebuilding. Gradle rebuilds it anyway as part of
a normal build.

Full Changelog: v3.7.2-beta...v3.7.3-beta

Beta v3.7.2

Choose a tag to compare

@PabloSoage PabloSoage released this 14 Sep 14:45

🚀 Rustify Beta v3.7.2

Choosing a different YouTube video for a song, which has never worked and looked like it did.

App 3.7.1b → 3.7.2b · Rust core 3.7.1 → 3.7.2 — the shipped engine did not change. The only
Rust added is test-only: a module that writes down the shape of everything crossing JNI. An old
.so behaves identically.


🎯 Previewing an alternative played the song you were trying to replace

Open a song, pick "assign a YouTube video", tap play on any candidate in the list: you heard the
recording you already had. Every candidate. The list worked, the search worked, the choice was
saved — and the one thing that tells you whether a candidate is the right one played you the wrong
one, silently, in a feature whose entire purpose is listening to the difference.

The parts everyone suspects were all fine. The search returned the right videos. The engine honoured
the chosen id — there is a test on that side called
a_hint_beats_everything_because_the_caller_already_knows, and it passes. yt-dlp fetched that exact
video and returned a working URL for it.

Then the player threw it away:

routedUrl = StreamRouting.rememberAfterResolving(context, trackId, info)
val playbackUrl = routedUrl ?: streamUrl!!   // routedUrl wins

The stream cache is keyed by the track, never by the recording — g<generation>-<trackId>. If
you had played that song before, its audio was already on disk under that key, and this handed it
back. The correctly resolved URL lost to it every time.

What kept it alive for so long is that the guard against exactly this exists. Ask for a specific
video and the player already skips the persisted URL, the pre-resolved URL, the local file match and
the stream cache. All four of those are reads, and they are all inside the check. This is the
write — the call that starts caching the audio for next time — quietly returning a URL as a side
effect, on the outside of the check.

It also explains the shape of the bug, which is stranger than it sounds: accepting a candidate
worked, auditioning one did not. Accepting deletes the cached copy first, so there was nothing on
disk to win. Previewing does not delete it, and should not — an audition must not destroy your cache.

Two more, found while chasing it

  • A preview wrote itself down. It persisted the candidate's URL and started caching its bytes
    under the real track's id. So auditioning a wrong match and then closing the dialog left the song
    playing that wrong match afterwards, with nothing accepted and nothing to undo. A preview now plays
    and records nothing.
  • Previewing from the match editor previewed a different song. It read whatever was playing and
    ignored the track it had been handed, so anywhere that is not the current song, you auditioned
    candidates against the wrong recording.

And a second road to the same symptom, for a different setup

If you have Deezer or an add-on enabled, there is another way to get the identical result, and it
survives all of the above. A chosen video id means nothing to a backend that resolves from the song's
own metadata: handed one, it ignores it and answers successfully with the recording you were
replacing. A successful answer ends the chain, so with one of those first in your backend order,
nothing else is ever asked.

Backends now declare whether they can play a specific video, and only those are asked when there is
one. The memory of which backend served this song last time is ignored too — it is the right answer
to "play this song" and the wrong answer to "play this video". With nothing left to ask it now fails
rather than falling back, because playing the wrong recording is the failure that looks like success.

This one bites only if you have those backends on, which is why it reads as "works for me". Five
tests pin it. The main fix above has none: it lives inside the player, which needs a Context, an
ExoPlayer and a media session to exist at all. It was verified by reading the path, not by running
it — so it is the one to actually try.

🔗 The engine's data shapes are now written down, not remembered

SpotifyModels.kt is a hand-written mirror of two Rust files, and for three releases the only thing
holding the two in step was that somebody remembered. That does not hold, and it had already stopped
holding:

Eight fields — releaseDate, releaseDatePrecision, albumType, recordLabel, description, country, product, LoginResult.error declared as "may be absent", read in a way that could never produce absent. Every place that uses them was written for a null that never arrived
A third kind of browse item rendered by two screens, and the engine has never emitted it. Neither branch could run
The type tag on a browse item passed down into the thing it was tagging. Invisible, because the parser is told to ignore what it does not recognise

None of those broke anything loudly. That is what a mirror does when it drifts: both halves keep
compiling.

So the shape travels as data now. The engine writes one fully-populated example of each of the 22
types that cross the bridge
into files that are checked in, and fails if what it produces stops
matching them. The app parses those same files and compares every field. Strictly, on that side:
unknown keys are an error in the test, while the real app stays forgiving so that an older install
does not crash against a newer engine. That split is the point — the forgiveness is what let those
eight fields drift, and the test is where it is not allowed.

The hand-written half is gone: 567 lines of parsing deleted, replaced by a generated one and by
declarations. Nothing you can see changes, except that absent fields are now absent.

The third item in that table was found by the new test on its first run, in code written the same
afternoon.

🔍 Two things that can now tell you what went wrong

Neither is a fix. Both are places that could only fail silently, and now cannot.

  • The Spotify login page. Reported on a Mi Pad 6S Pro: tap login, get nothing. No page, no error,
    no way to tell whether the request failed, was refused, or rendered blank — because that screen had
    no error handling of any kind, so every possible failure looked identical. It now says which one it
    was, and offers a retry. Two settings that were simply missing came with it: third-party cookies
    (off by default, and the login hops between two Spotify domains to set the very cookie that screen
    exists to read) and support for the second window the verification step can open — without which
    that tap does nothing at all and the page reads as frozen.

  • Playback speed. Reported: a song occasionally runs slightly fast or slow, so the pitch shifts
    and voices go out of tune. Nothing in Rustify asks for that — no speed setting, no pitch setting,
    no silence-skipping, no audio offload anywhere in the source. But the media session hands the
    "change speed" command to every controller that connects, so "nothing in Rustify" is not "nothing".
    There is now a line in the log the moment the rate changes, and it separates two causes that need
    opposite fixes: something asked, or it is below the player entirely — the audio hardware, a
    resampler, a Bluetooth clock — in which case no change here would ever have fixed it.

    If it happens again: adb logcat -s AudioPlayerService:W.

🧰 And six dependencies

from to
Kotlin (Compose + serialization compiler) 2.4.10 2.4.20
Compose BOM 2026.08.00 2026.09.00
Media3 (ExoPlayer, session) 1.11.0 1.11.1
MapLibre 13.6.0 13.6.1
kotlinx.serialization 1.9.0 1.11.0
Compose UI test manifest 1.12.0 1.12.1

Nothing across a major and nothing to look at, unlike 3.7.1. Two notes only.

The first is the one 3.7.1 wrote down and is still the thing to check if a build
ever fails to configure: kotlin here is the compiler plugin, not the language.
There is no org.jetbrains.kotlin.android in this build — AGP brings Kotlin
itself, and the two have to agree. AGP stays where it was, and the app recompiled
clean, so they do.

The second is kotlinx.serialization, which is the decoder everything above runs
through now. It is a runtime bump landing under a contract test written three days
earlier, which is the best possible timing: the suite was forced to re-run rather
than trusted — Gradle had called it up to date because the recompiled bytecode
hashed identically, and a suite that passes without executing looks exactly like a
suite that passes. It executed. 36 green.


📦 Installation

adb install-multiple app-arm64-v8a-release.apk app-arm64-v8a-release.dm

Or install the APK normally, or update from inside the app (Settings → refresh icon).

Reminder: a reinstall clears the battery exemption — check Settings → Audio → Background
playback.

The Rust core is unchanged, so nothing needs rebuilding. Gradle rebuilds it anyway as part of
a normal build.

Full Changelog: v3.7.1-beta...v3.7.2-beta

Beta v3.7.1

Choose a tag to compare

@PabloSoage PabloSoage released this 02 Sep 08:38

🚀 Rustify Beta v3.7.1

Nothing new. Everything underneath it is newer.

App 3.7.0b → 3.7.1b · Rust core 3.7.0 → 3.7.1 — the engine did not change. Not one line of
Rust is different in this release; the number moves only because it follows the app's. An old .so
would behave identically, and there is no version handshake between the two that could complain.

This is a maintenance release. If you notice anything at all, something went wrong — which is a
strange thing to write in release notes, so the rest of this explains what to look at.


🧰 What actually changed

The build toolchain and eight dependencies, all to the versions the IDE was offering:

from to
Android Gradle Plugin 9.3.2 9.4.0
Gradle 9.7.0 9.7.1
Kotlin (Compose compiler) 2.2.10 2.4.10
Compose BOM 2026.06.01 2026.08.00
Media3 (ExoPlayer, session) 1.10.1 1.11.0
AppCompat 1.7.1 1.8.0
Play Services Auth 21.4.0 22.0.0
OkHttp 4.12.0 5.5.0
MapLibre 13.3.1 13.6.0

Two of those cross a major version, which is the whole reason this is its own release rather than
something folded quietly into the next feature.

👀 The three things worth a glance

Not because they are expected to break — the build is clean and R8 resolved every reference without a
single suppression — but because if the majors did break something, these are where it would show,
and each one is visible in seconds rather than lurking:

  • Album art, anywhere. The image loader was compiled against OkHttp 4 and now runs on 5. If that
    is wrong, no remote cover loads, on the first screen, immediately. There is no half-working state
    to miss.
  • Google Drive backup. The Google sign-in library crossed a major, and it is what obtains the
    token for the private app folder. A failure here shows up as the sync screen refusing to
    authorize.
  • The notification and the car. Media3 moved a minor, so the lock-screen controls, the like
    button in the notification and the Android Auto browse tree all sit on newer code — and one small
    thing genuinely changed there, described below.

Everything else in the app is untouched, so anything that behaved a certain way in 3.7.0 behaves that
way here.

🧹 53 compiler warnings, gone

Not tidiness for its own sake: 53 is enough noise to hide the next warning that means something, and
the largest group of them was exactly the shape a real OkHttp 5 problem would have taken.

They came from three places, and only one was about a dependency:

  • 19 were null checks around an HTTP response body that can no longer be null in OkHttp 5. Where
    one of those guards carried a real branch, the branch went with it — it was unreachable, not
    unimportant.
  • 32 were the new Kotlin compiler following nullability further than the old one could: through a
    boolean derived from a null check, into a lambda declared after the assignment it depends on, and
    far enough out of an enclosing if to prove a when had a dead branch. None of that code was
    wrong before; the compiler simply could not see it.
  • 2 were deprecations, and they got different answers. One is correct as it stands: the
    location callback it flags has no default implementation before Android 11, and Rustify supports
    Android 10. The other was migrated: Media3 1.11 replaced a session builder with one that also takes
    the connecting controller, so the default playback commands are now the ones right for whichever
    controller is asking — the notification, the car, the lock screen — rather than one generic set.

📄 And the README

Rewritten. It had been sitting at 2.12.3 and was describing an app eight releases old — no add-ons,
no stored songs, no casting, no data export. It now also documents the engine's module layout and the
rules it is built on, which is the part that was never written down publicly at all.


📦 Installation

adb install-multiple app-arm64-v8a-release.apk app-arm64-v8a-release.dm

Or install the APK normally, or update from inside the app (Settings → refresh icon).

Reminder: a reinstall clears the battery exemption — check Settings → Audio → Background
playback.

The Rust core is unchanged, so unusually for this series there is nothing that needs
rebuilding. Gradle rebuilds it anyway as part of the normal build.

Full Changelog: v3.7.0-beta...v3.7.1-beta