yashsingh1/xdaforums huggingface dataset:
[Paid Software Announcement and Discussion] morpho26:
Amazing, thanks for the instructions. Now i‘m really far as i was never been before. I’m able to get connection with Slave as Hotspot.

The only issue is that i have no Data Connection although on Master is set the „Always Mobile Data On“ Option engaged.
[Paid Software Announcement and Discussion] lahuze:
I'm getting a similar situation where the AA is appearing momentarily on my head unit. For the WLAN setting, is it only visible for Samsung/Android 10 devices? I couldn't find it on my OnePlus 3T running Pie.
[Paid Software Announcement and Discussion] schlotboeller:
I only use GoogleMaps with "always use mobile Data". works fine.

Under Settings/DataUsage/Apps that always use Mobile Data (my translation of german language OS)
[Paid Software Announcement and Discussion] martin.armstrong:
On my master phone, Asus ZenFone 6 with Android 10, I have set the options for mobile data always on and auto-switching to mobile data (this second one seems to be only on my Android 10 phone and not on my Android 9 phone).

Nevertheless, when the master phone switches from the home WiFi connection direct to the slave hotspot, I do not then have a mobile internet connection.

If, however, I switch off the master WiFi it switches to the mobile internet connection. When I then switch on the WiFi again, it connects straightaway to the slave hotspot as it has a stronger signal because it is nearer the master and afterwards the master still has a mobile data connection.

I think this is either a problem with my phone or with Android 10 because the automatic switching to mobile data does not happen when switching directly from one WiFi connection with internet to another one without internet.

To sum up, once the slave hotspot is active, if you toggle the master WiFi you should then always afterwards have a mobile data connection on the master.

This toggling could be incorporated in your automation app if you are using one instead of WiFi launcher. I am trying it out with Macrodroid at the moment, which seems to work more reliably for detecting a connection to the slave hotspot.
[Paid Software Announcement and Discussion] schlotboeller:
Maybe only with an active connection, tested it with Android 9. Tab on active WLAN connection.
[Paid Software Announcement and Discussion] lifewandy:
This is amazing advice. I did not know that and you can save time by not starting the AA headunit server every time.
[Paid Software Announcement and Discussion] supercomplexx:
Pixel 3 not rooted Master, Galaxy S9 not rooted Slave, 2020 Chevy Suburban head unit

Firstly, I'd like to thank the OP for this development.

I'm having trouble getting this to work, although I think I may be close.

Pixel 3 not rooted Master, Galaxy S9 not rooted Slave, 2020 Chevy Suburban factory head unit with Chevrolet MyLink

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: (Not sure)

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, so I turned on manually)

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, I believe so)

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

Did the AA icon appeared on the master at all (in the notification bar)?: (Yes, eventually after enabling the slaves hotspot I believe)

Still not sure if WifiDirect should be enabled in the WifiLauncher.

The headunit is recognizing that android auto device slave is connected via usb cable, but when I touch the AA icon on the head unit it says, "Connecting to Android Auto Device , check device for messages" and there are no messages on the slave tethered device.

Before attempting this, I did setup the slave device with android auto with the headunit to make sure it worked directly under normal connection.

Any help would be greatly appreciated as having this work wirelessly would be very helpful as I'm in and out of the car A LOT every day. Open to suggestions or other options as well (alternate methods, rooting, etc.)

Am I making a mistake by having AA installed on the Slave ?
[Paid Software Announcement and Discussion] Starky09:
Where did you buy MK809 V? 99 percent of the devices I found in online shops are MK809 IV...
[Paid Software Announcement and Discussion] schlotboeller:
I bought the stick by amaz....

The Stick is labeld as MK809V, although I bought is as MK809 IV. Don't know if it is really a Mk809V.
[Paid Software Announcement and Discussion] LLStarks:
Link?

This device is such a mystery. Sometimes it's IV, sometimes it's V. Sometimes it's Rockhip, sometimes it's Amlogic. Some are 4.4, some are 5.1, and some are 7.1 (no good).

No idea what I need or where to buy. Ebay is the only decent place selling them outside of China. Even for the US sellers, I need some coaxing to trust Ali Express.

https://www.aliexpress.com/item/32876402930.html

I wouldn't be surprised if the V models are rebadged III models.
[Paid Software Announcement and Discussion] schlotboeller:
I wouldn't buy a stick before you get a running configuration with a phone as slave. It's so much easier to test with a phone as slave. Today the only link in amazon is

https://www.amazon.de/Mini-MK809-IV...E=ÅMÅŽÕÑ&keywords=mk809&qid=1581136934&sr=8-1

expensive! I got the "same" stick for 25,77€.
[Paid Software Announcement and Discussion] shmykelsa:
If there was the possibility to roll back in version I would definitely go back.

AAGateway 2.0.8 on Android 7.0 Slave.

Master with Android 10 with no Wifi Launcher

The only way I can get Android Auto wireless is with master connecting to the hotspot of the master (weird, huh?)

But then the WiFi on the slave would go crazy. It stays on for like 5 minutes (optimistically, sometimes it would just refuse to work), but then it starts going off and on, even if the slave is set to NOT enable the thethering and the SSID is correctly set to the one created by the master. It should just stay connected, for logic.

Again this is really unconventional but it's the only way I can make it work, the other way round won't work at all.

And moreover, if I plug my slave to any power source, I basically can't use my WiFi at all (what if I have to update an app?) because AAGateway would just break it.

I just realized then that my phone won't have any USB mode unless it's connected to my master's hotspot, making it even worse because I basically can't plug it into my PC unless I turn on the tethering on my phone, but then as soon as it connects the WiFi would just go crazy.

So I'm curious to roll back because maybe in older versions the WiFi is not so broken.
[Paid Software Announcement and Discussion] morpho26:
So, i think it works now for me!!!

Have to wait for the reliability, now.

For me it was important to get Case 1 working.

Case 3 was ok for testing, trouble Shooting.... but was for me not a permanent solution. Because itˋs very uncomfortable. Use of Tasker to Start Auto Headunit Server wasnˋt really helpfull due to the fact that the Master was secured with Fingerprint and FaceID for G Pay.

For Case 1, i tried several Phones as Slave:

Huawei P20 lite,

Samsung Galaxy A5, … Samsung A3 2016, … Samsung A3 2015

Nexus 5, … Galaxy Tab4 7 inch.

Tested Roms was Lineageos from 12 till 16 Version, RRemix..... At least i was able to get it working with most of the enumerated devices, the Roms didn’t care. Its only a matter of taste.

And Guys, many many Hours of Testing.

The Best Result i have with the Galaxy A3 2015 (a3ulte) with lineage os 16. AAGateway Version 2.08

The Advantage of version 16 (Android 9) is that AAgateway don't prefill PSK Password for you. So i configured manually a Hotspot without the Need of a Hotspot Password. I figured out that without a encrypted Hotspot, the Audio drops do not appear.

Other Thing is that Wifi Launcher did not work for me. So i send always the Intent via Macrodroid (Macro downloaded from Marshy33, at this point thank you very much Marshy33).

Now one thing you won‘t like: i rolled back from Android 10 to version 9 on Master Phone (Samsung Note 10).

And after then it works charm. Now Every device works flawless for me, with Pie on Master.

Summarized:

Car:

Opel Insignia B 2018

Slave Case 1

- Galaxy A3 2015 (a3ulte)

- Lineageos 16

- Aagateway 2.08 (2.04 - 2.06 works also)

- Rooted with Magisk 20.3

- no GAPS

- Hotspot (HUR) configured manually without PSK Key.

Master

- Galaxy Note 10

- Stock Rom Android 9

- Not Rooted

- Macro droid : Soon as connected to Slave, via Shell get the ip Gateway and send then the Intend to AA

- no Wifi Launcher, means BT is minor.

Before you connect to the Car, delete every recognized connection in your Car that you had before and wait until your car shows you a new device, in my case it shows „add device“.

So now at least, for all who have issues with „mobile Data“. I have also no more of these Problems after Downgraded to Android 9. It’s even turned off in WLAN Settings „switch to mobile Data“ .

I have only in Master Developers Setting ticked „Mobile Data always On“

Remember these Settings worked for me. There is no Warranty.
[Paid Software Announcement and Discussion] Marshy33:
Glad you have got it working successfully. I also downgraded my master from android 10 to 9.

I noticed on android 10 it would not always connect to the HUR network from the slave when using case 1/2. It's like it would remember the network had no internet connection therefore no longer connect.

Android 9 would always connect when the network was available, regardless if there was an internet connection or not.

The best set up I have found is android 9 AOSP ROM on master, and then rooted android 9 on slave. Then using case 1 with the tasker / macrodriod task to send intent / launch AA wirelessly instead of WiFi launcher or use case 3 with the AA headunit server.

Unfortunately I still have audio issues with Spotify as soon I use any navigation with voice guidence, but have learnt this must be an issue with my headunit.
[Paid Software Announcement and Discussion] Marshy33:
For anyone looking for a mk809v. I have just received the following in 10 days to the UK.

https://a.aliexpress.com/_TuSR3

Correct model, on android 5.1. (even though the description stated mk809IV)
[Paid Software Announcement and Discussion] lifewandy:
Can you share your Tasker profile?
[Paid Software Announcement and Discussion] pflarini:
Problems after upgrade to Android 10

I just upgraded my Galaxy S9 to Android 10 and now, I can't use tethering from slave, because master does not switch to mobile data anymore...

I still have a connection between two phone, but master loose internet capability.

Any one has a solution for this?
[Paid Software Announcement and Discussion] martin.armstrong:
Try this, it works for me: once the slave hotspot is active, if you toggle the master WiFi you should then always afterwards have a mobile data connection.
[Paid Software Announcement and Discussion] pflarini:
This does not work for me. Its keep showing both icons? WIFI with exclamation and 4G?
[Paid Software Announcement and Discussion] h3lixir:
Hi everyone,

I'm trying to run a root Slave MK809IV stick TV Android 4.4.4 RK3128.

The software installation (beta 2.0.8) is done correctly on the key (with reboot at the end), however when it starts it goes directly into HUR hotspot mode which has the consequence to cut the wifi, the slave can't connect to the master hotspot.

Do you have an idea, either the configuration or my hardware is not correct.

My master phone is an Honor 20 pro Android 9 (non Root).

The vehicle is a Skoda Superb 3 with an Amundsen MIB2 like many VW's

Thank you in advance
[Paid Software Announcement and Discussion] Marshy33:
If the slave is connecting to the masters hotspot, make sure you have start tethering disabled in AAgateway on the slave, and have selected the masters hotspot.
[Paid Software Announcement and Discussion] martin.armstrong:
I presume you have set the options for 'mobile data always on' and 'auto-switching to mobile data' This second one seems strangely to be only on my Asus Android 10 phone and not on my Motorola one Android 9 phone (it appears when I do a search of 'settings' but when I tap on it to view it, it does not appear!).

With my Android 10 phone and my android 9 phone (which I use normally as slave with AAGateway) I only have mobile data when the phone switches directly from using mobile data to connecting to the hotspot.

You should test it in isolation by going somewhere where you are out of range of a WiFi which you have authorisation for, or at home after telling phone to forget your home WiFi password, display the list of WiFi networks and toggle WiFi using quick settings, then quickly swipe away the quick settings display and check that it just switches directly to it and not to some other WiFi beforehand.
[Paid Software Announcement and Discussion] Marshy33:
https://drive.google.com/file/d/110B-VoszfW6KgRSjIeWPSOPBpozLEwCW/view?usp=drivesdk

That's the link to the macrodriod profile, I don't have it for tasker.
[Paid Software Announcement and Discussion] pflarini:
I started a issue in Google Issue Tracker. Anybody can help starring this?

https://issuetracker.google.com/issues/149275018

Thanks.
[Paid Software Announcement and Discussion] chalomail:
Does this work with Mazda

Hi. Do you know if this trick works on the Mazda Connect Android Auto that comes with Mazda Vehicles?
[Paid Software Announcement and Discussion] Emil Borconi:
Hi guys.

Just some quick updates, I'm just over now with 2 weeks of bloody flu, which knocked me off, so I hardly did any work at all in the last 2 weeks, meaning I'm more behind than I was hoping to be at this stage. My Orange Pi still haven't arrived :( the tracking shows last activity at 21st of January leaving China, and nothing after that.

On the linux front, there where progress made but there are new obstacles there as well regarding USB gadget mode, [MENTION=407678]Snirpo[/MENTION] is working on them but he also had a couple of busy weeks.

I'll update you as soon as I have more information.
[Paid Software Announcement and Discussion] Mayki07:
Hi, I would like to try it on my old Xperia V, which has Android 4.1. But I can't pay for the app through XDA Labs, so I can't even download and install it. Is there any other way to pay and download the app? Perhaps through another cell phone and then transfer it to old Xperia? Thank you for your help.
[Paid Software Announcement and Discussion] jimsey:
Buy it on your main phone, as long as your old xperia is logged into xda, you'll then be able to download it without paying again :)
[Paid Software Announcement and Discussion] Mayki07:
Thank you for your advice, I have already installed, I'm going to try ...
[Paid Software Announcement and Discussion] loveall27:
I think I made some progress, now at least I am getting AA enabled icon on my car's head unit. I have Mi A1 rooted running android 9 as a slave, Master is Galaxy S10 running Android 10. The car is Kia 2019. When I connect the slave to the master and turn on the car I do get an Android auto-enabled icon on the Car's head unit but then at that second wifi on the slave will turn off and AA gateway on the slave will also stop or cash. Any suggestions on how to fix this?
[Paid Software Announcement and Discussion] martin.armstrong:
Try setting the toggle in AAGateway which specifies the slave is a TV stick. I have some sort of problem with the usb on the car, whereby the power cuts off sometimes before the initial AA connection happens and with this toggle set the slave WiFi or hotspot just turns off for about a second and then turns back on again, otherwise it is turned off but is never turned back on again. The automated turning off and on of the slave WiFi/hotspot when leaving or returning to the car will then of course not happen but it might help you to at least get AA working.
[Paid Software Announcement and Discussion] bradwatson:
I've spent more time trying to get this to work than I care to admit. No matter what I try or how many times I try it out just won't work for me. My car unit is the Sony XAV-AX5000. I've tried different masters - Pixel 2XL and now Pixel 4XL. I've tried different slaves - Nexus 7 2013, Moto X Pure, and just today Pixel 2XL.

So current setup would be Pixel 2XL slave and Pixel 4XL master - both unrooted.

I just don't understand... I'm Android and tech savvy, but for whatever reason this just refuses to work for me.
[Paid Software Announcement and Discussion] Marshy33:
Initially had no luck until Emil gave me these steps to try....

With slave unplugged from car.

Install aagateway on slave. Within the app ensure tethering is turned off, and the hotspot of master is selected (also Bluetooth of master if non root)

Remove WiFi launcher from master.

Start AA headunit server on master.

Turn on hotspot on master.

Connect slave to masters hotspot.

Turn car engine on and plug in slave. Hopefully AA will boot successfully.

(Alternatively have the slave plugged in throughout but with engine off and once headunit server is on, on the master and slave is connected to masters hotspot, then turn engine on)

Also some headunits will only work with a rooted slave.
[Paid Software Announcement and Discussion] pflarini:
I had thousands of problems with aagw. At end, I give up aagw at all.

I installed Android Auto in slave and connected it to master hotspot.

If you don't care about messages (whatsapp, viber, etc..) everything else will work (maps, spotify, google assistant..)
[Paid Software Announcement and Discussion] JohnnyCanuck:
[MENTION=10409579]skatermike21988[/MENTION] [MENTION=7106033]Marshy33[/MENTION] I've been playing around with your send intent in both Tasker and Macrodroid and am running into a problem. It launches AA but only for a second and then it instantly closes. Doesn't matter whether it's connect to my slave hotspot or not. It's not IP related. I am able to set a static IP for my Master (on my Master, tap on the HUR network settings icon, click advanced, change IP settings from DHCP to Static).

Send Intent Task:

A1: Send Intent
Action:com.google.android.projection.gearhead.START_WIRELESS_PROJECTION
Cat:Default Mime Type:
Extra:PARAM_HOST_ADDRESS:192.168.43.67
Extra:PARAM_SERVICE_PORT:5288
Package:com.google.android.projection.gearhead
Class:com.google.android.apps.auto.wireless.setup.service.impl.WirelessStartupActivity Target:Activity Continue Task After Error:eek:n

Any ideas?
[Paid Software Announcement and Discussion] Marshy33:
If it's launching and the IP is correct I don't see an issue with the send intent.

When the slave is connected and the headunit is on, make sure notification states headunit server (or similar) and not aagateway listener. I have had it before where it states aagateway listener and I have had to unplug and plug the slave back in. When it does say headunit server and the master is connected to it's hotspot then send the intent.

Also try a different usb cable, that caught me out for a while. I was using a cheap thin one which initially worked, but then stopped. I probably lost a good few hours because of that [emoji2357]
[Paid Software Announcement and Discussion] JohnnyCanuck:
I've had pretty good success using my master as a hotspot but can't entirely get rid of dropouts so I am trying to flip to using the slave as the hotspot (to remove encryption ... I am very reluctant to have an open hotpsot on my master). I'm using the same cable so it shouldn't be the problem (but I will try a different one). Have not looked at the notification, but have plugged/unplugged repeatedly.
[Paid Software Announcement and Discussion] bradwatson:
Can you explain a little bit more about what you are using? I can't determine if this is just a separate app or something different entirely?
[Paid Software Announcement and Discussion] pflarini:
Hi bradwatson, I'm using nothing special.

Slave:

Installed vanilla Android Auto and all other software that will use with it.

Master:

Create a hotspot that starts when connect to car's bluetooth.

Configure slave to connect to the master hotspot.

That's all.

just one tip: normally Android Auto force car to connect to bluetooth where Android Auto is installed. This will be a problem to receive a call, for example.

But you can fix that, using a app like "root app deleter" and remove bluetooth system apps from slave. (must be rooted).

Like I said, text messaging will not work at all, because it's in your master phone and Android Auto is in slave. But it's a very reliable solution because it's a normal wired Android Auto...
[Paid Software Announcement and Discussion] NYZack:
Sorry if this is too basic, but are you sure you're sending the IP address of the slave (gateway of the hotspot)? On later versions of Android, this changes every time you restart the hotspot and can't be set by a static IP address on the master (which is the hotspot client, not the gateway). In my situation, I had to write a Tasker task to look up the gateway address each time.

---------- Post added at 03:24 AM ---------- Previous post was at 03:19 AM ----------

Others have posted similar routines. This is mine to obtain the active wifi network (WINAME) and gateway address (GIP):

Get Gateway (61)

A1: Java Function [ Return:wiman Class Or Object:CONTEXT Function:getSystemService

{Object} (String) Param:"wifi" Param: Param: Param: Param: Param: Param: ]

A2: Java Function [ Return:%dhcp Class Or Object:wiman Function:getDhcpInfo

{Object} Param: Param: Param: Param: Param: Param: Param: ]

A3: Java Function [ Return:%conn Class Or Object:wiman Function:getConnectionInfo

{Object} Param: Param: Param: Param: Param: Param: Param: ]

A4: Variable Split [ Name:%conn Splitter:SID: Delete Base:eek:ff ]

A5: Variable Split [ Name:%conn2 Splitter:, Delete Base:eek:ff ]

A6: Variable Section [ Name:%conn21 From:2 Length:4 Adapt To Fit:eek:n Store Result In:%WINAME ]

A7: Variable Split [ Name:%dhcp Splitter:gateway Delete Base:eek:ff ]

A8: Variable Split [ Name:%dhcp2 Splitter: Delete Base:eek:ff ]

A9: Variable Set [ Name:%GIP To:%dhcp22 Recurse Variables:eek:ff Do Maths:eek:ff Append:eek:ff Max Rounding Digits:3 ]

Well that came out terribly. PM me if you want the XML.
[Paid Software Announcement and Discussion] JohnnyCanuck:
Oh crap, I think the penny just dropped. It's not the IP of the master I need but the IP of the slave? XML would be really helpful.
[Paid Software Announcement and Discussion] NYZack:
I PM'ed it to you. Also, I wouldn't set a static IP address on the master unless you're sure that the gateway IP doesn't change. You can't enter a static address unless you know the gateway address, I believe, and entering the wrong one will prevent the set-up from working.
[Paid Software Announcement and Discussion] JohnnyCanuck:
Thanks ... I'll play with it tomorrow.
[Paid Software Announcement and Discussion] JohnnyCanuck:
So, now that I've fixed my mistake with the IP address versus the Gateway, I am still getting the same issue (AA starts and then stops two seconds later). The toast notification for AAGateway is changing on USB connection, so that's not the issue.

I've tried the following:

AA Gateway has my Master BT MAC set properly

AA Gateway not set to start tethering (manually starting hotspot)

Then tried it with Start Tethering enabled

On my master ran Tasker task both with and without Head Unit Server running ... same two second toast for AA and then it closes

Any thoughts?
[Paid Software Announcement and Discussion] skatermike21988:
Check your bluetooth profile and make sure only handsfree/calls is enabled for your masters connection to the car. That was the problem with mine doing the same thing with aa opening briefly and closing.
[Paid Software Announcement and Discussion] JohnnyCanuck:
Thanks ... I'll give that a try.
[Paid Software Announcement and Discussion] Kevieboy:
Hi, so am I correct in understanding the Master phone does NOT need to be rooted? Also, is auto-connection possible as soon as the head unit is powered on and the Master is in range?