Remap Recent app long press to Search? - Sprint HTC EVO 4G LTE

Does anyone know how to do this. I have recent app remap to menu. I would like to add long press to this button to launch NOW voice search. Any ideas.

I think it would be the user/keylayout/synaptic something. Check runandhide05s thread in the dev section, should get ya in the right direction.
Sent from my EVO using xda premium

scottspa74 said:
I think it would be the user/keylayout/synaptic something. Check runandhide05s thread in the dev section, should get ya in the right direction.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
Thanks for the reply but that doesnt work for the recent app button unless I'm wrong..

scottspa74 said:
I think it would be the user/keylayout/synaptic something. Check runandhide05s thread in the dev section, should get ya in the right direction.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
Team Venom did it in there tweaks. But I doubt anyone will share how.

They mapped voice search in their mod. I havent seen anyone map regular search yet.
Sent from my EVO

oh well guess i was wrong

fr0st420 said:
They mapped voice search in their mod. I havent seen anyone map regular search yet.
Sent from my EVO
Click to expand...
Click to collapse
That's not entirely correct. Their rom allows you to choose the action for long press back and long press recent.
Pneuma1985 said:
heres the key mod http://d-h.st/8T4 I did that one... you can download and change them around and the keys will change I just changed menu... Theres a tutorial somewhere on it...
Take this file and place it in /system/usr/keylayout/You can do this two ways...
1. You can take a file explorer with root access and place the file in that directory and reboot.
2.Goto where you have sdk installed /platform-tools and hold press the shift key and select open command window here
- plug phone in usb make sure the drivers are installed and the phone is recognized via adb devices( if you see a serial# you phone is recognized)
-type:
adb remount
adb shell stop
adb push "drag n drop the file you downloaded into the cmd window" /system/usr/keylayout
adb shell start
Click to expand...
Click to collapse
He wasn't asking about that.

SteelH said:
That's not entirely correct. Their rom allows you to choose the action for long press back and long press recent.
He wasn't asking about that.
Click to expand...
Click to collapse
Ok then sorry i misunderstood what he was asking!

you can easily remap the half-press camera (focus) button to search. Cam still works, but half press does g-search.
in usr/keylayout/8960.kl
change "FOCUS" to "SEARCH"
save and reboot - done.

Your best quick and easy option, is to just install Nova Launcher from the market, then go under Nova Settings --> Gestures and Buttons --> Long-Press Menu --> select whatever you want to open when you do this. I know that this setting stuck even when I was using another launcher (Apex Launcher), so perhaps it will stick when using Rosie Launcher (stock launcher) as well. Otherwise, you can stick with Nova as it works pretty well
Otherwise, a different option is that it can also be assigned in the custom tweaks if you flash the Viper4G rom
Hope one of these options help,
-Mike

Related

Reboot using buttons?

On the G1 you could hold down the call+Menu+hangup and it would reboot.
Is there a hidden key combo for the Vibrant? Normally I either shutdown and then restart or I use Terminal and type "reboot"
Anyways if anybody knows please speak up. I reboot now and then tinkering.
been wondering the same thing!
Press and hold Power button long enough /in my case more then 10 seconds/
Gad13 said:
Press and hold Power button long enough /in my case more then 10 seconds/
Click to expand...
Click to collapse
Hey thanks. It was kinda like 8 seconds for me, but whos counting.
I have not found one.. Although if you search the Market there is a "quickboot" app, you can make a shortcut on your homescreen and with a click of the icon it reboots.
This is the best alternate to it...
I hold down the volume buttons [up and down] while the phone is off. Boot up and wait for it.
^ he is talking about rebooting, not recovery.
Thanks for the tip kizer/gad13.. I added it to the sticky.
Yeah thanks for adding it to the sticky. I was going to follow up with another PM to you to make sure if there is a mention to who discovered it, it would go to Gad13 since well he told me. LOL
updated it, thanks guys.
BergInc said:
I have not found one.. Although if you search the Market there is a "quickboot" app, you can make a shortcut on your homescreen and with a click of the icon it reboots.
This is the best alternate to it...
Click to expand...
Click to collapse
Agree. This is what I do as well. Except I don't have a shortcut because I might accidentally click it.
Sent from my SGH-T959 using XDA App
BergInc said:
I have not found one.. Although if you search the Market there is a "quickboot" app, you can make a shortcut on your homescreen and with a click of the icon it reboots.
This is the best alternate to it...
Click to expand...
Click to collapse
ya but it says your phone has to be rooted to use that app.

[Q] Search Button Not Working!

I installed Android Revolution HD and a few scripts including ROM Cleaner, and now everytime I press the search button, nothing happens. Also, if I long press it, it takes me to voice actions. What do I do?
Reflash rom or restore the backup u were supposed to do before running rom cleaner
Sent from my HTC Amaze 4G using xda premium
Felinos11 said:
Reflash rom or restore the backup u were supposed to do before running rom cleaner
Sent from my HTC Amaze 4G using xda premium
Click to expand...
Click to collapse
Is there any other way I can do it like remapping the button to go to the google search app?
http://forum.xda-developers.com/showthread.php?t=850464
It's called Button Remapper.
I used this app to assign camera button as receiving call and it works great!
papcoz said:
http://forum.xda-developers.com/showthread.php?t=850464
It's called Button Remapper.
I used this app to assign camera button as receiving call and it works great!
Click to expand...
Click to collapse
Thanks, and I already tried the app and I honestly don't know how to use it. I clicked the search button option and then the default was to search. I restarted and nothing changed, can you help me?
Install KeynrTracker.apk from the url I posted. (there are attached files at the bottom.)
Run and see if your search button hardware is working.
If button isn't functioning as it suppose to do, you know what to do
...another flashing job...
Or assign new button for search button.
like select 248 (camcoder)
pop-up comes on, set
action - search
state - none
Restart and you got new search button that uses camcoder button.
HuskyHamburger said:
I installed Android Revolution HD and a few scripts including ROM Cleaner, and now everytime I press the search button, nothing happens. Also, if I long press it, it takes me to voice actions. What do I do?
Click to expand...
Click to collapse
Do you have this file -> GoogleQuickSearchBox.apk in /system/app
If you don't, you need it to fix problem
heyodee said:
Do you have this file -> GoogleQuickSearchBox.apk in /system/app
If you don't, you need it to problem fixed
Click to expand...
Click to collapse
I downloaded that file, put it in system/apps, rebooted, and now it works. Thanks!

[Mod-Deprecated] Map Recent Apps Soft Key to Menu

Alright, this is only halfway done, but until I hear back from the One X devs and remove the menu software button, this will at least give you the menu softkey. I'm not going to bother making a flashable zip until I'm finished with everything, so, for now, follow these instructions.
Requirements:
1. SuperUser permissions (root)
2. Root Explorer (or a similar app with root permissions and the ability to edit any file as text)
Directions:
1. Navigate to /system/user/keylayout
2. Find the synaptics-rmi-touchscreen.kl AMD long-press on it. Select "Open in text editor."
3. Change the line for key 249 (APP_SWITCH) to MENU.
4. Use the on-screen menu key for the last time to select Save and Apply Changes.
5. Reboot.
Disclaimer: This means you will lose the ability to access the recent apps menu. I never really use it much, but I know some people do. So if you really need that, hold off until I update with a flashable zip (or the proper files to push if we don't have a recovery out already).
As soon as I figure out how to remove the on screen button, I'll give a real update and freshen up the OP. This will be my first public mod, so try to cut me a little slack, and keep in mind I'm not really a dev, I'm just trying to help out and expand my knowledge a little. Who knows, maybe I'll keep picking up on things and put out a theme, and maybe even a rom of my own eventually!
Thanks to the following who have helped me or whose tools I have used!
OMJ - For the base 1.13.651.1 deodexed rom. (I was using the kitchen wrong, because I am n00b)
sk806 - For pointing me to the right apktool and baksmali versions, as well as guiding me through the process when I effed up.
TeamWin for the awesome recovery (and, of course, toastcfh, who is a BOSS!)
The devs of Root Explorer, because that app does EVERYTHING! You can edit keyboard layouts on the fly and reboot to apply!
And whoever is going to help me write my first updater-script so this can be flashable when it's done!
Sent from my EVO using Tapatalk 2
RegnierD said:
Alright, this is only halfway done, but until I hear back from the One X devs and remove the menu software button, this will at least give you the menu softkey. I'm not going to bother making a flashable zip until I'm finished with everything, so, for now, follow these instructions.
Requirements:
1. SuperUser permissions (root)
2. Root Explorer (or a similar app with root permissions and the ability to edit any file as text)
Directions:
1. Navigate to /system/user/keylayout
2. Find the synaptics-rmi-touchscreen.kl AMD long-press on it. Select "Open in text editor."
3. Change the line for key 249 (APP_VIEW) to MENU.
4. Use the on-screen menu key for the last time to select Save and Apply Changes.
5. Reboot.
As soon as I figure out how to remove the on screen button, I'll update this.
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Thanks!! How do we get to recent apps now though?
Sent from my EVO using Tapatalk 2
alainater said:
Thanks!! How do we get to recent apps now though?
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Until I figure out the environment to properly decompile the jars and apks, there is no way to do that. Probably should have mentioned that. Haha. Until I can crack open the android.policy.jar, you'll have to use the app icon from the drawer/homescreen.
If you want to revert, delete the modded one and remove .bak from the original that RE backed up for you.
Sent from my EVO using Tapatalk 2
RegnierD said:
Until I figure out the environment to properly decompile the jars and apks, there is no way to do that. Probably should have mentioned that. Haha. Until I can crack open the android.policy.jar, you'll have to use the app icon from the drawer/homescreen.
If you want to revert, delete the modded one and remove .bak from the original that RE backed up for you.
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Haha ok sounds good
Sent from my EVO using Tapatalk 2
Hope this helps you in your journey
http://forum.xda-developers.com/showthread.php?t=1511730
regaw_leinad said:
Hope this helps you in your journey
http://forum.xda-developers.com/showthread.php?t=1511730
Click to expand...
Click to collapse
I'VE BEEN LOOKING ALL OVER FOR THAT! As soon as I hear back from a dev regarding the softkey and long pressing, I'll get a zip up here! This is my first public mod, so bear with me.
Sent from my EVO using Tapatalk 2
RegnierD said:
Alright, this is only halfway done, but until I hear back from the One X devs and remove the menu software button, this will at least give you the menu softkey. I'm not going to bother making a flashable zip until I'm finished with everything, so, for now, follow these instructions.
Requirements:
1. SuperUser permissions (root)
2. Root Explorer (or a similar app with root permissions and the ability to edit any file as text)
Directions:
1. Navigate to /system/user/keylayout
2. Find the synaptics-rmi-touchscreen.kl AMD long-press on it. Select "Open in text editor."
3. Change the line for key 249 (APP_VIEW) to MENU.
4. Use the on-screen menu key for the last time to select Save and Apply Changes.
5. Reboot.
As soon as I figure out how to remove the on screen button, I'll give a real update and freshen up the OP.
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
mine doesnt say APP_VIEW (says APP_SWITCH)
edit: still worked
jcwxguy said:
mine doesnt say APP_VIEW
Click to expand...
Click to collapse
mine did
I'll be checking back in on this progress. The lack of a menu button, and the resulting 15% of screen wasted on a soft menu button, is by far the biggest problem with this phone. It really is pathetic to play a full screen game and have that silly soft menu button at the bottom.
I would prefer the multitask button to be a menu, and long-press home become multitask like on previous phones.
jcwxguy said:
mine doesnt say APP_VIEW (says APP_SWITCH)
edit: still worked
Click to expand...
Click to collapse
Thank you, I fixed the OP.
jirafabo said:
I'll be checking back in on this progress. The lack of a menu button, and the resulting 15% of screen wasted on a soft menu button, is by far the biggest problem with this phone. It really is pathetic to play a full screen game and have that silly soft menu button at the bottom.
I would prefer the multitask button to be a menu, and long-press home become multitask like on previous phones.
Click to expand...
Click to collapse
Once I've got it all together, I'll post several versions of the mod. I know, personally, I'm going to have mone set as such:
Back (Leave long press empty)
Home (Menu)
Multitasking (Search)
On a somewhat off topic note, I'm happy to be getting more and more into Android. It's exciting. I've made it a personal goal to try and be really active in this community. I've learned a lot through reading, so it's time to apply some of it and pay things forward a little.
Sent from my EVO using Tapatalk 2
RegnierD said:
I'm going to have mone set as such:
Back (Leave long press empty)
Home (Menu)
Multitasking (Search)
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
I like that idea
I've done some Android dev, so I may be able to put some effort into this. Personally, I'd like to see the keys like:
Back: short = Back, long = kill current app (like Cyanogen)
Home: short = Home, long = recent apps
Multitasking: short = Menu, long = voice search (like long press search on EVO 4G)
RegnierD said:
Thank you, I fixed the OP.
Once I've got it all together, I'll post several versions of the mod. I know, personally, I'm going to have mone set as such:
Back (Leave long press empty)
Home (Menu)
Multitasking (Search)
On a somewhat off topic note, I'm happy to be getting more and more into Android. It's exciting. I've made it a personal goal to try and be really active in this community. I've learned a lot through reading, so it's time to apply some of it and pay things forward a little.
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
I want that same setup. This thread is added to my favorites.
Sent from my EVO LTE using Tapatalk 2
I'm not sure how easy the long press of back to kill will be to implement. It probably depends on whether or not Sense 4/ICS supports killing the foreground app natively. If not, it might have to be added, at which point, I'll go bug IHTFP69 and ask how he implemented it into his Zeus builds.
I'm under the impression that the software keys are just a flag in SystemUI, but not entirely sure if I remember having read that correctly.
I'm out with the guys tossing a few back in celebration, but when I get home, it's time to boot up my Mint partition!
Sent from my EVO using Tapatalk 2
wvufan said:
I've done some Android dev, so I may be able to put some effort into this. Personally, I'd like to see the keys like:
Back: short = Back, long = kill current app (like Cyanogen)
Home: short = Home, long = recent apps
Multitasking: short = Menu, long = voice search (like long press search on EVO 4G)
Click to expand...
Click to collapse
My thoughts exactly. I think this setup flows best with the history of EVO button bindings.
I could live without the long-press kill, though (when I enabled it I found myself nuking apps on accident (especially Netflix) more often than intentionally. Additionally, I haven't had a single hangup on the LTE so far).
The holy grail, of course, would be an app/settings option allowing for full configurability of the buttons from within the OS. Perhaps CyanogenMod will feature it. (EDIT: It does)
To be honest, I don't think long press back to kill would be that helpful. I'll still make it, just for the few who really want it, but really, just hit home and then bring up multitasking. If you want the free RAM so badly, you'll be better off in an interface where you can kill multiple apps by swiping them away. Leaving three or four in the background is not going to affect your battery anyway (unless it's the official Facebook app, lol).
Edit: ^Oh wow, I hadn't even though of extending the customizations that far. Maybe I collectively we could figure out a way to include multiple functions into the LeeDroid Sense 4 tweak apps when they start coming out!
Sent from my EVO using Tapatalk 2
RegnierD said:
If you want the free RAM so badly, you'll be better off in an interface where you can kill multiple apps by swiping them away.
Click to expand...
Click to collapse
Now we just need an interface where you can kill multiple apps by swiping them away. (I'm referencing the fact that the app switcher on the eVOLTe only really shows you one app at a time).
RegnierD said:
Alright, this is only halfway done, but until I hear back from the One X devs and remove the menu software button, this will at least give you the menu softkey. I'm not going to bother making a flashable zip until I'm finished with everything, so, for now, follow these instructions.
Requirements:
1. SuperUser permissions (root)
2. Root Explorer (or a similar app with root permissions and the ability to edit any file as text)
Directions:
1. Navigate to /system/user/keylayout
2. Find the synaptics-rmi-touchscreen.kl AMD long-press on it. Select "Open in text editor."
3. Change the line for key 249 (APP_SWITCH) to MENU.
4. Use the on-screen menu key for the last time to select Save and Apply Changes.
5. Reboot.
Disclaimer: This means you will lose the ability to access the recent apps menu. I never really use it much, but I know some people do. So if you really need that, hold off until I update with a flashable zip (or the proper files to push if we don't have a recovery out already).
As soon as I figure out how to remove the on screen button, I'll give a real update and freshen up the OP. This will be my first public mod, so try to cut me a little slack, and keep in mind I'm not really a dev, I'm just trying to help out and expand my knowledge a little. Who knows, maybe I'll keep picking up on things and put out a theme, and maybe even a rom of my own eventually!
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Are u still working on the longpress home for recent? If so hit me up
Sent from my MZ609 using Tapatalk 2
jirafabo said:
I'll be checking back in on this progress. The lack of a menu button, and the resulting 15% of screen wasted on a soft menu button, is by far the biggest problem with this phone. It really is pathetic to play a full screen game and have that silly soft menu button at the bottom.
I would prefer the multitask button to be a menu, and long-press home become multitask like on previous phones.
Click to expand...
Click to collapse
This ^^^^^↑^^^^^↑↑↑↑↑^^^^^^
Couldn't agree more. And much thanks o OP.
sent from 2yr old Evo on ICS
wvufan said:
I've done some Android dev, so I may be able to put some effort into this. Personally, I'd like to see the keys like:
Back: short = Back, long = kill current app (like Cyanogen)
Home: short = Home, long = recent apps
Multitasking: short = Menu, long = voice search (like long press search on EVO 4G)
Click to expand...
Click to collapse
Oops. Actually THIS ^^^^^^↑^^^^^^↑^^^^^^
sent from 2yr old Evo on ICS

Voice Search Missing!

Where did the voice search shortcut go? It would have been nice if a long press on the recent apps button brought up voice search. When I'm driving, I want to be able to "call home", or " "navigate to Best Buy". I tried to create a shortcut, but the voice search is not a app or widget, so I have no easy way to get there without multiple steps.
Sent from my EVO using Tapatalk
I noticed this too :/ I use the Dragon Go! assistant app and it has the same problem.. The quickest way to get to it is to use the google search widget. It's voice button gets you straight to it.
Sent from my EVO using Tapatalk 2
Yes, that's what I've been doing. Just wish there was a voice search only widget so I could put it on my home screen and not clutter it up, or a long press on the useless recent apps button.
Also, where did the Sound Hound app go? I can create a shortcut, but if I go to the apps area, it's not there! Tried to uninstall and reinstall market Sound Hound and you can't! Total garbage!
Sent from my EVO using Tapatalk
Vlingo app is awesome for this...
Sent from my EVO using xda premium
https://play.google.com/store/apps/details?id=com.companion.GVButton
Sent from my PC36100 using xda premium
I think this is why google slapped their search bar on every screen on the gn
Aircraft800 said:
Yes, that's what I've been doing. Just wish there was a voice search only widget so I could put it on my home screen and not clutter it up, or a long press on the useless recent apps button.
Also, where did the Sound Hound app go? I can create a shortcut, but if I go to the apps area, it's not there! Tried to uninstall and reinstall market Sound Hound and you can't! Total garbage!
Sent from my EVO using Tapatalk
Click to expand...
Click to collapse
Soundhound is under Music now.
found a workaround
I've been looking for this shortcut (soundhound) and a couple others that seemed to disappear from the all apps drawer. The program is listed as installed, but you can't start it easily! This is what I found posted:
http://forums.androidcentral.com/htc-evo-4g-lte/177215-missing-voice-search-button-heres-fix.html
Easier to download google voice button from play store.
Sent from my EVO using XDA
I modded mine to use the focus button on the camera (half press of the camera button). Whenever you're not in the camera app, hold it at half press, and voice actions pops up. I'm putting it into a zip right now, link to follow.
I'm sending ian in here to help u all out, he make a key remmaping the focus button to voice actions
Ok, after a long (LONG) day. I've got the zip, and I've managed to get it uploaded. This just makes the focus key (half press of the camera button), act as the search key, outside of the camera app. Hope you like it. Thank ticklemepinks appropriately for getting me to post this
http://goo.gl/q4Z92
There's a way to bring back the "Voice Search" shortcut. I have it on my dock right now.
Someone at AndroidCentral created a thread about it, but since I don't have that many posts right now to send you guys the link, here are the instructions:
1) Download "QuickShortcutMaker" from the Play Store.
2) Launch QuickShorcutMaster.
3) Do a search for "Voice Search" and you'll get a list of Voice Search Activities.
4) Select the one that has "RecognitionActivity" in the description.
5) Select OK.
6) The "Voice Search" shortcut should now appear on your Home screen.
IanWizard said:
Ok, after a long (LONG) day. I've got the zip, and I've managed to get it uploaded. This just makes the focus key (half press of the camera button), act as the search key, outside of the camera app. Hope you like it. Thank ticklemepinks appropriately for getting me to post this
http://goo.gl/q4Z92
Click to expand...
Click to collapse
Thanks for posting this, but since it's not an apk, and I don't think it's a kernel file, I don't actually know what I'm supposed to do with this zip. For the record, I tried changing the extension to apk and that didn't allow it to be installed. My evo is a stock, unrooted one at present.
Junon said:
Thanks for posting this, but since it's not an apk, and I don't think it's a kernel file, I don't actually know what I'm supposed to do with this zip. For the record, I tried changing the extension to apk and that didn't allow it to be installed. My evo is a stock, unrooted one at present.
Click to expand...
Click to collapse
You have to flash the file via custom recovery. Not something you can accomplish completely stock.
njfoses said:
You have to flash the file via custom recovery. Not something you can accomplish completely stock.
Click to expand...
Click to collapse
Ah, okay, I just got the phone yesterday and haven't installed any custom recovery yet. I should probably get on that. I ended up with an evo3d on 1.50, and therefore wasn't able to take advantage of such niceties. Thanks for letting me know.
You you possibly map it to a long press of the recent apps key? That would be more practical, think the half press of the camera key would happen too easily.
Sent from my EVO using Tapatalk
Aircraft800 said:
You you possibly map it to a long press of the recent apps key? That would be more practical, think the half press of the camera key would happen too easily.
Sent from my EVO using Tapatalk
Click to expand...
Click to collapse
Exactly what I'd like to see. Rom creators take notice.
Aircraft800 said:
You you possibly map it to a long press of the recent apps key? That would be more practical, think the half press of the camera key would happen too easily.
Sent from my EVO using Tapatalk
Click to expand...
Click to collapse
firebirdude said:
Exactly what I'd like to see. Rom creators take notice.
Click to expand...
Click to collapse
I actually prefer to have it launch voice search when I short press the camera button.
Vinchenzop said:
I actually prefer to have it launch voice search when I short press the camera button.
Click to expand...
Click to collapse
Well then your problems are solved.
But I'm sure the vast majority of people want it back to the way we became used to it.

Disable Hardware search button?

Ever since I got this phone I constantly tap the search button by mistake and the hardware remap settings don't ever work on that specific key for me how can I fix this?
Sent from my Evo V 4G using Tapatalk 2
Remap settings.....are you talking about the file that's in the system folder?
In cm10 and 10.1 there is a setting in the system settings that allows you to change function of hardware keys but when I change the search key to do something else it never does and just keeps opening a search bar depending on the app I'm in Lol.
Sent from my Evo V 4G using Tapatalk 2
I feel ya man. I'm all about learning how to do things manually. Me and apps don't always get along.
You can find the keyboard layout for our device in system/usr/keylayout
The file will be named shooter-keypad.kl
oohaylima said:
I feel ya man. I'm all about learning how to do things manually. Me and apps don't always get along.
You can find the keyboard layout for our device in system/usr/keylayout
The file will be named shooter-keypad.kl
Click to expand...
Click to collapse
This, if you are rooted. Just comment out the line that corresponds to search. Just add a # at the beginning.
Sent from a Toasted Devil

Categories

Resources