yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Q&A, Help & Troubleshooting] 160lightning:
I can only guess the answer to that at this stage and my guess is that Sony's AOSP team are probably unaware at this point until the issue is raised with them and this is why we're trying to be as certain as we can where the source of the issue lies and to provide as much evidence as possible to back up what we find. However... it's proving to be rather more difficult than we'd hoped.

So far we have the report from John D that the lines were immediately present with the AOSP 5.1 ROM installed and yet someone else on the FXP forum thread has reported no sign of the black lines when they install this ROM.......so 2 completely opposite results..... :eek::mad: :( :crying:

...but of course it's not a controlled experiment done by the same person on several different devices with conditions replicated so we need to be far more specific and nominate that anyone else who tries out this ROM also uses the same build that John D used..... (150522)

What makes this issue so hard to identify (from what we think we know so far) is that it's extremely rare, depends on a combination of conditions and only happening for a handful of Z1c users.... in truth it could actually be a hardware fault in 'some' of these display panels by JDI which only occurs in certain conditions and caused when you run a certain type of ROM..... and is actually irreversible once it's triggered.......???... or that theory could be completely wrong !!! We just don't know.

It's a tough nut to crack.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] 160lightning:
Ok.....

so today I can report that the test by John D has been replicated and photographed by our friend Robin Z... but we could really do with one more person to test AOSP 5.1 version 150522.... can we find one other person with the issue and can test and photograph please....? I would happily do myself but as i've reported my device is currently not experiencing the issue for a week since my last ROM install with Xposed modules in place.... so I'm not in an ideal position to test... it needs to be someone who is currently having the issue.

We will now get the evidenced origin source to Sony via their Android rep (we have a connection) and hopefully a resolution.... but lets not jump the gun because it still could turn out to be a faulty batch of JDI panels which have a 'sleeper' in which the fault does not occur until certain conditions trigger it... BUT... is then not fixable with software tweaks !!!.... :eek:

In other words it could be a hardware fault triggered by software If this is the case we would hope that Sony will offer to replace the panel for an AU Optronics which doesn't experience the issue.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] 160lightning:
Another important question.

Is there anyone who experiences this issue currently that had stock LP ROM immediately before installing a custom LP ROM..?

Or are you like myself and Robin Z and moved directly from Stock Android 4 to custom Android 5....?
[Xperia Z1 Compact Q&A, Help & Troubleshooting] iNDEX3:
My phone have this problem only with CM12 and AOSP. In Stock Android 5 or CM11 all good.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rtimoff:
No matter. I have had stock Lollipop before.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] 160lightning:
Can I just clarify that you've installed stock Lollipop.... then installed custom Lollipop... and the black lines still appear?
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rtimoff:
Yes, in that order.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] 160lightning:
Thanks.... it was suggested by a developer the issue may be caused if people are going directly from stock Android 4 to custom Android 5.... but I'm now trying to find out what is left over when you do a wipe/factory reset... I believe the device's internal organs with stuff like loader, amss, modem etc are set by stock.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] John.D..:
Yes, everything is fine on stock\stock-based ROM

If you set CM12\12.1 going from any firmware, even the 4.4 (KitKat) version, you too will get this problem with stripes if you installed android 5\5.1 Custom ROM (Mokee, CM, AOSP, crDROID etc...)
[Xperia Z1 Compact Q&A, Help & Troubleshooting] 160lightning:
yes John.... we have been advised by developer that Kit-Kat stock installed (Android 4) then immediately installing custom LP CM12/12.1 (android 5) may be causing the issue.... and that if you go from stock LP to custom LP it may fix the problem.

This is because manufacturer stock sets internal organs when installed and these settings (loader,amss,modem etc) remain even when you do a wipe/factory reset to install a custom ROM

However.... as Roman has pointed out he went directly from stock LP to custom LP and still has black lines.

Robin Z is currently on stock LP and about to install CM12.1...... lets see what happens for him.... but at the moment it looks like a dead end theory.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] John.D..:
Yep

Lollipop 270 stock -->> wipe system\cache\data\dalvik ->> install CM 12.1 (for example) ->> run - >> F&#@ Damn these strips and telling you what they are here :)
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rtimoff:
No, no! On Lollipop(stock or custom) all is fine.

I think I don`t understand you correctly, sorry mate.

Black lines appears only on CM builds.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] iNDEX3:
I flash only the kernel from AOSP/CM12. Reboot. Black stripes at once on the logo Sony.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] 160lightning:
I think there is translation problem.... lets try again.... CyanogenMod 12 (+) is a custom Lollipop(LP) ROM.

We know that ANY stock ROM, whether Android 4 (JB or KK) or Android 5 (LP) there is NO issue... all is fine.

So I needed to ask if anyone has installed the custom LP (CM12+ or any of the ROMs which use CM components and pretty much every custom LP ROM uses CM component) and installed IMMEDIATELY AFTER having stock LP installed and still have the black line issue.

The reason I ask is because myself and Robin Z both went straight from stock KK to custom LP( stock Android 4 to custom Android 5).

Stock ROMs set the internal organs of the device which remain even when you flash a new custom ROM.... it's like the system BIOS on a computer which is flashed onto the chip and is always present even when you remove the hard-drive.... without it you cannot install an operating system.... you need a Basic Input/Output System to be able to load the kernel and communicate with adb in order to flash. (loader, amss, modem etc)

One theory from a developer has been that this Android 4 system files using an Android 5 custom ROM may have some conflict.

However..... we think this is a dead end theory as couple of other people have tried flashing stock LP then flashing custom LP (CM12.1) and the issue remains..... the Ghost is still in the machine.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rtimoff:
definitely
[Xperia Z1 Compact Q&A, Help & Troubleshooting] John.D..:
So... how are things?) Sony believe us? They had seen those f****g stripes?
[Xperia Z1 Compact Q&A, Help & Troubleshooting] 160lightning:
No news yet guys... you can be sure as soon as the Sony rep gets back to us I'll post here.... I'm sure they won't necessarily drop everything to address this.... there are other issues that also need sorting out and there's a battery issue that I'm glad I don't have where the device doesn't track the true value of remaining battery charge and suddenly it can go from 30-40% and drop out to zero. This looks like the worst issue of all, but only with some of the amami and LP... once again not all which makes it hard to pin down.

http://xdaforums.com/sony-xperia-z1-compact/help/battery-reporting-phone-dying-suddenly-t3095120
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rzlatic:
my journey for past few days:

AOSP 0522 build (3.10 aosp kernel) - black lines: yes

RR 0531 build (3.4 slim kernel) - black lines: yes

CM 0601 build (3.4 cm kernel) - black lines: yes

stock .207 (sony closed source kernel) - black lines: no

flashed in no particular order one after another. flashed aosp and rr right after .207 stock, the lines start to flicker in matter of minutes. today they appeared even in recovery right after fastboot flashing the kernel, boot into twrp, flashed zips and before i before even rebooted into fresh flashed rom - there were black lines in twrp. temp was 40C. (photo)

stock is the only one that uses old closed source thermal management (used also on CM11 and derivatives), while all others uses (also sony's) open source thermal management starting with CM12, when all this trouble started.

there are occurrences when black lines flicker during the "Anroid is upgrading" screen and then abruptly disappears when system boots up. looks like something rom-related kicks in, thermal management or whatever blood-sugar-sex-magik. however they appear again later when temperatures kick some thresholds.

seems that having autobrightness set to off and brightness slider all the way to the left helps having black lines less often :)
[Xperia Z1 Compact Q&A, Help & Troubleshooting] iNDEX3:
What are the news from Sony
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rzlatic:
answer from sony is: 42 :D

heh joke aside, im testing custom kernel at the moment

without black lines

, in conditions where they shows with regular CM kernel.

EDIT: also fixes camera in whatsapp.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] John.D..:
A matter of life and the universe in general .. ahaha: D
[Xperia Z1 Compact Q&A, Help & Troubleshooting] 160lightning:
....And thanks for all the fish !!

Seems like Robin has found a fix.... it's still being tested but all is good so far and I'm sure he'll be posting up a link to the adjusted kernel very soon............. Watch this space.......... :D:D:D
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rzlatic:
anyone willing to try the kernel?

PM me back. the codewords are: no black lines he :D

(of course its experimental so use it at your own risk & you know the rest blah)
[Xperia Z1 Compact Q&A, Help & Troubleshooting] iNDEX3:
I'm ready to test the kernel
[Xperia Z1 Compact Q&A, Help & Troubleshooting] John.D..:
So ... what kind of results? All the same, it turns out necessary changes in the kernel ...
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rzlatic:
the test kernel fixed the bug.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] iNDEX3:
Where can I download a test kernel?
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rzlatic:
i have sent you the PM with the link yesterday. check your messages.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] iNDEX3:
Experimental kernel with cm-12.1-20150610-NIGHTLY-amami.zip works fine!

NO BLACK LINES!
[Xperia Z1 Compact Q&A, Help & Troubleshooting] 160lightning:
This of course is fabulous news for those who have been frustrated with what amounts to pixel corruption with the JDI panel since the release of LP custom ROM's.

get in and try it out.... 100% record so far !! And Robin has been using it for a few days now ramping his amami with the likes of the AnTuTu bench test.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rzlatic:
hehe we're on the way to solve this.

while using the kernel, please test it against other video bugs you know of (whatsapp camera, video playing bugs etc (i don't know all of them)) as the video mode is now different and perhaps it also fixes some other video bugs.

FLASHING TIP - to avoid fastboot flashing the kernel after updating to new nightly, download the zip on your computer and put the kernel file into it (mind the filename must be boot.img), then manually flash it thru recovery.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] TECCC:
try Kernel

hey i also got the black lines with every lp custom rom.

could i also try the new kernel ?
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rzlatic:
sure, you have a PM.

please provide feedback here after you test it :good:
[Xperia Z1 Compact Q&A, Help & Troubleshooting] 160lightning:
Good tip Robin....... obviously you don't get the luxury of updating your nightly directly thru the OTA process available and you need to replace boot.img with this kernel for each update.... but of course once it gets forked as an official kernel update we won't need to do that anymore....... small price to pay in the meantime..... :cool:
[Xperia Z1 Compact Q&A, Help & Troubleshooting] TECCC:
can confirm , no black lines with this kernel.

thank you very much
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rzlatic:
indeed a small price comparing to grilled screen we had looking at for months :D
[Xperia Z1 Compact Q&A, Help & Troubleshooting] Ravermeister:
I would like to have the kernel too, is that possible?

and are there any plans to include it into the official CM builds yet?

thanks in advance.

p.s.:

I'm experiencing the same issue when phone power is at about 30%, and the back gets hot.

by the way I made an upgrade from CM11 to CM12, and in CM11 this issue did not appear

Display Type is:

cat /sys/devices/mdss_dsi_panel/panel_id
JDI novatek 720p vid
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rzlatic:
yes, that's the display in question. and yes, CM11 was absent of the bug :) it started with first CM12 nightlies in january.

you have PM with link to the test-kernel. regarding including it to the official kernel, there needs to be some code cleaning and perhaps a few new builds to be sure and then it will be pushed to official amami code tree. there's no ETAs :p

thanks for testing & please give us some feedback afterwards :good:
[Xperia Z1 Compact Q&A, Help & Troubleshooting] Ravermeister:
Power is now at 29% no hot back, and no black lines.

(screenshot was immediately taken after boot.img flash)

I will stay in this cm and kernel Version and post another result in a few days :)
[Xperia Z1 Compact Q&A, Help & Troubleshooting] iNDEX3:
Please add CWM in this kernel
[Xperia Z1 Compact Q&A, Help & Troubleshooting] Ravermeister:
recharged 2 or 3 times, still no black lines :)

Gesendet von meinem Xperia Z1 Compact mit Tapatalk
[Xperia Z1 Compact Q&A, Help & Troubleshooting] qwertyuioplol:
Can I participate in the test?
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rzlatic:
[MENTION=6767406]qwertyuioplol[/MENTION] you have PM.

everybody else with the link, there's new build from yesterday!

(use the "boot.img" - other two builds are laggy)

the commit will be pushed to github these days so other devs could take a look at the code and eventually push it to official CM kernel code. as usual, there's no ETA. gratitude for the kernel goes to [MENTION=4819888]oshmoun[/MENTION] who is our kernel magician :good:

to repeat - when flashing new nightly, replace the official boot.img inside zip with this one, as flashing nightly updates the kernel too. there's flashing idea though: get new nightly through OTA and flash the kernel using Rashr after the boot up. worked for me but i'm used to recovery flashing ;)
[Xperia Z1 Compact Q&A, Help & Troubleshooting] :
the commit is up!

https://github.com/oshmoun/android_kernel_sony_msm8974/commit/442681ea9f6c83d3b78b98edbe2e7267af39fdc3

the way it is now it will also apply the "fix" (switch panel type) on auo panels which aren't affected by the issue.

I couldn't find a way to make only jdi panels switch modes, because that always lead to lagging and stuttering.

I suggest only flashing this if you absolutely can't stand the oh-so-fine black lines :cool:

DISCLAIMER for people who are testing or want to test the commit:

no one is responsible for any damage done to your device but you, be it due to this commit or anything else. So please be careful while flashing stuff to your device ;)
[Xperia Z1 Compact Q&A, Help & Troubleshooting] qwertyuioplol:
day passed since the installation, and I have not noticed errors in the kernel

everything works well (i`m using google translate, sorry for my mistakes)
[Xperia Z1 Compact Q&A, Help & Troubleshooting] Ravermeister:
about 1 1/2 week now, and no black lines

great job! :D hope to see it in the official CM soon

p.s.:

why is there no pull request in the original CM Kernel repository? [MENTION=4819888]oshmoun[/MENTION] will you add one?

or shall someone else clone your repo and make the pull request from there ?

...I jus't want that asap in the official CM Stream ;)
[Xperia Z1 Compact Q&A, Help & Troubleshooting] :
good to know :)

thanks for reminding of that, guess I can put it up for review. Chances are it'll be shut down quickly, but at least I'll have tried :p
[Xperia Z1 Compact Q&A, Help & Troubleshooting] Ravermeister:
with the latest boot.img ftom 23.June

My Phone does not start....

I've flashed it via fastboot AFTER the new cm update.

anything wrong with that?

Update: I've found the old boot.img

And now my phone is running again.

Is it okay to stay with that image, or should the new one work too?
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rzlatic:
use boot_nokexec_ps4.img.

we're going closer towards official :) [MENTION=4819888]oshmoun[/MENTION] built those new builds with commits from official gerrit and we were testing a few things.

in fact your phone boots with all of those kernels but the display is off and that is fixed with boot_nokexec_ps4.img.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] stegmann:
Same issue here: Since CM12 flickering started. Could I try the img?
[Xperia Z1 Compact Q&A, Help & Troubleshooting] Arnostek:
Hello, I'm experiencing same issue, could I try img too?
[Xperia Z1 Compact Q&A, Help & Troubleshooting] Ravermeister:
any reason why there is still no pull request in the main CM Kernel repo https://github.com/CyanogenMod/android_kernel_sony_msm8974 ?

how should this fix get into the main relase channel when there is no pull request

p.s. any reason why the boot.img links are not officially available?
[Xperia Z1 Compact Q&A, Help & Troubleshooting] :
CM uses Gerrit, they don't use github pull requests.

The fix is already up on gerrit.

The link is not available because the fix is only intended for those who have the issue. Putting up a public link will make people who don't have this problem to also install it, thinking it might improve something. His will only lead to confusion.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] Ravermeister:
Thanks for clarification :) I didn't know they dont use github.

regarding the boot.img is it okay to post it here? (maybe not as a link) , as I think more people will find this place when we are already gone ;)

According The Issue: everything is perfect with the latest boot.img from 24. June :) no black lines, and no other issues. Running about 3 to 4 days without reboot.

Thanks and

Kind regards

Raver

Gesendet von meinem Xperia Z1 Compact mit Tapatalk
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rzlatic:
everyone, the new kernel in town which [MENTION=4819888]oshmoun[/MENTION] helped port to amami, have black-lines-workaround included and is flashable from recovery (among other sweet stuff) so go and grab it.

http://xdaforums.com/showthread.php?t=3154470
[Xperia Z1 Compact Q&A, Help & Troubleshooting] radiaator:
What remaining tasks are left to do for developers until fixed version will be available from nightly download? I have not tryed today's one yet. I just am afraid to fry my phone using GPS in car on sunlight. One day i had after 2 hour driving display burnt in. Luckily those were gone for night.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] radiaator:
I still can't belive, I am still using for 8 months CM12 with lined screen...

I do not want to be disrespectful for the ones who are fixing the issue, but how can it be so hard to make that update available from official upgrade?!

At least can anyone tell, what is written AUO display - exact model? I think I am gonna buy one from ebay and change screen.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rzlatic:
because the ones who are trying to fix this aren't the maintainers of official code.

here is commit aimed to go official but is not yet approved by maintainer. there are also bugreports in JIRA (one, another) so you can support the efforts there, upvote, comment, or simply bump up the issue.

in the meantime, we're all using M5 kernel which does have that commit included and we're free of black lines.

i think i've mentioned M5 kernel a bazillion of timer already and won't link it again. hint: its flashable thru recovery just like nightlies.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] radiaator:
Thanks for explaining the situation, Robin. I just did not want to download software kernel from "untrusted" source :). I will wait a little more and after that come back to JIRA again. I suspect that answers in there I am not going to like.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] rzlatic:
meh.

although the fix could be included into official code tree over night, you cannot expect any ETA (you know the basic rule with CM so the wait could just go on ;)

however, until we all wait for that fix to become officially included into CM kernel - or any other fix for that matter - we all helped ourselves by running the kernel which does have the fix included. it's not any near to "untrusted" as developers are known Z2, Z1C and other xda members, some of them are close to Sony AOSP project and the kernel isn't unknown rapidshare mumbo-jumbo as there's perfectly transparent github and official thread. but it's up to you. it's surely way easier than buying AUO display, dismantling whole device and changing the panel just to get rid off the lines ;)
[Xperia Z1 Compact Q&A, Help & Troubleshooting] erikcas:
whoever wants, please test this fix

I have tested myself the past two days (I have jdi panel) but it seems to be gone. Maybe someone here can try to reproduce.

(will link to a boot.img for aosp and a full omnirom later tomorrow.

I donot do CM!

).

I think the patch which I pull requested has more chance to be accepted as it only changes settings for jdi panel w/o changing anything to other paneltypes. Also it preserves dsi_video_mode.

Reason I come up with this only now, is that I only discovered I was "infected" with the phenomena last week when I used my z1c during dayime in full sunlight. Rest of daylight time I use another device (for work) and I think I live in a cave or something.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] erikcas:
Need to say: in no way I have intentions to have any disrespect to those here who did a crusade to come to the fix that has been discussed here.

I know how hard it is to catch a ghost.

Besides that: I have tested my self, but I need confirmation on my commit. The danger of testing your own fixes is that you could miss something.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] :
Lol, no need to be so official about it [emoji14]

Gonna build cm kernel with your fix included, and pass it around. Let's see if the fix really resolves the issue ;)

Thanks for putting time into this :D
[Xperia Z1 Compact Q&A, Help & Troubleshooting] erikcas:
oh well I have been flamed around for less on these forums. Luckily we have good mods but they always have to correct what already is said :)

Anyway for testdrives, will have complete fresh rom for aosp (android-5.1.1_r13) and omnirom (did anybody do that yet for z1c?) ready in a few hrs

Alternatively, there will be a boot.img available for aosp
[Xperia Z1 Compact Q&A, Help & Troubleshooting] :
don't think our device has an omni maintainer, or even unofficial builds, so it'd be great if you take the initiative :D

AOSP is done by FXP AFAIK ;)
[Xperia Z1 Compact Q&A, Help & Troubleshooting] erikcas:
I opted as maintainer for omni ;)

AOSP I leave to FXP indeed, but I doubt they have r13 up yet.

But for changes I want to pull request to sonyxperiadev project I need to test clean anyway, always on latest sources. So I have the tree available constantly on my buildserver so compiling a fresh rom is a peace of cake
[Xperia Z1 Compact Q&A, Help & Troubleshooting] :
[MENTION=985241]erikcas[/MENTION]

fix confirmed working on CM kernel by [MENTION=4699153]rzlatic[/MENTION], going to push to CM gerrit.

Great work :good: