Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,808,398 Members 39,614 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 7
Posts: 75
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 7
Posts: 75
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


Paid Android App Developers Will Soon Have to Provide Physical Address

Google has now changed its policies regarding paid app developers. … more

Windows Developers Rejoice! Dev Program’s $99 Yearly Fee is No More!

Microsoft rule in the mobile market, much like the giant dinosaurs … more

Add the Xperia Z2 Lock Screen to Your Favorite KitKat ROM

Almost every OEM adds its own unique flair to their stock firmwares. While some of … more

Android App Review: Control Your Phone with Quick Control Panel – XDA Developer TV

Your Android smart device has many features that you … more