yashsingh1/xdaforums huggingface dataset:
[Paid Software Announcement and Discussion] Emil Borconi:
Mine haven't arrived yet... Still waiting... This is the downside of leaving in East Europe :(

Anyway Android 7.1 it's not the best news as hotspot can be problematic. There is even a bug on 7.1.1 where app can't run on hotspot.

If you intend to tether from master it won't affect you personally but it means device might not be what I'm looking for....
[Paid Software Announcement and Discussion] Marshy33:
New version is connecting well with case 1, but still have issues with audio playback from Spotify.

Have also tried the lspeed app but still the same.

Android auto picks up all my inputs of fast forwarding and rewinding just like the video you posted, but its the audio which is out of sync / delayed at picking up the changes, or it just gives up and plays no sound even though the clock still ticking on Spotify like the song should be playing.

I'm starting to think it must be my head unit, being the only one with this issue. Out of ideas of what else to try. Open to any suggestions!

Thanks Emil for all the hard work!
[Paid Software Announcement and Discussion] NYZack:
Got it. The interesting thing is that wifi security settings are preserved when AAGateway is uninstalled, so it must be something about an interaction with the code that leads to this.
[Paid Software Announcement and Discussion] epsonix:
HI [MENTION=842765]Emil Borconi[/MENTION] I know you get plenty of posts every day, and not only in this thread, and still development work (day is too short - I know this pain - been case for me since good 10 months now) so easy to miss post/forget to reply, so reminding my above questions. Could you advise on above please (and maybe bit update post 1 instructions to avoid ambigiuities for non Android experts like me). Thanks.
[Paid Software Announcement and Discussion] Emil Borconi:
I should rename inside the aagw app. Enable only if master above pie.

If master runs pie WiFi launcher will not show you the tether option that is only visible if master is on Oreo or older

To run the other way around, manually create a hotspot from the master and manual start the headunit server on the master.on the slave open aagw disable the start tether app and select the masters hotspot from the list of network.
[Paid Software Announcement and Discussion] DAVIZINHO:
in Spain, all the things of aliexpress are very Fast to deliver :)

the stick have Android 7.1.2. maybe Its posible to upgrade, i will search for more info
[Paid Software Announcement and Discussion] epsonix:
thanks for clarification on this. your edit clarifed others matters for me, so reeditted this post. what if I do not use WiFi Launcher for HUR - only manually create hotspot/enable HU server in AA? is no WiFI Launcher option reserved/restricted to use with e.g. case 1 only or case 3 only, or will do either (say I do manually connections or use Automate)?
[Paid Software Announcement and Discussion] DAVIZINHO:
[MENTION=842765]Emil Borconi[/MENTION] one stupid question.

i setup the stick in my house conected to a tv, i conect the power suply to the micro usb and a mouse to the usb, all is ok.

tomorrow i will conect the stick to the car and i think i need give power to stick and conect to the car by usb Android auto port.

Its ok? I need to conect the stick to the power supply in the car and the radio by a usb otg port?
[Paid Software Announcement and Discussion] Emil Borconi:
You connect the TV stick otg to the cars Android Auto USB port
[Paid Software Announcement and Discussion] DAVIZINHO:
wow! only?

not need the power suply? great!!!

thanks again for your support!
[Paid Software Announcement and Discussion] sibesaver:
Both 2.0.5 and the release today do not work with my slave and head unit. Using non-root mode and a Pixel for the slave with case 1. Head unit keeps prompting that I must agree to terms and services when no Android auto screen appears to do that. I can't prove it but I suspect that it's problem setting the USB settings appropriately.

the version from January 6th works flawlessly especially using the Tasker routine as opposed to Wi-Fi for HUR.
[Paid Software Announcement and Discussion] JohnnyCanuck:
[MENTION=842765]Emil Borconi[/MENTION], 2.06 works really well. Tested with no audio dropouts and will use tomorrow on my commute to make sure. My L Speed tweaks made a huge difference, but not perfect. Your TCP tweaks seem to be a big step forward on usability!

However, I am only able to use it by starting Head Unit Server on my master and connecting my slave to my master's hotspot. I get nothing when I try to use WiFi for HUR. Master is a Samsung Note 10. Are there any specific logs I can send you to help you figure this out?
[Paid Software Announcement and Discussion] Marshy33:
Hi Emil,how is audio transmitted from the master to the slave?

I have found these settings in developer options and wondering if if I should test changing them to see of it fixes my audio issue. Or would I just be wasting my time?

Thanks
[Paid Software Announcement and Discussion] propi62:
i have exatly the same problem. maybe its a VAG thing. my car is SEAT and i think yours is an AUDI.

i had my car in repair last week to update the headunit but without luck.

my headunit crashes not only with spotify playback, also with tunein radio and google podcasts.

if i playback normal car FM everything is fine.

my last hope is emil to tweak the wifi TCP buffers or something like that. or maybe AA is broken and needs update. internet is full of spotify with AA crash problems.
[Paid Software Announcement and Discussion] Marshy33:
Hi, yes I have VAG (Skoda). I have tried pretty much everything I can think of without success.

My next step is to try older versions of AA.

There's quite a few posts in the google forums of people having this issue with wired connection. So at this point I'm holding out for an AA update to fix this.

When I plug mine in using the cable there are no issues at all, its only using the wireless connection. Is this the same with yours?
[Paid Software Announcement and Discussion] propi62:
i can crash mi aa auto only in wireless mode with skipping spotify tracks sometimes it needs 5 times in fast repeating (3sec wait) and sometimes it needs 30 times.

whene i have the first audio dropout, thene i know it will crash in the next 5 minutes.

usb wired its working good but not perfect, had it closing very rarely.

aa with no audio works without problem. it must be a audio thing. i also tried aa 4.7 and 4.6 with old GUI. same result.
[Paid Software Announcement and Discussion] Marshy33:
Yep this is the exact same as me. Thanks for confirming. Fingers crossed an AA update will fix this on the near future!
[Paid Software Announcement and Discussion] Emil Borconi:
It's PCM format over Wifi so BT will have no effect.
[Paid Software Announcement and Discussion] Emil Borconi:
MK809IV stick arrived and it's with Android 7, they have changed a few things compared to Android 5 so I need to tweak and adjust the app to make it work, but should be able too. I will keep you posted.

On the note of audio drops out and car crash, I do have a theory but I might be wrong, it is very hard to be sure without investigating what's happening inside the car's unit.

Android Auto works based on messages, one message at a time. When you deal with them over USB (while it's NOT guaranteed, in 99% of the cases each time you read one packet of available data from the USB it will only contain one message). Problems can happen when there are 2 messages in one read. While working with TCP, it is by no mean guaranteed that each packet contains one message, sometimes it's one, sometimes it's more then one, sometimes it's only partial. The AAGW does take take to only ever process one message at the time, so this should not cause the issue, but I wonder if the client (read VAG car) does expect fragmented data instead of 1 message at a time (I can make a test version where AAGW ignores this and sends the data as it is, if anyone with VAG cars want to try this)

While I was typing this I did play around with the MK809, the problem is a general bug in Android 7.1 which prevents any app turning on he hotspot, so I need to see if I can find some root method to do that....
[Paid Software Announcement and Discussion] pflarini:
You can downgrade to 5.1!
[Paid Software Announcement and Discussion] epsonix:
Can you clarify, you uninstalled WiFi for HUR and just setup hotspot on master and start manually headunit server (or via Automate/Tasker/Macrodroid)? If so I will try this, although it seems WiFi Launcher for HUR does its job (blink of screen on master and connects to HUR for case 1 but with manually enabling hotspot on slave) but for some reason it does not work. Last version which worked was year old 1.0Beta RC3 with a lot of AUtomate running on both phones, and since my master updated to Android 9 it became not reliable (crashing at connection every a few times and required phone restart, earlier with Android 8 it was rare issue)

EDIT, I treid with hotspot on master AAGW first came with some issue (crash?), tried again, no luck, tried also hotspot on slave nothing.
[Paid Software Announcement and Discussion] joedajoester:
Has anybody tested if viper still works over wireless with this method?
[Paid Software Announcement and Discussion] djf8:
Unless I'm doing something wrong just Tasker wouldn't do it on my non-rooted Verizon S9. Only way I found was Tasker using the auto input plug-in with it. Tasker watches for Bluetooth connection to my truck then fires off the auto input routine to open WiFi tether and click the toggle. Works to turn off also when it disconnects from my truck.
[Paid Software Announcement and Discussion] bggold:
It seems each phone behaves differently with 3rd party apps trying to trigger the hotspot.

For several monthly Oreo updates on my pixel 2 xl rooted no dev was able to get the hotspot to work. Recently I have been able to trigger it with automate and another app I use for profiles.

Some of the devs claimed that Google made security changed that prevented them from making those calls.

They had other complaints from a few other models but not all.

Hope this helps.
[Paid Software Announcement and Discussion] Genebaby:
This is going to be fantastic and I'll happily support the app when it's published.

My car stereo has a HDMI input 8 can use for setup of need be.

I'm watching the thread to see what's the best device for the slave.
[Paid Software Announcement and Discussion] oceansoul:
You are a life savor!!, My LG V30 is plagued by USB connection issue with AA, now with Samsung S4 as slave, AA now is faster, more responsive, and wireless. I also use tasker to auto start tether when connected to car BT
[Paid Software Announcement and Discussion] nencio92:
Hi,

I've just find this thread and I found it so interesting. So, after read all posts I'm going to buy an android tv stick, I found this one on Amazon: Link LK10209 Mini PC Android

What do you think about? It's have just USB plug, so it should not require a cable to connect to the car, right? Could it works? Someone have it and know if it is rooted or know if I can root it?

Thanks

Have a good day to all
[Paid Software Announcement and Discussion] lukesan:
Mmm just checked. Would not buy it. I've never heard about that CPU and not sure if you can do OTG via that USB port.
[Paid Software Announcement and Discussion] ChemoNL:
Just tried it with a nexus6p slave and OnePlus 6 master.

Works flawlessly.

Added some Tasker tasks to enable hotspot and display server when connected to the car Bluetooth and disable them upon disconnection.

Will try this for now with this setup and look out for good tv sticks.

Thanks dev
[Paid Software Announcement and Discussion] XQC:
Replying to my own comment, after the initial success I can't establish a connection anymore. I restarted both devices and reinstalled everything, but it's a no go. Although AAGateway is running on the slave and the master says "Connected to Android Auto", the car doesn't show AA, just a error saying "Make sure your phone is not locked". Weird.

And yeah, that's another problem at least with Pixel phones, you can't force close or restart Google Play services, you have to restart the whole device.

But nevertheless, it's a very promising project and I'm looking forward to further updates
[Paid Software Announcement and Discussion] aksuchil:
not working

i have a mi4 rooted.(slave)

mi 5 as master .

when i connect mi4 to usb android auto starts in mi5 but not on the android auto head unit..

got the same sony -xav-ax100.

when i plug into the usb it asks for which app to open as default aaauto or aagateway.

when i select aagateway it says unfortunately the app stopped error.

will wait for u come back from your holiday.

have a nice one till then.

regards

Aks
[Paid Software Announcement and Discussion] newtonfb:
Ya I have a feeling im going to have to wait for the WiFi direct to be implemented.
[Paid Software Announcement and Discussion] Emil Borconi:
Hi guys just checking in from sunny Croatia ;) I've skim read the comments and the feedback. Some observations:

1) currently it won't work if you are using a different devices as the router, the app is looking up the IP of the gateway to connect to it, so if you plan to use an old mifi it won't work.

2) for speed improvements, don't hope for anything faster from final release, that is pushed to the max so nothing I can do on that side.

3) getting AA stuck on the master. Your canches to have AA stuck will reduce by 95% if you can somehow work out a logic to wait for the slave to connect to the WiFi first and only then connect the usb or the car but that will be quite difficult. I'm thinking of ways I can make this work better in future.

4) sticks, sorry guys I thinks that as meany sticks out there as many problems. Will try to find answer to them....

5) same as 3 if you have AA stuck after usage, try the following: when you want to terminate the connection, pull down the notifications on the master and press exit car mode. That should prevent a hang, however I'm not sure I can do to much with this, AA should terminate the connection nicely when the TCP connection is dropped.

6) this project won't work with HDMI output.

Generally glad to read that most of you are able to use it already.
[Paid Software Announcement and Discussion] bggold:
Emil

Thanks for the feedback and ideas.

Enjoy your holiday.
[Paid Software Announcement and Discussion] XQC:
Hi Emil,

enjoy your vacation and get well rested!

We all should keep in mind, that AA wireless is a really new feature, so there are likely also many bugs on Google's side, which cause problems on their own. Problem is, that there are very few active users with AA wireless, so bug fixing won't be a priority for Google at the moment (well, in fact they are still busy fixing bugs with normal Android Auto...)
[Paid Software Announcement and Discussion] SLAB_8002:
Emil, first thing's first - enjoy your vacation. I'm a bit jealous, I've always wanted to visit Croatia. I've heard nothing but great things.

I think I've confirmed [MENTION=8622479]Salkod[/MENTION]'s theory on the "Connect to PC" setting. I used Teamviewer to connect to my MK809iv stick while it was connected to my truck's USB port (which negates the need for a screen with an HDMI input) and as soon as I checked the box for that setting, AA fired right up. If we can figure out how to have AAGateway or Tasker turn that setting on automatically, I think we're in business.
[Paid Software Announcement and Discussion] Jainyankee1993:
Can anyone link how to root the rk3229 chip. I bought a mk809 iii on 5.1 and i can't figure out how to root the device

---------- Post added at 10:54 AM ---------- Previous post was at 10:29 AM ----------

By this, do you mean you installed teamviewer host on the android stick(slave), and teamviewer on master/pc/whatever to control/see whats going on the android stick?
[Paid Software Announcement and Discussion] skip416:
Working with my setup, though I initially found lags and disconnects with the Master device. I isolated the problems and was primarily due to aggressive battery optimization of related apps (AA, Waze, location services, Spotify).

The Slave did refuse to connect to headunit a few times and seems due to the default selection (AAgateway) getting erased. I've since cleared and disabled GPlay services on Slave.

I am connecting WiFi hotspot at 5.0 GHz and all relevant apps now working as intended, including Spotify streaming and Waze simultaneously.

Master: Pixel XL (PPP4 9.0)

Slave: Samsung s4 (OctOS 7.1.1)

2017 VW Passat

Solid work by OP and loving this wireless option!
[Paid Software Announcement and Discussion] Salkod:
I actually automated it with Automate app but still there's an issue with the way the stick handles the default connection, with the root method it works only once after that you get nothing, I tried the non root method with team viewer and Chose aaGateway as default when the prompt appeared but even when always is chosen this prompt appears everytime. I tried disabling Google services but then nothing happens when connecting to car.

It's seems that it's just a problem with this particular stick. So for now I'd avoid it if possible.
[Paid Software Announcement and Discussion] mistermojorizin:
I'm not sure if this would help, but I used to have an app back in MM days that would turn on file transfer on USB whenever USB was connected. It stopped working after updating to Nougat if I remember. Also, I just read someone posted a way to have automate change the USB setting even on OREO devices.

this was the app: https://play.google.com/store/apps/details?id=rayyan.black.fem.ind.runner
[Paid Software Announcement and Discussion] jasperbleumink:
First of all, very cool project. I have been waiting for something like this for a while now! So thank you very much Emil, it looks promising.

I have this same issue. AAgateway is working on the slave and AA is connected on the master.

Can't get it to work. Anyone an idea??

Tested this with a Samsung Galaxy Tab (tablet) as a slave an Samsung S7 as Master.
[Paid Software Announcement and Discussion] Emil Borconi:
Yes but it's not quite an easy process and I want this to be as easy as possible, since not all users are technically skilled, and they just want a simple solution.

But this seems to do the trick (as long as you have root)

service call connectivity 24 i32 0
[Paid Software Announcement and Discussion] Emil Borconi:
By the way I fixed the app dissapear problem if it was a system app, system app is now updated correctly, but it does need 2 reboots.
[Paid Software Announcement and Discussion] propi62:
[MENTION=224120]Emil[/MENTION] i would love to test the vag version.
[Paid Software Announcement and Discussion] Emil Borconi:
Email me on borconie@gmail.com
[Paid Software Announcement and Discussion] Golubev:
Same here. Two sticks 809IV both with Android 7.1. I've set tether ON in settings so it always enabled, why we need to swith tether on\off? I have VAG and want to try your test version.

To change USB mode to "Сonnect to PC" i've put shell script into Macrodroid on trigger "boot device" - "echo 2 > /sys/bus/platform/drivers/usb20_otg/force_usb_mode". Without this string there was no connection to headunit. Is it right or i have to remove this script?
[Paid Software Announcement and Discussion] Emil Borconi:
You are more or less right, however:

1) It is not normal that Wifi Tethering stays turned on after reboot, this is the first device I see which does this as the app should and will work on more then just one device it needs to work consistently.

2) Yes that's right for the USB bit (AAGW will do that for you, I just had a check in place which was looking at the manufactures/board as this is not something which needs to be set on most devices).
[Paid Software Announcement and Discussion] shmykelsa:
Not working for me.

Slave is a LG V10 running Android 7.0 (rooted)

Purchased the app yesterday version 2.0.5 I think. Set it up as system app. Not working then in the car.

Now Updated to 2.0.6, I download the app, install, let it install as system app, google play services gets deactivated (for some reason) but then upon reboot the app is gone.
[Paid Software Announcement and Discussion] Emil Borconi:
And there is one more problem with this. Since the hotspot state remains turned on between boots, that messes everything up. During boot hotspot will be created before the devices finish booting and AAGateway starts up, meanwhile the master detects the Wifi and tries to connect thinking that everything is ready on the slave side, resulting in a nice flat FAIL!
[Paid Software Announcement and Discussion] Emil Borconi:
Google Play services are deactivated by the app (otherwise you have a high chance of defaults being changed back from AA). Fix is coming for app vaishing after update. Till then reinstall the app from XDA labs and don't convert it to system app, since you are on a phone you should be good to use it.
[Paid Software Announcement and Discussion] JohnnyCanuck:
Yes. Tasker to start hotspot on master and to start as head unit server.
[Paid Software Announcement and Discussion] pflarini:
Oh. I got a successful connection! So I turned off the car's dashboard and turned it on again. It didn't work anymore ...
[Paid Software Announcement and Discussion] Emil Borconi:
So the MK809IV it's not a good candidate. Maybe with other ROM flashed to it will be ok, but because this Chinese units look the same from outside but maybe different from the inside, it's really hard to give instructions. The problem with the unit I've just ordered is that it's running Android 7.1 and for some reason the tethering option persists between reboots, therefore the master will connect before the slave had the chance to finish booting and start AAGW.

The only way you can use this stick is if you tether from the master and have the headunit server running on the master, in which case this unit will connect just fine (I need to test the performance as well) will update with findings.
[Paid Software Announcement and Discussion] Marshy33:
Just had a quick play with the VAG version, but same result. :(

Display is showing me fast forwarding, but audio still doesn't match up or randomly cuts out.

Appreciate you trying though!
[Paid Software Announcement and Discussion] Emil Borconi:
[MENTION=7106033]Marshy33[/MENTION] how exactly are you fast forwarding and in what app? I can only skip and get prev in Spotify.
[Paid Software Announcement and Discussion] Emil Borconi:
Running a quick test on the MK809IV, the performance does seem decent, much better then using my Sony Xperia as slave.
[Paid Software Announcement and Discussion] Marshy33:
Apologies when I say fast forward I do mean skip in Spotify.

I have just shared a video to your email. Excuse the music taste lol. But every song playing was not the same song as shown on the head unit.
[Paid Software Announcement and Discussion] Emil Borconi:
Do me a favour, do another test and use the touchscreen to skip the songs instead of the steering wheel buttons.
[Paid Software Announcement and Discussion] Marshy33:
Just tested, exact same results unfortunately
[Paid Software Announcement and Discussion] Emil Borconi:
Ok I just wanted to eliminate the possibility of it being caused by the input. Being a MIB2 unit as far as I know the non-root mode doesn't work properly, better said the splashscreen appears but it's gone in about 10 seconds, right?
[Paid Software Announcement and Discussion] Marshy33:
Yeah spot on.
[Paid Software Announcement and Discussion] JohnnyCanuck:
So, using 2.06 on my morning commute I had literally perfect performance for 10 minutes. No audio dropouts, responsive to skip/prev, etc. Then .... a complete shutdown. Not sure what caused it but unplugging the slave and connecting it again had no effect. Had to force stop AA on the master and then just finished my drive with wired AA. Will try again this afternoon.

Emil, I am still unable to get WiFi for HUR to work. I can only get this to work manually running hotspot/AA server. Any suggestions? (master is a Samsung Note 10).