Skip to content

Now Playing component of Ambient Music Mod

License

Notifications You must be signed in to change notification settings

KieronQuinn/NowPlaying

Repository files navigation

Ambient Music Mod Banner

Ambient Music Mod | Now Playing

Now Playing is a modified version of Android System Intelligence, running only the Now Playing (music recognition) component on other devices. It is only usable with the Ambient Music Mod app.

If you are trying to install Now Playing, please use the links on the Ambient Music Mod repo for prebuilt APKs

Building

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

  1. Clone the repository as normal
  2. Download the latest original Pixel 7 APK of Android System Intelligence from APKmirror. (Note: At the time of writing, the build "U.0.droidfood.pixel6.514591756" was being used for the prebuilt APKs, since no Pixel 7 "U" build was available. Newer versions have not been tested.) Download the APK of this version of Android System Intelligence - newer builds are actually from an older branch of Now Playing and do not include Now Playing Summary.

Note: If you wish to include armv7 support, in addition download this version of Pixel Ambient Services, and place libsense.so from it in overlay/src/main/lib/armeabi-v7a, as well as this version of Google Play services, and place libleveldbjni.so from it in the same directory.

If you wish to include x86_64 support, in addition download the latest the equivalent version of Android System Intelligence for x86_64, and place libsense.so, libsense_nnfp_v3.so and libmodeleditor-jni.so from it in overlay/src/main/lib/x86_64.

  1. Place the downloaded APK in the root of the repository, name it base.apk
  2. Download the latest APKtool JAR and place it in tools/. Name it apktool.jar
  3. 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>
build.tools.version=<the version of build tools to use, eg. 32.0.0>
  1. Open the project in Android Studio, and run the installApkRelease Gradle task. This will build an APK (placed in build/out-release.apk) and install it on your device.

Sources

This repository contains a local version of dain/leveldb (Apache 2.0 licence), as well as some of canyie/Pine's xposed module, due to package conflicts (Anti 996 licence), embedding Apache Commons Lang (Apache 2.0 licence)

About

Now Playing component of Ambient Music Mod

Resources

License

Stars

Watchers

Forks