yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] f0li0:
I like the look of this, says my OnePlus 8 Pro isn't compatible though.
[Android Apps and Games] TrippyEngine:
I tried the model compatibility test on my Poco F1 running miui 12 and the result was model incompatible and the code -2147483648. Is there anything I can do to make it compatible, taking the result code into account?
[Android Apps and Games] Quinny899:
You're welcome to try it anyway, the test isn't 100% and does have false positives, but it may not work.
[Android Apps and Games] emime12:
Not working in Redmi Note 9 Pro Qualcomm 720G

View attachment 5284287
[Android Apps and Games] Quinny899:
Post a log dump (read the FAQ for instructions)
[Android Apps and Games] RyanCr7:
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.
[Android Apps and Games] igamepr00:
hello one gotten a problem then an error first problem is that the sound when trying to manually recognize music is broken i only hear static and the second problem is in the image my phone is a realme Q3 PRO CARNIVAL EDITION with chinese ROM i think maybeView attachment 5788515
[Android Apps and Games] Quinny899:
For the static issue, enable alternative encoding in the settings. For the error, reinstall the app.
[Android Apps and Games] igamepr00:
ive did them both but it kept going in an infinite loading screen
[Android Apps and Games] Quinny899:
Most likely some sort of incompatibility then unfortunately.
[Android Apps and Games] igamepr00:
ok then :( thx for the help
[Android Apps and Games] Jamie12348392:
View attachment 5809105
[Android Apps and Games] Jamie12348392:
Does anybody know how to fix this issue?
[Android Apps and Games] Quinny899:
That's not an issue, it's a feature of how the detection works. Another app is playing audio, stop that and it will disappear.
[Android Apps and Games] jammygiinger:
Theres no app to my knowledge using the microphone at the moment.

I've tried many other apps that use the microphone and they have no problem.
[Android Apps and Games] Quinny899:
Not using the microphone. Playing audio.

That information is coming directly from the system, something is playing audio.
[Android Apps and Games] Russmania:
I'm experiencing this as well and have restarted and reinstalled multiple times
[Android Apps and Games] Quinny899:
Reinstalling resets the job. Just let it sit, it will download eventually.
[Android Apps and Games] Russmania:
Cheers, left it overnight and tht looks to have done the trick
[Android Apps and Games] MASAN:
The On Demand Recognition seems to be capped at 100 songs saved
[Android Apps and Games] Quinny899:
Interesting, I didn't know that. Might have to see if it's a hardcoded limit or a limit of the format.
[Android Apps and Games] Mmm99:
Really good job, it's a wonderful mod that work well with me after some changes in advanced sittings, I ask is there any chance that the recognized song show at AOD not only the Lock screen?
[Android Apps and Games] Quinny899:
Read the FAQs.
[Android Apps and Games] enij:
It works really well on the S23 Ultra, definitely better than it was on the S22.
[Android Apps and Games] Quinny899:
New versions of Ambient Music Mod and Now Playing now available:

Download Ambient Music Mod from GitHub releases, or update in the app. Update Now Playing from in the app.

x86_64 support also means you can now run this on WSA! See the Twitter thread on that here:

https://twitter.com/i/web/status/1625220945303445506
[Android Apps and Games] bbgarnett:
How long should it take to download a song database update mines still saying it's updating and been there a while. Both the mod and now playing are up to date. Galaxy S20 FE running Android 13

Thanks,
[Android Apps and Games] Quinny899:
New versions of Ambient Music Mod and Now Playing now available:

Download Ambient Music Mod from GitHub releases, or update in the app. Update Now Playing from in the app.
[Android Apps and Games] Quinny899:
As has been stated many times, this is not in control of the mod. Just let it sit, it will download eventually.
[Android Apps and Games] bssx:
View attachment 5838183music database keeps on loading ，but unable to load，and recognition is very poor
[Android Apps and Games] Quinny899:
As has been stated many, many times now, let it sit. It will download eventually. I might have to just remove that loading bar because it's clear everyone is too damn impatient to let it actually download on its own. The exact same thing happens with Now Playing on an actual Pixel, you just don't see it because there's no loading bar to let you know it's updating.
[Android Apps and Games] MalevolentAmmo:
Does anyone know why the app doesn't show up on the lock screen of my S23+? Accessibility service is turned on and the option to show on the lock screen is on.
[Android Apps and Games] Quinny899:
Possible OneUI is messing with it, though it definitely used to work on other Samsung devices.
[Android Apps and Games] enij:
He's definitely doing something wrong, i can see it on my s23u lockscreen.

The only problem i have (from latest update) is that notifications keep turning on by themselves.
[Android Apps and Games] Quinny899:
That's normal, it's a side effect of the notification permission on Android 12+, the app will re-enable the permission.

To disable notifications, disable all the channels rather than the main switch.
[Android Apps and Games] osm0sis:
Just noticed a bit of a regression. In 2.1.1 trying to restore a settings backup only shows the Recent page in the files picker and is stuck there with no hamburger menu to get to anything else. Downgrading to 2.0.5 shows the expected full file picker dialog again.
[Android Apps and Games] Snowblind1991:
Yeah, looks like 2.1.1 version is unable to restore from backup(
[Android Apps and Games] Quinny899:
So it does, good spot.
[Android Apps and Games] Quinny899:
New version, 2.1.2

Download from GitHub releases as usual

Thanks @osm0sis for finding this one
[Android Apps and Games] guyses:
The music database is not downloading/updating. Re-Installed the app 4 times. Rebooted the device 10 times. Still, the music database is stuck and doesn't show any progress bar.

Plus how much time does it take on average to download the music db. I initiated this re-install and rebooting steps after a day and a half of it being stuck on updating the music db.

How do I make the music database download. The region I selected was India.

The image shows the bar. But it isn't showing any progress as to how much mb is downloaded out of the 400mb music db. It's just going on endlessly without showing anything.
[Android Apps and Games] Quinny899:
Let it sit, it will download eventually. As has been stated many, many, many times now. It's even been answered on this page already.
[Android Apps and Games] guyses:
It would be really helpful if you would just remove it, or provide some information there stating how much average time it takes to update.
[Android Apps and Games] Quinny899:
The problem with removing it is people would then complain that it's not picking up all the tracks it should be, because they don't know the database hasn't fully loaded yet. There is no average time.

As I've said, this is exactly the same on Pixels. When you set up a Pixel, it shows a message saying the database is downloading, but you don't get people complaining about that.
[Android Apps and Games] guyses:
Although the database has finished downloading. On the home screen it is showing that database is downloading. Is this a glitch or normal behaviour(as in it is downloading every other song from the server after downloading these main 16k tracks)? Plus, does now playing also recognises the regional songs, example Hindi/Punjabi songs in India.
[Android Apps and Games] Quinny899:
It's not downloaded, 16k songs is the base database included in the APK. If it doesn't download in the next day or so, clear the data of Now Playing and let it download again.
[Android Apps and Games] guyses:
And does now playing recognises regional songs too? Like Hindi/Punjabi songs for Indian region? Or the main focus is English songs. I'm not aware about what happens in pixel's now playing, that's why asking.
[Android Apps and Games] Quinny899:
The 16k base database is not for any specific country and contains a mix. It's also years old. You need the regional database downloaded, which it has not done, to recognise Indian songs.
[Android Apps and Games] guyses:
Ohkay. Thanks for the support 😃
[Android Apps and Games] jeasjoanlu:
Bro, the database download is endless, and although it finishes, in the startup screen it still says that it is downloading to start the recognition, is there any way to install the database manually, as an obb or data file, a Magisk module or something like that.
[Android Apps and Games] Quinny899:
If it still shows that message, it hasn't finished. It's not possible to do it manually.

How long have you left it for, without force stopping, rebooting or clearing data?
[Android Apps and Games] jeasjoanlu:
View attachment 5870447Does this mean it has already downloaded?
[Android Apps and Games] Quinny899:
No, that means it hasn't downloaded. 16k is the base database size. How long did you leave it between rebooting/clearing data/force stopping?
[Android Apps and Games] jeasjoanlu:
Hermano, ¿usas esta aplicación? Y lo tienes con todo descargado y funcionando bien? ¿Podría enviar una captura de pantalla de cómo se ve cuando haya descargado la base de datos?
[Android Apps and Games] Quinny899:
A fully downloaded database is usually around 70k tracks. You're not answering my question, how long did you leave it to download without clearing data, force stopping, rebooting etc? Usually being impatient and interfering with the process causes this.
[Android Apps and Games] jeasjoanlu:
Is your device rooted? I have an idea. You could create a backup with Swift Backups app which is excellent and upload it to Gdrive, Media Diré, Mega and then the user ( me ) restoring that copy could already have the full app downloaded. Please could you do that?
[Android Apps and Games] Quinny899:
I use the UK database. If it's still not downloaded, clear the data once of the Now Playing app (not Ambient Music Mod), which will reset the download. Then actually let it sit overnight, and it will download.
[Android Apps and Games] jeasjoanlu:
View attachment 5876513

What is this now? That is after deleting the Play Now data. It doesn't matter that you have the UK database, send a backup as I told you please.
[Android Apps and Games] Styrofoam Boots:
Anyone got On Demand working without root on the Samsung M53? Tried to use the On Demand but it gives me firmware error
[Android Apps and Games] Quinny899:
That means the database has loaded, unless the updates screen still shows 16k. It's telling you an app is playing audio, which prevents Now Playing from working. You can't play audio and recognise at the same time.
[Android Apps and Games] Quinny899:
Not possible without root. Read the wiki page.
[Android Apps and Games] ginnibraha:
Hi well i tried everthing to fix it but unable to fix this please help me i can't able to use it my device is Vivo x90 pro+ View attachment 5876857
[Android Apps and Games] Quinny899:
Uninstall and reinstall Ambient Music Mod and Now Playing from the system settings, there was also someone with a non-AOSP device who reported that it fixed itself when the database loaded, so that might happen for you too (leave it overnight to see).

If it still doesn't, probably nothing I can do given that's a permissions error and not something the mod handles.
[Android Apps and Games] jeasjoanlu:
The database download is restricted for my region or something, because it is impossible to download it in any way. So you are not going to help me with the solution I suggested to you regarding the backup.
[Android Apps and Games] ginnibraha:
well i tried to do that but it still shows the same results!
[Android Apps and Games] Quinny899:
I'm not going to send a backup, no. That sets a precedent that everyone will suddenly want backups. Updates to the database happen every couple of weeks, there are 17 databases, sending backups for everyone who asks would take an enormous amount of time - it's not happening.

The download is handled by code beyond AMM's control, as I have already said. If it does not work, there is nothing I can do to help beyond what has already been provided.
[Android Apps and Games] Quinny899:
In that case, as I said, it's a permissions error on your device and is not something that can be fixed.
[Android Apps and Games] MentalCombo:
Hello, I just set up the app on my device and it works smoothly. I wanted to know if there is a way to not download any database since I would like to use On Demand only because it works like Shazam, if I understand correctly.

And is Now Playing supposed to display music on Always-on-Display since it doesn't display on mine and I would really love that, thank you.
[Android Apps and Games] Quinny899:
There is no way to have it not download and not try to download a database, no. The app simply isn't built for that - if you want on demand only, just use the Google app which has a widget which does exactly what you want.

As for AOD, please read the FAQ.
[Android Apps and Games] MentalCombo:
Thank you for your response.

Another thing:

It seems like On Demand works only when I manually tap Recognise and then click Online. I tested this out by playing some songs that aren't in the US database and they don't get shown on the lock screen nor in my notifications, but when I tap Recognise, Online, they get Recognised it's just that it's not automatic. Is it supposed to be this way?
[Android Apps and Games] Quinny899:
Yes, online recognitions only happen on demand. It would be a privacy issue to be constantly streaming audio to Google to recognise.
[Android Apps and Games] xaiox:
hi ,thank you for app,I activated the app on Shizuku

But the program still doesn't work, shizuku has no problem because I use other programs in it

Please see the photoView attachment 5888761
[Android Apps and Games] Quinny899:
Did you start Shizuku as root as it asks?

That option is only for On Demand anyway, it will still work for regular recognitions.
[Android Apps and Games] xaiox:
Thank you,yes,no problem

I could not update the program database, I also tried with vpn
[Android Apps and Games] Quinny899:
Updating the database is not related to on demand.
[Android Apps and Games] AirieFenix:
Hi! Awesome job, I love it!

I'm just going to ask two things:

1) Is there something wrong with "Disable at bedtime"? No matter what I do, I can't switch the toggle on, it goes back to disable.

2) The database downloading. I know, you mst be tired of reading this, but there must be a better way to know if it's doing its thing. It's been downloading in the background for a day an a half and still going, some of those hours with the phone charging and the app in foreground, so it's got the priority to do its thing. Maybe an actual bar that shows progress? As it is, we only know it's doing something, but we don't know how far it's got so far. I know you must be exhausted of reading this, I'm sorry to bring it up, I'm really am. It's just that it looks as a very big issue, but from my place it seems is "only" a matter of not providing enough feedback to the user. Again, sorry to bother you with it.

Again, excellent job! Ignoring the bedtime issue I'm having, the app runs great.
[Android Apps and Games] otonieru:
Same question on "Disable at Bedtime" , it simply wont stay on. Do we need to have a "Bedtime" set somewhere else in our native OS ? Because each OEM might have different setting for that.

As for database update, i can tell whether it's working or not by looking at my net speed indicator. If there's high traffic, the am pretty sure it's downloading. Also, i need to whitelist the app from my Adguard to make it start downloading.
[Android Apps and Games] Quinny899:
Ambient Music Mod v2.2.1 + Now Playing v1.2 are now available, and it's a big one

Download from GitHub releases or via the app's updater as usual
[Android Apps and Games] osm0sis:
Thanks for the updates! Any chance the lock screen detection logic could be updated to detect when the pattern keyguard is showing, and hide itself? E.g., the On Demand button shows directly under a 3x3 pattern lock dot on my OP9Pro and sometimes gets triggered by mistake.
[Android Apps and Games] otonieru:
Fantastic. Thank You
[Android Apps and Games] otonieru:
How about move it to area that wont overlap ? For my case, i put it either right under status bar or above pill bar
[Android Apps and Games] osm0sis:
Anything lower interferes with the fingerprint reader, unfortunately. Above isn't really convenient since it's out of thumb reach.
[Android Apps and Games] Quinny899:
I checked this when building the service, that isn't possible as the system doesn't broadcast that change to the Accessibility Service. I'll give it another check to verify that's still the case
[Android Apps and Games] Mikirok:
I have this problem to start steps to install shizuku in my phone. Xiaomi redmi note 9 android 11

View attachment 5892395
[Android Apps and Games] Snowblind1991:
Thanks for your hard work! Just one question - official pixel app does not support the album covers, this function is just in your mod, am I right? I have the original Pixel and the "test device", which I use to experiment with.
[Android Apps and Games] Quinny899:
Read the linked help page. This is not an issue with this mod.
[Android Apps and Games] Quinny899:
Correct, for some reason Google have never added album art. It looks like it was supposed to be added to the databases, perhaps they decided it wasn't worth the increase of size
[Android Apps and Games] Ictcreations:
Hi there, I hhave only just come across this beautiful mod and thinking of giving it a whirl :-) I dont have root so would be doing it via shizuku method which i have no problem with.

I do have a couple of q first. I actuallly have a pixel 6 and wondered if, even though it was baked in that it would still work instead of it? also as its already baked in to the pixel 6, would it still need shizuku to work? only asking these questions because I can't see them already been asked

I only want to use it because of all the extra features that the current now playing offering does not have :-)
[Android Apps and Games] Quinny899:
It does work on devices with official Now Playing, Shizuku is still required. The FAQs answer these questions.
[Android Apps and Games] Quinny899:
Version 2.2.2 + Now Playing 1.2.1 now available:

You may need to clear the cache of Ambient Music Mod after updating to get the improved track listing info

Download from GitHub releases or via the app's updater as usual
[Android Apps and Games] Chaitanya.allam:
Can anyone help me it's been downloading data base for two days I don't have access to wifi but I have 5g... What should I do?
[Android Apps and Games] Quinny899:
Did you disable the toggle that requires WiFi to download database updates?
[Android Apps and Games] Chaitanya.allam:
Disabled both wifi and charging for updating database
[Android Apps and Games] Quinny899:
Enable verbose logging in Settings > Advanced, then a debug option will appear below to poke the job scheduler. Tap that a few times, it should bypass the WiFi constraint and force it to start downloading.
[Android Apps and Games] Chaitanya.allam:
Ok... I did that ...

Will update you later
[Android Apps and Games] Chaitanya.allam:
Hey I tried what you suggested yesterday but it's still downloading
[Android Apps and Games] Quinny899:
There is nothing I can do then. It's entirely within the control of the system Job Scheduler, you may have to find WiFi.
[Android Apps and Games] redzyy:
Suggestions : is it possible to add ringtone or vibration notification everytime ambient music recognize a song? (Or maybe can add toggle switch on or off)

I think it would be nice if sometimes got notified about music around us.

Thanks.
[Android Apps and Games] Quinny899:
There's an option to vibrate for on demand recognitions, but not for the actual notification. Could be an option, possibly
[Android Apps and Games] redzyy:
Really? I cant find the option to vivrate on demand recognition,,

Where or how can i activate it?

It will be very nice to have that feature.
[Android Apps and Games] redzyy:
Oh that one can't use without root right?

Any other solution for non rooted phone?
[Android Apps and Games] redzyy:
I'm using non rooted oneplus 7 pro oos 12 h36 (latest build stable)
[Android Apps and Games] Quinny899:
Then you cannot use On Demand. Vibrate is currently only available for On Demand.
[Android Apps and Games] redzyy:
Thanks!

One more thing,

I have read all the post and thread here and at github discussion.

Fyi im one of the oneplus 7 or 8 user that facing the problem with recording due the noise cancellation.

I put my oneplus and samsung s22 side by side to start recording and recognising the song, with the same setting.

S22 recognising the song far better than oneplus.

When i playback, s22 recording is very clear, and in oneplus, first half of the recording is clear, while the other half look like got silenced (suppressed), i dont know if the system noise cancellation doing this or not.

And while opening the AMM, i got warning that "the audio device used by another application" (for 1 sec) everytime my phone got notification tone after that the warning is gone (if this information help), or this is normal, i don't know.

Maybe if there's something you can do about this, im in oos12 stable build.

Thanks..
[Android Apps and Games] Quinny899:
That is normal. The mic input is muted by the system during audio use, so you are seeing the expected behaviour.
[Android Apps and Games] nabulsi08:
Hey 👋 First: Thanks for your effort. But unfortunately it's not working. I gave it all permissions like Autostart, Mic etc. Even when I manually tap recognize music it doesn't recognize anything but it does get the sound. Maybe you or someone else can help... Thanks in advance.

Edit: I got it. The sound was like crrrr 😂 then I turned on alternative encoding and it worked. Thanks anyway fir development!
[Android Apps and Games] Quinny899:
Version 2.3 now available:

Download from GitHub releases or via the app's updater as usual
[Android Apps and Games] Matthew78___:
View attachment 5911063how do i fix this?
[Android Apps and Games] Quinny899:
Uninstall both Now Playing & Ambient Music Mod and reinstall Ambient Music Mod. If it continues, your device's firmware is blocking access via the normal permissions method and there's nothing I can do.
[Android Apps and Games] Quinny899:
Like an idiot I forgot to also release the Now Playing build which is required to fix the crash on Android 14, so here you go

You may notice that there's a new Android System Intelligence build from Android 14 Beta 2 (U.0.beta.pixel7.520037477), which I've not updated to. This is intentional, since it hard-disables Now Playing History Summary. Guess Google didn't appreciate the leak!
[Android Apps and Games] RabbitType99:
I reinstalled now playing and ambient music mod, because the audio recordings were getting stuck. I now have the problem that the database is still there but I can not add or remove countries, the entries do not contain links to YouTube music or Spotify and it always shows that it is still downloading the database. I tried clearing the data of system apps, but the database doesn't get deleted. Can I do anything about that like deleting the database manually?
[Android Apps and Games] Quinny899:
The "Global" database is built into the Now Playing app. There's nothing to delete.
[Android Apps and Games] RabbitType99:
Ok that is understandable, but I still can not get the app to download anything. I can delete all data select the countries again, press the update button under music database, wait 3 days and then still nothing happens.
[Android Apps and Games] Quinny899:
If you've let it sit while charging and on WiFi after 3 days, you may wish to try using the option in Settings > Advanced > Poke Job Scheduler, which will force a download. You will need to enable verbose logging first for the option to appear.