Skip to content

KieronQuinn/AmbientMusicMod

Repository files navigation

Ambient Music Mod Banner

Ambient Music Mod | Now Playing

Ambient Music Mod is a Shizuku/Sui app that ports Now Playing from Pixels to other Android devices.

Requirements

  • Android device running Android 9.0 or above (11+ recommended).
  • Shizuku (Android 12+) or Sui Magisk module (Android 9+).
    • Shizuku does not require root, instead needing an ADB command to be run every reboot.

Features

  • Full Now Playing support, based on the latest version from Pixel devices and the latest music databases
  • Automatic Ambient Music recognition, with settings to control how often recognition runs - finding the right balance between battery usage and convenience
  • Now Playing History, Favourites and Summary support
  • Support to trigger recognitions manually, including a homescreen widget
  • On Demand recognition on supported devices, using the Google Assistant-backed recognition engine for songs that are not in the local database (must be triggered manually)
  • Show Now Playing songs on the lock screen (accessibility service required)
  • View the full track list of recognisable songs, and change the database location if your taste does not match your device's locale

Screenshots

Screenshots

Installation

Download the latest APK from the Releases page and install it. Ambient Music Mod will download and install the latest Now Playing APK for you as part of the setup process.

If you have any questions, please read the FAQ before opening an issue or replying to the XDA thread.

Building

Note: If you are building Ambient Music Mod yourself, you must also build Now Playing, since the signatures have to match for security reasons.

  1. Clone the repository
  2. Create a local.properties file in the root of the project, and set it up:
sdk.dir=<path to your Android SDK>
storeFile=<path to your keystore>
keyAlias=<keystore alias>
storePassword=<keystore password>
keyPassword=<key password>
  1. Open the project in Android Studio
  2. Set the Build Variant to release
  3. Run and install a build of app as normal

Building the Magisk Overlay Module

  1. Open the project in Android Studio
  2. Run the :ondemandoverlay:buildOverlay task. A module zip will be built and placed in ondemandoverlay/build/module.

Sources

This repository contains a local version of google/private-compute-services (Apache 2.0 licence)

Read More

Read more, including about how Now Playing works and how it protects your privacy here