Hey! Thanks for your interest in my request.
As probably already (briefly) explained, I'm trying to port the Music Matching feature of Pixel 2 phones (normal and XL) to other Android devices. Without going deeply into technical details, I was already able to port the app itself, but I still need some files that are only available on Pixel 2 (+ XL) devices. If you want to help me, I wrote a short procedure on how to do it.
Once you have the two files (which don't contain any user data, in fact they are system files) you can send them to me and I'll proceed w/ my porting of the app. I'll also give you credit if you want when this feature gets ported :)
These are the files I need:
/system/etc/firmware/music_detector.sound_model
/system/etc/ambient
(it's a directory).
The following procedure will not void your warrnaty, nor birck your phone or anything. It is totally safe, and we're only going to read some system files from it.
In order to get them, you need a computer, and a Pixel 2 (or Pixel 2 XL) device. Then proceed as following:
-
Enable Developer Mode (https://recomhub.com/blog/how-to-enable-developer-mode-on-pixel-and-pixel-xl/, TL;DR: Settings => System => About phone => 5 taps on "Build Number" => Press Back => Enter the "Developer Options" menu => Scroll down to "Debugging" and enable "USB debugging"
-
Install ADB on your computer: https://www.xda-developers.com/install-adb-windows-macos-linux/
-
Connect the phone to your computer, allow USB debugging from the popup that appears on the (unlocked) phone
-
On the computer, write
adb pull /system/etc/firmware/music_detector.sound_model .
, press enter, then writeadb pull /system/etc/ambient .
-
If everything goes well, you should have a
music_detector.sound_model
file and anambient
folder. These two elements are all I need.
I can guarantee you that these files contain no personal information. These are only system files used to identify the songs with the Pixel Ambient Service app that comes preinstalled on every Pixel 2 phone.
Thanks for your help!
Pixel 2 files (ambient + system apps + misc):
https://cloud.mastodonti.co/s/TiUDgCqKJh1nlvy
(cc @argraur)