TechTalk Compiles All the Android News You Need in One App

If you’re as obsessed with mobile devices as the vast majority of our forum … more

Android App Review: Google Inbox to Improve Your Life – XDA TV

Recently, Google+ exploded with the announcement of Google Inbox, as … more

Damp the LG G3 Thermal Throttling

As our mobile devices grow thinner and more powerfulwith each passing generation, it’s inevitable … more

Google Play Developer Distribution Agreement Due Tomorrow

Every once in a while, Google updates theGoogle PlayDeveloper Distribution … more
Post Reply

[HowTo] Disable home button screen wake

OP arctic84

16th August 2012, 06:17 PM   |  #1  
arctic84's Avatar
OP Senior Member
Thanks Meter: 74
 
206 posts
Join Date:Joined: Jan 2008
More
*** I AM NOT TAKING ANY CREDIT FOR THIS, I JUST HAPPENED TO GOOGLE IT AND FOUND IT USEFUL AND WANT TO SHARE***
I found it on another forum posted by a guy name ERIC.

**Update (8/19)** THIS MOD SHOULD WORK FOR ALL ROMS! I did it both on AOKP and stock. Gonna look into what else can be edited and post results

If you're having trouble with your phone waking due to the home button, this is the mod for you.
I work in a restaurant and i keep finding that my phone gets quite warm in my pocket because
the screen comes on (it also likes taking screen shots, and sometimes even opens the camera).

Hope this is helpful for you guys.



HERE WE GO!

ONLY MODIFY THE FILE SPECIFIED!
OR PLAY AROUND AT YOUR OWN RISK AS NOTHING OTHER THAN MENTIONED FILE IS TESTED....

  1. open root explorer
  2. navigate to : system/usr/keylayout
  3. now press the mount r/w button near the top of screen to enable read and write permissions
  4. scroll down to: sec_keys.kl
  5. press and hold until menu pops up, select: Open in Text Editor
  6. locate line: key 172 HOME WAKE
  7. tap behind the word WAKE and delete it so you see: key 172 HOME
  8. press menu and select: Save and Exit
  9. now press the button at the top of the screen to disable read and write permissions: Mount R/O
  10. (once pressed should now read : Mount R/W again.
  11. Exit root explorer
  12. Reboot your phone

WALA, no more warm pocket and random screenshots
Last edited by arctic84; 19th August 2012 at 09:52 AM. Reason: just an update
The Following 34 Users Say Thank You to arctic84 For This Useful Post: [ View ]
16th August 2012, 07:06 PM   |  #2  
Senior Member
Thanks Meter: 39
 
159 posts
Join Date:Joined: Sep 2008
How about to add screen off in addition to screen wake while in the lockscreen? Thank you.

Sent from my SGH-T999 using Tapatalk 2
17th August 2012, 01:28 AM   |  #3  
DroidRC1's Avatar
Senior Member
Flag Fort Wayne, Indiana
Thanks Meter: 227
 
969 posts
Join Date:Joined: May 2009
More
Thx! Its worked I've never liked that option...

Sent from my SGH-T999 using xda premium
17th August 2012, 01:49 AM   |  #4  
darren.wlsn1's Avatar
Senior Member
Flag Hershey PA
Thanks Meter: 852
 
2,536 posts
Join Date:Joined: Jul 2008
More
thanx given, always bugged me.
17th August 2012, 02:42 AM   |  #5  
mormoney's Avatar
Member
Thanks Meter: 16
 
83 posts
Join Date:Joined: May 2012
Thx man. Appreciate the share.



Sent from my SGH-T999 using Tapatalk 2
Last edited by mormoney; 17th August 2012 at 02:51 AM.
The Following User Says Thank You to mormoney For This Useful Post: [ View ]
17th August 2012, 03:38 AM   |  #6  
Senior Member
NEW JERSEY
Thanks Meter: 136
 
834 posts
Join Date:Joined: Dec 2011
Thanks for this. By the way does anyone know how to volume button wake?

Edit.

Search the file and found 115 114 for volume wake in there but it.does.not work

Sent from my SGH-T999 using xda app-developers app
Last edited by jason4962; 17th August 2012 at 04:26 AM.
17th August 2012, 10:13 PM   |  #7  
philliman's Avatar
Senior Member
Flag Philly
Thanks Meter: 196
 
980 posts
Join Date:Joined: Nov 2007
More
The mod worked great, but I miss using the home button to unlock. My Otterbox Defender case prevents the pocket push so I un did it lol. Thx for the find!

Sent from my SGH-T999 using Tapatalk 2
22nd September 2012, 06:18 AM   |  #8  
AdhiTj's Avatar
Member
Thanks Meter: 10
 
61 posts
Join Date:Joined: Sep 2012
I don't found it,,
9th October 2012, 01:53 PM   |  #9  
Member
Thanks Meter: 4
 
48 posts
Join Date:Joined: Dec 2007
I am using Jelly Bean rom right now and I missed the home button just turns on screen. I think in JB whenever I Push home button it directly goes to home. I mean if you gave a break when reading something when You push home button the app you working on is not active anymore but it goes to home instead. Do you guys have a fix for that?
9th October 2012, 03:11 PM   |  #10  
Member
Thanks Meter: 5
 
43 posts
Join Date:Joined: Oct 2007
Quote:
Originally Posted by thiagomme

How about to add screen off in addition to screen wake while in the lockscreen? Thank you.

Sent from my SGH-T999 using Tapatalk 2

I'd like to have that too. I had it on my previous phone and liked it.

Edit: Interesting, this is the contents of my whole file, and yet only the home and power buttons do wake up the phone.
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 172 HOME WAKE
key 116 POWER WAKE
Last edited by rtwhtever; 9th October 2012 at 10:17 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in T-Mobile Galaxy S III Android Development by ThreadRank