yashsingh1/xdaforums huggingface dataset:
[Paid Software Announcement and Discussion] brooc:
I had it and then I uninstalled it as the troubleshooting guide suggests to try it out with no automation.

I'll try again with it installed and report back.

---------- Post added at 07:37 AM ---------- Previous post was at 06:58 AM ----------

As it turns out I hadn't uninstalled it. It's just flakey and doesn't always run. In any case I flipped it now so that the slave is tethering and the master is trying to connect to it's hotspot. All BT devices look right.

The master is connected to the HUR network of the slave. WiFi launcher is saying running.

It isn't working. I tried with the head unit server manually turned on and off.

This doesn't seem to work for me.

One thing to note is that in the car the screen displays this message after the slave successfully connects:

"Please check if confirmation is required on the mobile device.

Please note: For your safety, do not operate the mobile device while driving."

Any ideas?
[Paid Software Announcement and Discussion] NYZack:
It sounds like Android Auto is connecting, but you have to confirm on your (master) phone. Do you have "Add New Cars" enabled in Android Auto settings (under Connected Cars)?
[Paid Software Announcement and Discussion] brooc:
I just checked and I do.

I'll turn it off and try again.
[Paid Software Announcement and Discussion] brooc:
With it on or off it makes no difference.

BTW, the notice on the head unit shows up regardless of the master. It happens when I connect the slave and it eatablishes a connection to the car.

I now uninstalled Android Auto just to make sure it isn't interfering and the message still shows up.

Is this related to my phone not being rooted?
[Paid Software Announcement and Discussion] mrmrmrmr:
Hi,

After several unsuccessful attempts with a TV stick, I decided to use an old S4 mini phone as the AA slave device.

But now, I wonder, how will I make the phone turn on automatically when I get into the car (or start the engine) ?
[Paid Software Announcement and Discussion] Marshy33:
Just use tasker or macrodriod to turn on aeroplane mode and battery saver when power is disconnected. I do this with my s7 as a slave and yet to run out of battery.
[Paid Software Announcement and Discussion] mrmrmrmr:
good idea.

will it last 4-5 days if I use it on my old Galaxy S4 mini ?
[Paid Software Announcement and Discussion] Marshy33:
It's possible, the longest I have left mine was 3 days, and it still worked. I didn't check what percentage it was on though, as it's tucked away.
[Paid Software Announcement and Discussion] pflarini:
Are you using the MK809V ?

I'm using this stick and it´s working all times. But it is very slow.
[Paid Software Announcement and Discussion] mrmrmrmr:
I am using a newer model. But the problem is with powering it on.

It does not power on , or goes into boot loop. At home it works, but then when I pug it in the car, it fails to boot.

Maybe I should take a monitor to the car and see what happens.
[Paid Software Announcement and Discussion] pflarini:
Looks like a power issue. Maybe your car is not supplying enough power for it. A monitor will help you in this case.
[Paid Software Announcement and Discussion] mrmrmrmr:
My galaxy S4 mini plan did not work.

Car does not see Android Auto.

My full scenario is:

- Master device : Samsung Note10+ (not rooted) - Android 10

- Slave device : Samsung S4 mini (rooted) - Android 9

So, according to the instructions:

1. I installed AAgateway on the slave (S4 mini)

2. Enabled the start tethering option

3. manually configured hotspot, name HUR password AndroidAutoConnect

4. connected to this hotspot from my master device, while it is already connected to 4G data

5. App prompted to convert itself to a system app, and asked to reboot the device - DONE

6. installed wifi launcher

7. selected car's BT device

8. connected slave device to car's USB

9. it asked me to choose from AA or AAgateway

10. selected AAgateway and "always"

11. started AA on the master device and started headunit server from settings (is this a required step ?)

car does not see Android Auto connected.

Btw, my master device was previously connected to the same car with Android Auto (wired)

And I also have a 3rd part app named ODB2AA on my master device. That's for using Torque app on Android Auto screen.

And when I connect wired with the master device, I use the ODB2AA instead of Android Auto.

Could that be affecting the wireless connection ?

Master is running Pie or above and slave is tethering:

Running in root mode: Yes (slave)

If running in non-root mode, is the splashscreen visible on the car: n/a - root

If running in non-root mode, did you set the masters BT inside AAGW app?: n/a - root

Did the slave actually turned on the hotspot on the slave: yes

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?: yes

Did the AA icon appeared on the master at all (in the notification bar)?: yes

AA runs on master but does not connect to car.
[Paid Software Announcement and Discussion] mrmrmrmr:
as I didn't get an answer to my previous question, I decided to try another TV stick.

This one is a X96S with Android 9

It seems that the OS is rooted.

But when AAgateway app launch, it asks to move it to system app folder. Then it fails.

Should I move it to system app , or is it not so important ?
[Paid Software Announcement and Discussion] Dopewaffles:
This is very badass man. I'm going to give this a shot even though it's a couple years old. I appreciate the release man, hoping your still making new Android Auto apps!
[Paid Software Announcement and Discussion] pflarini:
Move to system app is important to a stick, because doing so, android does not ask you to choose from android auto or aagateway when connected to a car.

Try a search for x96 in this forum, I remember something about this stick.
[Paid Software Announcement and Discussion] techied:
I must agree with others. Was testing the MK809V today and it's pretty slow.

That, combined with how it's become more difficult to find that TV stick, I'd say just get a used Nexus 7 and don't worry about problems.
[Paid Software Announcement and Discussion] mrmrmrmr:
the app says it can't move it and that I should move manually. How can I move manually ? (what is the procedure to move some app to system app ?)

And will it still ask to choose from android auto or aagateway after once I choose it for always ?
[Paid Software Announcement and Discussion] mrmrmrmr:
do i need android auto installed on slave?
[Paid Software Announcement and Discussion] Marshy33:
No
[Paid Software Announcement and Discussion] mrmrmrmr:
good because on my tvstick androidauto doesn`t run. itsays it requires some missing services and i really don`t know which.

so if it doesn`t require androidauto on slave, then why my setup doesn`t work?
[Paid Software Announcement and Discussion] Marshy33:
I must have spent many hours / days playing around with this before I finally got it to work.

The developer is currently busy, but working on a plug and play solution for all. It may be worth holding out for this.
[Paid Software Announcement and Discussion] mrmrmrmr:
Well I really need to understand what are the requirements . This is really too bad when I dont know what is really the problem.
[Paid Software Announcement and Discussion] mrmrmrmr:
where shall 'i find apk to move as system app?

edit: found it under /data/app and moved manually. (then reboot)

now the app doesn't ask to move it to system apps.

but I still couldn't succeed in starting Android Auto.
[Paid Software Announcement and Discussion] mrmrmrmr:
I tried with 2 TV stick and 1 phone. Couldn't make it work.

I don't think that all three devices are incompatible, so I guess I am doing something wrong. I have to troubleshoot but I don't know how...

Please, if anyone who knows the solution, working setup, please answer my questions:

1. I have Android 9 on my Slave device(s) , and Android 10 on my master device. According to the instructions, I have to use tethering on slave. But I don't trust tethering on slave. (it does not start sometimes and mostly I start it manually). Is it mandatory to use tethering on slave for my setup ? Can I prefer to use tethering on master ? (even if I am going to start it manually, I will prefer tethering on master - if that will work)

2. Do I have to start some USB mode on the slave ? Because now I don't see anything happening on the car screen when I plug the slave device(s). Nothing happens. So, does this require "usb debugging" , "developer options" , or any USB mode that I have to select ?

3. I have 2 USB ports on my TV stick. One is micro USB and has "DC" tag, the other is a full size (USB A) port. I tried at home with both. Both ports can power the TV stick.

And on both ports, my USB keyboard and/or mouse works. So both ports ae capable of powering the stick AND having data transmission. But on the car USB, TV stick does not power start correctly when powered through DC port (micro USB). On this port, TV stick starts but does not boot up to Android. So, I try to make it run on full size port. Does it matter ? any experiences on this type of stick ?

4. is there a way to understand if Android Auto (car) sees the slave device ? Is there a simulation method to try at home ? Use a phone as an Android Auto car side simulator ?

5. Does it matter if I start Android Auto manually on the master device ?

6. Should I run "head unit server" on Android Auto developer options settings ?

7. How can I enable "developer options" on TV stick ? I don't see usual "build number" to click because this stick seems to have a UI for Android TV and I don't see "about phone" on the settings. (I assume "developer options" is not required but...)

8. I tried to run Android Auto directly on the TV stick but it did not have Android Auto in Play store. So I installed it from APK manually. And then I installed also Google, Google Maps, Google Music, Google TextToSpeech from APK (since they are required by Android Auto) But it still says Android Auto requires some missing Google Services. (TV stick already has Google Play Services)

What may be missing to run AA ? (I know this question is not related to the topic, but if someone knows, I'd really appreciate some help)

9. Is there an app to remotely control one Android device from another (seeing the screen of remote device) ? I need this because until a valid solution, I will try various setups on my car, and I really don't want to take my 17" monitor each time I go to car for a trial.
[Paid Software Announcement and Discussion] Marshy33:
Try this...

Using the phone as a slave.

Before going in the car. On master set up a hotspot, and connect the slave to this.

On master remove WiFi launcher and any automation profiles.

In AAgateway on the slave have root mode on (non root mode turned off), with hotspot from master chosen in AAgateway. Reboot slave. And wait for AAgateway listener to start again.

On master open AA and turn on the server.

Go to the car and turn on the engine with the slave not plugged in. Wait about 30 seconds for the car headunit to boot up fully (if needed).

Manually connect the slave to masters hotspot. Once all is connected plug in the slave to the car. (If it asks select aagateway and select always)

Hopefully it should boot up.

You do not need usb debugging on. I initially thought I did, but it was just accidental that the 1st time it worked for me I had it on.

---------- Post added at 07:25 PM ---------- Previous post was at 06:54 PM ----------

And to answer your questions...

1. Yes you can also use case 3 (tethering from master). Only masters which are on android 8 or lower cannot use case 1 or 2.

2. No. Usb debugging doesn't need to be on. All usb modes which are selectable on the slave should work. Just ensure you have aagateway selected as the default app when plugging into the car. If using a phone slave. There is no need to move it as a system app. This is only really needed for TV sticks as you have no screen to be able to select aagateway when first plugging it in.

3. Not sure, I had little success with my TV stick and it had been working well with my rooted phone as slave, so have put the TV stick to one side for time being.

4. Unsure. You can try non root mode. When you plug the slave into the car you should see a splash screen, but this may not work with all cars. Make sure you restart the slave when going from root to non root mode.

5. You wouldn't have to start AA manually. If it's going to work, it will start itself.

6. Only when using case 3, you need to have AA headunit running on the master.

7. Unsure, but isn't required.

8. Don't know.

9. You could possibly try TeamViewer, it would need an internet connection though. It's not something I have tried.

Also remember this is still in beta, so it's not stable for everyone.

Edit... The only test I did in the house with the slave was plug it into a charger. When doing this you should see the notification change from aagateway listener to headunit reloaded, and then depending on the aagateway set up, either WiFi should turn on or the hotspot will turn on. Then when you unplug, wifi or the hotspot should turn off and the notification should change back to aagateway listener.
[Paid Software Announcement and Discussion] mrmrmrmr:
Thanks. I will try it.

But I have a question:

You wrote "On master open AA and turn on the server."

then to my question 6 you answered:

"Only when using case 3, you need to have AA headunit running on the master."

So, you suggest me to try case 3 ?

just to be sure...

---------- Post added at 01:23 AM ---------- Previous post was at 01:11 AM ----------

If I select "non root mode" and reboot, I don'T see the aagateway notification.

If I deselect it , I see the notification.

and you suggested me to use "non root mode".

now what can I do to get the notification in this mode ?
[Paid Software Announcement and Discussion] Marshy33:
Correct the steps I have suggested are similar to case 3.

Doing it like that I was able to get it working for the first time, which led me to work out what I needed to do to make it work 99% of the time, by leaving the slave plugged into the car constantly.

I do not use non root mode, as non root does not work for my car at all, so it may be a case of the notification will not show until you plug the slave into the car. I'm not 100% sure though, as it's been a while since I tried non root.

Edit... I think there's some confusion here with "non root mode". In the steps I said to try, make sure that is not turned on (deselected) in aagateway.
[Paid Software Announcement and Discussion] CrispyCheats:
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: (Yes)

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?: (Yes)

Did the AA icon appeared on the master at all (in the notification bar)?: (Yes)

As soon as the AA notification says I'm connected to my car, both the AA notification disappears along with the Wifi Launcher Notification. No prompts on my car screen.

Slave also shows in the notification bar as "Connected to Car", notification stays and continually says it's connected.

Samsung S7 - Slave (Android 10)

Pixel 3 - Master (Android 8)

Car: 2017 Camaro ZL1
[Paid Software Announcement and Discussion] maximus007:
Can't believe how relatively easily I got this working (with a tiny bit of fiddling and trial/error).

Slave: Galaxy S7 Edge (G935F) - Android 8.0, rooted

Master: Galaxy S10+ (G965F) - Android 10.0, stock

Settings

Slave:

- WiFi Hotspot SSID to "HUR" , password "AndroidAutoConnect"

- Start Tethering Enabled

Master:

- Start on BT set correctly to car Bluetooth

- Android Auto Developer Settings Enabled

- Head unit server started confirmed not necessary

I leave the Slave plugged in all the time and connection takes only a few seconds after turning on the car.

Amazing work devs!
[Paid Software Announcement and Discussion] Marshy33:
If your tethering from the slave. There is not need for you to have the AA headunit server running on the master.

The wifi launcher app will take care of starting AA once connected to your cars Bluetooth.
[Paid Software Announcement and Discussion] maximus007:
Even better. I'll disable it now. Thanks!
[Paid Software Announcement and Discussion] CrispyCheats:
Wifi Launcher shows a Dialog Box that warns people it can't launch Android Auto on Android 10.
[Paid Software Announcement and Discussion] Marshy33:
That's news to me. I use case 3 so don't actually use WiFi launcher.

If you search this thread there's both a macrodriod and tasker profile which should also work and give you a bit more flexibility on what triggers it etc.
[Paid Software Announcement and Discussion] mrmrmrmr:
I tried exactly as you suggested. So connected everything before plugging the slave to the car.

When I plugged slave firts time, notification changed from aagateway listener to headunit reloaded.

Then it disabled wifi on slave. Then it enabled wifi again and connected to hotspot of master.

Android Auto logo appeared on the car but AA did not start.

Then notification changed back to "listener".

It seems like it is trying to run but then fails.

I took a debug log , but since Emily is busy, I don't know what to do with that debug log.

Btw, I also have ODB2AA app on my master phone which enables Torque app features on AA.

When I connect master via cable to the car, ODB2AA runs as well. Would that affect usage of AAgateway ?

But even if that's a problem, most important seems to be slave changing state back to "listener"

any ideas on that ?
[Paid Software Announcement and Discussion] Marshy33:
So we don't clog the thread up, I've sent you a private message.
[Paid Software Announcement and Discussion] lancer1991:
Master is running Pie or above and slave is tethering:

Running in root mode: Yes

If running in non-root mode, is the splashscreen visible on the car: NA

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

Did the slave actually turned on the hotspot on the slave: Yes

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?: Occasionally

Did the master connected to the slaves hotspot?: Yes

Did the AA icon appeared on the master at all (in the notification bar)?: Yes

The above is using Samsung Galaxy S5 rooted as Slave running 6.0 and Samsung Galaxy S8 not rooted running 9.0 in a Dodge RAM with Uconnect, AAGW version 2.0.8, AA version 5.1.500644, and Wifi Launcher version 2. I seem to have more success with things working (which isn't often) with AAGateway not running as a system app. When I run as a system app the AA icon will pop up on master saying it connected and the headunit will display AA for a second and disappear. Upon uninstalling and installing back now to remove system app settings I no longer get asked if I want to use with AAGW or AA, so assuming the default save wherever it is stays no matter if the app is there or not.

I successfully had this setup work twice back to back, but nothing solid since then. When hotspot on slave doesn't work after starting up the truck I've tried hotspot on master and it will work for that time by unplugging and plugging back in the slave, but next startup nothing. Wifi Launcher most of the time won't launch and I going in and starting AA server manually usually doesn't help.

Something else to note, as soon as I unlock and enter my vehicle the USB port turns on and the slave will start it's beeping on and off 4 times during it's connection. So not sure if that jumping the gun before starting up is impacting my setup or not. No matter what, I've yet to try an option that has made things work successfully time after time and certainly nothing that doesn't require any interaction with one of the 2 phones. My only purpose wanting to use this is for those quick in an out trips that doesn't require removing my phone from my pocket and plugging in.
[Paid Software Announcement and Discussion] maximus007:
Question: is there any way to improve the frame rate? Lag is

not

a major problem (half a second or so) but I find when using apps like Google Maps the frame rate is choppy.

A Galaxy S7 Edge should be powerful enough to run the display smoothly, and I have removed/disabled all unnecessary apps and checked power modes etc.
[Paid Software Announcement and Discussion] epsonix:
Hi Guys,

Can somebody support me on getting all correclty setup with MK809IV_4K from link to alliexpress somebody shared here as proven stick 2 or so months ago (Android 5.1.1 rooted) - got finally mine. My master is Android 9 unrouted.

So first issue is that on TV stick I could not install XDA Labs - it does not show up on the list on google play. I found some apk file on apk mirror installed it, and installed AAGateway on the stick. And first confusions starts. It asked to covert to system app, I accidentially clicked on keyboard something so window disappered. I set that it is TV stick and start tethering - only these 2. Then wanted exit, but it asked if I shoudl give superuser permission - was not sure what to select, after a few seconds popup disappered and some toast message said I think it got superuser. On later runs I did clicked to Allow and since then I do not see the AAGW on my apps list, so I guess it also converted to system app?

I guess I will be going case 2. so what now?

So at the moment my master has only WiFi Launcher installed (WiFiLauncher which I think was mentioned as newer and one to be used, not WiFiLauncher for HUR), is this right? I setup with small TV in the car, but nothing happens when I connect to USB. I use standard USB as I have cable for such only (microusb) - my OTG port is full size USB - I do not have such cable. Should the stick work through standard USB port of the stick or OTG only?

In the meantime I seen my master added icon on top bar, but WiFi was not connected since likely slave did not setup any hotspot.

What am I doing wrong?

It seems to me instructions in first post not up date, confusing and not well written for TVStick case, so I would be grateful if somebody with success experience coudl guide me a bit, best give step by step instruciton for my case. Thanks.

Also, within discussion some time ago I seen requirement of installing some placeholder on slave from google play, but instruction on first post does not mention this - is it still requirement or not anymore?
[Paid Software Announcement and Discussion] krlosmt:
Hi, somebody could help me?

When I connect the slave it ask me which app do I want to use...

And when I choose aagateway the screen on My car says, "please check whether confirmation is required on your mobile device android auto.."

Both phones work non rooted

I'm using wifi Launcher on Master and Gateway on slave.
[Paid Software Announcement and Discussion] lorilucille9:
Has anyone tried with 2 phones running Android 10 (S9+ phones both non root) and a 2019 Hyundai Tucson Sport Infinity factory HU? My first attempt was a bust... any advice would me very welcome.