endyrubbin / AAStream

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

Phone constantly restarting #19

Open craigev opened 4 years ago

craigev commented 4 years ago

Hi, I installed the AAStream app onto my rooted Samsung S7 running OS 7, the first time I ran it the screen resized but then the phone crashed and restarted and now it's in a restart loop. It restarts to the Samsung screen which then stretches out (assumed that the screen is resizing) and then crashes and restarts. I've gone into the bootloader and cleared the cache but it still has a problem.

Any assistance would be great.

affengeld-gmbh commented 4 years ago

See my other post I just made. I think it is a similar issue.

The solution for me was to do a "adb shell wm size reset" using the adb program from a computer after connecting to the phone via USB. This is definately a serious bug!

I suggest you backup everything via a recovery such as TWRP if you haven't already before doing anything else. Hopefully you have that installed and ADB (USB Debugging) is enabled on your phone and it shows the lock or app screen long enough for you to issue the adb command.

Deleting the app from the /data/apps folder then wiping cache might help if adb fails but this depends on whether the screen resize resolution setting on boot is being triggered by the AAStream app running in the background, or if the resolution is stored elsewhere and unrelated to the app as a system setting, which will complicate things further. I haven't dug into the source code deep enough to confirm this, but do make a backup first if still possible.