yashsingh1/xdaforums huggingface dataset:
[Paid Software Announcement and Discussion] martin.armstrong:
Having disabled Google play services on my rooted motorola one slave, I have managed to get version 2.0.6 working in both modes with my Audi, ie. master and slave providing the hotspot.

1. master providing the hotspot:

With this setup, once the AA connection has been established, if the slave is subsequently disconnected from the car and then re-connected, the AA connection will not be automatically re-established, and toggling the master bluetooth does not restore it. The only way to restore the AA connection is to disconnect the slave phone from the car (to ensure that the slave gets disconnected from the car's power, as with my car and seemingly others, the power to the slave will not necessarily be immediately be cut when the car is locked), turn off the car ignition, lock the car, unlock it again, re-connect the slave to the car and turn on the car ignition again, ie. simulating leaving the car and returning later.

2. slave providing the hotspot:

With this setup, once the AA connection has been established, if the slave is subsequently disconnected from the car and then re-connected , the AA connection can be re-established if the master bluetooth is toggled.

With this second case I have an additional problem in that although I have set the following things in the settings of my master phone (Asus Zenfone 6), the master only sometimes has an internet connection and restarting the phone does not correct this problem, and I have not found a way of ensuring I have one. Without one, nothing much can be done in AA! All you can do is navigate using google maps in your area where google Maps has already downloaded the map but without traffic info:

mobile data always active

Always keep mobile data active, even when wi-fi is active, (for fast network switching)

Switch to mobile data automatically

Use mobile data when wi-fi has no internet access. Data usage charges may apply.

I have not found any other settings which might be relevant. Anyone got any ideas?
[Paid Software Announcement and Discussion] jimsey:
Sorry Not sure about the data issue , but you've figured out same as me, the previous version worked well except when the car was turned off for just a minute or 2, eg when filling up with fuel, then it requires full restart of the slave. If leaving the car off for say 10 mins or more, aagateway worked fine next time the car was started.
[Paid Software Announcement and Discussion] mellda:
I tried that but not working. The mobile data is active but the internet connection is still expected from wifi. That's why I can't connect to the internet. I have no idea how to get it working. The only solution is to use the hotspot on master and connect the slave to the master but when the master is disconnected (e.g. when I temporarily leave the car) it is not possible to connect the AA again. I must reconnect the slave's USB.
[Paid Software Announcement and Discussion] schlotboeller:
Hope this addresses your problem.

On my master (samsung s10, Android 10) i have a setting to select app(s) that use always mobile data.

under Settings/Connections/Data usage
[Paid Software Announcement and Discussion] NYZack:
I have had problems keeping mobile data connected when the slave provides the hotspot, but it's inconsistent. The things that seem to cause the problem are possibly when I'm already connected to another WiFi network before switching to HUR, or when the Wifi Launcher connects me rather than having the phone connect spontaneously. Is it possible the Wifi Launcher connects using a parameter that specifies that Internet is expected on the wifi connection (just speculating)?
[Paid Software Announcement and Discussion] morpho26:
yes, a little bit. the problem is that these selelected Apps will use always mobile data.
[Paid Software Announcement and Discussion] aalecs32:
I checked and the car diaconnects the USB. I also tried by unplugging the slave before leaving the car and then replug when re entering, it connects and works for about 10 seconds and then it disconnects.
[Paid Software Announcement and Discussion] Golubev:
Try to Settings -> General management -> Reset -> Reset network settings. It looks strange, but after that I got a mobile data transfer when connected to HUR AP
[Paid Software Announcement and Discussion] schlotboeller:
I use google maps only while driving (work/home 1,5h), and I use ca. 300 MB per month.
[Paid Software Announcement and Discussion] martin.armstrong:
[MENTION=842765]Emil Borconi[/MENTION]

I tried to install 2.0.6 on my MK809V stick but when I made it a system app, which one has to do for tv sticks, the app had dissppeared after a re-boot (still not there aftet 2 re-boots)

---------- Post added at 08:19 AM ---------- Previous post was at 08:15 AM ----------

It could be a problem for apps like spotify or Tunein if you use them at home because then they are also only using mobile data.
[Paid Software Announcement and Discussion] martin.armstrong:
I tried resetting the network connections but that seemed to have had no effect, except as expected, I lost all my wifi passwords and bluetooth pairings and also I had to restore various other settings back to where they were before I did the reset.

What seems to me to be the case is that when I allow wifi launcher to initiate the hotspot connection then afterwards there is no mobile data available so the master has no internet.

If however I leave the car ignition off but connect the usb of the slave to the car, assuming the power is on to the usb socket which in my case is normally the case when I first unlock the car, and either let the master automatically connect to the slave hotspot or manually select the slave hotspot then the master has mobile data activated and thus has an internet connection. This remains so, when I get an AA connection after I turn on the car ignition.

So I think your question, basically to [MENTION=842765]Emil Borconi[/MENTION], asking what type of connection he initiates is a valid one because it seems to result in a lack of an internet connection on the master.
[Paid Software Announcement and Discussion] mellda:
Wow! You are right. It helped. I will test it for a longer time but after the reset, I could connect to the AA and use internet. Thx.
[Paid Software Announcement and Discussion] pxperiano:
I'm looking for a MK809V stick but I can't find it online (I live in Italy), where can I buy it? I've found only the new version, MK809V 4k Android 4.4.4, is it ok? Or should I go for MK809IV Rockchip RK3229 with Android 5.1.1 ?
[Paid Software Announcement and Discussion] IlD4nX:
Wow, this solved some issue I had ! Thank you sir!
[Paid Software Announcement and Discussion] jimsey:
I got my 809v on Ali Express for £15, it's worked well with most versions of aagateway,

The others should be ok, older versions of android are recommended, I think the one Emil uses to test is android 5.1.
[Paid Software Announcement and Discussion] pflarini:
Mine MK809IV does not work.

Have you a link of where you bought it?
[Paid Software Announcement and Discussion] kleanphil:
Hi , my results using case 2

Master Samsung S8+ - Android 9

Slave ZTE Blade A520 - Android 7

Head unit Alpine iLX-F309E (Halo 9)

When the car starts all I get is displayed on head unit " to use Android Auto turn off car and follow directions on phone"

When I do AA closes on master.

Hotspot on slave turns off even when set to "Allways on"

Bluetooth tethering between slave and master wont connect unless done manually

Master is running Pie or above and slave is tethering:

Running in root mode: (No)

If running in non-root mode, is the splashscreen visible on the car: (No)

If running in non-root mode, did you set the masters BT inside AAGW app?: (Yes)

Did the slave actually turned on the hotspot on the slave: (No)

On the master did you select the cars BT in the Wifi Launcher app?: (Yes)

When the master connected to the car's BT did the Wifi launcher app started up?: (Yes)

Did the master connected to the slaves hotspot?: (No)

Did the AA icon appeared on the master at all (in the notification bar)?: (Yes) But only if "Automatically Start when car bluetooth is detected " is selected in AA
[Paid Software Announcement and Discussion] schlotboeller:
Hi,

did you ever get a running "situation"?

Only for the first time with a "new" slave device, I have to allow the new slave for andriod auto on my CarHeadunit. I got a message "allow once, allow allways, deactivate".

I tested AAGateway with 4 different slaves, so I have 5 regeisterd/activated Android Auto devices on my CarHeadunit (1 Master, 4 Slaves) with the same names...

When starting for the first connection, i have to switch to the HomeScreen on my CarHeadunit to see this message and have to tab "allow allways".
[Paid Software Announcement and Discussion] kleanphil:
Hi , I just edited my last post to say AA only appears on master if I have selected AA to start with the cars Bluetooth .

Yes when I first connect slave I did select "allow allways" AAGW on slave but the only thing I see on the head unit is " to turn off car and follow directions on phone "
[Paid Software Announcement and Discussion] schlotboeller:
After this i had to do initial steps for AndroidAuto at Master (under save conditions). As i remember it with a little bit "tricky" to do it at the "right" time.

---------- Post added at 07:12 AM ---------- Previous post was at 07:06 AM ----------

Have a look in the AndroidAuto settings "connected cars". in my settings i see 2 cars named honda. look at the setting "allow new cars". i think enable is standard, but ....
[Paid Software Announcement and Discussion] kleanphil:
I will have to try again tomorrow , my car battery is flat from trying too much :(
[Paid Software Announcement and Discussion] jimsey:
#Aliexpress ￡21.04 26%OFF | MK809 V Smart TV 1GB 8GB RK3229 Quad-Core Android 5.1 TV Dongle 4K Mini PC Miracast / DLNA H.265 WiFI

https://a.aliexpress.com/_TvMRz
[Paid Software Announcement and Discussion] martin.armstrong:
A few suggestions/tips.

Bluetooth tethering between master and slave is not used or needed, only wifi tethering.

Switch off "Automatically Start when car bluetooth is detected " in AA.

Ignore message from head unit saying " to use Android Auto turn off car and follow directions on*phone", just if you are driving then stop by side of road for safety reasons and follow instructions on phone.

Before plugging slave into car turn off wifi on slave. When slave plugged into car the slave hotspot will be switched on by AAGateway, also when running in non-rooted mode but I am not sure about that, if not then turn on manually.

If the master does not automatically connect to the slave's hotspot, which can sometimes be the case when you are in range of your home wifi, then select manually on master.

Rooted mode is better because more things happen automatically.
[Paid Software Announcement and Discussion] kleanphil:
Thanx for the help , good to know Bluetooth isn't need , that's one less problem .

When I get this message " to use Android Auto turn off car and follow directions on phone" and turn off the car AA stops running without the chance to use the "Get started " option on AA.

I have "Forgot" my home wifi to ensure there"s no conflict .

Tomorrow when my battery is charged I will try again , if no success I will try rooted slave .

How do I root the slave ?
[Paid Software Announcement and Discussion] borisk0:
Hello Emil, could you advise how to run AAgateway on Orange pi Zero?
[Paid Software Announcement and Discussion] martin.armstrong:
[

I meant stop motion of car, not stop engine or turn off ignition, in order to follow instructions on phone, as naturally if AA is not trying to activate itself, then the instructions on phone might disappear.

Magisk using twrp is good for rooting but be extremely carefull and search in internet for people who have successfully rooted your particular phone
[Paid Software Announcement and Discussion] epsonix:
thanks for link, I just ordered it. now around 6 weeks waiting...

I was not lucky with one local seller, got first one no working (only LED lit on), and replacement (different type/housing) which is completely dead (no even LED lit on) - both looked like used (boxes, bags open etc), so must got to some dodgy seller who tries to get rid of returned goods. resets etc did not help. I hope the one from China will work this time - can't be infinitely paying and waiting for another one to arrive.
[Paid Software Announcement and Discussion] martin.armstrong:
[MENTION=842765]Emil Borconi[/MENTION]

tried to install the VAGTEST version of AAGateway on MK809V stick but also with this version I had the problem of app disappearing once it was made into system app, so no go!
[Paid Software Announcement and Discussion] Zece-88:
Is your master rooted?

Also can you tell version of Android auto, aagateway, WiFi for HUR and maybe settings for good matter?

Thx
[Paid Software Announcement and Discussion] martin.armstrong:
how did you manage to install AAGateway as system app without it disappearing from list of apps/icons?
[Paid Software Announcement and Discussion] NYZack:
On 2.06, the assist button on my steering wheel (which triggers the Google Assistant) doesn't work. It brings up the Google Assistant graphic, but it's not responsive to my voice and doesn't mute the playing audio. This works fine on 2.04.
[Paid Software Announcement and Discussion] martin.armstrong:
[MENTION=842765]Emil Borconi[/MENTION]

in older versions of AAGateway eg. 1.1 and older versions of AA eg 4.0 or whatever, the restrictions in google maps and waze which prevent manual input of destinations when the car was moving, had been deliberately disabled by you.

It is good, in my opinion, to remove such unnecessary restrictions which also prevent a front seat passenger from manually putting in a destination when eg. you are travelling on a motorway so one cannot just stop, and it has been decided to go to another destination, to which one has not navigated to before, and one has had bad experiences with voice input.

I have tried it with the latest version of AAGateway and latest version of AA and found that the restriction is no longer disabled. Is this accidental or caused by the new AA UI for example?
[Paid Software Announcement and Discussion] Golubev:
My master is not rooted (Samsung Galaxy S10+). AA version is 4.9.594934. WiFi launcher for HUR version is 1.5 , Aagateway 2.06.

when I installed the aagateway I rebooted 2 times. And when I installed the new version, I additionally deleted the old one manually from \system\priv-app\ with rootexporer
[Paid Software Announcement and Discussion] Emil Borconi:
I will be back in office tomorrow, will read through the emails, also new build should be available tomorrow, together with some really nice news on the longer feature of this project.
[Paid Software Announcement and Discussion] skatermike21988:
I've yet to be able to get any version of the new builds to work. Old version was spotty but worked. I've tried every case scenario so far with no luck. Except once or twice in which it only worked for about 15 seconds and then nothing.

Slave is Galaxy S7 edge rooted

Master is Galaxy note 8 not rooted

Headunit is a stock 2017 Chevy Cruze mylink

I have slave start/stop hotspot on power via Tasker, this works well and the aagateway starts listening.

Then master connects to car bt and wifi launcher starts up and connects the master to the slaves hotspot. Almost immediately after wifi launcher closes and I'll get a very brief notification from aa saying it's connected to my car then it goes away and nothing happens on headunit.

I've tried slave in root/non root and same result. Master as hotspot and aa headunit server on.

Nonroot mode did display the message waiting for master on the head unit at one point and then stopped and won't come back again. Not sure if I bugged some setting while doing all these tests. But resets on the slave have been to no luck.

Edit: removed aagateway from system app, factory reset slave. After reset I left aagateway in root mode and set up tethering settings. Started tethering (never worked through aagateway, which is why I needed Tasker to do so) then I toggled bt on master, wifi launcher kicked on ran through process of connecting to slave. Aa notification appears and head unit asked to switch to aa, and slave asked for default app. Chose aagateway and always, then slave says connected as USB accessory and master aa notification goes away with nothing happening on head unit. Unplug slave and plug it back in slave goes to charging only with no usb connection as expected for root mode. Toggle bt on master wifi launcher starts it's process and aa notification appears briefly and goes away. All while the slave shows nothing and doesn't switch to usb accessory mode.
[Paid Software Announcement and Discussion] jimsey:
1.3 worked well for me , and the build in early January worked,

The latest build V2.0.6 doesn't work at all for me, not even on the mk809v tv stick. I've rolled back to 1.3 for the time being which works well using my master to create the hotspot.

I'm Sure Emil will sort it, the problem is just too many permutations of cars, phones and android versions. The number of possible combinations must be in the millions :eek:

I'm Hoping Emils news relates to a standard device such as an orange pi or other developer board with good community support. The mk809v is ok but obsolete.

Even better , A plug and play device would have a huge market, There are so many cars with android auto .

Like others here, I love tinkering with it, but it would be better for Emil and us if he could get it perfect with just one cheap device.

After that, an app that we can try with any old phone as slave is just a bonus. :)
[Paid Software Announcement and Discussion] Marshy33:
I initially had a few issues... But this worked pretty much every time...

Slave (Samsung s7 rooted lineageos 16)...

Root mode. Start tethering.

Turn ignition on, make sure hotspot turns on and slave notification has changed to headunit reloaded and no longer showing aagateway listener. Not sure if this needs to happen, but it's what I noticed when testing. (If it doesn't change to headunit reloaded and/or the hotspot doesn't start, sometime I would have to pull the usb and plug back in until it did, or reset the slave. I had macrodroid macro to ensure 99% of the time I would connect successfully.)

Master (Xiaomi Mi8 rooted with Aosp build, so I can be connected to HUR hotspot and still use mobile data, as this does not work on Miui)...

Bluetooth is currently off. Wait for master to connect HUR hotspot from slave. Once connected, turn Bluetooth on. This initiates WiFi launcher once connected to cars Bluetooth and I successfully connect. (I changed this to a macrodroid macro to automate the above)

Slave Macros...

On power disconnect, reboot. This massively increased the chances of a successful connection next time I got in the car.

On power connected. If hotspot didn't start within 10 seconds. Disable and then re-enable usb, try this 2 times, and if hotspot still didn't start, reboot.

Master macros...

On connection of HUR hotspot, turn on Bluetooth.

On disconnection of HUR hotspot, turn off Bluetooth.

With this set up I would connect pretty much everytime, but this would be phone / headunit specific, but it worked for me.

Unfortunately due to audio issues with Spotify. I have parked this for the time being, but the above set up may help others.
[Paid Software Announcement and Discussion] mellda:
Could you post the link to order the MK809?
[Paid Software Announcement and Discussion] skatermike21988:
Thanks for the tip on the aagateway to headunit reloaded notification. That has helped some. Still unable to get it to work with wifi launcher but using Tasker I've been able to get some progress. And get aa on the head unit. Seams to be hit or miss on getting it to show on screen. Atleast with Tasker I get the slave to go into usb accessory mode whereas I had a very difficult time with wifi launcher getting there.
[Paid Software Announcement and Discussion] Marshy33:
Glad it helped. I also don't use the WiFi launcher app either as it wouldn't always start up for me and use a macro instead, but didn't want to over complicate the above write up.
[Paid Software Announcement and Discussion] martin.armstrong:
just tried that twice, still did not work! will have to wait for Emil.
[Paid Software Announcement and Discussion] skatermike21988:
Seems I might have finally got a working solution. After getting the brief connection earlier and then nothing I bit the bullet and factory reset my master. I then set it up using nothing but a manual tasker task and I've had success. Did 2 drives today of an hour each with little issue. Some slight audio hiccups but nothing major. I've set the manual task now to run in this order automatically, will test it tomorrow but should work.

Slave:

Aagateway: Root mode on.

Taker: Gets power -> turn on hotspot. Happens before car starts as my car starts sending power through the USB when I open the door.

Power lost -> turn off hotspot

Master:

Tasker: on bluetooth connect-> force connect to slave hotspot

On hotspot connect -> send the intent to android auto

This should work as performing these manually in that order and then running the tasker task to send the intent worked a charm when running it manually.
[Paid Software Announcement and Discussion] smoki3:
[MENTION=842765]Emil Borconi[/MENTION]

On 2.06 audio delay seems to be better for me. But Google Assistant is still not working. Looks like the mic is not working. But in calls it is
[Paid Software Announcement and Discussion] charles8814:
Could you let me know which case do you use?
[Paid Software Announcement and Discussion] Emil Borconi:
I have skim read trough the last couple of days of comments, many of the problems seems to be related to the huge variate of possible combination factors.

Some are related to AAGW being gone after update (that I should be able to fix today).

Now the GOOD news. I discovered that someone else is also working on this project (and has much better coding skills then myself), but from a totally different angle and using Linux instead of Android. He is a few steps ahead of me in some way, for example he did reverse engineer the whole BT handshake protocol and ha can initiate AA from the slave device, without the need of anything on the master (master needs to be Pie and above), but he is lacking some experience and knowledge which I posses.

We had a discussion and we decided that we are going to join the forces to make this into a product (physical one) and take this project to kickstarter, we will be working on 2 different angels for time being (Linux and Android) to come up with a prototype hardware, then assuming the kickstart project can hit it's target we will do deeper testing on which way to go down, Linux or Android (which can work universally, or maybe we will need to end up with 2 products based on the car/headunit as not all behaves the same).

We also decided that after the kicstarter project whatever we manage to hit the goal and turn it into a success or fail to do so, we will both open the apps and have them open sourced.

While this might not be something tangible today, the status of the development on both Linux and Android suggest that prototypes for both Linux and Android as well as the kickstart project should be available in 1-2 month. Timeline from there it's difficult to predict because neither myself, neither him have ever done a kickstart project so we are not sure at how that all will work out.
[Paid Software Announcement and Discussion] Marshy33:
Great news! This will 100% have my support.
[Paid Software Announcement and Discussion] vegeta340:
Hi Emil,

this is a fantastic idea, I am totally in, i hope you will be able to send one to Poland. ;) I think that your product will be very popular! Good luck for you both!
[Paid Software Announcement and Discussion] pflarini:
That´s the way! We´ll be looking forward to it.
[Paid Software Announcement and Discussion] naqand:
Awesome! This is definitely going to be the first kickstarter I back. :)