yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Quinny899:
Including OEM optimisation? Samsung have some very aggressive background killing stuff. See here: https://dontkillmyapp.com/samsung
[Android Apps and Games] Server Reset:
Oh I also have battery saver on, but the work on battery saver toggle also on in the config
[Android Apps and Games] Quinny899:
Could you try with it off? Possible the system is being even more aggressive with background processes with that on.
[Android Apps and Games] Server Reset:
Battery saver off+ whatever optimization things I could remove doesn't net anything, could be a12 or some Samsung thing. Any ideas?
[Android Apps and Games] Quinny899:
Not really, there's many cases of it working fine on Samsung devices so I'm not sure what's happening on yours.
[Android Apps and Games] Prasanna_16:
It works perfectly after the update. Thanks for the quick fix. 👏
[Android Apps and Games] Server Reset:
Battery Saver off seems to have done the trick but lock screen ain't really showing up. Hmmmm.
[Android Apps and Games] Quinny899:
Do you have adaptive lock screen overlay on? Turn it off if you do.
[Android Apps and Games] Server Reset:
Okay so.

Z fold 3 on a12/oneui 4.1 Jun update

Battery optimizations disabled during app setup

Disabled for now playing in settings.

Doesn't work with battery saver on, even if app toggle is on

Use little cores works works

Need to use alternative encoding

Gain 2.0

adaptive lock screen doesn't work.

With this config it's working well.
[Android Apps and Games] Quinny899:
Sounds good. The reason all these toggles exist is to support as many devices as possible!
[Android Apps and Games] Server Reset:
Forgot to say, thanks Quinn, means alot you were willing to help!

Funny I just went through all the hassle of setting up galaxy max hz and discovering the cast hack to have 120hz with battery saver on oneui 4/4.1 only to remove battery saver🙃
[Android Apps and Games] Syed Shahriar:
When i click playback, the record is full of static sounds like radio and song is not heard. K20 Pro, root version. Pixel Extended ROM
[Android Apps and Games] Quinny899:
Enable the alternative encoding option in advanced settings.
[Android Apps and Games] Quinny899:
Yeah the indeterminate progress bar (the one that just spins) shows until it finishes parsing the first database, if it doesn't show progress after like 5 minutes then it's probably failing to parse it somewhere, looks like I'll need to write some unit tests
[Android Apps and Games] dr0idik4:
Hi, would like to join in, but don't seem to get it running properly. I installed it via magisk, acrivated the module in edxposed but it always fails to start ambient music which is open in the next window...i am on lineage 17.1 with microg on an xperia xz 1 compact. I'm not quite sure, if the microphone permission is set correctly.
[Android Apps and Games] McFlypants:
I can't do this in miui, there is no Option for this in the App settings of this App. All others have the Option!!
[Android Apps and Games] Quinny899:
Please provide a log dump (instructions in the FAQ)

Very strange. In a root shell you should be able to do:

pm grant com.google.intelligence.sense android.permission.RECORD_AUDIO

which will grant the permission manually
[Android Apps and Games] McFlypants:
I was able to do this with another App, now everything is granted and it worked some times.

But it is loading the database forever! Doing it since 2 hours but it doesn't finish!
[Android Apps and Games] Quinny899:
Yeah it sounds like the parser has a bug somewhere. I'm running a unit test of it against all 375 databases, but that'll take some time.

The database isn't required for ambient music to work though. If you're looking for a song to test with, this old list from 2017 should still be valid for a list of songs that will work (though many more are supported now) http://quinny898.co.uk/resources/pixel-songs/
[Android Apps and Games] pankspoo:
App is not installing on one plus 6
[Android Apps and Games] Quinny899:
Install it with ADB or the APKmirror app and give a proper reason for it not installing.
[Android Apps and Games] pankspoo:
Ok its installed all things activated like magisk module and xposed installer but still In test recognition its showing ambient music failed to start. Tried several time same error and on lock screen no ambient music icon and not recognizing songs
[Android Apps and Games] Quinny899:
Do a log dump and post that, instructions in the FAQ.
[Android Apps and Games] pankspoo:
This is the log
[Android Apps and Games] pankspoo:
Done
[Android Apps and Games] Quinny899:
That's not a log dump, read the instructions in the FAQ, specifically this section: https://github.com/KieronQuinn/Ambi...-a-log-dump-to-help-fix-an-issue-on-my-device
[Android Apps and Games] pankspoo:
I didn't finding enable logging in my evolution-x rom. Under developers option is there any app available to take logs
[Android Apps and Games] Quinny899:
Not the system settings, in the app. Enable developer options by triple tapping about and they will appear as an option.
[Android Apps and Games] pankspoo:
Yes i did all things under developers option i didn't get that option like logging
[Android Apps and Games] Quinny899:
So you don't get the option in here:

?
[Android Apps and Games] pankspoo:
Ok got it
[Android Apps and Games] Quinny899:
Not a lot to go on in there unfortunately, did you run a test recognition just before doing the log dump?
[Android Apps and Games] syfo:
Hi, awesome app, been looking for an alternative since going with OP8 PRO. Anyways, it was working well until I updated the google app, now I don't have on demand even though I downloaded and installed the newest .29 bundle I could find in APK Mirror, it is from today I think.

Any ideas?
[Android Apps and Games] Quinny899:
If it's updated itself then it will be lost again. Disable auto update to prevent that happening. This is the latest bundle: https://www.apkmirror.com/apk/googl...le-app-13-24-7-29-arm64-android-apk-download/
[Android Apps and Games] syfo:
Thanks dev! I already tried installing it, uninstalled previous version, updated, force closed ambient sound app, but still, no luck, will try restarting the device.
[Android Apps and Games] Quinny899:
What error does Ambient Music Mod show?
[Android Apps and Games] syfo:
It still shows "Google App unsupported for On Demand" in general and "Google App Update Required" under On Demand.
[Android Apps and Games] Quinny899:
That error is specific to the installed app/bundle not containing the Sound Fingerprint split. Can you send a screenshot of the "Files loaded" screen from the APKmirror app when you're installing the bundle please.
[Android Apps and Games] syfo:
Got it, I was screwing something up, deleted and re download the apk bundle, now it did show the fingerprint split, now I know what to look for, and is working now.

Thanks again dev, amazing job, amazing support!
[Android Apps and Games] xdagee:
can we get aport of the recorder app?
[Android Apps and Games] SkylinesHD:
Is it possible, to have multiple databases installed?

Like Germany + US ?
[Android Apps and Games] Quinny899:
Not currently, although it might be in the future.
[Android Apps and Games] TrippyEngine:
Unfortunately the Now Playing tab is forever loading on my Poco F1 on miui 12 after following all the steps of the setup. The database has also been downloaded according to the Updates tab, which took about 2 minutes to load for me
[Android Apps and Games] Quinny899:
Restart your device
[Android Apps and Games] TrippyEngine:
After restarting the Ambient Music Mod isn't even opening from its app icon, it gets frozen in the splash screen. I guess it is incompatible with my device after all
[Android Apps and Games] Quinny899:
Please send a log in that case. It should get past that at least.
[Android Apps and Games] TrippyEngine:
I'm the same guy that last year tried version 1 of your mod, and then I had the error that my model was incompatible and the code -2147483648. I hoped that maybe in version 2 you found a way to bypass the unknown error at that time. If not, then I shouldn't bother you any more :P
[Android Apps and Games] Logan:
Impressive efforts and dedication love it!

Quick question samsung devices there is some workaround to pass overlays in without root is that sufficient to get on demand to work?
[Android Apps and Games] Quinny899:
This new version doesn't use the model and so far has about a 99% success rate so it should be compatible. Nearly everyone had an error like that with the old version, you certainly weren't alone there.
[Android Apps and Games] TrippyEngine:
Is this logcat useful?
[Android Apps and Games] Quinny899:
Nothing in there out of the ordinary, no. All I can suggest is reinstalling and making sure Shizuku is actually started.
[Android Apps and Games] biglo:
Hi, I'm using a stock One plus 10 Pro and it's stuck on loading, that's the only thing that's showing up for me.

View attachment 5642861
[Android Apps and Games] TrippyEngine:
That's the problem I also have. Some times it's stuck on loading, other times it freezes at the splash screen. Please send a logcat as well, maybe yours will be more useful than mine!
[Android Apps and Games] 71hvh:
Only works for the first Sound Database region every downloaded, every subsequent region change will make the download stuck forever until you clear Now Playing's app data.

Oh, by the way, the app bricked itself and won't ever let me download Now Playing APK ever again saying it has an error downloading the APK and the app doesn't error out into logcat.
[Android Apps and Games] Quinny899:
Reboot your device, if that doesn't fix it then reinstall.
[Android Apps and Games] biglo:
I left it over night and it came up, I notice I had static and changed it to the alternative option and now it's back on the loading screen again.
[Android Apps and Games] Quinny899:
Leaving it will do nothing, it's stuck. Rebooting always fixed this during development.

As far as I know it's stuck in the system somewhere, to do with ContentProviders.
[Android Apps and Games] biglo:
I forgot to mention that I did try your suggestion of rebooting multiple times but it's still the same result
[Android Apps and Games] Sahacohn:
Stuck on downloading database, Am try reboot device but still stuck.

My device is Oneplus 8T
[Android Apps and Games] Quinny899:
Reinstall then
[Android Apps and Games] Quinny899:
If it's not showing a progress bar -> rebooting usually fixes this

If it's showing a progress bar -> make sure you're on WiFi or disabled the option to only download on WiFi

The downloading component is managed by Now Playing and the system's Job Scheduler, not the mod. It cannot be forced.
[Android Apps and Games] Sahacohn:
View attachment 5643059

Download is not progressing sir.
[Android Apps and Games] Quinny899:
Send a screenshot of the Updates page.
[Android Apps and Games] Sahacohn:
Updates page.
[Android Apps and Games] Quinny899:
The download is stuck waiting to start, reliant on the JobScheduler. Nothing I can do.
[Android Apps and Games] biglo:
Got it to work after 3 reinstalls, I blame Oneplus's janky software because it worked fine on my other devices' first shot. Thanks!
[Android Apps and Games] peetereczek:
I spotted same issue, but database seems downloaded as service is working
[Android Apps and Games] Quinny899:
You're probably running on just the core database which is bundled with the Now Playing APK.
[Android Apps and Games] AyanAlam:
I am having a problem. Looks like the On Device recognition is not accessing the microphone that's why I have to for recognise every time. I useing Redmi note 8 pro with pixel experience plus rom . I KNOW THAT NOW PLAYING WORKS BEST ON SNAPDRAGON CHIPS.
[Android Apps and Games] Quinny899:
How do you know it's not accessing the microphone?
[Android Apps and Games] AyanAlam:
Not showing the microphone access notification on the status bar when using on device recognition.
[Android Apps and Games] Quinny899:
It doesn't show the indicator, as it says on the main screen of the app. You probably need to listen to the playback and will find it's crackly and need to enable the alternative encoding option.
[Android Apps and Games] AyanAlam:
Already enabled alternative encoding. I'm listening to quit clear and loud music but it still won't automatically recognise the song.
[Android Apps and Games] Quinny899:
Send a saved playback recording please, make sure music is playing that you don't mind telling the world you listen to ;)
[Android Apps and Games] criollojoel10:
Excuse me sir, how to solve this problem?

View attachment 5643859Android 12

Miui 13

Redmi Note 10
[Android Apps and Games] Quinny899:
Something is playing music (or video), pause it.
[Android Apps and Games] criollojoel10:
The problem is that it isn't not playing anything. And when I use the "On device" option, it doesn't recognize the song and a background distortion is heard! What I can do?
[Android Apps and Games] Quinny899:
Something is playing, the system is reporting that (it's not the mod). For distortion, enable the Alternative Encoding option in the advanced settings.
[Android Apps and Games] criollojoel10:
Thanks sir, the distortion problem is solved, however, nothing plays on my device, and still the problem persists, the songs are not detected automatically. Anyway thank you very much!
[Android Apps and Games] CharlieMHz:
I'm getting the same problem as well, just rebooted the phone, nothing is playing, and it's still showing that warning, saying An app is using device audio.

Running this on a Poco F3, Xiaomi.EU 12.5.19, Android 11, installed Sui (Zygisk), followed the installation instructions and didn't change any settings.
[Android Apps and Games] TerrorByteX:
First off, thanks a lot for the slick new Material You app! Really appreciate your hard work in bringing this feature to the rest of the Android community.

Running into a problem though...

Used the latest bundle apk you linked a few posts back. Installed fine, databases downloaded after a restart.

Songs recognize when I try On Demand or Online in the app. Playback sounds fine too.

But it doesn't seem to automatically catch any songs playing in the background. Only when I manually recognize in the app. Battery optimizations are off and the lockscreen display works when I tap it to recognize a song. Just nothing recognizing by itself...

Using a OP7 Pro on CrDroid 8 (Android 12).
[Android Apps and Games] Quinny899:
Re-enable the background notification if you've disabled it, then reboot. That will tell you if the service is getting killed. If it is, there's something killing it you need to switch off.
[Android Apps and Games] TramSK:
Completely the same issue here. I decided to try a different region, so I changed it. Download got stuck, force stop didn't help, reboot didn't help, clearing cache didn't help, clearing data "bricked" it and now even after uninstalling and reinstalling, it keeps showing this during setup:
[Android Apps and Games] TramSK:
Okay, what the heck...now I just tried it again, without doing anything else, and it works. That doesn't mean it works for others though, especially the region changing.
[Android Apps and Games] adriantechguy:
Just wanted to say, thanks for this mod. I origianlly had it working on v1.x and then updated to 12 where it stopped working. With 2.0.x it's working flawlessly again on Android 12.1. No issues on 3 of my OnePlus 7 series devices (7 Pro, 7T and 7 Pro 5G) running YAAP. On Demand is even working on Google app beta which is great!
[Android Apps and Games] srgudhka:
I tried setting it up on Mi A2 on stock. Shizuku is running and have enabled the mod in shizuku as well.. But i am getting this error.

View attachment 5646635
[Android Apps and Games] pritish1998:
It's been hours and the now playing screen is on "loading" and doesn't go beyond that
[Android Apps and Games] Snowblind1991:
After getting notified that there is a database update, it started updating and it just goes forever. The app seems to be working tho, but update process just stuck.

Spoiler content hidden.
[Android Apps and Games] Prof. Yaffle:
Same here. It's been going for 2 and a half hours now
[Android Apps and Games] Quinny899:
The update is reliant on the system running the job. Best thing to do is just let it be and it will run it eventually.
[Android Apps and Games] Snowblind1991:
You were right, it just....takes time. And nobody knows how long it will take. But eventually it runs)

Also i see no difference between track databases - the "tracks count" is the same everywhere)
[Android Apps and Games] Quinny899:
Chances are they removed some tracks and added the same amount, it usually hovers around that point.
[Android Apps and Games] Quinny899:
The error is telling you Shizuku needs to be started as root. You have not started it as root.
[Android Apps and Games] Prof. Yaffle:
Thanks. It eventually downloaded after 12 and a half hours 👍
[Android Apps and Games] Quinny899:
Just a heads up, the database update system in the backend (a script that runs daily to keep the manifest on https://github.com/KieronQuinn/AmbientMusicManifest up to date) hasn't been working, so there's another database update incoming. If you're still struggling to download it, there's also an app update coming that seems to improve things.
[Android Apps and Games] Quinny899:
Just released version 2.0.3:

Download from GitHub releases as usual
[Android Apps and Games] Quinny899:
And if you're wondering how I got it to work on 32 bit devices after saying this the other week, here's a twitter thread on exactly that:

https://twitter.com/i/web/status/1541556804961935361
[Android Apps and Games] adriantechguy:
Trying now on my Galaxy S4 running Android 12.1
[Android Apps and Games] adriantechguy:
Working! Also now fixed on my Galaxy S6edge+ running Android 10
[Android Apps and Games] chrisrj28:
Trying to get this running on S22 Ultra but it gets stuck on downloading database.

Tried rebooting and still stuck, any suggestions?
[Android Apps and Games] Quinny899:
You can either try plugging the phone in (as this seems to trigger it regardless of the setting) or leaving it. It will download in its own time.
[Android Apps and Games] chrisrj28:
O

Okay I'll try plugging in and see if it will download. Thanks
[Android Apps and Games] Swordfishx86:
Ambient Music Mod v2.0.3, com.google.android.googlequicksearchbox v13.23.14.29.arm64 with split_sound_search_fingerprinter_split.apk installed, Magisk Module On Demand Overlay v1.1 installed, Shizuku v12.8 installed and granted root privileges on a Samsung Galaxy S10e (Exynos) running Android 12 One UI 4.0. Everything working fine so far. Except for one thing: On Demand Recognition still says "Firmware Incompatible". Any hope?
[Android Apps and Games] Quinny899:
You need to use the overlay, but it's currently bootlooping on Samsung devices. Need to figure out why.
[Android Apps and Games] Swordfishx86:
The Overlay is installed. Doesn't cause a bootloop.
[Android Apps and Games] Quinny899:
Then it's not working. Same difference but you got lucky with it not looping.
[Android Apps and Games] adriantechguy:
As of right now I've tested a variety of devices

OnePlus 7 Pro (Snapdragon), Android 12 QPR3 (YAAP), and 12.1

OnePlus 7T(Snapdragon), Android 12 QPR3 (YAAP), and 12.1

OnePlus 7 Pro 5G (Snapdragon), Android 12 QPR3 (YAAP), and 12.1

Galaxy S6edge+ (Exynos), Android 10 (LineageOS)

Galaxy S4 (Snapdragon), Android 12.1 (Optimized LineageOS)

Redmi Note 3 Pro (Snapdragon), Android 11 (dotOS 5.2)

I still need to test on these devices

LG Velvet 5G, Android 12

Huawei P10, Android 9 (needs root)

And always, thank you very much Quinny for this work. I've always missed this feature from my Pixel 3a after I moved to OnePlus.

(edit, I sold my Pixel)
[Android Apps and Games] TerrorByteX:
It doesn't look like the service is getting killed.

The background notification persists but there are still no automatic recognitions. Tried a fresh install too.
[Android Apps and Games] Snowblind1991:
Finally, afted all numerous installations and updates, settings adjustments and etc i managed this app to work flawlessly. It detects, it recgnizes, it works.

I offer my sincerest thanks to Quinny899 for making this app and making it work.​
[Android Apps and Games] Wlz-23:
Hopefully, you find out soon cause it would make this mod just that much better for us on Samsung.
[Android Apps and Games] Wlz-23:
One small question. The lock screen stuff doesn't work with Good Lock's module Lockstar right?
[Android Apps and Games] Quinny899:
No idea. Try it and find out.
[Android Apps and Games] Wlz-23:
So far the Show on Lock Screen functionality doesn't seem to be working properly with or without the adaptive overlay. I only get the Now Playing notification but at least it is picking up the music most of the time.
[Android Apps and Games] ysiaddv:
Hello, I've a problem, it's impossible for me detect a sound, it's say the sound is unrecognized and when I listened the playback, we dont listen the sound, we listen nothing

EDIT : I've resolved the problem enabling alternative encoding and set gain to default works perfectly
[Android Apps and Games] Quinny899:
Increase the gain
[Android Apps and Games] Darkaeluz:
Is it normal for it to be stuck in downloading? It already had the music database yesterday, but when I opened the app this morning it was like that and has been there ever since.View attachment 5647979
[Android Apps and Games] chrisrj28:
So I installed yesterday, tried rebooting, left it plugged in all night, and still same thing.

Any other suggestions to get it to download? View attachment 5648001View attachment 5648003
[Android Apps and Games] Quinny899:
The usual fixes for the download problem are:

- Reboot

- Make sure you're on WiFi that isn't metered

- Plug in the device

- Wait.

It's out of Ambient Music Mod's control, done entirely between the system and Now Playing's unmodified code. Nothing I can do.
[Android Apps and Games] ysiaddv:
I've already try to increase the gain but still the same thing. No change,

Have you an idea ?

Thx
[Android Apps and Games] Quinny899:
Not really, if there's no audio being given to the mic there's nothing I can do
[Android Apps and Games] AyanAlam:
My Google app is running the latest version with all the compatibility by still on demand recognition not working View attachment 5648045View attachment 5648047
[Android Apps and Games] Quinny899:
There isn't a bundle version of 13.25.7.29 on APKmirror, so you have installed the wrong version. As the guide says, it must be a bundle containing the sound fingerprinter split.
[Android Apps and Games] chrisrj28:
Thanks for the info. I'll try again
[Android Apps and Games] FedericoLonghin:
I'm currently running on Mi11 Lite 5g NE, Android 12, MIUI 13.0.1, no root

Every time the system work, I can't use the "OK google" voice recognition, if I stop Shizuku the assistant come back working properly.

I saw on your explanation that you're using the same DSP, but I didn't find any warning about it.

aside from this, thank you very much for the work you're doing, you've done a great job, and I hope the project will continue growing!
[Android Apps and Games] AyanAlam:
Ooo shoot.... I forgot to read it properly sorry it's my mistake.. should have waited for a bundled version.... Will it work if I downgrade the Google app to a bundled version?
[Android Apps and Games] Swordfishx86:
Yes, the Lockscreen Overlay works with LockStar (at least on my S10e Exynos, A12, LockStar v2.1.00.27 it does). Make sure to disable "Adaptive Lock Screen Overlay", though.
[Android Apps and Games] Shakir2004:
My lockstar version is newer and yet it's not working for me.

All the other settings are working but for my lockscreen. It just doesn't work. I've disabled the overlay feature as well.

(UPDATE. NOW IT WORKS)
[Android Apps and Games] Quinny899:
Yes, or you can simply wait for a newer version that has a bundle
[Android Apps and Games] AyanAlam:
Okey I'll wait then thanks for you guidence
[Android Apps and Games] Quinny899:
Ambient Music Mod v2.0.4 & Now Playing v1.0.3 released:

Download from GitHub releases as usual