Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,276 Members 38,023 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: 73
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: 73
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


Bring Back Tablet UI on KitKat

Google presented their brand new UI for tablets alongsidethe release of Android 3.0 Honeycomb back in early … more

Give Your Notification Shade a Facelift with these Modding Guides

Modification has always been one of the strong suits of Android, due in … more

Keep Track of How Much Your Car Truly Costs with Car Logbook

It’s a very well established fact that cars are expensive. In addition to … more

New Nvidia SHIELD Tablet OTA! Moto G 4G Gets Official CyangenMod 11 Nightlies – XDA Developer TV

The Nvidia SHIELD Tablet gets its … more