endyrubbin / AAStream

AA Stream is a device screen mirroring application for Android Auto
147 stars 35 forks source link

You are simply great @endyrubbin! #1

Open zencooler opened 5 years ago

zencooler commented 5 years ago

Hi endyrubbin,

You are simply great! Your project AAStream is awesome! I used AA Mirror before, but since Android Pie installed on my Note 9 it has bug with "black screen" and needs ScreenStream app to work together. Your AAStream is working like a charm! No problems with screen, touching etc. Also idea of Favorites Menu is very useful and works fine. I observed three issues only:

  1. Unlocking app using your internal option is working ok, but also removing previous patched apps form SQL whitelist. So after unlock is done all apps disapears from list of AA Aplications except AAStream. The solution I run is A Phenotype Patcher for all apps again (including AAStream)
  2. Sound volume issue. I don't know why, but using AAStream as first run application on car system is setting sound volume to really low value. Then changing volume in car system and/or in smartphone doesn't increase the volume. But if I run any other AA app on car system it gives back increasing volume possibilities. Then if I go back to AAStream the volume is working OK and I can increase/decrease volume level. I use this solution to have volume control in AAStream working.
  3. Screen resolution and density. It wasn't working in original AA Mirror and there is the same issue in AAStream. I mean: if smartphone is disconnected from car system the resolution and density of the screen are not restored to the original values. I use simply script (shell commands) to set these values manually after the disconnection.

Your work is really awesome and useful. AAStream is brilliant and much better than AA Mirror. Congrats!

zencooler commented 5 years ago

I just tested new version of AAStream (1.1.0.x). It seems that point #2 (sound volume issue) is gone! Thank you. However point #3 (screen resolution and density after disconection) looks much worse than it was before (in ver. 1.0.6) there is a big mess on the screen. The resolution is unpredictible now.

Another user (unsing HTC One M8) wrote about other issues:

  1. Rotation doesn't work - I also agree that I have to force rotation to 90 degrees as it doesn't work. Even if it is set up in settings - option "Force screen rotation" to 90 or 270. There is portrait mode after the smartphone is connected to car system.

  2. Missing immersive mode (comparing to AA Mirror). I am not using this mode so for me it's not an issue but I let you know that other users says about this.

I still think that it is great tool and I use it now regularly in place of AA Mirror :)

endyrubbin commented 5 years ago

Hi @zencooler

Updated the app, updated the patcher to keep existing whitelist. Added settings for immersive mode and audio focus and added few changes around the screen resizing.

About the screen rotation, the setting title might be misleading - I don't force the screen rotation, the rotation is changed by overriding the system preference and works only for apps that support rotation . For this to work - write system preferences permission must be granted and also try to disable auto-rotation.

zencooler commented 5 years ago

OK. Fair comments. I will do tests today and will let you know results on my car system. Regards!

zencooler commented 5 years ago

I tested AAStream again with latest version of the apk but.two issues still need to be improved:

3 Resolution & density. We still have a problem with the smartphone screen after quitting AAStream. The resolution (and maybe density) is too big than it was before AAStream is run.

But it is exactly the same problem as with AAMirror. It's not perfect yet, but we can live with that. One click on the script with predefinied resolution and density values and everything is fine again. I have an idea for you that will work for sure. Create the two values in app settings where user can set up the default values for resolution and density and use these values to set the resolution and density when user use the "Exit" option. For example in my case I just use two commands to set up screen parameters: wm size 1080x2220 wm density 411

4 Screen Rotation.

AAMirror automatically turns Screen Rotation off and force the rotation definied in the settings in Android Auto mode. And this behaviour is pretty good. I think (and also two other AAStream users) that this way is much convenient than the one implemented in AAStream.

Asi1l commented 4 years ago

Wow @endyrubbin well done buddy - i'm out of words for your project this is so helpful and works like a charm with new AA and UI as well!!! :-) :-) :-)

Note that I found AAStream 'Screen Rotation' (#4) option (when enabled set as 90 or 270) not force 'landscape' on the car display screen as expected. (cc @zencooler maybe I use the feature wrong? my car display remains portrait when using AAStream only)

Heineken commented 4 years ago

Kudos, @endyrubbin! Great work! You filled a gaping gap there and unleashed the whole power of my phone for the car bringing together the best of both worlds Android Auto and Mirrorlink. I could use any app with Mirrorlink before, too, but only when parked. No I can use my favourite nav app and even watch videos while driving (Won't do it, but it's kinda satisfying to be able to). Just need to figure out how to fix my screen resolution after AAstreaming...

I can now use my favourite navigation app and watch videos