yashsingh1/xdaforums huggingface dataset:
[Android Auto General] backitdownnow:
I go through the whole installation and get this error whenever trying to start the application. Could anyone lend a hand?

/home/pi/openauto/bin/autoapp

[2018-03-19 19:26:08.830223] [0x726bb250] [warning] [AaApp] [Configuration] failed to read configuration file: open auto.ini, error: openauto.ini: cannot open file. using default configuration.

QXcbConnection: Could not connect to display

Aborted.

When I used the last "Make" command from the Wiki, I get the following error

/usr/include/libusb-1.0/libusb.h:736:4: warning: ISO C++ forbids zero-size array 'dev_capability_data' [-Wpendantic] [0] /*non-standard, but usually working code*/

/usr/include/libusb-1.0/libusb.h:767:4: warning: ISO C++ forbids zero-size array 'dev_capability' [-Wpendantic] [0] /*non-standard, but usually working code*/

/usr/include/libusb-1.0/libusb.h:1263:4: warning: ISO C++ forbids zero-size array 'iso_packet_desc' [-Wpendantic] [0] /*non-standard, but usually working code*/
[Android Auto General] treypop:
Does OpenAuto natively run the android auto code? Or just some kind of emulation of the code? Does it emulate Android Automotive?
[Android Auto General] yokala:
Hi

I'm trying to build the app in windows, and I have trouble with the boost library, I always have the following error message :

''New boost version may have incorrect or missing dependencies and imported targets''

I have installed boost 1.66 and set BOOSTROOT variable.

Maybe I don't have the right boost version ?

Thanks
[Android Auto General] Labo322:
Wow this is awesome!!

Will there in the future be support for for steering control?
[Android Auto General] cheapjeep78:
Solved 'With help of DNG

installed android auto app on phone and set usb permissions on etc/udev/rules.d touch openauto.rules nano openauto.rules then add permissions SUBSYSTEM=="usb', ATTR{idVendor}=="*", ATTR{idProduct}=="*", MODE="0660", GROUP="plugdev"

Thanks Thomas.
[Android Auto General] Nawor81:
Hi all, I want to give this a crack but one thing I would like to know first is if this could be connected to the aux ports in my car? I already have a touch screen so wouldn't want to replace it. Thanks
[Android Auto General] ulfdogg:
Windows

Does anyone have it running on windows?. I am trying to use an Asus T100ta in my car. The problem is, that i cannot get android or a suppoted Linux version to run. Only Windows works with all the drivers. I really want to use it, but no project concerning Android auto seem to work. I tried building something with the Android DHU but there I cannot get the mic to work. Would be great to start openauto in windows

Thank you
[Android Auto General] cheapjeep78:
i'm having trouble with getting mine to fit the screen on 1024x600

can you tell me what you had to do to get it to fit 1024x600. mine throws it all off. I have tried changing the dpi and resolution but not sure what to set it to. i also tried static settings in command.txt i'm using a touchscreen that is native 1024x600 7" and it works well with beaglebone black but can't get rp3 to fit. any help appreciated.
[Android Auto General] yokala:
I'm trying to get it work on windows too but i don't know anything about C++.

But I'm a curious guy, so I tried anyways and so far I've been able to link all the libraries and build the project with Cmake ( without any errors or warnings \o/ ) but I'm stuck with the Visual Studio part... I have a lot of error related to aasdk (files not found, for exemple : cannot open included file 'aasdk_proto/VideoFPSEnum.pb.h' : no such file or directory, etc...) and a ton of warnings.

Little help would be appreciated :)

EDIT : I"ve built the aasdk and aasdk_proto and all the errors are fixed \o/. But at the end, even with no errors, the build fails.
[Android Auto General] imedia00:
i can use in px5 unit
[Android Auto General] multi8:
For some reason openauto doesnt seem to connect to my stock Honor 8 with OEM USB cable.

$ /home/pi/openauto/bin/autoapp
libEGL warning: DRI2: failed to authenticate

** (autoapp:862): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
[2018-03-26 15:19:43.538947] [0x671ff310] [info] [AaApp] [USBApp] Waiting for device...

This is what i can see in the terminal when i exit the app.

I tried to flash Crankshaft and that does connect to my phone. But i want to compile the build of my own so i can config a handsfree.

Any ideas any1?
[Android Auto General] DroidAinol:
I have a Bluetooth after market adapter for my factory stereo. In order to not lose steering wheel controls, does this have the ability to make the raspberry pi send audio to the Bluetooth receiver already in my car so it goes through the speakers ?
[Android Auto General] leaskovski:
[MENTION=7621504]f1x[/MENTION], your youtube account has me intrigued!!! I want to know what the other video is about, i.e. the canbus integration with an E60.... what are you planning here? Is this a different project? Ive been looking at the AVIN/Ali Express aftermarket headunit that is a direct replacement of the screen in an E6x/E9x, but if we can do this better with a PI3, then I'm sold! Im not fussed if we don't have touch screen support, im sure the idrive knob can be programmed to get around that, which is what you video looks like it might be heading down.
[Android Auto General] leaskovski:
I've been thinking about this loads over the past couple of days. Getting the Open Auto to display on my BMW OEM CCC headunit should be possible by purchasing a unit for about £200 that allows an RCA input, so that would mean a PI would be able to be plugged in to that.

As the head unit is not a touch screen, this is why I am interested in tapping into the bus to receive knob input (s******). Theory has it you could then use the knob to control the device similar as to using the cursor keys to move focus around a device when using scrcpy/vysor.

This would be seemless integration then. Use idrive normally, then when wanting to use Android Auto, plug the phone in and press and hold the idrive menu button to change AV input in the £200 box, and then use the knob to navigate around android (as well as voice control).
[Android Auto General] bucket81:
So I have been waiting for something like this for a while. But always run into some small issue. Does this have a way to get FM radio? I would assume an FM receiver would work on the Pi

https://www.adafruit.com/product/30...gqHC3Cg442a6Qxwf28IFxAsDhXvbEbxBoCLEoQAvD_BwE

But it would need some type of app for tuning. I wouldn't plan on using a head unit. I want this to be stand alone.
[Android Auto General] oetti133:
I have the same output without sudo, using sudo it works fine.

I tried OpenAuto with Ubuntu 17.10 with the same issue, but if I use sudo there, the OpenAuto window does not appear. Maybe the rights of the OpenAuto folder need to be changed?

I'm also planning to use handsfree. Has anyone tried to use the RPI 3b+ with onboard-Bluetooth for that? Does it run with OpenAuto out of the box at all?

Victorginos HeadUnit Desktop has build-in FM and DAB+ using a simple TV-Stick with welle.io. Seems to work but I had many problems with HeadUnit Desktop, so I chose to use another project.
[Android Auto General] WarDrake:
Sorry about the late reply, I just saw this, If you still need it, on the config.txt file on the boot partition for the pi.

add this at the bottom :

hdmi_group=2

hdmi_mode=87

hdmi_cvt=1024 600 60 6 0 0 0

That'll tell the Pi and Raspbian to use custom hdmi output screen mode with 1024 width, 600 height, 60 framerate, 15:9 aspect, no margins, progressive mode

Once your Pi is on, you can test you ahve the right values by typing in the console : tvservice -m DMT

it should output the correct resolution/framerate and that should get your display to work flawlessly, if you notice any overscan, then try editting the values a bit on the config file too, I don't have mine handy, but I think I add 5 pixels on the right and 2 on the top to get it looking perfect.
[Android Auto General] ulfdogg:
Got it to work with Ubuntu 17.10. Just Updated from LTS to non LTS and tried the installation. Do not know why it works.

But now I have another Problem. The screen is Black when connected. My Phone and openauto realize, there is something connected, but it just gets black. There is the error code

gst_vaapi_window_x11_new_with_xid: assertion 'xid != None' failed

Could someone help me? Thanks!
[Android Auto General] ComptonJapan:
Ok so I got a few questions, not sure if they've been answered yet or not. So here's my issue and how I came across this. I got a 2017 Lexus CT 200H, the car has it's own head unit. Pretty much no company creates a dash kit for this if I wanna go android auto and put in a new double din head unit. So my options are limited, I either pay a **** ton and get a custom dash kit made for it, use a device that costs just as much and mirror my phone to it which doesn't even do it that well and I might as well just use my phone. The last option which is similar to this. Grom Audio's VLine device (can't post links yet but you can google it) but it costs a lot for something I don't know how reliable it will be. Pretty much what the VLine does is, it connect to the car's head unit and uses the CD button to switch between Lexus' ****ty infotainment system and Android. Which is great because I don't need the CD button and I'm using the car's stock screen and everything looks factory this way.

So how possible would it be with what you're doing to connect it to the car's stock unit and use that screen instead of connecting an additional screen to it? Also are you capable of using steering wheel controls? For example my car also uses this weird touch pad to control the interface. If this is possible, I'm willing to help out in testing it in my car. This would be huge for people that are in my situation and have no real cheaper option to upgrade or people that want to keep everything stock in the car.
[Android Auto General] WarDrake:
as for how stable it is, I've been stress testing it, it's going on 3 days of near continuous use with no issues.

While it's quite possible to just connect the pi to your current head unit and use it as you want to, it might be a little bit too complicated for your liking, since it would also involve a decent amount of programming GPIO on the Pi to interface with the different parts of your original head unit and controls. in your particular case I think you'd be better server with a different project https://github.com/viktorgino/headunit-desktop This one is more along the lines of what you're looking for.
[Android Auto General] Martuzki:
Whats happening if no Android Device is connected to the Pi?

How can we get FM Radio to work?

What about a wifi connection between the Pi and the Phone?
[Android Auto General] oetti133:
Since a few weeks I get an error while compiling OpenAuto:

make[2]: *** No rule to make target '/home/pi/openauto_2018-04-16/aasdk/lib/libaasdk_proto.a', needed by '/home/pi/openauto_2018-04-16/openauto/bin/btservice'. Stop.
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/btservice.dir/all' failed
make[1]: *** [CMakeFiles/btservice.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

AASDK compiles without an error. Same Problem on my computer with Ubuntu 17.04. Does anyone know how to solve this?
[Android Auto General] k12b5:
Hi,

I am not an developer. Could anybody here make something for Mazda CMU? I am using AA Mazda AIO Tweaks. Do not get me wrong, it works but there are some glitches here and there. I am just wondering if this will work smoother.

Thanks
[Android Auto General] BugInAHole:
Try

make clean

and then

make
[Android Auto General] Twoods196:
Does anyone know of a raspberry pi screen that will fit perfectly in a double din opening? Wanted to use a dash kit for a double din An then mount the screen in it I have a 3d printer so can go that route but checking if something exist already before going that’s route.
[Android Auto General] Supermene:
The official raspberry display seems to fit in the double din

Look at this video, it shows the display on the double din module!

https://www.youtube.com/watch?v=Puk_pzMGd7c&t=287s
[Android Auto General] mishu28nmv:
Differences

Hello. I want to buy the raspberry 3 b+ and the official touchscreen. Can somebody tell the differences between this version and the one from crankshaft?
[Android Auto General] mccreath:
I have the same issue and would appreciate some help too please...

protoc --version libprotoc 3.0.0

gcc --version gcc (Raspbian 6.3.0-18+rpi1+deb9u1) 6.3.0 20170516

cmake -DCMAKE_BUILD_TYPE=Release -DRPI3_BUILD=TRUE -DAASDK_INCLUDE_DIRS="/home/pi/aasdk/include" -DAASDK_LIBRARIES="/home/pi/aasdk/lib/libaasdk.so" -DAASDK_PROTO_INCLUDE_DIRS="/home/pi/aasdk_build" -DAASDK_PROTO_LIBRARIES="/home/pi/aasdk/lib/libaasdk_proto.so" ../openauto

kicks out at 19%

[ 19%] Building CXX object CMakeFiles/autoapp.dir/src/autoapp/Configuration/Configuration.cpp.o In file included from /home/pi/openauto/include/f1x/openauto/autoapp/Configuration/Configuration.hpp:22:0, from /home/pi/openauto/src/autoapp/Configuration/Configuration.cpp:19: /home/pi/openauto/include/f1x/openauto/autoapp/Configuration/IConfiguration.hpp:23:41: fatal error: aasdk_proto/VideoFPSEnum.pb.h: No such file or directory #include <aasdk_proto/VideoFPSEnum.pb.h> ^ compilation terminated. CMakeFiles/autoapp.dir/build.make:86: recipe for target 'CMakeFiles/autoapp.dir/src/autoapp/Configuration/Configuration.cpp.o' failed make[2]: *** [CMakeFiles/autoapp.dir/src/autoapp/Configuration/Configuration.cpp.o] Error 1 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/autoapp.dir/all' failed make[1]: *** [CMakeFiles/autoapp.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
[Android Auto General] SvenPHX:
Exactly the same issue here too.
[Android Auto General] WhiteTitane:
Same question for a 1 DIN. Ideally a wide screen with a weird resolution but I'd be ok with a smaller form factor.
[Android Auto General] mishu28nmv:
Hello.

Can somebody tell the differences between this version and the one from crankshaft?
[Android Auto General] yuprules:
I'm unsure who came out first :) I'm just waiting for one of them to make a pre-built Windows version :)

A $99 Windows tablet is such a smaller form factor (and CHEAPER) than a: Pi, 7 inch touch screen, mic (for OK GOOGLE), and all the wires danging out of the Pi (power, mic and audio out wire).
[Android Auto General] f1x:
Crankshaft is just an preconfigured Raspbian image with precompiled OpenAuto. It adds few more Raspberry specific enhancements like brightness control but they do not touch AndroidAuto functionalities. OpenAuto is the core of Crankshaft actually.
[Android Auto General] yuprules:
Cool, I hope they make a pre-configured Windows version soon :) Cheap Windows tablet is way less bulky than a Pi with a 7 inch touch screen.
[Android Auto General] mishu28nmv:
Thank you for clarifying the differences!
[Android Auto General] f1x:
If someone of you is looking for the solution how to power-up and shutdown the PI based on the car's ignition state, take a look at the Blue Wave Studio blog.
[Android Auto General] davey33uk:
Audio

Hi, I have everything installed and it connects to my phone fine.

When I use voice commands the audio works fine, but if I try to play music or make a call that audio doesn't work.

Been trying to search for an answer and playing with settings but just cant get it to work.

Could anyone give me an idea what it could be please?
[Android Auto General] chrisfromwa:
Hello,

I have a question about the benefit of using OpenAuto over Crankshaft?

I have been playing around with Crankshaft, have it working with a WaveShare 7inch screen, and a HIFIBerry DAC+ Pro.

Just curious if there are more feature/options with going with OpenAuto instead?

Basically, my end goal is to use this in place of the stereo that my car currently has.

Here are some holdups I'm running into with CrankShaft.

Volume control: I have my DAC hooked to my external amplifiers, but there is no volume control that I can see. On the CrankShaft forums, I've been told to basically just put a POT inline the RCAs. I was hoping for a more of a software solution, where I can have a Rotary Encoder, turn it and a display pops up to let you know where the volume currently is set.

Another item I'm hoping someone might know a solution for:

FM Radio: Does anyone know if it's possible to get (not streaming) AM/FM radio on a PI? For those times that I either forgot my phone or don't feel like plugging it in. Would like to be able to exit OpenAuto/Crankshaft and somehow be able to use a tuner of some type and control it via the touchscreen. Doubt this is possible, but would really be nice to be able to have it just like a real stereo
[Android Auto General] gtxaspec:
Read the above.
[Android Auto General] xC0u64Rx:
[ deleted ]
[Android Auto General] BraianV:
sorry for ask a noob question.

do i have to create the app myself?

I mean, is there an .exe to install it on a windows tablet?
[Android Auto General] BryanWhatley:
Anyone know where to start to build/run on a regular windows 7/10 pc? I'm a visual studio/c#/learn everything software developer and wouldn't mind trying to get a build on windows just to see how it works. I don't mind doing the grunt work and giving back, just wanted to know where is a good place to start. Apologies if I missed an earlier post on it.
[Android Auto General] x13:
Hey, it sounds like you're after something more along the lines of http://headunit.viktorgino.me/

Android Auto (and by extension, OpenAuto) is not designed to be the only system on a head-unit

---------- Post added at 10:48 PM ---------- Previous post was at 10:46 PM ----------

Start by reading the instructions from github, then modifying them to suit your platform.

I'll likely start working on a wiki writeup for it in a few days, but it won't be ready for a while

E: It's just occured to me that OpenAuto leverages libusbK, and I'm assuming a custom driver, coupled with the USB device filter, it may not currently be possible to build on windows
[Android Auto General] BryanWhatley:
Thanks! Is it possible to run OpenAuto without needing an Android phone plugged into it? (NOOB here on OpenAuto)
[Android Auto General] BraianV:
Is a apk or exe? Do we have to build the app by using the source codes?
[Android Auto General] greeneyez15o:
Does your car have wifi ? If it does u sure can
[Android Auto General] BryanWhatley:
I’ll be able to have Wi-Fi connection. Just wasn’t sure if there was some main reason you needed to have it connected.
[Android Auto General] Hisma:
in for later. i was inspired by a guy that did this on his car and posted the vid on youtube. i'm bought all the parts and i'm going to build one later this week!

question - i want to use my reverse signal to trigger the backup camera, which will be a standard 1080p pi cam (that uses the ribbon cable connector).

Does anyone have any pre-baked code for this? Also, is anyone have any ideas on how to integrate SWC using key1/key2? I'm assuming I'll need to fire some relays and have those contacts read by the pi to trigger some sort of script. Auto-triggering of backup cam & SWC are two things that I think should have some native support, or at least pre-built code, as they're pretty standard features of typical HUs.

Thanks!
[Android Auto General] BryanWhatley:
---------- Post added at 01:48 PM ---------- Previous post was at 01:47 PM ----------

Actually, what I think I'm going to do is hook up the unit to it's own cellular service to use a Fona module to allow me to get GSM/GPS. It is either that, or run a Verizon USB730L modem plugged into the back of it. From my testing so far, I don't think the data rates are going to be that high.

---------- Post added at 01:51 PM ---------- Previous post was at 01:48 PM ----------

Mind sharing the link for the vid on youtube? I would be interested in seeing it too.

Thanks in advance
[Android Auto General] Hisma:
why couldn't it be? with the right accessories (external amplifier, mic, back up cam) it totally CAN be a replacement. i personally don't listen to radio. i'm thinking this can do everything i need it to do, provided i can get the backup cam integrated correctly.

very few people have car head units that could natively support something like this, and it's also silly to think people would want their stock radio with a second bulky touchscreen off to the side somewhere.

---------- Post added at 09:01 AM ---------- Previous post was at 08:56 AM ----------

I think it was already posted here earlier. It's actually 2 parts -

https://www.youtube.com/watch?v=Puk_pzMGd7c&t=287s

https://www.youtube.com/watch?v=jFXxtxoi_pc

What I find interesting is that the vid has nearly 150k views in roughly 3 months. For something so niche, that tells me there's huge demand for a solution like this!

I don't like that he uses it as a supplement to his main head unit though. I already have an external DSP and amplifier in my car, so I don't have to worry about amplification. But a lot of his work can serve as a basis for what we're looking for.
[Android Auto General] BryanWhatley:
Thanks! Yes, that was the guy's video I was looking at as well. He really went all out and did a great job. The only thing I didn't like was still having to have an Android phone connected to it. With either a Fona GSM/GSP module or the Verizon USB730L connection, it would give the connectivity I am needing. I just wanted to make sure there wasn't some strange software key connection that the Android Auto has to make from the unit to the Android phone app in order for the Android Auto to work.
[Android Auto General] Hisma:
i'm not sure about android auto, but all of the external peripherials exist to make a completely standalone unit (without a phone), and it can work w/ a pi. I just don't know what sort of software you would need.

These guys did it -

http://i-carus.com/

The reviews don't seem to be very good though, and it looks like development stopped a couple years ago. It even integrated an amp, fm radio, gps, etc. If you plan to take this project on, please post your progress.

By the way, I found out that I should be able to integrate the backup cam using the reverse trigger fairly easily, just using a simple relay board (tons available on amazon). That's another thing I didn't like about the project i linked... he used a standalone opto-coupler/resistor combo as a dry contact. It's so much easier to just buy a dedicated relay module that includes multiple relays that have all the components you need on a board. They aren't expensive.

As for the SWC, someone already wrote code for an arduino using key1/key2 wires -

https://xdaforums.com/android-auto/android-head-units/usb-steering-wheel-control-android-t3753648

so it can definitely be done on a pi. The challenge would just be to take the input from the key1/key2 that the pi interprets and get them to trigger actions (like vol+/- and track change). On the linked example, he had an android HU that had an app that could map the keys built in.

I've got a bunch of parts on the way, so i will definitely try to record my progress with all this.
[Android Auto General] BryanWhatley:
oh yea, the i-carus looks kinda cool how they have it setup.