Best way to optimize startup of headunit - start listening to Google Play Music ASAP - MTCB Software Development

Hi all,
I have a Klyde head unit for my Honda Civic, This one.
- I am running Malaysk's latest ROM from 12 Feb.
-I use CarHomeUltra as my launcher by allowing it to take over the home button (only the software button though, it will not take over the physical home button).
-I have Google Play Music set up as my preferred media player in all places I could find (Carhomeultra, headunit app, the xposed modules) and I have it setup so that it starts playing music right away by using Automagic which is an app like Tasker.
-This whole setup starts once my phone's bluetooth pairs with the head unit, at that time my phone starts a wifi hot spot and the head unit connects to it and does its thing. It all works, but it takes what seems like forever to actually start playing music. This has worked great on earlier setups that I had so I don't know if I have mucked everything up with conflicting settings in the xposed modules or not.
-It is about 30 sec to actually load up android (has been that way since a very early MCU that I was on where android loaded in like 18 sec!), this part I have come to accept. But it takes up to 3 minutes for all my steps to kick in and actually start playing the music.
-I have messed with the PCV startup app, added Google Play Music, automagic, bluetooth, carhomeultra, and anything else I could think of to speed it up. Now when android loads up, I am right at the google play music screen, so that seems to be working.
Do you guys have an efficient setup or know of the best way for me to get this working as optimal as possible? I love how we have a dedicated forum now but still find it difficult to find exactly what you are looking for.
Apologies for perhaps using the wrong forum, I have to wait to create this thread in either the "general" or "Q&A" forum.

Contact the author of this program will help you do, the download will be 20-30 seconds. http://forum.xda-developers.com/showthread.php?t=3246437

Related

[Q] Eris as a media player

So, I am moving on up from my eris and wanted to set it up as a remotely controlled wifi stereo with my speakers. I was wondering if there was any way to use my new phone to remotely control it? (aside from having google voice set up on it with tasker so I can start an app) Any help would be appreciated.
I'm in the same situation as you. Recently upgraded, but still love my Eris and would love to re-purpose it. As far as your question goes I found this article that you might be interested in. XDA isn't letting me post a link but if you google "VNC android" look for "Remotely Control Android Phone [VNC Server]". The website is taranfx.com.
Now in the near future posts like this are going to become more and more prevalent as more people move away from the old Eris to bigger and better phones. I would be really excited if I could download a ROM for the Eris geared toward media player/iPod Touch like functionality. Maybe strip out phone and messaging stuff and pre-load some headphone controls, equalizers, video players or VNC functionality like the OPs question? I'm just throwing ideas around but I figured this would be a good place to put my suggestion.
zakalwe79 said:
I'm in the same situation as you. Recently upgraded, but still love my Eris and would love to re-purpose it. As far as your question goes I found this article that you might be interested in. XDA isn't letting me post a link but if you google "VNC android" look for "Remotely Control Android Phone [VNC Server]". The website is taranfx.com.
Now in the near future posts like this are going to become more and more prevalent as more people move away from the old Eris to bigger and better phones. I would be really excited if I could download a ROM for the Eris geared toward media player/iPod Touch like functionality. Maybe strip out phone and messaging stuff and pre-load some headphone controls, equalizers, video players or VNC functionality like the OPs question? I'm just throwing ideas around but I figured this would be a good place to put my suggestion.
Click to expand...
Click to collapse
*IF* you use your computer as your media hub/server/DVR like me then you can remotely control VLC/VideoLAN and Media Player Classic for Home Cinema with Android apps for the purpose, over WIFI. I don't actually do it because my phone IS my internet right now, but it looks solid.
i was in the same situation a while ago too. someone told me about webkey. its in the market, and you can control the phone from anywhere (doesnt need wifi or bluetooth).
from what ive read, you can not directly connect to the phone if you live in america. i do, and whenever i try, the browser times out. using the webkey website and logging in however, works just fine. actions you do from the computer happen on the phone within 1 second, but sometimes it may take 3-4 seconds to refresh the picture on the website.
i will look into this vnc thing..
First step would be a way to toggle the CDMA radio off, while leveaing wifi and bluetooth on. I know you can use *#*#4636#*#*, but when you reboot the radio is back on.
Bump.
I too would like to re-purpose my Eris as a music or media player of some sort.

BubbleUPnP great on Q!

Hi,
I recently installed Cyanogenmod 10 on my Q.
The install process was quite smooth. (see the Q developer forums for tutorials)
I chose the ROM with the amp support as I have two nice Bose speakers collecting dust.
Well no longer. The Q is now my main music device in my living room.
First, I was very excited about the Cheapcast app (quite a bit of stir about that here on the forums).
I could easily cast my music from my phone or tablet via Google Music. Worked fine, for a while.
Cheapcast, however, is nog very stable for streaming music. Hiccups, slow, connection loss.... I had to reboot the Q a lot.
I then tried Bubble UPnP (installed on Q, some minor config) combined with Cast To UPnP/DLNA for GMusic installed on your phone or tablet. This setup rocks and has been serving me music for the past couple of weeks.
You can try these apps for free, but there are time limits per session. Buying is well worth it.
I still preferred the original Q with the social streaming thing. But my current setup comes close: it's stable and easy. Somewhat slow in responding to actions like skip track, but it'll do.
If you have 5$ to spend on apps, give this a go. You won't be sorry.
Can you post the configuration for BubbleUPnP? I can't get the cast gmusic app to see my bubbleUPnP renderer.
Some settings
coolacid217 said:
Can you post the configuration for BubbleUPnP? I can't get the cast gmusic app to see my bubbleUPnP renderer.
Click to expand...
Click to collapse
Hi there, here's a few settings. I don't remember which ones are default and which ones I changed:
Local renderer
- enable
- allow remote control
Local media server
- enable
- advertise on lan
- allow remote clients: all clients
Cloud content
- google music: enable
- select account: none
Control:
- kill on inactivity: never
- start on boot
- volume keys
- media keys
- lockscreen controls
I do remember having to reboot te Q to make certain settings stick.
Hope this helps, regards,
eddib
Thank you! That did the trick.
Now also from the browser
You can now also cast directly from your Chrome browser with the Google Cast extension.
My Q started showing up recently.
eddib said:
You can now also cast directly from your Chrome browser with the Google Cast extension.
My Q started showing up recently.
Click to expand...
Click to collapse
I just wanted to pop in and thank you for this thread! I bought a Q from eBay a couple months back, and after setting up CM10, BubbleUPnP was the next thing I installed. It works great! While there have been changes with the most recent Google Play Music that prevents some capabilities, everything else works flawlessly. BubbleUPnP really does make the Q a serious streaming device again. Cheers!
Google being Google
Scuba Jeremy said:
While there have been changes with the most recent Google Play Music that prevents some capabilities, everything else works flawlessly. BubbleUPnP really does make the Q a serious streaming device again. Cheers!
Click to expand...
Click to collapse
Yep, Google seems to have locked down some functionality. You can still cast, but the receiving end has been secured with encrypted keys.
Cheapcast no longer works. I guess they want money for licenses.
Nor does casting to BubbleUPnP on your Q from the Google Music App (with Cast To UPnP/DLNA for GMusic; the app's gone from the App store btw).
I now cast music via the BubbleUPnP app to the Q, so not really using the Google Cast protocol, but the actual UPnP.
The interface for browsing music on you phone via BubbleUPnP is far from perfect, but it still gets the job done.
To use this, you need to add your Google Music library in BubbleUPnP.
If anyone finds another way to keep using the Google Music app to control the casting to the Q with BubbleUPnP, please let us know here.
I think it might be possible to use the Google Music App as a controller for BubbleUPnP, not sure though.
Hey guys,
just a quick message to let you know that the BubbleUpnp app has gotten some great updates recently and is now much cleaner and more responsive.
Also I found that CM 10.2 (from here in the forums) works best for this setup. It allows for the Q to run without screen or mouse attached, with BubbleUpnp running in the background. Other CM versions I've tested all needed the BubbleUpnp app to run in the foreground (thus needing screen and mouse).
I made a quick write-up for installation and added all files to my Google Drive, get it here
If this can be done with free apps, please reply here.
... now I need to find how to get the LED rings to do something
Does BubbleUpnp automatically load when the Q boots up? Also, if you could get the LED ring working again, you would be the hero of this sub forum
dts924s said:
Does BubbleUpnp automatically load when the Q boots up? Also, if you could get the LED ring working again, you would be the hero of this sub forum
Click to expand...
Click to collapse
Yes, you can configure the upnp app to start on boot.
For the led, there is an interesting thread here somewhere that discusses getting led functionality back. It should be possible to make this into an app.
i just got started learning Android dev, so for now, this is a bit out of my league.
eddib said:
Yes, you can configure the upnp app to start on boot.
For the led, there is an interesting thread here somewhere that discusses getting led functionality back. It should be possible to make this into an app.
i just got started learning Android dev, so for now, this is a bit out of my league.
Click to expand...
Click to collapse
Is there some setting in BubbleUPNP I'm missing? I still don't see the Nexus Q when I try to cast Google Play Music.

Assistance Required with Google Music Next/Previous Buttons

Hi All,
Recently purchased and installed a Joying head unit (4GB, PX5 Octa Core) (link)
I use google music for all my music needs. I have uploaded all my personal music onto the google music cloud servers so I can stream or download them whenever I want making it an ideal solution. I installed the google music app on my android head unit and everything works great appear from one small thing.
The steering wheel NEXT and PREVIOUS buttons are not responding on the music app. Its killing me cause at the moment every time I have to change a song ive got to touch the screen (not ideal when driving).
Volume buttons work fine but ive tried different things to try and get the other buttons to work within the app like button re mappers via the app store etc.
Does anyone know of any way to get the NEXT and PREVIOUS song wheel buttons to work with the google music app. I will love you so much
I think its a software thing with the app cause poweramp and some other music players work with the wheel buttons. If this is the case I was hoping that there is an app that can run in the background which can pickup the wheel buttons and translate them so they work with the google music app.
Any assistance would be great. I hope someone can help.
Did you ever figure this out? I am having the same issue with Spotify.
Try MTCD forums as you have a MTCD not MTCB unit. Suggest searching first for the answer.

Can't find android app or foobar plug in that crossfades music properly?

Hi all, within the last year I've been using my first smartphone, and with that recently have been able to expand the memory, and load a large portion of my music collection in flac format. I'm using Foobar 1.0.94; installing any later version just gives me the message that this software is not compatible with android.
-----small side note----
I want to update to a newer version of the android system, which apparently is 8.1. I've successfully downloaded the update, which has taken about a month, because where I live has little wi fi connectivity. I was wanting to back the update file up first, before installing, but apparently asking about the location where the file has downloaded to was enough to get me booted off the Lenovo help forum. I would have liked to back the file up, just incase of any problems or corruption issues. This is just explaining why I'm still on android 7.11.
-----back on topic-----
But now my main question is trying to find a music player or DSP plugin for foobar that can crossfades songs properly. I've tried a number of programs, but they ALL crossfade as in introducing a fade both at the end of the song, and the start of the next. So in other words, the beginning of any track is never a hard start. It always fades in, and the first few seconds of the song is missing.
Idealistically I would like the song to fade off naturally as it does from the album, and at a given db point, the player would trigger the next track without any fades; just playing normally.
I thought this would have been relatively simple, but I'm trying to find something that would start the next song at the point in which the previous song's ending falls below a nominated threshold level, such -33db, and then start the next song WITHOUT killing the residual of the previous song's fade that would still be taking place underneath.
They are players out there that come close, but all stubbornly fade the intro of the new song in regardless. Below are my system specs, hoping someone please could forward any recommendations.
Thanks from wintery sydney.
Phone model - Moto G5s XT1797
Software channel - retapac
Android version - 7.11
Music Software - Foobar for Android
Version number - 1.0.94

Android as Smart Panel

Hey guys,
I'm not really sure if this is the right place to post this question but as I don't really know where else in the web I could find help on this I'll give it a try
TL;DR:​Do you know any (and I really mean any - including writing an app or other hands on approaches) method to have a permanent (tabbed) navigation at the bottom of the screen to switch between apps or websites/PWAs?
The background of this question:​
I'm coming down a long road trying to hack together a DIY - privacy focused - smart speaker - mainly to switch lights and play some music. I started off back in 2018/19 and found snips.ai one of the most promising FOSS smart speaker projects for my plans and so I got me a Raspberry Pi 3b+ and a Matrix Voice board as foundation. Then half a year I later, when I found the time to put those together, I had to find out, that Sonos just bought snips.ai and their services were to be shut down...
Since then I had a long pause on this but always followed the development of FOSS voice projects including Mycroft (to expensive HW, to bloated, to tied to their web services IMHO), Sepia (to complicated to setup) as well as attempts on hacking OTS speakers like Alexa, Google Home, Sonos et al or combinations with web controllable wifi speakers like Teufel 3sixty (which is really a gold speaker but as tons of other radios has a frontier chip set with its awkward web interface) or even the awesome Squeezelite-ESP32 project. Lately I stumbled upon Rhasspy and got myself together to give my project a new try and was even kind of successful (got a self hosted voice assistant doing what I want - even if I had to learn and write some python here and there). But I figured out that 1) a smart speaker without a display is not really what I want and 2) I'm not really that kind of maker guy to 3d-print cases, plan and build circuitry and what not - or it's just missing me the time to do and especially experimenting on this
So I ended up with the idea of the software that I need (Rhasspy server side + a satellite app, Home Assistant, Logitech Media Server, Spotify/Tidal and maybe some others) and was then looking for some hackable device to serve as interface to that (display, speakers, microphone, wifi + maybe bluetooth). The Sonoff NSPanel Pro was a candidate but I didn't trust the quality of its speakers and read some reviews that were claiming a weak performance. Then I found the Lenovo ThinkSmart View that has all this and this XDA thread and immediately got me a new one for 60 bucks. Now I have a quality device better then I could ever make it with a blank(though not rooted) android, a Rhasspy Voice Assistant running on a local server ready to receive and send audio streams, a promising app to act as a Rhasspy satellite and some quality speakers to play music on. The last opponent I'm facing now is a nice UI on android that can bring all the bits together.
What I'm looking for now is a free (and ideally OSS) panel/kiosk solution with that I can seamlessly switch between Home Assistant (web UI), Spotify (web UI or their app) and some others like a self hosted Web music player. In my imagination I could switch between them with a permanent tab bar at the screen bottom but am open to other ideas. I'm not an Android developer but I consider myself a stable Java dev open to write an own app for this - I'd just need a starting point (read of Webviews, Custom Tabs, Trusted Web Activities but found them not really a solution to what I need - maybe is there some browser which's contents I can just include in an app?). Also I can write (progressive) web apps and do stuff with them but then AFAIK the only method to embed remote sites would be iframes which likely won't work with at least spotify).
I really do not want to bloat this forum with all that stuff - I'm just writing this in the hope that 1) someone is interested in this and maybe is on the same journey and 2) to give some context on my actual question above
Thank you very much in advance!
Just came across your post. I’ve been looking for something very similar and have also been considering the NsPanel pro. I don’t have as much concern for audio quality as I’m less likely to use it for playing music, just responses or notifications from Rhasspy. I have just ordered a Lenovo device as I’m sure I’ll have fun with it.
To answer your question above, I just found this in the HA companion app that might work for you: https://companion.home-assistant.io/docs/integrations/android-webview/#links It’s not perfect but could be used with a button or voice command to launch the app on the device. I’ve also seen other posts about using a key mapping app for using the volume buttons to do other tasks.
I’d be very keen to see what you’ve done for dashboards and how you’re using the Rhasspy app on your device. Has it been as responsive and accurate as you hoped?

Categories

Resources