Hi, I'm coming from a nexus 4 and I really would like to have my old three button layout here on my htc one, I've read in other threats that the HTC logo can be set up to be a home button, so the only piece left in the puzzle is how to set the original home button to open recent apps... I don't want to flash the Google play edition rom or any other ROM, just wish to know if there's a way to remap the original home button to recent apps so I finally get my nexus 4's old and sweet button layout... Thanks in advance guys!
Hi,
Your thread has been moved to the proper subforum. Please be mindful where you make posts in the future.
Regards.
simondva said:
Hi, I'm coming from a nexus 4 and I really would like to have my old three button layout here on my htc one, I've read in other threats that the HTC logo can be set up to be a home button, so the only piece left in the puzzle is how to set the original home button to open recent apps... I don't want to flash the Google play edition rom or any other ROM, just wish to know if there's a way to remap the original home button to recent apps so I finally get my nexus 4's old and sweet button layout... Thanks in advance guys!
Click to expand...
Click to collapse
You'll need an unlocked bootloader but this kernel allows you to remap the HTC Button as "Home" and the Home button as "Menu". That's, from what I've seen far, the closest you'll get.
Related
Is it possible to replace the menu button with the ICS Task Manager/Multitasker? like in the galaxy Nexus? I think even the icon looks similar in a way to a list of apps. This would be useful especially since ICS deals with this perfectly by showing a menu button when it doesn't detect it as a hardware button.
What do you guys think about this idea?
Why not just hold the home button to bring up recent apps..
Sent from my GT-N7000 using xda premium
joshnichols189 said:
Why not just hold the home button to bring up recent apps..
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Cuase holding the home button for 1 or 2 seconds its not better than just pressing the menu button.
pachi72 said:
Cuase holding the home button for 1 or 2 seconds its not better than just pressing the menu button.
Click to expand...
Click to collapse
Agree. Home buttons degrade and break.
pachi72 said:
Cuase holding the home button for 1 or 2 seconds its not better than just pressing the menu button.
Click to expand...
Click to collapse
VTEChump said:
Agree. Home buttons degrade and break.
Click to expand...
Click to collapse
Yep, and because given the choice, I'm sure most will opt to use it this way. the menu button is getting deprecated as a hardware button and being implemented more and more inside applications.
Hopefully some more ICS ROM devs will see this and review this suggestion. I would love to know what they have to say about it.
I wouldnt mind a widget to do it either. That shouldnt be to hard to do.
moyajaya said:
Is it possible to replace the menu button with the ICS Task Manager/Multitasker? like in the galaxy Nexus? I think even the icon looks similar in a way to a list of apps. This would be useful especially since ICS deals with this perfectly by showing a menu button when it doesn't detect it as a hardware button.
What do you guys think about this idea?
Click to expand...
Click to collapse
+1.
Regards.
This was the first thing I wanted to do after installing ICS. The capacative buttons are mapped in /system/usr/keylayout/melfas-touchkey.kl;
Code:
key 158 BACK WAKE
key 139 MENU WAKE
I'm just not sure what to replace 'MENU' with. 'TASK'?
Hate to double post but I thought I'd share what I've discovered.
I tried replacing 'MENU' with 'APP_SWITCH' in melfas-touchkey.kl and sec_touchkey.kl and got the menu button to act just like the recents button, however there was then no way to access the menu
I had a brief look at the android source code and it looks like the value that decides to show the action overflow button in the toolbar is set depending whether the on screen buttons are being used. Not at all sure about that though and I've seen the new HTC one phones have a hardware recents button replacing the menu so it can't be impossible.
bootlessjam said:
Hate to double post but I thought I'd share what I've discovered.
I tried replacing 'MENU' with 'APP_SWITCH' in melfas-touchkey.kl and sec_touchkey.kl and got the menu button to act just like the recents button, however there was then no way to access the menu
I had a brief look at the android source code and it looks like the value that decides to show the action overflow button in the toolbar is set depending whether the on screen buttons are being used. Not at all sure about that though and I've seen the new HTC one phones have a hardware recents button replacing the menu so it can't be impossible.
Click to expand...
Click to collapse
Thank you for trying this and letting us know about the results. I was thinking if all fails maybe the search option that appears when you click and hold the menu button could be replaced with the menu?
Clicking the Old menu button = New app switcher
Holding the old menu button = Menu
how about that? I think most apps include a search icon if/when they include search functionality.
Had a brainwave today and got it 90% there. I decompiled framework-res.apk and enabled the navigation bar AND resized it to 0. This means the action overflow button shows up in apps without the galaxy nexus-like software keys getting in the way. I then remapped the menu key and it is working like a charm
Of course then there is the little issue of bringing up the menu when using a pre honeycomb app. The simplest solution for me was to use the pen's button+swipe up gesture. This isn't ideal and doesn't even work for people using CM9 or stock ICS.
Here is the modified framework-res for the Team Rocket ROM v1.5:
dl.dropbox dot com/u/2340506/navbarhidden.zip
These forums don't trust me with links
Install with CWM recovery. Don't use it on any other ROM! I can't even guarantee it'll work on every team rocket rom. I'm too lazy to load every ICS ROM but if you post your framework-res.apk I can edit it for you.
After you can remap the hardware keys in /system/usr/keylayout/melfas-touchkey.kl and /system/usr/keylayout/sec_touchkey.kl like I mentioned earlier with Root Explorer or ES File Explorer. I have it set up to mimic the HTC one phones and the galaxy nexus's layout, since I keep the key lights off.
Hopefully this is useful to people. A better way to access the menu on old apps should be easier to do once people start tinkering with the HTC one phones.
bootlessjam said:
Had a brainwave today and got it 90% there. I decompiled framework-res.apk and enabled the navigation bar AND resized it to 0. This means the action overflow button shows up in apps without the galaxy nexus-like software keys getting in the way. I then remapped the menu key and it is working like a charm
Of course then there is the little issue of bringing up the menu when using a pre honeycomb app. The simplest solution for me was to use the pen's button+swipe up gesture. This isn't ideal and doesn't even work for people using CM9 or stock ICS.
Here is the modified framework-res for the Team Rocket ROM v1.5:
dl.dropbox dot com/u/2340506/navbarhidden.zip
These forums don't trust me with links
Install with CWM recovery. Don't use it on any other ROM! I can't even guarantee it'll work on every team rocket rom. I'm too lazy to load every ICS ROM but if you post your framework-res.apk I can edit it for you.
After you can remap the hardware keys in /system/usr/keylayout/melfas-touchkey.kl and /system/usr/keylayout/sec_touchkey.kl like I mentioned earlier with Root Explorer or ES File Explorer. I have it set up to mimic the HTC one phones and the galaxy nexus's layout, since I keep the key lights off.
Hopefully this is useful to people. A better way to access the menu on old apps should be easier to do once people start tinkering with the HTC one phones.
Click to expand...
Click to collapse
Great finds! Thumbs up!
Thank you for your efforts!
I would love to try those but I moved back to Gingerbread for the time being. ICS in the note is far from being a daily driver for me. A lots of bugs and battery drains compared to Gingerbread. Hopefully this will change quickly. I trust the dev community and i'm sure they'll beat samsung in having stable ICS releases...
Back to ICS. Using ICS Stunner 4.3 ROM with the new LP5 kernel and modem. This setup is simply stunning. Best ROM I've tried so far.
Back to subject, how can the process go for AOSP ROMs? Like this one I'm using...
Anyone found any other way around this? Thanks !
Sent from my GT-N7000 using Tapatalk 2 Beta-5
moyajaya said:
Back to ICS. Using ICS Stunner 4.3 ROM with the new LP5 kernel and modem. This setup is simply stunning. Best ROM I've tried so far.
Back to subject, how can the process go for AOSP ROMs? Like this one I'm using...
Anyone found any other way around this? Thanks !
Sent from my GT-N7000 using Tapatalk 2 Beta-5
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1450138
I looked into doing the same thing as you did only because I love the tablet layout and holding the home button doesn't bring it up.
In order to get what you and a few others would want on select roms, the source for the framework would have to be adjusted as said in the thread, meaning each dev would have to implement this independently.
The second thing is alread mentioned in this thread, which is changing the key layout.
You can hope that the dev has no issues with inserting it into their build.
NOT changing the source but editing the key layout will only bring up the a Gingerbread styled task switcher. I've tried ;_;
I personally might I add, would just love the same hold the home button functionality while in tablet mode.
evilisto said:
1) change source code related to APP_SWITCH keycode.
platform/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
from :
Code:
} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (down && repeatCount == 0) {
showOrHideRecentAppsDialog(RECENT_APPS_BEHAVIOR_SHOW_OR_DISMISS);
}
return -1;
}
to :
Code:
} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (down && repeatCount == 0 && !keyguardOn) {
try {
mStatusBarService.toggleRecentApps();
} catch (RemoteException e) {
Slog.e(TAG, "RemoteException when showing recent apps", e);
}
}
return -1;
}
2) edit your keylayout files..
/system/usr/keylayout/
for example, if you want to use search key to recent apps on nexus s...
cypress-touchkey.kl
Code:
key 139 MENU VIRTUAL
key 102 HOME VIRTUAL
key 158 BACK VIRTUAL
key 217 APP_SWITCH VIRTUAL
and mxt224_ts_input.kl (it would be better to edit both files..)
Code:
key 158 BACK WAKE
key 139 MENU WAKE
key 217 APP_SWITCH WAKE
key 102 HOME WAKE
Click to expand...
Click to collapse
So I've seen the kernels that will allow you to make the HTC logo act as a capacitive menu button. Has anyone looked into completely remapping all the buttons?
I'd like to see the HTC logo be the home button and the current home button turned into the menu button.
Would that be possible? Inquiring minds want to know.
I still haven't switched to Nova Launcher, I'm happy with sense atm, but when it auto downloaded on initial setup, the HTC logo brought up the home selector.. Seems like nova will let you customize use.
elrey75 said:
I still haven't switched to Nova Launcher, I'm happy with sense atm, but when it auto downloaded on initial setup, the HTC logo brought up the home selector.. Seems like nova will let you customize use.
Click to expand...
Click to collapse
I'm running Nova. I don't recall seeing that during the set up. There are a lot of settings to change the CURRENT Home button into whatever you'd like it to be but nothing on mapping the "HTC Button".
cdaniel76 said:
So I've seen the kernels that will allow you to make the HTC logo act as a capacitive menu button. Has anyone looked into completely remapping all the buttons?
I'd like to see the HTC logo be the home button and the current home button turned into the menu button.
Would that be possible? Inquiring minds want to know.
Click to expand...
Click to collapse
I think that would definitely be possible. I'd suggest posting in the kernel thread to see if this is something the dev would look into
Is it possible to Map the HTC Logo to be a multitask button (By default multitask is double tap on home for the HTC ONE) and long press for menu? I know the button could be mapped but I hadn't seen anyone use this combination before. If this is possible, can someone please make a rom/kernel for it?
NOTES:
Sprint HTC ONE
Sense 5 with this mapping would be appreciated
Scrilon said:
Is it possible to Map the HTC Logo to be a multitask button (By default multitask is double tap on home for the HTC ONE) and long press for menu? I know the button could be mapped but I hadn't seen anyone use this combination before. If this is possible, can someone please make a rom/kernel for it?
NOTES:
Sprint HTC ONE
Sense 5 with this mapping would be appreciated
Click to expand...
Click to collapse
yup you can
http://forum.xda-developers.com/showthread.php?t=2244620
Muhammad.Muayad said:
yup you can
http://forum.xda-developers.com/showthread.php?t=2244620
Click to expand...
Click to collapse
There is nothing about a multitask remap in that, I would need it to make it so I can press for multitask, then long press for menu
Hi, I'm coming from a nexus 4 and I really would like to have my old three button layout here on my htc one, I've read in other threats that the HTC logo can be set up to be a home button, so the only piece left in the puzzle is how to set the original home button to open recent apps... I don't want to flash the Google play edition rom or any other ROM, just wish to know if there's a way to remap the original home button to recent apps so I finally get my nexus 4's old and sweet button layout... Thanks in advance guys!
Hi!
I'm thinking about buying HTC One, but I dont like the way buttons are arranged. So:
- Can I activate the button behind the logo and set it as a HOME button?
- Can I set the original Home button to work as a MENU button?
And one more:
- Is the notification light capable of other colours aside orange and green?
Thanks
Biges said:
Hi!
I'm thinking about buying HTC One, but I dont like the way buttons are arranged. So:
- Can I activate the button behind the logo and set it as a HOME button?
- Can I set the original Home button to work as a MENU button?
And one more:
- Is the notification light capable of other colours aside orange and green?
Thanks
Click to expand...
Click to collapse
1. Yes with a custom kernel/ROM
2. Yes HTC allow you to map the button to act as menu if you like (I did this when I still had my One)
3. No, that's all you get (it's not RGB)
Well, I got a feeling I can get HTC One X with nearly the same specs as the newer HTC One has without all that button-hacking hassle. (And on much lower price...)
Biges said:
Well, I got a feeling I can get HTC One X with nearly the same specs as the newer HTC One has without all that button-hacking hassle. (And on much lower price...)
Click to expand...
Click to collapse
I can't compare phone here (forum rules). But I personally had the htc one x and now the htc one. My advice stay away from the one x. Why? PM me if you want to know
What he said it's way better the HTC One, it has 2GB of ram instead of 1GB from One X... i've had both and i kept the One
EddyOS said:
1. Yes with a custom kernel/ROM
2. Yes HTC allow you to map the button to act as menu if you like (I did this when I still had my One)
3. No, that's all you get (it's not RGB)
Click to expand...
Click to collapse
Sorry to be annoying, but do I undersandt it right I could get this 3-button configuration on the One?
1. Back
2. Home
3. Menu
?
You can have it as follows:
Back button = back a screen (as usual)
HTC logo = Home button (by using a custom ROM/kernel)
Recent app button = Press for recent apps, press and hold for menu
EddyOS said:
You can have it as follows:
Back button = back a screen (as usual)
HTC logo = Home button (by using a custom ROM/kernel)
Recent app button = Press for recent apps, press and hold for menu
Click to expand...
Click to collapse
Thanks. I see you had chosen N5 over the One, may I ask why?
Biges said:
Thanks. I see you had chosen N5 over the One, may I ask why?
Click to expand...
Click to collapse
I usually prefer stock Android to Sense BUT I do regret selling my One to get the Nexus 5. It was a cost thing really but might come back once the M8 is released