Fix fingerprint - Xiaomi Mi 5s Guides, News, & Discussion

Why you need to unlock the Home button. The fingerprint sensor works like this - it first wakes up the phone, then the fingerprint sensor unlocks the phone. But it's normal work to immediately unlock the phone. If you disable the wakeup by clicking on the Home button, the fingerprint sensor, on the not known finger, triggers once and turns off. That is, you can unlock only by pressing power and then the sensor will work again. Generally on the screen off, without the function to wake up the Home button, the fingerprint sensor works crooked. if comment in build.prop this
#persist.qfp.capacitive_enabled=1 and edit this persist.qfp.ssc_thresh_s2_touch=0.370
persist.qfp.ssc_thresh_s2_lift=0.350
disable wakeup home button edit -/system/usr/keylayout/synaptics_dsx.kl comment #key 143 WAKEUP
fingerprint work normal, without wakeup by home button. do not wakeup screen, then unlock by fingerprint. sorry for my english!!!Thanks!!!

realmenvvs said:
Why you need to unlock the Home button. The fingerprint sensor works like this - it first wakes up the phone, then the fingerprint sensor unlocks the phone. But it's normal work to immediately unlock the phone. If you disable the wakeup by clicking on the Home button, the fingerprint sensor, on the not known finger, triggers once and turns off. That is, you can unlock only by pressing power and then the sensor will work again. Generally on the screen off, without the function to wake up the Home button, the fingerprint sensor works crooked. if comment in build.prop this
#persist.qfp.capacitive_enabled=1 and edit this persist.qfp.ssc_thresh_s2_touch=0.370
persist.qfp.ssc_thresh_s2_lift=0.350
disable wakeup home button edit -/system/usr/keylayout/synaptics_dsx.kl comment #key 143 WAKEUP
fingerprint work normal, without wakeup by home button. do not wakeup screen, then unlock by fingerprint. sorry for my english!!!Thanks!!!
Click to expand...
Click to collapse
Thanks :good:
This worked for me on LOS build 2606

I dont think I get it lol
What does this fix ? and is for miui too?

miui too! this fix correctly unlock device

Works great on miui!!! Thanks a lot

How to make this work in miui rom? Someone please?

Yeah someone pls explain with apples

it work, thanks a lot !!!

I don't know which of your modifications kept my phone awake, I reverted all of them and it started again to go in deep sleep
Sent from my MI 5s using Tapatalk

I did not do it myself yet but I think you need to do this:
/system/build.prop
persist.qfp.capacitive_enabled=1
to
#persist.qfp.capacitive_enabled=1
persist.qfp.ssc_thresh_s2_touch=0.330
persist.qfp.ssc_thresh_s2_lift=0.310
to
persist.qfp.ssc_thresh_s2_touch=0.370
persist.qfp.ssc_thresh_s2_lift=0.350
Go to /system/usr/keylayout/synaptics_dsx.kl
key 143 WAKEUP
to
#key 143 WAKEUP
Correct me if I am wrong.

All right

pr0x2 said:
I did not do it myself yet but I think you need to do this:
/system/build.prop
persist.qfp.capacitive_enabled=1
to
#persist.qfp.capacitive_enabled=1
persist.qfp.ssc_thresh_s2_touch=0.330
persist.qfp.ssc_thresh_s2_lift=0.310
to
persist.qfp.ssc_thresh_s2_touch=0.370
persist.qfp.ssc_thresh_s2_lift=0.350
Go to /system/usr/keylayout/synaptics_dsx.kl
key 143 WAKEUP
to
#key 143 WAKEUP
Correct me if I am wrong.
Click to expand...
Click to collapse
soo.. we need to put the "#" symbol too?

yes

seledrimerdeka said:
soo.. we need to put the "#" symbol too?
Click to expand...
Click to collapse
it worked?

The # symbol disables that line.

It's just doing nothing for me on the latest build of the official lineage.

Perfect! also fix the bug when you add a fingerprint while you enable your navbar

i cannot add fingerptint, why?

Using miui 7.6.29 I tried editing build.prop but sometimes cannot be saved and after reboot it goes back to default

Here is a magisk module in case anyone is interested.
screenshots are from xiaomi.eu 7.6.29
edit:
v2 fixed the build.prop not taking effect

Related

Disabled n button from waking up device?

Ok, I searched and can't find anything on this. Any thoughts?
FYI...Im using CM7
Thanks.
Sent from my NookColor using XDA Premium App
ramiss said:
Ok, I searched and can't find anything on this. Any thoughts?
FYI...Im using CM7
Thanks.
Sent from my NookColor using XDA Premium App
Click to expand...
Click to collapse
I don't know that you can stop one of the 4 inputs from waking up the hardware, but...
You can define the 'n' button to do something that doesn't offend you and set your screen to sleep after a very brief moment (15 seconds).
Why do you want to change the hardward button behavior?
byronczimmer said:
Why do you want to change the hardward button behavior?
Click to expand...
Click to collapse
Hi, thanks for answering. The reason for this request is because the screen keeps waking up as it moves around in my bag. Just lightly pushing on the case/cover I use will activate the button and leave the screen on until the timeout. I am surprised this isn't an issue for more people (or perhaps people aren't noticing their nook turning on.)
Lowering the timeout is not going to work since I do a lot of reading and having to tap the screen every 15 seconds would be a pain. Unless anyone has figured out how to get screebl to work??
You can completely disable the "N" button by editing the keyboard layout file. Using Root Explorer (paid app - but WELL worth it!) or equivalent, navigate to SYSTEM>USR>KEYLAYOUT then click the button at the top to "Mount R/W", now long-press the file "qwerty.kl" and choose "Open in Text Editor". Then find the following line:
Code:
key 102 HOME WAKE
and simply add a # to the beginning of that line so that it looks like this:
Code:
#key 102 HOME WAKE
Now press your MENU button and choose "Save & Exit". You'll need to reboot the Nook for the change to take effect.
Now your N button should be completely disabled. Just make sure you have the soft keys set up with a home button so you'll have a way to use that functionality when needed.
If you want to maintain the functionality of the "N" button but just prevent it from waking the Nook, simply remove the word WAKE from that line and don't insert the # character. I haven't tried this implementation, but it should work fine.
If you did what jason suggest, make sure you not hide the status bar.
You can change the "unhide" button to something else in Tablet Tweaks or you can use the long-press Power menu option which is also in Tablet Tweaks.
911jason - thanks for that.
Running CM7.0.3 from sdcard, used Root Explorer to find and edit the keyboard layout file.
Simply removed WAKE from the home button as suggested.
Works beautifully. Doesn't wake the device, yet does all the other stuff it's supposed to.
Score one victory for increased battery life for shared knowledge.
I have a soft case and it gets turned on in my pocket.
I went ahead and also removed WAKE from the volume up and down buttons.
Now the only way to wake the screen is the power button. The way my case is, that's the one button that won't get pressed in daily travel.
(don't know if reboot is necessary, but i'd assume so, and did after each change before testing)
Thanks!
TCAndroid said:
911jason - thanks for that.
Running CM7.0.3 from sdcard, used Root Explorer to find and edit the keyboard layout file.
[ ... ]
I went ahead and also removed WAKE from the volume up and down buttons.
Click to expand...
Click to collapse
I also took WAKE off the volume keys, because I tend to reach into my bag and adjust the volume while walking or waiting for the train. My buttons don't tend to get pressed, since my bag is for a netbook and my uncased NC doesn't rattle around. However, after adjusting the volume, the screen was live and the bag and its contents sometimes made random touches all over the screen...
The volume buttons now work exactly the way I want! Thanks for the very clueful answer to this question!
Of course, now I have another thing to do every time I update my ROM. I should learn how to make update scripts!
I am curious why HOME has WAKE and not WAKE_DROPPED, when it appears to behave like WAKE_DROPPED.
From what I understand, WAKE_DROPPED causes the device to wake from sleep but does not send the command normally associated with the button that was pressed. WAKE will wake from sleep and also send the command after doing so.
911jason said:
From what I understand, WAKE_DROPPED causes the device to wake from sleep but does not send the command normally associated with the button that was pressed. WAKE will wake from sleep and also send the command after doing so.
Click to expand...
Click to collapse
Exactly so. HOME acts like WAKE_DROPPED, doesn't it? But it's marked WAKE.
Actually, yes, you're right... just realized that. Not sure why it's behaving that way.

Disabling home key/wake activation

I was previously able to disable the Home Key for the Wake Activation by editing gpio-keys.kl
After i have upgraded to Kitkat, i can now see in place of WAKE, there is WAKE_DROPPED already in that file, and even if i remove it , i cannot stop the home button wake activation to stop.
The reason i wanted to do this was i use the jelly home button and it with flip cover or slim Armour view, this will keep my phone screen awake if i do not disable the wake function
any one has any idea how this is done in Kitkat.
I am on NB4
swagatsourav said:
I was previously able to disable the Home Key for the Wake Activation by editing gpio-keys.kl
After i have upgraded to Kitkat, i can now see in place of WAKE, there is WAKE_DROPPED already in that file, and even if i remove it , i cannot stop the home button wake activation to stop.
The reason i wanted to do this was i use the jelly home button and it with flip cover or slim Armour view, this will keep my phone screen awake if i do not disable the wake function
any one has any idea how this is done in Kitkat.
I am on NB4
Click to expand...
Click to collapse
are you rooted? if yes, install xposed framework then install wanam xposed..there are option to disable home button wake up in wanam.
jimzmaycry said:
are you rooted? if yes, install xposed framework then install wanam xposed..there are option to disable home button wake up in wanam.
Click to expand...
Click to collapse
thanks for that

[Q] Disable screen waking up with HOME button

Hi everyone,
I wanted to disable screen waking up by home button - which causes many random wake ups while I keep phone in my pocket.
key bindings are stored in /system/usr/keylayout directory, but I've found HOME button being mapped in multiple different files:
Generic.kl:key 102 MOVE_HOME
Generic.kl:#key 172 HOME WAKE
Generic.kl:key 249 DUMMY_HOME1
Generic.kl:key 250 DUMMY_HOME2
Generic.kl:key 252 DUMMY_HOME
Vendor_045e_Product_028e.kl:key 316 HOME
....
Vendor_2943_Product_0020.kl:key 172 HOME
atmel_mxt_ts.kl:key 102 HOME
gpio-keys.kl:key 172 HOME WAKE_DROPPED
qwerty.kl:key 102 HOME WAKE
synaptics_rmi4_i2c.kl:key 102 HOME
I already have tried removing WAKE mapping for HOME and WAKE_DROPPED from Generic.kl and gpio-keys.kl, but it didnt help.
Does anyone have any idea how to disable HOME wake up for galaxy S5?
If your on alliance ROM I'm pretty sure you can just simply change a setting in alliance settings.
Sent from my SM-G900F using XDA Free mobile app
Wanam Xposed has an option to do that but not sure if it works. It's in System, scroll all the way down to Buttons. You'll need root for that.
Wanam Xposed Works
iBimmer said:
Wanam Xposed has an option to do that but not sure if it works. It's in System, scroll all the way down to Buttons. You'll need root for that.
Click to expand...
Click to collapse
Excellent suggestion. I can confirm that this works on the S5! What a relief!
Deleted
I use exposed editions, it's brilliant because I can now have my home button to activate power after two quick presses, there are many options for button configuration with it, definitely worth a look
I had this disabled with Wanam, but I'm not up to using xposed under Lollipop now. Anyone found a non-xposed way under Lollipop to disable the home button from unlocking the screen?
proximity sensor hacks like Gravity screen don't *quite* do the trick.
An alternative lock screen might, but I've tried several in the past and not found one I really liked.

Disable Home button to wake up

[email protected]
Everytime i pull out the note 4 from pocket, the screen is on.
how can i disable the button to wake up the phone?
im rooted, but changes in system/user/keylayout/gpio.keys.kl not working for me.
if i delete the hole line, home button is complete disabled not only for wake up.
wake_dropped wont work for me.
thx in advanced for help
Xposed Additions - xposed module
https://play.google.com/store/apps/details?id=com.spazedog.xposed.additionsgb
I've just tested it and works well
thx for your reply
how to use this module to block home button wake up
buttons - add new key - home - screen off - select both options - click and long press
thx for your help!!! it works
shootermc77 said:
[email protected]
Everytime i pull out the note 4 from pocket, the screen is on.
how can i disable the button to wake up the phone?
im rooted, but changes in system/user/keylayout/gpio.keys.kl not working for me.
if i delete the hole line, home button is complete disabled not only for wake up.
wake_dropped wont work for me.
thx in advanced for help
Click to expand...
Click to collapse
You can install xposed framework then install wanam , and go system > buttons > Enable wake HOME button .
reboot to take effect.
Enjoy =)
Thank you so much I tried everything Wanam and all that stuff nothing works... I'm rebooting now to see if it works well it did and I'm very very very very very very very happy

help

How to lock screen with out power button if i install third party applications finger print or iris not working to unlock phone any idea ?
Not sure of your questions? but you can unlock your phone with face recognition or password. I don't know any other way to manually lock the screen without power key, but if that doesn't work, set the shortest timeout, it should lock itself in 30sec. no matter what, if undisturbed. To go to unlock screen without power button, you can press home screen, about 1 cm from the bottom in the center. Hope this is what you're looking for.
saxena1 said:
How to lock screen with out power button if i install third party applications finger print or iris not working to unlock phone any idea ?
Click to expand...
Click to collapse
In the Galaxy store think it's called smart edge or something... Only one I found that let's you lock and still let's you use fingerprint without using pin/pattern

Categories

Resources