android_device_zuk_z2_plus icon indicating copy to clipboard operation
android_device_zuk_z2_plus copied to clipboard

Random black screens

Open AlvaroBrey opened this issue 9 years ago • 121 comments

Random black screens with white led on are reported on most nougat ROMs for this device. Edit: ramoops has been enabled, issue seems related to modem

AlvaroBrey avatar Feb 20 '17 13:02 AlvaroBrey

This has happened to me on other ZUK ROMs but not this one thus far. I did make sure I erased all storage including SYSTEM when flashing this ROM

marchi19217 avatar Feb 20 '17 21:02 marchi19217

Can confirm this is present on my device bugreport-NMF26V-2017-02-25-10-34-27.zip

marchi19217 avatar Feb 24 '17 23:02 marchi19217

Managed to get a console-ramoops thanks to the latest build (20170224). The file was stored in /sys/fs/pstore. Attaching it here, hope it's useful! console-ramoops-koichirose-20171227.txt

koichirose avatar Feb 27 '17 08:02 koichirose

Happened again after a couple of days. Error is the same (something about SLPI), this time it happened right after I turned on the screen.

Can I help out in some other way? console-ramoops-koichirose-20170302.txt

koichirose avatar Mar 02 '17 15:03 koichirose

Thanks @koichirose , the fact that it's the same error is good, means that it's not a coincidence. SLPI is apparently related to the modem but the information in the ramoops is pretty limited. I'm still investigating.

AlvaroBrey avatar Mar 02 '17 15:03 AlvaroBrey

I can easliy reproduce the bug, I also posted an adb bugreport on the zukfans forum. Let me know if I can be of any help with a log, and how to get it. I'm with stock ZUI and not rooted though.

fraCPH avatar Mar 03 '17 11:03 fraCPH

@fraCPH It would be interesting to know how you can reproduce the bug Edit: also, where did you post the bugreport? Link?

AlvaroBrey avatar Mar 03 '17 11:03 AlvaroBrey

These posts: http://zukfans.eu/community/threads/zuk-z2-multiple-roms-freeze-with-white-led-on.3514/page-5#post-30742 http://zukfans.eu/community/threads/zuk-z2-multiple-roms-freeze-with-white-led-on.3514/page-6#post-31332 My phone never freezes if I keep it in airplane mode (whether wifi is ON or OFF), but as soon as I switch off the airplane mode it's a matter of seconds/minutes and it freezes. This has happened once with a SIM card in place and several other times with no SIM card in.

fraCPH avatar Mar 03 '17 16:03 fraCPH

I can reproduce the bug easely also. What can I do to help you guys?

poseidonss avatar Mar 06 '17 03:03 poseidonss

Hi ontherunvaro, I'm not an android dev but I'm facing the same issue (freeze black screen with notification led on). If I can be of any help, please let me know.

Also considering that we have to force a reboot (long press power button) I don't know how to extract a log that contain relevant information. Would you be so kind to explain how so I or any other can provide you with multiple log?

I've run different test here : - never freeze while connected - never freeze while screen on (at least for me) - freeze always occured while phone locked - I've been running "screen backlight off" instead of locking the phone and it never freeze since (about a month) except while I accidentally lock.

fr0x3n avatar Mar 07 '17 12:03 fr0x3n

@poseidonss , @fr0x3n Logs after a kernel panic can only be found in console-ramoops: adb shell cat /sys/fs/pstore/console-ramoops > ramoops.txt on your computer, on the first reboot after the black screen. Obviously you need adb installed on your pc, and usb debugging enabled on the phone.

AlvaroBrey avatar Mar 07 '17 12:03 AlvaroBrey

@poseidonss, @fr0x3n you can also do it directly on the phone as I did, simply open a root browser, copy /sys/fs/pstore/console-ramoops somewhere in local storage and then post it here.

koichirose avatar Mar 07 '17 13:03 koichirose

well I tried but I don't have any "pstore" folder in /sys/fs/ I also tried to search for a "console-ramoops" file in / but nothing came up (except "console-ramoops-koichirose-20171227.txt" from my download folder)

Is there any other command to launch prior to that in order to activate monitoring?

fr0x3n avatar Mar 07 '17 14:03 fr0x3n

@fr0x3n you need to be at least on build 20170224, it was enabled in that build. https://github.com/ontherunvaro/android_device_zuk_z2_plus/wiki/Changelog

koichirose avatar Mar 07 '17 14:03 koichirose

Ahhh thats why... Sorry for my noob question but I'm current on Dirty_Unicorn_z2_plus_7.1.1_20170206-2233.v11.0-UNOFFICIAL

What rom do I need to flash ? Or maybe I can stay with this rom and flash something else?

fr0x3n avatar Mar 07 '17 14:03 fr0x3n

@fr0x3n issues in this repository are just for my LineageOS builds, not for any other ROM.

AlvaroBrey avatar Mar 07 '17 15:03 AlvaroBrey

ok my mistake again though this issue is general on any rom i've tried. I'm downloading your rom and keep you posted.

Thanks

fr0x3n avatar Mar 07 '17 15:03 fr0x3n

ramoops.txt ramoops1.txt

Here are the ramoops files.

Its very easy to reproduce so I did it twice.

poseidonss avatar Mar 11 '17 17:03 poseidonss

ramoops_lineageos.txt These two I posted was with lastest stock chinese rom. This one is with lineageos.

They all happen the same way: Right after I lock the screen.

poseidonss avatar Mar 11 '17 18:03 poseidonss

M8996FAAAANAZM-1.70664.3.76387.1

2017-03-11 19:23 GMT-03:00 Álvaro Brey [email protected]:

@poseidonss https://github.com/poseidonss what is your baseband version?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ontherunvaro/android_device_zuk_z2_plus/issues/21#issuecomment-285905040, or mute the thread https://github.com/notifications/unsubscribe-auth/AY_3DZMHXtmq2_6wHi0lIdtRp7-Z7VD9ks5rkx7-gaJpZM4MGJ3Z .

poseidonss avatar Mar 11 '17 22:03 poseidonss

@poseidonss what are the steps to reproduce it? I'm running my phone for a week on Lineage and I haven't had any reboot/black screen.

SuperLamic avatar Mar 12 '17 17:03 SuperLamic

@SuperLamic I just need to lock the screen.

poseidonss avatar Mar 12 '17 17:03 poseidonss

@poseidonss have you tried reflashing the phone via qfil (zui 2.5) and flashing Lineage back?

SuperLamic avatar Mar 12 '17 17:03 SuperLamic

@SuperLamic Yes, I think I flashed every rom there is. No success. The only thing that keeps the phone working is a wakelock app.

poseidonss avatar Mar 12 '17 17:03 poseidonss

Did you try formatting all partitions including system/cache/data? Also try after a clean install with no third party apps

Seems you have hardware issues. Regardless it's not specific to this ROM

After 2 months of using this rom I have experienced the black screen once

marchi19217 avatar Mar 15 '17 09:03 marchi19217

Seems you have hardware issues. Regardless it's not specific to this ROM

That's not very encouraging. @ontherunvaro are there any comments about the ramoops posted by @poseidonss ? Is it worth that someone else tries installing your ROM to produce other bug reports, or, given that this is (likely) a baseband problem, you cannot do anything about that ? In this case I would keep the stock ZUI to maintain the warranty and send the phone back.

fraCPH avatar Mar 17 '17 13:03 fraCPH

Okay, while trying to reproduce the "Network connection error" bug I had the black screen error happen again. Opened the SIM tray, inserted a second SIM, reinserted tray, phone crashed

marchi19217 avatar Mar 21 '17 10:03 marchi19217

Saddly already had 3 times freeze since friday (lastest release)

ramoops.txt

Is there any possibility to fix this, or looks like it is hardware failure of the device? On other ROMs had the same issue.

Baseband version M8996FAAAANAZM-1.70664.3.76387.1

kpcz avatar Mar 26 '17 20:03 kpcz

All the info we have right now are these lines:

[ 7540.170827] Fatal error on slpi!
[ 7540.170878] slpi subsystem failure reason: PID 1 :  .
[ 7540.274889] Kernel panic - not syncing: subsys-restart: Resetting the SoC - slpi crashed.

These lines appear on almost every crash log we've captured or been sent. We know it's related to modem/baseband but we frankly don't have any more info for now.

AlvaroBrey avatar Mar 26 '17 20:03 AlvaroBrey

Also, the phone is supposed to reset (Resetting the SoC), not to hang on a black screen, so there's more than just 1 problem there.

AlvaroBrey avatar Mar 26 '17 20:03 AlvaroBrey