endyrubbin / AAStream

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

Black Screen - On open App #16

Open phoinixgrr opened 4 years ago

phoinixgrr commented 4 years ago

Hi,

Even though I get the Initial screen showing all available apps with the Sidebar, when I click to launch an app, I Get A black Screen.

App Settings: Screenshot_2020-01-16-12-05-10-492_com garage aastream

Can we troubleshoot this?

This is a Rooted Xiaomi Mi9 Phone, running Android 10. Screenshot_2020-01-16-12-02-46-663_com finalwire aida64 Screenshot_2020-01-16-12-02-33-650_com finalwire aida64

mkono87 commented 4 years ago

I have a Mi9t and the same issue. App open on tye phone just not in AA on my car screen. I'm using the new AA ui.

phoinixgrr commented 4 years ago

Managed to get it working!

Got all logging with: adb logcat -d

The following error seemed to get thrown when launching any app using AAStream:

01-18 21:18:58.913 1576 5348 D ActivityTaskManagerSeviceInjector: MIUILOG- Permission Denied Activity KeyguardLocked: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=org.intoorbit.spectrum cmp=org.intoorbit.spectrum/.SpectrumActivity } pkg : com.garage.aastream uid : 10385

The above is a small app called Spectroid (org.intoorbit.spectrum), that I've used as a test, to filter the logs with.

Googling... seems like special MIUI permissions are needed for AAStream. https://stackoverflow.com/questions/56295901/miui-permission-denied-activity-keyguardlocked

Manually enabled everything under:

  1. Settings
  2. Manage Apps
  3. AAStream
  4. Other permissions
  5. Enable all *

When you Launch AAStreamer in AndroidAuto, make sure to confirm any prompts on the phone (if they come up)

And voila!! It works.

The only issue still present, is Black Screen when the device gets locked. The phone must stay Awake all times, for AAStream to work.

mkono87 commented 4 years ago

Managed to get it working!

Got all logging with: adb logcat -d

The following error seemed to get thrown when launching any app using AAStream:

01-18 21:18:58.913 1576 5348 D ActivityTaskManagerSeviceInjector: MIUILOG- Permission Denied Activity KeyguardLocked: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=org.intoorbit.spectrum cmp=org.intoorbit.spectrum/.SpectrumActivity } pkg : com.garage.aastream uid : 10385

The above is a small app called Spectroid (org.intoorbit.spectrum), that I've used as a test, to filter the logs with.

Googling... seems like special MIUI permissions are needed for AAStream. https://stackoverflow.com/questions/56295901/miui-permission-denied-activity-keyguardlocked

Manually enabled everything under:

  1. Settings
  2. Manage Apps
  3. AAStream
  4. Other permissions
  5. Enable all *

When you Launch AAStreamer in AndroidAuto, make sure to confirm any prompts on the phone (if they come up)

And voila!! It works.

The only issue still present, is Black Screen when the device gets locked. The phone must stay Awake all times, for AAStream to work.

Thanks, I have it working now. Its indeed that the screen was off and locked prior to starting AAstream. Only issue im having now is my home screen wont go to landscape not auto change to landscape in any app. The place I keep my phone in my car, always has it reverting to portrait. Any ideas?

phoinixgrr commented 4 years ago

You can try with these settings:

Screenshot_2020-01-22-08-08-31-958_com garage aastream

If the app supports landscape (not all do), it should work.

kentyman23 commented 4 years ago

For the life of me I can't find said MIUI settings. Can you share screenshots or precise instructions?

undermark5 commented 4 years ago

@kentyman23 MIUI settings is likely referring to some settings specific to the XiaoMi version of Android called MIUI

phoinixgrr commented 4 years ago

Screen Lock on the phone, makes the Mirror Image on the car, go black. Is there a way, to have the mirror not going black, when the phone locks?

undermark5 commented 4 years ago

Probably not.

dbareis commented 4 years ago

Hi,

There are apps and some options to make Android phones dim while connected to power. MAYBE the car's screen won't dim in that scenario.


Thanks Dennis

[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 07/02/20, 09:21:53 am

On Fri, 7 Feb 2020 at 06:10, Akis Maziotis notifications@github.com wrote:

Screen Lock on the phone, makes the Mirror Image on the car, go black. Is there a way, to have the mirror not going black, when the phone locks?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/endyrubbin/AAStream/issues/16?email_source=notifications&email_token=AACICPVG5GWFN2TK2ER3NN3RBROAZA5CNFSM4KHRKSBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELANHFI#issuecomment-583062421, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACICPQ4DBES67JKQFRRPYLRBROAZANCNFSM4KHRKSBA .