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

Code: adb shell pm list packages

Code: adb shell pm disable xxxx

Q: Can I use this with any car and phone combination?A: Assuming your car is already Android Auto compatible, then YES.Q: Can I also automate the start of the Headunit server?A: Only with a rooted phone, using the following shell command: am startservice -W com.google.android.projection.gearhead/com.google.android.projection.gearhead.companion.D eveloperHeadUnitNetworkServiceQ: Can I use Wifi-Direct to connect instead of WIfi?A: No.Q: Does the traffic come out from my monthly data allowance?A: NO, traffic between auxiliary device and phone hotspot does NOT count as internet traffic, HOWEVER if you do have other apps on the auxiliary device which download updates, etc in the background that WILL be counted as internet traffic. So I suggest double check the apps on the aux device and disable all those which aren’t needed.Q: Will the car/head unit provide enough power?A: It should provide at least 500mA that’s the standard USB current, while I cannot guarantee that will be enough in all cases, it should do, assuming you do turn off all unneeded services on the TV stick.Q. What about start up time?A. It will depend a lot on the device you are using. A low-entry TV stick boot time is about 1 minute, which can be a bit too much for an initial car setup. As mentioned earlier, these devices usually have 2 USB ports, you can for example connect the power USB port to a continues power supply in the car, in which case the boot time will be non-existent since the device is always running. If you are using a phone, the phone battery will probably hold the charge just fine for a couple of days, if you disable all apps on it and you set up a profile to go into aeroplane mode when it’s not charging. Tasker or Automate are your friends for that. If you cannot connect the TV stick to a continues power source, you might consider using a small portable power pack which powers the tv stick (should hold power for a few days) and the power pack can be charged while the car is running.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:Easy way to list / disable all apps will be using a computer and following commandsThis will list all installed packageswhere you replace xxxx with the package name (Ex: com.android.shell )Q. Will using Wifi 5Ghz give me better performance?A. Well if both of your devices support it, SURE!Q. Is the source code available?A. Sort-of, please see: https://github.com/borconi/AAGateWay this is only for the sketch, however new version does contain code which lift restrictions on 3rd party apps in Android Auto. To prevent the abuse of this by some, further code won't be updated to GitHub, however if you want to build your own version, please do contact me for details.