mic_888 · Jun 20, 2011 at 09:00 am

Prevent Home Button From Waking GSII And Support For HTC Headset

If you prefer for your Galaxy S II not to wake when the home button is pressed, take a look at this tweak. XDA forum member paalkr got annoyed by the fact that the device was almost always turned on when pulling the SGSII out of his pocket.

The solution is to simply tweak the key system/usr/keylayout/sec_key.kl to prevent wake on home button press. Additionally, the XDA member has enabled support for the HTC headset buttons (coming from an HTC device). The headset has one button and a 3.5mm extension jack. The solution here was to simply edit the system/usr/keylayout/sec_jack.kl so that the GSII responds to the headset key press.

For more detailed information, head on over to the original forum thread.


_________
Want something on the XDA Portal? Send us a tip!

mic_888

mic_888 is an editor on XDA-Developers, the largest community for Android users. I've been around XDA since 2007 when I bought the HTC Touch, well things have moved on a lot since then, and I've tried my hand at developing for WM and Android (still learning), but wanted to contribute more by becoming a News Writer for XDA. I write mainly Android articles, and some Windows Mobile. We're always sifting through the masses of threads for front page news, but do let me or the other guys know if you think anything is newsworthy including any breaking news!
Mathew Brack · Mar 26, 2015 at 06:07 pm · 2 comments

HTC M9 Roundup: Availability and Prices

The HTC One M9, Available in both 'Gold on Silver' and 'Metal Gray' colors will be available for sale in stores across the US on April 10th, however most carriers are starting preorders tomorrow on March 27th. No matter which network you order yours from you will be covered by HTC's new Uh-Oh service. Throughout the day today we have seen just as many announcements from carriers regarding pre-order information and prices for Samsung's new flagships the Galaxy S6 and S6 Edge. If...

XDA NEWS
Mario Tomás Serrafero · Mar 26, 2015 at 05:15 pm · 1 comment

OnePlus Late March AMAA Roundup

OnePlus is one of those companies that appear one day and next thing you know, they are all over the internet. Their original OnePlus One phone was a major success in the mobile space due to its low price yet remarkable specifications - the ultimate goal of the company and their “Never Settle” slogan. We love talking about “the little OEM that could”, not necessarily because they are good or bad, but because their business and marketing strategies are very...

XDA NEWS
Chris Gilliam · Mar 26, 2015 at 04:12 pm · 1 comment

Galaxy S6 Pricing & Availability Roundup

The Samsung Galaxy S6 and S6 Edge will be available for sale across the big four US carriers on April 10th, but most pre-orders start tomorrow, March 27th. Which network is the right choice for your new phone? That's a question whose answer received a new wrinkle today as announcements about pricing and bundled perks landed from all angles. Here's the rundown of Samsung offerings as we know them, but it's worth mentioning that HTC's newsroom was just as busy rattling off...

XDA NEWS
Share This