Go Back   Android Forums > Android Phones > Samsung Stratosphere > Stratosphere - All Things Root

New Forums: Nexus Player | Nexus 9
test: Reply
 
LinkBack Thread Tools
Old January 3rd, 2012, 02:47 PM   #1 (permalink)
Senior Member
Thread Author (OP)
 
Scur's Avatar
 
Join Date: May 2011
Location: Illinois
Gender: Male
Posts: 1,394
 
Device(s):
Carrier: Not Provided

Thanks: 353
Thanked 490 Times in 309 Posts
Send a message via MSN to Scur
Default How to change your Search touchkey into a Camera touchkey

I never use the search button on the front of the phone. NEVER. It's always been a waste of a good button to me. So I changed it to start the Camera instead.
  • Must be rooted
  • Navigate to /system/usr/keylayout with Root Explorer (or another file manager that will let you mount as r/w)
  • Mount R/W
  • Open sec_touchkey.kl with Text Editor
  • Change key 217 from SEARCH to CAMERA
  • Back out and save (it will automatically rename your original file as sec_touchkey.kl.bak)
  • Reboot
It actually took a couple reboots before it took. At first I thought it didn't work, but after a couple days and a couple reboots it started working. Odd, but there you go.

Advertisements
Scur is online now  
Reply With Quote
sponsored links
Old January 4th, 2012, 11:56 PM   #2 (permalink)
Junior Member
 
Join Date: Jan 2012
Location: Burbank, CA
Posts: 29
 
Device(s): LG Enact
Carrier: Verizon

Thanks: 3
Thanked 1 Time in 1 Post
Default

Does it change both search buttons? I think it would be cool to have each one do different things.
John728 is offline  
Reply With Quote
Old January 5th, 2012, 04:09 AM   #3 (permalink)
Senior Member
Thread Author (OP)
 
Scur's Avatar
 
Join Date: May 2011
Location: Illinois
Gender: Male
Posts: 1,394
 
Device(s):
Carrier: Not Provided

Thanks: 353
Thanked 490 Times in 309 Posts
Send a message via MSN to Scur
Default

Quote:
Originally Posted by John728 View Post
Does it change both search buttons? I think it would be cool to have each one do different things.
I was looking at changing the search button in the keyboard. The above method won't do it, but I'm going to figure that one out sometime in the next couple days. It's a bit different, there are several different spots that show a definition of the keyboard search button. I want to make sure to find the right ones before I throw it in. It's not hard at all, anyone can do it, as long as they backup.
Scur is online now  
Reply With Quote
Old January 8th, 2012, 11:57 PM   #4 (permalink)
Member
 
Join Date: Dec 2010
Posts: 212
 
Device(s):
Carrier: Not Provided

Thanks: 7
Thanked 29 Times in 24 Posts
Default

The keyboard assignments should be in sec_keypad.kl. You can reassign other things in there, too. I, for one, have reassigned the emoticon button to be a Tab key instead, and the browser button to open the camera.

This kind of modding was useful on the Devour, too. On there, I changed the Vocie Commands button to be Search instead, that particular phone lacked the Search button altogether.
__________________
My 'droidz:
Pantech Marauder
Samsung Stratosphere (rooted, retired)
Motorola Devour (rooted, retired)
Acer Iconia A500 (rooted)
p_025 is offline  
Reply With Quote
The Following 3 Users Say Thank You to p_025 For This Useful Post:
John728 (January 9th, 2012), Scur (January 9th, 2012), SolidOrange (January 9th, 2012)
Old January 9th, 2012, 02:38 PM   #5 (permalink)
Junior Member
 
Join Date: Jan 2012
Location: Burbank, CA
Posts: 29
 
Device(s): LG Enact
Carrier: Verizon

Thanks: 3
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by p_025 View Post
You can reassign other things in there, too. I, for one, have reassigned the emoticon button to be a Tab key instead
How? Please be detailed.
John728 is offline  
Reply With Quote
Old January 9th, 2012, 06:50 PM   #6 (permalink)
Senior Member
Thread Author (OP)
 
Scur's Avatar
 
Join Date: May 2011
Location: Illinois
Gender: Male
Posts: 1,394
 
Device(s):
Carrier: Not Provided

Thanks: 353
Thanked 490 Times in 309 Posts
Send a message via MSN to Scur
Default

Quote:
Originally Posted by John728 View Post
How? Please be detailed.
Open the file. It's obvious once you're looking at it.
Scur is online now  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Samsung Stratosphere > Stratosphere - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:52 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.