Skip to content

Virtual instrument cluster (second) display question #81

@grajen3

Description

@grajen3

Hi!

(this not exactly a feature request, but more of a question about feasibility)

Would it be possible to modify Man-in-the-middle approach, so that it announces support for second display (ref https://developer.android.com/training/cars/testing/dhu#instrument-cluster for what I'm talking about), such that aa-proxy would continue to send main display, events, sound etc normally and just "capture" second display video stream and "just" pipe it elsewhere (like some socket, file handle or something like that)? And then have separate custom app consume it and ... do something with it?

Extra question - when Android Auto is connected wirelessly - can other devices connect to aa-proxy device/wifi? Seeing https://github.com/aa-proxy/aa-proxy-rs?tab=readme-ov-file#embedded-web-interface

Use a different device, such as a laptop or another phone, to connect to the device’s Wi-Fi network.

it seems like a "yes", but maybe there is nuance here specific to web interface

I'm mostly looking for some insights here. Currently I have almost 0 context on inner working of AA protocols and contracts between devices and I just wonder if this idea has any feasibility before I potentially waste a lot of time trying to learn stuff needed to possibly make this happen. I would not expect feature like this to be included here because it's very specific and niche (unless you would be interested in it if I manage to get something to work ... eventually hah).

If you do have any specific pointers - I of course would be interested in those, but please don't waste too much time on those :)

Some background for motivation behind my question in case my questions above make 0 sense:
There is this project https://github.com/OneB1t/VcMOSTRenderMqb that allow to "stream" video/images to instrument cluster of Volkswagen group cars (well, certain generation of them that is). I played with it with attempt to re-create Android Auto navigation there with some success ( OneB1t/VcMOSTRenderMqb#2 some examples heh). This was accomplished with basically recreating Google Maps view with custom Android App using google's Navigation SDK ( https://developers.google.com/maps/documentation/navigation/android-sdk ), screenshotting it and then streaming that to instrument cluster. This kind of works, but it's far from ideal:

  • I never found great way to grab actual's Google Map navigation route and I've been using trip sharing to separate google account, which my app was later pulling from (using same Google Maps private API that https://github.com/costastf/locationsharinglib is using). That worked, but android auto seems to allow sharing with single account (as opposed to sharing from the phone normally), so I could never share with anyone else. And I had to have to manually start sharing each time with that account which was annoying
  • I needed messy setup when using AAWireless to be able to both be able to use wireless AA and stream to instrument cluster. It relied on using "experimental" feature of AAWireless 1 of using 3rd party Wifi (~client mode). This experiment seems like was removed with some AAWireless update, so I did lose this option recently when I updated my AAWireless device and the only way I can continue to use it now is either using usb connection for AA + wifi for instrument cluster streaming or maybe try to downgrade my AAWireless firmware.
  • My solution was ... just not very efficient - with doing so much stuff inefficient stuff on the phone, I very often was getting into overheating territory on my phone and things would just randomly start getting killed, so this is rather ... frustrating experience on long trips ( while I could just do this on different device than my main phone which would run AA, I still would need some mobile device to use Navigation SDK - I don't really have spare and buying one just for that other than extra cost also would come with its own set of problems related to battery with either that phone dying or my car's batter dying when I would not use car for few days and this is still overall a "workaround" rather than nice solution and trying to make use of AA builtin second display seems generally like much better approach to me)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions