X
    Categories: Projects

Android Auto on Raspberry Pi

Recently my news feeds been filling up with android auto on raspberry pi, so i decided to investigate and attempt to install it on my raspberry pi. i have also made a install script that will help you guys with installing android auto as well. thanks for the view!!

Equipment List

Raspberry Pi 3 ► Amazon | Ebay

7inch touch screen ► https://goo.gl/B1Rc2X

7inch touch ► https://goo.gl/Z54f9t

5inch touch screen ► http://amzn.to/2pafLH4

Software List

Raspbian Pixel ► https://www.raspberrypi.org/downloads/

Etcher  ► https://etcher.io/

github ► https://github.com/novaspirit/androidauto_rpi_install

f1xpl ► https://github.com/f1xpl/openauto

crankshaft ► http://getcrankshaft.com/

Android Auto on Raspberry Pi

Step 1: Install Raspbian Pixel

First you will need to download Raspbian Pixel Desktop version.

Now we will need a piece of software called etcher to write the image onto our SD card and USB Storage device.

Step 2: Check for updates

It is always a good idea to check for updates even if it is a freshly installed OS.

$ sudo apt-get update
$ sudo apt-get upgrade

Step 3: Compiling

this is the point where a lot of waiting occurs…. we will now need to download the install script from my github

open up a terminal and type

$ git clone https://github.com/novaspirit/androidauto_rpi_install

now we need to change over to that directory

$ cd androidauto_rpi_install

in order to execute the install.sh script we need to change permissions to allow it to execute.

$ chmod +x install.sh

now we can install android auto

$ ./install.sh

this will take about 30 mins or so

Step 4: Connect your phone

once everything is completed you will be presented with an screen. at this point you need to connect your phone to your raspberry pi.

novaspirit: Avid Thinker, Computer Programmer, Web evangelist, Hacking / Breaking expert, Problem Solver, Technology Obsessed, Gamer, 3D printing, Coffee lover!

View Comments (67)

  • to connect to bluetooth, i know you updated it but what needs to be done after you get everything loaded ?

    • I would also like to know about Bluetooth. Is it to do wireless android auto? As in you simply connect to it through Bluetooth rather than over USB or is it simply for audio or something? I would like to know how to set it up using a Bluetooth dongle(USB) so that I could use wireless android auto.

  • Hi! ive tried to install it for a while now, but everytime i am finnished with the installation it wont show up on my 3.5 screen if i plugin a HDMI then i comes right away. what do i do wrong?

  • im getting a fatal error
    /root/openauto/src/autoapp/Projection/AndroidAutoEntityFactory.cpp:19:40: fatal error: f1x/aasdk/USB/AOAPDevice.hpp: No such file or directory
    #include
    after that it prints a bunch more error and stop

  • I should take a look at your script, because somethings wrong. I'm using a rpi3b and it takes over an hour to install and then it ends with the same message as from hfidek. I've re-installed the os with a fresh version of stretch, but now after 4 times trying, i'm trough with it.

    • my script compiles and install from source and if there is a issue compiling it's possible the main source has something broken. you can try a earlier commit, the commit the video was based on is 53ebc1b

      • I did it manually from github and this worked fine within 20 mins.
        The only thing i had to add was : sudo apt-get install at-spi2-core .
        This was because I had a warning : WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown.

  • How do I exit Android Auto To do something else...

    also how to enable keyborad and mouse support
    or

    do I need to trun SSH?

  • Need some help. Im stuck. After installing right on the last window saying launching open auto, it stops and returns error:

    -- Configuring incomplete, errors occurred!
    See also "/home/pi/openauto_build/CMakeFiles/CMakeOutput.log".
    See also "/home/pi/openauto_build/CMakeFiles/CMakeError.log".
    make: *** No targets specified and no makefile found. Stop.
    ./install.sh: line 47: /home/pi/openauto/bin/autoapp: No such file or directory

          • Same here:

            CMake Error at cmake_modules/Findrtaudio.cmake:64 (message):
            Could not find rtaudio
            Call Stack (most recent call first):
            CMakeLists.txt:35 (find_package)

            -- Configuring incomplete, errors occurred!
            See also "/home/pi/openauto_build/CMakeFiles/CMakeOutput.log".
            See also "/home/pi/openauto_build/CMakeFiles/CMakeError.log".
            make: *** No targets specified and no makefile found. Stop.
            ./install.sh: line 47: /home/pi/openauto/bin/autoapp: No such file or directory

Related Post