-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android auto doesn't start after car turns off and turns on again #61
Comments
My hunch here is what's happening is that the headunit process is crashing and then isn't restarted until the next true boot. Unfortunately the code which displays the log is broken, but if you can repro and copy off the /tmp/mnt/data/headunit.log file and post it might help. A hacky workaround would be to modify the headunit_wrapper script to re-launch the process if it crashes, but ideally the code should be fixed to handle the events it's getting from the car correctly. |
Below is headunit.log. It's the entire file but you'll see a line of asterisks that I added before starting reproducing the error (turning on the car, AA runs OK, turn off the car and ON again to see the error). The missing plugins warnings and errors at the beginning of the log is something I also saw in the install log. Hope it helps. Let me know if you need anything else.
|
Thanks! So just for confirm: This log (past the ****s) is from you connecting the phone when the car UI is on, but the engine is not started? Then you start the engine and AA freezes? (probably where all the usb errors are at the bottom). It seems like we don't handle USB errors other than disconnects very well and the code could be deadlocking. Perhaps the USB connections are reset when the engine starts? I've noticed the audio cuts out even with the stock SW. |
So there are two ways to get to the error. A) Turn on car, plug phone, AA starts, turn car off and back on, plug phone, AA doesn't launch and error appears if you try to launch it manually. B) Start the car on accessory mode, plug phone, AA starts, start car, AA freezes and if you try to reconnect the phone, AA doesn't launch and error appears if you try to launch it manually The log is from A). Here's exactly what I did step by step:
I really never started the engine in this particular test as it seems to not matter at all as I just went back to the car and did the same steps 1 to 7, got the error, and then turned on the car and the error was still there. I also tried to unplug and re-plug the phone and a few other things such as shutting down the engine and turning it back on, without success. I feels that once I get the error the only way to get AA running again is to reboot the headunit or turn off the car and wait 30 mins or whatever the car takes to get the headunit to sleep. |
The audio stream is a preference but the consensus seems to be that it is better when set to default. Removing the vehicle GPS does not seem to effect the navigation at all and greatly reduces audio stuttering and possibly fixes gartnera#51, gartnera#61, & gartnera#87
The audio stream is a preference but the consensus seems to be that it is better when set to default. Removing the vehicle GPS does not seem to effect the navigation at all and greatly reduces audio stuttering and possibly fixes gartnera#51, gartnera#61, & gartnera#87
The audio stream channel is a personal preference but the consensus seems to be that it is better when set to default. Removing the vehicle GPS does not seem to effect the navigation at all and greatly reduces audio stuttering and possibly fixes gartnera#51, gartnera#61, & gartnera#87
I'm running latest build 5ef71ea on my 2016 3 with v55.
If AA isrunning and I turn off the car, unplug my phone, plug it in again and after a few secs turn the car on again, AA doesn't start automatically or manually. If I try to open AA manually on the car I get an error message:
_StartContextReady: Can't connect to headunit process
Only solution is to restart the headunit with back-nav-mute. I think this only happens if the "stop" is short so that the headunit doesn't go to deep sleep.
Another way to get to that error message and probably related:
If I turn on the car on accessory mode (one start button press) with my phone plugged in, AA launches OK, if I then start the car while AA is running, AA freezes and after hitting home and trying to re-launch it in the car I get the same error message "_StartContextReady: Can't connect to headunit process"
Image of error message: https://goo.gl/photos/YAU1SBwrmvf1Dwog7
The text was updated successfully, but these errors were encountered: