FIXED: when phone don't wake up from deep sleep when POWER or HOME button is pressed
SORRY, NOT SURE if it is WORKING, even if it seem to work for some time, now start failing again, apparently i was lucky? that when i was modifying this files the unlock mechanism started working perfectly until now
Probably some of you have this problem, you need to press several times the power button, home button, back button and any imaginable sort of button combination to finally unlock the device.
Probably you also notice that when you are in deep sleep and you press the power(or home) button the phone indeed wake up but the screen don't. So you can touch the screen and you can feel (if you have vibration enabled) when you slide the slider in the unlock screen, but you can't see anything the screen remains off.
Solution:(see UPDATE2 at the bottom)
Replace this "patched" files:
Generic.kl->
View attachment Generic.zip (unzip it first, the file is inside the zip)
qwerty.kl->
View attachment qwerty.zip (unzip it first, the file is inside the zip)
to
/system/usr/keylayout
and
change ownership and permission accordingly
*****************************************************************
*What i changed was:
in
Generic.kl
***original***
key 102 MOVE_HOME
key 107 MOVE_END
key 114 VOLUME_DOWN
key 115 VOLUME_UP
key 116 POWER WAKE
key 142 POWER WAKE
key 143 POWER WAKE
key 152 POWER WAKE
***************
***patched***
key 102
HOME WAKE_DROPPED
key 107
POWER WAKE_DROPPED
key 114 VOLUME_DOWN
WAKE
key 115 VOLUME_UP
WAKE
key 116 POWER WAKE
_DROPPED
key 142 POWER WAKE
_DROPPED
key 143 POWER WAKE
_DROPPED
key 152 POWER WAKE
_DROPPED
***************
in
qwerty.kl
***original***
key 107 ENDCALL WAKE_DROPPED
key 102 HOME WAKE
key 116 POWER WAKE
***************
***patched***
key 107
POWER WAKE_DROPPED
key 102 HOME WAKE
_DROPPED
key 116 POWER WAKE
_DROPPED
***************
*Explanation?
Apparently when phone enter deep sleep it no longer use
shakira_keypad.kl layout as it should and starts using the generic layout. The problem is that the relevant keys in the generic layout are not the same as in shakira_keypad.kl layout.
So i changed the generic layout to match the shakira layout as you can see in the changes above.
ps: apparently the generic qwerty.kl layout is deprecated, i changed it also just in case
UPDATE---
After a lot of usage with the patch it fails to me unlocking using the HOME button.
Until now POWER button is working correctly...
UPDATE2--
try with this files instead:
View attachment keylayout_2.zip
inside there are 3 files Generic.kl, qwerty.kl and 7k_handset.kl
seems to be working again, test yourself