[ How-To ] Disable Search Button - EVO 4G Android Development

For those that don't use it for anything and want to disable it cause you accidently hit it 10 times a day, flash the disable zip. If you want to enable it again, just flash the default zip

does that take care of the button completely or just it's long-press function?

Nice work! Do you think you could make it so i can hit the volume up button to bring the phone out of suspend instead of hitting the power button?

Both of the .kl files are the same...just giving ya a heads up before someone restores the default and doesn't have their search button back...but nice find. Thanks!

The default one was the one I forgot to put in there but it's fixed now

frifox said:
does that take care of the button completely or just it's long-press function?
Click to expand...
Click to collapse
Completely disabled

Besides disabling the search button, is it possible to map it to do something else like launch internet or something of that sort?

nice i seen a few people complaining that they kept hitting it all the time. good work bro

stylz3 said:
Besides disabling the search button, is it possible to map it to do something else like launch internet or something of that sort?
Click to expand...
Click to collapse
I tried making it an end button...but no go...maybe I missed something...

RavenII said:
I tried making it an end button...but no go...maybe I missed something...
Click to expand...
Click to collapse
Its probably not built into the Sense build on the device. It used to be, but idk anymore since it isn't required by Android 2.0+
Also, to the people that want it to do something else:
See my post here. My guide is from way back in the G1 days, but all the same things apply here. Just change file names. An interesting use would be to change the search button to a camera button
Or see Decad3nce's wonderful writeup on the functions you can assign here. For the CDMA Hero, again just use your judgement. Use the right files
Also, my app Search2Play will soon be making it's way to the Evo now that we have usermode system partition access. Check it out here

Nice! Thanks for this, I always hit that button by accident.

Thank you! That damn button annoys the hell out of me everyday

Strange. I love the search button and use it all the time to text, call, launch apps etc.
Glad this is helpful to all the rest!

thanks!! i hit that damn button all the time

Calkulin said:
For those that don't use it for anything and want to disable it cause you accidently hit it 10 times a day, flash the disable zip. If you want to enable it again, just flash the default zip
Click to expand...
Click to collapse
this looks sweet!
calkulin, would you be okay with me adding this to the online kitchen im slowly building for the EVO?
i'll link it back to this thread and credit your name.

If your looking to use the volume down you can just open the keymap~.kl file included in the zip with wordpad and swap the volume down and power or how ever you like. Just realize that the cap buttons won't work in place of the hardware buttons.
I posted a fix that swapped the volume down and the power button.
Nice fix tho.

joeykrim said:
this looks sweet!
calkulin, would you be okay with me adding this to the online kitchen im slowly building for the EVO?
i'll link it back to this thread and credit your name.
Click to expand...
Click to collapse
Yeah that's fine, I don't mind

joeavery2 said:
If your looking to use the volume down you can just open the keymap~.kl file included in the zip with wordpad and swap the volume down and power or how ever you like. Just realize that the cap buttons won't work in place of the hardware buttons.
I posted a fix that swapped the volume down and the power button.
Nice fix tho.
Click to expand...
Click to collapse
Is it possible to get the volume to do the wake feature while also keeping the volume buttons working like normal?

Calkulin said:
Yeah that's fine, I don't mind
Click to expand...
Click to collapse
Thanks Calkulin, its been added! Great work as always!

newbie2369 said:
Nice work! Do you think you could make it so i can hit the volume up button to bring the phone out of suspend instead of hitting the power button?
Click to expand...
Click to collapse
Get no lock from the market.
Volume down takes you streight into the phone no lock screen.

Related

[REQ] "Volume Keys as Take Picture Key" in camera application

hi
is there any application or configuration to map the volume keys -one of them or both- as the camera shutter key for taking pictures?
as I can see, the AE buttons program does not do that.
thanks
I totally second that.
What a pity that there is no physical button to take picture.
Everybody knows that touching the screen will induce vibrations and blurry pictures.
If anyone could realize this it would be awesome.
I agree,
It would have to only take pictures when the camera is on tho, dont want to use up a button all the time, there just arent enough of them!
+1 also would like to have something like this
goog idea, count me in on this
+1 it was only a matter of time till this thread would appear
Volume keys CAMERA
Hi, with AEBplus you can easy do this.
Go AEBplusSettings=>Volume Down and set: 1: Volume Down 2: "Anything you wish" Long:"Camera"
OK
Now camera will start with the long press of the Volume Down key
vaskodogamagmail said:
hi
is there any application or configuration to map the volume keys -one of them or both- as the camera shutter key for taking pictures?
as I can see, the AE buttons program does not do that.
thanks
Click to expand...
Click to collapse
ilyachelsea said:
Hi, with AEBplus you can easy do this.
Go AEBplusSettings=>Volume Down and set: 1: Volume Down 2: "Anything you wish" Long:"Camera"
OK
Now camera will start with the long press of the Volume Down key
Click to expand...
Click to collapse
you missed the issue.. we would like to take pictures with a button, not start the camera itself..
thanks
it is great that some people here liked my idea I am impressed.
so if anyone here can make a mapping program for the camera application to take a picture when one or one of the volume keys are pressed to take a picture would be GREAT. because it is the most lacking option that HD2 has.
Thanks again everyone.
I guess it will be difficult...
But I'm sure someone can develop it. There are many talented people here at xda .
I think Green button will be better because if you to take a photo he is "friendly finger".
G-ThGraf said:
I think Green button will be better because if you to take a photo he is "friendly finger".
Click to expand...
Click to collapse
true..... +1
you know, every button that is more finger friendly.
I am not insisting on volume buttons.
lol http://forum.xda-developers.com/showthread.php?t=644318
found
found this:
http://www.scilor.com/leocameraanykey.html
try it
hukpin said:
found this:
http://www.scilor.com/leocameraanykey.html
try it
Click to expand...
Click to collapse
Been using this for ages, works perfectly. Make sure you download the latest version from Scilor's website - it let's you press and hold any key to zoom in, then short press any key to take the picture - pure genius!
i tried this but it doesnt work at all for me i am using Energy rom with 2.07.50 radio help please?
AE Button Plus for some reason wont make any of the keys that i have tried to change to take a picture, i bought it in hopes that it would work but i have had no luck, so i just wanted to tell ppl so they dont waste there money, its a nice program and im sure it works just fine but just not for what i need it to do. it could also be that i am on NRG rom and that may be the problem because a while back i was able to use the KB config app to change the vol up key to take a picture and it used to work just perfect, but i think NRGZ28 changed something a while back and it wont work anymore on any of his roms. unless i am doing something wrong, but the same settings that worked before wont work any more. lol that just my 2 cents!!
http://www.scilor.com/leocameraanykey.html - this worked perfectly.. thanx!
Scilor's Leo Cam Any Key app
ignore my poist

[MOD] [21/07] Wake up using Home, Menu, Search or Back UPDATE. [Trackball wake]

Flash any of the below links through your desired recovery console. Clockwork or R.A .
Big thanks to lambrospower and KingChris. Nice work guys...
Wake up using Menu Button
Wake up using only Menu, without use of the Power button
Wake up using the Search button, without use of the Power button
Wake up using the Back button, without the use of the Power button
Wake up using the Home button, without use of the Power button
Track-Ball Wake (With Power Enabled)
Track-Ball Wake (Only Trackball)
Restore original functionality (Just the power button)
Note:
These should work with both HTC and Stock ROMS, either on 2.1 or 2.2. Any troubles, post your comment below with a brief description of what went wrong, We'll try out best to help.
Nandroid first....as allways.
Enjoy.
CP.
For the General progress of this mod, check out http://forum.xda-developers.com/showthread.php?t=683902
Is there also one for the "trackball" ? Would be perfect for me If not, I'll try one of the above anyway. Thanks!
how to deactivate if you dont like it?
No they haven't found a way yet to use the trackball as a wake up call. Seem's strange as all the other buttons work. I'll have a look in other places tho, If I find it I'll post it.
Good point Simc13, I'll quickly make an update zip that'll restore normal functionality.
CP
7pellc said:
No they haven't found a way yet to use the trackball as a wake up call. Seem's strange as all the other buttons work. I'll have a look in other places tho, If I find it I'll post it.
Good point Simc13, I'll quickly make an update zip that'll restore normal functionality.
CP
Click to expand...
Click to collapse
Great & quick support!
OP updated.
Now includes back to original functionality.
CP
Re: [MOD] Wake up using Home, Menu, Search or Back
What about to use volume down key to wake up the phone? I think it would be an easy way.
-------------------------------------
Sent via the XDA Tapatalk App
lsmgeb89 said:
What about to use volume down key to wake up the phone? I think it would be an easy way.
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
I am not sure if this would make sense, as the volume rocker keeps working when you are listening music and the screen is off.
hi, im the one named Burst on www.android-hilfe.de
i want to set a link to the original post here on XDA where the mod has started
http://forum.xda-developers.com/showthread.php?t=683902
work with any button
Hi guys. This post was exactly what I was looking for.
I flashed only the search key to wakeup.
Result: now it wakes up with any button (also volume and trackpad).
Is it my mistake (which one?) or what?
Just flashed from the recovery and rebooted.
Thanks for your support
linkback: http://forum.xda-developers.com/showthread.php?t=683902
Thankyou soooo much! Just what I wanted!
janvandusschoten said:
Is there also one for the "trackball" ? Would be perfect for me If not, I'll try one of the above anyway. Thanks!
Click to expand...
Click to collapse
+
Want wake up with trackball too
thx
++
Trackball.
Is needed all wipe??
@kingChris
I'll add your link to the first post mate.
It's nice to see mods with different buttons working. I used kingchris's mod as soon as he posted, and it's been working great since then.
is it possible to have the same function as stock hero 1.5/2.1 where u press the menu button twice, it unlocks the lockscreen?
ivicask said:
++
Trackball.
Click to expand...
Click to collapse
+++
i have looked in system/usr/ and there are more files showing key numbers, i couldnt find trackball tho..
Does this work with MCR 3.1?

Hard button end call

Per Cicada : "Just an fyi, this option is in the accessibility settings menu in froyo. "
-Thanks for the tip!
in "/system/usr/keylayout/s3c-keypad.kl"
change POWER to ENDCALL for a hard button end call.
I used notepad++ to make the edits.
Screen off/power off works like normal after you end your call!
Ok, the original is listed as:
Code:
key 58 POWER WAKE_DROPPED
What should it end up being? key 58 ENDCALL WAKE_DROPPED? Or.....??
edit: Ok, changed to above... at first it didnt seem like it did anything, but then I realized that I had to reboot it for it to take effect Now I just hope I dont accidentally hit that button in the middle of a call.
Yes
Koadic said:
Ok, the original is listed as:
Code:
key 58 POWER WAKE_DROPPED
What should it end up being? key 58 ENDCALL WAKE_DROPPED? Or.....??
Click to expand...
Click to collapse
Yes just replace "POWER" with "ENDCALL" and your good to go
also
Also Pressing Volume UP+Power+Camera = Instant Reset for those who didnt know
madgadjt said:
in "/system/usr/keylayout/s3c-keypad.kl"
change POWER to ENDCALL for a hard button end call.
I used notepad++ to make the edits.
Screen off/power off works like normal after you end your call!
Click to expand...
Click to collapse
Did you do this because the end call button stops working randomly after the proximity sensor is disengaged? I noticed this on my first Epic AND my replacement. Had to put the phone back to my head and pull it away to get the touch screen back to functional.
hrm
Actually no lol never had that issue.. I had a samsung moment before my epic and really missed the hard answer/end buttons, I travel and talk on the phone in the car alot, and didnt like to look at my phone to end the call.. I will figure out something for a hard button answering as well
I don't mean to be a smarta$$ but you didn't need to put the phone back to your head. You can just cover the proximity sensor with your finger. I know this doesn't pertain to the op but just fyi.
Epic Proportions
scriz said:
Did you do this because the end call button stops working randomly after the proximity sensor is disengaged? I noticed this on my first Epic AND my replacement. Had to put the phone back to my head and pull it away to get the touch screen back to functional.
Click to expand...
Click to collapse
If this is an all around issue for epics then let me know people and I will relabel my post as a workaround
If this is an all around issue for epics then let me know people and I will relabel my post as a workaround
Click to expand...
Click to collapse
I have never had this problem on either of the two epics that I/wife own. So I don't think it's an issue for all epics. On the other hand though, this is very neat, and I wouldn't mind having a hard end call button. Thanks alot OP!
madgadjt said:
Also Pressing Volume UP+Power+Camera = Instant Reset for those who didnt know
Click to expand...
Click to collapse
You. Are. My. Hero. I had no idea! What a time saver.
I was thrilled when I figured that out myself lol
Just an fyi, this option is in the accessibility settings menu in froyo.
Well that ends that topic...
Sent from my SPH-D700 using XDA App
cicada said:
Just an fyi, this option is in the accessibility settings menu in froyo.
Click to expand...
Click to collapse
Is this only in DK05 or 17? because I dont see it on my phone running DJ29... All it says is "No accessibility applications found. You do not have any accessibility applications. You can download a screen reader from Android Market. Click OK to install screen reader."
I did this fix in 2.1 and carried it over to 2.2, didnt see the change in accessibility
Click Cancel on the 'No accessibility applications found' prompt, this will drop you to the accessibility menu where the option is, a checkbox labeled "The power key ends calls"
I had that end call problem as well with my first epic and have the same problem with my replacement. How can I do this 'workaround' on my eclair? i dont have froyo.. running bakedsnack rom+kernel.. thanks in advance..
y2bangali said:
I had that end call problem as well with my first epic and have the same problem with my replacement. How can I do this 'workaround' on my eclair? i dont have froyo.. running bakedsnack rom+kernel.. thanks in advance..
Click to expand...
Click to collapse
Just follow the instructions in the original post. Worked great on mine running syndicate 1.0.2/xtreme
This works great! I knew about the accessibility feature in the newer Froyo ROM, but never knew it could be applied to Eclair. EXCELLENT!
Also, the tip for Vol-up + Power + Camera was also an excellent tip for insta-reboot! Thanks boss!
scriz said:
Did you do this because the end call button stops working randomly after the proximity sensor is disengaged? I noticed this on my first Epic AND my replacement. Had to put the phone back to my head and pull it away to get the touch screen back to functional.
Click to expand...
Click to collapse
Ugh I hateeeee that. And sometimes, the proximity sensor would act up while I'm on the phone and my cheek would end the call.
I hope it gets fixed lol
Sent from my SPH-D700 using XDA App

"No Power Button" Project

Okay so im having a little project to get rid of using power button, cuz mine is really "soft" and i believe someday it will stop responding...
Im currently using few apps&tricks:
Turning off screen:
Screen Off & Lock
Turning on the screen:
Volume key wake
or as in most roms now, its enable-able in settings/tweaks
Rebooting, entering recovery or bootloader:
Quick Boot (Reboot)
And recovery:
4EXT Recovery Touch
Im currently running cm7mod rom and i am trying to find a code or good replacement to open "cm7 power button menu or advanced boot menu" if its called that, to open from shortcut or different key then long press power button. And another one for now is taking a screen shot from different combo then "power button+home" I know there is some apps to take screenshots but i would prefer to edit some files myself to make it happen.
Hope this helps somebody with same issues and maybe someone can give me some pointers!
PEACE
Thanks for the tips.
I'm sure this will come in handy for people who're wearing out their power button (like me!!)
http://www.youtube.com/watch?v=1hBxMpaLRiU&feature=youtube_gdata_player
Sent from my HTC Desire S using xda premium
knockedx said:
http://www.youtube.com/watch?v=1hBxMpaLRiU&feature=youtube_gdata_player
Sent from my HTC Desire S using xda premium
Click to expand...
Click to collapse
Hey, thanks for that video. Makes for an interesting party trick!!
But the problem with this is phone unlocking inside your pocket, and secondly, continuous polling of the proximity sensor is going to gobble your battery up pretty fast. But i'll have to try it out for atleast a day to support that theory.
Thanks for the info anyway.
Did anyone try to use warranty because of the power button? mine is going softer every week...
Sick1 said:
Okay so im having a little project to get rid of using power button, cuz mine is really "soft" and i believe someday it will stop responding...
Im currently running cm7mod rom and i am trying to find a code or good replacement to open "cm7 power button menu or advanced boot menu" if its called that, to open from shortcut or different key then long press power button. And another one for now is taking a screen shot from different combo then "power button+home" I know there is some apps to take screenshots but i would prefer to edit some files myself to make it happen.
Hope this helps somebody with same issues and maybe someone can give me some pointers!
PEACE
Click to expand...
Click to collapse
Good news coming for your project in the next couple of days. Need some finetuning, but it's looking promising.
You won't be able to simply edit stuff to make it work on other roms, but Reaper will have it.
Cheers
lowveld said:
Good news coming for your project in the next couple of days. Need some finetuning, but it's looking promising.
You won't be able to simply edit stuff to make it work on other roms, but Reaper will have it.
Cheers
Click to expand...
Click to collapse
Yummy, more mischief from the chef!!
I've always used Screen off apps on all my devices !
Even since the days of WinMo there was such app
One of the first apps I install on my phone when I load a New ROM is screen off and lock
I don't need the volume wake though - that would just wear out the volume buttons when I already use it for music control

[MOD/HOWTO] Disable Home Button Wake

Haven't seen this posted yet and each phone is a little different. Curiously it's more like the Note II than the SIII.
1) Open Root Explorer
2) Navigate to: /system/usr/keylayout/
3) Press 'Mount R/W'
4) Long hold 'gpio-keys.kl' and choose "Open in Text Editor"
5) Remove "WAKE" from the line "172 HOME WAKE"
6) Back out, Save, Reboot
Enjoy
How can you set double tap to something else? Say google voice search..
lowspeed said:
How can you set double tap to something else? Say google voice search..
Click to expand...
Click to collapse
I think that would require a modification to a framework jar. Ill see if I can find it.
lowspeed said:
How can you set double tap to something else? Say google voice search..
Click to expand...
Click to collapse
Home2 shortcut app should work. Simply download it, follow the instructions, then disable the home button shortcut in the svoice settings.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
How do u get it back to working
micadee6453 said:
How do u get it back to working
Click to expand...
Click to collapse
Never mind i figured it out
micadee6453 said:
Never mind i figured it out
Click to expand...
Click to collapse
Editing your first post would have sufficed.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
shoman94 said:
Editing your first post would have sufficed.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Click to expand...
Click to collapse
Thanks ill do that next time:good:
Why would you want to do this unless you could reassign it or add another way to wake up device?
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
SysAdmNj said:
Why would you want to do this unless you could reassign it or add another way to wake up device?
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
Well... the power button wakes the phone up just fine. I also worry that it can get pressed while in my pocket.
Coming from the Galaxy Note I enjoy the Home Button to wake the phone instead of always having to use the Power Button.
What I'd like to see is Google Voice search shortcut while holding the Power Button instead of the Task Manager.
ZPaul2Fresh8 said:
Coming from the Galaxy Note I enjoy the Home Button to wake the phone instead of always having to use the Power Button.
What I'd like to see is Google Voice search shortcut while holding the Power Button instead of the Task Manager.
Click to expand...
Click to collapse
Just long-press Menu to bring up GNow...then you not only have access to voice search, but the famous GNow cards that might answer your question, anyhow.
dkephart said:
Just long-press Menu to bring up GNow...then you not only have access to voice search, but the famous GNow cards that might answer your question, anyhow.
Click to expand...
Click to collapse
That and also in any app, long press on the menu button acts as the search button within the app.
Just throwing this out there - I read here and in the .kl file that it is not good to mess with the generic.kl file. Does anyone know which would be the best .kl file to edit?
I want my volume keys to wake the phone and when i add wake to those keys in the generic file, my power button no longer sleeps the phone...
SysAdmNj said:
Why would you want to do this unless you could reassign it or add another way to wake up device?
Click to expand...
Click to collapse
As mentioned, Power button works the same. I don't need two ways to turn it on. I keep my phone in a belt case and it's tight enough that just putting it in the case turns the phone on. I'm tired of checking to see, so I did this mod today. Actually, it's one the biggest reason I rooted today! Mod worked great, thanks given. Much happier now.
jejb said:
As mentioned, Power button works the same. I don't need two ways to turn it on. I keep my phone in a belt case and it's tight enough that just putting it in the case turns the phone on. I'm tired of checking to see, so I did this mod today. Actually, it's one the biggest reason I rooted today! Mod worked great, thanks given. Much happier now.
Click to expand...
Click to collapse
What mod?
SysAdmNj said:
What mod?
Click to expand...
Click to collapse
See post #1 of this thread.
jejb said:
See post #1 of this thread.
Click to expand...
Click to collapse
Well I guess you need the Google Voice search shortcut while holding the Power Button instead of the Task Manager. Enjoy.
SysAdmNj said:
Well I guess you need the Google Voice search shortcut while holding the Power Button instead of the Task Manager. Enjoy.
Click to expand...
Click to collapse
Task manager still works the same as before. I don't use Google Voice or Google Now.
lowspeed said:
How can you set double tap to something else? Say google voice search..
Click to expand...
Click to collapse
simply remove S Voice...

Categories

Resources