[Q] (Q) Remapping buttons to use "LONG PRESS BACK KEY OR MENU KEY" - Galaxy S II Q&A, Help & Troubleshooting

I have the sgs2 for a few months, Im very satisfied with this phone, But there is a thing I cannot live with, THE HOME BUTTON, I dont know why? but a I dont like it at all, Ive been proving some apps to avoid it, someones like button savior, swipepad and wave launcher (This one is absolutely great).
I just wanna know: is there a way to remap LONG PRESS "BACK KEY" to go to home?, just like long press menu does to go to search!. I proved BUTTONREMAPPING but it doesnt have the "long press" options. I was searching and now I know that files on /system/usr/keylayout and /system/usr/keychars setup the keys on the phone, indeed /system/usr/keylayout/sec_touchkey.kl shows the default capacitive buttons setup, but I dont have enough knowledge to change "LONG PRESS" options on this keys.
so:
Some of you guys know about it?
It is possible or not setup LONG PRESS BACK OR MENU KEY on SGS2?

I would also love to know how to remap those buttons. Also double-click home. I am running the simple clean room (based on stock rom)
Sent from my GT-I9100 using xda premium

Related

[Q] Remapping buttons to use "LONG PRESS BACK KEY OR MENU KEY"

I have the sgs2 for a few months, Im very satisfied with this phone, But there is a thing I cannot live with, THE HOME BUTTON, I dont know why? but a I dont like it at all, I prefer non physical buttons, so Ive been proving some apps to avoid it, someones like button savior, swipepad and wave launcher (This one is absolutely great).
I just wanna know: is there a way to remap LONG PRESS "BACK KEY" to go to home?, just like long press menu does to go to search!. I proved BUTTONREMAPPING but it doesnt have the "long press" options. I was searching and now I know that files on /system/usr/keylayout and /system/usr/keychars setup the keys on the phone, indeed /system/usr/keylayout/sec_touchkey.kl shows the default capacitive buttons setup, but I dont have enough knowledge to change "LONG PRESS" options on this keys.
so:
Some of you guys know about it?
It is possible or not setup LONG PRESS BACK OR MENU KEY on SGS2?
....Nobody?
diegonando22 said:
....Nobody?
Click to expand...
Click to collapse
just figuring out to do the same and came across your thread. will be interesting if this can be achieved, I hate the center button it is as hard as rock
bala_gamer said:
just figuring out to do the same and came across your thread. will be interesting if this can be achieved, I hate the center button it is as hard as rock
Click to expand...
Click to collapse
There certainly is way to achieve such a thing but i certainly dont know what the way to do so without replacing launcher and having it doing so or maybe replacing Rom. I qould love to know a way to get it done without having to go through that.
diegonando22 said:
I have the sgs2 for a few months, Im very satisfied with this phone, But there is a thing I cannot live with, THE HOME BUTTON, I dont know why? but a I dont like it at all, I prefer non physical buttons, so Ive been proving some apps to avoid it, someones like button savior, swipepad and wave launcher (This one is absolutely great).
I just wanna know: is there a way to remap LONG PRESS "BACK KEY" to go to home?, just like long press menu does to go to search!. I proved BUTTONREMAPPING but it doesnt have the "long press" options. I was searching and now I know that files on /system/usr/keylayout and /system/usr/keychars setup the keys on the phone, indeed /system/usr/keylayout/sec_touchkey.kl shows the default capacitive buttons setup, but I dont have enough knowledge to change "LONG PRESS" options on this keys.
so:
Some of you guys know about it?
It is possible or not setup LONG PRESS BACK OR MENU KEY on SGS2?
Click to expand...
Click to collapse
You will have to ask one of the modders to do it for you, try contacting one of the modders who has made "long press to kill process" it will be fairly easy for them.
Sent from my GT-P6200 using xda app-developers app
Any fix ?
I want to remape my menu to back and menu to app switch like the navbar =D
If you don't mind going custom, then cyanogenmod has this (sort of) in an option in the developer options of their roms.......you long press the back button and it kills the running processes (apps)
Sent from my rooted, de bloated, stock JB powered S2 via PhilZ kernel and XDA developers app

[Q] Saving our beloved physical home button

Is there a way you can hard-coded, let say the left capacitive button to act as a home button when you long-pressed it? especially on ICS roms that for let say you want to see the recent apps(home button long-pressed) alternatively you'll just long-press the left capacitive button = profit?
My home button is being quirky nowadays(6 months owner) and I don't want to bring it to Service Center just to repair that.. The problem is not groundbreaking(not yet) but this will save me in the future and probably others will so
It's not exactly what you want, but maybe Button Savior will do for you?
I think capacitive buttons are more likely to stop working than the physical buttons. My friend has a motorola Milestone and his back button stopped working in a month. Dont know if it is a bug
Sent from my GT-P7500 using XDA Premium
Still need to use home-button I'm in CM9 right now and the home button is really ****ed-up especially when I'm multitasking and I really love how ICS implement the task-switching/killing "Recent app"
srivas95 said:
I think capacitive buttons are more likely to stop working than the physical buttons. My friend has a motorola Milestone and his back button stopped working in a month. Dont know if it is a bug
Sent from my GT-P7500 using XDA Premium
Click to expand...
Click to collapse
Well that's a different phone but maybe that can apply to ours. What I mean is that sometimes my home button when I long press and then released it, it double registers the pressing so it's like you pressed again the home button
I am also looking forward for a solution to this. As I also want as much as possible not to use the home button. I quite feel that somehow it is already degrading. Showing press results that are not what I specify. Like for example clicking does 2 clicks thus entering 2 directories in CWM.
Button Savior could have been perfect if the recent apps it shows is the firmware's version. It shows its built-in recent apps instead.

[Suggestion] Multitasking Button remap (HOX & GS3)

I havent really seen anyone do or suggest this, but for those making roms for the HTC One series, could you re-re-map the hardware buttons so that the recent apps button pulls up the recent apps (normal ics behavior), and then a long press on the recent apps button maps to the menu button?
My reasoning, is eventually, the "menu" button is something that will get obsoleted, so mapping it as a secondary action (i.e. long press) is a better approach than the current mapping on some of the Roms out there (like cm9). Personally, I'm not a fan of long-presses, so I prefer it for functions I hardly use (like menu).
As for the Gs3, I recommend mapping the 'menu' button to the 'recent apps', and a long press to the menu function (instead of long pressing the home button for recent apps). Again, my reasoning is, when the menu button, eventually gets obsoleted, it becomes pointless having the physical menu button do nothing.
Anyway, just my 2 cents...
Bump.
What I know is that single click functionality of any button can be changed by editing system/usr/keylayout/something_keypad.kl
But long press is not related to button remapping... So it needs to be changed from somewhere else and about that I have no idea..
Sent from my GT-S7500 using xda premium

Menu button remap

Nova launcher has a feature that lets you remap the long-press of the menu button to do among a number of things, one of which is bringing up the multi-task menu. Anyone know how to make this happen without using this launcher. I've tried editing the file in key_layout but it didn't do anything.
Same type of issue here. (first time post / newb by the way). I'm looking to use a long press of the Back key to act as an alternate home key (but would accept long press of menu key as well). I've tried Nova Launcher, and it can be configured for a long-press of the menu key to go to the "default" screen, which is kind of like having a home key, but it doesn't work unless you are on the 1st level screens (for example it doesn't work if you are using an application, this it is not truly a home key). I've never rooted before and am worried about trying it on my brand new S3 and what it means to warranty. Thus was hoping to find a way to get what I want without rooting, but something tells me I won't be able to. Also, I really didn't want to change to a special launcher like Nova yet, I just want a capacitive home key option. I don't like physical click keys plus my home key is harder to reach now with the case that I have. Not sure what to do next. Willing to consider rooting if it the process can be made fairly idiot proof. BTW I'm on Sprint which is not the exact phone as yours.
zzzzonk said:
Same type of issue here. (first time post / newb by the way). I'm looking to use a long press of the Back key to act as an alternate home key (but would accept long press of menu key as well). I've tried Nova Launcher, and it can be configured for a long-press of the menu key to go to the "default" screen, which is kind of like having a home key, but it doesn't work unless you are on the 1st level screens (for example it doesn't work if you are using an application, this it is not truly a home key). I've never rooted before and am worried about trying it on my brand new S3 and what it means to warranty. Thus was hoping to find a way to get what I want without rooting, but something tells me I won't be able to. Also, I really didn't want to change to a special launcher like Nova yet, I just want a capacitive home key option. I don't like physical click keys plus my home key is harder to reach now with the case that I have. Not sure what to do next. Willing to consider rooting if it the process can be made fairly idiot proof. BTW I'm on Sprint which is not the exact phone as yours.
Click to expand...
Click to collapse
Rooting is fairly idiot proof on the International SGS3 but you may well have major problems if you are in the wrong forum and flash the wrong firmware for a different model phone like the USA models .
jje
JJEgan said:
Rooting is fairly idiot proof on the International SGS3 but you may well have major problems if you are in the wrong forum and flash the wrong firmware for a different model phone like the USA models .
jje
Click to expand...
Click to collapse
Thanks, appreciate that. I figured as much, but thought the ideas would be similar
Actually what I think would be a more ideal button arrangement for me would be as follows (since my goal is to have a capacitive home key)
1) short-press Menu button would function exactly the same as the physical Home button
2) long-press Menu button would function as the Menu
3) short-press Back would function as Back
4) long-press Back button would bring up a Search screen (kind of like long-press Menu does presently)
I for one am glad that Samsung kept some buttons (like the menu button), instead of going to the true 100% ICS experience.
Maybe I'll switch completely over to the Sprint Galaxy S3 forum in order to avoid any confusion.
cm10 has implemented the button remap feature. now you can easily change the menu button long press to recent apps in cm10
bala_gamer said:
cm10 has implemented the button remap feature. now you can easily change the menu button long press to recent apps in cm10
Click to expand...
Click to collapse
Really? Where is it?
Brettbesa said:
Really? Where is it?
Click to expand...
Click to collapse
It comes with cm10
《tapatalked from galaxy s3》

[Q] Change Long Press Menu

WITHOUT THIRD PARTY LAUNCHERS, I would like to know how to change the behavior of "long pressing" Menu capacitive button? I would like to change this function to S-Voice.
I've tried changing JUST the long press behavior before to no avail. I was told I had to make a brand new systemui apk for that to happen.
You can however change the behavior of the whole button (changing what it does both short and long press) if you edit /system/usr/keylayout files generic.kl and gpio_keys.kl item 139 I believe. Make sure you change both files equally or your phone will soft brick. You can change it to be SEARCH instead of menu so short press would work as a search button and long press will ask you what voice search you want to use. Oh and you might need to tell apps to show the action overflow button (since you have no menu button) I don't know how to do that part
Why can't you use the double tap home button to accomplish this? Do you not like it? It's standard in s-voice settings
Sent from my SCH-I545 using xda app-developers app
I have tried generic.kl and gpio_keys.kl file changing but cant get it to work with s-voice. Also, I dont want the double press home button to control this because it does seem to make things slower when single clicking.
Sent from my Hyperdriven SCH-I545 using xda app-developers app

Categories

Resources