Recently I started using the Cover Lockscreen on my samsung S Advance which is a great alternative to the stock lockscreen. However I got this annoying behavior when waking up my phone with the home button because systematically I get back to the home screen and then losing my last app position.
After searching in the forum I found that other users (Note2 and S3) are reporting the same behavior about the home button when waking the phone up with a lockscreen. And I tried the next advised solution:
- First with R/W root permission, one should open the file /system/usr/keylayout/gpio-keys.kl
- Then inside the gpio-keys.kl the last line must be edited to change from "key 172 HOME WAKE" to "key 172 HOME WAKE_DROPPED"
In theory this should fix the problem but in fact on my S Advance it doesn't work. Then I wanted to ask if anyone has a better solution or any clue to solve this frustrating behavior.
At the moment my single solution is to deactivate the home button while the screen is off. This can be done if the last line in the gpio-keys.kl doesn't include the "HOME" word. This means that I can only wake my phone with the Power button which it is still not very ergonomic to my taste.
INFO: I'm using a stock Jelly Bean ROM 4.1.2 (XXLQE), the Co-core 8.2 Kernel and LightJB.
I hope you can help to figure out how to fix it.
Thanks in advance