yashsingh1/xdaforums huggingface dataset:
[Paid Software Announcement and Discussion] -Loom-:
MK809V_4K

Emil mentioned in the FAQ that you can disable most of the packages.

Q. Can I decrease boot time for TV Sticks/Phones by removing all unrelated software.

A. Yes, actually quite a lot. Once you have your configuration ready and everything is working as expected, you can uninstall/disable all packages beside this ones:

package:android

package:com.android.apkinstaller

package:com.android.providers.settings

package:com.android.packageinstaller

package:com.notriddle.null_launcer (or any other launcher, but NULL launcher has no memory consumption, no app drawer no nothing, perfect for headless - see: https://github.com/notriddle/null-launcher )

package:com.android.inputmethod.latin

package:com.android.settings

package:uk.co.borconi.emil.aagateway

package:com.android.shell

package:com.android.systemui

I tried that on my MK809V_4K stick yesterday. To disable most of the system apps, you need to enter "adb root", otherwise you cannot disable thesee apps.

But be extremely careful, I disabled all packages exept those listed, but the system was in a bootloop and not accessible anymore. Luckily I made a system backup before. If you need some help doing this, just PM. It's much harder then using TWRP on a smartphone.
[Paid Software Announcement and Discussion] TheCondorITA:
Master is running Pie or above and slave is tethering:

master: xiaomi mi note 10

slave: huawei p10 Lite, lineage 16, rooted.

Running in root mode: Yes

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

but the headunit doesn't recognize any android auto device connected, moreovere AAGateway crash and relaunch.
[Paid Software Announcement and Discussion] Humaid.r:
Since you are using an Android head unit, then you need to check this thread.

https://xdaforums.com/general/paid-software/android-4-1-headunit-reloaded-android-t3432348

See how I did it here:

https://xdaforums.com/showpost.php?p=82027825&postcount=4988
[Paid Software Announcement and Discussion] slv96:
Hello,

Very nice project, congratulations!

Which slave device do you recommend today? For me in Italy it's impossible to find and buy a MK809V TV stick. My budget is approximately 50/100 USD
[Paid Software Announcement and Discussion] IlD4nX:
Hey mate, if you have an old phone you can use that one... I'm using a OnePlus 5 as slave and a op7 pro as master and I'm working with Emil to try to solve the issue I have with this config.

Otherwise the op is working also on a complete solution so if you don't have an old phone you can wait for that.

Cuao,!
[Paid Software Announcement and Discussion] misiekm73:
Need help.

Master - Samsung Galaxy S20 Ultra - Android 10

Slave (not rooted) - Samsung Galaxy S8 - Android 9

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: (Yes) - I can see Android Auto logo in my car entertainment, but AA is not starting on master

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

Slave connects to car entertainment system as Android Auto. Slave connects via wifi to master, but AA is not starting on Master and I do not see splashscreen of AA. I can see only information that AA is connected, but can see only Black Screen instead of map etc.

When I start manualy AA on Master I can see it on master screen, but nothing happens on car screen
[Paid Software Announcement and Discussion] bggold:
If you have automate and root setup on the stick I do not see why you couldn't use them.

The only issue I see is will the USB get recognized before the boot complete script kicks in to disable since the sticks seem to have to boot each time.

Try it and let us know.
[Paid Software Announcement and Discussion] zsamson:
I'll try these and see. What method are you using to setup AAGateway? Are you giving it superuser access or denying?
[Paid Software Announcement and Discussion] bggold:
I gave it su. Not sure if it is really needed. I guess I can denie it in magisk and see if it still works.

Will wait a few days until I know it has not been pure luck that it has worked each time.
[Paid Software Announcement and Discussion] starslicer:
Well so far I've used my Samsung S6 as a slave with an S8 master with success. Slave has to be powered up and connected to the master though before I plug it in or it is a disaster. I have an MK809 IV with the automation on it. I can't see what it's doing though without an HDMI monitor in my car which I haven't done yet. All I know is, it doesn't work and it is probably hanging up on flow B somewhere. Because I can watch flow A complete on my TV in my apartment. Sometime I'll grab a monitor and bring it to my car. I have a feeling I'll need to have the MK809 IV powered up and connected to my master before I plug it into the car though which is tricky in an automobile because the USB port usually powers and receives data from the device. I do have a 120v outlet in my back seat though I can use to test that theory when I get to it.
[Paid Software Announcement and Discussion] bggold:
You might be able to use the flow I posted on that stick. It still supplies power just turns off data.
[Paid Software Announcement and Discussion] starslicer:
Oh I see you made a couple more for USB functions. Do they have to be in any particular order in regards to flows A and B from before?
[Paid Software Announcement and Discussion] bggold:
I'm sure you will have to modify all of them to work.

One of mine disables USB after boot completes.

This is one I am not sure how it will work on a stick since it will boot everytime. My phone has enough battery to stay on for days.

The other one enables USB when it is connected to the hotspot ssid and disabled it when it is disconnected from the hotspot ssid.

You might have to take part of a and b and add them to mine.

I am not using a stick so a and b do not apply to me.
[Paid Software Announcement and Discussion] starslicer:
Ah yeah that was Solkad who had the other ones. You guys must really like these flows.
[Paid Software Announcement and Discussion] SLAB_8002:
Does anyone know if there is a Tasker action or script that will set the "Connect to PC" setting? Looking for a little more elegant way to turn that setting on each time the stick boots. I'm surprised that it's so hard to do, even with root access.
[Paid Software Announcement and Discussion] bggold:
Take a look at the commands I found for disabling USB and do a Google search on that. I thought I ran into an article on that last night. You could issue a shell command with su.

---------- Post added at 12:57 AM ---------- Previous post was at 12:54 AM ----------

Another though I came up with you might be able to set it in the prop file at boot.
[Paid Software Announcement and Discussion] zsamson:
If anyone is looking for a simple way to turn on your phone's Hotspot when connecting to your car's Bluetooth there is a free app called Hotspot Automatic. You may have to join the beta on the play store but it's working on my Pixel XL running Android 9 DP4 so I would imagine it would work fine for people running Oreo as well. This is a much easier solution then trying to use Tasker or Automate.
[Paid Software Announcement and Discussion] swasha123:
[MENTION=5437072]bggold[/MENTION], great.. thanks for your efforts.

But I cant import profiles saying flo created using newer version:74

In Automate App.

Could u pl guide.. tried Playstore and apkmirror latest versions.

Update- I think, need premium version??
[Paid Software Announcement and Discussion] bggold:
Sorry about that guys didn't realize they were version dependent. I run his beta.

There is a post a few back with pictures of them. The commands are in my first post.

Let me know if you have any issues.
[Paid Software Announcement and Discussion] jeromeo01:
It's not working anymore.

My USB connection reset to charge only everytime it try to establish connection with hu... ??
[Paid Software Announcement and Discussion] lyrical1278:
I've been using Carspot Hotspot... Turns on my tether Everytime my Pixel 2 XL connects to the Bluetooth of my radio...

I'll also share this tip I picked up in this thread... After 10 minutes, I would lose my AA connection. I grabbed my slave (Moto G4) and turned off battery optimization for Gateway.

Haven't had a single issue since
[Paid Software Announcement and Discussion] chinaa108:
Thank you once again for this. I downloaded the beta and its all good!
[Paid Software Announcement and Discussion] Jaihoidundso:
Hey I read some sites on this thread. Is it right, that the MK809 IV is the best stick for trying? I see some sticks of this. One with 2GB RAM and Android 5.1.1 and some with 7.1. Is it better to take the one with 7.1 or should I buy the one with older android? 1GB RAM is to less right? Shipping takes 2 weeks.
[Paid Software Announcement and Discussion] swasha123:
---------- 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..[/QUOTE]

Update-It was some permission related issue. On phone, for all google apps had contact permission..

But still tried calling function in Google Assistant on phone.. it shown some more permission and accepted and Ok.

No problem now. Not related with this AA wireless app
[Paid Software Announcement and Discussion] wowzors:
Do you need to setup the stick to connect to the master before attempting it in the car? As in does the stick have to know the SSID and password before I plug it into the car.

I have already installed AAGateway and Automate along with the two flows and given everything root access and denied AAGateway root access.
[Paid Software Announcement and Discussion] Sn4pdragon:
Start head unit server

I’ve gone through all the comments, but can’t find an answer so maybe I missed it... I’ve managed to get it working but want some confirmation - do I need to run Android Auto and then go into “about” then select “start head unit”, everytime. I know I could leave it running but sometimes it gets closed (e.g. when i restart my phone), other than rooting the phone is there a way to get it to continually run when it creates the hotspot?

Also I use Llama for automating, if you want to try an alternative.

Thanks
[Paid Software Announcement and Discussion] falcon470:
lag tips if possible

so i finally got this to work but lag is terribiile mabey some one knows a fix for this galaxy a10 e slave and galaxy s9+ master i had to run hotspot on the master and manually connect it wouldnt do any thing until i selected usb configuration transfering images on the slave then boom it fired right up

but the lag i have an after market radio with wireless android auto as well but alas no kit for my car as of yet to install it mabey in a few months im really hopeing some one knows a way to cut down on most if not all of the lag no more buying devices for me only with what i currently have thanks for any

help your able to give
[Paid Software Announcement and Discussion] johnjr085:
Hello,

I'm having some trouble getting AAGateway to work and I'm hoping someone can help me out.

My master is a rooted Google Pixel 2 XL running Android 10.0, my slave is an also rooted MK809V TV stick running Android 5.1.1 with AAGateway 2.2, and my vehicle is a 2016 Ford Mustang.

I followed the instructions here on this thread. Here's exactly what I did:

1.) Paired the phone and TV stick in Bluetooth settings.

2.) Installed AAGateway on the MK809V stick and converted it to a system app upon first launch.

3.) Enabled the start tethering option in AAGateway

4.) Selected the master's Bluetooth MAC in AAGateway

5.) Installed WiFi Launcher for HUR from XDA Labs on the master (Pixel).

6.) Set location permission for WiFi Launcher to Always

7.) Selected the slave (TV stick) in WiFi Launcher and exited.

8.) Went out to the car, plugged in the TV Stick USB, and started the car.

9.) WiFi Launcher on the phone starts and connects to the TV Stick's hotspot automatically, and the phone says it's connected to Android Auto! (But it does not show up on the car's head unit)

10.) After about 5 seconds, the phone loses connection to the TV Stick, and then eventually reconnects again, says connected to Android Auto, then loses connection after 5 seconds, reconnects, and it loops like this over and over.

Android Auto never actually shows up on the car's head unit at any point...

If you could help me out here and tell me where I might be going wrong, I'd really appreciate it!

Thank you!

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: Running root mode

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

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?: NO (the instructions say to select the slaves BT in the wifi launcher app...

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, but then disconnects after about 5 seconds, and eventually reconnects, then disconnects again (loops like this over and over)

Did the AA icon appeared on the master at all (in the notification bar)?: YES, but then disappears when it disconnects as stated above.
[Paid Software Announcement and Discussion] pflarini:
Same problem here. Over and over.
[Paid Software Announcement and Discussion] -Loom-:
I had my share of problems with using Wifi Launcher aswell, but since I used Macrodroid routines, at least I get a stable connection. You'll find lots of profiles in this thread.

---------- Post added at 21:58 ---------- Previous post was at 21:53 ----------

If anyone is using the MK809V: Is it incredibly slow only on my side? When entering the app drawer, the fading is very slow, and when music is playing in the background, it stutters during this time. Also when Google Maps is running and moving the map, I get audio stutters all over the place. I'm just curious because Emill stated that it should be a running well with this device.

But my biggest problem: My headunit (VAG MIB 2,5) reboots all the time. Mostly when a spotify song is over and a new one is about to begin. The screen hangs for about 10 seconds, doesn't react, and then the whole headunit reboots.

I happens with both of my two slaves. No matter if using tethering or not. I tried Wifi at 2,4 and 5 Ghz, I tried 6 different cables. Nothing helps. No problem when using the master directly with a cable.

I'm pretty clueless at this point.

---------- Post added at 22:11 ---------- Previous post was at 21:58 ----------

I would gladly like to help, but ...

Could you please reformat this so that it's actually readable? A few punctuations and paragraphs might also help ;)
[Paid Software Announcement and Discussion] schlotboeller:
Hi,

5. in WifiLauncher you MUST select the car unit BT!
[Paid Software Announcement and Discussion] SOFO888:
[MENTION=842765]Emil Borconi[/MENTION]

Do you have any news for the dongle?

Can't wait to have it in my hands.
[Paid Software Announcement and Discussion] MrMaster:
Since I already have a Orange Pi Zero Plus2 H3, would it be possible to help out in testing the system in my car?

I have a Ford Mondeo Mk5 with a Sync 3. Never really got it working with a slave phone, but didn't really try that hard either tbh...

Anyways, really looking forward to the day we can buy a complete product, and if I can help in any way please let me know!
[Paid Software Announcement and Discussion] dymeq23:
Which sentense is true? In instruction I see:

Nothing about select car unit BT.

Where I should select car BT unit? In salve or master?
[Paid Software Announcement and Discussion] saspo59:
Car BT u select at wifilaunchre app that u installed at master fhone.
[Paid Software Announcement and Discussion] dymeq23:
In master should I choice car BT and slave BT or only car BT?
[Paid Software Announcement and Discussion] xsatquest:
Don't hold your breath, waiting for this software to ever get to a "stable" version.

It has been almost 2 years since he first posted about this, and not a lot have changed, this product is still very much at alpha stage.

I really hope that google will at some point make an inexpensive "chromecast" like device that will actually do what it seems this author will never really finish.

With the progress over time on this project it seems that this project will reach 100% completion in a year, so distant in the future, that at that time, the whole windscreen of the car will be the display, and cars can fly by themselves.
[Paid Software Announcement and Discussion] SOFO888:
[MENTION=4787769]xsatquest[/MENTION]

I strongly believe in Emil. He will finish a device with wireless Android Auto :)

Let's motivate him :)

[MENTION=842765]Emil Borconi[/MENTION]

Can we support you somehow? Let us know....
[Paid Software Announcement and Discussion] -Loom-:
I think that's a little to hard on Emil. He has to deal with what is given: a multitude of hundreds of different phones splitted in several Android versions in combination with headunits that weren't originally designed for such a task. Regarding all this, Emil has come up with a facinating project, but in the end it's nothing more like a hack. I would be glad if it had worked for me, but I won't blame Emil for this.

I also hope that Google comes up with a simple device. I really wonder why they haven't already.
[Paid Software Announcement and Discussion] arvar1:
Having trouble connecting to Master and maintaining connection to headunit

Hello fellas,

need help/troubleshooting;

my scenario

slave - HTC 10 with crdroid 9.0 custom rom installed.

- aagateway installed

Master - Oppo R17 pro (colourOs)

- installed wifi launcher (configured to both the slave and car Bluetooth to start the app)

Car - Rav4 2020 model (JBL factory Head Unit)

so the issue i am having is when i connect the slave to the headunit, it connects, aagateway does come up with "connection established", master gets active and after few seconds the android auto gets disconnected.

i have tried running the "auto server" on the master and thats not made any difference.

need help and stuck with no ideas to do what next.
[Paid Software Announcement and Discussion] Emil Borconi:
As some of you asked for updates and since I haven't updated for a long time....

Code bit is done by [MENTION=6197810]Sniro[/MENTION]p now as my Linux/C++ skills are not up for the tasks, this is the update from him (yesterday):

I did a bit of work. I'm not yet done with the refactoring, still have to finish a few bits. Probably will take half a day off again friday, because I have way too little time to work on it these days.

Will be continued...

We used AASDK (the one from OpenAuto) in the beginning but it turned out it is not something usable for this project so he had to refacto a lot of code, latest commit on the code was 16 hours ago, so work is still ongoing on this. Both [MENTION=6197810]Sniro[/MENTION]p and myself feel we are 90% there but getting the missing 10% is much harder then doing the 90%. Project is DEFINITELY not off.

For the Android version of the app, as some pointed out way to many variable and many which can't be controlled, hence going to Linux, instead of Android with the board. To be able to "fool" the car you need to have control over USB, to be able to "fool" the phone, you need to present the slave as a handsfree device, with a special service which includes Android Auto description. The second bit is impossible on Android, hence the need of WiFi Launcher on the phone, the first bit, requires ROOT and won't work on all phones/roms. Some cars can be "fooled" more easily in which cases root on the slave is not required, some can't.

I will like to stress out again, if you need any help please email me and I will support you. I saw some report when everything seemed OK then the device got disconnected, sadly I haven't received follow up from the users making it difficult to fix bugs.

Lockdown have been slightly eased here, so I'm back in office, which helps a lot as trying to work from home with 2 kids in the house, it's like trying to run underwater... I will try to update you regularly with how things are going on with the Linux development, and as said will try to fix issues for those who can't get a connection between the slave and master. Currently on my test devices I can get this to connect as expected so I will need to see bug reports (with follow ups) from those where this is not working as expected.
[Paid Software Announcement and Discussion] LLStarks:
Thanks Emil.

Finally ordered a MK809V 5.1 stick that ships from within the US, Czech, or China. The US plug version is also back in stock in case you are morally opposed to EU plugs.

https://www.aliexpress.com/item/4001039282530.html
[Paid Software Announcement and Discussion] xsatquest:
I HOPE he does.....But i dont believe that he ever will...Not with the progress over time until now.

---------- Post added at 07:12 PM ---------- Previous post was at 07:05 PM ----------

Harsh....Well, sometimes the truth is a bit harsh.

Regarding the "many devices" he could have cut down considerably, by choosing to develop on one piece of hardware.

One radio....One dongle and one phone.

Get the basics right first....

Had he decided to only develop for one type of android dongle, instead of trying to get it working on any phone as the dongle would have cut down development time.

If google makes a dongle they will probably need multiple people for a "long" time and they even have access to the protocol of the android phones, so it might be unfair to expect that one guy in his spare time, will be able to do this.

All i am saying is that i dont really believe in this project anymore....Just the catching up, every time there is a new android version out, that might need tweaking, will mean that this project will never be finished or even put into something that works on the majority of devices.
[Paid Software Announcement and Discussion] WilcoSnel:
Tnx for the update. I'll try to get a new bug report in soon to provide some extra data.

For now could you update the OP as there is a mistake in it. See bold below.

MASTER SETUP

CASE 1: Master is running Pie or higher

Install WiFi Launcher for HUR (https://labs.xda-developers.com/stor...launcherforhur or https://play.google.com/store/apps/d...launcherforhur)

Make sure WiFi Launcher is version 2.1 or higher!!!

Open WiFi Launcher

FOR Android 10, set permission location to ALWAYS!!!!!!

Select slaves BT from the BT list and exit

This should be Select car's BT from the BT list and exit. As no one else can change this I thought I'd ask you :P

Then new users might bug you less as they won't be using an incorrect guide anymore ;)