AA Double Din Linux Boxes - Android Auto General

Hey guys,
I've never had a touchscreen in a vehicle, other than a phone in a mount.
Researching options, and making a list of what I've found so far. Some ideas on how I could use custom systems, and hopefully some guidance from those who've been there, or know of options I've missed in my search engine hunt.
Think I might start with a Raspberry Pi and/or RockPi x86 board in a retail RPi touch enclosure, mounted in a car tablet mount. Going to test OpenDash, OpenAuto, i-Carus, Crankshaft board images.
GitHub - openDsh/dash: Join us on Slack! https://join.slack.com/t/opendsh/shared_invite/zt-la398uly-a6eMH5ttEQhbtE6asVKx4Q
Join us on Slack! https://join.slack.com/t/opendsh/shared_invite/zt-la398uly-a6eMH5ttEQhbtE6asVKx4Q - GitHub - openDsh/dash: Join us on Slack! https://join.slack.com/t/opendsh/shared_invite/zt-la39...
github.com
GitHub - f1xpl/openauto: AndroidAuto headunit emulator
AndroidAuto headunit emulator. Contribute to f1xpl/openauto development by creating an account on GitHub.
github.com
Downloads
i-carus.com
Crankshaft - GNU/Linux for your car with Raspberry Pi and Android Auto
getcrankshaft.com
I currently have no 3D printer for creating to spec board and LCD mount plates.
i-Carus offers a retail double din mounting solution for RPi type boards.
Shop
i-carus.com
They also have a search tool for 7 inch touchscreen fascia plates and wiring harness adapters for various vehicles.
Harnesses and dashboard kits for CarPC mounting
i-carus.com
Another provider for car wiring interface is CarPiHat, but doesn't offer any type of housing.
CarPiHat - Raspberry Pi Car Interface PCB by TJD's Electronic Stuff on Tindie
A PCB to help interface a Raspberry Pi to your car - Power supply, Isolated GPIO, CAN Bus, 12v Outputs
www.tindie.com
CarPiHAT - Car Interface HAT for Raspberry Pi
The TJD CarPiHAT is designed to make interfacing your Raspberry Pi to your car, boat, truck, or any other 12V based system much easier. Whilst shopping for a simple power supply and shutdown solution for his OpenAuto Pro installation, the designer (Sam Taylor-Jones) was unable to find a solution...
thepihut.com
Definitely a project to undertake, and want to use harness adapters and fascia plates so that when I change vehicles, I can just unplug, put factory system back, take my Linux box with me, put old harness & plate on ebay, and get new ones for a different vehicle.
The alternative to a Linux box will be to get a Head Unit from Atoto, Dasaita, Joying, Xtrons, Eonon, or some outfit like Phoenix Automotive. Then put a Hal9K or Malaysk ROM on it if I what longer term updates, and tweaks.
Going that route, probably Android 12 4gb/64gb, minimum. 7-13 inch screens. Some options there that are likely vehicle and ergonomic dependent.
Anyway, going to start with a phone mount for a stylus phone, a figure something out from there.
No purchase decisions made yet on double din mount unit, and open to options or advice.

James C said:
Hey guys,
I've never had a touchscreen in a vehicle, other than a phone in a mount.
Researching options, and making a list of what I've found so far. Some ideas on how I could use custom systems, and hopefully some guidance from those who've been there, or know of options I've missed in my search engine hunt.
Think I might start with a Raspberry Pi and/or RockPi x86 board in a retail RPi touch enclosure, mounted in a car tablet mount. Going to test OpenDash, OpenAuto, i-Carus, Crankshaft board images.
GitHub - openDsh/dash: Join us on Slack! https://join.slack.com/t/opendsh/shared_invite/zt-la398uly-a6eMH5ttEQhbtE6asVKx4Q
Join us on Slack! https://join.slack.com/t/opendsh/shared_invite/zt-la398uly-a6eMH5ttEQhbtE6asVKx4Q - GitHub - openDsh/dash: Join us on Slack! https://join.slack.com/t/opendsh/shared_invite/zt-la39...
github.com
GitHub - f1xpl/openauto: AndroidAuto headunit emulator
AndroidAuto headunit emulator. Contribute to f1xpl/openauto development by creating an account on GitHub.
github.com
Downloads
i-carus.com
Crankshaft - GNU/Linux for your car with Raspberry Pi and Android Auto
getcrankshaft.com
I currently have no 3D printer for creating to spec board and LCD mount plates.
i-Carus offers a retail double din mounting solution for RPi type boards.
Shop
i-carus.com
They also have a search tool for 7 inch touchscreen fascia plates and wiring harness adapters for various vehicles.
Harnesses and dashboard kits for CarPC mounting
i-carus.com
Another provider for car wiring interface is CarPiHat, but doesn't offer any type of housing.
CarPiHat - Raspberry Pi Car Interface PCB by TJD's Electronic Stuff on Tindie
A PCB to help interface a Raspberry Pi to your car - Power supply, Isolated GPIO, CAN Bus, 12v Outputs
www.tindie.com
CarPiHAT - Car Interface HAT for Raspberry Pi
The TJD CarPiHAT is designed to make interfacing your Raspberry Pi to your car, boat, truck, or any other 12V based system much easier. Whilst shopping for a simple power supply and shutdown solution for his OpenAuto Pro installation, the designer (Sam Taylor-Jones) was unable to find a solution...
thepihut.com
Definitely a project to undertake, and want to use harness adapters and fascia plates so that when I change vehicles, I can just unplug, put factory system back, take my Linux box with me, put old harness & plate on ebay, and get new ones for a different vehicle.
The alternative to a Linux box will be to get a Head Unit from Atoto, Dasaita, Joying, Xtrons, Eonon, or some outfit like Phoenix Automotive. Then put a Hal9K or Malaysk ROM on it if I what longer term updates, and tweaks.
Going that route, probably Android 12 4gb/64gb, minimum. 7-13 inch screens. Some options there that are likely vehicle and ergonomic dependent.
Anyway, going to start with a phone mount for a stylus phone, a figure something out from there.
No purchase decisions made yet on double din mount unit, and open to options or advice.
Click to expand...
Click to collapse
None of these are Android Auto. The horrible hacks from hal and Mal are modded roms but not Android auto either.

From my understanding, Android Auto syncs and mirrors information to and from a paired Android phone.
Haven't tested anything yet, and the software links I posted are mostly what I assume to be Raspbian/Debian that boot into a version of those features.
Really not that interested in tinkering stereos, and just want a dedicated and versatile touchscreen device in vehicle.
Was just looking at swing out dash monitor mounts for vehicles. Could use anything with Vesa mount. Probably Fedora/Red Hat with Android X86 rpm install for qemu and dual boot option.
https://www.l-trondirect.com/Havis/C-DMM-120
Will have two modes basically, driving and parked mobile office.

My Linux Touchscreen for vehicles can basically be implemented as an addition to any existing console infotainment system, via a dash swing mount, a floor mount, or seat desk for laptops, tablets, etc.
Question is what Android Auto option is the bottom line for cost, performance, and stability. Also, what AA options are worth spending extra for?
I've seen factory upgrade kits to add Android Auto to older in dash Navigation systems without that feature, starting around $700. Worth it, or better spent on other options?

Just began looking at options from Alpine, JVC, etc. I guess the lowest cost, stable performance option would be a Bluetooth connection to a simple audio receiver offered by real Trademarked Brands in the market place, $100.
Some Android Auto options from the name brands, ranging in cost from $250-$1000+.
Backup camera and DVR for safety and insurance purposes is smart.
Are there any comparisons between the name brand AA options and the Chinese factory AA options?
So far, I've seen some Chinese AA HU brands ranging in price from $50-$550, not including units for specific vehicle trims to accommodate extra large screens. Haven't seen any name brand kit options for specific vehicle trims so far.

Actually want to revise earlier statement, that lowest cost, stable in car Android option is a $100 Name brand Bluetooth Dash unit.
Lowest cost, stable, performance, phone-only option, keeping factory equipment would be a Bluetooth Aux/Cassette/Radio adapter, a dash/vent clip magnetic qi charger, and a case/clamp/sticker with metal plate.
Qi adapter for phones without. That, and adding a Backup cam DVR Rearview mirror unit.
This for old models, and newer trims without navigation or backup camera.
While reviewing this I saw a 7" Binize w/AA for $52, and a dash kit for $12. Cost is about on par with phone only, no cables to plugin option. The Binize comes with a backup cam according to product picture. So, some savings there. Performance comparison is likely another story.

Think I'm going with a Havis monitor mount for an older Ford with a standard double din radio without weird custom fascia plates I would either need to cut into, remake, or order kit for.
May replace factory radio with a 7 inch Chinese unit that has Android Auto features, and has a compatible Rockchip processor for running one of the roms available here.
The AA double din unit will be setting behind the Havis Vesa 75 swing monitor mount, which I'll attach a 13.3 inch Vesa mount Touchscreen monitor, connected to an old Lenovo ThinkCenter probably installed under a seat or somewhere similar. A Lenovo USFF with enough ram to run Windows subsystem for Android, and WSLinux for starters. Will run on rechargable battery bank, and will have to figure out USB gps, glonass antennas for PC. Will begin there, and move to Linux once I figure out hardware that works for everything I need. OpenDash for AA Linux/Windows purposes. Everything else I'm working on is basically a separate mobile office project.
Will either use Aux or Bluetooth to interface PC system into car audio system. Factory or Aftermarket stereo system will be used as needed as 13" touchscreen will need to be unlocked and "opened" to access manual or touch controls. Probably set it and forget it, mostly while tinkering with PC option.

Found this adapter for name brand aftermarket options, Maestro. https://www.idatalinkmaestro.com/en/compatible-products/all
Rather than go for a Chinese Android Head Unit, I'll just stick to factory or name brands supported by Maestro.
Will just mirror any apps I want to use from phone, if unsupported by Android Auto. Say a Lottery.apk for the state lotto. I find driving a good opportunity to sense lucky numbers and make picks, personally.
Will see how that works out before investigating further options. Namely, the expensive Chinese Android Head Units, and pole/dash mounts for tablet docks used in police vehicles.

For inexpensive head units, Atoto seems a good choice. F7 Linux based, S8 Android 10 based.
Lots of various configurations of each, from 7"-10" displays, single or double din enclosures.
Haven't decided on F7 or S8 yet, but I do know I want a single din with floating display that will work in a tractor or older vehicle without the built-in infotainment and navigation features newer vehicles offer.
Still going namebrand with maestro for newer vehicles.
Laptop and tablet dock mounts should work with either via Aux or Bluetooth.
Might do away with phone altogether, and try a watch phone instead, since I'll be packing along both a dash "tablet" and a 12" PC.
New models of watch phones are kind of on standby I hear, due to their chip supply chain drying up since COVID.
In any case, will try and Android 10+ watch phone with a head unit that supports wireless Android Auto.
Found this with watch phone firmware. https://fullandroidwatch.org/

Think my final solution for a vehicle Linux box, will be a single din head unit with an HDMI input attached to a Raspberry Pi or similar SBC. Stowing the board into the empty slot on a Metra dash kit. Head unit also supports Android Auto and Screen Mirroring. Will likely use a wireless TV keyboard/gamepad to tinker with Linux SBC for certain use cases. Maybe just Velcro Linux SBC and accessories in Metra slot, for easy removal to take indoors as required.
Umm.. Will figure it out, and test the Pi images posted earlier.

American made vehicles are better supported by idatalink Maestro adapters.
iDatalink Maestro
www.idatalinkmaestro.com
The Chinese Factory brands better support Asian designs with their own wiring harness adapters to retain all vehicle sensor features.
There are exceptions, and Metra is a resource to investigate.
Going Ford, Lincoln, Mazda. Alpine, JVC or whichever Chinese factory brand offers a suitable dash kit and harness adapter.. Long story short.

Related

OBD2 scanner for g1?

Is there anything out there that can plug up to the car and sync bluetooth with phone to show error codes and what non like a scanner car mechanics have? It would be nice because I work on cars a lot and it would prolly save money because I could just quickly pop up my phone and plug it up on the go to see what is wrong with the car. If anyone could please link me if possible, thx X)
Android currently does not offer USB host support, it would not be able to interface directly with a USB ODB-II adapter. Also, its bluetooth stack only offers audio profiles (headset, hands-free, a2dp, avrcp), although there are some third-party options to change this. However, there is still a lot of work that would be needed to: 1) implement a bluetooth serial protocol to read the raw data from the ODB-II; and, 2) have custom software to allow you to read and display the ODB-II information read from the adapter.
this should be in the app forum
though I do have interest in this as well as OBDI
keep an eye out for this : http://code.google.com/p/android-bluetooth/
I'm sure there are OBD2 bluetooth adapters around
The device *does* have a serial RS232 port you know....
http://www.instructables.com/id/Android_G1_Serial_Cable/
** you can leave out the USB parts since that is intended to link up with your computer's USB port.
Along with this, you need the program to read/write the OBD2 commands to the car's computer. FYI OBD2 protocol is very simple, so it wouldn't be much work to implement.
The only issue with doing this is that there is really no need. You would have to carry around the right kind of plug to fit the car anyways, so you might as well pick up a cheap OBD2 scanner device.
I doubt there are any cars out there with ECUs that have any bluetooth capabilities... Audio systems (where the bluetooth is on cars) will most likely be separate from anything ECU related.... It may be possible, but I doubt it at this point... unless it is some new fancy mercedes/bmw kinda thing.
You completely missed the point.
The bluetooth interface won't be in the car, it will be a device connected to the OBD port.
glock30 said:
I doubt there are any cars out there with ECUs that have any bluetooth capabilities... Audio systems (where the bluetooth is on cars) will most likely be separate from anything ECU related.... It may be possible, but I doubt it at this point... unless it is some new fancy mercedes/bmw kinda thing.
Click to expand...
Click to collapse
Ahh... guess that makes more sence... looks like I read it wrong.
would be pretty bad ass .. and while having access to the obd2 port u can even implement stuff to monitor o2 readings and all sorts of other stuff
Im already barking up the same tree on some of my car forums. I see the future being ruled by android phones that are capable of giving you full racing telemetry, at first by log to your computer and eventually in real time info like a set of gauges. I would ideally want to use the OBD2 for the majority of the data logging while overlaying G forces from my phone.
http://legacygt.com/forums/showthread.php?t=116910
brandenk said:
Im already barking up the same tree on some of my car forums. I see the future being ruled by android phones that are capable of giving you full racing telemetry, at first by log to your computer and eventually in real time info like a set of gauges. I would ideally want to use the OBD2 for the majority of the data logging while overlaying G forces from my phone.
http://legacygt.com/forums/showthread.php?t=116910
Click to expand...
Click to collapse
LGT!
Used to be an active member, haven't been around since I wrecked my Legacy GT Ltd though.
lbcoder said:
The device *does* have a serial RS232 port you know....
http://www.instructables.com/id/Android_G1_Serial_Cable/
** you can leave out the USB parts since that is intended to link up with your computer's USB port.
Along with this, you need the program to read/write the OBD2 commands to the car's computer. FYI OBD2 protocol is very simple, so it wouldn't be much work to implement.
The only issue with doing this is that there is really no need. You would have to carry around the right kind of plug to fit the car anyways, so you might as well pick up a cheap OBD2 scanner device.
Click to expand...
Click to collapse
That's awesome! I wouldn't care if it's a serial cable or some bluetooth, just having the ability to not drag my laptop into the car would be useful (I guess my fault for buying a heavy 17")
I have seen a bluetooth dongle type thing that plugs into the port on the car and it is kinda huge, but idc what the size of the bluetooth adapter is. It is supposed to work for window based systems and also some smart phones. So it may be possible to write something to sync the obd2 bluetooth thing to the phone? And from there decode the data it recieves and place it out to english on the phone?
Any chance this would work?
ELM327 Bluetooth OBD-II Wireless Transceiver Dongle
Manufacturer's product description:
bluetooth ELM327 is the newly developed wireless scan tool. It supports all OBD-II protocols
• Works with all OBD-II compliant vehicles
• Wireless (Bluetooth)
• Software included for Palm, PDA
• Software included for Windows PC
• Software included for Windows Smartphone
• Supports ISO 9141, KWP2000
• Supports SAE J1850
• Supports CAN bus
Functions:
• Read diagnostic trouble codes, both generic and manufacturer-specific, and display their meaning (over 3000 generic code definitions in the database).
• Clear trouble codes and turn off the MIL ("Check Engine" light)
• Display current sensor data, including:
• Engine RPM
• Calculated Load Value
• Coolant Temperature
• Fuel System Status
• Vehicle Speed
• Short Term Fuel Trim
• Long Term Fuel Trim
• Intake Manifold Pressure
• Timing Advance
• Intake Air Temperature
• Air Flow Rate
• Absolute Throttle Position
• Oxygen sensor voltages/associated short term fuel trims
• Fuel System status
• Fuel Pressure
• Many others...
http://www.dealextreme.com/details.dx/sku.16921
Yes i guess, if it is possible to sync the phone with this and have someone write a program, it may be possible to get it working like a normal scanner itself?
Open-source linux based OBD GPS Logger
-http://icculus.org/obdgpslogger/
Maybe an easy port? (I am not a coder)
LinkinX said:
Open-source linux based OBD GPS Logger
-http://icculus.org/obdgpslogger/
Maybe an easy port? (I am not a coder)
Click to expand...
Click to collapse
That's pretty nice! Looks like most of the code is written in C and some in C++. It wouldn't be a direct port since Android apps are written in Java, but it might be worth checking out.
I would LOVE to have something like this on my phone!!
** EDIT **
The code is simple, I have no doubt this would be easy enough to port. The problem (at least for me) is that the interface cable is pretty expensive. I searched a little bit and it seems like it would cost over $100! Ouch!!
I have written an obd-II logger in the past using an ELM interface...
I do however think that a laptop is more easy to use for readings and logging. The android screen is just a bit too small to really make a useful app.
And obd-II kinda sucks for real use ( sampling rate etc )... purely diagnostics can be handy though.
Ive always used software like crome and ectune to map my cars ( purely honda ).. Something like that would be great to have in a pocket device to turn on/off launchcontrol etc
rogro82 said:
I do however think that a laptop is more easy to use for readings and logging. The android screen is just a bit too small to really make a useful app.
Click to expand...
Click to collapse
I see where you're coming from. However, there are ways to work around the screen real estate issue. I still think this would be a great app! Since you have experience in this area, can you recommend a place to pick up an ELM/USB interface at a reasonable price?
ximonx said:
keep an eye out for this : http://code.google.com/p/android-bluetooth/
I'm sure there are OBD2 bluetooth adapters around
Click to expand...
Click to collapse
http://androidcommunity.com/htc-hero-bluetooth-profiles-detailed-20090724/

REVIEW AppRadio 2 by Pioneer

Today we’re looking at the AppRadio2 from Pioneer.
Original review with all appropriate links can be found by clicking here.
The AppRadio line is a huge step into the future for in-car audio. Pioneer was first out of the gate with a relatively affordable, practical, and highly functioning 7 inch capacitive touch screen car audio head unit. It's most unique feature and the reason you'll want to read through this review is because the AppRadio 2 can connect to and translate your smartphone's app capabilities into a one of a kind super device on your car's dashboard. You'll be able to use AppRadio optimized versions of some of your favorite apps to listen to music, navigate, find parking, communicate with friends and even check your car's diagnostics with the right accessories attached all on a crisp 7” touchscreen display.
Click here to see a video slideshow of the AppRadio2 in action.
Main advantage: Android and iProduct compatible (some smartphones require adapters iPhone5 and Android), crisp 7” WVGA touchscreen display with multitouch, built in amp (MOSFET 50 W x 4) 2 RCA preouts, subwoofer control, great modern hardware design with high quality materials used, can use your car's existing steering wheel controls, bluetooth audio for phone calls (mic included)
Main concern: no CD/DVD slot, no AUX in, no adjusting display angle, bit of a learning curve, no bluetooth audio for pandora or stored music.
Unique features: built in external GPS means you can turn off your phone's GPS to save battery while connected to AppRadio (turn on “enable mock locations” in your phone's settings)
While it will work with a number or phones, this device was tested exclusively with a Samsung Galaxy Note 2
Someone always has to be brave enough to be the first. Even if a product isn't completely ready for primetime, it's important to release something so that people can become familiar with a new concept. Apple really made their name by being the first extremely simple, yet powerful mp3 player and then smartphone. The early iPhone lacked a lot to be sure, but it did enough well that it changed mobile communication forever. Pioneer has shown that it has the guts that Apple had to start. They took a risk with the AppRadio and it's a great start that has great potential looking forward. Other car audio companies are clearly waiting and looking over Pioneer's shoulder concerning the AppRadio. They waited for Pioneer to make a success of the AppRadio concept and now we are starting to see some copycats emerge built off of ideas learned watching AppRadio. It might work for some of them too, but it's just not a very dignified way to do business and before I even start my real evaluation of the AppRadio 2, I give Pioneer my respect for being brave enough to release such an innovative step forward into uncharted waters.
The AppRadio 2 on it's own is a gorgeous head unit. It's so clean and simple and it's design foreshadows it's function. It floats on your dash as a huge crystal clear glass screen with an almost invisible bezel and a stainless steel “chin” at the bottom that holds the few physical buttons. Volume up/down, a home button, and a menu and back button specifically for Android phones. Pioneer didn't cut corners with materials used, this thing looks and feels like you'd want a piece of the future to look and feel. The AppRadio 2 is first and foremost a blank canvas. It's waiting to be painted with the graphics, sounds, and functionality of your smartphone whether it's an Android or Apple device. While it would be a near perfect product if Pioneer could trust us to control ourselves, we don't do that well unsupervised as drivers. If the AppRadio was a true 1 to 1 mirrored display of our smartphones, we could watch netflix movies and send text messages while driving 90 mph on the freeway. Now you and I might be sensible enough to not abuse the privilege, but plenty of 16 year olds that want to impress their friends in their first cars might not have that same restraint (and they might be driving on the same freeway as you) so try to understand the motivation behind a controlled experience. It's definitely a bit disappointing, but Pioneer offers a very filtered experience of your phone with the AppRadio 2 for now. While some apps can be just about everything they are on your phone, others won't work at all or will display images but not be able to be touch controlled.
Everything begins with a detailed warning to not operate the head unit while driving, fair enough. Commonly called a “nanny” or “nag” screen, a quick click of a button brings you into the AppRadio's main start screen. You'll be greeted by a large modern clock and day of the week indicator to start. Behind that is a wallpaper that can be changed through your smartphone app's menu setting. Below the clock, you'll find 5 icons (radio, iPod, apps, Pandora, and Phone) and with nothing connected to the device, 3 of them (iPod, apps, Pandora) will be grayed out by default. By itself, the AppRadio is simply an FM/AM radio and a speakerphone for hands-free bluetooth calling and that's about it. Connect an iPod and you can play your music, connect a phone through the appropriate cable and you can listen to Pandora or go into AppRadio mode where the real fun starts. A swipe to the right will bring up a second page of options, an expanded settings screen which actually offers a bit to look at. Next an “OFF” button that puts the device in a standby mode that amounts to a screensaver, full screen background and small clock. The last button is a display off button that will let the screen go black if you find a time you need the darkness.
Again, AppRadio2 will work with many different makes and models of smartphone, but it was clearly designed with the iPhone 4/4S in mind. You'll find a very intuitive and polished experience with that phone. Connect the included cable and go. While it can technically be made to work using the iPhone 5 and Android phones, you won't find anywhere near the same out of the box functionality. Whichever phone you use, you'll need to go to your appropriate app store first, Google or Apple, and download at least two apps to get started. The main AppRadio app that is the basis for your phone's connection, and the CarKeyboard app that will also need to be enabled for touchscreen keyboard use while using the AppRadio. The unit looks for these apps and will not function fully without them. Aside from helping your phone communicate with your AppRadio 2, the AppRadio app scans you're already installed programs and tells you which will work with appradio. The apps are the easiest part of getting started with the AppRadio 2 on Android. The part that gets a bit tricky is finding the correct adapter.
If you own one of the Galaxy line of smartphones then you know that Samsung has elected for a single micro USB input on most of their phones. The same port charges and syncs but what if you'd like to output HD video from your powerful phone? MHL, or Mobile High-Definition Link is the answer. MHL allows you to connect a micro USB cord to your phone which is attached to an adapter that turns the signal into an HDMI output that supports up to 1080p HD video and 7.1 surround audio while also charging your device. As simple as they are to use, MHL adapters aren't simple to choose. First and foremost you need to know if you need a 5pin or an 11pin adapter. The Galaxy S3, S4 and Note 2 need 11pin and older galaxy phones need a 5 pin. After that you need to know how much power your phone draws while charging. The MHL adapter needs to be connected to a power source to be able to charge your phone while it converts the video signal. The Galaxy Note 2 draws a very thirsty 2.1 amps of power which is the same as the iPad and most other tablets. The included iPod cable can be disconnected and reveals a full sized female USB port. That USB port outputs 1A charging that is enough for most smartphones including the iPhone. While it will work with some phones, unfortunately it's not enough to keep up with the Note 2. If you were to use a normal 1A car charger (or the AppRadio's included USB charging cable) with this setup everything would still work, but you wouldn't be able to charge your phone. In fact, it would drain battery because of all the work that it's doing. For the Galaxy Note 2 you'll need the following:
-an 11pin MHL adapter
-a microUSB charging cable
-a 2.1A car adapter
-an HDMI cable
These items are easy enough to get, but you need to know what specific pieces you'll need for the best outcome. For the MHL adapter, an abundance of counterfeits have flooded some of the big ecommerce sites, this automatically rules out Amazon and eBay unfortunately. Some copies are identical on the outside and plain garbage on the inside. They will make your setup charge inconsistently or not at all and make your picture signal choppy when connected to the AppRadio 2. Smartphone forums are littered with frustrated people that tried to save a buck on a cheap adapter, you'll see them blaming the head unit but trust me here, there is only one real way to do this. I like a deal as much as anyone, but unfortunately this is a case where you'll need to go to the manufacturer and pay retail. Luckily Samsung is always offering large discounts on it's own accessories up to even 50% off in some promotions. A quick Google search will show you the current deals available. Now that you've collected all of the pieces, you'll need to connect them and get started.
click here to read PART TWO which includes pricing, links to purchase, and optional accessories
It won't run Google navigation? This seems like a $500 extra screen, much like a smart watch or that contraption the adds an lcd to the back of your phone. Why not just use your phone?
Sent from my SAMSUNG-SGH-I317 using Tapatalk 4 Beta
LittleRedDot said:
It won't run Google navigation? This seems like a $500 extra screen, much like a smart watch or that contraption the adds an lcd to the back of your phone. Why not just use your phone?
Sent from my SAMSUNG-SGH-I317 using Tapatalk 4 Beta
Click to expand...
Click to collapse
An app called AR liberator made by a brilliant dev who is currently recovering from illness (get well Kyle) makes this one of the most useful pieces of tech I've ever played with.
I don't know if you took the time to read through the whole review or not but at the end there is an "EXTRA TIP" section that hints towards this.
snapz54 said:
An app called AR liberator made by a brilliant dev who is currently recovering from illness (get well Kyle) makes this one of the most useful pieces of tech I've ever played with.
I don't know if you took the time to read through the whole review or not but at the end there is an "EXTRA TIP" section that hints towards this.
Click to expand...
Click to collapse
The appradio + ar liberator is the best tech you can put in your car my friends has it so awesome.
Sent from my SCH-I605 using xda premium

[Android 4.1+] Headunit for Android Auto - 160117 - Self Mode+ other fixes, x86, 720p

"Headunit": The First, Best, and Only Headunit app for Android Auto, Now Open Source & Free !
Turn an Android tablet into an Android Auto compatible Headunit ! (With several limitations at this early time of course...)
Android N developer preview: http://forum.xda-developers.com/showpost.php?p=65749262&postcount=1165
If you purchased Headunit on Play before Google removed it: http://forum.xda-developers.com/gen...droid-auto-t3125252/post65015637#post65015637
160117 January 17: New Self mode & Car mode fix: http://forum.xda-developers.com/gen...droid-auto-t3125252/post64844560#post64844560
151224 December 24: 1280x720 and X86 support: http://forum.xda-developers.com/showpost.php?p=64466237&postcount=943
151128 November 28: Voice Input + Audio Output: http://forum.xda-developers.com/showpost.php?p=64045807&postcount=903
August 28 & 5 Voice Input etc: http://forum.xda-developers.com/showpost.php?p=62548380&postcount=724
USB OTG Y cables I've had success with: http://forum.xda-developers.com/showpost.php?p=62745966&postcount=792
Comments welcome: Proposal for a Private Website / Forum for the Headunit app and Automotive Android: http://forum.xda-developers.com/showpost.php?p=62207324&postcount=587
July 24 APK Immersive mode: http://forum.xda-developers.com/showpost.php?p=62014837&postcount=519
July 14b APK Standalone mode: http://forum.xda-developers.com/gen...oid-4-1-headunit-android-auto-t3125252/page43
July 11 APK: http://forum.xda-developers.com/gen...oid-4-1-headunit-android-auto-t3125252/page39
Quick summary of Google Play bans and final responses; I fixed each time & Google gave a different excuse each time: http://forum.xda-developers.com/gen...droid-auto-t3125252/post61632463#post61632463
Nexus 9 OTG charging w/ M developer preview & Nexus 7 2013 w/ Timur kernel/mods: http://forum.xda-developers.com/showpost.php?p=61632651&postcount=312
Nexus 7 2013 OTG charging while running Headunit w/ ElementalX kernel: http://forum.xda-developers.com/showpost.php?p=61593874&postcount=290
Now Open Source and Free ! http://forum.xda-developers.com/gen...droid-auto-t3125252/post61440441#post61440441
June 16 Release #5 APK: http://forum.xda-developers.com/showpost.php?p=61422602&postcount=163
Release #2 APK and instructions: http://forum.xda-developers.com/showpost.php?p=60894402&postcount=94
Thank you "All About Android" for covering the Headunit app in episode 218 ! http://forum.xda-developers.com/showpost.php?p=61412309&postcount=152
Android Auto over WiFi Direct is coming: http://forum.xda-developers.com/gen...oid-4-1-headunit-android-auto-t3125252/page16
June 16 APK: http://forum.xda-developers.com/gen...oid-4-1-headunit-android-auto-t3125252/page15
June 12 APK Auto-Start: http://forum.xda-developers.com/showpost.php?p=61321219&postcount=107
June 11 APK: http://forum.xda-developers.com/gen...unit-android-auto-t3125252/page8#post61287292
June 9 APK: http://forum.xda-developers.com/gen...roid-4-1-headunit-android-auto-t3125252/page5
Android Auto is Google's latest and greatest effort to provide automotive navigation, music, phone and other features in an environment that minimizes distraction.
The Headunit app is intended for 7 inch /17 cm or larger tablets.
A $100-200 Nexus 7 tablet mounted in the car is MUCH cheaper than $700-$1400 Pioneer devices.
A $300+ 10 inch/25+ cm tablet provides a much larger & nicer screen than 6 inch double-din units.
Original XDA Thread: http://forum.xda-developers.com/android-auto/android-auto-general/developer-mode-aa-t3059481
These are early, experimental releases. They should only be used for testing at this time.
Please note that Google has NOT released Android Auto specifications required to build a Headunit app such as this, except to headunit and auto OEMs who have paid fees and signed NDAs.
This app required over 500 hundred hours of painstaking reverse engineering (and many more to come), and another 500 or so as of mid July to build and test the app so far.
If you wish for apps like this that are professionally engineered, supported and updated, your financial support via Paypal donations is required, especially since Google will not allow Headunit apps on Play.
Help keep an independent developer working full-time++ on this cool new stuff.
Thanks for your support !
Mike.
What the heck is Android Auto, and why would I want it ?: http://forum.xda-developers.com/showpost.php?p=61114397&postcount=2
What devices and ROMs are supported ?: http://forum.xda-developers.com/showpost.php?p=61114397&postcount=3
How do I use the Headunit app?: http://forum.xda-developers.com/showpost.php?p=61114419&postcount=4
Troubleshooting: http://forum.xda-developers.com/showpost.php?p=61114437&postcount=5
Supported Phones running Android Auto: http://forum.xda-developers.com/showpost.php?p=61114468&postcount=6
Business Issues: Open Source & Pricing: http://forum.xda-developers.com/showpost.php?p=61114482&postcount=7
Feature Requests: http://forum.xda-developers.com/showpost.php?p=61114494&postcount=8
Coming Features: http://forum.xda-developers.com/showpost.php?p=61114500&postcount=9
Future of Android Auto: http://forum.xda-developers.com/showpost.php?p=61114532&postcount=10
What the heck is Android Auto, and why would I want it ?
Introduction / Different approaches:
There are many different approaches to running apps in a car, and they each have advantages and disadvantages.
Many people are happy to just install an Android tablet or Android based headunit and run apps much like they do outside of the car.
Others may mount their phone on the dash and use Android as they always do. They may plug it in to charge and might pair the phone's Bluetooth with their existing in-car audio system.
If you are using approaches like these, and you are happy with them, that's great ! I'm not a mission to convince you otherwise if you have decided these methods are best for you.
Android Auto:
Android Auto (AA) is Google's latest and greatest effort to provide automotive navigation, music, phone and other features in an environment that minimizes distraction.
AA was announced in 2014, and it's "app" first publicly released March 19, 2015, after Pioneer starting selling their AA compatible 4100/7100/8100-NEX headunits. Google did not seem ready to launch AA at that point, but Pioneer's early release of headunits seems to have forced this.
Apple has it's own rough equivalent to AA called Apple Car Play. Many who have seen both prefer AA, but iOS users also appreciate having more or less the same iOS UI they already know in their car.
How AA works (basic):
AA is not a mirroring solution like MirrorLink, Miracast or Apple Airplay. Mirroring solutions simply send phone screen video to an external, larger screen and return touch events. Thus the in-car screen is simply a blown-up version of the phone screen.
Mirroring solutions generally work with all existing apps. AA on the other hand, requires Android apps to have special AA compatible extensions added. Clearly this can be a disadvantage of AA. Few music and messaging apps can be used with AA, and the only mapping/navigation app supported is Google's.
With AA, Google mostly controls the User Interface (UI) as implemented in their AA "companion app". AA compatible apps CAN modify some of the color scheme and some related minor UI features, but the look and feel are largely Google designed and controlled.
Google has done this to minimize distraction. Although many of us will not be happy with Google's decisions. we should consider that the last things Google wants are: (1) laws against Android Auto, (2) bad publicity from distracted driving incidents, and (3) expensive lawsuits. Note that Google, Apple and the auto OEMs are reportedly negotiating who takes how much responsibility for the inevitable lawsuits, particularly in the US where multi-million dollar settlements regularly occur.
Google AA supports two types of AA compatible apps at present, with more (eg maps/navigation ?) coming in future: (1) Audio/music and (2) messaging. For the most part, audio/music AA extensions provide functions for starting/stopping/nexting/etc of the audio as well as functions to determine the music navigation hierarchy. Messaging AA extensions include sending a message to AA to be converted to speech as well as handling spoken replies.
Video and gaming apps will likely never be supported for the drivers position, at least while driving, for obvious reasons.
Many app developers are hesitating at this time to add AA extensions. At this time, there is very little revenue to be made by supporting AA (and the same has been seen for watch and TV apps). This should improve as more cars have AA installed, via OEM systems or aftermarket headunits.
So why would I want AA ?:
If you need access to ANY Android app, and not just the limited selection of AA compatible apps, then mirroring solutions will work better for you.
AA is more for people who want a solution that "just works" (although there are still many wrinkles to iron out), is well integrated, and has a common Google specified UI.
Less technically minded people will appreciate AA or Apple CarPlay, while Android power users may be happier with mounting a tablet or using an Android based (usually Chinese) HU.
An Android based HU which can run my Headunit app, may offer the best of both worlds. You can run any Android app when you need to, or run my HU app to get AA features. (At present nobody has reported success running my Headunit app on an Android based HU. I hope/presume I'll figure that out.)
I am personally convinced that AA will be very important for Google going forward. Controlling and getting the treasure-trove of data from connected cars is important to Google. We may not be far from the day when Google will get a commission when it successfully convinces us to pull over for specific fast food or auto maintenance. Want fries with your oil change ?
Because AA is important to Google, I feel confident it will not be abandoned, and will only get better as the years tick by, bugs are fixed, apps are AA enabled, etc.
Getting AA working:
Please, always do your best to drive responsibly and with a safe minimum of distraction. You assume all liability for following any of these or any other instructions.
First, your phone (or tablet) needs the AA companion app installed. US residents can install the Android Auto app from Play: https://play.google.com/store/apps/details?id=com.google.android.projection.gearhead and those outside the US can find APKs here: http://www.apkmirror.com/apk/google-inc/android-auto/ .
Next, you need an AA compatible aftermarket or auto OEM headunit. Auto OEM AA headunits (HUs) are just starting to come out for a limited selection of 2016 models. Aftermarket HUs like the Pioneer 4100/7100/8100-NEX devices are a good alternative. If a $500-700 HU is too expensive for you, that's where my Headunit app for tablets comes in, but there are some inherent disadvantages to such an app and a tablet is just one of the costs. More on this further below.
Ensure that your mobile device running the Google AA companion app is setup with a Google account. Make sure the Google apps are up-to-date, including the AA app, Google Play Services, Google Maps, and Google Play Music.
Now plug your mobile device USB into the HU. If all goes well you should see a series of prompts and screens on the HU and mobile device. If something complains that it's not safe to configure at this time, ensure your car is in the Park gear (or neutral for manual), that the emergency/parking brake is fully engaged, and press down on the brake pedal. My 4100-NEX is setup for testing, outside of a car, and I simply connect the green wire to ground or 12 volt negative line. I'm not sure that this will work well if your HU is installed such that the green wire is connected to other things.
Hopefully you will now see the main AA Intro/Google Now Screen. Select functions from the "rail" at bottom of screen: In order: Maps/navigation, Phone, Google Now, Music, and "Other/OEM".
Your mobile device should show a mostly black AA screen indicating the device is in AA/car mode. You CAN escape this and run other apps, but it is not recommended.
While your mobile device is connected via USB, it should charge. Turn the device screen off to maximize charging and minimize heat build up. Using Maps/Navigation will use the device GPS (unless the HU provides it) and this contributes to heating of the device and minimizes charging.
How AA works (technical):
Basically, the AA app creates a special environment in which it draws to a virtual screen instead of the real screen. The resulting video is encoded as an H.264 stream and sent via USB to the HU. The HU responds with touch-screen events which the AA app interprets similarly to normal Android app operation.
AA compatible audio apps contain AA audio extensions, which can provide control of audio app playback and provide information about which audio streams or files can be played. The audio app uses it's normal Android audio APIs, which the AA "app" hooks in order to send the audio to the HU, over USB or Bluetooth. I refer to the AA "app" with parentheses, because it has many hooks into Android internals which normal apps do not have access to. Thus, much of the AA "app" is really system level code, though there is a minor UI for some basic configuration and to provide access to AA developer mode functions.
The AA USB protocol also includes functions for accessing sensors, including parking brake status, gear position, fuel tank level, road speed, engine speed and many more. Only a few sensor functions are fully implemented at this time however, such as parking brake status to determine if it is safe to do configuration.
Google has referred to AA HU's as "dumb terminals". But IMO a true "dumb terminal" would simply be a touchscreen with a DVI/HDMI like interface. AA HUs DO need to have some "smarts", such as H.264 video decoding, Bluetooth and sensor signal processing.
Hardware HUs also generally provide many other functions that work standalone with no mobile device, such as AM/FM/HD radio, CD player and vendor specific apps that run on the HU.
Why would I want your Headunit app ?:
- For the customization opportunities.
I haven't seen any 10 inch / 25 cm screens on auto OEM or aftermarket HUs. Large tablets however are readily available with many choices for screens and other hardware.
- To use or experiment with Android Auto without buying a new car or a $500+ hardware headunit.
Note however that besides the tablet, you may also need a USB OTG Y cable and a powered USB hub in order to properly charge the mobile device, and tablet, without running down the tablet battery.
Some devices (for tablets, mostly non-Samsung) may need special kernels in order to charge while acting as a USB host.
Why can't we just run our phone in an AA standalone mode, without tablet or Headunit ?:
Mostly because Google does not want that. They consider screens under 7 inches / 17 cm to be distracting. Google seems to eventually want "Android in the car", so Google may be working on something like a standalone mode (for what would essentially be an Android tablet in the car), but this is nothing but rumours so far.
I know a LOT of people would REALLY like a standalone mode, so I am likely to explore the feasibility of this in the near future. I am sure that Google would disapprove of this and would eventually take measures to sabotage such a thing, so it's a tricky prospect.
I think an AA standalone mode "app" (more like system mods than an app, same as AA "app" itself) would require a rooted device. It likely would also require Xposed (or similar) to hook and modify various system functions.
Add it all up and it turns into a very difficult venture with limited returns on time invested.
A Headunit app running on a 2nd device/tablet is more feasible as Google can not just change the AA protocol overnight, and it does not require root on the tablet (except for charging of non-Samsung tablets, sigh...)
Are there any other AA compatible Headunit apps ?
At this time no, my Headunit app is the first and only of it's kind.
Google has not publicly released documentation or code to build a Headunit app, and may never do so.
It has so far taken me over 600 hours of work to reverse engineer the AA protocol and build this app. With open docs/code it might have taken only 100-200 hours at most.
I've read a report that Google must certify AA HU implementations before they are "allowed". This is likely part of the agreement and NDAs that auto and HU OEMs must sign to join Googles "Open Auto" alliance, beyond whatever fees are charged.
GENIVI appears to have plans to "open source" an AA client implementation. But AFAICT, GENIVI "open source" is not entirely public and open. I suspect Google would want to ensure that any users of such source code adhere to their requirements.
Pioneer HUs run Android. Their AA client implementation is a binary, so it's somewhat similar to an HU app. But it's specific to their hardware and will not work on general purpose Android tablets or phones.
There may be other Headunit apps to come, but I have not heard of any, beyond one persons desire to create an open source app in the long term.
What devices and ROMs are supported ?
Root is NOT required. (But root and a custom kernel may be needed on non-Samsung tablets in order to allow the tablet to charge while it's in USB host mode.)
Most Android 4.1+ ROMs should be able to work.
ICS 4.0 and earlier devices/ROMs do not have the needed video decoder and can never work. (Except by building my own decoder with FFMPeg or whatever, which is way too much work for too little return.)
A working H.264 video decoder is required, but most quality Android 4.1+ devices should have this. (Chinese/budget devices may use slow and/or buggy implementations.)
Only devices that support USB host mode are physically capable of working. Many or most tablets released in the last 2 years should support USB host mode.
Full, official support is limited to devices I own. With sufficient demand for a new device, I may purchase that device and add official support, if possible.
These are the tablets that I own and test:
Nexus 7 2012 stock.
Nexus 7 2013 stock.
Nexus 9 2014 stock.
Xperia Z2 Tablet stock. CM12 tested OK too.
Many other devices will work and I will do my best to support them.
Phones can work as a headunit, but tablets of 7 inches/17 cm or greater are recommended. Smaller screens are more distracting and can risk your safety.
How do I use the Headunit app?
At this time I can't recommend this for use while driving. It's ONLY for testing within the safety of a home or office... If you can't understand that this Headunit app is still VERY experimental and potentially very distracting while driving, then please don't run it. It's not my fault in any respect or measure if you hit a tree or kill people; it's ALL on you... You assume all responsibility for collisions, injury or the advent of Skynet...
App requires Android 4.1 ICS or higher, but I've mostly tested on Android 4.4 KK, 5.0 and 5.1 Lollipop..
I tested successfully on these, for the Headunit/Tablet side running my app:
Tablets are recommended for a decent size screen in a vehicle:
Xperia Z2 Tablet - CM12 - This 10" screen is wonderful compared to the 7 inch/17 cm 800x480 Pioneer 4100-NEX screen, despite that the video is still only 800x480 at this time.
Nexus 9 - stock - This looks pretty nice too and the CPU power helps make it look good and pretty lag free.
Nexus 7 2013 - stock
Nexus 7 2012 - stock
Phones can also work, but small screens are less safe so I can only recommend these for testing:
HTC One M8 - stock
HTC One M7 - CM12
HTC One XL - CM12
Xperia Z - Lollipop
Xperia Z1 - CM12/FXP
Moto G - CM12
GT-N7100 Note 2 - CM11, but with some video issues.
These phones have major issues or did not work for me:
GT-I9300 GS3 - CM12 unofficial
GT-N7000 Note1 - CM11
GT-I9100 - Android 5.1 ROM
GT-I9000 - Android 5.1 ROM
Note that Headunit/Tablet side issues are largely separate from Phone/Mobile Device side issues. Phones that do not work with Pioneer or other AA head units will not work with this app either, and only Google and the phone OEMs can fix that. This includes MANY very popular Samsung devices. I note that my older Samsung devices also have issues on the Headunit side, and this may be related to general USB issues on Samsungs. (?)
The Headunit/Tablet side running the Headunit app needs to connect to the phone running AA with a USB OTG cable. The OTG cable small micro-USB side needs to plug into the Headunit side.
Many devices can do USB Host for the Headunit side, but can't supply any power to the phone. For these devices a powered USB hub is required, and is recommended for all devices anyway, or the Tablet/Headunit device will quickly lose power to running the phone device.
The phone running AA plugs into the USB hub output side, and should be the only device so plugged in (or the device my app connects to will be random-ish, with HTCs having highest priority.)
When they are all plugged, be patient and wait at least 6 seconds after plugging the USB before starting my app. Most likely the Gallery app will open on the Headunit side. This is annoying, but at least it confirms the connection is good. You may have to wait, then hit Back to exit Gallery. If you get any popups, hit Back or Cancel; you might get several.
Latest AA companion apps to run on the phone side are here: http://www.apkmirror.com/apk/google-inc/android-auto/ This requires Android 5.0 Lollipop+ on the phone side as per Googles' decision, and also requires Google Mobile/Play services to be installed and an account set up.
Now you can start the Headunit. You should be prompted to allow access to USB twice. Select OK both times. Don't bother to check the "Remember" box because it never works and it's a silly Google thing. Better solutions are possible, especially if rooted.
If you have never connected the phone with AA to a headunit before, you will be prompted to do a bunch of stuff on the phone side. If you are outside the US you must manually update to the latest AA app from APKMirror etc. You may have to download Maps and Play Music if you don't have yet, and say Yes or "Standard" etc, to various prompts.
After all this, hopefully you will see video on the Headunit screen. You will likely see a safety warning prompt etc. Read it and understand it, and select OK if you dare.
Hopefully you will now come to the main/home/Overview/Now screen of AA. On some devices, video may be imperfect. Select different functions on the "rail" at bottom to help clear it up.
Touch works, but not Multi-touch yet.
Audio output was through the phone last I looked, but microphone does not work.
If you hit Back while in the app, it should exit and the AA connection is broken.
To open a new AA connection/restart the app you MUST disconnect and reconnect the USB, at any point in the chain.
It generally seems possible to turn the screen off and return to it after powering it back on, but if the orientation changes from landscape this may not work. Same for leaving the app with the Home or Recents button; if it switches to portrait, you can't get the video back and must stop the app, reconnect USB and restart the app.
I'm finding that quite a few of my phones running custom ROMs will not run AA on the phone side properly. In some cases a custom DPI really messes up the video dimensions and you can't even select the startup OK button. I see this on my One M7 with CM12 and many people see the same on other phones w/ custom ROMs, whether using a Pioneer headunit or this app.
Enjoy responsibly.
Troubleshooting:
Nothing more disheartening than trying a cool new app, and.... it doesn't work.
Public Enemy #1: Cheap/Bad USB OTG cables.
I got 3 cheap OTG cables and 2 straight and 2 right angle adapters a few months ago. The cables seemed OK in the beginning and now they're all flaky. The adapters didn't last as long and some were flaky new. 7 cables and adapters and they're all garbage.
I've been happy for a few weeks at least with these $10 Y cables that can power/charge both devices. I'll see if they're still good in the next few months: http://www.amazon.com/Micro-Cable-Power-Samsung-AtomicMarket/dp/B009YPYORM
But even with the best cables, your phone and tablet micro-USB ports can be a factor too. Car mounting, with constant vibrations and bumps adds to the challenge.
When I get Android Auto over Wifi working better, I hope USB will just become a backup connection. But wifi has it's own issues too.
Cheap or Chinese devices and hardware HUs are a "crap-shoot": So far I don't think I've had a single success report for Chinese devices. The ROMs and video decoding are often bad or VERY slow and USB is questionable. Some devices do not support USB Host mode or have a bad software implementation.
I recommend Nexus or good quality tablets from Sony or maybe Samsung. All tablets that I own work and are officially supported, including: Nexus 7 2012, Nexus 7 2013, Nexus 9 and Sony Xperia Z2 tablet.
July 24 or later releases recommended for testing: http://forum.xda-developers.com/showpost.php?p=62014837&postcount=519http://forum.xda-developers.com/gen...oid-4-1-headunit-android-auto-t3125252/page39
July 24 has a bottom "Test" button to test H.264 video decoder (some phone/ROM decoders are bad or VERY slow.)
Also has a bottom "SUsb" button for devices with USB Host Mode supporting kernels even without Android support.
Also allows manual USB device selection when automatic doesn't work.
MANY possible fixes:
- You must have 2 devices for the Headunit app, so try reversing them to see if that works. This requires the Android Auto app and Google app, Google Play Music, Google Now and Google Maps to be installed on both devices of course.
- You usually need 2 cables: The micro-USB side of an OTG cable to the Headunit app device/tablet, and the full-size USB connection to a "normal" phone/USB cable connected to the Android Auto device/phone.
At least one person reversed the cables, without reversing HU and AA devices and it worked. USB can be funny; there are MANY possible jumper, resistors, wires etc combinations, especially with specialty high current charging cables.
- With some devices, an OTG Y cable MUST be powered, with others it MUST NOT be powered, and for some it doesn't matter and power can even be stopped and started with no effect.
- "Fast Charge" should be disabled if it's a kernel setting. Saw this with Elemental-X kernel on Nexus 7 2013. This kernel also has a setting to allow charging in USB Host mode.
- Sometimes enabling USB Debugging helps, sometimes disabling, sometimes turning it off, then back on. Do this at both ends: Headunit app device and Android Auto device.
- Unplug and replug cables, at both ends and in between. Ensure they are firmly pushed together. July 11 release allows you to see devices disappearing and re-appearing if cable connections are flaky and moved.
- Before starting Headunit app, plug all cables together. If Camera Importer or Gallery, or other apps pop up, hit Cancel or Back to deal with them first. Then after a few seconds of no more popups, NOW start the Headunit app. Plugging/unplugging while the app is running may work but is less successful than starting the app after plugging.
- Some devices/ROMs have various USB settings to try, such as "Charge Only", MTP, etc.
- Use the Exit button or Back key to terminate the Headunit app and try again. It kills it's own process for an extra fresh start next time.
- Use Recents button to return to the Headunit app if Android Auto covers it.
- Avoid screen switching to Portrait mode for best chances of success. Home-screens that force portrait mode can create problems, as can lock-screens.
- Self or SUsb modes require SU/root access. Sometimes the SU prompt is covered and not visible. In such cases manual SU configuration, or setting SU default to "Grant" can help.
Supported Phones running Android Auto:
Any phone that works with hardware headunits, such as Pioneer 4100/7100/8100-NEX, should also work with this Headunit app.
Note: This list is for devices running Android Auto. It is NOT for connected devices running the Headunit app, except for Self standalone mode where one device runs both.
Devices that I tested OK:
Galaxy S3 GT-I9300 CM12.
HTC One M7 stock & CM12.
HTC One M8 stock & CM12.
Xperia Z stock & CM11.
Xperia Z1 stock & CM11.
Xperia Z2 stock & CM11.
Moto G stock & CM12.
EDIT: I wrote this page before Google banned Headunit from Play and before I made it free and open source, but please feel free to read my thoughts written before that below.
Soliciting donations sucks. Thanks much to those that have and those that will. But VERY few people do. At some point I will likely have to return to a commercial model.
Those who donated, or bought Headunit on Play before the ban will become most honoured customers retroactively.
Business Issues:
Yes, I am (attempting) to run a business here. I hope I don't have to explain or apologize for trying to make a minimal income to help support my wife, kids, cats, pay for a house, cars, and all the usual basic accoutrements of life like food, electric, fuel, etc, etc...
I have been working 60-70 hour weeks for over 4 years now on my apps, mostly the Spirit FM apps: Spirit1, Spirit2, Spirit Transmit. I have no other income except my apps.
I am somewhat disappointed that I've been making a small fraction of what I made for decades doing contract or salaried work for a plethora of tech companies.
I have seen my Spirit FM income dropping for the last few years, and have entered into the connected car apps space in an effort to make a better income.
I hope to serve your app desires and appreciate the financial support of everyone who can afford at least roughly the price of a meal at McDonalds, or there-abouts.
Open Source:
Yes, I know EVERYONE wants free and open source software... I LOVE open source; my career has been built mostly on Linux (and Android) since 1997.
But NONE of the 20-odd companies I've done contract or salaried work for in those 18 years has open sourced their code.
Very, VERY few companies turn a profit with open source. How many app devs can you show me that make a decent living exclusively or primarily with open source ? Over 99.9% are based on closed source.
Kickstarter / IndieGogo etc ? LOL. Show me a lone app dev who has done well with that route.
If someone were to sponsor me with a decent income I'd be happy to open source everything. But that's not too likely and I'm not seeking that.
Google is keeping their AA code secret and unpublished, and they do the same with their premium apps like GMail, while the AOSP apps like EMail languish.
Pricing:
Pricing software is a funny thing. If no technical support or packaging are provided (and there are no advertising costs), the incremental cost of 1 more copy of an app is zero.
And yet if you hire people (or yourself) and pay a decent, competitive rate, the R&D costs for the 1st copy can be in the $millions for many modern apps.
There is no such thing as a "fair price"* for an app. Many think apps must be $0.99 for something simpler, or up to $10 for something more complex, and in rarer cases, $20-40-100 or much more.
(*Fair Price: If we talk about technical support, a "fair price" becomes more feasible. If my time is worth $60 per hour (and it should be much more in this field for very short term work), then 10 minutes of total time spent to support someone is worth $10. But that ignores ALL the time it takes to build and test apps.)
The number of people who will buy an app at some given price are a major determinant for a developer trying to make a decent living.
A popular non-root app for "Joe Average" that millions of people might use might be $0.99 or free with ads.
An app only for Android enthusiasts who root, ROM and install Xposed on the other hand will have a very limited market, and price must be high for a chance to make a decent living.
I've noted that there are several examples of specialist Automotive apps that sell in the $20-40 range. Then there are apps like Torque that may sell for $3-5 but have a much bigger market, and the income allows people to be hired, above and beyond supporting a single independent developer.
At this time, I've put this Headunit app for sale at less than $9 US or 8 Euro (after 20% VAT Euro prices are under 10 Euro, but I get none of that).
Note that Google takes 30% (42% markup !) so I only get about $6 US per app. That hardly buys a Big Mac these days...
My desire is to license this Headunit app on a per device basis, though Google doesn't provide any easy method to do so. So if you use this app in 2 cars, but with only one Play store purchase, I'd appreciate consideration via Paypal. There is NO DRM in this app and I REALLY hope not to use any form of copy protection. DRM is mostly trouble.
I reserve the right to change price at any time. As the app becomes more fully featured, I may raise the price as needed to get sufficient income to work on this full time.
Without sufficient financial support, I'll just have to spend more time on other app opportunities. So if you use and like this app (or just want to support such) please support me so I can support you.
And please help spread the word about this app. I'd rather spend time working on wonderful new features and fixing bugs (LOL) than spending time doing marketing stuff, or spending/wasting money on advertising.
Thanks !
Mike.
Feature Requests:
I'm always happy to hear what you want.... Speak up !
Coming Features:
(Originally written in June. Amended August.)
Features I guarantee I will try to added in the relatively short term of 1-3 months:
- Automatic start at plugin.
- Bypass USB permissions with root. (July 24 "SUsb" button)
- Multitouch support (pinch zoom GMaps)
- Resolution increase & switching, if possible. 800x480 at present, 1280x720, 1920x1080. (July 24 still does not seem possible. No hardware HUs higher than 800x480 so Google hasn't enabled ?)
Future of Android Auto:
Built-in, Brought in, Beamed in.
Android in the car
Self driving cars
Flying cars
Skynet^H^H^H^H^H^H
"Headunit" - Build an AA Headunit with a $165 tablet...
As I posted on the original thread:
240 downloads of the Free APK now... http://forum.xda-developers.com/showpost.php?p=60894402&postcount=94
"Headunit" is the app name I've settled on. Short & sweet.
Want to see this Headunit app fixed and improved on a regular basis ?
Then I need your help...
First need is some IMO well deserved publicity. There is no other app like this and I think there is a need...
I saw LOTS of excitement on Android enthusiast sites about Android Auto. And a LOT of excitement dissipated hearing that a $700 Headunit or new car was required.
So wouldn't turning a $165 Nexus 7 2013 tablet into a basic AA Headunit with an app restore some excitement ?
I've been busy on the tech side, but to keep this project moving, people need to find out about it.
I've started a new thread here for all further discussion about my Headunit app: http://forum.xda-developers.com/general/paid-software/android-4-1-headunit-android-auto-t3125252
If it seems worthy to you, please consider clicking on "Submit Thread as News Tip" at top right of that thread.
Most Android news and discussion sites have similar functions to submit news tips. If it comes from people like you, I'd think it has more weight than me trying to promote my new app.
XDA is kinda, sorta, not supposed to be used to SELL things (and that's kinda vague & fuzzy, and there IS a section for paid apps, where my new thread is), and I understand and respect that...
But truth is that my second, and perhaps most important need, in order to support YOU, is for some "little bits" of support from you... See my new thread or sig for the new paid APK on Play.
There are other, Android Auto/Connected Car app ideas I have, should this one garner insufficient support. Feel free to comment:
- Use any media player (or messenging) with AA, where it does not have AA extensions.
- App to connect sensors, + via ODB and maybe Torque like functionality.
- Standalone mode for AA running on a phone. Will likely require root and Xposed and LOTS of work and workaround when Google sabotages it.
- Customization of Android Auto via root/Xposed app; Change anything from backgrounds to color to rules that AA imposes in the name of safety and anything else that needs a mod.
Thanks !
Mike ( [email protected] )
Hi!
I've just purchased your headunit app. I've attempted to connect it, but am unable to get it working. I'm really excited to see something like this, and can probably help you debug it if needed.
My devices:
- Nexus 7 (2012 Wifi), running stock Android 5.1.1, stock recovery, rooted with Nexus Root Toolkit
- Nexus 4, running stock Android 5.1.1, custom recovery, rooted with Nexus Root Toolkit
Cables:
- USB OTG cable, purchased some time ago, but known to be functional -- I've used it on my Nexus 4 to connect a microSD reader.
- Micro USB (male) connector from USB OTG cable plugged into Nexus 7.
- Charging cable plugged into micro USB connector (female) on USB OTG cable.
- Standard micro USB connected from Nexus 4 to USB A (female) port on USB OTG cable.
- Both devices show as charging.
Problem:
- When starting Headunit app, the screen stays black (with only standard on-screen controls, and never prompts me on either device for anything).
- I have also tested this in reverse, by sideloading the Headunit APK onto my Nexus 4 (Google Play Store said incompatible, but what do they know? ), and sideloading the Android Auto app onto my Nexus 7. I reversed the cabling, so that the USB OTG cable is plugged into the Nexus 4 as the host device. Same results.
- I've tried various combinations of unplugging and replugging, force closing and restarting apps, etc.
What's the next step in debugging this setup?
jpreston84 said:
Hi!
I've just purchased your headunit app. I've attempted to connect it, but am unable to get it working. I'm really excited to see something like this, and can probably help you debug it if needed.
My devices:
- Nexus 7 (2012 Wifi), running stock Android 5.1.1, stock recovery, rooted with Nexus Root Toolkit
- Nexus 4, running stock Android 5.1.1, custom recovery, rooted with Nexus Root Toolkit
Cables:
- USB OTG cable, purchased some time ago, but known to be functional -- I've used it on my Nexus 4 to connect a microSD reader.
- Micro USB (male) connector from USB OTG cable plugged into Nexus 7.
- Charging cable plugged into micro USB connector (female) on USB OTG cable.
- Standard micro USB connected from Nexus 4 to USB A (female) port on USB OTG cable.
- Both devices show as charging.
Problem:
- When starting Headunit app, the screen stays black (with only standard on-screen controls, and never prompts me on either device for anything).
- I have also tested this in reverse, by sideloading the Headunit APK onto my Nexus 4 (Google Play Store said incompatible, but what do they know? ), and sideloading the Android Auto app onto my Nexus 7. I reversed the cabling, so that the USB OTG cable is plugged into the Nexus 4 as the host device. Same results.
- I've tried various combinations of unplugging and replugging, force closing and restarting apps, etc.
What's the next step in debugging this setup?
Click to expand...
Click to collapse
Hi, Thanks for your support.
Send me an email at [email protected] and I'll send you a debug release. Or I'll PM you a link when I get one built in a few hours. Are you able to capture a logcat or should I add an easy "Send logcat" button ?
Some quick googling tells me the stock Nexus 4 does not support USB OTG (ie running the headunit app). But some kernels enable this and this is the first thread I saw about that: http://forum.xda-developers.com/nex...g-externally-powered-usb-otg-t2181820/page154
The app specifies that USB OTG is required, and I thought that was a great way to prevent people from purchasing on incompatible devices. But now that I see Nexus 4 (and I'm sure many other devices) can do OTG with a custom kernel, I guess I should remove that as a hard requirement. A popup warning would be better.
I have that same Nexus 7 2012 with the latest Android 5.1.1 (unrooted even) and pretty much stock, and all released versions of the Headunit app work on it. So I feel confident that the hardware and software work OK together.
And AFAIK, Android Auto runs fine on stock Nexus 4.
If you aren't getting prompted for USB permissions on the Headunit app side, that seems to indicate a connection problem.
Can you stop charging the Nexus 7 and reboot it to see if that helps ? My understanding is that Nexus devices can't do USB host mode and charge at the same time. Custom kernels are needed to allow this.
If you have a plain OTG cable without a charging connection please try that also. Ensure that the regular USB cable supports data tranfer. Some are for charging only.
My test setup is:
- 1 regular USB cable: large male (plugged into OTG large female) to micro-USB male (plugged into Android Auto phone).
- 1 OTG cable: large femaie (plugged into regular large male) to micro-USB male (plugged into Headunit device).
Sometimes between the 2 cables I insert a powered USB hub, but a straight connection seems to work for both Nexus 7's, Nexus 9 and Xperia Z2 tablet, though it does drain the Headunit device battery to charge the Android Auto device.
A good sign that the cabling is working is seeing the Gallery app opening on the Headunit device when they are plugged. Android Auto device pictures and videos are shown via USB MTP I guess.
I'm going to add a startup screen that shows connected USB devices and that can be used for trouble-shooting.
This thread needs to be woken up...
If you have ANY questions or comments, please post !
I'm encouraged to see the Headunit app on Play has had 2 confirmed sales in the last 2 days; there are also 9 cancels (boo !) and 3 unconfirmed....
Pretty Good I think for the first few days of a new app.... Could be more if I remove the strict USB host requirement, but probably more disappointed cancellers too.
I appreciate Google Play reviews from anyone who has purchased and/or cancelled.
Right now I have two 1 star reviews on Play to deal with; thankfully Google lets us reply to reviews now.
Here's what I just added to the Play Store description:
No risk/full refund within 90 days. Just email 15 digit order ID or email of purchase to [email protected] . But "be warned" that I WILL do my best to get this app working for you and make you happy, or at least explain why your device may be incompatible...
Click to expand...
Click to collapse
Message to app reviewers on Play:
The Reviews section of Google Play has a 350 letter maximum. It is impossible to provide good technical support with that limit.
Please email me [email protected] for private support.
But I prefer to discuss publicly for everyone's benefit if you are registered or don't mind registering at XDA Developers Forum. Headunit Thread: http://forum.xda-developers.com/general/paid-software/android-4-1-headunit-android-auto-t3125252
If Headunit is working well for you, Great !
For problems, please read on:
I updated the Play Store description with this:
NOTE: Requires 2 devices ! Needs an Android 4.1+ tablet (that supports USB Host mode) running this Headunit app connected to an Android 5.0+ phone running Android Auto. Connection requires 1 standard phone USB cable and a special USB OTG cable connected to the Headunit app device.
No risk/full refund within 90 days. Just email 15 digit order ID or email of purchase to [email protected] . But "be warned" that I WILL do my best to get this app working for you and make you happy, or at least explain why your device may be incompatible...
Click to expand...
Click to collapse
I hope you understand this is the first release of a new type of app, and that I'm still calling it "experimental".
I will do my best to support as many devices as I can. But some devices will never work, particularly those that can not support "USB Host Mode".
The most common problem will be USB cable connection problems. Generally, you will need at least 2 cables:
1 USB OTG cable connected to tablet or other device running the Headunit app.
1 Regular USB cable connected to phone running Android Auto.
The cables are connected together of course, directly or though a hub. Sometimes you may need to insert a powered USB hub between the cables, with the powered side going to the Android Auto phone.
Sometimes connections may be loose. Ensure that (at least) all 3 connections are securely made. Gently try to push the plugs in just a little deeper to see if it goes farther. This has fixed it for me more than once.
I will put some better debugging and logging options in the next release of this app.
There is a LOT more information about how to get the Headunit app working, and some trouble-shooting hints in the First 10 posts of thread: http://forum.xda-developers.com/general/paid-software/android-4-1-headunit-android-auto-t3125252
Hi, good work on getting this started. For me the deal breaker feature down the line would be car integration, namely:
Bluetooth calls take place over car mic and speakers
Steering wheel controls (volume, answer, next track, etc.)
I imagine some support for the pioneer adapter that allows this would be feasible.
Any plans or knowledge about that?
ok, seems to be working ok (although slowly) on a nexus 7 2012 (as headunit). does not work at all on a nexus 7 2013 (as headunit), just a black screen without any notices.
I would really like to try this, but the USB port of my N7 2012 is broken, and I still haven't fixed it :/
Sent using my nexus⁴ running Euphoria 1.1 with Xposed and hells-Core B78
Maxr1998 said:
I would really like to try this, but the USB port of my N7 2012 is broken, and I still haven't fixed it :/
Click to expand...
Click to collapse
I really hope that Google can enable Android Auto over WiFi soon. If not, I will consider mods that would allow this. But it would require root on both sides; an AA standalone mode (that only needs one rooted device) may be desirable to more people.
Android Auto over Wifi would solve USB specific connection problems, like the need for USB Host mode on the Headunit and the associated "charging while in USB host mode" problems that usually requite a custom kernel.
ldti said:
ok, seems to be working ok (although slowly) on a nexus 7 2012 (as headunit). does not work at all on a nexus 7 2013 (as headunit), just a black screen without any notices.
Click to expand...
Click to collapse
Good start...
My N7 2012 seems to have good video speed, but I only use it for testing so I have very few apps and they aren't doing many background tasks.
Does the video have defects or does it look accurate ? I have seen slowness and defects together, but mostly on my older, slower phones.
The release I'm working on now has better debbuging capabilities. I'll try to post a new version within the next 12 hours.
Can I presume both Nexus 7's are stock ? Root and recovery shouldn't matter, but a custom kernel (or ROM) could make a big difference.

Android Auto with Samsung Dex

I'm installing an Alpine ILX-W650 for Android Auto in my car next week, and noticed it requires simultaneous Bluetooth and USB connection to the phone. I want an easy way to dock my S10 each time I get into my car, something that's quick, easy, secure, looks nice, won't wear down the type C port on my phone, and charge faster than the 1A provided by the Alpine unit.
If I have to custom fabricate a docking cradle that fits just right in my MK6 GTI, I will, but just want to find the best solution. I have a Baseus auto clamping vent mount with the IR detector and Qi fast charging, and could try affixing a magnetic charging+data capable cable to that so the cable is in place to lock onto my phone's port automatically using the magnetic attraction, but have no idea if that will work or not. I read in one forum that someone was able to wirelessly charge their phone while it's plugged in for Android Auto, anyone know if that will work for the S10? My magnetic cables are the Wsken X1 models, I have no idea if they'll work and how reliable a connection they will provide, anyone try something similar?
Another option I'm considering is using the Samsung Dex Pad as a docking station, and mounting the phone horizontally since I will be controlling everything from my voice and Alpine's touchscreen while driving, and won't need to really do anything with my phone. I asked Samsung if it will work, and they said they've never tested it, suggested that I just try it and find out. I don't want to buy the Dex Pad if it's not going to work, has anyone tested that so I don't have to? Probably will anyway, but it from a place with a good return policy, but am hoping someone out there has thought of this and can enlighten me on what to expect.
Thanks!
otizzy said:
I'm installing an Alpine ILX-W650 for Android Auto in my car next week, and noticed it requires simultaneous Bluetooth and USB connection to the phone. I want an easy way to dock my S10 each time I get into my car, something that's quick, easy, secure, looks nice, won't wear down the type C port on my phone, and charge faster than the 1A provided by the Alpine unit.
If I have to custom fabricate a docking cradle that fits just right in my MK6 GTI, I will, but just want to find the best solution. I have a Baseus auto clamping vent mount with the IR detector and Qi fast charging, and could try affixing a magnetic charging+data capable cable to that so the cable is in place to lock onto my phone's port automatically using the magnetic attraction, but have no idea if that will work or not. I read in one forum that someone was able to wirelessly charge their phone while it's plugged in for Android Auto, anyone know if that will work for the S10? My magnetic cables are the Wsken X1 models, I have no idea if they'll work and how reliable a connection they will provide, anyone try something similar?
Another option I'm considering is using the Samsung Dex Pad as a docking station, and mounting the phone horizontally since I will be controlling everything from my voice and Alpine's touchscreen while driving, and won't need to really do anything with my phone. I asked Samsung if it will work, and they said they've never tested it, suggested that I just try it and find out. I don't want to buy the Dex Pad if it's not going to work, has anyone tested that so I don't have to? Probably will anyway, but it from a place with a good return policy, but am hoping someone out there has thought of this and can enlighten me on what to expect.
Thanks!
Click to expand...
Click to collapse
Hello, I have a 04 Audi A4 with a 13” screen and a Dex pad under my arm rest. Out of sight and protected. I love it! My monitor lets me connect and control my phone via touch screen. Torque app works well on a 13” screen. I also have a dell d10u that I use for tuning while my main unit is my s10. I have enabled developer mode on my Dex and the use "Dex Max" App, It helps out as well.
jcsvsi said:
Hello, I have a 04 Audi A4 with a 13” screen and a Dex pad under my arm rest. Out of sight and protected. I love it! My monitor lets me connect and control my phone via touch screen. Torque app works well on a 13” screen. I also have a dell d10u that I use for tuning while my main unit is my s10. I have enabled developer mode on my Dex and the use "Dex Max" App, It helps out as well.
Click to expand...
Click to collapse
Id be interested in this too. Can you expand a little on your setup? I'm looking to do the same with adding a larger LCD while maintaining touch-functionality via android. I'm wanting to piece together a 10-13" LCD along with a capacitive usb overlay but haven't verified that the touch would work via android along with my CarPC.
As for docking, I've been using a cheap $8 Ebay USB hub with success in both DeX and AA in my setup.
Hope theses pic are visible. I will have to get my other phone to display my setup with Dex running.
Forgot one.
Not the cleanest installation, not the worst.
My high mileage e85 Audi A4. Sorta a "beater with a heater".
Here are some pictures, the few are with screen mirroring with the aid of seconscreen app, overlay app and a few others. The rest are in Dex mode which yelids a better picture however apps don't auto start in full screen, while driving it can be somewhat cumbersome.
Galaxy s10
Sorry, pictures seem to be upside down.
My in car screen layout.

Mirror Infotainment Head Unit to Alternative Display Screen

Hello - this might not be the right forum but hopefully someone will be able to give me a steer on it anyway.
There are lots of articles on the internet about mirroring from devices TO a car's built in head unit but what I would like to try is the opposite of that. I would like to mirror (or otherwise integrate) the cars's built-in OEM infotainment to an alternative display screen. The general idea being that I can have a much bigger display and / or passengers can control the infotainment system.
Does anyone know if this is remotely possible? I can also consider more technical solutions such as coded integrations - assuming I can get meaningful output (wireless / bluetooth?) FROM the infotainment.
I am considering that a Raspberry Pi might feature somewhere in the solution (if it requires specific computing power) but that is not a personal prerequisite.
Thoughts?
I don't think that this is possible unless you modify the wiring of the headunit.
The software (Android Auto, Carplay...) does not allow this.

Categories

Resources