Comments (8)
The only change that was made to the Ambient Sense APK was to expose some intents in such a way that they could be started w/ adb shell su -c 'am start com.google.intelligence.sense/com.google.intelligence.sense.ambientmusic.AmbientMusicSetupWizard'
.
If you have a Nexus - Pixel phone the menu will show up in the settings. For any other device you'll need to use the am start
command.
from magisk-pixel2-features.
Did you see any code that would prevent non-pixel devices from using the service? I've got the settings menu working on all devices (had to whitelist it from battery optimizations) but it never actually listens for music
from magisk-pixel2-features.
Oneplus 5 with stock rom (8.0), latest magisk.
D:\Nexus>adb shell su -c 'am start com.google.intelligence.sense/com.google.intelligence.sense.ambientmusic.AmbientMusicSetupWizardActivity'
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.google.intelligence.sense/.ambientmusic.AmbientMusicSetupWizardActivity }
Error type 3
Error: Activity class {com.google.intelligence.sense/com.google.intelligence.sense.ambientmusic.AmbientMusicSetupWizardActivity} does not exist.
D:\Nexus>adb shell su -c 'am start com.google.intelligence.sense/com.google.intelligence.sense.ambientmusic.AmbientMusicSettingsActivity'
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.google.intelligence.sense/.ambientmusic.AmbientMusicSettingsActivity }
Error type 3
Error: Activity class {com.google.intelligence.sense/com.google.intelligence.sense.ambientmusic.AmbientMusicSettingsActivity} does not exist.
and so don't work, even with given permission for mic.
from magisk-pixel2-features.
You should probably update the Ambient Sense app from the Play Store. Please mind that currently the Ambient Sense feature doesn't work yet.
from magisk-pixel2-features.
@denysvitali From what I've found, whitelisting the Ambient Sense app from power optimizations makes the menu appear in settings on non-nexus/pixel devices, however, it seems to be locked down on other devices. Do you you know if it works on Nexus 6P/5X and Pixel 1 devices? I'm still researching how the app blocks non-nexus/pixel devices.
from magisk-pixel2-features.
I've got that menu on a Nexus 6P by using the latest Android build (8.1) and applying this module.
Unfortunately I haven't found a way to make it work (to recognize the songs) on any device I tested so far (Oneplus One, Oneplus 5T, Nexus 6P, Pixel C)
from magisk-pixel2-features.
Ahh, ok. I was looking through the source and found an array of device names that included marlin, sailfish, angler, and bullhead, and thought that it may work on those. Just a fair warning (that you probably know already), SystemUI requires modification for it to show on the lockscreen, but notifications dont, so make sure thats enabled.
from magisk-pixel2-features.
Tbh my goal was to achieve the notification feature first, then work on the lockscreen (which as you said requires a modification on the System UI, precisely on the Ambient Display).
At the moment neither the notifications nor the Lockscreen displays anything about the song being recognized
from magisk-pixel2-features.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magisk-pixel2-features.