yashsingh1/xdaforums huggingface dataset:
[Paid Software Announcement and Discussion] Emil Borconi:
It's not as much the extra speed of the 5Ghz which can offer a benefit, it's the use of different channel. Bluetooth uses 2.4Ghz as well and when you use both on the phone (BT + Wifi) latency can increase if they are both working on the same frequency. Now normally this should not have any effects, but it can add a bit of lag during phone calls, however this will depend on devices, chip set, drivers, etc in many cases probably it won't be noticeable.

Yeah 5Ghz will be nicer for sure, but you will need to tether from the phone, or use Wifi Direct (which isn't supported by all devices) and not too many phones have an option to use the 5Ghz for tethering and I still need to re-visit the documentation of Wifi-Direct but I don't recall having an option to use 5Ghz there either, so probably it won't give any real benefit.....
[Paid Software Announcement and Discussion] suku_patel_22:
This is possibly the best news of the day.

I have a Ford Ecosport with Sync 3 HU that supports Android Auto. Currently I connect my phone to one of the USB posts in the car.

From what I read, I assume, just plugging in an old phone to the usb port, install your app( when it comes out), have the old phone connect to my Pixel's hotspot, is all that we need for this to work?
[Paid Software Announcement and Discussion] Emil Borconi:
Correct!
[Paid Software Announcement and Discussion] popy2006:
[MENTION=842765]Emil Borconi[/MENTION]:

Thanks a lot for your efforts on this.

Had the idea of such an solution back a few months and always searched sites like xda and shops like aliexpress for such an solution.

Now, thx to you, the search is over :D

I have an 2016 VW Polo with AA and looking forward to try this.

Planing to use an old HTC M7 phone for the gatway task.

My questions/suggestions are the following:

Will the phone charged when the car ignition is off?

That yould be bad for the Polo battery.

Or will the USB power from the head unit switched off, when ignition will be turned off?

When i'll see right in your video you have to enable wifi hotspot on the android device/phone which is running AA as app.

The gateway device is connecting to this hotspot.

So whats your plan on automating this?

My idea is, that also bluetooth should be activated on the gateway device.

The app on the android phone (which runs AA) scans periodically for a known BT device and if it found's it, it will automatically switches on the hotspot.

Also a NFC tag is an option, but not so comfortable.

Looking forward to hear your suggestions :angel:

Thank you a lot

pOpY
[Paid Software Announcement and Discussion] Emil Borconi:
If the radio is fitted correctly the USB should have no power when the ignition is off.

For automation I will put together a documentation on possible ways to achieve that together with the app. I will like to provide 2 ways of connecting hotspot from phone, or Wifi Direct ( where it's supported) for those who cannot tether from their device due to carrier restrictions.
[Paid Software Announcement and Discussion] rallysquirrel:
I have this HU so following. Also cross posted in the xav ax100 headunit thread.
[Paid Software Announcement and Discussion] popy2006:
thx a lot. Looking forward to the release.

PS.: Take your time
[Paid Software Announcement and Discussion] LLStarks:
This is cool. Very different from what I had in mind for a solution.
[Paid Software Announcement and Discussion] raclo70:
brilliant but obvious solution! Grest idea!

Awesome project. I have one rikomagic mk 802 II, I hope it can work!
[Paid Software Announcement and Discussion] Sage:
Incredible. Well done
[Paid Software Announcement and Discussion] bapimukherjee:
Aag
[Paid Software Announcement and Discussion] Jaihoidundso:
Now I tried Android Auto with new Android 9 on OnePlus 6 and as slave the Le 2 with Android 6. I changed the flow "In car Hotspot" with 2 new shell lines. One with activated Android Auto Developer Service if device is connected to BT and one with deactivate AA Dev Service and one with stop Google Play Services on disconnect. I made the stop from GPS, because it always shows "Connected with Android Auto".

But it's only works perfect, if I pkug the USB from slave to car, If WIFI is connected to hotspot. I hope there is a solution to make it work, that I can plugged in the slave always.
[Paid Software Announcement and Discussion] Sn4pdragon:
Can you post your new flows? Thanks
[Paid Software Announcement and Discussion] Jaihoidundso:
Sure.
[Paid Software Announcement and Discussion] elettr:
Hello to all. I can not make the connection work. I'll explain my configuration:

- As SLAVE I have a Galaxy NOTE 2 with ROOT and Android 4.4.2 where "AAGateway" is installed.

-As a MASTER I have a Galaxy Note 8 and Android auto 3.5 .........

- Pioneer AVH-X8800BT car radio

Here is the procedure I performed:

-I installed on the SLAVE "AAGateway" and I set the phone as a developer.

-I created an access point on the MASTER.

-I had the SLAVE connected to the created access point.

-I checked that the "AAGateway" program was running.

-Then I installed on the MASTER Android car, I set it as a developer, and I have the application applied as a developer.

-Then I pressed "Start main drive server".

-Then I connected the SLAVE to the car radio, and at the request I set the phone to use as default application "AAgateway".

-At the top left the AAGateway icon is present and there is written "Running", but on the car radio screen there is written "USB not compatible" or "Not recognized". At one point the SLAVE phone wrote "that the drivers in the pc were not correct ......".

-I also tried other times, restarting the phones and removing "debug usb", putting it back, changing the USB cable, but there was nothing to do, the car radio screen does not recognize the phone. What can it be? a different phone like SLAVE ?? Maybe it depends on Android 4.4.2, which is too old ?? Thanks!!
[Paid Software Announcement and Discussion] elettr:
A similar defect also occurs when I try another phone LG G6 with Android 7. The car radio display or says that "USB is not compatible" or writes "no answer" ....... When I start "Android auto" on the master and connect the usb cable on the car radio, on the display of the MASTER comes the notification saying "Android car connected to the car" ...... But as I have already written on the display of ' auto the application does not start.Why ??How does this happen? ??
[Paid Software Announcement and Discussion] TheBlitzS:
I also have the same problem when using a S4 as master and Note 3 as slave.
[Paid Software Announcement and Discussion] LLStarks:
Wow. This is a complex one. Need to study for a while.
[Paid Software Announcement and Discussion] Jaihoidundso:
The whole one is not from me. I only added the lines for shell. I hope it works on other devices. I use Android 9 and it works there.
[Paid Software Announcement and Discussion] shaggyxda:
where can i find the app?

Edit: i can only find the app via google Chrome and choose "Open with XDA Labs"
[Paid Software Announcement and Discussion] TheBlitzS:
You have to buy the app on XDA Labs
[Paid Software Announcement and Discussion] shaggyxda:
realy? :rolleyes:

If I can not find the app, then I can not buy the app ;)
[Paid Software Announcement and Discussion] TheBlitzS:
But you can find the app on Google, right? And you can open the app with XDA Labs, right?
[Paid Software Announcement and Discussion] shaggyxda:
only via google

https://youtu.be/95dLtRig_yg
[Paid Software Announcement and Discussion] samuhang:
Tried it n like the concept but my complaint is every time i need to plug in my slave device to make it work. Wouldn't it be great if it automatically launch android auto as soon as my car is connected with my device or there can be a trigger button on my master device to smoothly launch aa without the haggle of re plugging usb cable with my slave device
[Paid Software Announcement and Discussion] TheBlitzS:
If I open the Google link of the app on my device it redirects me to XDA Labs where I can download the app.
[Paid Software Announcement and Discussion] swasha123:
After seeing successful progress of HUR and OBD2, hopefully now we can expect that our dear developer will spare us time very soon. :laugh::laugh::laugh:

Meanwhile, my setup of LG G6 (Master-Oreo 8.1) and S4 mini(Slave-Oreo 8.1-rooted) running perfectly without any problem. Even no stuttering of audio. (It was there when Samy Note 4 as slave).

Thanks Emil... :good::good:
[Paid Software Announcement and Discussion] sibesaver:
Hope that's true soon.

I see most of the successful implementations are always with a rooted device (slave at least) and that maybe where some of the issues are with consistent operation. I know for myself, my Verizon devices are a hassle to root as they require downgrades in Android version in order to use the root exploit. Also they block/limit hotspot use on a lot of their plans.
[Paid Software Announcement and Discussion] spurjan:
How to use with Chromecast

Hi

I am having Chromecast can I use this aagateway with my Chromecast instead of a tv stick

Pls reply....
[Paid Software Announcement and Discussion] Emil Borconi:
No it's not possible.
[Paid Software Announcement and Discussion] Emil Borconi:
Hi guys.

Sorry to be radio silent, indeed I was relatively busy with HUR and OBD2AA as well as other non Android Auto related work. Today I have finally managed to push out a stable release for HUR, and obd2aa is also doing pretty well, so in the next period I will continue to develop the AAGateWay, that being said my schedule looks like this:

- This weekend, working all weekend, preparing photos from 5 different events across the UK so that will tied me up till Tuesday

- Wednesday morning hitting the road (travelling to Romania - 3 days road trip)

- I'm not sure how much I will be in Romania

- October 20 I'm flying to the States for 2 weeks.

So as you can see I will be quite a lot on the road, but I will take my Sony headunit and some dev tools with me to Romania and will carry on working, my target is to have a stable version of this app before I fly to the states.

I will try to put together a list of most common problems I saw here and wishes tomorrow so you can all see and know what's happening as well as input new ideas if you have any.
[Paid Software Announcement and Discussion] LLStarks:
This is a great app.

A few observations and suggestions:

* Pure sink mode: AAGateway assumes a USB connection. My headunit already has the necessary Android Auto OEM bits, deep integration with car systems, and can run rooted apps. I'd like to be able to install AAGateway on my headunit and kick in the connection truly wirelessly over the hotspot (need to see whether my headunit can even do wifi direct at all for the future app). Headunit Reloaded is a bit too heavy and redundant for this scenario; the Play Services requirement also interferes with the stability of my headunit (Honda/Mitsubishi MY16ADA).

Edit: It looks like codeage figured out Play Services for my headunit. Things are about to get wild. :D

* When using AAGateway as intended, I can't force stop Play Services on my Pixel 2 XL, so I'm usually forced to reboot it when the AA connection starts failing.
[Paid Software Announcement and Discussion] j0nl1:
I have an android Radio 5.1 and it has WIFI. it necessary a stick or phone connected by usb?

I guess I just need to activate developer profile en android auto, start server connect both devices by hostpost and everything should work, isn't?
[Paid Software Announcement and Discussion] m00n61:
No.

If you want wireless AA with your unit, use Emil's other app, HeadUnit reloaded
[Paid Software Announcement and Discussion] menissalt:
I'm excited to see this project develop. It's great when it works but is very inconsistent in it's current state.
[Paid Software Announcement and Discussion] nencio92:
I tried it with and old tablet asus me301t as slave with custom rom and 5 Ghz wifi and it works fine! I used it for about 20 minutes with maps and Spotify I didn't see any bug....

Now, I can't take a tablet in the car ??, so I'dike to buy dongle mk809iv, do you know how i can root it or flash custom rom? Thank you in advance
[Paid Software Announcement and Discussion] dingbat75:
so here's my feedback. using AA on vw MIB2 discover pro. Samsung s4 i9505(I think) as slave and Samsung s8 as master.

it took a little while to get it to connect, ended up having to reboot both devices.

it looks like this could be a very good wireless option with more development. I tried playing Spotify and although it plays, it's very jittery with cut outs then eventually the connection fails.

it just isn't stable enough at present imo. the mobile hotspot connection is strong maybe if the slave device is rooted might be more stable. I also disabled Google play services on slave but aagateway app would not work at all so had to 're enable.

I also tried s7 edge as slave but same results.

I think a Wi-Fi direct connection might provide a more stable connection between two devices.

the other conundrum is automation. I would like and I'm sure others do, is to just leave the slave tucked away so when you get in vehicle master connects to slave turn on ignition AA comes on, off you drive.

I hope this feedback is helpful, just wanted to share my views.

Cheers
[Paid Software Announcement and Discussion] j0nl1:
Thanks for your suggestions
[Paid Software Announcement and Discussion] ateşnaz:
Süper
[Paid Software Announcement and Discussion] schlotboeller:
DHU

Hi Guys,

has anyone tested with these application?

"Test apps for car screen" it`s a DHU emulation software, you can find a howto on the android developer site.

i have problems to connect my honda 10th dhu with a very old samsung gi gts-5660 (slave, android 4.4.4, kernel 3.0.31) and sony z3 compact (master).

the application works very well with a wired connection on my notebooks (win7,64 bit win10,64bit). but when i connect the samung as slave and start the application, i have to acknowledge a fingerprint on the samsung (slave) and the dhu emulation crashes.

it would be nice, if someone could test the dhu emulation with a working combination of master and slave.

by the way the application is a nice tool to test android auto applications in the living room...

bye

harald
[Paid Software Announcement and Discussion] krispin:
That would be nice if it is possible. Tried headunit reloaded but without success.;)
[Paid Software Announcement and Discussion] rpgreentree:
Hi Emil, I've tried connecting using AAGateway to my Kenwood made head unit in my Mitsubishi using an Alcatel Go Play as slave and a Galaxy S7 as master but I cannot get anything to happen. All I get is "Android Auto is connected to your car" on the master. I force stop Google Play Services and try to connect again and it goes through the same routine. After that I have to restart the phone and start again but I go through the same thing again. Any ideas?nu
[Paid Software Announcement and Discussion] m00n61:
If you get "Android Auto is connected to your car" on the master but nothing on the headunit you need to reset both master and slave AND the headunit (stop the car for at least 30 seconds to make sure the headuit reboots) before trying again.
[Paid Software Announcement and Discussion] rpgreentree:
Do you know where the bottleneck is most likely to be? In the slve, master or head unit.
[Paid Software Announcement and Discussion] m00n61:
It's a matter of timing the USB connection between slave and HU. That is why the order of operation is important. You have to have the AA server running on the master AND the wifi connection between slave and master established BEFORE connecting the slave to the HU.

Sounds complicated but you can find on this thread several Automate flows that handle this.
[Paid Software Announcement and Discussion] rpgreentree:
Thanks m00n61. I have it working now but quite unstable. It seems as though the head unit server freezes on the master and/or aagateway crashes on the slave after about 30 seconds. If I force stop aagateway and restart the HU server I can have it connected for another 30 seconds or so.
[Paid Software Announcement and Discussion] m00n61:
Your slave only has 1 GB RAM, there may be an issue, especially if you have a stock ROM, full of bloatware.

In my setup I use an S4 mini which is pretty similar to your Alcatel but has 1.5 GB RAM. It works pretty flawless - for some reason it will still lose the connection every couple of weeks or so - and for that I have:

-installed a clean ROM with minimal Google Apps

-disabled all unused services - GSM, GPS, BT

Unless you have some custom kernel on your S7 (and/or lots of running apps) there is no reason for the AA HU server to freeze, there's plenty of resources.
[Paid Software Announcement and Discussion] rpgreentree:
Ok. So I've rooted the Alcatel Go Play slave and removed as many unnecessary apps as possible but I still only get about 30 seconds from it until aagateway drops out. Unfortunately I can't find a clean ROM to flash onto the Alcatel so I've just uninstalled or disabled as many Apps as I was confident to remove.
[Paid Software Announcement and Discussion] Johan1976:
Can anyone direct me to which post that contains the flow script that works. Tried to search but just find posts about how it works but not the script itself.

Thanks!

Skickat från min SM-G950F via Tapatalk
[Paid Software Announcement and Discussion] m00n61:
Here are a couple links for use with a phone as slave:

[MENTION=5437072]bggold[/MENTION] script

my slightly modified version

app for enabling/disabling hotspot on master
[Paid Software Announcement and Discussion] Johan1976:
Thanks a lot for collecting them all. Would be nice with links in OP since this thread is quite large by now! [emoji846]

Skickat från min SM-G950F via Tapatalk
[Paid Software Announcement and Discussion] wertasd:
[MENTION=842765]Emil Borconi[/MENTION]

Any update would be appricated.

---------- Post added at 07:53 AM ---------- Previous post was at 07:53 AM ----------

[MENTION=842765]Emil Borconi[/MENTION]

Any update would be appricated.
[Paid Software Announcement and Discussion] Emil Borconi:
Update.

I had a relatively good session yesterday, but a lot of time was "wasted" trying to find a solution to start the headuni server, by looking at the AA 3.6 and latest Google Play Services, without too much success.

There is a way to make Android Auto connect to a headunit, but that sadly runs a check to see if you're phone is connected to the Wifi, which is not what I want, that will mean that the master will need to connect to the slave's hotspot which is not helping.

There will be one app, but as suggested in the past on the first run you will need to decide if you run in master or slave mode.

For slave mode root will be very highly re-commended (not a must) , however slave will:

- 1) Turn on/of Wifi when the power is interrupted (root required)

- 2) Turn on/off USB when the Wifi / Wifi Direct is connected disconnected (root required)

- 3) It will do a handshake with a car and decrypt/encrypt data (no root needed) - this should fix the problem if the phone is connected to the car before the Wifi, it will also reduce the amount of data sent over wifi. However this option will only work if you are connecting to the same app on the master not to AA directly.

Master:

1) Will start tethering and Wifi direct when connected to Bluetooth

2) Will start listening for incoming connection

3) Will encrypt/decrypt data received from the slave

4) Will give an option to remove 6 taps limit

5) Will allow running obd2aa on the phone.

I've done part of the slave but almost nothing from Master, fighting with spare time....
[Paid Software Announcement and Discussion] GPS Headunit:
Why do I need to restart my Android slave device every time I want to connect.
[Paid Software Announcement and Discussion] SLAB_8002:
Because you're using an alpha version of the app. Emil is working out the kinks for an eventual stable release, as detailed in his post immediately before yours.
[Paid Software Announcement and Discussion] rajackar:
Hey guys, does the aagateway app has any logging somewhere?

I followed the guide using an old HTC sensation as slave and the HTC U11 as master. On the master I do get the connected to your car notification but the car keeps telling me it can't connect and to check the settings. It's a car system from the volkswagen group (skoda superb III to be excact).
[Paid Software Announcement and Discussion] LLStarks:
(Will there be an interim code pushes to github?)

I used to have good results before AA 3.6, but it exacerbated my existing issues. The master is not always starting the head unit server as part of a flow. I also typically need to force stop the gateway and physically reconnect the slave for the USB realize what it needs to do. Also doesn't help that my Pixel 2 XL doesn't allow force stopping of Play Services if there's a remnant AA connection. I've never really figured out a good "leaving the car" workflow either.
[Paid Software Announcement and Discussion] bggold:
Is your pixel 2 xl rooted?
[Paid Software Announcement and Discussion] LLStarks:
My Pixel is my master. It and the slave are both rooted.
[Paid Software Announcement and Discussion] bggold:
You can use automate or Tasker to force close GPS. You can even create a widget. I have one setup for obd2aa for when it gets hung. It fc GPS and obd2aa.
[Paid Software Announcement and Discussion] Johan1976:
The command "echo 0 > /sys/devices/virtual/android_usb/android0/enable" does not turn off charging possibilities but only disables data part on USB connection, right?

Reason I ask is because my slave cannot charge anymore. Went down to 2% even if connected to usb. Turned phone off. Charging showed battery icon but it doesn't charge. Now phone is totally dead.

Assume it's something else but asked to be sure it's not related to messin with USB port.

Skickat från min SM-G950F via Tapatalk
[Paid Software Announcement and Discussion] m00n61:
That's correct, only data is switched on/off.
[Paid Software Announcement and Discussion] windraver:
Tried it on with a phone slave and it's amazing.

What are the pros and cons to using an Android TV Stick vs phone as slave? From implementation, it feels that the phone as slave stays on and thus doesn't require boot up.

I was trying to find either the smallest Android phone to run as slave or the smallest TV stick so I can tuck them away and minimize the risk someone would break my window for the phone or device.

---------- Post added at 03:11 PM ---------- Previous post was at 03:11 PM ----------

Tried it on with a phone slave and it's amazing.

What are the pros and cons to using an Android TV Stick vs phone as slave? From implementation, it feels that the phone as slave stays on and thus doesn't require boot up.

I was trying to find either the smallest Android phone to run as slave or the smallest TV stick so I can tuck them away and minimize the risk someone would break my window for the phone or device.
[Paid Software Announcement and Discussion] valhallen.282:
Quick and extremely stupid question can I use this on a phone with nogoogle apps?

I have an old Xperia L I intend to use to do this and putting even the most minimal gapps on it makes it crawl
[Paid Software Announcement and Discussion] rpgreentree:
Yes. I've used it on an old Alkatel with everything removed except aagateway
[Paid Software Announcement and Discussion] Crys73:
<Mod Edit>

Translation added

How can I start Android auto if not I open the application for what I paid if I'm sorry I want to refund thanks

Come posso fare per avviare Android auto se no mi si apre la applicazione per qual'è ho pagato se no mi dispiace voglio rimborso grazie
[Paid Software Announcement and Discussion] chrisonline:
Does anyone have also the problem that the Assistant does not work anymore if connected via AAGateway?

If I get a WhatsApp message and I tap on "play" button the WhatsApp message does not get read.

Also if I send a WhatsApp via Assistant it will not get sent. The assistant and the questions are working but after "do you want to send this message" it will not be sent.