You don't want to hide Ambient Music Mod from EdXposed, that would break it. If you have the blacklist (Xposed Hide) enabled, you don't need to do any messing with the hide stuff.Can't hide Ambient Music Mod from Edxposed. App warns me that "one or more settings is preventing me from hiding the app"
The rest is all green mark and test recognition fails to start.
Not starting recognition on my Poco F1 on miui 12 android 10, with a snapdragon 845
Is your error code. No known solution for this one either.
On a OnePlus 7 Pro, I got all the way up to Test Recognition and I get "Ambient Music failed to start". I made sure mic permissions were allowed and I haven't touched any EdXposed hiding options before. Logs attached, would appreciate any suggestions!
I'm unable to even see optimisation options for that app.I also have a 7 Pro, same error here. Are you able to disable battery optimization for Pixel Ambient Services? It is stuck on Intelligent Control for me, and the icon is just the generic teal APK icon with the Android logo.
I remember you could only change optimization of system apps on the A10 open betas, not stable, but are you on stable A11? Maybe they didn't bring it over from the betas yet...I'm unable to even see optimisation options for that app.View attachment 5284577
I remember you could only change optimization of system apps on the A10 open betas, not stable, but are you on stable A11? Maybe they didn't bring it over from the betas yet...
Either way should be possible with adb shell, idk the command tho
Ah, yeah that's the reason. OOS doesn't allow you to change battery optimization on system apps. You'll need to either find a way to do it with ADB, flash A10 Open Beta, A11 Open Beta, or *maybe* A11 stable.
I was able to use ADB and I no longer see the notification to disable battery optimization, but I still get "Ambient Music failed to start". Would more logs be potentially useful, or is there just too much incompatibility with A10?Ah, yeah that's the reason. OOS doesn't allow you to change battery optimization on system apps. You'll need to either find a way to do it with ADB, flash A10 Open Beta, A11 Open Beta, or *maybe* A11 stable.
Idk I'm not the dev, but I'd take logs and attach them here anyways because now u have a different issue (before it was battery optimization now probably something else) and hopefully Quinn can look at them and solve them.I was able to use ADB and I no longer see the notification to disable battery optimization, but I still get "Ambient Music failed to start". Would more logs be potentially useful, or is there just too much incompatibility with A10?
Is TotallyAnxious a ROM? I was able to useEDIT: I grepped for com.google.intelligence.sense and it seems like its not installed for me.
EDIT2: Got it working, might not be too helpful to you as I also installed TotallyAnxious mod and I now have the app installed, even though I don't remember seeing Ambient Services inside the zip. But either way its working now (maybe it was the reboot, idk)
adb shell dumpsys deviceidle whitelist +com.google.intelligence.sense
to get battery optimisation disabled for it, so I assume it's installed for me. Still not working for me however, many reboots later.Ah, my mistake. Thanks for the suggestions!Idk I'm not the dev, but I'd take logs and attach them here anyways because now u have a different issue (before it was battery optimization now probably something else) and hopefully Quinn can look at them and solve them.
Both work. Don't think it should make a difference in terms of recognition and stuff but I *feel* like EdXposed was better. But ymmv, idk.It's been a while since I've used Xposed. Now I see there is EdXposed and LSPosed which seem newer than the original. Which is the best one to use? (OP5T with A10)
2.3.5 + Now Playing 1.3.5
- Fixed widget related crash that was also causing problems elsewhere
- Fixed service start crash on some devices in some scenarios
- Fixed US database not being loaded correctly in the track viewer
2.3.4 + Now Playing 1.3.3
- Fixed crash when using online recognition with root on some devices
- Android 15 support (for ARM64 only)
2.3.3
- Fixed an issue where old backups would not be deleted
- Automatically grant the Restricted Settings permission required for the Accessibility Service on Android 14+
- Added keyguard category to widget to allow eventual use on the lockscreen when support is hopefully added to Android
2.3.2 + Now Playing 1.3.2
- Fixed screen on recognition not working on some devices
- Fixed externally triggered recognitions not showing on the lock screen
- Updated target SDK to Android 14
- Added support for displaying on the flip display on Samsung devices
- Bug fixes
- Fixed crash when viewing a track in the history on some devices
2.3.1
- Fixed crash on Android 14 Beta 3
2.3
- Android 14 Beta 2 support
- Added option to control Ambient Music Mod externally from apps like Tasker with options:
- External Access can be protected by an Access Token which must be provided by the apps interacting with it (enabled by default)
- Enable Now Playing
- Disable Now Playing
- Toggle Now Playing
- Start an On Device Recognition
- Start an Online Recognition (if supported & enabled)
- Updated dependencies
For info on how to use External Access, check the page in the app or the Wiki page
2.2.2
- Fixed On Demand not working via the root method on some devices
- Improved Track Listing info, showing more details on tracks where available and fixing the Ask Google button
- Crash fixes
2.2.1
This is quite a large update, please make sure to update Ambient Music Mod and then Now Playing from the Updates screen after installing
- Enabled Now Playing Summary in the Now Playing History, a new feature that's not even on Pixels yet, which displays statistics about your listening habits including genre, artists, and timings from the last 30 days (configurable down to 1 day up to 365 days)
- NNFPv3 (the updated model) is now enabled on all devices except legacy armv7. Google have switched Pixels over to using it, indicating music databases for the legacy model may stop being updated at some point.
Please note that due to format changes, a database update will be forced after updating, and any saved On Demand recognitions will be removed. This is unavoidable, and Google has already done this on Pixel devices with official Now Playing
- Added experimental option to download extra country databases (up to two)
- Added option to periodically (daily/weekly/monthly) back up to a specified location
- Improved track list viewer speed by caching track info in Ambient Music Mod, rather than loading it from the Now Playing database every time. This will increase the storage footprint of Ambient Music Mod, but you can clear the app's cache if it becomes an issue.
- Added a track info viewer to the track list, displaying all available information for a track on one page, including links to play tracks in the database
- Added option to edit and delete stored On Demand tracks
- Updated database downloader, and implemented a system whereby the system Job Scheduler (which is relied on to schedule downloads) gets told to expedite downloads where possible. This should improve the speed of database downloads.
- Improved Lock Screen detection logic
- Fixed an issue where some switches in the app behaved differently depending on whether the text or the switch handle was pressed
- Fixed an issue where notifications for Now Playing were being re-enabled after being disabled by the user on some devices
nb: Version 2.2.1 fixes a cache issue with 2.2 which may impact updates. For this reason, it has replaced 2.2 and that version has been removed.
2.1.2
- Fixed Restore option not showing any options of files to restore
2.1.1
- Improved adaptive lock screen overlay
- Fixed insets on 3 button devices
- Allow install on x86_64 devices without libhoudini or libndk
2.1
- Added x86_64 support
- Fixed Android 13 Shizuku issue
- Updated switch style
- Removed "run when battery saver enabled" as it was not functioning and cannot be fixed
- Fixed overlay continuing to appear when bedtime mode is enabled
- Added message about static noise to playback screen
2.0.5
- Fixed an issue where on device recognition would not work on some devices using Shizuku
2.0.4
- Added the ability for On Demand recognitions to run without the Magisk overlay module, so long as the device is rooted. You must start Shizuku as root or use Sui to make use of this method, and the overlay is still preferred if it works on your device. Please read the Wiki page for more information.
- Further improvements to the On Demand overlay, fixing issues on OnePlus devices
- Fixed the Lock Screen overlay not appearing when Smart Lock is enabled
- Fixed Alternative Encoding and Lock Screen Overlay colour options not being backed up
2.0.3
- Added armv7 support
- Fixed crashes on Android 10
- Fixed an issue where some tracks were not showing up in the track list or in the track count (US database is actually 69k tracks, not 53k)
- Added an option to change the lockscreen overlay text colour
- The lockscreen overlay text now has a slight shadow, improving visibility
- Added caching for updates, which should prevent rate-limit issues. You can force an update check (ignoring cache) by swiping to refresh.
- Enabled landscape orientation
- Fixed background crashes in Now Playing, which may help download issues.
- Improved Magisk On Demand module overlay installing, which may fix bootloops on some devices
Note: Due to issues with the backend database update system, there have been two database updates in the last two days. This is now fixed, and future updates will be timely rather than all at once. Apologies for any inconvenience.
2.0.2:
- Added alternative encoding option, fixing distortion/crackling on some devices when enabled
IMPORTANT: You must also update Now Playing to 1.0.1 for the alternative encoding option to work. Use the Updates page in the app to update Now Playing.
- Increased max gain to 3.0 to cope with new encoding which requires a higher gain on some devices
- Reduced the chance of audio recording errors
- Removed "Timeout" notification as it was more useless than it was useful
- Fixed unclickable Chips on Recognition Success page (eg. Ask Google)
7T Pro. It's in closed beta.Isn't android 12 OOS update been out for some time now? Which device the dev is using?
Changelog said:This is quite a large update, please make sure to update Ambient Music Mod and then Now Playing from the Updates screen after installing
- Enabled Now Playing Summary in the Now Playing History, a new feature that's not even on Pixels yet, which displays statistics about your listening habits including genre, artists, and timings from the last 30 days (configurable down to 1 day up to 365 days)
- NNFPv3 (the updated model) is now enabled on all devices except legacy armv7. Google have switched Pixels over to using it, indicating music databases for the legacy model may stop being updated at some point.
Please note that due to format changes, a database update will be forced after updating, and any saved On Demand recognitions will be removed. This is unavoidable, and Google has already done this on Pixel devices with official Now Playing
- Added experimental option to download extra country databases (up to two)
- Added option to periodically (daily/weekly/monthly) back up to a specified location
- Improved track list viewer speed by caching track info in Ambient Music Mod, rather than loading it from the Now Playing database every time. This will increase the storage footprint of Ambient Music Mod, but you can clear the app's cache if it becomes an issue.
- Added a track info viewer to the track list, displaying all available information for a track on one page, including links to play tracks in the database
- Added option to edit and delete stored On Demand tracks
- Updated database downloader, and implemented a system whereby the system Job Scheduler (which is relied on to schedule downloads) gets told to expedite downloads where possible. This should improve the speed of database downloads.
- Improved Lock Screen detection logic
- Fixed an issue where some switches in the app behaved differently depending on whether the text or the switch handle was pressed
- Fixed an issue where notifications for Now Playing were being re-enabled after being disabled by the user on some devices
nb: Version 2.2.1 fixes a cache issue with 2.2 which may impact updates. For this reason, it has replaced 2.2 and that version has been removed.
Download from GitHub releases as usual
- Added the ability for On Demand recognitions to run without the Magisk overlay module, so long as the device is rooted. You must start Shizuku as root or use Sui to make use of this method, and the overlay is still preferred if it works on your device. Please read the Wiki page for more information.
- Further improvements to the On Demand overlay, fixing issues on OnePlus devices
- Fixed the Lock Screen overlay not appearing when Smart Lock is enabled
- Fixed Alternative Encoding and Lock Screen Overlay colour options not being backed up