Swap hard key functions - HD2 Windows Mobile 6.5 Themes and Apps

Hey.
Someone split a drink on my HD2 last night and now the off button won't work. I can't lock my phone, end a call or turn it off. Really annoying!
Does anyone know of a program I can use to change say the back button to do the same function of the off button? Theres bound to be one but I couldn't find one with a search.
Also if anyone has an idea how I can try and physically fix my off button without voiding the warranty (ie taking off the little void sticker and unscrewing it) that would be awesome.
Thanks!
Forsh

HI
I'm so sorry for your phone.
Maybe my solution isn't the right one, but you could use:
-lmt
+
-xda shutdown
so, for example, if you would turn off or sleep the phone you can just use a lmt command to run xda shutdown.
I hope you can fix up your phone...
Bye
P.s. I'don't know how you can change hard key function... sorry

Forsh said:
Hey.
Someone split a drink on my HD2 last night and now the off button won't work. I can't lock my phone, end a call or turn it off. Really annoying!
Does anyone know of a program I can use to change say the back button to do the same function of the off button? Theres bound to be one but I couldn't find one with a search.
Also if anyone has an idea how I can try and physically fix my off button without voiding the warranty (ie taking off the little void sticker and unscrewing it) that would be awesome.
Thanks!
Forsh
Click to expand...
Click to collapse
You could use AE Button +, there is a thread about it somewhere. It works with all of the buttons on the Leo, the evaluation copy works too.

Hey, thanks to both of you for getting back to me, I'm going to give AE Button + a go.

No problem, let us know how it go's.

Related

Single press device Lock

Folks, any idea how to switch off the screen / lock the keyboard without the need of double press the red power button?
This is kind of bothering cause when you're in a application and need quickly to put your Treo into your pocket, you need to press 1st to get to the home-screen and 2nd to switch off.
Yeah, seems to be something new with the 750 (no other treo before did this). Palm set this up purposely, so I wouldn't assume there's a workaround for it. You'll get used to double clicking
Not that I know
I have used it for ages and found many shortcuts but no "quick lock".
Sorry
How about getting an application that device locks your phone upon return from standby? I use BatteryStatus Today Plugin by Chi Tai Dang.. This plugin has the option to lock device on wakeup and set cpu speed(I use this a lot)..
But mine's a wizard, what do I know about Treo.. but what I do now is, press the power button to get the phone to go into standby and when I want to use it again, I press the power button and it will device lock upon wake up.
I don't have a Treo. How do you initiate said keyboard lock normally?
V
vijay555 said:
I don't have a Treo. How do you initiate said keyboard lock normally?
V
Click to expand...
Click to collapse
"Device lock" that you may know of isn't used on Treo's. Palm uses their own "keyguard," which uses the red END button as a power button when not on the phone. If you are on the today screen, one click will shut the device off. However, if you are in another program, the first tap brings you to the today screen, and the second click turns the screen off (and the keyguard on if you have selected it to be that way). On all other treo's, WM or POS, one click of the end button would shut the screen off (unless you were on the phone obviously, it would be the END function), regardless of what program you were in. Palm changed this, I assume, to be like most cell phones, where when you press the END key it returns to the home screen, regardless of what you were doing. Like a RAZR would do.
Thats the best way I can explain it. You would be surprised Vijay on how many customizations Palm made to the OS.
Yes, I've heard that they did - thank Goodness one of the OEMs finally saw fit to do something original.
Hmm.. from what you describe, clicking twice doesn't seem like a very big chore... I did something similar in VJOkButt. Is it really necessary to convert the 2 clicks to 1 click? Investigating it barely seems worth the effort
V
I agree, hence my original post.
When you are on the today screen, it works normally. And you can double-click quite rapidly and it will work. Not a big deal for me.
yes guys, its not that dramatical, but still, it would be an improvement also considering that I want to stay in that one application (a note which I'm editing) and want to get there after waking up the device again without the need of again starting application, look for the last note, opening etc...
with HTC hermes and others the power button works exactly like this and its even better.
Hi all,
If you're using it two handed hold option (the white key, left hand end of row 3) and press the red button once - closes the app and powers off.
But you need an odd-shaped hand to do that one handed!
It is not that the double click isn't easy to do, it's waht fire00 said; if you are in an app, it closes it and then powers off. Case in point, this weekend while driving to a friend's house, I had directions in my email and would have liked to have turned off the phone, but then I would have to find the email again and open it up. On my Wizard, i would just turn it off and then back on and the email would be there for me.
Gotta be a reg hack for someone to find.
mackangus said:
If you're using it two handed hold option (the white key, left hand end of row 3) and press the red button once - closes the app and powers off.
Click to expand...
Click to collapse
On my device, that method doesn't close the app. It just locks the keyboard and then powers off. When I power on again, the app is still running and on screen. I think that's what fire00 was looking for.
pjcace said:
It is not that the double click isn't easy to do, it's waht fire00 said; if you are in an app, it closes it and then powers off. Case in point, this weekend while driving to a friend's house, I had directions in my email and would have liked to have turned off the phone, but then I would have to find the email again and open it up. On my Wizard, i would just turn it off and then back on and the email would be there for me.
Gotta be a reg hack for someone to find.
Click to expand...
Click to collapse
Sorry PJC ACE, my mis-type - using option + red button powers the device off WITHOUT closing the app - just like the power button on the Wizard ;-)
My apologies!
GUYS YOU'RE ABSOLUTE TREO-EXPERTS !!!!!
thanks a lot, going to dance with the Treo cause I'm so haaapyyy !! )))
fire00 said:
GUYS YOU'RE ABSOLUTE TREO-EXPERTS !!!!!
thanks a lot, going to dance with the Treo cause I'm so haaapyyy !! )))
Click to expand...
Click to collapse
Option (hold)+Red Phone button is a nice alternative, but I'd really like to find a way to prevent the Red Phone from reverting to the Today screen, so I can power off directly with it with one press...Vodafone's excuse for specifically asking for it this way (every other phone's "End" button brings you back to the "home" screen) is ridiculous, these aren't like every other phone.
I installed HTC home plugin and now my red button wont let me go into standby. I uninstalled and still not working. Any ideas?
Side Button + Suspend
There is a thread at TreoCentral that explaines how to activate the side button and make it available for button assignment in the settings screen.
Second there is a small program called suspend.
I have mapped the 1 press of the side button to suspend and away we go.
1 - Click keyguards/screen off.
Also it resume in the place or program you left when you unlock it.
Regards

Lock touchscreen during call???

I searched for about 30 minutes before posting this.. in both diamond and touch pro forums and all over here.. I figure this is a common issue, but still found nothing.
Is there any way to lock the touch screen during a call? I keep doing things with my cheek. I've written notes, assigned pictures to contacts, etc.!!! It's getting old. Anyway to fix that???
Press the standby button.
I intsalled the reg edit No_Sleep_Raph this stops the phone going into standby for voicemail or phone banking.
The phone will blank the screen depending on the power settings I have or standbye button.
If I accpet a call I normally press teh answer button and while putting it to my ear press the standby button
That maybe a solution...
I would think they would've done something like the treo phones..
They've got a setting to lock the screen during a phone call until you press a physical button... Or something like that. Worked great.
How difficult it would be to program something like that?
Have you tried this?
http://forum.xda-developers.com/showthread.php?t=425650
I haven't tried that yet. From what I read it seems like it will be good for not answering the phone inside your pocket... I didn't see anything about it locking
during a call... But I may have overlooked that, and I would assume it is one of the settings.
Can anyone confirm whether this program will allow you to lock the screen during a call and allow you to unlock it with a physical button?
Sorry, can't help you with that as it doesn't seem to work with the latest ROMeOS rom but IIRC you had to remove the stylus in order to use the touchscreen.
wrong post, sorry.

Soft button for power off?

I've searched quite a bit but can't find the answer I'm looking for. I'd like to be able to put my HD2 on standby (sleep), by pressing a soft button. Anyone know of a widget or tool for this? I'm not using Sense so just a small applet or widget would do. Or even just a link to the executable that powers the unit off, if there is one.
Thanks!
Power Off app!
Exactly what I was looking for! Thank you Thank you Thank you Thank you
I'm always a bit paranoid about wearing out my hardware buttons.
But then I rarely keep a device long enough for it to happen.
I always buy and extra battery too, and then rarely use it.
Now I can cut down on the use of the End Call/Power Key by half.
For your next trick, can you pull a backlight off app out of your hat?
Open when Stylus is pulled out. No need to press the power button........
[HKEY_CURRENT_USER\ControlPanel\Keybd]
StylusOutStatus =1
Yep, works fine on my TP2. But darned if I can find the stylus on my HD2
Yes!! HD2 not Stylus!!!.................

[Q] Search key annoyances

Hello all:
I have been experiencing a particularly vexing problem with my captivate. At random intervals, the search interface displays on the screen without any of the buttons on the bottom of the phone being pressed. This seems to be particularly true when holding the phone in landscape (playing Angry Birds). My hand is nowhere near the end of the phone with the buttons, so I don't understand how this can be happening.
Any advice/help that can be offered will be appreciated.
T
Happens on mine every now and then too, usually when I'm driving and the officer is mounted on the windshield, so my hands are no where near it.
I've seen other posts about it. I don't think there's any fix except a replacement.
Sent from my SAMSUNG-SGH-I897
Officer = phone. Oh swype.
Sent from my SAMSUNG-SGH-I897
capacitive button problem. I have it too but on the menu key. Rare but very annoying. Perhaps its dust?
There are quite a few people complaining about it.
even my search key gives this issue.....isnt there a way to disable that key..??i rarely use it....
btw, wouldnt it be cool if the search key was changed to a camera key for takin pictures.....its way lot easier than focusing and clicking by tapping on the screen...
neo_31591 said:
even my search key gives this issue.....isnt there a way to disable that key..??i rarely use it....
btw, wouldnt it be cool if the search key was changed to a camera key for takin pictures.....its way lot easier than focusing and clicking by tapping on the screen...
Click to expand...
Click to collapse
Hmm, if yours has the problem, it would be rather detrimental to performance if you were to map it to camera shutter, wouldnt it?
Thanks to all. I had searched but hadn't seen anyone that had the same problem (time to brush up on my search skills?). I will consider a replacement, because it really sucks when I have a perfect shot in Angry Birds and the search interface comes up.
T
My original Captivate had a problem where the Home button would get "stuck".
The phone would start buzzing and going to the Home screen violently and over and over again.
I got it exchanged.
Probably a similar issue.
Yep, same problem here. Although I haven't seen it happen since I went back to stock and did the OTA update through Kies.
Not sure if that actually is why it's not happening though.
you can edit the Melfas-touchkey.kl file and disable the search key
system/usr/keylayout/Melfas-touchkey.kl
neo_31591 said:
even my search key gives this issue.....isnt there a way to disable that key..??i rarely use it....
btw, wouldnt it be cool if the search key was changed to a camera key for takin pictures.....its way lot easier than focusing and clicking by tapping on the screen...
Click to expand...
Click to collapse
i could not get the camera to work when i tried, but may give it another shot.
impulsek2 said:
you can edit the Melfas-touchkey.kl file and disable the search key
system/usr/keylayout/Melfas-touchkey.kl
Click to expand...
Click to collapse
You can do better than that; you can assign it to the CAMERA, just replace the text SEARCH with CAMERA in that file and reboot. I tried it, it works, and pressing the key while in camera mode takes the picture! It's quite nice actually. Long press for voice search no longer works, however.

[Q] Disabling the long press function of the hw power off button.

Hi everyone,i looked for a lot of solution (here and on other forums) but none of them worked. Even Acer technics abandoned me so it's all up to software now.
I will explain briefly my problem.
The power off button of my Acer Liquid e2 (i posted this here because there are no specific board for this phone) became incredibly sensible,even when the phone is just standing on a table it hard power off because of the long press of the power off button all by itself.
Now,i tried cleaning it,insult him,even borrow him to the assistance (they said that the button is probably attached to the motherboard so no repair,buy a new one) Not a single hardware solution worked (this phone never took a hit,but i have no warranty).
So i tried software,i used two different application to understand what was the button pressed,thanks to keytracker and whichbutton now i know that the longpress of power off button is 116,and the function is KEYCODE_POWER.
Now i wanted to simply remap the hw key so it does nothing but none of the two button appear in Button remapper neither the number or the function. So i was thinking to manually edit the file that manage this kind of thing is that possible? How can i disable the power off button? Obviously the change must be made after the boot,and in a way that still let me power on the phone and unlock (for the unlock part i could just remap a long press of the back button). This is way out of my league. Any advice,any help any possible solution are much appreciated.
Sorry for my bad english and i hope someone can help,otherwise i will have to take another phone...and i really can't afford it.
Megasd said:
Hi everyone,i looked for a lot of solution (here and on other forums) but none of them worked. Even Acer technics abandoned me so it's all up to software now.
I will explain briefly my problem.
The power off button of my Acer Liquid e2 (i posted this here because there are no specific board for this phone) became incredibly sensible,even when the phone is just standing on a table it hard power off because of the long press of the power off button all by itself.
Now,i tried cleaning it,insult him,even borrow him to the assistance (they said that the button is probably attached to the motherboard so no repair,buy a new one) Not a single hardware solution worked (this phone never took a hit,but i have no warranty).
So i tried software,i used two different application to understand what was the button pressed,thanks to keytracker and whichbutton now i know that the longpress of power off button is 116,and the function is KEYCODE_POWER.
Now i wanted to simply remap the hw key so it does nothing but none of the two button appear in Button remapper neither the number or the function. So i was thinking to manually edit the file that manage this kind of thing is that possible? How can i disable the power off button? Obviously the change must be made after the boot,and in a way that still let me power on the phone and unlock (for the unlock part i could just remap a long press of the back button). This is way out of my league. Any advice,any help any possible solution are much appreciated.
Sorry for my bad english and i hope someone can help,otherwise i will have to take another phone...and i really can't afford it.
Click to expand...
Click to collapse
I know exactly what you are looking for.
I will get back to you in the next couple of minutes to tell you the file that needs to be edited.
Thanks.
Lgrootnoob said:
I know exactly what you are looking for.
I will get back to you in the next couple of minutes to tell you the file that needs to be edited.
Thanks.
Click to expand...
Click to collapse
Thanks for the help i will wait for the answer,i was thinking that if we find a way to disable only the power off function it will be perfect.
Please read this first http://source.android.com/devices/tech/input/key-layout-files.html
Ok, its in /system/usr/keylayout
Just edit the files in a text editor for your specific key number
Lgrootnoob said:
Please read this first http://source.android.com/devices/tech/input/key-layout-files.html
Ok, its in /system/usr/keylayout
Just edit the files in a text editor for your specific key number
Click to expand...
Click to collapse
I tried to edit that file even before posting here but the only key function for 116 is power wake.I looked for all the files in the directory and none of them refer to the function im looking for. Can you be more specific?
Megasd said:
I tried to edit that file even before posting here but the only key function for 116 is power wake.I looked for all the files in the directory and none of them refer to the function im looking for. Can you be more specific?
Click to expand...
Click to collapse
This is the only way to do it.
Except for some sort of xposed module if you find one.
Dont look for exactly it, but experiment and look for off the wall keys that might be helpful to edit.
---------- Post added at 02:37 PM ---------- Previous post was at 02:35 PM ----------
This thread will help http://forum.xda-developers.com/showthread.php?t=2302169
Read last post.
Lgrootnoob said:
This is the only way to do it.
Except for some sort of xposed module if you find one.
Dont look for exactly it, but experiment and look for off the wall keys that might be helpful to edit.
Click to expand...
Click to collapse
I dont like to experiment with hardware key,im looking for a way to delete only the KEYCODE_POWER function,if i completely remove the 116 string i won't even be able to boot the phone and i don't like to brick things.
Edit: That kind of edit could work,the problem is that this string:
KEY 116 POWER WAKE
KEY 116 POWER
Should stop the problem from coming when in lockscreen,i suppose that will kind of work..thanks a lot i will try it and let you know.
Megasd said:
I dont like to experiment with hardware key,im looking for a way to delete only the KEYCODE_POWER function,if i completely remove the 116 string i won't even be able to boot the phone and i don't like to brick things.
Click to expand...
Click to collapse
I doubt it because the bootloader handles power on and the POWER function seems like it would allow you to turn the screen on. Do you want me to try it on my phone before you do it on yours?
And he never said to delete it, he only said to change it to just POWER not POWER WAKE.
Seems like to delete the keycode you would have to edit the android framework and that is beyond the scope of my efforts.
EDIT: Okay I got your reply.
Lgrootnoob said:
I doubt it because the bootloader handles power on and the POWER function seems like it would allow you to turn the screen on. Do you want me to try it on my phone before you do it on yours?
And he never said to delete it, he only said to change it to just POWER not POWER WAKE.
Seems like to delete the keycode you would have to edit the android framework and that is beyond the scope of my efforts.
EDIT: Okay I got your reply.
Click to expand...
Click to collapse
I would like to thank you for the answer and the help you are giving to me,you are very kind to do so,
I can't find that specific file seckey.kl probably it varies from devices to devices..i managed to find two different files that both have the string power wake,and they are mtk-kdp.kl and querty.kl what do you think? i should probably edit both of them..but what do you think?
Megasd said:
I would like to thank you for the answer and the help you are giving to me,you are very kind to do so,
I can't find that specific file seckey.kl probably it varies from devices to devices..i managed to find two different files that both have the string power wake,and they are mtk-kdp.kl and querty.kl what do you think? i should probably edit both of them..but what do you think?
Click to expand...
Click to collapse
The android docs only said not to edit generic.kl so it seems your fine.
I would do a Recovery backup if possible then edit all of the key values.
And also make sure usb debugging is on so if you cant use the power button that you could recover with an adb shell.
Please hit the thanks button if you have the time.
Lgrootnoob said:
The android docs only said not to edit generic.kl so it seems your fine.
I would do a Recovery backup if possible then edit all of the key values.
And also make sure usb debugging is on so if you cant use the power button that you could recover with an adb shell.
Please hit the thanks button if you have the time.
Click to expand...
Click to collapse
You are a mastermind my friend A MASTERMIND the problem is solved the power off button work to lock the screen but dosent shutdown the phone anymore so everything is fixed!! i know my thanks are not usefull so i would like to ask a question,do you have any project that need to be founded? i saved a lot of money thanks to you and i will be glad to help you back. Again thanks.
Megasd said:
You are a mastermind my friend A MASTERMIND the problem is solved the power off button work to lock the screen but dosent shutdown the phone anymore so everything is fixed!! i know my thanks are not usefull so i would like to ask a question,do you have any project that need to be founded? i saved a lot of money thanks to you and i will be glad to help you back. Again thanks.
Click to expand...
Click to collapse
Glad to see it worked for you.
I will get back to you soon.
I'm building a new computer(My first build) that needs a little boost.
---------- Post added at 03:42 PM ---------- Previous post was at 03:08 PM ----------
Just realized we have to use the paypal function or google wallet to be able to accept donations.
So I will add a button for it tonight.

Categories

Resources