Hi there,
My phone is a SGS2 with CyanogenMod 10.1.3 stable installed.
I'm looking for a way to remap the physical Home button of my phone with the kill current app functionality.
I've already activated the developer mode and thus can kill an app with a long press on the return key. But it is not really convenient as I need to kill an app quicker (compared to the few seconds delay of the long press gesture).
I've also tried LMT Launcher but the kill-app gesture I've configured take too much time also. The insta-kill feature is what I'm looking for...
Can you help me?
Thanks in advance
You might be able to do that with xposed and a something like gravity box. Bear in mind gravity box isn't intended for CM though, so read the gravity box op thoroughly before you try. Else you may find a different module which can help you.
If you can't get it to work, a way that is guaranteed is to switch roms to one that has full hardware key rebinding... SlimKat for example.
Sent from a galaxy far, far away
Thanks!
I'll see what I can do with these options.
Related
I seldom use the search function on my n1 (quick press search button), compared to my shortcut (long press search button).
I'd love to have the function on the button flipped, so that only when I long press search I get to search, but simply quick pressing it brings me to quickdesk (my shortcut)
There has got to be others interested in this, but I can't find any solution on how to solve it..
Can somebody help me out?
Regards
-e
I THINK someone looked at this before, and without having an app running actively ALL the time to remap the default single press keys, its impossible.
dogiedogie said:
I THINK someone looked at this before, and without having an app running actively ALL the time to remap the default single press keys, its impossible.
Click to expand...
Click to collapse
Or i assume, editing the framework from source ? Like how wysie did it with long-press home-button. If u dont know what im referring to try cm6.
The home button long press change in cm6 is really nice.
Wondering how deep in the OS/framework these changes are..
Basically the OS should register the 4 "hardware" buttons the same way, so if one can be changed, all should be able to be changed..
Also since I just wanna swap functions, there is no need for a gui/front end to control the changes or map certain programs to it.
(I wouldn't complain if cm6 got a full search button control for both short and long press though)
Sounds like something that could be baked into a cm rom if enough people was interested in it..
-e
It should be possible, but I took a brief look at the source and couldn't find it -_-. Will look harder next week. (Weekend's here )
Glad to see you all liking the home button binding change .
I was actually thinking about this after seeing the MT Slide ad... All the genius button is is the search button binded to a skinned voice dialer (if it's even skinned, haven't looked into it)
Wysie said:
It should be possible, but I took a brief look at the source and couldn't find it -_-. Will look harder next week.
Click to expand...
Click to collapse
Massive props to you if you can pull this off!
Looking forward to some good news next week
Key Mapping
This is a good resource: http://www.kandroid.org/android_pdk/keymaps_keyboard_input.html#androidKeymapKeyCharMap.
Would be awesome if you could pull this off
Wysie said:
It should be possible, but I took a brief look at the source and couldn't find it -_-. Will look harder next week. (Weekend's here )
Glad to see you all liking the home button binding change .
Click to expand...
Click to collapse
Sent from my Nexus One
Have searched extensively for this without finding a solution.
Problem: want to change SHORT press search button functionality to launch recent apps menu/chooser (which by default is assigned to long press home). I want to multitask faster, and don't want to wait on long press home. I only occasionally use long press search functionality, so I don't mind sacrificing it if necessary.
What i've found: lots of apps to change long press function. can edit the shooter-keypad.kl file located in /system/usr/keylayout, but as far as I can tell I can't assign the recent apps dialog in that file (see here and here - thanks JTNiggle).
Anyone able to help on this? Either an app that will do this, or know what file to edit?
thanks in advance. your reply, if even remotely helpful, will earn you a "thanks".
EDIT: one more thing. I know CM has this built in. I am using the ICS sense leak (MikVirgin 1.01) and am looking to get this functionality without changing ROMs (there is just some functionality I need sense for; leave it at that). this is not a sense vs CM thread. thanks.
nothing? quick bump for prime time.
Hello,
So as you might already know, Google is trying to kill the hard menu button by integrating a soft menu button inside all apps.
Is there a way to disable this? I'm running the latest cyanogen (i9300) and I can't find a way to disable it.
It just takes space and I don't even use it.
Thanks,
badchip said:
Hello,
So as you might already know, Google is trying to kill the hard menu button by integrating a soft menu button inside all apps.
Is there a way to disable this? I'm running the latest cyanogen (i9300) and I can't find a way to disable it.
It just takes space and I don't even use it.
Thanks,
Click to expand...
Click to collapse
Google isn't trying they've succeeded. Phones as of late no longer have hardware but instead on screen ones. But to your question though i think you can only do it if a rom has support to do so.
Sent from an Xposed LG-G2/LS-980
Hello everyone! I just got a brand new Galaxy Note 4 (Exynos) coming from a Galaxy S4. The "new' left softkey now triggers the Recents app instead of being a Menu (Options) key and that makes me sad. I'm not much of a multi-tasker, I'm not going to use it often, but I do like using the Options key in Chrome, picture galleries and basically everywhere since it's easier for me to reach it. I know most apps now have the "three dots" menu, but it's usually very high on the screen (hard to reach on a Note 4) and it's also non-intuitive. One can just press the left soft key with eyes closed, while you need to precisely see where you click if using app's "three dots". So I discovered that if I "hold" the left soft key, it would actually bring the Options menu, but I would like to swap the behavior. One press = Options, Hold = Recent.
I'm on a stock Kitkat 4.4.4 now, running ART, fully rooted. Can someone post(make) a CWM/TWRP .zip to address this problem?
PS: I tried to search for such feature here on the Themes and Apps section, but couldn't find a solution.
Thanks!
Look here: http://forum.xda-developers.com/showthread.php?t=2646304 and here: http://forum.xda-developers.com/showthread.php?t=2337229 I think that the logic is the same, look if there are similarities.
Yay, thanks! Indeed in "/system/usr/keylayout" there was a file called "Generic.kl" and inside of it #254 was called "APP_SWITCH". I changed that to "MENU", restarted and... the button now acts like a Menu key, just like on my old Galaxy S4. For some reason the "hold" function of this key changed to "S Finder" (a search app) and I would like to make it "APP_SWITCH" in order to fully accomplish my goal of swapping those two functions, but still I think now it's a little bit better since I really care more for the Option key, especially on this big screen where reaching the "three dots" menu in upper right corner is not that easy.
Remap buttons with "xposed additions"
Obviously, you need xposed installed.
ctrlaltdeln said:
Remap buttons with "xposed additions"
Obviously, you need xposed installed.
Click to expand...
Click to collapse
Yeah, I've heard somewhere about that, but I don't like Xposed to be honest. I don't live running lots of background processes and Xposed is a whole fremework.
ZeroCGTI said:
Yeah, I've heard somewhere about that, but I don't like Xposed to be honest. I don't live running lots of background processes and Xposed is a whole fremework.
Click to expand...
Click to collapse
It's not as bad as one would think.
Alot of them you could greenify(greenify can function as a xposed module or a stand-alone app), like Wanam.
Also, modules like greenify and boot manager would save you resources and would probably even-out with the resource demands of the framework.
IMO, Xposed is an absolute must-have for a device that's efficient, customized, and blazing fast.
Maybe. Still last time I checked it wasn't available for Samsung TouchWiz based ROMs on Lollipop. And I'm considering the opportunity to step up to the Lollipop upgrade finally and it won't be compatible anyway. I mean I surely can install it now, but I don't like the idea of getting used to it since I won't be able to use it once I upgrade to LP.
I think that you must change menu to app_switch
So ive been search around for a while now on how to fix this. And to anyone that chimes in and says why do you need the menu button obviously you don't use older apps, the new touch button on the screen is a huge annoyance especially since i've used my phones this way since my first S1. Regardless this is how i want it and so do many other people.
Currently this is only for a rooted phone
I have figured out how to remap the left soft key from the App Switcher/Multi window over to the old style menu key. Instructions for that can be found here
But now i don't have any way of switching to my currently open apps, after remapping the left key, the longpress now takes you to search. and long pressing on the home button also takes you to another variation of the search (both i dont use nor want). I want to be able to remap my left softkey on longpress to open up currently open apps (APP_SWITCH) and it would be nice if long pressing on Home could open the Task Manager as it did on my S3.
As far as i can tell editing of the longpress function is done via a Policy edit. Read about that HERE
Keep in mind that post is from 2014 so i have no idea if the internal code is still being handled the same way, i couldn't even find that file on my S6, but i did find a file called SEPOLICY in my root folder using ROOT EXPLORER. Do any of you know more about this and how I can go about changing this? im sure its a code level adjustment. Thanks
Long-press home button can be controlled without root easily.
Check out this app:
https://play.google.com/store/apps/details?id=com.spada.nowgesturetweaksfree
I use the long-press home to get to my last used app.
I wonder if I can remap my buttons to launch any other apps.. Will have to tinker around a bit.
Ewww.
@rbiter said:
Ewww.
Click to expand...
Click to collapse
if you have nothing useful to bring to this discussion then please get out
j1635 said:
if you have nothing useful to bring to this discussion then please get out
Click to expand...
Click to collapse
very useful. menu for navigation is long long outdate. software nave or 3 dots is the customary way to go. adding a secondary menu button is redudant and unnecessary. my little ewww comment brought a lot to the table. you tryingt to call me out on it is less useful.
@rbiter said:
very useful. menu for navigation is long long outdate. software nave or 3 dots is the customary way to go. adding a secondary menu button is redudant and unnecessary. my little ewww comment brought a lot to the table. you tryingt to call me out on it is less useful.
Click to expand...
Click to collapse
lol f off
If you guys use Dropbox, how do you get to the menu with SORT, etc.. without a menu key. This is making me crazy. I'm using nova launcher and there is no floating menu key. ????
The problem is if not every developer uses it, it's inconsistent.
It often helps if the options etc. In apps are on the top, so you don't have to fidget with your phone to reach the top or use two hands.
The menu button on every app is positioned somewhere else, so I find the op wanting it justified.
All in one gestures let's you remap every key, for some odd reason on my s4 I can remap the menu key, but on the S6 for some odd reason the option of the menu key has vanished in the same app:what:
Sent from my SM-G925F using XDA Free mobile app
Hi pal. Hope it helps. Make 254 button remap, then install nova launcher, in tab gestures select long press menu and then recent app. Profit! Now once tapped you have menu button, long pressed - recent apps.
So, i made it, i use it. It works.
j1635 said:
So ive been search around for a while now on how to fix this. And to anyone that chimes in and says why do you need the menu button obviously you don't use older apps, the new touch button on the screen is a huge annoyance especially since i've used my phones this way since my first S1. Regardless this is how i want it and so do many other people.
Currently this is only for a rooted phone
I have figured out how to remap the left soft key from the App Switcher/Multi window over to the old style menu key. Instructions for that can be found here
But now i don't have any way of switching to my currently open apps, after remapping the left key, the longpress now takes you to search. and long pressing on the home button also takes you to another variation of the search (both i dont use nor want). I want to be able to remap my left softkey on longpress to open up currently open apps (APP_SWITCH) and it would be nice if long pressing on Home could open the Task Manager as it did on my S3.
As far as i can tell editing of the longpress function is done via a Policy edit. Read about that HERE
Keep in mind that post is from 2014 so i have no idea if the internal code is still being handled the same way, i couldn't even find that file on my S6, but i did find a file called SEPOLICY in my root folder using ROOT EXPLORER. Do any of you know more about this and how I can go about changing this? im sure its a code level adjustment. Thanks
Click to expand...
Click to collapse
but if i want to change the long press from split screen to menu? how do i find that? will it work the same?
Delphinus3 said:
but if i want to change the long press from split screen to menu? how do i find that? will it work the same?
Click to expand...
Click to collapse
look at my Rom.. it needs changes in framework to get that working..and it is working
Alex-V said:
look at my Rom.. it needs changes in framework to get that working..and it is working
Click to expand...
Click to collapse
i saw your page.. there are 2 roms i seem to like, yours and EMPORIA but idk who is best. lol i haven't even bought the phone yet but yea the menu button will be missed for me. what i want in a rom? if its based on stock i like it as close to stock as possible (no bloatware), call recording, if there's an option for increasing camera performance thats awesome, better battery life than stock original. that's it basically. and if i only want to root, how can i change menu longpress? i hered theres like a toolbox root app for galaxy devices...
Delphinus3 said:
i saw your page.. there are 2 roms i seem to like, yours and EMPORIA but idk who is best. lol i haven't even bought the phone yet but yea the menu button will be missed for me. what i want in a rom? if its based on stock i like it as close to stock as possible (no bloatware), call recording, if there's an option for increasing camera performance thats awesome, better battery life than stock original. that's it basically. and if i only want to root, how can i change menu longpress? i hered theres like a toolbox root app for galaxy devices...
Click to expand...
Click to collapse
it's only my personal rom..means it's not made for making any profit or let's say thousands of users..
i think you must try it yourself for one or two days and compare..my is very clean