[Android 4.1+] HeadUnit Reloaded for Android Auto with Wifi

What should be my next focus?

  • Try to work out how to integrate ODB2/CAN data?

    Votes: 18 94.7%
  • Build a HUD app to work with HUR(HUDWAY style)?

    Votes: 1 5.3%
  • Something else?

    Votes: 0 0.0%

  • Total voters
    19
  • Poll closed .
Search This thread
I paid for the full version but it doesn't work properly
The trial version works better, can I have the trial app with no time limit when using it?
La aplicación funciona correctamente, solo tiene que dejar la compatibilidad de pantalla adaptada, debe usar una versión que no tenga habilitada la opción "habilitar decodificador de software", eso te da mucho rendimiento pero menos compatibilidad de pantalla, la versión de prueba tiene esa opción deshabilitada por defecto.

Mod translation: The application works correctly, you just have to leave the adapted screen compatibility, you must use a version that does not have the option "enable software decoder" enabled, that gives you a lot of performance but less screen compatibility, the trial version has that option disabled by default.

Screenshot_20230326-214150_Headunit_Reloaded.png
 
Last edited by a moderator:

landous

Senior Member
Feb 6, 2012
65
8
Newbie question...how to set hardware keys? I have Chinese Android headunit 4.4.4 on BMW F30 but car buttons are not working on HUR..Please advice :)
There is an app you can search that will display keycodes on the screen as you press the buttons. Unfortunately for me, I also have a Chinese HU (Seicane) and the steering wheel controls don't register as buttons in the HU. They work fine for volume control and bluetooth skip/hang up, but not for AA.
 

McFlypants

Senior Member
Mar 22, 2013
402
155
Xiaomi 12
Automation
To automate starting of HUR when connected to a Wifi network you can use your preferred automation app, for example macrodoid or tasker or anything else, using intents. The intent needs to be configured like this:
- Action: "gb.xxy.hr.WIFI_START"
- Packaged: gb.xxy.hr
- Type: Broadcast
- Receiver Class: gb.xxy.hr.WifiReceiver
See below example screenshots for macrodroid and tasker.
C1at7OvC3vWppAW_DEEcw4PQKqdV1QY28I1qO1FE5r8qIzmrb7NMreaoEuN0DJxCnFTk4kMEiHdDNw=w1920-h902-rw


S0Ylty7QO023gJUkqAdw34yryW8AE2oQXjTwGDpYY_0aqFnwDf3SwlG_Vsu9S9SLL0s371iPFWeaIn3pW42UWfFy68Gb0g=w1920-h432-rw
Could you reup the example pictures? I'm stuck at making this in macrodroid.

BTW great app, it saved me from throwing away my zlink android head unit.
 

buggyglint

Member
Feb 10, 2011
36
8
Ottawa
Experiencing a weird issue with HUR. It will automatically close if it tries to launch in 1080p mode. If I choose 720p it will work every time. The only workaround that I've found is that it will launch in 1080p if it first has a wifi connection or connected wot a wifi hotspot. I'm running the beta version rc3 of HUR on a Tab S4.

I have also checked the android auto developer settings on my phone to make sure the 1080p option is enabled.
 
Last edited:

Cutprods

Senior Member
Apr 16, 2019
58
13
La aplicación funciona correctamente, solo tiene que dejar la compatibilidad de pantalla adaptada, debe usar una versión que no tenga habilitada la opción "habilitar decodificador de software", eso te da mucho rendimiento pero menos compatibilidad de pantalla, la versión de prueba tiene esa opción deshabilitada por defecto.

Mod translation: The application works correctly, you just have to leave the adapted screen compatibility, you must use a version that does not have the option "enable software decoder" enabled, that gives you a lot of performance but less screen compatibility, the trial version has that option disabled by default.

View attachment 5873383
This is not necessarily true. The vast majority of Double Din Android head units have until recently a screen of around 7" and no more than 1024 x 600 resolution. Therefore the best settings are usually 800 x 480 in both AA, developer settings and HUR, with a pixel density around 130. There is very little lost in noticeable rez with this and performance will be better than for higher settings and nothing to be gained by setting any higher, like 1280 x 720. But software decoder will also help with anything funky and the performance hit is offset by the lower resolution demands. At least that's what I've found - Hardware scaling has some severe colour issues for me on a Xtrons unit, since I re-installed the normal app from the beta, which didn't work at all for me. CoolWalk displays very clear and well with these settings for me.

Somebody mentioned earlier about the mic button on the steering wheel. You will need MTCDTools (https://github.com/f1xpl/MtcdTools) , for this, since most of the Canbus decoders supplied with these units are very generic and don't extend to all functions, of a particular make of vehicle. You use a series of intents, rather like HUR to get the mic to be recognised. If you want to make calls to from this button then you will also need MtcDialer (https://github.com/f1xpl/MtcDialer) and disable the HU BT app, since this will fire up if not, each time you make a call, over AA. You need to retrain Google Assistant, from time to time too. But it has been working very well for me for over 3 years now - no need to say 'Hey Google' either, just fire off instructions - 'Navigate to', "Call..." etc. The only thing that there is no intent for is to hang up a call with the steering wheel mic button - you have to do that from the screen.
 
  • Like
Reactions: CaioTheBrain

StriQer

New member
Mar 31, 2023
2
0
Hi guys,
I have an Android head unit that's vertical (1024x600 10 inch).


When I used the trial version of the app everything looked good, I had coolwalk and it was great, I bought the paid app and I cant get it to look right despite using the same settings and everything.
It annoys me that a little part of the top is cut off and when I have spotify on the side its stretched.

I tried every pixel density with every resolution with 10 pixel increments.

So is there any solutions for
this?
Thanks for your help

This is the best I could get it:
 

Attachments

  • IMG_20230327_113534.jpg
    IMG_20230327_113534.jpg
    3 MB · Views: 81

McFlypants

Senior Member
Mar 22, 2013
402
155
Xiaomi 12
Hi guys,
I have an Android head unit that's vertical (1024x600 10 inch).


When I used the trial version of the app everything looked good, I had coolwalk and it was great, I bought the paid app and I cant get it to look right despite using the same settings and everything.
It annoys me that a little part of the top is cut off and when I have spotify on the side its stretched.

I tried every pixel density with every resolution with 10 pixel increments.

So is there any solutions for
this?
Thanks for your help

This is the best I could get it:
Did you try the custom margin settings under graphics settings?
 

[email protected]

Senior Member
Sep 19, 2008
64
12
Lyon
...

Edit: I removed and reinstalled the app and it works like a charm. 800*480 and 1280*720 ok but with 1920*1080 doesn't work. TRIAL version was working. Maybe I have to try different DPIs with 1920*1080(tablet screen is 1920*1200 by the way).

It shows me AA native, it connects automatically with BT too, I will check all of these.

Thanks for this great app that I would like to see future updates.
 

Attachments

  • ScreenRecord-2023-04-02-10-36-39.mp4
    8.9 MB · Views: 0
Last edited:

renard69

Member
Mar 29, 2023
6
0
Hello. Thanks for your work. I've bought the payed version several days ago.
Actually I am using QF001 (ROCO K706) head unit which has the included similar f-ty Chinese application named Carletter (did not find any Github or any other resource about it). Actually it is pretty good. AA worked wirelessly almost smooth and native from the box. Under "native" I mean no client applications/deamons needed on my phone to connect to AA wireless, even the SSID (of that Carletter, hotspot on head unit) came probably over BT connection to the car head unit in general. It only problem for me was that Multitouch did not work (pretty not convenient in google maps) and there seems to be no support or github to discuss it.
So. In that key my question is how is it going with:
- Added support for native AA Wireless. This will only work on the units where the BT is accessible from the Android, as many of those android powered Chinese units, have a separate BT board. For devices which supports this, no headunit server or no WiFi Launcher is needed.
If it works in Chinese software - would love it to work in HUD.
I've installed the latest V6.3 RC3 version. And you told that this "native AA Wireless" was introduced since "Version 6.3 Beta 1".
My Phone Android 11, kernel 4.14.186
AA 9.1.631044-release
Worked "native wireless" (without third party client launcher) with some BMW, Nissan stock head units and that Carletter described above.
Thanks again for your work. If you need my effort to test or debug - let me know, I am developer myself :) Thanks in advance!
 

bheremans

Senior Member
Aug 6, 2007
238
110
I was trying HUR the last days on several different phones. I found out the native AA did not work on android 11 and above. Been trying to downgrade my samsung S10 that I use on my motorbike for HUR. But samsung blocked downgrade. WOuld really also like to use the native method. It works much better than the other alternatives. Even tried some things with tasker
 
  • Like
Reactions: renard69

bheremans

Senior Member
Aug 6, 2007
238
110
Hello. Thanks for your work. I've bought the payed version several days ago.
Actually I am using QF001 (ROCO K706) head unit which has the included similar f-ty Chinese application named Carletter (did not find any Github or any other resource about it). Actually it is pretty good. AA worked wirelessly almost smooth and native from the box. Under "native" I mean no client applications/deamons needed on my phone to connect to AA wireless, even the SSID (of that Carletter, hotspot on head unit) came probably over BT connection to the car head unit in general. It only problem for me was that Multitouch did not work (pretty not convenient in google maps) and there seems to be no support or github to discuss it.
So. In that key my question is how is it going with:

If it works in Chinese software - would love it to work in HUD.
I've installed the latest V6.3 RC3 version. And you told that this "native AA Wireless" was introduced since "Version 6.3 Beta 1".
My Phone Android 11, kernel 4.14.186
AA 9.1.631044-release
Worked "native wireless" (without third party client launcher) with some BMW, Nissan stock head units and that Carletter described above.
Thanks again for your work. If you need my effort to test or debug - let me know, I am developer myself :) Thanks in advance!

I decompiled part of the code.. Native wireless cannot work on android 11. Found this in the code :

JavaScript:
if (bluetoothAdapter2 == null) {
            Log.d(TAG, "no adapter available");
            return false;
        } else if (Build.VERSION.SDK_INT >= 30) {
            return false;
        } else {
            if (bluetoothAdapter2.isEnabled()) {
                try {

SDK_INT 30 = Android 11 , So what I found out with testing is confirmed in the code of HUR 6.3 RC3
 
  • Like
Reactions: renard69

renard69

Member
Mar 29, 2023
6
0
I decompiled part of the code.. Native wireless cannot work on android 11. Found this in the code :

JavaScript:
if (bluetoothAdapter2 == null) {
            Log.d(TAG, "no adapter available");
            return false;
        } else if (Build.VERSION.SDK_INT >= 30) {
            return false;
        } else {
            if (bluetoothAdapter2.isEnabled()) {
                try {

SDK_INT 30 = Android 11 , So what I found out with testing is confirmed in the code of HUR 6.3 RC3
Thanks for your response. Actually native wireless works with this phone (in Carletter app on the same head unit or on other cars native head units), so I guess it might be pretty safe to remove that "if". Waiting for Emil Borconi to respond us on that as he probably is the source code owner...
 

McFlypants

Senior Member
Mar 22, 2013
402
155
Xiaomi 12
I have this strange behaviour on my navigation bar: it's always bright and there is a bright border around the widgets too.
Not sure what setting is wrong, i think i tried everything in headunit app and on my phone but it doesn't change.

Tried it on my tablet too (see pictures), it's the same problem. It was okay last week.

I tried all android auto apps from 9.1 to 9.3.

EDIT: Seems to work now after i deleted the data of android auto app and reconnected everything from scratch.
 

Attachments

  • IMG_20230404_232140.jpg
    IMG_20230404_232140.jpg
    67.4 KB · Views: 51
  • IMG_20230404_232205.jpg
    IMG_20230404_232205.jpg
    54.8 KB · Views: 51
Last edited:

matrixx1

Senior Member
Jan 30, 2011
343
68
Budapest
Android Wear
Hi I have HUR 6.3 RC paid version. Everything is super using it with native AAW via WiFi launcher. But I have a main concern. HUR wireless AA makes my phone very very hot. Using it with carlinkit wireless AA adapter and it stays cool. Did anyone else experience it? It could be I am using it on high Res (720p and DPI 158). What are your experiences with HUR AAWireless and phone heat?
 
Last edited:

arvinoids

Senior Member
Jul 12, 2010
59
76
Cebu
Having an issue where any time I play audio in headunit reloaded it immediately stops the playback. Happens in any audio app (Siriusxm, apple music, etc). I've tried rebooting all devices and ensuring there are no pending updates. Does anyone have any suggestions?
This happens to me when I am on bluetooth mode for the audio. I either switch to audio sink, or start playing from the car's bluetooth app after opening HUR.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    Found a way to make HUR self mode network independent, meaning HUR 7.0.6 won't close when running in self mode and you lose GSM signal, adding the same modification to WiFi Launcher as well. Spent a lot of time trying to understand why people are having so called "crashes" and till now all of them came down to connection between devices being dropped for various or no particular reason. For example most Android 13 phones, will be able to create a hotspot while they are still connected to the WiFi. When the WiFi state changes, this will trigger network state change which will result in connection / socket being dropped between the 2 devices. I will look into adding WiFi P2P support (again) which I have added and removed at least 3 or 4 times in between version, because it's adding even more complexity to the setup and too many users don't understand how to set it up, also WiFi P2P is again NOT supported by all devices so again I cannot have it as a general connection option, making the whole WiFi Launcher config cumbersome...

    HUR 7.X uses the native Android USB driver, while previously I was using some external libraries. Reportedly some units do not work at all with USB with HUR 7.X ordered and waiting for one unit like that to arrive from AliExpress to try to fix the issue. Putting back the external library will surely fix it for some, but it also surely break it for others, I feel this is an endless game of cat and mouse. Fix one device, brake another device.... make one use happy, upset another one....

    One additional note for HUR 7.0.6 the "Exit" button inside the app is finally working....


    To give some more technical details at high level on what is causing all this headaches.
    Native Wireless
    - Requires you to have full access to the BT on the device. Many of the car units have a separate board for BT which cannot even be reached from Android, the ones which can be reached, you need to be able to toggle BT and add profiles to the BT service. New android SDK removes the possibility to turn WiFi on and off, assuming that BT is always on, adding BT profile is relatively easy, but for AA to work, the profile needs to be present when it pairs / connects to the car meaning a repairing or at least disconnect / reconnect is needed. Also another problem with this it needs to send over the wifi details, including the WiFi adapter MAC address, something which cannot be obtained any more with the new SDK, plus BT stack on android do not have any method to do a simple connect without specifying any of the BT profiles, neither there is any class to check if a paired BT device is connected or not. This makes it a complete NO GO.

    WiFi Launcher:
    -
    Approach one, use LocalOnlyHotspot method to create a hotspot on the phone, this will guarantee the network is stable while the process is running. Sadly this Android function doesn't allow you to set the WiFi name and password, so users will have to manually connect to the device every time, and they would need to see the wifi config on the phone screen - No Go
    -
    Approach two, use WiFi Direct, Create group method, this has the same issue as approach one
    - Use Android method, request network, to request access to a WiFi while the app is running, this needs user to manually approve the request every time. on the phone screen - No Go
    - Use suggested network approach, suggesting the phone it should connect to a specific network, it's not guaranteed that the system will actually connect to that network, plus it's not guaranteed it will hold the connection to that Wifi - No go
    - Android Nearby devices class, allows you to set up a network between 2 devices, but it relies on BT and WiFi P2P since on many headunits the BT is not part of the Android system and some of the devices do not even support WiFi P2P, this again won't work on some, so again No Go

    Current approach is supposed to be the most stable one and the most universal one, but as you have seen from comments it is still not good enough and still have issues. Trying to come up with approaches to bridge the gaps, but the solutions are pretty limited.
    5
    Updated WiFi Launcher to version 3.8.0 should become available on Google Play Beta channel or you can grab it from here: https://drive.google.com/file/d/1qMubglbvyIAIgwDRVDq1r3sDwmaGNSRw/view?usp=sharing

    Also updated HUR to version 7.1 Beta, this will become available in both b3it website and Google play beta

    Main changes:
    - Added WiFi P2P support

    This could help with disconnection caused by WiFi being killed, however it's not compatible with all devices as with almost every function....

    Also changed the WiFi button description and create a hopefully decent tutorial on how to connect over Wifi: https://b3it.freshdesk.com/a/solutions/articles/80001072238


    Outstanding issue:
    - USB not working with HUR 7.X on some, waiting for some test units to try to reproduce and address this.
    - Media control not working after returning to HUR.
    4
    WiFi Launcher 3.8.2 can be found here: https://drive.google.com/file/d/1xiORvuZR7948qB7eWybQqMd1Fz5UCQL3/view?usp=sharing will be pushing it to Google Play as well. Fixed the Widget caused issue, also made sure Widget is running correctly now...

    HUR update will follow not sure if today or only tomorrow but working on it.... Found an ooopppsssy there as well, normally USB connection shouldn't have worked on any device.... but it indeed worked correctly on too many.. again if they keep the standards I should have spotted the error ages ago....

    Before I push the update I want to try to reproduce the black screen issue as well.
    3
    Wifi Launcher 3.8.1: https://drive.google.com/file/d/1ifmRmpfn72hPF6Y2qofX6cJYvCfrUfLu/view?usp=share_link
    HUR 7.1.2 is being uploaded to Google Play and website.

    Screen option is there in graphics you just have to select it, no rotation during app running, it brakes AA, too many support issues because of people rotating device after AA startup.

    Self mode setting is a pain, need to reconsider logic, but not there yet, sadly currently only option is clear cache and data, that being said, not too much to change once you've configured it.....
    3
    First time poster here.. there is a video bug that has been plaguing me since HUR 7.0.

    When switching out of HUR app and back, I would get a blank screen, however AA would be working because Spotify would still continue to play music in the background.

    The workaround I found to reload the screen correctly is to.. pull down the taskbar, go into your car settings(not android setting) then click back twice, this will reload HUR/AA screen correctly, only if HUR was the last 'focused' app. Any other app or even the launcher/homepage will cause HUR to open with a blank screen.

    Hoping this helps others..
  • 84
    This Threader is a Spin-off of the original: [Android 4.1+] Headunit for Android Auto - 160117 - Self Mode+ other fixes, x86, 720p by the late :crying: @mikereidis.

    App links: https://www.b3itlabs.com/prod.php?id=1
    PlayStore: https://play.google.com/store/apps/details?id=gb.xxy.hr

    Previous XDA Lab purchases can be downloaded using: https://www.b3itlabs.com/download.php

    Last edited: 20/04/2023
    Version 7.X Released
    - It has braking changes for WiFi, this is mainly due to recent Android SDK limits, like toggling WiFi, BT, getting Mac address and others. Therefore WiFi connection now does need a helper app on the phone.
    - Dropped GLES20 as too many issues reported by different bad implementations
    - Resolution is now automatically detected based on the cars screen.
    - SelfMode (running on phone screen) works without the need of activating developer options in Android Auto.

    Last edited: 07/02/2021
    Version 6.3 Beta 1 released
    - Re-wrote whole rendering process to use GLES20, in simple terms video render should use GPU
    - Much better scaling approach
    - Added support for native AA Wireless. This will only work on the units where the BT is accessible from the Android, as many of those android powered Chinese units, have a separate BT board. For devices which supports this, no headunit server or no WiFi Launcher is needed.
    - Changed key mapping, user can now define their own buttons as they wish.

    Last edited: 21/06/2020

    Version 5.2 released
    - Removed WiFi Direct
    - Improved menu UI CREDIT and THANKS TO @sebaw
    - Updated margin setting
    - Added option to record audio using BT mic (motorcycle helmets)
    - Added button to reconnect WiFi connection ( phone and unit depended won't work on all units, please read app forum for how to connect)
    - Option to disable touchscreen
    - Removed brightness adjustment (some users experienced problems adjusting brightness after using previous version, sadly they need to do a factory reset of the unit, and update to current version)

    Version 5 released
    - New UI CREDIT and THANKS TO @sebaw
    - New over-scan approach allowing any resolution units to work properly (including portrait mode)
    - New mic source (should help with speech recognition)
    - Added option to keep status bar (user request)
    - Added welcome setup
    - Added possibility to use old USB driver (android built in one) in case you cannot get it connected with the new version
    - Added option for Gain control on mic
    - Added option to keep Wifi off (for USB use)
    - Changed Wifi Direct implementation (you will need to install the Wifi Launcher for HUR on the phone to use Wifi Direct)
    - Removed option to stretch full screen as this is not needed any more (it will always be full screen)
    - Fixed Incoming mode not setting password for some devices
    - Fixed app crash when Wifi toggled during app running
    - Fixed night icon colors for devices running 4.x
    - Fixed app freeze if permissions denied
    - Fixed app crash after device unplugged when using native android USB driver.
    - Fixed day/night calculation if share GPS turned off
    - Code cleanup
    - Other bug fixes.

    Also a big THANK YOU to @ppietak for helping with code cleanup and bug fixes!



    Version 4.5 released
    - Fixes for USB shuttering
    - New USB driver
    - Fixes for reverse camera not resuming on some units
    - Added support for incoming connection listener (automating Wifi) - Experimental, read below how to connect


    Version 4.4 Released
    Change log

    • Fixed broken touchscreen
    • Changes on WideScreen mode and HD
    • Fixes for Rotary
    • Potential fix for black screen for second connection over Wifi
    • Left/Right hand driving position option (for widescreen)
    • Buffer setting for mic (could help when Assistant does not hear what you're saying)
      Enjoy XDA Ad Free and check out:

    Version 4.3 Released
    Change log

    • Fixed double skip on Spotify when using SWC
    • No more decoder workaround needed (updated code for video playback)
    • Added support for rotary (arrow keys can be used for non-touch input)
    • Enhanced mic input (mic sampling rate can be adjusted in settings for better compatibility)
    • Added intent: "gb.xxy.hr.WifiP2P" for Wifi-Direct start
    • Added app color scheme (dark menu for night)
    • Mapped Key N to open Maps (N=Navigation)
    • Mapped Key L to open Multimedia (L = Listen)
    • Changed USB code, hoping to help those who suffered for USB disconnection problems
    • Fixed a serious bug in share GPS code
    • For some rooted android headunits the app can now disable the default call screen being overlayed when HUR is running (only if HUR is set as the navigation app!) This will require ROOT


    Version 4.1 Released
    Change log

    • Removed Google Play Services dependencies
    • Honda compatibility fixes
    • Some other small bug fixes

    Version 4.0 Released

    How to use the app?
    USB Mode

    • Plug in the USB to your device (in case of tablet use an OTG cable), when prompted make sure you allow HUR to be the default app for the action and you check the always box.
    • If you are running the app on a device with Android 7.0 or higher, you might need to pull down the notification bar and select the connected USB device before the app starts (this is device dependent)
    • If the app does not start automatically when you plug in your phone, you can always open HUR, tap the USB button and select the phone from the list.

    Wifi Mode
    READ SECOND POST


    Self Mode (when Android Auto and HUR are running on the same device)
    • Open HUR and press the self mode button. (you need to make sure Android Auto, Google Play Service, Google maps, Google Text To Speech is also installed on the device and it's up to date)


    FAQ / Troubleshoot

    All I get is a black screen

    - If you are using an Android powered headunit (Joying, Xtrons, etc) look for a setting on your device which allows Video Playback during drive
    - Try changing HUR settings and enable Software decoding


    What does the "Share GPS" do?
    - Share GPS actually forwards the GPS data of your device to the phone, so phone will need to do less work, comes really handy if you have an Android powered headunit, with external GPS antenna, however, if you using a tablet which is built into the dashboard, it's possible that you want to turn off this feature, because your phone will have a more accurate GPS fix.

    What is the Sink Audio
    - This option enabled HUR to work as a speaker for your phone. If you disable this option, all the sounds will be outputted on your phone speaker (or if your phone is connected to a Bluetooth device, then they will be played back on that)

    My carrier doesn't provide data allowance for Wifi, what can I do?
    Wifi data used between phone and tablet is classed as intranet not internet so it won't count against your data usage, but do be careful if you have auto-updates enabled on the device running HUR those updates will be downloaded over the phone's Wifi hotspot and that will incur data costs.

    I have audio-sink enabled but phone calls are coming from the phone speaker. Why?
    Android Auto is designed to sink all the audio over USB (Wifi) except phone calls where it will ALWAYS use a Bluetooth headset, if none is connected it will just flip the phone to speaker mode.

    Are any hardware keys supported?
    • Volume Up
    • Volume Down
    • Media Next
    • Media Prev
    • Media Play
    • Media Stop
    • Media Rewind
    • Phone answer key (In case of incoming call it will answer the call, in case of not being on a call it will take you to the dial pad
    • F key - Same as Phone Key
    • M Key - Mic
    • H Key - Takes you to home screen

    What about intents?

    • gb.xxy.hr.playpause Same as pressing the Play/Pause media button.
    • gb.xxy.hr.next Same as pressing the Next media button.
    • gb.xxy.hr.prev Same as pressing the Prev media button.
    • gb.xxy.hr.mic Triggers microphone input.
    • gb.xxy.hr.phone Same as pressing the dial key (answer phone call when ringing, takes you to dialer screen otherwise).
    • gb.xxy.hr.day Enables day theme.
    • gb.xxy.hr.night Enables night theme.
    • gb.xxy.hr.togglenight Switches between day and night theme.



    I need more help.
    - Feel free to ask a question on this thread, or you can always drop me an email to [email protected]

    How do I collect a bug report / logcat

    1. Enabling Developer Mode

    • 1. Open Settings > About phone.
    • 2. Scroll down to the Build number.
    • 3. Tap the Build number 7 times in quick succession until "You're now a developer" appears.
    • 4. Return to the Settings menu and select Developer options.
    • 5. At the top of the screen, make sure 'Developer options' is set to On (green).
    • 6. Scroll down to Debugging and enable both USB debugging and Bug Report Shortcut on (green).
    • 7. Tab on Logger buffer sizes: Default setting is 256K. Select 16M to help capture more information for debugging. Of note, it can affect the apps performance especially with lower spec phone, so change it back after you have finished submitting bug reports.


    2. Capturing a Bug Report
    It's very important to do this right after you experience the issue again, so your device can log at least one occurrence of the issue.
    • 1. Hold the Power button down until the menu appears.
    • 2. Select Take bug report. and wait for the device to capture the bug report.
    • 3. Tap the 'Bug report captured' notification when it appears.
    • 4. Share the bug report. (I recommend to email it to yourself.)
    • 5. Download the bug report to your computer.
    • 6. Send the bug report by email to [email protected]




    IF YOU UPGRADED TO ANDROID AUTO 2.X

    Dial Pad is broken - Workaround available:
    - Open AA -> About -> 3 dot menu -> Developer settings -> Application mode -> change to developer. This will bring back the Dial screen.

    Version 3.0 Released
    Changelog:
    • - Move USB functions from C to Java
    • - USB popup numbers limited to 2 and they should remain saved
    • - App will only start on a phone manufacturer vendor
    • - App is now running in multi-thread for better performance
    • - Much enhanced Wifi speed
    • - Better USB stability
    • - Should work on RK3188 units as well
    • - App runs as service so can be run in the background as well
    • - While running in background supports notification control for media
    • - While running in background on units running 5.0+ and above you will enjoy Heads-Up notifications for navigation
    • - Ability to rename the "Headunit" to your own prefered string.
    • - Fixed Wifi-Direct so can connect over Wifi-Direct as well, but not all devices seems to work
    • - Moved string to XML so translation to other languages should be implemented in the future
    • - Fixes some memory leaks
    • - Supports custom hardware keys

    Version 2.5a Released
    - Fix for USB close bug in 2.5

    Version 2.5 Released - Attention contain BUG
    - Left/Right button goes into endless loop
    - Added support for ARM64
    - Changed car name from Emil to Headunit
    - Added mirror output support for HUD display.


    Version 2.4 Released
    - Improved performance (Wifi should be on par with USB now, even with Audio transport enabled)
    - Improved touch sync (no accidental long touches and other strange occasional bugs)
    - Option to share the GPS with the phone (reduce battery usage footprint on phone)
    - Final fixes for Day/Night calculation and theme switching
    - Auto volume adjust fixes (on supported ROM, the volume adjuster is hidden from the user)
    - Software decoding works with Audio as well.


    Version 2.3 Released
    - Improvements and fixes for auto volume adjust
    - Improvements and fixes for hardware key input
    - Wifi speed improvements (should be able to run smoothly even with transport sound enabled)
    - Tweaks for SelfMode (home and recent app button can be used to gracefully exit the app)
    And the biggest change:
    - Unlimited Browsing support - This is experimental and hacky it's possible that Google will close the loophole at some point but for the time being it works.




    Version 2.2 Released - With some major changes
    - Fixes for Communication Error 2 received with Play Service 10.X
    - New Self mode
    - Corrected channels order
    - Unlimited browsing working when car is parked (only for Android Auto 1.6)
    - Totally changed the Day/Night toggle logic, now the calculations are done inside the headunit app and updated each 10 minutes, so if you're driving all day the sunset/sunrise should be correct. even if you are 500 miles more to the north or west or whatever.
    - Added Auto adjust volume option (works for bluetooth audio as well).
    - Changed all the key mapping, and using real keys instead of simulated touches:

    Supported hardware keys:
    1. Volume Up
    2. Volume Down
    3. Media Next
    4. Media Prev
    5. Media Play
    6. Media Stop
    7. Media Rewind
    8. Phone answer key (In case of incoming call it will answer the call, in case of not being on a call it will take you to the dial pad
    9. F key - Same as Phone Key
    10. D key - Changes to Day theme
    11. N Key - Changes to Night theme
    12. M Key - Mic
    13. H Key - Takes you to home screen

    The following keys are still usable but they are based on simulated touches:
    • Up Arrow = Scroll Up
    • Down Arrow = Scroll Down
    • Left Arrow = Moves to next Left tab
    • Right Arrow - Moves to next right tab



    Version 2.0 Released
    Changelog:
    - Fixed calculated night mode
    - Added support for Software decoding (should work now with any device) - If you have problems running HUR, go to settings and enable Software decoding. Do not use software decoding with audio transport, the audio playback will suffer a lot, consider streaming the audio from the phone to a A2DP directly or using a cable to connect the phone Jack to the stereo AUX, or if your phone is rooted you might want to consider Wifi Audio streaming app, it's too much to ask from the Software decoder to do both Audio and Video, unless you have a very strong CPU, but if that is the case I'm pretty confident that the Hardware decoding will work on the device.
    - Added option for letterbox display (prevent distortion of stretch)
    - Added option to start the app when connected to Wifi

    Software Decoding
    - Based on the feedback although it works, I'm not recommending this app for those with Joying or any other Rockchip (RK3188, RK3066) powered headunit. Feel free to use the trial and decide yourself, but it appears to be painfully slow on those devices.


    Version 1.5 Released - Key features
    - Stable Wifi connection
    - Added support for Android 7.0 (Self mode as well)
    - Self mode running in stable and usable way
    - Connecting USB cable will start app automatically (even if phone is running Android 6.0 or 7.0)
    - Supports keyboard shortcuts:
    1. M = Start the Mic
    2. N = Navigation Tab
    3. P = Phone Tab
    4. H = Home Tab
    5. E = Entertainment Tab
    6. UP Arrow = Scroll Up
    7. Down Arrow = Scroll Down
    8. Left Arrow = Moves to next Left tab
    9. Right Arrow - Moves to next right tab
    10. S = Play/Pause button (only works in Entertainment tab)
    11. F = Next track (only works in Entertainment tab)
    12. R = Prev Track (only works in Entertainment tab)
    - Uses light sensor (if available) for toggling Day/Night theme.


    If you are updating from version older than 1.2 please read:
    You won't be able to install it over the old one (Key signature changed!), so please uninstall the previous version before updating, HOWEVER if you were upgraded for free from Mike's version, please follow this steps:
    1) On XDA Labs, click the download Stable
    2) When prompted to install select Cancel
    3) Open a file explorer and go to Storage -> Android -> com.xda.labs -> files
    4) Locate the newly download APK and copy it somewhere else.
    5) Uninstall the old version
    6) Install the APK which you just copied.
    If you miss any of the steps, just reinstall the old version you received from me by email and try again, let me know if you are stuck.

    App requirements:
    - Android 4.1 or higher
    - H264 Hardware decoding!

    How to use the app: (Please read this steps before asking for help)
    1) USB OTG
    - Plug in the OTG cable to your tablet, connect your phone, done!

    2) Self mode (for AA 2.0) - See Video
    - Start Android Auto, Go to About, if you are not a developer yet press the "Android Auto" header 10 times, from the 3 dotted menu select "Start Head Unit Serve"
    - Exit Android Auto
    - Start HUR and select Self

    3) Wifi
    - From the phone create a Wifi hotspot
    - Start Android Auto, Go to About, if you are not a developer yet press the "Android Auto" header 10 times, from the 3 dotted menu select "Start Head Unit Serve"
    - Connect your tablet to the newly created Wifi hotspot
    - Start the Headunit Reloaded app
    - HTC ATTENTION! If your phone is a HTC, please change the default IP address to: 192.168.1.1
    - Select Wifi

    4) Wifi Direct (not supported by all phones/tables)
    - Start Headunit Reloaded on the tablet
    - Select Wifi Direct
    - On the phone go to Settings -> Wifi -> Advanced -> Wifi Direct, join the group. (Do not try to connect as to a normal Wifi it will not work!)
    - On the phone start Android Auto, Go to About, if you are not a developer yet press the "Android Auto" header 10 times, from the 3 dotted menu select "Start Head Unit Serve"

    Other important notes:
    Software Decoding
    - Based on the feedback although it works, I'm not recommending this app for those with Joying or any other Rockchip (RK3188, RK3066) powered headunit. Feel free to use the trial and decide yourself, but it appears to be painfully slow on those devices.

    To exit the app
    If you are connected with USB, just unplug the USB cable, DO NOT use the exit from the menu. If you are running Wifi, Wifi Direct or Self mode, ALWAYS use the exit button from the left drawer menu!

    Audio transport option
    Will forward (sink) all the audio from the phone to the tablet if enabled, EXCEPT phone call audio, that will go trough the phone speakers or Bluetooth Handsfree if connected. If you wish to stream all the audio from the phone directly to your A2DP bluetooth, then simply disable the Transport Audio option.

    Day/Night toggle
    The device running the Headunit Reloaded app will be responsible for changing the theme. You can chose between using the light sensor of the device to toggle between day and night mode, or you can use calculated sunset sunrise mode, or even force it to one theme only. If you have previously installed AA Helper to your phone, please uninstall it!

    Auto Start on Wifi
    This option will launch HUR whenever you are connected to a Wifi (specific Wifi can be named)

    Auto increase volume on speed
    The logic behind is a very simple approach, every time the speed increases it will send a vol + key to the phone and every time the speed decrease it will send a vol - to the phone. This requires the device running HUR to have a GPS receiver.



    OLD STUFF:

    Version 1.3 (Wishlist version) - Released
    - Added option for easy car mode toggling. (Car mode can be disabled if not using Self mode - avoid conflict with other Car apps)
    - Auto Hide status + action bar while running the app no need to use the Hide option from menu
    - App will automatically close when Wifi connection is lost


    Version 1.2b - Released
    - Buffer overflow protection - Special Thanks to invis-zz from GitHub (https://github.com/invisi-zz) - This should random crashes while using the app.
    - Removed Send Log feature (it was classed as backdoor/trojan and Google was blocking the app on playstore)
    - Updated OpenSSL library to 1.0.1t (used OpenSSL contained vulnerabilities and Play store blocked the app)
    - Managed to get the app on PlayStore (wonder if it will stay...) - https://play.google.com/store/apps/details?id=gb.xxy.hr
    Signature Key changed!!!!
    I had to update the APK signature key (I'm trying my luck with Play Store), this means if you try to install the new version you won't be able to install it over the old one, so please uninstall the previous version before updating, HOWEVER if you were upgraded for free from Mike's version, please follow this steps:
    1) On XDA Labs, click the download Stable
    2) When prompted to install select Cancel
    3) Open a file explorer and go to Storage -> Android -> com.xda.labs -> files
    4) Locate the newly download APK and copy it somewhere else.
    5) Uninstall the old version
    6) Install the APK which you just copied.
    If you miss any of the steps, just reinstall the old version you received from me by email and try again, let me know if you are stuck.



    Version 1.1 Stable - Released
    Jumping the version number due to significant amount of changes:

    • Removed Day/Night/Auto mode (see bottom of this post for a better solution.)
    • Added new setting for 720p Video - Fully working now (even on Wifi)
    • Changed Self mode start sequence (if the phone is rooted it will start automatically and then go back to HU), if your device is not rooted, please use the following sequence to start Self mode:

      1. Start HU app
      2. Select Self mode
      3. When AA opens select Start Developer Server
    • Added support for hardware keys (simulating touches), so if your tablet is integrated with the car remote you can control AA from the remote.
      Hardware keys as follow:
      1. M = Start the Mic
      2. N = Navigation Tab
      3. P = Phone Tab
      4. H = Home Tab
      5. E = Entertainment Tab
      6. UP Arrow = Scroll Up
      7. Down Arrow = Scroll Down
      8. Left Arrow = Moves to next Left tab
      9. Right Arrow - Moves to next right tab
      10. S = Play/Pause button (only works in Entertainment tab)
      11. F = Next track (only works in Entertainment tab)
      12. R = Prev Track (only works in Entertainment tab)
    • Some other minor tweaks, to improve stability and make Self mode connect 9 out of 10 times.
    • Fully integrated x86 native binaries
    • Declared app as CAR HOME, for those using SelfMode it is crucial, that when you get prompted which should be the default CAR HOME app (Android Auto or HU) you select HU!!! - This is needed to be able to bring back the HU on top after a successful connection is established. AA is trying to override everything..... and to block the user out of his phone as soon as it's connected to the car.
    • Transport Audio option will affect USB connections as well (You can keep the audio on your phone/bluetooth, when connected with the OTG cable)



    Version 1.03b released - Beta

    - You will find it in XDA Labs (under the Beta version)
    - Fixes Wifi/Self mode for some devices which didn't connect before
    - Increased stream buffer size to match the DesktopHeadUnit app (128Kb vs 64Kb)


    Version 1.02 release
    - Fixed wifi not connecting on some device only after numerous attempts (see explanation below if interested)

    The issue looks to be related to the timing, on some occasions and on some devices the phone either sends the SSL data too soon, either too late, either to slow :) and because the TCP socket is set to non-blocking mode, it can end up in a missed packet in the initial Handshake. I have tweaked this now, so the TCP socket will connect in non-blocking mode, but will switch to blocking mode and wait for full message after a successful connection and once the SSL Handshake is out of the way it will revert back to non-blocking mode, uhhh event reading this makes me dizzy :)
    This however could make the initial startup slightly slower than it was.

    - Corrected AutoStart option (Working properly now)
    - Fixed USB device overlapping Settings text on the drawer menu
    - Added "Send Log" function to be used if there are problems for easier debugging.


    Version 1.01 released

    - Potential Wifi disconnect fix (see: http://forum.xda-developers.com/showpost.php?p=68078605&postcount=16 for details)
    - AutoStart option added to the menu


    Very sadly Mike passed away this year and his software stopped working after a Google Update, he left us a slightly outdated GPLv3 version of the software at: https://github.com/mikereidis/headunit which I have used to rebuild (or ty to) rebuild up to his latest build with some additional small modifications as well as fixing the issue caused by Google.

    The forked version can be found on: https://github.com/borconi/headunit if anybody is intersted.

    Since the app released by him isn't working any longer I have created the new version of it and slightly re-name it just to avoid any confusion.

    I take almost no credit in this app, except for some minor changes, and finding the fix for what Google have broke (changed), which was a painful task.

    I'm not a developer as such, and this app would never have existed if it wasn't for @mikereidis, however I have spent now several weeks studying the app and understanding how it's working and I plan to continue with the maintenance/development of the app.


    I have published the app on XDA Labs under the new name: "Headunit Reloaded Android Auto" and it is now available for purchase. As I have stated previously I'm intending to support all of Mike's customers, so if you have purchased Mike's application before, please email me a proof of purchase to [email protected] and you can have a free copy of the spin-off app.

    How to use (Self / Wifi ) ?
    1) Self mode.
    See instructions in version 1.1

    2) Wifi Mode
    Start AA on your phone, tap the header 20 times till you become a developer, once that is completed from the menu select Start Head Unit server. Now start tethering on the phone, connect the tablet to the newly created wifi hotspot, start HU on your tablet and select Wifi. This will make the HU app try to connect to the default Android gateway (192.168.43.1), if you need to change this, use the Settings menu from the HU option list. If HU doesn't start on first, do try a few more times, first setup sometimes proves tricky. If this is the first time you connect your phone to the a HU, please make sure you answer all the questions on the phone.

    3) Wifi p2p
    This is not supported by all devices and might not work for your device, plus sometimes it can be slightly buggy. Start WifiP2p on the tablet from the HU. On the phone go to Wifi Direct (this is usually found in Advanced Wifi settings settings - DON'T TRY TO CONNECT LIKE TO A NORMAL WIFI and look for a new available connection. If you can see one tap to join. Once you joined the network, give it about 30 seconds or so, then open the AA on the phone and start the head unit developer server (same as describe it above). If you're lucky it will work instantly, if not you might need to play around with it.


    Other Options:
    Possibility to toggle the Audio mirroring when using a Wifi connection. By disabling the Audio mirroring, you will keep all the audio on your phone rather than on the tablet (or on the handsfree) if the phone is connected to the handsfree. This will improve the performance greatly, since audio will use up a significant quantity of Wifi bandwidth when communicating between the 2 device.


    USB OTG connection.
    Have remained unchanged and it will work same way it did till now, see original threader for details.

    I will monitor both Threads and will do my best to help and support everybody.




    18
    Wifi Mode - Starting with HUR 7.X

    Braking changes with version 7.X
    Only for phones running Android 9 or higher, if you still use Android 8 phone, you won't be able to connect over WiFi. Device running HUR, can have any version of Android.

    Phone Setup:
    1. Install Wifi Launcher for HUR on the phone ( https://play.google.com/store/apps/details?id=com.borconi.emil.wifilauncherforhur&hl=en_US )
    2. Make sure you give the app all the permissions, including draw over other apps, otherwise it cannot start Android Auto from the background!
    3. Open the app and select the car's BT adaptor from the list (make sure phone is NOT connected to the car's BT, but BT is enabled!)
    4. If you want your phone to create the hotspot, turn on the option to Enable hotspot (this will probably not work if you are on Version in the USA due to carrier limitations!), likewise if you want your car to create the hotspot or you want to use an incar wifi module, leave this option turned off.
    5. Only turn on the legacy option if HUR specifically instruct you so.
    Car/Headunit setup:
    1. Connect to the phones hotspot or if you are using an incar WiFi connect to that network. Alternatively if you want HUR to create the hotspot and connect your phone to it, enable the option in HUR settings.
    2. Open HUR

    As soon as the 2 devices are on the same network, HUR will fire up on your car screen.
    15
    Hi guys.
    Sorry haven't been reading this thread and likely I will have limited time to read it in the future as well, that doesn't mean I'm not supporting the app any further, simply I can't spread myself to so many things.

    I've seen a few comments, regarding resolution and some other issues, mainly WiFi Launcher and WiFi connection.

    First off, I had taken those functions away because I had no choice, if I want the app to be available in playstore need to compile it with newer SDK, but newer SDK removes abilities to toggle BT for example, or get the devices Mac address, things which are crucial for native wireless Android Auto. Also new changes won't allow WiFi launcher to connect to a specific network, or to disconnect from the network, you can make requests but it's not guaranteed that it will be fulfilled, therefore wiped everything which existed before and started from 0 using Network Discovery Service, which SHOULD be a standard since Android 4.1, but found out it's not and some devices are missing it (hence the flurry of updates after version 7.0 rolled out). The concept is very simple, HUR advertise it's service on the network and WiFi Launcher connects to it, regardless who creates the network, or what WiFi network you are on, as long as it's the same network.

    Resolution option, HUR now takes the best matching resolution available and the optimal for the screen. For example, if your screen runs on 1024x600 it will use 1280x720 resolution and add the margins to make the screen output be exactly 1024x600. If your screen is 600x1024 HUR will chose the 720x1280 as now Android Auto does support vertical resolutions as well. In above case selecting any higher resolution makes no sense as the image will still be cropped at 1024x600, and selecting lower resolution will mean HUR needs to upscale. Decoding video at 1080p should be no issue for any device manufactured in the last 10 years, even if it has to do it with CPU and not hardware accelerated. Manually changing resolution does not add any benefit, it creates more customer support, so while some persons might get upset about it, will most probably stick with the decision.

    Majority of the problems with connection are coming from all kind of weird implementations and manufacturer broken standards and stuff. I try to make sure the app works for most, but genuinely there is no silver bullet and one size fits it all. In the last few years the number of Android powered units have exploded and they range from super cheap entry level stuff to very expensive sophisticated units, but simply that the unit is powerful in terms of specs, doesn't mean it has proper implementations. Xiaomi, for example still have native Wireless AA broken, even on Android 13, albeit it was supposed to work from Android 11, they have a bug where WiFi disconnects when the GSM/LTE signal is lost. Lenovo doesn't include the Network Service Discovery, many chinese units have broken video driver, where mediacodec gets in corrupted state after a surface is destroyed, and the list of issues can go on forever. So before trashing the app, do consider the above and realize that it's just impossible to make it good for everyone.

    Also for support please use [email protected] email address as someone will pick that up, if there is a major incident on this thread please name tag me so I can have a read trough. There will be some more minor updates coming up to address some of the concerns, like no sound in self mode (app should ignore the audio sink setting when running in self mode, but it doesn't so that's an error on me) and other small things.
    11
    Hi guys.
    As you probably know I'm pretty busy with a major project which means way less time for XDA. Sadly as we know XDA Labs went down for a while, and there are many of you who have purchased the app on XDA Labs and not able to access it any longer.

    For all those, you can now used the following link: https://www.b3itlabs.com/download.php you will need to fill in the paypal email address you used to make the purchase, the page will then generate a one time unique link which will be emailed to you.

    Link will allow you to download to pick and download the APK.

    As I've said all links are one time use only, so you won't be able to share those links, if you need to re-download the app, you will need to request a new link.

    I will be adding checkout option to the website as well hopefully in the near future so new users can get a copy of the apps if needed.

    If you need any support, please contact me directly by email.

    P.S. I'm working on a new version, of HUR, still need to fix some bugs, but should be a pretty big step forward compared to previous version.
    10
    Isn't that exactly what you just joined up to do?
    You didn't join to ask a question. You could have started with telling us what device and Android version you are trying to connect with/to, and perhaps someone could help you constructively.

    Sent from my ELE-L29 using Tapatalk

    @googlebox:

    Normally I try to take criticism in a positive and constructive way and I try to improve my service I'm providing.
    Also when you bought the app you did bought support with it as well, indeed the app help button brings you to this thread as 99% of the issues/problems/solutions have been discussed in here, but in case you are still lost or not sure, you can at any given time shoot me an email and normally I reply in max 24 hours. If there is one thing I pride myself with is that I really do my best and try to go the extra mile to give support to all users, which is sometimes an extensive and exhausting thing to do, and this will be reflected in the reviews as well.

    Now to echo the above quote, without actually saying what is the problem, where are you stuck, what have you done, it's really hard to give you any guidance.
    Judging from your comment, I'm guessing that you try to connect the 2 devices over WiFi but maybe I'm wrong and you try to connect them over a USB cable, while I don't like to be arrogant, I will make an exception this time. The LAYMAN, will understand to have Android Auto wireless in a car it will cost him $500+ if he/she goes to buy a Kenwood/Pioneer receiver and then pay another $100+ for fitting. The layman won't try to cut the corner and have some tablet fitted into the dashboard trying to mirror the screen, that is not a layman any more. So if you do consider yourself a layman, please feel free to go and pick up a unit which can offer you the desired solution, I will refund you the app price no problem so you can spend it on that solution.

    I have never ever refused a refund from anyone even if they used the app, if they weren't happy with it, I even send copies away for free, when some users contacted me that they can't afford it, I've spent sometimes hours with users on different issues and support, in some rear cases I drove down to personally help out the users so your comment, really made it personal and I think this is the very first time I took a comment personal. So to answer you in a question, RTFM if you can't manage tough luck shoot me an email and I'll refund you.
    Once again I do apologise for the harsh language.