yashsingh1/xdaforums huggingface dataset:
[Paid Software Announcement and Discussion] Emil Borconi:
Anything should do, the problem is that market is very different in US compared to UK. This is the one I use in the demo: https://www.ebay.co.uk/itm/MK808B-P...e=STRK:MEBIDX:IT&_trksid=p2057872.m2749.l2648

Probably this will do: https://www.ebay.com/itm/MK809IV-4K...963830?hash=item3fa4fcb276:g:MLsAAOSw2idbLonY however it's quite difficult for me to search from here, because bloody Google is location sensitive and it's returning all the UK results.... sure I can do a proxy, vpn or what not... but...

General rule, anything running Android 3.0 or higher, can be powered using the otg port (most will do) and do have a Wifi....
[Paid Software Announcement and Discussion] billa:
You can try this link with the country modifier (US), it may or may not work from UK but worth a shot. ;)

https://www.google.com/?gl=us&hl=en&pws=0&gws_rd=cr
[Paid Software Announcement and Discussion] xchgre:
I have a few custom apps, whitelisted in the .db, those apps will work with aaGateWay?

Or, do I have to whitelist them in the gateWay device too?
[Paid Software Announcement and Discussion] XQC:
Is it safe for the long run to buy Android TV Sticks with such outdated Android versions below 5.0? I read something that developers must target 7.0 at the end of the year.
[Paid Software Announcement and Discussion] Haxxa:
Would an old phone (with cell service disabled and non-depleted battery), make a better device to avoid waiting for the boot time of the android tv stick? Surely this means waiting 1-2 minutes every time the car is started before connection car occur?
[Paid Software Announcement and Discussion] mew1033:
That's what I'm worried about. I want to find a device that can boot in just a few seconds. An old Android phone would probably work well. But then I'd be concerned about leaving it in the hot car. The heat might destroy a lithium ion battery.
[Paid Software Announcement and Discussion] Haxxa:
Yeah that was my thinking too and not an ideal solution in general. Alternatively finding a very low powered device that pulls minimal quintessential current and keeping it always on may work, but still subject to heat factors.
[Paid Software Announcement and Discussion] lantigua:
If only to run the app for wireless capability, I believe it wouldn't matter at all. Unless you want to use the stick for something else down the road.
[Paid Software Announcement and Discussion] chernabog88008:
I'd love to help out on this. I'm about to replace a Clarion that doesn't have CarPlay or Android Auto on it at all with a Sony xav-ax5000 that does. Sine I have my car set up with a Qi charger inside the console for charging, I'd love to keep this entire process wireless. Before anyone wonders why I don't go with a Pioneer or Kenwood, it's because I need an extra USB for a hard drive, and Pioneer and Kenwood are notorious for low file counts, 15,000 or less, on some head units I've had in the last two years. But, tell me what to get for a USB stick and I'll order it before I install the unit.

I just bought this https://www.ebay.com/itm/273350963830 2GB Ram seems a far better pickup than worrying about the storage since I'm only putting one app on here when it's completed. I already have an HDMI cable running from the head unit through the center console and up through, plus my wireless charger buried inside. Plan on running a male to female extension to the bottom of the console, then either a USB C until this is ready to fly for the phone, and then a Micro USB to the stick for WiFi. Shouldn't have connection issues 3 inches away.
[Paid Software Announcement and Discussion] lyrical1278:
I have an old Moto g4 I'm no longer using hidden inside my car and connected for AA use.

I usually take it out on hot days because the phone will perform horribly when it hot and AA will lag really bad..

I just tether it to my phone so it'll have data. (I got hit by the pixel 2 XL bug and it won't connect to my radio for some reason so i use the Moto) and
[Paid Software Announcement and Discussion] Emil Borconi:
Those will work
[Paid Software Announcement and Discussion] digitaldriver:
Great project!

I recommend to work out a list of components to use in order to fullfill these requirements to provide a great UX:

* nearly instant availability

** no phone as they have PIN / Bootup-Time / battery & temperature issues

** fast bootup​

* cheap hardware

* easy installation

* hotspot (no config changes at your mobile phone)

Any ideas?
[Paid Software Announcement and Discussion] mew1033:
Could we use an ESP8266 chip? Maybe something like the NodeMCU? It has built in WiFi and boots almost instantly. It's got pretty limited resources, but from everything [MENTION=842765]Emil Borconi[/MENTION] has said, we don't need a lot of power in the proxy device. Is it even feasible to think about porting this over to another language? Or will it always have to be an Android app?
[Paid Software Announcement and Discussion] death2all110:
He mentioned in a previous post that he'd like to get this running on something like a pi zero w.

So I'm sure it'd be possible. Also mentioned he'd be uploading stuff to github.
[Paid Software Announcement and Discussion] Emil Borconi:
When you're Sync 3 is turned off it should not drain any power. With Nexus 7 I think all you need is to leave it plugged in to the car.
[Paid Software Announcement and Discussion] fma965:
Yes after 20 minutes the car shutdown the USB port. Issue is I need to make sure the device I use has enough residual power. My nexus is technically already taken for use in my home automation system also it doesn't fit in the compartment next to my USB Haha
[Paid Software Announcement and Discussion] odl:
I was thinking to suggest that option as I have Android 9 on master, but I'm afraid there may be an issue with starting hotspot on slave when there's no SIM card inside. For sure it's not possible when airplane mode is enabled. And with SIM that would lose mobile range on slave I would end with the same issue ;)
[Paid Software Announcement and Discussion] LLStarks:
Never mind. I was looking at your license and how the BSD 3-clause license for protobuf interacted. I don't think there's an issue.

But does the new code allow AAMirror and ODB2AA without patching the master?
[Paid Software Announcement and Discussion] fma965:
My sim free tablet can enable hotspot fine... is this something that has been proven to be an issue? Many devices I've enabled hotspot without sim inserted or on non sim devices.
[Paid Software Announcement and Discussion] Emil Borconi:
It allows obd2aa not AAMirror. For AAMirror you need to use root anyway and if you have root you can use AAUnlock.
[Paid Software Announcement and Discussion] Emil Borconi:
Use an MK808 if you have one...
[Paid Software Announcement and Discussion] fma965:
I dont unfortunately. Is it fast enough? Also I would need to hook it up to a battery bank
[Paid Software Announcement and Discussion] Emil Borconi:
MK808B is decent enough. No you won't need a battery pack, it will be powered by the car start with the car, power off with the car.
[Paid Software Announcement and Discussion] fma965:
Yeah that will take to long to boot though. That's 1 thing I really cant stand. What would be your cheapest but powerfull enough phone you would recommend? Some China thing perhaps?...
[Paid Software Announcement and Discussion] fezster:
This would be fantastic. I hate having to start the headunit server and the annoying notification.
[Paid Software Announcement and Discussion] Emil Borconi:
MK808 will take 44 seconds to display Android Auto from the moment you turned on the ignition.
[Paid Software Announcement and Discussion] Emil Borconi:
Yeap but first I want to make the current one stable, then add features.
[Paid Software Announcement and Discussion] Emil Borconi:
I've just ordered a Banana Pi Zero as well to see how that behaves. It has the same CPU as the Orange Pi Zero, so again heat will be a problem, but it does have a different WIfi chipset and it does have 512Mb RAM, so I hope that will be enough to make it a better candidate than the Orange Pi Zero. However the Banana Pi is being shipped from Germany so it will take a few days till I get my hands on it.

Does anyone in the UK have a RTL8188EU based Wifi dongle? I cannot find any for sale and it looks like that is the only one which will work on the Orange Pi with Android.
[Paid Software Announcement and Discussion] fma965:
I feel like I do... definitely needed that specific model before for something. But I really wouldn't have a clue where. I'm sick and off work currently so will try and find it.
[Paid Software Announcement and Discussion] Emil Borconi:
Well get better soon, if you do find it, I will highly appreciate it if you can sell it/borrow it to me. I did ordered now one from china but it will take forever to arrive....
[Paid Software Announcement and Discussion] fma965:
Well that was easy, unfortunately not exactly the right model.

Realtek RTL8188CU Wireless LAN 802.11n USB 2.0 Network Adapter

USB\VID_0BDA&PID_8176&REV_0200

USB\VID_0BDA&PID_8176
[Paid Software Announcement and Discussion] Emil Borconi:
Yeah there are 10 million letter combinations, but apparently only the EU is a working solution.
[Paid Software Announcement and Discussion] fma965:
I definitely had a eu one before as I remember needing specifically that one in the past. Its probably long gone now though as I lost most my wifi adapters over the years.
[Paid Software Announcement and Discussion] Emil Borconi:
No worries thanks anyway.
[Paid Software Announcement and Discussion] odl:
I have one question regarding this solution: wouldn't it be possible to achieve with current version of AAGateWay, if IP given to master would be the same one that slave is trying to connect while using hotspot? If slave is taking info about master IP from network config (gateway), it could be manually adjusted in settings or dhcp to point to master if router would be on the way... Or the thing is that AAGateWay on master is currently listening to traffic that comes from hotspot only?
[Paid Software Announcement and Discussion] Emil Borconi:
Oh that should be possible I was referring to setting up connection the other way. I will added an option to input the IP on the slave which can be used instead of the default gateway ip.

Admittedly I could add service discovery and then the ip won't need to be fixed... but that's slightly more then adding an option to enter the ip.
[Paid Software Announcement and Discussion] bkkzak:
So, for me, it works on first setup but not after - I have to reboot and unplug each phone.

Master: Pixel Xl, 9.0 December update, rooted

Slave: Nexus 6P, 9.0 Pixel Experience rom, rooted (but using in non-root mode)

Main issue is with the slave - it doesn't remember the "default device" between reboots AND it soft reboots every time I turn off my car. Another issue with the reboots is that since my device is encrypted, AAGateway (or any other app) won't run until I unlock the slave with pin code; it also somehow breaks AA connection irreparably, so I have to unplug and full reboot. I can get some logs tomorrow.
[Paid Software Announcement and Discussion] LLStarks:
Yep. Still getting this with RC2 as well.

I didn't have this with the betas.
[Paid Software Announcement and Discussion] donky kong 017:
Thx. Will test asap.
[Paid Software Announcement and Discussion] alexo95:
Still having issues with the beta, android auto crashes with error 12 on the master and the headunit freezes

Oppo a77

Sony xav-ax100 latest firmware
[Paid Software Announcement and Discussion] odl:
I think you would get rid of most (if not all) of these problems if you would put official rom into your slave and not use encryption on it (slave does not need to store any sensitive data or google account to work with AAGateWay so I don't get the idea for having encryption or PIN lock there..)
[Paid Software Announcement and Discussion] Sn4pdragon:
So I've been trying for a while now and still can't get AA to appear on my Kia Miro, built in headunit.

Master is an S9

Slave is an lg G2

Think I've followed all instructions, when plug slave into usb, master says slave successfully connected, connected to AA server and AA init completed.

Slave says

AA gateway running on one notification and the other says listening to state changes

But car says "unable to connect to Android Auto", what am I missing??

Thanks
[Paid Software Announcement and Discussion] Emil Borconi:
Agree with the other comment I will say that you don't need Encryption and fancy stuff on the Slave. In my testing on TV Stick and Orange Pi Zero I have disabled/uninstalled every possible package leaving the phone only with following packages, which are enough to make the app work:
[Paid Software Announcement and Discussion] Emil Borconi:
[MENTION=4670039]LLStarks[/MENTION] - You as well please:

Can you please turn on force logging in Android Auto developer settings, and then send me a bug report from both phones, but please do tell me what you are sending. I do get emails with bug reports and no mention at all, so I'm never sure which app is it for, what should I look at, etc. Thank you.

I have the exact same Sony and it's working marvels on it, also using OnePlus which is Oppo brother, so I'm curious on what's causing the error 12.
[Paid Software Announcement and Discussion] Emil Borconi:
At that stage you should have a connection. Theoretically you are not missing anything. Can I have logs from both devices please?
[Paid Software Announcement and Discussion] Sn4pdragon:
I'm sorry for being a noob, but how do I get the logs?

---------- Post added at 02:26 PM ---------- Previous post was at 02:26 PM ----------

Not using a PC
[Paid Software Announcement and Discussion] alexo95:
Unfortunately i can't work out how to get a bug report without a computer, is it possible to build debugging into AA gateway? Or have it log to a location accesible without root?
[Paid Software Announcement and Discussion] Emil Borconi:
Please see OP on how to capture a bug report.
[Paid Software Announcement and Discussion] Emil Borconi:
Oh I think I remember in your case the build in bug report wasn't working. No I cannot build in log reporting, better said it's possible but:

a) either it will need root

b) it will violate Google Policies and the app will be banned, and it won't work on all devices anyway.

Not really sure on how to solve this one...
[Paid Software Announcement and Discussion] Sn4pdragon:
I'll work it out and get it to as soon as I can
[Paid Software Announcement and Discussion] fezster:
All working nicely here [MENTION=842765]Emil Borconi[/MENTION]. I have had to setup an Automate script to disable/enable USB, otherwise Android Auto does not start on the car without manually having to select the phone. Otherwise it's all very stable so far (tested for about 20 mins).

To make it more of a complete solution, I've modified LineageOS 14.1 rom to auto boot when charger connected (in case the slave phone battery depletes), and my Automate script also disables everything when power is not connected, so to minimise power consumption on the slave.
[Paid Software Announcement and Discussion] Emil Borconi:
So you had an option for "Bug report" but you weren't able to send the file?
[Paid Software Announcement and Discussion] Emil Borconi:
Good to know I needed some positive news as well.

P.S. Have you tried "Toggle USB" on the slave? That should do the same trick as the Automate script (but I haven't played with it too much)
[Paid Software Announcement and Discussion] fezster:
I did try the Toggle USB on power. The problem is - it toggles USB, but at that point WiFi is not connected and so Android Auto begins to start, but then doesn't.

When the slave eventually gets WiFi, it's too late, and USB needs to be toggled again. Hence why I asked if Toggle USB on WiFi was possible - this is essentially what my Automate script is doing, and it's working nicely.

For some reason, my Smart Ultra 6 is quite slow in picking up my WiFi hotspot. Do you know of any tricks to make the WiFi more aggressive when searching?
[Paid Software Announcement and Discussion] Emil Borconi:
It shouldn't matter. You should get an error message on the screen saying, to check Android Auto on the phone, but once the connection to the Master is established, AA should continue.

I will do a video on how it works on my Sony.

Here: https://app.box.com/s/8mg1vlzr65kcr21k0xh53u33ug4w7oiz not the best video admittedly, but as you can see the Orange Pi Zero was already powered on, and it connected to the Sony before the wifi kicked it, so the Sony did give a warning, as soon as the connection was established, it's all singing and dancing.
[Paid Software Announcement and Discussion] bradwatson:
Were there any special things you had to do outside of the original instructions to make this work on your Nexus 7?

I'm using a Nexus 7 with a Pixel 2 XL and I just can't get this to work for some reason. I have gone through each step several times and gotten messages that AA connection was successful, but my Sony AX5000 head unit says no sir. I can't remember the exact message, I would have to try everything again to see.
[Paid Software Announcement and Discussion] Familygidgits:
Having problems connecting to RCD330 in my VW Jetta. Can get as far as the devices acknowledging each other and Trying to get the head unit to connect. It always times out and fails eventually. Master device is a Moto G5 and slave is a wileyfox swift 2. Any help is much appreciated
[Paid Software Announcement and Discussion] *justintime*:
I have managed to connect twice....and everything was working and smooth.

Afterwards couldn't connect anymore... I think it's a certain sequence...

The times I had it working was slave connected.

On the master I had to connect manually in the aagateway app. Head unit start in developer mode.

And had to start the android auto app myself.

It did passed the warning message on the android auto app.... Like it was new installed and the message on the unit got away..

So. Progress is made.!! Thanks...
[Paid Software Announcement and Discussion] LLStarks:
Just a heads up, if you use the bug report shortcut functionality on your devices, make sure you have an email app like Gmail or similar installed.

Otherwise it'll default to something dumb like Android Beam that times out quickly and you're then forced to hunt down the bug report in the /data partition.
[Paid Software Announcement and Discussion] journey42:
[MENTION=842765]Emil Borconi[/MENTION] I don't know what witchcraft you stuffed into RC2, but this is the first time that I've not needed to push 'Start Manually' on the parent device.

Which is AWESOME!

Next step: see if I can have it so the only thing that I need to toggle between uses is the parent hotspot. :fingers-crossed:
[Paid Software Announcement and Discussion] Sn4pdragon:
[MENTION=842765]Emil Borconi[/MENTION] I've messaged you the bug reports, let me know if you need anything more.
[Paid Software Announcement and Discussion] fezster:
Working for me very well at the moment. Worked last night, and then again first thing this morning, without having to touch anything.

[MENTION=842765]Emil Borconi[/MENTION] As discussed on email, there's a variable amount of time before master aagateway exits, shuts down hotspot, and android Auto exits on master, after leaving the car. Sometimes this can be a good 10 mins after, which means my master phone display is still showing as connected to Android Auto.

I believe this is because (on my vehicle at least) the USB is still powered some time after locking the vehicle. And as long as you're within range of the slave, the WiFi will stay connected too.

Is it possible to add an option on master to shut down gracefully X seconds after Bluetooth to the car disconnects? My Bluetooth disengages as soon as I open my door after switching off the car, and audi MMI shuts down also.
[Paid Software Announcement and Discussion] Emil Borconi:
Thanks I will try to have a look today.
[Paid Software Announcement and Discussion] Emil Borconi:
That was my first setup but guess what? During the AA connection the Bluetooth is connected and reconnected several times so it's not a reliable way to detect when the connection should be terminated. I will tweak the underlying socket a bit to reduce the time.
[Paid Software Announcement and Discussion] donky kong 017:
Just tried RC2 on my octavia. And it is the first time I got it working since alpha. Had to start everything on master manually but that's no hassle for me. I even think that has something to do with my rom, as Hotspot got stuck and could not be toggled manually when aagateway automatically toggled it. Unless I toggled wifi back on.

Will try again tomorrow. Today it worked 2 times in a row. Maybe i have the time to record some logs tomorrow.
[Paid Software Announcement and Discussion] fezster:
That doesn't seem to be the case on mine - bluetooth is established and stays connected until the car is switched off and the door opened.

I've installed an app to control hotspot on bluetooth, and disabled this in AAGateway. Only tried it once, but seems to have done the trick. The hotspot switches off and AAGateway immediately terminates on master.
[Paid Software Announcement and Discussion] bbobbity5:
Hi Emil, fantastic work! My 2018 VW Golf is now working, using a Pixel with an old Galaxy S3. The Beta update yesterday fixed this - previous version was not giving me any love. My only issue now is that 8 out of 10 times my car doesn't automatically connect to my master via Bluetooth any more, and I have to manually tell it to connect. Don't know if this is the app or my Pixel or my car's head unit though - the head unit has been a little dicky of late, so I suspect at least some of the issue is that. However, once I manually connect via Bluetooth it is working pretty solidly (for the hour I tested it, anyway). Thanks for all your hard work, this is a brilliant app!
[Paid Software Announcement and Discussion] fezster:
Deleted post.
[Paid Software Announcement and Discussion] Emil Borconi:
Might not be in your case but I did observe this behaviour on my Sony and on Ford Sync 3 as well, so even if some cars due offer a stable BR connection others don't and I need to find a way which works universally.
[Paid Software Announcement and Discussion] odl:
some small update from my side;

- I couldn't connect after upgrading to RC2. started to work after rebooting slave (is it mandatory after AAGateWay update?)

- with RC2 custom DPI does not work for me anymore (was working fine with RC1)

- I have feeling that with RC2 AAGateWay stays enabled forever after disconnecting from car&slave more often than it was with RC1. Especially if during particular drive AA was not used (or connection was not successful)

about connecting slave and master via router - I tested it and it works (I put master IP in slave wifi network gateway setting). however my mini router has 2,4Ghz network only and is weak anyway.. therefore I have many timeouts during simple pinging and AA music was interrupted far more often than with direct hotspot connection to master. anyway - idea works (master with Android 9), but is limited by hardware performance.
[Paid Software Announcement and Discussion] fezster:
Agreed, that makes sense. If a universal solution is possible, that is ideal.

I was proposing maybe to add an option in for those that need it. There's obviously thousands of permutations of master, slave, headunit, so perhaps building up (slowly) configuration options to suit certain combinations would be prudent, as it will make it easier for people to configure for their own circumstances.

Great work by the way. The app is working beautifully.