After a lot of work I am presenting you my app to do the following: modeswitch / Spotify Control from SWC, voice dial using Google now.
Requirements:
1. Huifei type (MTCB) head unit
2. Root access
3. Mtc-keys module (thanks MVG-V70)
4. Android 4.4+ Rom
5. For Voice Dialing using Google Now:
a. Headunit service ( thanks Petrows)
b. True contacts app( download inside headunit service), and enter your contacts manually/ sync with Google account ,transfer or restore from phone
Features:
1. acts as HW- SWC-Modeswitch ( radio, music, DVD, Spotify, 2 custom apps)
2. Respects audio Focus of the currently active app. Opening one app mutes/kills audio coming from other apps. (Works for Radio, Music, DVD, Spotify regardless how was the app started, for the two custom apps works only if they are started through mode-Button). (To be fixed in Version 2.1)
3. Control Spotify using next/previous of the steering wheel buttons , regardless how spotify was opened.
4. Disable DVD/ Music/ Spotify in the mode circle.
5. Navigation monitor: If this option is activated, the screen returns in your preferred Navi-App after switching the Mode, if the navi app was already running. Select which Navi-App you are using, or add the package name of the app manualy.
6. it starts playing music automatically in Spotify
7. for devices lacking HW Modeswitch button: either you map an other button as Modeswitch or it can run as sw modeswitch ( as of now the latter will brake the spotify control functionality-- will try to fix it later)
8. Act as a bridge between headunit service from Petrows and Google now to do voice dialing.
Installation:
1. Install and activate MTC-keys ( see its threat for details)
2. Install and activate headunit service from Petrows, inside the app settings activate call from android and install true contacts app.
3. Sync or add contacts to the true contacts app
4. Reboot device
5. Install my app and run it
6. Give Root access to the app when you will ask to
Setup
On the first app launch, it opens app settings with following options:
A. Select to include DVD, Spotify, Music in the mode app list. Add until 2 custom apps if you want.
B. Activate software Modeswitch (if its activated, running the app from app drawer will change the mode)
C. Enter the SWC button code of the Modeswitch button ( default is 2, you can map any other button as well)
D. Choose to monitor your navigation, choose one option or enter navi app package manually
E. Activate or disable voice dialing
F. SAVE SETTINGS
TO OPEN SETTINGS AGAIN ONCE THE SETTINGS ARE SET DELETE APP DATA (ANDROID SETTINGS->APPS->MODESWITCH->Clear DATA) and rerun the app.
6. ONLY IF YOU HAVE A MODESWITCH BUTTON OR WANT TO MAP AN OTHER ONE BUTTON TO ACT AS MODESWITCH:
edit mtc-keys.ini and add this line:
app_XX = com.myapp.modeswitch
XX is the value of modeswitch button code you entered in my app settings, default is 2
How it works:
1, To change mode, just press the modeswitch button (or run the application if you selected software mode in the settings)
2, To make a call: open google now, and say : call "contact name"
Bugs:
1. there is a nag screen if you do a voice call (mobile network is not available) but it doesn't affect the app, so for now it left there.
2. You tell me....
Thanks to:
Petrows (headunit service)
MVG-V70 for MTC-Keys @talalalal for the voice dialing
and everyone that helped me
Download:
V1.01
https://mega.nz/#!Z4Bx1JKb!cUB5nxKK2QWpwIKClmsaSf5uDCbDeGm7XuYMqeXJkTc
V1.2
https://mega.nz/#!MpwzGZrA!upUXORZoG0b2PtnNVQwfR1Phr8rYBH1W7er2XqLHing
Version 2.0:
Download link:
https://mega.nz/#!FtwFWDDR!Ln1d4TueuQ_0MEFc2yX42w14axkQJ4gYz6WHmBYG6KA
If you already used Modeswitch, please clear data of modeswitch (Settings, Apps, Modeswitch, clear data), and then uninstall the app. After that install the new version.
As Always on the first run you have to set and save your preferred settings. To Enter Settings again you have to clear Modeswitch app data.
Changelog:
V 1.01 Increase waiting time to autoplay spotify
V 1.2:
MtcDvd can be removed from the mode circle
Mtcmusic can be removed from the mode circle
Spotify can be removed from the mode circle
You have the option to add 2 custom apps to the mode circle - Beta
Code improvements
Version 2.0:
Code Improvements
Fixed Spotify auto play
Fixed DVD not turning off while changing mode
Now opening Radio, Music, DVD, Spotify from the app drawer, respects audio focus and quits audio from other sources.
Spotify control now works regardless how was spotify started (Modeswitch, SWC Button, HU Button, App Drawer)
Please uninstall previous version before installing the new version. On the first run set the settings. You need the package name of the custom apps you would like to add ( without .apk eg for pcradio com.maxxt.pcradio
Just tried to download, says file link ia not found
Sent from my A0001 using Tapatalk
Does this require internet for google voice, or is it doing the voice recognition on the unit?
Download working now, thanks! Will test n report back later
Sent from my A0001 using Tapatalk
It should work offline if you download the extra files for the Google now. Didn't try it though.
Hey p_mike83, This is exactly what I was looking for!
Unfortunately didnt get it to work.
To help you further in development or if you have any tips:
JY VQ125 RK3188 16GB unit with Malaysk FUSE ROM of jan 2016.
First I also had car service app running as well to control spotify.
When mode switching didnt work I turned it off as well as as many standard apps trying to get spotify to be your main music player in xposed module or android settings.
It might just be that I don't get mtc-keys to work. Will be doing more tests tomorrow!
On the bright side: voice dialer worked! (now only I have to set google to my native language since it doesnt get all the weird names in dutch )
Keep it up!
Majari said:
Hey p_mike83, This is exactly what I was looking for!
Unfortunately didnt get it to work.
To help you further in development or if you have any tips:
JY VQ125 RK3188 16GB unit with Malaysk FUSE ROM of jan 2016.
First I also had car service app running as well to control spotify.
When mode switching didnt work I turned it off as well as as many standard apps trying to get spotify to be your main music player in xposed module or android settings.
It might just be that I don't get mtc-keys to work. Will be doing more tests tomorrow!
On the bright side: voice dialer worked! (now only I have to set google to my native language since it doesnt get all the weird names in dutch )
Keep it up!
Click to expand...
Click to collapse
Thanks for your comment. I did not try the fuse ROM from malaysk yet, I am on the one before the last. I had with that rom problems settings up mtc-keys. I had to put the mtc-keys folder on an ext SD as on the internal did not work. ( the sdcard is in the GPS slot). On stock rooted ROM it worked on internal sdcard as well.
At the moment the MTC-keys module is needed, as I did not manage to overtake the function of modeswitch without it as the original modeswitch continues to work along with mine. ( leading in disaster).
And stg more, you have to make sure than in my app settings you entered the keyboard code of your modeswitch button ( default is 2)
Wow, just downloaded this app so i could use my unit as a real handsfree calling system, and now works like a charm! Set up google app to always listen to "ok google" so i can place a call without going into the app. The only problem is that the unit has to be connected to the internet, even with the downloaded languages. Is there any way to fix that? Not much of a problem as i have set up a profile on my phone so whenever it connects to the unit through bluetooth it starts the wifi hotspot, so the unit will connect and everything fine, but if offline was possible, less data the unit would use through the phone, as well as less battery the phone would use too. Thanks @p_mike83 for your work!!
Sent from my A0001 using Tapatalk
---------- Post added at 12:30 AM ---------- Previous post was at 12:29 AM ----------
Also, i forgot to add, whenever a call is placed still the message "no data connection" or smth like that appears, even though u can see the call on the background. A bit annoying as u have to press "ok" for the message to close. Cheers!
Sent from my A0001 using Tapatalk
---------- Post added at 12:32 AM ---------- Previous post was at 12:30 AM ----------
Sorry. Just realized u said that would happen at the end of your post. Would it be any way to remove such message? Or to make it disappear after like 1 sec or so? Thanks again and sorry for the quick replies![emoji14]
Sent from my A0001 using Tapatalk
azuman said:
Wow, just downloaded this app so i could use my unit as a real handsfree calling system, and now works like a charm! Set up google app to always listen to "ok google" so i can place a call without going into the app. The only problem is that the unit has to be connected to the internet, even with the downloaded languages. Is there any way to fix that? Not much of a problem as i have set up a profile on my phone so whenever it connects to the unit through bluetooth it starts the wifi hotspot, so the unit will connect and everything fine, but if offline was possible, less data the unit would use through the phone, as well as less battery the phone would use too. Thanks @p_mike83 for your work!!
Sent from my A0001 using Tapatalk
---------- Post added at 12:30 AM ---------- Previous post was at 12:29 AM ----------
Also, i forgot to add, whenever a call is placed still the message "no data connection" or smth like that appears, even though u can see the call on the background. A bit annoying as u have to press "ok" for the message to close. Cheers!
Sent from my A0001 using Tapatalk
---------- Post added at 12:32 AM ---------- Previous post was at 12:30 AM ----------
Sorry. Just realized u said that would happen at the end of your post. Would it be any way to remove such message? Or to make it disappear after like 1 sec or so? Thanks again and sorry for the quick replies![emoji14]
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
Last night I also tried offline recognition but failed on my unit. I have some ideas to try , maybe I find a workaround.
As of the nag, i will try to remove it in future versions, since it doesn't affect the functionality of the app.
OK I got it working too!
It was indeed the FUSE version that kept mtc-keys from working.
Placing the folder to your external SD AND deleting the one on internal SD did the trick.
Issues I can come up with:
- since my head unit has 2 mute buttons I figured I'd use one - the right tuning knob on push - to mode switch. But sometimes the unit still mutes. Can't yet tell when, sometimes it picks up the mute and unmutes it it seems.
- spotify does not auto play. Is there maybe a way you need to setup spotify? Perhaps we can tweak it to play a certain playlist as well ie.: Data: spotify:user:<USER ID>laylist:<PLAYLIST ID>lay (some tasker input details, perhaps they help or inpire you)
- lastly, is there a way to exclude music from the mode cycle? Since I use spotify as my main music source there's no need for the unit to cycle radio - music - spotify - radio etc.?
Tnx again! Love tweaking this sort of thing till we get it perfect!
Majari said:
OK I got it working too!
It was indeed the FUSE version that kept mtc-keys from working.
Placing the folder to your external SD AND deleting the one on internal SD did the trick.
Issues I can come up with:
- since my head unit has 2 mute buttons I figured I'd use one - the right tuning knob on push - to mode switch. But sometimes the unit still mutes. Can't yet tell when, sometimes it picks up the mute and unmutes it it seems.
- spotify does not auto play. Is there maybe a way you need to setup spotify? Perhaps we can tweak it to play a certain playlist as well ie.: Data: spotify:user:<USER ID>laylist:<PLAYLIST ID>lay (some tasker input details, perhaps they help or inpire you)
- lastly, is there a way to exclude music from the mode cycle? Since I use spotify as my main music source there's no need for the unit to cycle radio - music - spotify - radio etc.?
Tnx again! Love tweaking this sort of thing till we get it perfect!
Click to expand...
Click to collapse
do those mute buttons share the same button code? check that you entered the correct code in the app settings
spotify should autoplay if you open it with modeswitch, without needing you to setup anything. it continues to play the last played album/playlist. Maybe your unit needs a little more time opening spotify, so that the play command does not work. Do you have a RK3066 device maybe?
i will think about an option to play a certain playlist, but for now there are other more important things to do. Anyway you can search an artist/song etc with google now as well.
As for the option to disable music, i had it implemented in an earlier version of my app but removed it, cause i thought that it will not be necessary. i can add a switch for that as well, or maybe to choose from a butch of music apps (eg jetaudio)
what do you all think?
Do you have any other suggestions?
p_mike83 said:
After a lot of work I am presenting you my app to do the following: modeswitch / Spotify Control from SWC, voice dial using Google now.
Requirements:
1. Huifei type (MTCB) head unit
2. Root
3. Mtc-keys module (thanks MVG-V70)
4. Headunit service ( thanks Petrows)
5. Android 4.4.4 ROM
6. True contacts app( download inside head unit service), and enter your contacts manually/ sync with Google account ,transfer or restore from phone
Features:
1. acts as HW Modeschwitch ( radio, music, DVD, Spotify)
2. when the apps of the Modeswitch are rotating the unused apps are mute/killed so only one app is playing audio
3. control Spotify using next/previous of the steering wheel buttons ( when opened Spotify using the Modeswitch)
4. it gives the option to disable DVD in the rotation, as many devices haven't DVD drive or because it needs time to load.
5. Navigation monitor: it gives the option to select your navigation program, or add its package name manually, and if its running it will launch it again after changing the mode.
6. it starts playing music automatically in Spotify ( if Spotify its opened through Modeswitch)
7. for devices lacking HW Modeswitch button: either you map an other button as Modeswitch or it can run as sw modeswitch ( as of now the latter will brake the spotify control functionality-- will try to fix it later)
8. Act as a bridge between head unit service from Petrows and Google now to do voice dialing.
Installation:
1. Install and activate MTC-keys ( see its threat for details)
2. Install and activate headunit service from Petrows, inside the app settings activate call from android and install true contacts app.
3. Sync or add contacts to the true contacts app
4. Reboot device
5. Install my app and run it
6. Give Root access to the app when you will ask to
Setup
On the first app launch, it opens app settings with following options:
A. Select to include DVD or not
B. Activate software Modeswitch (if its activated, running the app from app drawer will change the mode)
C. Enter the SWC button code of the Modeswitch button ( default is 2, you can map any other button as well)
D. Choose to monitor your navigation, choose one option or enter navi app package manually
E. Activate or disable voice dialing
F. SAVE SETTINGS
TO OPEN SETTINGS AGAIN ONCE THE SETTINGS ARE SET DELETE APP DATA (ANDROID SETTINGS->APPS->MODESWITCH->DELETE DATA) and rerun the app.
6. ONLY IF YOU HAVE A MODESWITCH BUTTON OR WANT TO MAP AN OTHER ONE BUTTON TO ACT AS MODESWITCH:
edit mtc-keys.ini and add this line:
app_XX = com.myapp.modeswitch
XX is the value of modeswitch button code you entered in my app settings, default is 2
How it works:
1, To change mode, just press the modeswitch button (or run the application if you selected software mode in the settings)
2, To make a call: open google now, and say : call "contact name"
Bugs:
1. there is a nag screen if you do a voice call (mobile network is not available) but it doesn't affect the app, so for now it left there.
2. You tell me....
Thanks to:
Petrows (headunit service)
MVG-V70 for MTC-Keys @talalalal for the voice dialing
and everyone that helped me
Download:
https://mega.nz/#!cxhUjQbQ!E3rUK6HyR4ERU9Fc4d41syM1oP45EMDKTbmOwf5OiFg
Click to expand...
Click to collapse
Youre download is not working
Tumke32 said:
Youre download is not working
Click to expand...
Click to collapse
i just checked the link and it works
Majari said:
- spotify does not auto play. Is there maybe a way you need to setup spotify?
Click to expand...
Click to collapse
new version updated, with increased waiting time to auto start playing spotify.
Maybe you have to clean app data and set the settings again to take effect.
Please comment if it worked for you.
p_mike83 said:
new version updated, with increased waiting time to auto start playing spotify.
Maybe you have to clean app data and set the settings again to take effect.
Please comment if it worked for you.
Click to expand...
Click to collapse
Will check the update tomorrow!
Btw I have a RK3188 so I dont think speed is the issue.
Also the mute buttons both have a different keys, still haven't figured out how they work exactly.
I'm thinking spotify start may also have to do with spotify not beeing in offline modus. Changed it, again will report manana.
Majari said:
Will check the update tomorrow!
Btw I have a RK3188 so I dont think speed is the issue.
Also the mute buttons both have a different keys, still haven't figured out how they work exactly.
I'm thinking spotify start may also have to do with spotify not beeing in offline modus. Changed it, again will report manana.
Click to expand...
Click to collapse
yes i saw later that you mention you have a 3188 JY unit. i am also using spotify online, and it used to auto play. anyway i have set the waiting time to ca 5 seconds, i think is enough for spotify to open. but remember, a playlist/album on spotify should have beeing played before (anytime), otherwise spotify doesnt know what to play !
p_mike83 said:
i just checked the link and it works
Click to expand...
Click to collapse
yep download works now. installed it and the calling function works
p_mike83 said:
yes i saw later that you mention you have a 3188 JY unit. i am also using spotify online, and it used to auto play. anyway i have set the waiting time to ca 5 seconds, i think is enough for spotify to open. but remember, a playlist/album on spotify should have beeing played before (anytime), otherwise spotify doesnt know what to play !
Click to expand...
Click to collapse
Hey Mike, I'm not sure what the intended behouviour is. When playing a playlist in shuffle play on spotify, then switching to radio and some time later back again, does not resume playback of spotify. I guess thats not working for anyone or is it? It's not a huge problem for me, love the mode switching button anyway Pressing shuffle play is no big deal.
However I suspect some other app interfering with spotify too. Since it comes up as standard player and pops up sometime as well. I'll try to sort this out first before testing further.
Btw I had a very busy weekend so no time to check the update yet.
Majari said:
Hey Mike, I'm not sure what the intended behouviour is. When playing a playlist in shuffle play on spotify, then switching to radio and some time later back again, does not resume playback of spotify. I guess thats not working for anyone or is it? It's not a huge problem for me, love the mode switching button anyway Pressing shuffle play is no big deal.
However I suspect some other app interfering with spotify too. Since it comes up as standard player and pops up sometime as well. I'll try to sort this out first before testing further.
Btw I had a very busy weekend so no time to check the update yet.
Click to expand...
Click to collapse
i tested also a playlist, and its start playing automatically after switching to spotify. i am not using any other app that can set the default media player (eg xposedmtc).
what do you mean : Since it comes up as standard player and pops up sometime as well. ?
Great work p_mike83, voice dialing working perfect now thanks
Did you create the app in Tasker? If so, would you mind sharing your Tasker files with me? I have a Tasker project just now that allows me to reply to SMS messages in the headunit but I was interested in seeing how you pull the number for the contact so I could try implementing a way of creating a new message rather than only being able to reply to messages.
Related
So, like many other users, I prefer to use the Google Now application instead of just the stock call dialer when connected to bluetooth, whether it be in the car or working out with a bluetooth headset, because it allows you to play music, navigate, etc... in addition to just calling some one. Also, like many other users, I've been doing this since voice search was introduced via Gingerbread.
But it seems that all good things must come to an end.
The Problem... Since Google Now, now uses bluetooth, that old Bluetooth Launch application causes it to get stuck on initializing when launching it from the bluetooth button from whatever bluetooth device you're using.
Without going into to much detail... there DOES exist 2 temporary fixes
1. Disable the Media Connection on your connected bluetooth device via bluetooth settings (not desirable) ,
2. The following solution involves root access, and the purchasing of 2 paid applications.
Guardian Bob... The creator of the original BluetoothLaunch app looks like he's working on an easier fix... but for now... if you're frustrated by the same problem on your droid razr maxx... go to the link I'll post at the end of this post, and use the Paid Titaniam backup application to convert Google Search to a user app
Then Use Bluetooth launch and configure it to launch the voice search activity,
Then use Tasker to program Google Search to Force Close on Profiles for each application you plan to use with Google Now while connected to bluetooth. (note, you can set the task to Force Close Google Search only when bluetooth is turned on, so you don't have to worry about it messing with your daily activities when you're not in the car or on a headset)
Details are here:
http://forum.xda-developers.com/showthread.php?t=1883895
workaround
Still no fix coming from Google, but at least one nice guy made a temp fix while they do it.
Look for "Voice Command" app on Google Play. Developer's name is IT-DEV-CROWD or code.google.com/p/android/issues/detail?id=42178#c37
It worked for me, after trying a lot of different configurations.
rebayona said:
Still no fix coming from Google, but at least one nice guy made a temp fix while they do it.
Look for "Voice Command" app on Google Play. Developer's name is IT-DEV-CROWD or code.google.com/p/android/issues/detail?id=42178#c37
It worked for me, after trying a lot of different configurations.
Click to expand...
Click to collapse
This app did fix the issue where the bluetooth weird voice search comes up instead of Google Now, but I still get Google Now stuck at "initializing" after is opens. This only happens when I have bluetooth devices connected.
SORRY FOR MY ENGLISH
Finally I found a way to bypass the restriction method and play video while driving
anyone following these steps it total by his/her own risk and I'm not responsible to any issue might happen as I'm doing this for research purposes. for me it is working each time I'm doing it
1. Push your ignite button twice so you not be in accessory mode
2. Hold Bright power and menu until you see two choice click on the button on
3. Hold menu to get to another menu
4. Choose vehicle model information then vehicle setting type and you will see three types
TBAA:Gr013 DA KC No 4DR
TBAA:Gr013 DA KA No 4DR (this is the default one)
TBAA:Gr013 DA Kx No 4DR
you will choose
TBAA:Gr013 DA KC No 4DR (you need to make sure you are in empty space area as the GPS need to be locked after rebooting and also make sure you are not in accessory mode)
5. After the device reboot hold bright power and menu again and choose functional setup and then other
6. You will see operation restricted turn it off
7. Also enable Pandora and then back to home menu
8. Now you have system that can be modified couple things while driving not like before like you can use the dial pad
9. Now phase two to watch videos
10. open the browser and type about:debug
11. then delete it and type file:/// and hit enter
12. you will see the file system files, scroll down and click on vendor then app folder
13. scroll down and you find whitelistservice apk file
14. NEVER NEVER NEVER click on any APK only whitelistservice apk (I WARN YOU!!!!!!!!!!!!!!!!!!!)
15. click on it and it will try to install then it fail
16. then back to the home screen and hold power till it asking for reboot. reboot your system and viola you can run browser and gallery to browse , watch you tube or videos
Might you need to turn off your lane camera as when ever you right signal it will stop your video
issues you may get with this method
App installer will not work
rear camera very rare can be delayed or lag
To revert the video thing then you need to setting then apps download section and you will see the white list service there then just uninstall it and you back to normal.. if it acting weird just reboot the unit
Now to things I figured it out
Any apk files that are android system files from version 4.2.2 it will fail with signature different from the one installed
AHA APK can be update it will not working good as it not design for car ( I got it from internet)
apklist.apk from Honda pilot it willing to install but it fail because the version that we have is newer (at least mine as it update to latest android version f190)
Any app you click on it will show gray install button but if you multitask and go to the browser and browse the path /data/data/usbtmp then you will see the file there and that path can install apk but it will fail again. what ever you do the file will delete from there.. i tried to unplugged the fuse and the file stayed there so I tried the to do the whitelistservice.apk that we did above as this will stop the service from running but looks the package installer call whielistlib and the lib check the signature too.
I tried to plug USB serial as I can see in the log android loading PL32XX driver and i change the USB from HOST to DEVICE from the hidden menu i got an Ethernet connection from the USB and I can see the internal sdcard not the system as it is MTP I think.
Rebooting the device and holding menu will get you in safe mode but it didn't help anything
Honda link when enabled it will open another port other than the 5000 (random) when you nmap for the HU IP
Tried most exploits on browser didn't work
Modified APK didn't working
I would we all work together and break the APK installing process.
Donate can accepted to by pizza and drink on paypal
Majedalanni at yahoo.com
Thanks guys for reading my post
I have a 2018 Honda Civic Hatchback Sport Touring (automatic) and the safety "features" lock me out of being able to adjust sound settings, or enter Nav addresses, when the car is moving. Do you have a fix for this? Most important is the sound settings as I can get around the Nav issue by using voice commands. There are no such commands for the sound settings.
I was able to dig into the "secret" menus and found this under "Vehicle Model Information"
Android Auto Drive Level(drive) no video playback allowed/no text input allowed/no setup/configuration allowed/limit displayed message length
Hi,
Mate 10 Pro user here.
When I play audio via Bluetooth to my car or headphones, after the screen switches off the audio stops.
When I switch the screen back on the audio starts back up.
Any ideas? Seems like some power optimisation, but I can't find anywhere to fix it.
Tia
Which player are you using? It sounds like the 'phone is killing your (presumably non-stock) music player.
i have the same issue using google play music
Cephalus said:
Which player are you using? It sounds like the 'phone is killing your (presumably non-stock) music player.
Click to expand...
Click to collapse
I am using two apps.. Both from this website.
One is Ymusic,other is dogfood Spotify.
I didn't try with my usual app power amp yet.
edzonline said:
i have the same issue using google play music
Click to expand...
Click to collapse
gaz_0001 said:
I am using two apps.. Both from this website.
One is Ymusic,other is dogfood Spotify.
I didn't try with my usual app power amp yet.
Click to expand...
Click to collapse
None of these are by default allowed to run in the background (thank Huawei's rather vicious power management system), which would explain why they're being killed as soon as the system thinks you're no longer using them.
Go to Settings -> Battery -> Launch and switch whichever player you want to use to "manage manually," and leave all three manual settings set to "on" (or in the very least, leave the "run in background" option enabled).
This should then allow your preferred media player to continue running in the background after the screen locks.
Cephalus said:
None of these are by default allowed to run in the background (thank Huawei's rather vicious power management system), which would explain why they're being killed as soon as the system thinks you're no longer using them.
Go to Settings -> Battery -> Launch and switch whichever player you want to use to "manage manually," and leave all three manual settings set to "on" (or in the very least, leave the "run in background" option enabled).
Thanks a lot for that.
Seems to be working perfectly.
This is actually what i was looking for, but coming from Pure Android based roms, I didnt know what "Launch" was
Click to expand...
Click to collapse
gaz_0001 said:
Thanks a lot for that.
Seems to be working perfectly.
This is actually what i was looking for, but coming from Pure Android based roms, I didnt know what "Launch" was
Click to expand...
Click to collapse
To tell you the truth, I was getting ready to try to sell my Mate 10 when it was three days old, because the power saving features are so intrusive.
As time has progressed though, I've learnt to embrace its idiosyncrasies and am now very happy with it all 'round.
Just one more point which I'm sure you'll encounter sooner rather than later - if you need an app to consistently run in the background (for example, Tasker or an e-mail client), you'll want to tell the Mate 10 to allow it to do so;
Settings -> Apps & Notifications -> Apps -> Settings (the cog at the bottom of the screen) -> Special Access -> Battery Optimisation
... then set your critical apps to "Don't Optimise."
Until I did this for K9 Mail and Tasker, I was only getting notification updates when I unlocked the 'phone, which more often than not was a couple of hours after I was sent an urgent e-mail.
Cephalus said:
To tell you the truth, I was getting ready to try to sell my Mate 10 when it was three days old, because the power saving features are so intrusive.
As time has progressed though, I've learnt to embrace its idiosyncrasies and am now very happy with it all 'round.
Just one more point which I'm sure you'll encounter sooner rather than later - if you need an app to consistently run in the background (for example, Tasker or an e-mail client), you'll want to tell the Mate 10 to allow it to do so;
Settings -> Apps & Notifications -> Apps -> Settings (the cog at the bottom of the screen) -> Special Access -> Battery Optimisation
... then set your critical apps to "Don't Optimise."
Until I did this for K9 Mail and Tasker, I was only getting notification updates when I unlocked the 'phone, which more often than not was a couple of hours after I was sent an urgent e-mail.
Click to expand...
Click to collapse
You are happy that this setting works for you! For me for example, that doesnt solves anything! I would sell it for sure, but theres just no point. gonna wait one year, but not going to buy huawei by any means.
I'm using the Mate 10 Pro.
I listen to Spotify in my car. Right now every time I enter my car, I have to start up Spotify on my phone, which is quite annoying. On my previous phone (Mate 7), I could add Spotify to the "Protected Apps" and it wouldn't shut down anymore.
Is there a way to solve it in Mate 10 Pro/Oreo 8.0.0/EMUI 8.0.0?
So far I have:
- Added Spotify to "Ignore Battery Optimization" (Status: "allowed")
- In Launch, I deactivated "Manage automatically" and set all three option active (Auto-launch / Secondary launch / Run in Background)
I don't know what else to do. Any help appreciated!
The stock music player app takes precedence over spotify and others. So if there is any sample music on your phone, it will try to launch that first. Maybe remove any locally stored music and try again.
microhaxo said:
The stock music player app takes precedence over spotify and others. So if there is any sample music on your phone, it will try to launch that first. Maybe remove any locally stored music and try again.
Click to expand...
Click to collapse
Thanks, but I already did that. I removed all rights from the "Music" player and deleted all files in the same folder. I created a new folder, named it "My Music", so since then (about 1 month ago) the default Music player has not played anything anmore That's good so far. My issue is really just that it shuts down Spotify.
I noticed that when I'm at work. Maybe another hour later, I still see the Spotify icon on top of the screen, so it wasn't shut down. But sometimes later during the day, it's suddenly gone. So when I'm back in the car, I need to start the app again.
I also tried to hit the "open apps" button (the one next to the home button), then clicked the lock icon. But didn't help either.
I dont use spotify throughout the entire day, but usually as long as I wasn't playing a random video or gif online just before entering my car, spotify will start back up.
I cant say that it runs in the background all the time when not in use. Its like my car triggers it to re-open when it reconnects to bt.
I have a mazda 3 though, all cars seem to act different for BT connectivity.
The thing is, if I leave my car to go shopping or something quick and I get back in my car, it works perfectly fine.
Therefore by my logic, I can rule out the BT of my car. When this happens as explained before, the Icon still remains on top in the notification bar.
So, I guess in the end, for some reason my phone just shuts down Spotify.
Anyway, thanks for your input.
I Have the same problem with VPN App it work fine in background but After a while the App Closed Why?
Having a similar problem with VPN app and also with Youmail visual voicemail. No notification of new voicemails until I open the app. Any ideas? I also set to ignore battery optimization and launch manually.
You need to deactivate the battery settings of the app.
valerio.tosti said:
You need to deactivate the battery settings of the app.
Click to expand...
Click to collapse
That doesn't help. Apps still shut down in background.
FWIW, I have noticed that battery optimization (Launch in settings) changes can be hit or miss. Some apps perform as set. For instance, I have some items set to manage automatically and they seem to stop when I want them to. However apps like Facebook when Set to manage manually and run in background is off, it does not stop. Other apps set this same way will be stopped. Not really sure how it works actually.
Let's collect our discovered bugs of this device. Here are mine:
Default Launcher setting is lost upon reboot. In my case I set Hypersion as default, reboot and the setting is gone. I have to reset and sometimes eben force close the stock launcher or I will still end up on stock when I go back from an app.
GPS coordinates are often wrong in exif of taken photos.
Android Auto freezes as soon as the phone goes into standby.
9gag stays empty and needs to be closed if it was in background.
Google Photos is super laggy due to scoped storage limitations in Android 11. Especially while deleting pictures. Maybe not an device specific issue.
Gboard overlays on places it shouldn't, in any app, only way to fix is to close the app completely.
Game Space app resets everytime I restart my phone, additionally, unhides games, meaning I've gotta flick the switch each time.
Oppo App Market, when I update a app and press install, the install prompt repeatedly refreshes even if the apps installed successfully, only resolve is to close the app completely, and refresh the update page.
Notification panel stays grey even with enhanced dark mode.
App drawer cannot be customized at all, not even row layout.
Swipe up gestures seem to have a hang when swiping up from the centre, also affects keyboard too.
UI glitches in certain apps.
Oppo App Market now persistently requests read app usage permission.
File Manager has a hang upon opening varies between 1-4 seconds.
Microphone volume on social media applications is ridiculously low.
I realize that app drawer customisation & notification panel colour, aren't bugs, however they're very annoying.
Where do we report bugs to Oppo? Cant find it anywhere
Pressing "Close all" disconnects Garmin watch, as it seems to shutdown Bluetooth in the process. Reported to Oppo. No response.
warriorprincess03 said:
Pressing "Close all" disconnects Garmin watch, as it seems to shutdown Bluetooth in the process. Reported to Oppo. No response.
Click to expand...
Click to collapse
Where do you report bugs? I have s few to add also
warriorprincess03 said:
Pressing "Close all" disconnects Garmin watch, as it seems to shutdown Bluetooth in the process. Reported to Oppo. No response.
Click to expand...
Click to collapse
It does not shutdown Bluetooth but the plugin app that is running in the background and is needed to communicate with the watch. Same thing with Samsung active plugin - when I hit close all I get a notification that the plugin restarted itself.
Craphead said:
It does not shutdown Bluetooth but the plugin app that is running in the background and is needed to communicate with the watch. Same thing with Samsung active plugin - when I hit close all I get a notification that the plugin restarted itself.
Click to expand...
Click to collapse
I have Samsung active running fine. Close All does not restart plugin
Robsjo said:
Where do you report bugs? I have s few to add also
Click to expand...
Click to collapse
I just sent them an email to their Australian support email address.
There are plenty in the Color OS 11 update. Here's another one... Using "Keep screen on while charging" in Developer Options to circumvent the annoying Android Auto issue, and Navigation pops up with no way of canceling it, even after the phone is disconnected from USB. The only way to get rid of this notification is to restart the phone. Oppo really shouldn't have pushed such a buggy update without proper testing.
Edit... Seems this bug doesn't even need to have android auto activated, just charging via my car's USB port will trigger the navigation bug. Any way to rollback to Android 10? More problems than this is worth.
Craphead said:
It does not shutdown Bluetooth but the plugin app that is running in the background and is needed to communicate with the watch. Same thing with Samsung active plugin - when I hit close all I get a notification that the plugin restarted itself.
Click to expand...
Click to collapse
Any way to stop it though? I miss out on notifications.
warriorprincess03 said:
Any way to stop it though? I miss out on notifications.
Click to expand...
Click to collapse
Don't know about that but personally I don't see any reason to ever hit "close all" in the first place.
Good evening from France to the whole XDA community!
I have a problem on my Oppo Find X2 PRO: it often happens that when I call or someone calls me, no sound is picked up by the phone when I speak. My caller can't hear me.
I wonder if this is related to the use of a Bluetooth device (my speaker, my headset) before?
Has anyone experienced this problem and if so, how did they solve it?
I would add that a simple reboot is enough to correct the problem...