Planet-X / android_device_asus_zenfone3

LineageOS and TWRP device trees for the Asus Zenfone 3 ZE552KL and ZE520KL.
7 stars 7 forks source link

Settings hang on Connected devices #3

Closed LightWayUp closed 6 years ago

LightWayUp commented 6 years ago

Settings hang upon entering Connected devices. Phone sometimes needs a reboot to recover from the hang, while other times it recovers after approximately 15~30 seconds. All of the categories seems to work fine without any crash, hang or freeze ( Bluetooth, Printing, Cast ). However, upon exiting those pages and back to Connected devices, Settings still freezes for a few seconds.

This happened to me on all builds of LineageOS 14.1 and 15.1 for ZE520KL, but official ASUS firmware works fine ( I flashed Oreo raw firmware to confirm ).

This happens both with and without Advanced Kernel ( to at least v0.2 ).

Planet-X commented 6 years ago

Thanks for your detailed report! This problem has already been brought up by some other users but I was never able to reproduce it on my phone. Would you mind collecting some logs (dmesg and logcat)? Maybe they can point to the right direction.

LightWayUp commented 6 years ago

Sure :). But I'm not quite familiar to these... When should I run the commands to take logcat and dmesg?

Planet-X commented 6 years ago

Great, could be really helpful! First, right before entering the "Connected devices" page, you should clear the logs via adb logcat -c and adb shell dmesg -c so that only relevant entries are included. Next enter the page so that the issue occurs. Shortly afterwards, while the phone's still stuck, you can collect the dmesg and logcat logs over the hopefully still working adb connection.

Planet-X commented 6 years ago

Thanks for collecting them! I'll take a look and let you know if I found something.

LightWayUp commented 6 years ago

Ok, thanks!

LightWayUp commented 6 years ago

Has anything been found?

Planet-X commented 6 years ago

Sadly no... I couldn't find anything special in the logs or reproduce this behavior on my phone.

LightWayUp commented 6 years ago

I know this issue has been closed for a while, but I'm reporting back that after flashing the latest Oreo raw firmware, the issue seems to have been resolved. Still thanks for looking into the issue!

For everyone having the issue, try flashing latest Oreo raw firmware, then completely wiping and formatting to clean install Lineage OS again. This might solve the issue.