yashsingh1/xdaforums huggingface dataset:
[Paid Software Announcement and Discussion] wowzors:
Interestingly enough when I uninstalled and reinstalled AAGateway and granted it SU. The first time I booted up my car with the stick plugged in I got the prompt in my car to enable smart phone connection for the device. Android auto still never showed up unfortunately, but it appears progress.
[Paid Software Announcement and Discussion] Richy101:
Oh well, that didn't last. AA is running fine on master and aa gateway on slave and they are connecting to each other Everything the slave Moto x is activated it defaults to charge only on the USB port. Wonder if this is something to do with the prob.
[Paid Software Announcement and Discussion] flotron:
This is working with android 4.2?
[Paid Software Announcement and Discussion] swasha123:
Actually my slave (Samy Note 4) is also set to default Charging (under developers option), but it is connecting without any problems.

---------- Post added at 06:28 PM ---------- Previous post was at 06:12 PM ----------

This is second week, that I have been using Wireless Android Auto. NOT A SINGLE DISCONNECTION during this period. (This was major problem earlier for 2yrs).

Tried using Flow to disable/enable USB.. but no success. Anyway, I don't mind waiting and connecting USB for 2min in my daily drive of 2Hrs. Also far better than fuxxing disconnection.

But I have one problem now. Music/Audiobook playing with stuttering.. tried using best & short cables but same problem. I am using 5ghz WiFi. (Master - LG G6, Slave - Samy Note 4)

Google Maps running fine without any problems.

[MENTION=224120]Emil[/MENTION], may be you need to look into it.

@All others, is there any workaround for stuttering??? Pl share experiences.
[Paid Software Announcement and Discussion] swasha123:
Just found one option, I will disable USB Audio and test tomorrow.. let's see
[Paid Software Announcement and Discussion] SysWiz:
Any chance you'd share this Automate task with us? I am muddling through making one, but if you've got it handy, I'd love to see it and compare it to my pitiful attempt. I know that I would have to customize it to specify the correct bluetooth connection. Thanks in advance!
[Paid Software Announcement and Discussion] bggold:
I will try to get something up in the next day. Have to modify mine as it does some other stuff too.

Are you rooted?
[Paid Software Announcement and Discussion] SysWiz:
Yes. Running a Pixel 2 XL.. Thank you very much.
[Paid Software Announcement and Discussion] bggold:
I have been working with the tasker app join. Seems to work well just standalone. No tasker integration needed.

I have been messing around with sending a notification to the master from the slave when aagateway is running. Also seeing about sending the disable/enable commands with a widget from the master so I don't have to disconnect the USB when I do have an issue.
[Paid Software Announcement and Discussion] Richy101:
OK, thanks. Can't be that then causing my problem. May be something to do with the USB connection on Slave and wonder if it's a connection order thing. Didn't reboot the slave phone though as was driving then never got time to mess about with it.

Do you wait for everything to boot up before connecting your slave phone to headunit? This is what I did first time I got it working and did work everytime I switched on and off immediately the head unit booted. Came back some hours later and it didn't work. I'll troubleshoot it some more. Did work very well though :good:
[Paid Software Announcement and Discussion] swasha123:
Yes, I wait

1. HU server running (24Hrs) on master (No wait)

2. Bluetooth connection (Master to Car)-20sec

3. WiFi connection (Master to Slave)-Parallel to above

4. Then connect Slave to Car
[Paid Software Announcement and Discussion] Gunde:
Been using AAGateway for a week now, and I love it ... when it works.

For now though, I'm going back to cable. It's simply too unstable. Even with all the flows in Automate, most days I spend way too much time fiddling to get a connection. Disconnects happen every 30-40 minutes with AAGateway crashing, and then there's the seemingly unsolvable problem of Android Auto hanging as "Connected to car" on the Master. No matter what I do with the flows in Automate, I can't seem avoid this.

Anyway, of course I know this is a first release, so I'll be back :)
[Paid Software Announcement and Discussion] swasha123:
[MENTION=536872]Gunde[/MENTION], there is no disconnection at ALL. Atleast for me in last 2weeks. Also no crashing of AAGateWay. You may need to change your Slave.

If you follow sequence correctly, there will be no hanging of AA on Master.
[Paid Software Announcement and Discussion] XQC:
Got my hands on a used and cheap Nexus 6p, rooted it and installed the flows from Salkod. It works fine for the first try, but when I leave the car for a while and get in again, the connection always fails and the master (Pixel 2XL) is stuck in "connected to Android Auto", which only a restart can resolve.

I hope for upcoming updates from Emil, but I'm afraid that Google also has to do bugfixes for Wireless AA.
[Paid Software Announcement and Discussion] Salkod:
My flows are only for the mk809iv android stick and they will not work on your slave phone.

I believe there's flows posted to turn the slave phone's usb connection and steps to solve your issue if you searched in the comments.

Good luck:o
[Paid Software Announcement and Discussion] StewPid11:
Along the same route but slightly different, instead of a Windows stick PC what about a Pi to play middleman. At $30 it's probably cheaper than the Android stick and could have a lot more flexibility down the road for things like an external hard drive or logic like auto updating playlists when you get home.
[Paid Software Announcement and Discussion] Emil Borconi:
Ok never heard of them before (not my cup of tea I guess) but I wouldn't call them "a little bit more expensive" I will call them "WAY MORE EXPENSIVE" :)

No promise for windows support, but you aren't going to be limited to a tv stick I just though of them due to small size, but in practice you could use an old phone if you want or a tablet, or whatever runs Android, I'm considering making it compatible with 2.3 as well not only 3.0 so the range of device which can serve as a Wifi antenna should be pretty big.

Probably after Android I will consider a Pi Zero W due to the very small size and inexpensive hardware, so Windows probably will need to wait a bit :)
[Paid Software Announcement and Discussion] Emil Borconi:
Lol just replied mentioning the Pi :)

Well not really, Pi Zero W is about $9-10, and an sdcard and a case it's another $5-$10, so probably you are looking at around $20. I bought the device I used in the demo video last week brand new for £14.99 so about $18. I will say probably the same budget.
[Paid Software Announcement and Discussion] jeromeo01:
For me its WAY less expensive. I already have one.... [emoji23][emoji23].

Old mobile phone sound good too. At least you have the screen to set it up.
[Paid Software Announcement and Discussion] Mentalmuso:
Hi there, I'm interested in the development here. So wifi is all that is needed? As my Ford Sync head unit has WiFi already. But no wireless Android auto.
[Paid Software Announcement and Discussion] Emil Borconi:
Not quite. The idea is to us another android device as an auxiliary device fulfilling the role of a proxy/gateway between the car and the phone. To make it work in the ford sync directly we would need to rewrite/change the firmware on the Ford. Maybe ford will provide an update, but that is unknown at the moment. Not even sure if the ford sync is Linux or android based but I will guess the former one.
[Paid Software Announcement and Discussion] 西村大一:
Good workaround. It might be crude to say the least, but if it works it works. Oh, and if you hit up aliexpress or alibaba you migh come across some of those usb mini PCs or a cheap android phone. Might hit up a store to see if they have them here in Japan and also track down a used android phone to sacrifice for use in the car.

One idea though, if you want to use another phone. uninstall ALL the apps, use a lightweight launcher (android doesnt boot without a launcher), get one of those Y cables to connect to the HU and to a 1A cheap car charger, and also modify the kernel to start when the car starts.
[Paid Software Announcement and Discussion] bestaudioguy:
Just installed a Pioneer AVIC 8200 and hate using the USB. Can't wait to see this come to fruition. Having it would allow me to use a qi charger for my phone. Really like andriod auto, but recently it has been so slow to load and use. Very slow Waze and Google maps loading. Hope this helps.
[Paid Software Announcement and Discussion] Tigerstown:
I'm definitely interested in this. I Just got 2 brand new 2018 cars and no way I'm replacing my 8inch factory touchscreens with expensive headsets just to gain wireless AA. Good stuff!
[Paid Software Announcement and Discussion] Mentalmuso:
I see, well, I have an Android TV stick sitting in the drawer, along with a raspberry pi which could also run Android. I'm intrigued.
[Paid Software Announcement and Discussion] Toffidee:
So this sounds awesome! But I'm not sure if I've understood if it will work with an older headunit that came with AA from the factory. I don't mean to use the cars wifi, just plug the USB stick it in to one of the USBs used to connect the phone to car.. Would this stick solution work for those kind of headunits or just aftermarket ones?
[Paid Software Announcement and Discussion] bradhoschar:
Absolutely interested!

Have the same XAV HU and I HATE having to mount my phone so it'll reach to the HU.

Thanks so much for working on this!!!
[Paid Software Announcement and Discussion] docfong:
I have a GROM Vline Android 5.1 based system in my car. It would be nice if I could get AA to work on it through my phone! Thanks for doing this...
[Paid Software Announcement and Discussion] zsamson:
Just bought one of those Android TV sticks for this. Hopefully this works for awhile and Google doesn't shut it down. Looking forward to to trying this!
[Paid Software Announcement and Discussion] the1dynasty:
Would love to get this working on my Civic Type R's factory HU... Any recommendations/links to an Android Stick I could purchase??
[Paid Software Announcement and Discussion] murso74:
Would an Amazon fire stick work for this? They do run on top of Android
[Paid Software Announcement and Discussion] lukesan:
Well as said before I have a drawer full of android sticks, but future wise and for some new people here the pi-zero-wireless makes a lot of sense. You know it will be compatible if it works for 1. A downloadable image of some sort to put on an sd-card and a config file to alter.
[Paid Software Announcement and Discussion] rohan26may:
Chevy MyLink

Hi Emil,

I have Chevy Cruze 2015 with MyLink. Will your solution work for my system as well?

Please let me know.

Regards,

Rohan
[Paid Software Announcement and Discussion] Emil Borconi:
[MENTION=4995498]西村大一[/MENTION] - Agree it's crude but it's also plain simple, it's a "lifehack" :)
[MENTION=5901997]bestaudioguy[/MENTION] - Wireless or quick charging will be possible no problem there, it should not have any impact on Waze and Google maps speeds, but it might help some users who are facing difficulties connecting over USB for various reasons. Of course the whole thing will still require a USB connection from the car to the tv stick (or any other auxiliary device) but from what I have gathered it's the newer devices (mainly usb c) which have more problem and in many cases the problems are OS problems on the phones. Therefore older and simpler device might have a much better connectivity to the car, then you only depend on the Wifi between them.
[MENTION=5317224]Tigerstown[/MENTION], [MENTION=3920982]bradhoschar[/MENTION] - Well just bare with me a bit more :)
[MENTION=9290846]Toffidee[/MENTION] - Correct
[MENTION=3633428]docfong[/MENTION] - For Grom Vline there is a solution (with wifi as well) quite a while ago, see my signature or look at this: https://xdaforums.com/general/paid-software/android-4-1-headunit-reloaded-android-t3432348
[MENTION=5859142]zsamson[/MENTION] _ I'm not expecting Google to shut this down, I'm using the same approach as a Developer will need to take when it develops apps for Android Auto, so if they shut this down, it means they have to shut down the development tool as well, which I don't expect to happen at any point.
[MENTION=4386609]the1dynasty[/MENTION] - Any should do (running Android 3.0+ or higher, I might backport it to 2.3 as well but not sure yet) , but I say first wait till the app is out, use an old phone to test it, you are happy with how it works spend money on buying a stick.
[MENTION=3118099]murso74[/MENTION] - I haven't tried but should do.
[MENTION=9291259]rohan26may[/MENTION] - yes
[Paid Software Announcement and Discussion] Emil Borconi:
[MENTION=4995498]西村大一[/MENTION] - Agree it's crude but it's also plain simple, it's a "lifehack" :)

@bestaudioguy - Wireless or quick charging will be possible no problem there, it should not have any impact on Waze and Google maps speeds, but it might help some users who are facing difficulties connecting over USB for various reasons. Of course the whole thing will still require a USB connection from the car to the tv stick (or any other auxiliary device) but from what I have gathered it's the newer devices (mainly usb c) which have more problem and in many cases the problems are OS problems on the phones. Therefore older and simpler device might have a much better connectivity to the car, then you only depend on the Wifi between them.
[MENTION=5317224]Tigerstown[/MENTION], @bradhoschar - Well just bare with me a bit more :)
[MENTION=9290846]Toffidee[/MENTION] - Correct

@docfong - For Grom Vline there is a solution (with wifi as well) quite a while ago, see my signature or look at this: https://xdaforums.com/general/paid-software/android-4-1-headunit-reloaded-android-t3432348
[MENTION=5859142]zsamson[/MENTION] _ I'm not expecting Google to shut this down, I'm using the same approach as a Developer will need to take when it develops apps for Android Auto, so if they shut this down, it means they have to shut down the development tool as well, which I don't expect to happen at any point.
[MENTION=4386609]the1dynasty[/MENTION] - Any should do (running Android 3.0+ or higher, I might backport it to 2.3 as well but not sure yet) , but I say first wait till the app is out, use an old phone to test it, you are happy with how it works spend money on buying a stick.

@murso74 - I haven't tried but should do.

@rohan26may - yes
[Paid Software Announcement and Discussion] toband_se:
This is exactly my experience as well. Works fine when setup correct, even when shutting down the car for a shorter period.

BUT when left for a longer period (or distance?) the master gets stuck in a "Connected to Android Auto" - only a restart will help.

Master: Pixel 2 XL

Slave: Nexus 5 (rooted)

I am really hoping on this solution as my Pixel 2 XL is not working with a USB cable. The car is not picking up at all - no matter what cable. Used to work when I got the phone back in November but after about 5-6 months (and some updates) it stopped. Anyone know the reason? I heard some about the Pixel 2 USB issues but not sure what this is about?
[Paid Software Announcement and Discussion] R3define:
My Pixel 2 XL is identical. It will not connect with the cable at all. It's super irritating. Mine just flashed back and forth between charging and not.
[Paid Software Announcement and Discussion] wowzors:
Just a heads up as I had this happen. Spent a lot of time with Google support they blamed it on DP4 said they couldn't help. Removed DP4 surprise still didn't work, hours of trouble shooting and nothing. They send me an RMA and I think hmm maybe try it on my PC still got nothing so I turned on developer options switched us debugging on then off and on again, boom USB started working.
[Paid Software Announcement and Discussion] bggold:
I was just going to post that to make sure developer mode is turned on. Have a pixel 2 xl and never had this issue. I always enable that when I am setting up a new phone, usually to root.
[Paid Software Announcement and Discussion] wowzors:
Here are the exact steps I followed and it worked.

Unplug the USB cable

Set USB debugging in developers' options to "on"

set usb debugging to "off"

Plug the cable back in

Swipe settings down. You should now see a section "USB charging this device". Tap it and select file sharing or one of the other options.

It just doesn't want to do it without going through the developer options usb debugging that first time through.

note: my phone also just randomly one day stopped connecting to Android auto and my PC, this fixed it.
[Paid Software Announcement and Discussion] Richy101:
That's pretty much what I did when I had it working. I could turn the head unit off for a few minutes and back on again and all would work fine. Only thing is, is that slave and master never lost contact with each other. More testing required my end but it is an interesting project. I still say well done to Emil for getting it this far.

---------- Post added at 10:44 PM ---------- Previous post was at 10:35 PM ----------

Just read your post and noticed my Galaxy S9 behaved the same way and the "connected to android auto" seemed to stick. Wasn't sure if it was still running or not. Only way to shift it was to reboot the phone.

I'll probably just stick to using AA conventionally but as things update or fixes develop then I'll keep trying it out. Wireless AA is in need of fixing too, as you say.
[Paid Software Announcement and Discussion] StelardActek:
I love the sound of this. Hopefully the kinks can be ironed out and wifi direct can be implemented. I think I'll wait for the latter at least before jumping in myself, since I don't have a convenient device to use as the slave on hand.
[Paid Software Announcement and Discussion] Genebaby:
Is there a way to do this with a Raspberry Pi, or will a TV stick be the best way?
[Paid Software Announcement and Discussion] toband_se:
I have USB debugging turned on and have tried switching between enabled and disabled without success.

I will try this. Hopefully it will work for me as well.
[Paid Software Announcement and Discussion] Gunde:
I think the phone at some point resets the USB status to MTP, maybe after deep sleep?

I solved this be creating a flow that disables USB immediately upon data connection, and re-enables it when connecting to the hotspot.

It's still not completely fool proof though.
[Paid Software Announcement and Discussion] wowzors:
Used my pixel 2 xl as a master and the mk809iv with saklods flows and it worked today? I think it would have worked earlier but I missed that I had to hit okay to a bunch of prompts but the care couldn't be moving. Naturally I clicked through them as I was rolling down the driveway so that might have goofed it.

I cleared data on the Android auto app and tried again and success!
[Paid Software Announcement and Discussion] Salkod:
Congrats buddy :good::highfive:
[Paid Software Announcement and Discussion] wowzors:
Thank you for your help and creating the flows! I had it crash after about 30 minutes but I'm chalking that up to AAGateway being in Alpha.
[Paid Software Announcement and Discussion] Emil Borconi:
2 more days of paradise(see attachment.... I know this is not a travel website neither advertisement one but you have to visit this country at least once in a lifetime....) Then I'm back home. I've been skim reading through the forum, quite a lot of posts mainly I identified the following issues:

1) mk809v stick has some weird problem with allow connection to pc every time. This seems to be mainly addressed by automate and flow. I will need to check if mk809 is available in UK for testing. Thinking to create a custom ROM which has everything predefined.

Edit: ordered an mk809iv stick so I can test.

2) second main problem looks to be Google play services getting stuck. Order looks to be crucial here, sadly every car seeks to react differently. My Sony headunit I used for test try to reconnect the usb every X seconds, so here it's relatively easy to handle the connection to the headunit server on the master, other cars seems not to do this. This will need more investigation. Possible solution to have a second app on the master phone, so slave connects to master on a dedicated app, rather then directly to the headunit server. This will help with automating WiFi direct as well, and also probably help with timing and prevent Google play services being stuck. This could also send a clear connection close request to AA server after the WiFi dies off between the 2 phones which should eliminate the last chance of Google play services stuck. Another point here is that I might be able to use reflection to start the headunit server without user input, but I will need to dig into Google play services and Android Auto... I did had a go with it in the past but had no joy, but since then I have learned a few new tricks so I might be able to do it...

3) some random crashes of Aagateway on some users, probably I will need a bug report on that....

4) problems with setting defaults for usb I will try to find a better approach for that.
[Paid Software Announcement and Discussion] XQC:
That would be awesome – thank you so much for your dedication!
[Paid Software Announcement and Discussion] swasha123:
[MENTION=224120]Emil[/MENTION], Really Promising.. We are eagerly waiting for..

Counting days..

Thanks for huge hardwork and efforts.

Have a nice weekend!!!
[Paid Software Announcement and Discussion] chernabog88008:
Edit: ordered an mk809iv stick so I can test.

Emil:

I've got one of these sitting here, was waiting for things to get more stable, but would be happy to test on a dedicated ROM. I'm using a brand new Kenwood DMX7704S with a Samsung S9 Plus. Took me 2 days of cussing and swearing to get the Android Auto to work period with the phone, so now I can move on to testing other things.
[Paid Software Announcement and Discussion] wozn:
can i use a Mi Box 3 android tv and sidelaod apk or must it be an android mini pc stick?
[Paid Software Announcement and Discussion] DragonFlye:
Proxy/Gateway needed?

I've been reading the whole thread and please correct me if I'm wrong...

If you use an old surplus phone (with android > 5,

no

sim/data plan but with the same Google account) continuously attached to the AA capable head unit, there would be no need for a Proxy/Gateway. The old phone would only need a WiFi connection. That tether could be provided by your daily use phone which is safely tucked away in your pocket and can remain there because some automation (tasker, automate) has switched on the Hotspot.
[Paid Software Announcement and Discussion] Emil Borconi:
Yes you can
[Paid Software Announcement and Discussion] Emil Borconi:
No you've missed the point. Without the proxy/gateway this won't work. You don't necessarily need to have the same Google account on both devices, well you don't even need a Google account on the slave, the proxy app will make the connection between the headunit and the master phone.
[Paid Software Announcement and Discussion] chinaa108:
[MENTION=5437072]bggold[/MENTION] I have been using your flows on the slave phone. It's awesome. Thank you!

However I am getting a few disconnects every so often. I just unplug the slave and plug it back. Is there any additional flow you could make that could take care of this. I have no clue how to do it. Please help.

Something like this

Disconnected from Android auto

Check for wifi active state

If active try reconnect aauto switch off usb and switch on again. (This is just to check if the aauto is needed)

If wifi not active disconnect

Please help if you can. Much appreciated