Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,552 Members 47,665 Now Online
XDA Developers Android and Mobile Development Forum

[SOLVED] Home Button and WAKE TO HOME SCREEN issue

Tip us?
 
luisblop
Old
(Last edited by luisblop; 3rd August 2014 at 06:16 PM.)
#1  
Member - OP
Thanks Meter 6
Posts: 71
Join Date: Feb 2014
Question [SOLVED] Home Button and WAKE TO HOME SCREEN issue

Hi, everyone

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
 
luisblop
Old
(Last edited by luisblop; 3rd August 2014 at 06:14 PM.)
#2  
Member - OP
Thanks Meter 6
Posts: 71
Join Date: Feb 2014
Lightbulb SOLUTION: Xposed Additions Module

The fix can be done using the Xposed Additions Module.

Actually it's pretty easy:
-Install / Enable the Adittions Module inside Xposed Framework and Reboot.
-Open Xposed Additions and go to the last menu option "Buttons"
-Remap [HOME] and choose the condition "Screen Off / One click Action / Power". Voila! you're done.

I thoughtI I had to live forever with that issue. Thanks and all the credit to the developer.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Pushbullet Updated with SMS Send Ability

Pushbullet is one of thoseapplications that every Android lover should have installed on his or … more

[OTA] Nvidia Shield Tablet Receives its First Update

The Nvidia Shield Tabletis the latest toy from one of the largest desktop graphics … more

Quick Control Panel Updated, Adds Notification Support

As some of you may remember, earlier this year we spoke about Quick Control Panel by … more

Narrate Makes Note Taking Efficient and Beautiful

Technology has put life on the fast track. Whether its travelling to multiple places or … more