[MOD][COS12.1] Restored Fingerprint Touch Functionality

MrColdbird

Senior Member
Nov 25, 2011
1,178
2,195
0
www.black-seraph.com
Description
This mod restores the Fingerprint reader's capacitive touch functionality.

Setup / Download
Just flash the ZIP file with TWRP on top of the Cyanogen OS 12.1 YOG4PAS3OH build.
Should you be running CM 12.1 or other CM-based ROMs, use this ZIP file instead.

Default Button Mapping
  • Left swipe: Back
  • Right swipe: Recent Apps
  • Tap: Home
Button Keycodes
These keycodes are only useful for people that wish to remap the buttons to custom actions by editing the Generic.kl file.
  • Left swipe: 254
  • Right swipe: 249
  • Tap: 158
  • Finger Detected (unmapped by default): 744
 
Last edited:

kaizer hanz

Senior Member
Aug 22, 2009
335
73
0
Jakarta - Bandung
I will try and package another ramfs for the CM users tomorrow. That should fix a few things like root.
can you merge with with [Kernel][UBERTC] Chroma.Kernel r2 [UV] or can you enable DT2W (Double Tap 2 Wake)..? couse I miss that feature.. Chroma have that feature, but you didn't have, can we have DT2W and Fingerprint Touch Functionality.. :D :highfive:
 

MrColdbird

Senior Member
Nov 25, 2011
1,178
2,195
0
www.black-seraph.com
can you merge with with [Kernel][UBERTC] Chroma.Kernel r2 [UV] or can you enable DT2W (Double Tap 2 Wake)..? couse I miss that feature.. Chroma have that feature, but you didn't have, can we have DT2W and Fingerprint Touch Functionality.. :D :highfive:
This is a closed source kernel mod so that won't be possible.

DT2W does work however. I'm using it right now on COS.
 

kaizer hanz

Senior Member
Aug 22, 2009
335
73
0
Jakarta - Bandung
This is a closed source kernel mod so that won't be possible.

DT2W does work however. I'm using it right now on COS.
hhmmm strange... here my screenshot using Chroma (have Double tap to Wake) after flashing your mod it dissapear.. :confused: :(

I'm using "Resurrection Remix v5.5.9" porting from Chinese Developers
 

Attachments

  • Like
Reactions: mesteken

MrColdbird

Senior Member
Nov 25, 2011
1,178
2,195
0
www.black-seraph.com
This mod was made for COS so it is to be expected to have issues with other ROMs, but I think that swapping out the ramfs should be enough to solve that issue.

The problem with that is that I would have to create a different ramfs for every ROM out there...
 

kaizer hanz

Senior Member
Aug 22, 2009
335
73
0
Jakarta - Bandung
This mod was made for COS so it is to be expected to have issues with other ROMs, but I think that swapping out the ramfs should be enough to solve that issue.

The problem with that is that I would have to create a different ramfs for every ROM out there...
wow sound look good.. and yeah.. your mod with Resurrection Remix have different swipe..
for example
Button Mapping
Left swipe: Back ====>> Back
Right swipe: Recent Apps ====>> Menu
Tap: Home ====>> Home
 

MrColdbird

Senior Member
Nov 25, 2011
1,178
2,195
0
www.black-seraph.com
wow sound look good.. and yeah.. your mod with Resurrection Remix have different swipe..
for example
That's because you have remapped your recent apps button to a different action, this remap of course also affects the fingerprint reader and the events it produces.
The mapping listed in the first post thus refers to the default button mapping (unmodified by users).

On another note, I've uploaded a CM 12.1 optimized version of the mod, this should fix issues with root (and hopefully others) that CM users have been experiencing until now.
COS users should stick to the original zip file I've posted. :)
 
  • Like
Reactions: grengo

tndb

Senior Member
Jul 7, 2008
288
164
0
Do you have any zip to undo this mod? My phone has rebooted 3 times by itself today since I applied this. Running a rooted COS rom YOG4PAS3OH. The mod itself Worked just fine though
 

MrColdbird

Senior Member
Nov 25, 2011
1,178
2,195
0
www.black-seraph.com
I can guarantee you that the reboots are not caused by this. Been running the same setup you claim to have since the inception of this mod.

Sadly I do not have a undo mod available, however you only need to restore the boot.img of your original ROM and the Generic.kl file.