yashsingh1/xdaforums huggingface dataset:
[Paid Software Announcement and Discussion] egomaniac76:
Doesn't seem to work

Master (M): Huawei P30 Pro, Android 10, latest update, 185

Slave (S): Samsung A5 2016, Android 7.0

Car HeadUnit (HDU) Suzuki SLDA by Bosch, under proprietary form of Linux OS, version 1860.1

Both phones unrooted, both connect fine separately by AA to the HDU, Samsung's AA connection goes berserk after installing AA Gateway and setting it up as default, even after uninstalling the gateway the only way to reconnect is to reset to factory default both phone and HDU.

With hotspot ON on the Sand M connected to it, doesn't work, M connects to the HDU by BT but not also by AA.

With wifi ON but no hotspot connections active, M connects to the HDU by BT, the AA icon does show on HDU but also the "Please confirm AA on your phone" notification appears on HDU. No initialization sequence for AA appear on M. When confirmation tick is pressed on HDU both BT connection and AA icon become unresponsive.

If cleaning cache for AA on M to force re-initialization procedure the notification does not appear on HDU screen, but neither the AA icon.

Seems I'm stuck...
[Paid Software Announcement and Discussion] sgibbers17:
Car: 2019 Kia Stinger GT1

Master: Oneplus 7t pro Mclaren t-mobile android 10

Slave 1: Oneplus 3 android 9

Slave 2: Oneplus 3t android 9

I have tried both slaves with a factory reset and get the exact same results

Master is running Pie or above and slave is tethering:

Running in root mode: (No) phone is not rooted

If running in non-root mode, is the splashscreen visible on the car: (No) I don't know what splashscreen you are referring to when I plug in my phone before I have tried this there was no splashscreeen that I know of.

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) I had manually start it

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?: (?) the app does not pop up and I can not tell if it is running in the background

Did the master connected to the slaves hotspot?: (No) The master will start and stop continuously every second till I open up the wifi app then will connect

Did the AA icon appeared on the master at all (in the notification bar)?: (No) I do have the AA head unit server running is in the notification bar
[Paid Software Announcement and Discussion] LLStarks:
Looks like I'm back to square one with my slaves. I'd like to downgrade my OnePlus One or Pixel 2 XL to an older version of Android. Which versions give the best result? 7.0? 7.1? Older?

I really don't want to lose doze functions. I need my slave to able to sit in the center console box for days and not die.

Edit: I guess it's the master then. The Wifi Launcher just doesn't react to anything.
[Paid Software Announcement and Discussion] JohnnyCanuck:
So, I ordered an MK809 on eBay. It was supposed to be a MK V with 5.1.1 and they shipped me a MK IV with 7.1.2. Does 7.1.2 have the same issue as Emil identified with 7.1.1? If so, I assume I can downgrade the OS version to 5.1. Does anyone have a quick link to it or a suggestion on the best method?
[Paid Software Announcement and Discussion] josan1990:
What is most important for it to run smoothly? Ram? CPU? Both? Android Master version? Android Slave version?

I want to buy a PI for testing and depending on what I need I can buy one or the other.

Maybe Raspberry Pi 4B (4gb) for example?
[Paid Software Announcement and Discussion] epsonix:
can somebody assist me regarding TV stick setup/way - all the info in post #2571. since then I got bit of progress as USBA -USB A cable arrived and and I seen bit of life out of master/slave - mean that HUR hotspot was created on slave and master connected automatically into it. Aside of this not much happens.

I see message from slave that Super user permissions have been granted to AAGW. Icon for AAGW re-appeared in apps list, so I played with non-root mode and DPI, but in such mode nothing happens when I plug my slave to the car USB (and set master BT from the list on slave).

ANy hints? Do I need to convert to system app to get it working?
[Paid Software Announcement and Discussion] Jainyankee1993:
So, just tested in my Civic, and works flawless. No stutters, and its def less laggy than it was on wire. Very happy with GateWay app, and the flows!! Thanks guys! Also, I granted superuser access to the AAGateway app, and the flow still does its job :good::)
[Paid Software Announcement and Discussion] Salkod:
I am happy that it worked with you :good: :highfive:

I've noticed that when I grant it superuser permession it sometimes stops working after a few boots, if that happens just uninstall AAgateway and reinstall it and this time try denying it permession.

but if it keeps working this way then congrats :cool:
[Paid Software Announcement and Discussion] nencio92:
Can I ask you which kind of dongle are you using?

Thanks
[Paid Software Announcement and Discussion] zsamson:
I'm going to try this method and deny it super user access. I'll be reporting back. Did resetting the stick make you lose root?
[Paid Software Announcement and Discussion] Salkod:
No you don't lose root
[Paid Software Announcement and Discussion] zsamson:
Thanks, did you disable Google Play Services after the reset or you left it as is?
[Paid Software Announcement and Discussion] Salkod:
Left it as is
[Paid Software Announcement and Discussion] zsamson:
And just confirming install automate/flows before installing AAGateway and then opening once and deny it superuser access? Or should AAGateway be setup before Automate?
[Paid Software Announcement and Discussion] Salkod:
It wouldn't matter as long as it's all set before connecting to car.
[Paid Software Announcement and Discussion] chintuvishnu:
Ok its my turn :

HTC desire 601 : Slave

Pixel 2 XL : Master

Automated app launch and wifi hotspot using macrodriod.

Macro: Car bluetooth connected wifi hotspot on, car bluetooth disconnected hotospot off, wifi enabled.

Today I stepped in to my car and AA automatically launched and worked flawlessly. No stutters or anything. Pocketcasts worked like a regular usb connection.

Have a good well deserved vacation. Thank you very much.
[Paid Software Announcement and Discussion] zsamson:
I'm getting the "No defaults set for Android Auto USB" in AAGateway."
[Paid Software Announcement and Discussion] Salkod:
That's normal press ok and close it
[Paid Software Announcement and Discussion] Jainyankee1993:
I'm using the MK809 III running 5.1.
[Paid Software Announcement and Discussion] swasha123:
Is it possible to make such Automation for Rooted Phone (Slave).. and can you?

Thanks in advance

---------- Post added at 05:11 PM ---------- Previous post was at 04:53 PM ----------

Guys, I have strange problem. Whenever I use voice function for calling, google assistant saying whenever safe (park), I can use call.

So I can't call by voice function..
[Paid Software Announcement and Discussion] zsamson:
I still can't get it to come up on my car radio. I don't know why it won't work for me. The only way I've been able to get this to work is by using another phone as the slave. Just can't get this stick up and running. I've done two fresh resets and followed every direction. I don't think AAGateway starts up for some reason. I've confirmed the stick is connected to my Hotspot and the USB setting works watching it on a TV when it boots up but I think after that something is going wrong. Also AA Head Server running, USB debugging enabled. I don't think I'm missing anything?
[Paid Software Announcement and Discussion] swasha123:
Can someone make tasker profile for disabling/enabling USB port.. for phone

Following link is about that only. But I could not get it..

https://www.google.co.in/amp/s/xdaforums.com/nexus-4/general/disabling-usb-security-t2180404/amp/
[Paid Software Announcement and Discussion] bggold:
I posted the flows for auotmate if you are interested. It is a very easy app to use.
[Paid Software Announcement and Discussion] chinaa108:
[MENTION=5437072]bggold[/MENTION] Thanks for the flows and most importantly the time taken. The flow file in automate is not working, It says flow was created on a newer version. I am using 1.11.3. Please if you could show us a photo of the flow that would help. Thanks in advance
[Paid Software Announcement and Discussion] bggold:
You are quit welcome. Had fun figuring it out. Since I implemented it last night I have been on the road about a dozen times and each time it has started right up.

Here are the pictures of the flows.
[Paid Software Announcement and Discussion] zsamson:
Are these flows only meant for phones or the Android TV sticks too?
[Paid Software Announcement and Discussion] NYZack:
I don't think a Raspberry Pi (which is not, generally speaking, an Android device) would work easily, though I believe the dev is working on a version that involves a Raspberry Pi. Apart from the Android issue, I doubt a Raspberry Pi would handle sudden power cutoffs gracefully.
[Paid Software Announcement and Discussion] josan1990:
Power in microUSB, and USB to connect to CAR... no?
[Paid Software Announcement and Discussion] lancer1991:
Went back and wiped the slave and rooted it again to try things all over. Now I can't seem to get it to do anything. My master will show at times I'm connected but nothing is on the headunit. I also get times when I try and run the master as the hotspot that the slave continually starts and stops wifi until I unplug the USB. Plugging back in it will go back to cycling. Only way to stop it is to reboot the slave. Should I look into trying an older Beta? Never was able to get the non-beta to work.

Also, is it normal to get the slave to ask like four times in a row to confirm MTP on the USB? It's not all the time, but occasionally does it. I've registered the initial connection popup with AAGateway so I don't receive that alert anymore, but get the other USB alerts.
[Paid Software Announcement and Discussion] ci6i:
I've tried with 7.1.2 tv stick but got no response from the car headunit, however got it working with a Xiaomi phone with Android 7.1.2.

Don't know how to downgrade or even if it's possible because there are a lot o versions of these sticks and found few tutorials but sticks from images/videos were different than mine. I guess you need the right chipset for the proper image to flash but it's risky.

Tried with an Android 9 Lineage-16.0-20200212-UNOFFICIAL-KonstaKANG-rpi4 version for Raspberry PI 4 - 4GB but no luck. I want to try again with another USB A to USB A cable on this weekend. I saw the dev said usb is working on this version and my cable is a old one.
[Paid Software Announcement and Discussion] NYZack:
You're going to include a power source other than the car in the setup? And you have an Android distro to load on the RP? I am skeptical; I suspect the dev wouldn't be working on this if it just worked out of the box.
[Paid Software Announcement and Discussion] bkkzak:
What kind of car / headunit do you have?

---------- Post added at 09:15 AM ---------- Previous post was at 08:24 AM ----------

I think we have the same car, but I can't get this to work with my headunit so I wanted to double check what your setup is. I have a 2018 Jeep Grand Cherokee with Navigation, so I believe that is the Uconnect 8.4 model headunit. Is yours the Uconnect 8.4 with Nav?

Also, looking at your previous posts, am I to understand that you were not able to get this to work at all using a phone but you were with a TV stick?

Can you explain what your phones you were using and what didn't work, then what you had to do to make it work?

After trying multiple versions of AAGW and android on my slave, I'm wondering if AAGW is more headunit dependent than necessarily slave/ master versions, so since we seem to have the same headunit I'd love to hear how you made it work.

Car/Headunit: 2018 Jeep Grand Cherokee with Navigation (Uconnect 8.4)

Master: Samsung Note 10+ with Android 10

Slave: Nexus 6P with Android 6.0.1 (I downgraded to an early version of stock firmware after the Android 9 custom rom I had didn't seem to work)

I'd prefer case 1/2 (tethering from slave) to work, but would settle with case 3 if that is the only option

I know this is a lot to ask, but would really appreciate if you could help by providing more context to what worked for you. Thanks!
[Paid Software Announcement and Discussion] josan1990:
I finally got it to work!

Slave: Xiaomi Redmi Note 3 Pro (Lineage (6.0.1))

Master: Xiaomi Mi Mix 3 (Android 10)

Working!!!

Now I have another problem, I've seen that it works, but the moment it connects if 5 seconds pass without pressing the android car icon in the car, it disconnects...
[Paid Software Announcement and Discussion] pflarini:
I have a Jeep Renegade, uConnect 8.4, without nav.

I tried 3 or four slave cellphones (Motorola G5, Motorola E2..) but I got parcial functionality (working sometimes, sometimes don't).

When the stick arrived I just install 2.0.8 aagw version on it and setup to connect to master hotspot and copy to system folder.

First I make sure that master is working with cable.

After that I plugged stick in the car, and works, about 50 or 70 seconds after entering the car.

For the first time I suggest you close your car and wait a minute to it turn off all power to the usb connector.

I can send you a video of it working, if you want.
[Paid Software Announcement and Discussion] techied:
Ok so I've been using this for a couple days, and although it works really well once it connects (my only slight concerns being audio delay, and some very minor cases of audio dropping out for a few seconds, which smooths out over time), it is nearly impossible to get it to connect.

I am using a Nexus 7 2013 (flo) with rooted Android 10 as the slave and a Galaxy S8 with unrooted Android 9 as the master.

Whenever I turn on the car, one of a few things happen

1. The hotspot turns on too slowly and when the master's BT connects, the hotspot isn't visible by the master and so I have to manually connect

2. The USB 'resets' on the slave after AA is available in the car (within 15 seconds or so), which forces me to start all over again

3. Even though the master connects to the slave's hotspot somewhat reliably, AA doesn't start.

4. The system connects successfully.

Because there is such a low chance of #4 happening, this results in a loop of me unplugging/replugging, switching BT on and off, disconnecting WiFi, etc for up to 15 minutes after I get in the car to try and get this to work.

Anyone have suggestions to make this more reliable?
[Paid Software Announcement and Discussion] brooc:
Wifi Launcher or Android Auto is crashing

I reinstalled Wifi Launcher and gave it permission to get my location all the time and when it detected the Bluetooth device in my car it started and connected to the slave's hotspot.

I saw something flash on my screen and the the wifi icon related to Wifi Launcher was gone.

I suspect that the app crashes when it tries to open Android Auto or AA itself is crashing.

How would I gather some logs to try to identify what is happening on the master?
[Paid Software Announcement and Discussion] IlD4nX:
I have the same issue here
[Paid Software Announcement and Discussion] sibesaver:
Same issue. Consistently works with tasker profile though.
[Paid Software Announcement and Discussion] Buckers1313:
Has anyone gotten a Hyundai Kona working at all? Was trying without root and then ended up rooting my Moto X (1st gen) and still nothing. Just want to see if anyone else has success because the car has never detected it.
[Paid Software Announcement and Discussion] brooc:
Can you describe what you've done to get it to consistently work?

I assume Tasker is and automation app, but how does that make a difference and what would one have to do to manually get it to work.

If I can get it to work manually somehow I would figure out automation later. Right now I haven't been successful at getting the master to show up wirelessly on the head unit through the slave at all.
[Paid Software Announcement and Discussion] smoki3:
Emil should Push 2.06 to xda hub.

Seems this version worked for the most. Same for me. 2.08 breaks everything
[Paid Software Announcement and Discussion] brooc:
Is there an ETA of when that will happen?

Can someone share a link to that version if that exists?
[Paid Software Announcement and Discussion] sibesaver:
I will but currently traveling on the weekend. Will try to do this Monday.
[Paid Software Announcement and Discussion] epsonix:
[MENTION=842765]Emil Borconi[/MENTION]

Any chance you share all 2.0.x versions on XDALabs so people can try various - most get more lucky with earlier versions.

Also, coudl you please write separate instructions on how to setup with TVStick - I'm confused by generic description - e.g. do not know when shoudl I convert to system app (And how), and I do not understand what you said here:

- can you review the text please.

ANy clue on my issues - case 2 seems to work a bit - so HUR hotspot was automatically created and master connects to it. I got prompt on slave regarding allowing root, see now toast message that such was applied, but aside nothing work. I have the same tv stick (bought from the same link/seller from aliexpress) as some other user here who got success.
[Paid Software Announcement and Discussion] josan1990:
I don't know why, but it makes a mini-reset of the usb.

I have tasker, when I lose power activate the airplane mode and not consume battery, when I connect I see after 10-15 seconds the airplane mode is activated and again quickly deactivated, I have the feeling that the unit tries to change the control of the USB and loses the connection for a second (the access point is also deactivated).
[Paid Software Announcement and Discussion] techied:
What Tasker profile are you folks using to get this working reliably?
[Paid Software Announcement and Discussion] josan1990:
I created the profile myself.

When the phone is not charging (I close the car):

- Battery mode: Energy saving

- Airplane mode: ON

When the mobile is charging (I open the car):

- Battery mode: normal

- Airplane mode: OFF

AAgateway does the rest
[Paid Software Announcement and Discussion] sibesaver:
My setup is working at 100%. I've used Waze, Maps, Spotify, YouTube Music, and Emil's CarNotifier app.

Case 1

AAGateway ver 2.0.4 (nothing later worked)

Master Pixel 2XL non rooted Android 10 latest

Slave Pixel non rooted no sim Android 10 latest

Head unit Kenwood DdX9704s

Tasker in place of HUR Wifi Tasker profile.

Tasker setup triggered by bluetooth connection to headunit when car starts.

Profile:

1. Variable Clear - %hotspotipaddr

2. Run Shell - ip route list match 0 table all scope global | awk 'NR==1{print $3}

Store Output: %hotspotipaddr

Store Errors in: %stderr

Continue Task After Error: - Checked
​

3. Send Intent - Action: com.google.android.projection.gearhead.START_WIRELESS_PROJ

Cat: Default

Extra: PARAM_HOST_ADDRESS:%hotspotipaddr

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: - Checked​

4. If - %hotspotipaddr !SET

5. Goto - Action Number 1

6. End if

Hope this helps those asking about tasker as a replacement for Wifi HUR. Also I tried AAGW versions 2.0.5 thru 2.0.7 and had little to no luck.
[Paid Software Announcement and Discussion] IlD4nX:
Can you also share the 2.04 version please ? (maybe via PM...)
[Paid Software Announcement and Discussion] sibesaver:
Emil might have older versions if you email him, not sure his availability though. Since the app download is on my slave with no SIM I'll need to be at home so I can pull it via Wifi. I'll try to PM you if I'm successful.
[Paid Software Announcement and Discussion] josan1990:
As far as I can see, just when the Master connects to the slave and the car recognizes Android Auto, the application closes (this turns off the access point and the car loses the connection with AA) and starts again quickly, the access point gets up again but AA doesn't connect anymore, I have to turn the bluetooth off and on and most of the time it doesn't connect.
[Paid Software Announcement and Discussion] bretthalliday08@gmail.com:
Phone calls

How are calls handled using this setup?
[Paid Software Announcement and Discussion] brooc:
Same here. Seems that the root cause here is the AAGW version. Please share the working version through PM or however makes sense.

It would be good if Emil could figure this out or make the older version of the app available in the app store.
[Paid Software Announcement and Discussion] techied:
Thanks. Will give this a shot. I assume the profile runs on the slave, and set WiFi to autoconnect on master? Or should I leave WiFi launcher on master?
[Paid Software Announcement and Discussion] sibesaver:
Tasker runs on the master without Wifi Launcher HUR.
[Paid Software Announcement and Discussion] techied:
Can you describe the slave setup? Slave still has AAGateway?
[Paid Software Announcement and Discussion] sibesaver:
Yes the slave just has AAGW. I had to create the Hotspot called HUR with the pw of AndroidAutoConnect (not sure the naming matters since I replaced Wifi launcher with Tasker. Set the master to autoconnect to wifi on slave and set Android system setting on master to use Data when wifi has no internet.
[Paid Software Announcement and Discussion] epsonix:
please share me this version as well. thx
[Paid Software Announcement and Discussion] josan1990:
I did another test, same result.

I tried another slave phone.

I plug in, turn on the car, the AP is activated, the master connects to the slave's AP, I start, the bluetooth connects to the car and AA is launched, if I don't press on the car to open AA, AAGateway closes (apparently) and the AP is deactivated by activating the slave's normal wifi, and I lose AA.

However, if I just push the AA icon in the car, it opens AA in the car and the connection is stable and without problem, but if I push it out in the car, it closes the connection again.

Car problem? AAGateway problem?

If its possible, please share version 2.0.4
[Paid Software Announcement and Discussion] brooc:
Is this the Tasker app: https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&hl=en_US

It does seem like the issue is with AAGW and not the automation... So as soon as I can get my hands on AAGW version 2.0.4 I'll try getting this to work again.
[Paid Software Announcement and Discussion] sibesaver:
Yes. I'm currently working on getting the APK. I hope it's the right version I have installed,
[Paid Software Announcement and Discussion] josan1990:
Mail sent :)
[Paid Software Announcement and Discussion] techied:
Tasker profile in link form to add it quicker.

Edit: Just adjust the trigger to include your car's BT name
[Paid Software Announcement and Discussion] brooc:
Thank you!
[Paid Software Announcement and Discussion] josan1990:
OK, instaled 2.0.4 version in Slave, import profile in tasker, write the name and the MAC Addr of the CAR BT, then, when car Start, projection start?

In Slave, whats options ON? Default? start tethering?
[Paid Software Announcement and Discussion] sibesaver:
Start tethering. Masters Bluetooth.
[Paid Software Announcement and Discussion] josan1990:
Thank you, I'll try my luck tomorrow and let you know.
[Paid Software Announcement and Discussion] techied:
Tried the Tasker profile, doesn't seem to work. Won't start projection for me. It grabs the IP fine (I added a toast) but no AA ever starts.
[Paid Software Announcement and Discussion] sibesaver:
Bummer. I would think if the class and the package are entered correctly it should work. This thing seems so device dependent though it's really tricky to get working, I think I got lucky.

---------- Post added at 12:31 AM ---------- Previous post was at 12:28 AM ----------

Just a guess. have you tried deleting all cars from within Android Auto and resetting up the slave connection?