An LSPosed module that blocks ads in Spotify by intercepting OkHttp requests to ad endpoints.
Hooks OkHttpClient.Builder.build() at runtime and injects a dynamic interceptor that returns empty 200 OK responses for ad requests. No APK modification, all in-memory.
- Android 8.1+
- A rooted device with LSPosed or any compatible fork
- Download the latest release
- Install the APK
- Enable the module in LSPosed/Vector and scope it to
com.spotify.music - Force-stop Spotify and reopen it
In the cloned repo:
./gradlew assembleReleaseSign with your own keystore:
apksigner sign --ks your.keystore --ks-key-alias your-alias \
--out LSpot.apk app/build/outputs/apk/release/app-release-unsigned.apkGPL-3.0