• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Mirror screen on Android Auto - Disucssion thread

Search This thread

ktwo

Senior Member
Jun 20, 2009
170
94
M
Hey, i'm opening this thread since i've noticed that some other threads are used to talk about this.

As i have already mentioned it should be possible to show the screen content via http using my app (https://github.com/nerone-github/WebViewAuto) (or any other webview app to be exact).

Basically we need something which can pass user input (tap) from Car -> Phone, and the Image from Phone -> Car.

Now at least i can confirm that the second - Image Phone -> Car is not a big deal. It even works without root using this wonderful application

https://play.google.com/store/apps/details?id=info.dvkr.screenstream
https://github.com/dkrivoruchko/ScreenStream

Now all we need is the input. So anyone got an idea how to do that?

I know that this is basically "against" the Android Auto concept of providing a distraction-free UI. But ultimately this will probably never be an easy thing to do, and probably just used by experienced and hopefully responsible drivers.

screenmirror2hqtf.png
 
D

Deleted member 1198227

Guest
Hey, i'm opening this thread since i've noticed that some other threads are used to talk about this.

As i have already mentioned it should be possible to show the screen content via http using my app (https://github.com/nerone-github/WebViewAuto) (or any other webview app to be exact).

Basically we need something which can pass user input (tap) from Car -> Phone, and the Image from Phone -> Car.

Now at least i can confirm that the second - Image Phone -> Car is not a big deal. It even works without root using this wonderful application

https://play.google.com/store/apps/details?id=info.dvkr.screenstream
https://github.com/dkrivoruchko/ScreenStream

Now all we need is the input. So anyone got an idea how to do that?

I know that this is basically "against" the Android Auto concept of providing a distraction-free UI. But ultimately this will probably never be an easy thing to do, and probably just used by experienced and hopefully responsible drivers.

screenmirror2hqtf.png
If i understood well, you succeed to have mirroring screen of the phone to the car with the above app? At least to see the screen, without tapping.
Can you write some details to try? What should write to the address bar of WebViewauto, and what settings to screen stream over http app?
You did this without using internet data?
If this work, it is very useful although not full mirroring.
Thanks,

Sent from my SM-T700 using XDA-Developers Legacy app
 

ktwo

Senior Member
Jun 20, 2009
170
94
M
If i understood well, you succeed to have mirroring screen of the phone to the car with the above app? At least to see the screen, without tapping.
Can you write some details to try? What should write to the address bar of WebViewauto, and what settings to screen stream over http app?
You did this without using internet data?
If this work, it is very useful although not full mirroring.
Thanks,

Sent from my SM-T700 using XDA-Developers Legacy app

Just use the IP and port you see in the screen stream app. If you're not connected to Wifi you can probably use 127.0.0.1 or localhost
 

ahhl

Senior Member
Jul 23, 2007
1,061
112
Yeah, or use try my app if you want something nicer without annoying nag screens when choosing music https://github.com/nerone-github/UnleashedAudioPlayer

Topic: Ive also noticed that there is no Audio

so

Video :)
Input :(
Audio :(

i lost volume control when using your unleashedAudioplayer. something youtube auto experiencing too, but yta manage to solve it

Sent from my HUAWEI MT7-TL10 using Tapatalk

---------- Post added at 08:46 PM ---------- Previous post was at 08:42 PM ----------

Yeah, or use try my app if you want something nicer without annoying nag screens when choosing music https://github.com/nerone-github/UnleashedAudioPlayer

Topic: Ive also noticed that there is no Audio

so

Video :)
Input :(
Audio :(
on non touch screen, unleashedAudio difficult to use. i prefer Spotify interface. simple

Sent from my HUAWEI MT7-TL10 using Tapatalk
 
  • Like
Reactions: Richy101

AndroidenKalle

Senior Member
Apr 30, 2013
69
26
I try this solution from OP in my car and it's working. I see my lockscreen and, if I unlock my phone, the writing "Android auto" with black background.

The problem is that AA overlays other apps and I don't have the ability to use Android normally. I try to disable the option that AA display over other apps but then AA always starts with configuration wizard.

Unfortunately, so far it's not a solution.
 
Last edited:

slash_m_a_x

Member
Dec 31, 2017
29
96
I try this solution in my car and it's working. I see my lockscreen and, if I unlock my phone, the writing "Android auto" with black background.

The problem is that AA overlays other apps and I don't have the ability to use Android normally. I try to disable the option that AA display over other apps but then AA always starts with configuration wizard.

Unfortunately, so far it's not a solution.

Use the integrated mini launcher to launch apps (lower left button).
I'll try getting back and menu button to work, but that will require root also.
Didn't test on phone with software buttons.
 
Last edited:

datrix

Senior Member
Jul 3, 2006
56
17
Catania
Mirror + multitouch input (root) + minilauncher, (no back key yet):
github.com/slashmax/AAMirror

OMG! :D
Works very fine. Audio, video and touch. It's really awesome!

Do you think it's possible to add a button to hide left bar (and android nav bar)?
If I turn off the screen of the phone, the mirroring is disconnected. Is there a way to leave it on?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    i'm running 3rd- party apps on AA 3.1.58 + GPS 12.5.29 for 2-3 weeks now. I'll release an unlock apk when i get around, but for now i prefer to wait for google to lose interest and release a new version to see if they block this method as well.
    The unlock will require root.
    12
    Hey, i'm opening this thread since i've noticed that some other threads are used to talk about this.

    As i have already mentioned it should be possible to show the screen content via http using my app (https://github.com/nerone-github/WebViewAuto) (or any other webview app to be exact).

    Basically we need something which can pass user input (tap) from Car -> Phone, and the Image from Phone -> Car.

    Now at least i can confirm that the second - Image Phone -> Car is not a big deal. It even works without root using this wonderful application

    https://play.google.com/store/apps/details?id=info.dvkr.screenstream
    https://github.com/dkrivoruchko/ScreenStream

    Now all we need is the input. So anyone got an idea how to do that?

    I know that this is basically "against" the Android Auto concept of providing a distraction-free UI. But ultimately this will probably never be an easy thing to do, and probably just used by experienced and hopefully responsible drivers.

    screenmirror2hqtf.png
    10
    Could someone share the APK pls
    Don't have access to a build server

    Try this.
    10
    How to use Netflix, DAZN or other video app, that block video mirroring, with AA

    Install an app like Root Explorer from Play Store
    Install Tasker app from Play Store
    Download attached files and extract to a folder on PC
    Transfer the frida and mirror.js files to the device

    Copy frida and mirror.js files on /system/bin directory
    Set 755 permission to frida

    Open Tasker App and tap on Tasks tab
    Create new Task, set a name and select Run shell action

    Into Command field write this line:

    frida -e -s /system/bin/mirror.js -n buildNameApp

    For netflix:
    frida -e -s /system/bin/mirror.js -n com.netflix.mediaclient

    Select Use Root checkbox and click back arrow to save the task

    Tap on Profile tab and add a new Profile
    Set name and choose Application action
    Select the App (in our example Netflix) and tap back arrow
    Tap on the task name created previously

    If you did everything correctly when you open the video app, you should be able to see the app with Android Auto.
    10