yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] rg2:
TL;DR - Screen's busted, major light bleed. What's the issue/Is it fixable?

Thank you for taking the time to gander at my issue.

FYI, I am running latest CM 12.1 nightly (stock CM kernel)

So, I went to bed and plugged in my device to charge, as I normally do. However, upon waking up I found my display almost unreadable. It's hard for me to describe properly what I am faced with, so bear with me if you could.

My screen is almost completely "washed out"; colors are faded, and there is an almost white "hue" hovering over everything. The edges of the screen seem the most normal, but the bulk of the screen is affected by this phenomena. What's weird is that the more the battery drains, the more it returns to normal; upon a full charge, the phenomena is at its worst.

I have wiped and re-flashed my device to no avail. Screenshots, shown on any other device, are immaculate; I have no reason to believe this to be a software problem; FWIW, the phone is as functional as ever.

I am hesitant to speculate what exactly happened, but my rudimentary knowledge of physical hardware leads me to believe that somehow the layers of the screen became separated.

I am posing this query to you all in hopes of some insight as to what exactly the situation is that I am facing. While I am no "expert", I am definitely comfortable working on my electronics and, if the situation demands it, am more than willing to crack this beast open in order to fix what ails it; however, if there is no recourse other than complete replacement, so be it. I am most curious as to what the exact problem is, and I hope that you all, who have been so good to me in the past, can help in any way.

Again, thank you for your time.
[Nexus 5 Q&A, Help & Troubleshooting] dicecuber:
Overheated when plugged in?
[Samsung Galaxy Star] Jay Han:
For your laggy gt s5282[ ★ [MOD] ◢ PurePerformances™X ◣ | Golden Edition | Scary per

Gt s5282 is a awesome powerfull device bt sometimes it is lagged.becoz of it's ram...so time to upgrade your machine :D :) ..introducing a tweak create by our beloved member [MENTION=5122018]Jeeko[/MENTION]

Check it here.....http://xdaforums.com/showthread.php?t=2360670

All credits are goes to him...

Thnx [MENTION=5122018]Jeeko[/MENTION]....
[Samsung Galaxy Star] sunny3503:
Trying now thanks for share :cool:

---------- Post added at 04:42 PM ---------- Previous post was at 04:30 PM ----------

Thanks
[Samsung Galaxy Star] blackzshaik:
Thanx

Thanx For Sharing
[JAMin, XDA Neo, S200 Software Upgrading] yanuk:
*DELETED* oh of course it isn't.. silly me
[ONE Android Development] bauner:
I have made a kernel for stock Cyanogen OS12 with the touchscreen firmware fix and the hardboot patch (So you can use the stock rom as primary rom in multirom)

I have attached 2 file types.

The .img files to flash it with fastboot or an kernel flasher app.

The .zip files to flash it with a custom recovery

Here is a Video from savadam How to install the kernel in the recovery.

In the youtube video description you will also find howto unlock the bootloader and install a custom recovery

[YOUTUBE]-Vqr2Rl8Lv0[/YOUTUBE]

Update:

Kernel V2 is attached with a modified Ramdisk to fix the not working Settings-display

Update2:

The touchsreen fix is causing an 30mA higher battery drain if double tap to wake is enabled. I can life with it, but if for you the drain is to high you should disable double tap to wake in settings-display.

As soon as a new fix is finish I will provide a new kernel

Update3:

Kernel V3 with the new fix which seems to fix the touchscreen problems without causing an higher battery drain http://review.cyanogenmod.org/#/c/99607/

Update4:

Kernel V4 with fixed Sunlight Enhancement

Update5:

Kernel for CM11s XNPH05Q added

Update6:

Kernel for CM11 M11 Snapshot/Nightly added

Sources: https://github.com/bauner/android_kernel_oneplus_msm8974
[ONE Android Development] nitramcek:
Anyone tried this and can confirm it is working?
[ONE Android Development] bauner:
I would not post it here if it would not work...

I use this kernel since a few weeks on the stock cos12 and since friday with the touchscreen fix.

Hardboot/Multirom support is also tested and working
[ONE Android Development] bauner:
Kernel V2 is attached in the first post with a modified Ramdisk to fix the not working Settings-display
[ONE Android Development] dev_freak:
[MENTION=799465]bauner[/MENTION] it works great, I thought I had no issues, now I can touch even lighter
[ONE Android Development] bauner:
Since end of december
[ONE Android Development] dev_freak:
Nice, I love this phone and I had touch issues, which I didn't knew, now I can touch my screen very light.
[ONE Android Development] tsimitsangaz:
confirmed that its working perfectly and my phone is flying
[ONE Android Development] chiujiewei:
does it work on stock cm12s
[ONE Android Development] bauner:
It is made for the stock cyanogen os 12
[ONE Android Development] chiujiewei:
i already have cm12s as my primary rom and miui6 as my scondary rom in multirom.

will flashing the boot zip for my cm12s conflict multirom?
[ONE Android Development] ovanitas:
What about the battery life? Any experience? I flashed FC which fixed the touchscreen issue, but worsened the battery life.
[ONE Android Development] tsimitsangaz:
Kernel is stock m8 as described in the topic its been compiled from latest cm stock sources so its the same as stock cm12s.
[ONE Android Development] bauner:
No it will not conflict. just boot into recovery and go to install-choose the kernel and make sure that Inject MultiRom after installation is checked
[ONE Android Development] tsimitsangaz:
is kernel same version as 12s?
[ONE Android Development] bauner:
It is built from the latest cm12.0 sources with the stock cos12.0 YNG1TAS17L ramdisk
[ONE Android Development] tsimitsangaz:
is it possible to compile the same kernel with the touchscreen driver and without MultiRom support?
[ONE Android Development] bauner:
It would be possible but it will not make any differences, because the hardboot patch does nothing if you don't have multirom installed
[ONE Android Development] ek69:
Lmao I feel bad for bauner. So many posts asking the same thing pretty much. [emoji12] [emoji32]
[ONE Android Development] ovanitas:
my experience

Couple of weeks ago I moved to Exodus ROM with its eXcaliBur kernel. Was sort of satisfied. The battery drain was about 10 mAh with screen off: a pretty similar to what I had with official CM12 ROM (btw: this indicator was around 6-7 with CM11, but I think it's just Lollipop draining a little bit more).

When the new touch screen driver was distributed, I flashed Franco's kernel with new driver. The touch screen acted like a charm but battery drain in idle state reached 70-80 mAh. Today morning I reverted back to Exodus kernel and re-flashed this one. Again, the touch screen is just perfect but the battery drain is up to 22-25.

Both times I used a dirty flash (I am not sure if there is a need for clean flash for kernel only). Will wait until the Team Vanir comes up with 5.1 and then will compare the idle state battery drain results.

Thanks for the kernel.
[ONE Android Development] bauner:
http://xdaforums.com/oneplus-one/development/kernel-t3186870
[ONE Android Development] guillermorojaz:
it is what brings the Stock ROM?
[ONE Android Development] bauner:
I have only added the hardboot patch for multirom support. The rest is the same as the stock kernel.

edit:

I have attached the complete unmodified stock COS12.1 YOG4PAS1N0 kernel here.

You can flash it with fastboot
[ONE Android Development] bauner:
Kernel for CM11 M11 Snapshot/Nightly added to the first post
[ONE Android Development] Racpu_:
[MENTION=799465]bauner[/MENTION], the last kernel for CM11 Snapshot is broken de vibrate, do you fix this?

Thanks
[ONE Android Development] JanSpatschek:
Is the touchscreen fix implemented in the stock COS12.1 kernel?
[ONE Android Development] bauner:
Yes it is
[ONE Android Development] eltarod:
After I flashed this kernel my lcd turned more bright... And it isn't from the brightness settings.
[ONE Android Development] karthiksitian:
how did u manage to install miui 6 as secondary rom..i am getting flashing zip failed error. cannot open zip archieve error in add a rom to multirom twrp recovery..can u please tell how to install the miui 6 as secondary rom
[ONE Android Development] bauner:
Please read the new update2 section in my first post.

Cyanogen is waiting for a new fix to stop the battery drain without the workaround I posted
[ONE Android Development] ovanitas:
Sorry, didn't notice the update. Thanks for the info.
[ONE Android Development] teqq:
Issues solved

Hi,

I briefly give my feedback.

I flashed this kernel on my OPO yesterday and it seems to have solved my touchscreen issues. The screen is much more responsive and it looks like ghost touches are gone.

Thank you for your work [MENTION=799465]bauner[/MENTION] !
[ONE Android Development] geowolf1000:
I flash the v2

I did not had issues but now is smoother than ever

I did full clean install and after I had this over discusting drain issue

I look further and I notice at Google settings /history I had other two 001 device as active and was synchronized

So when I switch to only this device option and disable synchro for other 001 devices my

Heat and battery drain was gone

Now all flow normal no heat no drain

MO
[ONE Android Development] ari2asem:
Maybe stupid question...but...can i use this kernel with slimkat rom (v9.0, android 4.4.4)? Or is this kernel ONLY for lolipop android roms?

Second question (little bit offtopic).....how do u measure battery use/drain during deep sleep/idle?
[ONE Android Development] bauner:
This kernel is made for the original CyanogenOS12. It is possible (but untested) that it will work on CyanogenMod12.0 too. But it will not work on any Android 4.4 based rom

You can log the battery current with some battery monitor apps from the playstore, but these apps will cause an extra battery drain...
[ONE Android Development] ari2asem:
Thanks.....my battery use during the last nigth was between 7 and 10maH....nice, isn it?
[ONE Android Development] bauner:
This is very good. I think you have double tap to wake disabled?
[ONE Android Development] ari2asem:
Indeed, dubblebtap disabled. But i dnt use this kernel. I use ak-kernel v140 on android 4.4.4
[ONE Android Development] inzaghi89:
[MENTION=799465]bauner[/MENTION] I've checked on my phone and it doesn't matter that doubletap is on or off the battery drain is still occur here. In both cases it takes 10-20% per night (phone is in idle, with LeanDroid turned on, so wifi is activated in each 1 hour). I really don't think that this is an issue with doubletap wake up. I've also enabled option to turn phone off with double tap on bar.
[ONE Android Development] bauner:
As the cyanogenmod devs explained it is caused by double tap to wake. The extry drain with double tap to wake enabled should be about 10% in 10 hours
[ONE Android Development] inzaghi89:
Yeah and I've checked this on my phone. The difference with on and off is maybe between 1-2% in 8 hours when phone is idle. I think that in my case the issue might be also with wakelocks of google play service https://forums.oneplus.net/threads/...ndroid-system-fix.304384/page-5#post-11238793 because the Andorid OS takes 20-30% of battery. Phone is charging now and we'll see :)
[ONE Android Development] bauner:
For me Android system is 2% and Android os is 1% without changing any play service wakelock settings
[ONE Android Development] inzaghi89:
Unfortunately I can't say that. http://dl.keepmind.eu/Screenshot_2015-05-20-14-49-45.png

Hope that disabling those options will help. Also I've disabled double tap wake up again.
[ONE Android Development] borsodi:
Hi,

I have a problem flashing the file - I got massage that the file is for A0001 but my phone is Bacon, could you change it for me so I could try to flash it and test if it helps with the touchscreen problems. they are so annoying. Whenever the phone gets warmer I cannot use it...
[ONE Android Development] bauner:
Do you have the stock COS12 or CM12 installed?

This kernel is only tested with COS12 but it is possible that it will work with CM12.0 too (but not with CM12.1)

To skip the device name check you can edit the file META-INF/com/google/android/updater-script inside the zip (do not extract the zip) and delete the 1. line

assert(getprop("ro.product.device") == "A0001" || getprop("ro.build.product") == "A0001" || abort("This package is for device: A0001; this device is " + getprop("ro.product.device") + "."););

You also should use an editor like notepad++ (https://notepad-plus-plus.org/) which can handle linux line breaks
[ONE Android Development] davorb:
This didn't work for me with cm12.1. I couldn't boot after I installed it.
[ONE Android Development] bauner:
This kernel is for the stock COS12.0 and not for CM12.1
[ONE Android Development] Ahmed Shawky:
Can I use it for Bliss Pop ROM

and if not

is there any other kernel with this good performance for fixing the touchscreen
[ONE Android Development] bauner:
I don't know. This kernel is made for the stock COS12 rom and it is not tested on any other rom
[ONE Android Development] lokesh.3440:
Why don't you guys read the OP title carefully before flashing it ? It has been clearly mentioned this kernel is for COS 12
[ONE Android Development] kennethwendo:
Hmmm. Interesting. Typing is more enjoable. The screen seems to scroll faster...everything seems to fly. I have no overheating (removed doubletap to wake as you advised). Hey, for the first time i am actually beginning to enjoy my oneplus one. I hope i dont jinx it by being too positive though!:laugh: Thanks man...great piece of work.
[ONE Android Development] messher:
Request

It's possible to merge the touchscreen driver of OxygenOs, into CM12 kernel?!?

The actual oxygenos touchscreen driver, work s perfect for me.

Thank you.
[ONE Android Development] inzaghi89:
So you're telling that on COS12s you've an issue with touchscreen but on OxygenOS not?
[ONE Android Development] messher:
Absolutely correct
[ONE Android Development] inzaghi89:
It's very interesting. At the moment I don't have enough time to verify this at myself (flash phone with OxygenOS). Can somebody else confirm this? What about stability and sunlight enhancement in OOS? Also I've an argument agains OOS - Google Camera app instead of camera next.
[ONE Android Development] messher:
If you are interested and if you can merge the OOs drivers into CM12 Kernel, i can post a video of touchscreen issue on cos12s (also with the FK43 that include latest touch firmware) and a video with OOs.
[ONE Android Development] NickTiani:
Can i flash one of the two file with the stock recovery ( I have CM12S)?
[ONE Android Development] bauner:
OxygenOS is using a slightly different firmware as the old one from CM Oct 30, 2014.

Can some other users which have touchscreen problems confirm that it will work better in OxygenOS?
[ONE Android Development] bauner:
The 2 files are the same. The zip is to flash with recovery and the img is to flash with fastboot or an kernel flasher app.

For the zip file you need a custom recovery.

For the img file you need an unlocked bootloader to flash it with fastboot or a rooted device to flash it with an kernel flasher app
[ONE Android Development] Ahmed Shawky:
I have some confusion of the difference between cm12 cm12.1

I flashed no Bliss pop but I still have touchscreen issue

I need to back to Cm12 officialy from oneplus one

and hope that fix the touch screen issue with this kernel

can any body help what exactly i need to do ?

---------- Post added at 01:25 AM ---------- Previous post was at 12:55 AM ----------

Any bosy can give me a name of App that i can test the the touch of the screen after and before this kernel

I will flash it in Bliss pop Rom is that ok ?
[ONE Android Development] bauner:
COS12 and CM12 is android 5.0.2 and CM12.1 is android 5.1

This kernel is only tested with the stock COS12.

It may be work with other cm12 based roms but not with cm12.1 based roms
[ONE Android Development] svassh:
I flashed yesterday. So far battery seems fine even with double tap to wake. I didn't have touchscreen issues but I will say it takes a lighter tap to wake now. So it is more responsive. I am on COS12.

---------- Post added at 09:19 AM ---------- Previous post was at 09:17 AM ----------

Also maybe my imagination but the screen colors seem to have more pop especially darker colors.
[ONE Android Development] mdavario4:
I can't believe... touch issues are gone, esp. the totally unresponsive areas.

Great work - thank you!!

Nothing what the support suggested didn't help at all.. it felt like snake oil to me :rolleyes:
[ONE Android Development] geowolf1000:
Look to display sett there is new option for colors temperature
[ONE Android Development] Salomanuel:
guys with the 15/05 Nightly I experience bootloop :(
[ONE Android Development] :
It's made for official cm12s not nightlies
[ONE Android Development] bronyDrake:
YAMTT
[ONE Android Development] dark_on_5:
I need to flash both the img and zip?
[ONE Android Development] tsimitsangaz:
If you have A custom recovery like TWRP flash the zip if not flash the boot. img via fastboot command
[ONE Android Development] bauner:
As I don't have touchscreen problems on my device I need some testers which had touchscreen problems with the stock kernel for a new version with this change

http://review.cyanogenmod.org/#/c/99607/

Please test if the touchscreen is working as in V2 and if the battery drain with double tap to wake enabled is gone
[ONE Android Development] mdavario4:
Hi, just flashed the V3 test kernel, yamtt doesn't show any touch issues. DT2W I will test during the day.

I had error messages during flashing, see attached Screenshot.
[ONE Android Development] bauner:
I don't had such an error on installing.

Did it finally install correctly?

If it was installed correctly the kernel version in settings-about phone should be

3.4.67-cyanogenmod
bauner@pc#1
Mon Jun 1 08:25:23 CEST 2015
[ONE Android Development] mdavario4:
Yes, did install and shows your kernel version.

Michael
[ONE Android Development] inzaghi89:
So this ROM is still based on Stock with synaptic patch applied? How about bright/light control - does it work? If yes I'll flash later today.
[ONE Android Development] mdavario4:
see Screenshot
[ONE Android Development] bauner:
This is no rom it is only the kernel.

The V3 Test includes a newer synaptics firmware
[ONE Android Development] inzaghi89:
Yeah, sorry. I want to write kernel, but thinking about rom, and the result is... ;)

Will check in next one/two hours.

---------- Post added at 11:29 AM ---------- Previous post was at 11:17 AM ----------

Ok kernel applied. Still an issue with sunlight enchanhment. When it's turned on colors are like should be outside. But can live without this. Phone is charging now ;) will back soon with an update. And doubletap is enabled.
[ONE Android Development] bauner:
I have done some tests with battery monitor widget. (but such apps will cause a little battery drain too...)

With V3 kernel and enabled double tap to wake I have a battery drain about 19-26mA with enabled mobile network and disable "wifi scanning always enable" in standby.

With disabled double tap to wake I have a battery drain about 15-18mA.

This looks very good with many installed apps...
[ONE Android Development] tsimitsangaz:
I will flash it after work and report back. because your v2 is working brilliant on my phone and battery life is good as well with double tap enabled
[ONE Android Development] inzaghi89:
After few hours of using: no overheat, no battery drain, no touchscreen issue. Works awesome. Only one thing which i've observed is sunlight enhancement. Nothing more.
[ONE Android Development] bauner:
Did you have touchscreen issues with the stock kernel?
[ONE Android Development] inzaghi89:
Yes, and after first synaptic firmware update it has stopped. Now with this patch applied and v3 still no issue. On stock kernel it back again.
[ONE Android Development] Messatsu:
Happy to see you in the Oneplus One forum bauner ! I've been following you since a long time ago in the N7000 forum.

==> Having the touchscreen issue & having flashed the first firmware fix with the battery drain issue, I'm going to try your v3 fix, will report back ASAP.

Thank you!
[ONE Android Development] geowolf1000:
I did not had touch issuues but i install v2 and was smoother

With v3 is awesome

Also

Battery drain is with all types of panel

Or affect those with touch problem?

I am confuse about this because never had any obvious drain

Thanks great work.
[ONE Android Development] bauner:
The touchscreen firmware in V2 caused an 30mA higher battery drain when double tap to wake is enabled.

This seems to be fixed now
[ONE Android Development] mdavario4:
Yes, I think so! After 1 day of using V3 I have no complaints.

Thanks for providing this kernel, gave me back enjoying my OPO.
[ONE Android Development] bauner:
Update3:

Kernel V3 with the new fix which seems to fix the touchscreen problems without causing an higher battery drain is now in the first post.

If you have already installed the V3 test version you don't need to update. It is the same version
[ONE Android Development] piyushjeswani:
Hello,

I am a noob to all this techie stuff. I can follow the steps if listed or I can watch a video and do the stuffs. I am unable to open a new thread therefore posting here.

I want to do this but I haven't rooted my device nor do I have unlocked the bootloader. I would really appreciate it if someone will be kind enough to help me with what I have to do? Is there any video for installing TWRP recovery and unlocking the bootloader for CM12S?

Please help me to solve this touch screen issue.

Thanking all in advance.
[ONE Android Development] bauner:
In the youtube video description in the first post you can find another video which show how to unlock the bootloader and install a custom recovery.

But unlocking the bootloader will do a factory reset
[ONE Android Development] rafiuddinrozman:
Use the search button bro. Just type how to root and unlock oneplus bootloader

Thanks,
[ONE Android Development] Messatsu:
No issue (ghost touches, battery drain...) so far after 1 day of tests.

Thank you!
[ONE Android Development] NOSTALGIA:
so the google play services is not the issue of the battery drain???
[ONE Android Development] bauner:
The google play services can also be a reason for battery drain, but the old touchscreen fix caused an extra 30mA battery drain when double tap to wake was enabled
[ONE Android Development] NOSTALGIA:
thnx for this.. just an off topic.. about the google play services because its just seems to eat my battery after updating it to 7.5 i think.. is it safe not to update the google play services if u have ab idea?
[ONE Android Development] bauner:
I don't have problems with google play services. I have also installed all updates.

But you can try to disable keep awake and wake up from google play services in settings-privacy-privacy guard (enable show built-in apps in the privacy guard settings) and long press on google play services
[ONE Android Development] NOSTALGIA:
yep on it.. but after the update it seems to be eating some battery..

will check on it.. tnx so much..
[ONE Android Development] Omniscient:
Out of curiosity why can't we install the zip using the stock COS12 recovery if the kernel is made for stock COS12?

From reading a guide to flash a custom recovery, it would appear I can do this without unlocking the bootloader? Is that right? As much as these touch-screen issues are f**king me off, I really don't want to have to wipe/lose everything on my phone just to test this. (Currently stock COS12, NOT rooted/unlocked)

So I suppose the question I have is; can I flash a custom recovery, like clockwork mod recovery, then install the zip, all without unlocking/losing everything I currently have on my phone?

Thanks for any answers!
[ONE Android Development] inzaghi89:
I've disabled privacy guard after update to V3. No battery drain as before. I'm not telling you that v3 fixes this, but for some reason it stopps for me.
[ONE Android Development] bauner:
You need to have your bootloader unlocked