[ONE General] javideslomao:
NOTE (2014-10-08): All the downloads here are obsoleted by official builds. However, I'll keep updating the OP with news about this issue as they happen

Background: if you have this problem:

[YOUTUBE]DSVIvsDDns0[/YOUTUBE]

Try the attached kernel (boot.img). You can flash it permanently from fastboot mode:

fastboot flash boot boot.img

Or test it temporarily (will be gone in the next reboot/poweroff):

fastboot boot boot.img

I tested it with this app (YAMTT) and so far I'm not getting any of the ghost swipes.

About the kernel

Some insight: this is basically the stock XNPH25R kernel with the default touchpanel driver disabled and replaced with synaptics' official driver. Note the synaptics driver is quite generic (aka clean) and it doesn't have the screen-off gestures, but that means your flashlight won't burn through your skin because it turned itself on in your pocket or some other random bs.

Screen going berserk (registering random tappings all over, total / regional insensitiveness) might also be fixed by the synaptics driver, but it's too early to say.

Grounding issues (aka 5 fingers not working on pillows) will NOT fixed by this.

Disclaimers

The touchpanel driver plays around with internal voltage regulators. Don't blame me for bricks or anything bad happening.

EDIT: This needs stock XNPH25R. If you flash the kernel on top of bacon nightlies (or any 4.4.4) you will softbrick / bootloop the phone.

EDIT 2: After a few hours into the new driver I noticed the following bugs:

Ghost swipes do appear from time time time, but in my opinion it's much less irritating than before.

Sometimes the screen will stop responding, but sleeping/waking up the device a couple of times brings it back to life. Still very annoying though.

My opinion

Overall I'm starting to think this is more a synaptics firmware issue than a driver issue and I really hope both OnePlus and Synpatics are working together on this. However, the 3508 chip used in the OPO doesn't even appear in the Synaptics' product listing, which makes me think it was a custom part specifically developed for OnePlus/OPPO and it will get marginal attention when it comes to bugfixing. The "good" news is that Synaptics is actively developing the driver (last commit from them is about 24 hours old), the bad ones is that OnePlus looks totally deaf-mute and overwhelmed by problems.

EDIT 3: Github link (branch bacon-55):

https://github.com/jamarju/android_kernel_oneplus_msm8974/tree/bacon-55

Whoever wants to add this to their own kernel, be warned of bugs (above). Also, I don't think I'm doing further development on this.

EDIT 4: Ricardo Cerqueira (cyanogen) has just pushed a commit to the oneplus kernel that supposedly mitigates bacon-55 problems. It does so by resetting the touchscreen when blanking the screen. It should go into tonight's CM11 nightly and presumably into the next OTA. I've backported it so that anyone can have it NOW with the current CM11S (XNPH25R). In Ricardo's words:

So now you have two kernels to choose from: boot.img with synaptics driver (ie. no gestures), or boot-82ea57.img with the original Oneplus driver (ie. yes gestures) + Ricardo's patch.

EDIT 5: 33R is out with a new touchpanel firmware but it doesn't seem to fix BACON-55. Just out of curiosity I tried the 33R kernel with the aforementioned driver patched in and ghost swipes momentarily go away, but they come back after a few minutes. It's so bad that I don't even think it's worth uploading a new boot.img.

Bottom line, if you're looking for a fix for BACON-55, look elsewhere. I'll keep updating this post if there's any news regarding this issue, though.

EDIT 6: As of sep-10 there is a new synaptics firmware upgrade (version 18): http://review.cyanogenmod.org/#/c/72720/. I'm 10 minutes into this firmware (maybe too early to say), but ghost swipes are gone. The boot-33r-f367c1f.img file below is the stock 33R kernel with this patch in. Try it out if you are on the stock 33R and don't want to wait for the OTA or migrate to the CM11 nightlies.

EDIT 7: Nevermind... ghost swipes are still there. Typing experience looks slightly better. Looked promising, but still not a real solution.

EDIT 8: Franco Kernel #17 (http://franciscofranco.minooch.com/OnePlusOne/4.4/) also has the latest synaptics firmware.

EDIT 9: A new synaptics firmware (version 19) went in today (sep-12), see here: http://review.cyanogenmod.org/#/c/72880/. Commit description is not too descriptive but I'd say it further mitigates BACON-55. With before yesterday's firmware (18) I got occasional swipes between keys that were 2 keys apart. Now I get none on those. However, it still swipes between keys that are very close together (0 or 1 keys apart). Flash "boot-33r-synfw-19.img" to test it.

EDIT 10: franco kernel r18 is out with Synaptics firmware v19.

EDIT 11: OTA 38R is out with the latest synaptics firmware (v19) built in, so all of the above is again obsolete. As expected, the touchscreen in 38R behaves exactly the same as in previous custom ROMs/kernels that also had firmware 19. Ie: big improvement over 33R, but not 100% fix for lots of people, including myself. See BACON-55).

EDIT 12: Franco Kernel r30 has the latest firmware (21). Like always, there are mixed reports as to whether the TS works any better with this or not. My own experience: here.

EDIT 13: OTA 44S is out with firmware 21. Also, there are signs that Oneplus is silently switching touchscreen manufacturers, from TPK to WINTEK.

Now, to the downloads (obsolete - forget this, read above):