[REQ] Softkeys for ICS - HD2 Android Themes and Apps

Now when we have nearly fully working ICS on our HD 2 I have one small request which is connected with the software buttons! Ever since I first installed Android on my HD 2 I am using Button Savior to operate with the phone ut since ICS already has software buttons I think it is not necessary to use third application to operate with the phone! My idea is if some one could modify the stock buttons and make them 4 in this order from left to right : home, tasks, back and power off! I will be very grateful if someone could make this possible! Thank you in advance!

AOKP ROMs have this already implemented, you can add up to 5-6 soft buttons I believe, and you can customize them with swipe actions and custom icons as well.
Sent from my HD2 using xda premium

most ICS rom has softkey now, just try rom from Tytung or Xylo
and there also thread about modify soft key here.
make a search you will find

Related

[ZIP]Front button disabler for Honeycomb

Introduction:
This mod disables the actions of the capacitive front buttons on the S7. Honeycomb has the soft buttons on the statusbar so the capacitive buttons are redundant. The S7 is one of the few tabs to officially recieve Honeycomb after product launch and hence one of the few HC tabs to have capacitive buttons.
Unofficial ports of HC to devices do not count.
Requirements:
Any HC based rom
Clockwork mod
Installation:
Download Button disabler.zip
Copy to 'sdcard'
Reboot into clockwork mod
Flash zip
Finished
Notes:
Button enabler.zip is also available to revert this mod, flash in the same manner.
Do not attempt to manually flash this onto a 2.2.x based rom, it will work correctly which means that you will not be able to exit any apps and essentially render your device useless until removed. (It cannot be flashed onto a 2.2.x based rom regardless, the installer will silently fail)
I do not know how to disable the LEDs under the buttons, they are disabled in an entirely different manner, open to suggestions
If you can think of a really good use for the front buttons, I may make a mod for it:
Keep in mind the button map is global, you cannot easily make it have app-specific actions
Because of this I would recommend against having it launch specific apps
If you wish to modify the buttons yourself, the file location is: system/usr/keylayout/ATA2538_capkey.kl
Thanx, man. Will give it a try. Sometimes those buttons get annoying for ex. when you hit them accidently while playing a game
Awesome! Now if we could get the lights disabled my streak would be perfect!
Sent from my Nexus S 4G using XDA App
this zip is a blessing thanks
If its not too much trouble. Could you show me how to undo it?
Sent from my Dell Streak 7 using xda premium
flash button enabler
Omg I totally skipped that part. Man, talk about braint fart.
Sent from my Dell Streak 7 using xda premium
Not sure if this will help...
The HTC Flyer is a GB device that got an OTA update to HC also. In their thread on enabling their buttons this post mentions how to turn on and off the lights for the buttons. Perhaps it will be a useful hint to disable them on the Streak 7.
http://forum.xda-developers.com/showthread.php?p=19278086
Capacitive buttons in HC
It's not, the s7 HC kernels dont export flags to allow you to change the lights.
The S5 and possibly S7 3xx kernels exported flags so you could easily play with the values.
The only way would be to modify and recompile the kernels, the HS kernels might have it exposed as I've bugged DJ_Steve about it previously, but I use the stock kernel.
Thank you man! it works
Is it possible to remap one of the cap buttons to make the streak screen sleep/wake?
Where would one find the script for the power button to copy to the mentioned key-mapping location for say the capacitive home button?
Sent from my PC36100 using XDA
anyone know where to get a hold of this zip? the link in the OP is broken.
autonami said:
anyone know where to get a hold of this zip? the link in the OP is broken.
Click to expand...
Click to collapse
Look here: http://d-h.st/users/TheManii/?fld_id=3888#files.

Is it possible to replace the menu button with the ICS Task Manager/Multitasker?

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

How to make physical keyboard only light up when opened

When i touch the screen, and the softbuttons at the bottom light up, the physical keyboard also lights up. any way to make it only light up if i open the keyboard?
That's not normal behaviour - have you got a custom ROM installed, or some other app that might be controlling the backlight?
I was running aokp. I changed over to Pac man Rom and it is fixed
Sent from my XT894 using Tapatalk 4 Beta
The only way I can think you can do this is to root your phone & use the app Tasker, with this im 99.9% possitive that this can be done
If this helps press that thanks button :thumbup:
Fully Rooted, Modded & Tweaked Devices -
Samsung Galaxy S3
(Foxhnd v.2.5 Supermodded)
Motorola Xoom
(Cyanogen v.10.0 Supermodded)

[Q] ICS status bar menu for Froyo / GT-PT1010?

Hi!
I've been searching all over for this and couldn't find anything... I have a Samsung GT-PT1010 (forgotten device) which can't be upgraded to ICS and I'm not inclined to upgrade it to Gingerbread. However using imitation ICS settings app and the Go HD Launcher makes it pretty usable.
Only thing missing is the bottom-left corner Back, Home, Apps Running buttons! Does anyone know of such an app or maybe some mode of customization to imitate these buttons? The device in built buttons are simply inconvenient.
thanks for any pointers!!!
S
sauronatmordor said:
Hi!
I've been searching all over for this and couldn't find anything... I have a Samsung GT-PT1010 (forgotten device) which can't be upgraded to ICS and I'm not inclined to upgrade it to Gingerbread. However using imitation ICS settings app and the Go HD Launcher makes it pretty usable.
Only thing missing is the bottom-left corner Back, Home, Apps Running buttons! Does anyone know of such an app or maybe some mode of customization to imitate these buttons? The device in built buttons are simply inconvenient.
thanks for any pointers!!!
S
Click to expand...
Click to collapse
Hi there,
I have kinda the same problem with my P1010 but for a different reason. My capacitive navigation buttons have started to die, so I decided to use something called Button Saviour. You can customize it to look like the navigational soft keys on many different devices including the stock android and HTC style buttons. Hope this helps!
I will check this out, thank you!

(REQUEST) hardware key button remapping mod

Does anyone know how to remap the harware buttons similar to what viper rom has as options? For instance long press back, home, and double press back and home. Also swipe up on home button. I would imagine that this is possible through smali edits in android.policy.jar but I don't know where or how at this point. If someone could help me I would really appreciate it. I love venom rom but I would like to atleast try out a few other options out there but I have found the remapping options with venom extremely had to give up.
Thanks, in advance
Sent from my HTC One using xda premium
Anyone?
Sent from my HTC One using xda premium
jgrimberg1979 said:
Does anyone know how to remap the harware buttons similar to what venom rom has as options? For instance long press back, home, and double press back and home. Also swipe up on home button. I would imagine that this is possible through smali edits in android.policy.jar but I don't know where or how at this point. If someone could help me I would really appreciate it. I love venom rom but I would like to atleast try out a few other options out there but I have found the remapping options with venom extremely had to give up.
Thanks, in advance
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
ViperOne can do this.
Sent from xda premium app on ViperOne
Nearly all of the custom roms and kernels for the One have remapping options. Are you trying to learn how to do this manually?
Also, the One only has capacitive back and home buttons, not hardware buttons like the Galaxy series.
iElvis said:
Nearly all of the custom roms and kernels for the One have remapping options. Are you trying to learn how to do this manually?
Also, the One only has capacitive back and home buttons, not hardware buttons like the Galaxy series.
Click to expand...
Click to collapse
No there are only a couple sense roms that have this option. As far as not being hardware buttons, it should be understood what I am referring to.
The only option that some kernels add is for HTC logo for menu
Sent from my HTC One using xda premium
+1 request
Sent from my HTC One using xda premium
If you need to use the Volume to wake up your phone, you can use a custom ROM such as the latest version of Android Revolution HD. Also in this latest version, long pressing the home button acts as MENU.
If you need to assign a capacitive button to work as MENU you can use a custom Kernel such as Faux123. It gives you the option to use the HTC logo as MENU and to wake your phone using the Home button and Sleep using the long pressing the HTC logo.
If you need to use the Volume Keys to take pictures inside the camera app, you can use this mod

Categories

Resources