yashsingh1/xdaforums huggingface dataset:
[Paid Software Announcement and Discussion] dhughes72:
stick or phone?

any feedback on whether a stick is better than a phone slave at this point? I was using a phone when it worked, because it seemed the more efficient option; but I'm curious to know if the stick has become the better option based on development?

I'm not a huge fan of long boot up times and the cheap phone I bought on Amazon stayed pretty charged (plus even if it was dead still booted as quick as the sticks from what I understand).

any feedback (from anyone) is greatly appreciated!
[Paid Software Announcement and Discussion] bggold:
I would at least start with a phone if you have one to be able to see what is happening and then move to a stick if you are able to since it will be in beta.

That is my plan.
[Paid Software Announcement and Discussion] Emil Borconi:
Ok, so almost new year, by GMT time we have started the last 24 hours of this year, and....

BETA IS OUT!

Please see OP for changes and instructions.
[Paid Software Announcement and Discussion] Frinky:
Where are people getting the MK808Bs? It looks like it's sold out everywhere I'm looking.
[Paid Software Announcement and Discussion] LLStarks:
No luck with the beta so far. Spent more time than I would've liked in my attempts. Had to go back to the alpha, which worked as soon as I downgraded.

Master: Rooted Pixel 2 XL (9.0 December)

Slave: Rooted OnePlus One (Lineage 15.1 123018 build with gapps)

No matter what combo of settings or order of operations I tried, I couldn't get the Android Auto setup screen to trigger on the master or for the car to begin its routine in correctly detecting the connection.

I had tried a previously installed Pie rom on my slave earlier and had the same results. If I need to go down to a Marshmallow or Nougat rom, I can.
[Paid Software Announcement and Discussion] bggold:
I have it working except I have no touch.

Master pixel 3 xl rooted

Slave pixel 2 xl rooted but root denied for aagateway.

Ford sync 3

Unable to have aagateway start hotspot and even though I don't have aagateway starting hotspot it stops it on disconnect.
[Paid Software Announcement and Discussion] LLStarks:
Hotspot has been an issue for me. AAGateway and other apps that control hotspots can occasionally put it in an error state which can't be resolved until the hotspot is hard-toggled off and on in the system menu.
[Paid Software Announcement and Discussion] spurjan:
No Luck

Hi

I am having Samsung Note 3 n9005 as Master and Galaxy trend as slave.

I have both phones rooted.

Master given root access to AAGateway

Slave denied root access.

all starts well in the phones but did not connect to headunit of my car.

Any Suggestions pls.......
[Paid Software Announcement and Discussion] fezster:
Tried the beta, but unable to get it to work at all as yet.

Master is an unrooted S9 Plus. I did *not* install AAGateway on the master, as I believe all it does it automate hotspot functionality? If Im wrong on that, please let me know.

Slave is a rooted Smart Ultra 6 running LineageOS 14.1. I uninstalled Android Auto which seemed to be there by default. Enabled usb debugging on slave.

Tried both root and non-root method. When connecting the phone to the car, and selecting AAGateway as the default, it immediately launches Android Auto on the car (despite hotspot not being enabled on master). The car says "Please follow instructions on mobile". And then it disconnects. Enable hotspot on master and AAGateway flashes up on phone and says it's running in notification bar. The AA screen in the car sometimes shows nothing and sometimes repeats the message to follow instructions on mobile.

Tried with hotspot enabled first and slave connected to master. Then connect usb to slave. Same as above.

Slave also forgets the defaults unless Google Play Services is disabled (ie. using Root, which your OP says is not required for phones).

Will try and have more of a play later. Let me know if there's anything I can provide you to help your efforts.
[Paid Software Announcement and Discussion] Emil Borconi:
Simple install the app on the master, the app does more then automating the hotspot, it won't work without it

About forgetting defaults, sorry phones I've tested all remembered the default only TV stocks played up.
[Paid Software Announcement and Discussion] Emil Borconi:
When you say all starts well on the phone, at you referring that the headunit server is running as well as tethering started? Try denying root in master and starting headunit server manually.

Does the car react to the slave in any way?
[Paid Software Announcement and Discussion] *justintime*:
Thanks but for me it's not working either.

Managed to get the screen once on the unit. But it was non responsive.

It was when I had The warning message on the unit. Android auto was on the master but I had to agree. And the main menu popped up.

Could it be something with the warning message?? You have to validate?
[Paid Software Announcement and Discussion] Emil Borconi:
Is it a sync 3 unit? No nothing to do with the warning message, that's normal, CA is expecting instant answer from the phone but there is no data from master yet hence the warning, once the master connects and data starts flowing this should be gone.

[MENTION=5437072]bggold[/MENTION] reported same touch not working but I wasn't able to reproduce it yet.
[Paid Software Announcement and Discussion] *justintime*:
Okay... It happend only once and couldn't reproduce. What I certainly did is start manually in the aa gateway on the master.

Slave is an android phone without play services.

No it's a VW Golf.
[Paid Software Announcement and Discussion] Emil Borconi:
When you say it happened only once, do you refer to being able to connect the two devices or touch not responding?

On the slave (if it's a phone) when the car is running how many notifications do you see one or two?
[Paid Software Announcement and Discussion] fezster:
Ok, apologies. I thought the app may be needed on the master. Would you be able to elaborate a little as to what the app does on master to initiate the connection - might help in me debugging.

With the app installed on the master, I found I had to click "Manual start" for it to do anything. It initiates the hotspot when the bluetooth is connected, so this works.

But then one of 2 things happen:

1. Either AAGateway crashes on master.

or

2. Android Auto on the car says to check phone and follow instructions. Only on one occasion did my master phone show the Android Auto instructions page, but then AAGateway immediately crashed.

I tried clearing all cars registered on Android Auto, but this doesnt seem to have helped.
[Paid Software Announcement and Discussion] *justintime*:
Once in the meaning be able to connect but with a non responsive touch screen.

On the slave it has two notifications.... When I go in the slave settings... Sometimes it's complaining the USB settings are not with the standard app. Something like that...

While I have set aagateway as the default android auto app.
[Paid Software Announcement and Discussion] Emil Borconi:
If you select the car's bluetooth then the app should start on the master when you're connected to the car's bluetooth automatically, in which case there is no need for using the Manual Start button.

The app on the master make a proxy between the headunit server and the phone, this is needed because I need to alter the data between the 2 devices, similar concept of man in the middle attack, but part of it it's done on the slave and part on the master so the workload is split between devices. Without this I cannot trick the car to wait till the Wifi connection is established. The slave will try to connect to the masters port opened by AAGateWay not to the headunit server directly. So yeap the connection is sent trough a few hoops, both ways.
[Paid Software Announcement and Discussion] Emil Borconi:
Is the slave powering on when the car is turned on, or is it a phone which is on all the time? If the second when the car is turned off do you still have 2 notifications or only one?
[Paid Software Announcement and Discussion] spurjan:
I successfully connected to the head unit... it went to the main screen. But could not able to access any further. The head unit is still in the main screen and does not go to maps or anything....
[Paid Software Announcement and Discussion] fezster:
Useful to know, thanks.

Is there any debug log I can send you when AAGateway crashes on master? Sorry, I'm not that familiar with Android app development, but if you tell me what to do, I'll follow your instructions. It crashes almost every time thus far, so is easy to reproduce.
[Paid Software Announcement and Discussion] Emil Borconi:
Thanks, I see same like it was reported no touch.

Let me try to figure out what can cause this.

Are you able to connect every time?
[Paid Software Announcement and Discussion] Emil Borconi:
2. Enabling Developer Mode

Open Settings > About phone.

Scroll down to the Build number.

Tap the Build number 7 times in quick succession until "You're now a developer" appears.

Return to the Settings menu and select Developer options.

At the top of the screen, make sure 'Developer options' is set to On (green).

Scroll down to Debugging and enable both USB debugging and Bug Report Shortcut on (green).

Tab on Logger buffer sizes: Default setting is 256K. Select 16M to help capture more information for debugging. Of note, it can affect the apps performance especially with lower spec phone, so change it back after you have finished submitting bug reports.

3. Capturing a Bug Report

It's very important to do this right after you experience the issue again, so your device can log at least one occurrence of the issue.

Hold the Power button down until the menu appears.

Select Take bug report. and wait for the device to capture the bug report.

Tap the 'Bug report captured' notification when it appears.

Share the bug report. (I recommend to email it to yourself.)

Download the bug report to your computer.

Send the bug report by email to borconie@gmail.com
[Paid Software Announcement and Discussion] spurjan:
Yes connecting but very laggy and got struck
[Paid Software Announcement and Discussion] *justintime*:
No, when the car is off I have only one notification. "listening to state changes"

On the slave I constant get messages no default set for android auto USB.

While I approved for standard app. It has root rights and it's on Lineageos 14.1
[Paid Software Announcement and Discussion] fezster:
I've emailed you the bug report.

The file was massive (even zipped), so I've sent you the output from:

grep 'uk.co.borconi.emil.aagateway' bugreport-2018-12-31-11-32-37.txt > bugreport-2018-12-31-11-32-37.grep.txt

Hopefully this is sufficient. I also did this because (and Im not trying to be unnecessarily difficult here), I dont know what other information is contained in the file output, and didn't want to just send everything across, as I value my privacy. Let me know if there's anything missing and specific you would like me to send. Thanks.
[Paid Software Announcement and Discussion] Emil Borconi:
Got it and replied, from what I see it looks like AAGateWay does not have some permissions on the phone.
[Paid Software Announcement and Discussion] Emil Borconi:
OK, I've pushed out a new Beta:

- Changes which hopefully will fix non-touch

- Set aggressive Wifi scanning on slave for faster initial connection (this will cause some shuttering at the begging of the connection, but will cease shortly after that)

- Added additional stats info to notifications on both devices for better debugging.

- Slightly tweaked the connection process

Let me know how it goes, and of course have a HAPPY NEW YEAR!
[Paid Software Announcement and Discussion] *justintime*:
Thanks Emil, for the Quick update... For you also a happy new year. And I will test later....
[Paid Software Announcement and Discussion] suku_patel_22:
What about MK809IV?
[Paid Software Announcement and Discussion] Emil Borconi:
I don't know I dont have one to test.
[Paid Software Announcement and Discussion] bggold:
First time it worked with touch after that no touch. Also it seems to be stopping the hotspot even though I do not have it controlling it.
[Paid Software Announcement and Discussion] NYZack:
I'm able to get Android Auto to register on my car's screen without error messages anywhere, but when I select Android Auto on the car, I just get a blank screen. Any ideas?

(Slave is Nexus 6, rooted; master is Pixel 3; car is Honda Clarity).
[Paid Software Announcement and Discussion] aim2miss@gmail.com:
Emil

I get to the second step of setting up Android Auto (I think it's where you acknowledge Google Assistant) and then I get a message saying unfortunately aagateway has stopped.

I have to turn on hot spot to get it to attempt connection. I'm assuming that is correct.

Master is LG V30

Slave is Nexus 5x

Honda Accord head unit

Thanks for your work

Joe
[Paid Software Announcement and Discussion] krish27269:
Slave
[Paid Software Announcement and Discussion] NYZack:
Update: I tried with a different slave (OnePlus One, unrooted). Still just get a blank screen when I select Android Auto on the car. Seems like the problem is with the master (Pixel 3, unrooted).
[Paid Software Announcement and Discussion] blackbird42:
Same here. I only get blank screen in car, without any errors anywhere.

Slave: Nexus 6P (unrooted)

Master: Pixel 2 XL (unrooted)

Car: Peugeot 5008 (2018)
[Paid Software Announcement and Discussion] nodgel:
Same for me, blank screen without errors

Master s8 stock oreo

Slave nexus 6 los 15.1

Happy new year!
[Paid Software Announcement and Discussion] Emil Borconi:
Last beta for this year (1.0 Beta V3), thanks to [MENTION=5437072]bggold[/MENTION] for the support on catching this one, it affected all units/cars with GPS hence not catching it earlier on my Sony.

Happy new year all.
[Paid Software Announcement and Discussion] speedway121:
XDA store down - Recaptcha now showing cant order

Help guys- can you just send me the AAGateway APK? Cant access the XDA store and when trying to create an account the recaptcha dosent show a code for me to verify!

want to get this running today. ill be a good bug tester... :)
[Paid Software Announcement and Discussion] LLStarks:
Still struggling to get that first connection. Furthest I get is a black screen.
[Paid Software Announcement and Discussion] bggold:
I was experiencing some issue and sent over some logs for [MENTION=224120]Emil[/MENTION] to look at. He's getting closer and it is a pain when there are so many different head units and phone combinations to have to work through.

I know he will get it figured out soon.
[Paid Software Announcement and Discussion] Jaihoidundso:
Hey,

today I tried it with a Le Phone om Android 6.0.1 as slave and Oneplus 6 as master. I have a new Opel Astra and integrated Android Auto. I have connect slave device to port and than I started the cars radio. First Bluetooth is connecting to car, than hotspot is activaed and slave device connect to master device. Android Auto HEadunit Mode is on (the app can't activate it, but my automate script did it).

After a while he is showing that slave is connected. Than nothing happened. Android Auto is showing on the car. If i touch it, than it shows "Android Auto Activate, please check screen of device). I tried something to get it work. But after 15 minutes I give up. Maybe later i try again.

I had an MK809IV but USB port was broken very fast... not very good quality. And the slave phone is only for testing, so i don't use it for anything else, so I can do something on that, if it's needed.

Maybe it works soon. I hope it.
[Paid Software Announcement and Discussion] bggold:
Experienced this yesterday. [MENTION=224120]Emil[/MENTION] is aware of this.
[Paid Software Announcement and Discussion] fezster:
Aagateway is still crashing on my master (s9 plus). Sent Emil logs for this yesterday and it had an error getting Bluetooth permissions. Seems beta3 still has this error. All permissions are granted under App Permissions for the app.

Additonally, slave (smart ultra 6 with lineageos 14.1), every time I open aagateway and make it default for USB, I get an error "System UI has crashed". Reopening the app then says it needs to be made default, and the cycle repeats.

On the plus side, alpha is working well for me using a highly customised Automate script. I find a combination of killing aagateway, deactivating/reactivating USB and changing from MTP to Mass Storage gets it to connect successfully.
[Paid Software Announcement and Discussion] Jaihoidundso:
Now I tried something again and I did it, that it's nothing show on the car, so I think the connection to the master is here. But no chance. Maybe I have to try a older Android AUto Version or something.
[Paid Software Announcement and Discussion] bggold:
No it is not your aa version. Sit tight and wait for an update. Like I said I experienced the exact same issue and sent [MENTION=224120]Emil[/MENTION] logs.

I am able to get it to work intermittently.

Give him time to work out all the kinks.

There are so many variables once it leaves his testing.
[Paid Software Announcement and Discussion] danict90:
hi, i have an A3, for android auto i buy an aftermarket interface that work only with usb, i can use this guide too? if i buy MK809IV can i try to use it wireless or is only for car with original android auto?
[Paid Software Announcement and Discussion] Emil Borconi:
Hi guys.

I will be out of office most of this days, however I'm expecting some bug reports today and I will investigate them ASAP to try to find the root cause of reported problems.

If you do face problems with the beta please report the following:

1) What are the notifications saying on Slave and Master (make sure they are expended)

2) Produce 2 bug reports please (one from master and one from slave) and send it over, how to is in OP.
[Paid Software Announcement and Discussion] spurjan:
I tried with another mobile sets. Master is Samsung c9 pro and slave is rooted samsung note 3. It connected with the app. But could not use the Android auto in car as it freezed. Then in slave something happened and my Google play services stopped and got uninstalled. Could not use it. As I have installed custom Rom in note 3 I have to reinstall it again....
[Paid Software Announcement and Discussion] LLStarks:
It only disables Play services, it shouldn't be uninstalling. It's easy to re-enable.

You can avoid that altogether by not granting root on the slave to the app if the slave is a phone.
[Paid Software Announcement and Discussion] dhughes72:
I can't get passed the screen on my car that says "please park to set up Android Auto the first time"... both the slave (2 notifications) and master (says connected to slave) seem to be sorted.

is Android Auto required on the slave? I didn't have it during the alpha (when using Pixel 2) and it worked.

if anyone has any feedback, I'm all ears! love you guys!

I'm using:

Slave: LG 'LGL44VL' tracphone Android 5.1.1

Master: Pixel 3 (up to date, unrooted)

Car: 2018 Mercedes C300
[Paid Software Announcement and Discussion] danict90:
can i use this app with an aftermarket android auto interface?
[Paid Software Announcement and Discussion] bggold:
If it runs Android auto you should be able to.
[Paid Software Announcement and Discussion] airic37:
On my slave device (Nexus 5) initial load it just keeps asking for location permission. If I say yes it just asks again. If I say no and tell it to stop asking I can get to the main screen but I can't select master or slave. My master device (Pixel 2 XL) set up fine.
[Paid Software Announcement and Discussion] bggold:
Just curious do you have location services turned on?
[Paid Software Announcement and Discussion] airic37:
Yes I do
[Paid Software Announcement and Discussion] bggold:
Rules that out.
[Paid Software Announcement and Discussion] journey42:
Hi [MENTION=2481649]fezster[/MENTION]! Any chance you might be willing to share that Automate script?

I'm having nearly identical issues with the new beta. My setup is a T-Mo S9 as parent and T-Mo s7 (running a debloated stock ROM; don't remember which and it's not in front of me), but I'm hoping your Automate and the alpha will get me stable (as it was nearly there before I moved to the beta, but without any scripting).

Cheers!
[Paid Software Announcement and Discussion] nodgel:
Did anyone manage to make latest beta version work?
[Paid Software Announcement and Discussion] bggold:
There are some known issues and I am sure Emil will get them figured out soon.

It might not hurt to send off a bug report from both devices after your issue occurs. Make sure to change the log buffer in Dev options to 16m.

Thanks
[Paid Software Announcement and Discussion] fezster:
No problem. I borrowed from BBGold's script to produce this, but customised heavily for my own slave phone.

Here's an image of the flow:

And an explanation as to what (and why) it is doing (showing as an image, as couldnt get the formatting correct):

It works very well. The only issue I seem to have now is that my master phone sometimes needs rebooting. Nothing else is at fault, but looks like Android Head Unit server has some issue with it. I read elsewhere on the forum people have managed to reset it without rebooting, but without root, I'm not sure there's anything automated that can be done. This is a shame because, as it stands, it's just not reliable enough for me to use daily. If I need to restart my phone, I may as well just plug it into USB.
[Paid Software Announcement and Discussion] Zece-88:
I simply cannot get it to work.

Samsung galaxy alpha as slave

Pixel 2 xl as master

Running though your setup steps several times, no chance.

I get the error on headunit: please check Android auto on your phone when it's safe. I first fought it would go away, but after 5 min. it still show up. What am I missing?

Please help
[Paid Software Announcement and Discussion] fezster:
I've not been able to get the beta to work at all using a phone as a slave.

I'd suggest trying the Alpha for now - it's picky about the sequence of connection, but works well otherwise.
[Paid Software Announcement and Discussion] KRLES:
Hi Emil, Is compatible with Mirrorlink? My car headunit don't support Android Auto, only Mirrorlink

I read a post from a user using it but could be great your opinion
[Paid Software Announcement and Discussion] jasperbleumink:
Oké, tested the new Beta version. Unfortunately no luck so far.

The connection is established, at least slave and master both say so.

But on Master I get a message from AAGateway that the had unit has not been started or is stuck.

Is it running at that time, started it again a few times, no luck.

Anyone else this issue?

Master: Galaxy S7 edge Android 8, no root

Slave 1: Galaxy Tab A Android 8.1, no root

Slave 2: Galaxy S2 (?) Android 5.1, no root

Both of the slaves gave same issue. So it probably is an issue with the master.
[Paid Software Announcement and Discussion] suzook:
Beta not working for me with Samsung Note5(no root) as slave and op 6t(root) master. I dont even get a promt from my radio for AA, and my slave doesnt ask what program to open.
[Paid Software Announcement and Discussion] Emil Borconi:
Hi guys.

I have pushed out a new beta, should be really working fine now on most devices. Have confirmation of working as expected with Sync 3 and with Sony XAV-100.

If you are still facing connection difficulties with the beta, please do send me a description on what's happening on both devices (assuming both are phones of course) and a bug report from both of them as well. Please do report back with both success and failure of getting the connection up with the new beta.

Thanks.
[Paid Software Announcement and Discussion] bggold:
Sync 3 pixel 3 xl master pixel 2 xl slave working much better than before.

Thanks Emil for the hard work.