[GUIDE][FIX] Fingerprint Selfie Tweak for Redmi Note 3 (Kenzo) for Nougat & OREO

Ajendra25

Senior Member
Oct 15, 2016
282
129
0
Vadodara
So guys, Finally most awaited tweak for enabling Fingerprint Sensor to Capture Photo in any Camera app is here.:)
(This is my very first XDA thread... If you do like my work then plz hit a Thanks button below, it's really motivates me to do some more for you guys.)


WARNING:
This tweak includes some system changes & may cause unwanted behaviour. I'm not responsible for any consequences. Do it at your own risk!
Take backup of all files before trying this. (Recommended)

PREREQUISITES:
1. Redmi Note 3 SD (Kenzo)
2. Rooted ROM
3. Any Root File Explorer
4. Good Text editor for editing text files.

Before: PLEASE HIT A THANKS

HOW-TO:
1. Goto /system/usr/keylayout folder
2. Find these 3 files mentioned below:
Generic.kl
gf318m.kl
uinput-fpc.kl
(NOTE: IF YOU CAN'T FIND "gf318m.kl" FILE IN YOUR DEVICE, THEN JUST MODIFY REST OF 2 FILES AND TRY IT!)

3. Open & edit them with text editor (QuickEdit)
4. Find for key 96
5. If you find any line starting with key 96, comment it with Prefix # (i.e. add # symbol before that line)
6. Add new line with this
Code:
key 96 CAMERA
Note: You should append this line by sequence number in ascending order. Just follow it & add 96 after 95.
Repeat same process for all 3 files.
7. Save the file & Reboot:good:
8. Enjoy Fingerprint Selfie in all Camera apps. :fingers-crossed:

Note: I've tested this in my Redmi Note 3 (Kenzo) with NOS N ROM & it's working perfectly without any issues.
It should work with all Nougat based Custom ROM (s).
Please test it & tell me.

Enjoy & Don't forget to Hit Thanks button below, it really motivates me. :)
 
Last edited:

Ajendra25

Senior Member
Oct 15, 2016
282
129
0
Vadodara
Working on RR-N. Thanks. Can you please make flashable zip of this tweak?
Happy to know that:)
It should work on all Nougat based Custom ROMs. Then, Enjoy Selfie :good:
I think, flashable zip make no sense, because we have to manually change some values according to device.
& That key Value i.e key 96 could be different in other device!
 
Last edited:
  • Like
Reactions: RockStar8

42o247

Senior Member
Nov 10, 2010
548
62
48
Sorry buddy.. it won't work in Oreo because Oreo doesn't have Goodix FP sensor support. So will have to wait till ROM update. (If you have FPC sensor then you should try this, probably it may work!)
i do have an fpc sensor. tried to cha ge the files that i could but there is no gf318 file in oreo