Unlock phone with soft keys? - HTC Sensation

First of all, is it even possible to assign soft keys to unlock the phone?
I've tried adding "WAKE_DROPPED" to "key 102 HOME" in "pyramid-keypad.kl" but the home button doesn't unlock the phone even after a restart. I've also tried pulling/pushing the file via adb in recovery mode.

Bumping...

My first post here (and unfortunately, not such a useful one), but here goes a soft bump from me too
Please... can someone shed some light on this? I just don't want to use the Home or Power button(s) to unlock my SGS2. Shake or Voice (LOL) or Soft Keys would be cool... B-)
Thanks in advance
EDIT: Oops, just realised it's a thread for HTC Sensation :dumb me:

There is a kernal mod out there I think for hd2 where you swipe the soft keys and will unlock and lock

Lol, hd2 doesn't have soft keys.
But you are.correct, its kernel mod. Show considered doing it but changed his.mind IIRC.
ilostchild said:
There is a kernal mod out there I think for hd2 where you swipe the soft keys and will unlock and lock
Click to expand...
Click to collapse
Sent from my HTC Sensation Z710e using XDA App

i want this feature too!!! anyone can enlighten us???

I had completely forgotten about this thread.. I found an app which allows you to unlock with the proximity sensor. But I haven't used it since starting this thread so I can't remember the name. I quit using it because it would unlock when I put it in my pocket.

apex84 said:
I had completely forgotten about this thread.. I found an app which allows you to unlock with the proximity sensor. But I haven't used it since starting this thread so I can't remember the name. I quit using it because it would unlock when I put it in my pocket.
Click to expand...
Click to collapse
^^ Haha yea, I can understand. It might have gotten more painful than a solution really. But, please interrogate your neurons... and try to recollect the name of the app. Please please please. Thanks

i can see that this mod would be kinda cool, however u realise that it would mean keeping the capacitive soft buttons powered on all the time ready for input, basiclly it would stop deep sleep and keep the soft keys draining the battery non stop...

Related

Wake up the phone with every button

Hi all.
I know there's a registry hack to wake up the phone with every button, not only with the ON/OFF button but I'm not able to find the topic. I can't find the right words to search...
Can someone help me? Thank u very much for all u do here. Bye
mylostnick said:
Hi all.
I know there's a registry hack to wake up the phone with every button, not only with the ON/OFF button but I'm not able to find the topic. I can't find the right words to search...
Can someone help me? Thank u very much for all u do here. Bye
Click to expand...
Click to collapse
It is just a windows mobile setting:
Start -> Settings -> System -> Key lock -> do not lock keys (or something like that, I have a dutch phone).
Make sure you have a good locking solution, like TouchLockPro, because your phone will awake regularly when the keys are pressed.
Hi ZuinigeRijder.
First of all thank u for ur reply.
Then, unfortunately I can't find these options on my phone (in the latest three different ROMs I've tried these options are no more in the settings, one 6.1 and two 6.5 ROMs).
Some times ago I've found a post with a registry hack to obtain that result.
But now I can't find that post anymore.
Thank u very much
Sorry, I've found it!!!
And here it is for all who need it:
Code:
HKEY_CURRENT_USER\ControlPanel\Keybd\DefaultKeyLock
set it to 0 and all the hardware keys will wake up the phone.
Thank you for all.
Actually here is the easier way. Install this control panel app, to control the key lock. Its made by HTC, and has been included on their devices for a looong time now. But I do believe certain OEM's/Carriers remove this for some unknown reason.
doesen't work
I'm trying to do the opposite...I'm trying to disable all keys wake up...but that registry entry and HTC key lock app doesnt work for my HD2.
RelicXII said:
Actually here is the easier way. Install this control panel app, to control the key lock. Its made by HTC, and has been included on their devices for a looong time now. But I do believe certain OEM's/Carriers remove this for some unknown reason.
Click to expand...
Click to collapse
Thank u for this info!
This explains why I had this tool in the original ROM but I haven't found it in the next cooked ROMs I tried!
Bye-
sakana said:
doesen't work
Click to expand...
Click to collapse
Did you soft reset after installation?
And I would have no idea why it doesn't work on the HD2??
Confirmed - Key Lock Cab on HD2 Does not Work
Confirmed, loaded the Key Lock cab, reset phone.
Start>Settings>All Settings>System>Key Lock -
elected <Lock all buttons except for power button>
Reset the Phone
Phone can still be powered back on by any hardware button
Would appreciate any assistance.
Hennyb said:
Confirmed, loaded the Key Lock cab, reset phone.
Start>Settings>All Settings>System>Key Lock -
elected <Lock all buttons except for power button>
Reset the Phone
Phone can still be powered back on by any hardware button
Would appreciate any assistance.
Click to expand...
Click to collapse
What device are you using? As far as I know this should work on most if not all HTC Winmo devices.
Key Lock does not work with HD2
RelicXII said:
What device are you using? As far as I know this should work on most if not all HTC Winmo devices.
Click to expand...
Click to collapse
It is an HD2. Several people have advised that Key Lock does not work with HD2.

Disable Soft Capacitive Buttons

Since i use vegan tab and have all the soft buttons on the screen at all time (home, menu, back) is there anyway to disable the capacative ones so that i dont actually hit them while holding the tab?
bump ^^^ anyone??? robeet?
I asked something like that earlier, but no one responded. There's a thread under Themes and Apps about Settings Catcher. Maybe a concept like that could be used, in the opposite way (assign invalid activities), to essentially make the keys do nothing?
Jim
This is definitely possible to do.
Use Root Explorer to go to /system/usr/keylayout. I am guessing it's the file gpio-keys.kl in that directory.
For a guide as to how this works, check out this link: http://forum.xda-developers.com/showthread.php?t=695936
I haven't tried it yet, but I'm guessing you can map those keys to something like ENDCALL that doesn't have a meaningful activity associated it with it on our tablets. Or maybe there's a null activity or something like that.
You'll have to experiment a bit. I haven't tried any of this yet myself.
hmmm, pull out the device back and unclip it?
Seriously though, I'm not certain. Possibly it's linked to the file /usr/keylayout/tegra-kbc.kl. So you might be able to REM out some of these and it could actually disable the tactile buttons.
How would you get out of a full screen app that hides the status bar?
WickedStyx said:
How would you get out of a full screen app that hides the status bar?
Click to expand...
Click to collapse
thanks, was thinking the same lol
WickedStyx said:
How would you get out of a full screen app that hides the status bar?
Click to expand...
Click to collapse
pmcnano said:
thanks, was thinking the same lol
Click to expand...
Click to collapse
Yeah i didnt think of that. damn... its just annoying when im in the browser or something and i hit it by accident
I was hoping to find an app/hack that would let me set the duration of a soft key press required to register as a stroke. It would then be easy to make a widget to turn the delay on and off for times when you know you will be more prone to bump the buttons.
TheMongol said:
I was hoping to find an app/hack that would let me set the duration of a soft key press required to register as a stroke. It would then be easy to make a widget to turn the delay on and off for times when you know you will be more prone to bump the buttons.
Click to expand...
Click to collapse
I'm bumping this to see if anyone has any ideas on the above or disabling them completely. I (or one of my kids) *always* bump one of the capacitive buttons while using the gtab. It is frustrating, infuriating even, when you're in the middle of something and BAM, you have to start over.
TIA!
If you could get rid of the buttons you can just use button savior. I'm using the zeam launcher in fullscreen and barely ever touch the buttons on the side now
wordweaver27 said:
I'm bumping this to see if anyone has any ideas on the above or disabling them completely. I (or one of my kids) *always* bump one of the capacitive buttons while using the gtab. It is frustrating, infuriating even, when you're in the middle of something and BAM, you have to start over.
TIA!
Click to expand...
Click to collapse
I use 'Button Remapper' to map the hard buttons to 'focus' which effectively disables them. I then use 'Buttton Savior' to provide on-screen buttons.
Works well and ends the frustration of the buttons not being back-lit or accidently hitting them when holding the tablet.
Thank you! I think that will do the trick. Do you use the galaxy tab version?
ETA: just searched the market from my Droid and saw a third vanilla version of button remapper. I will go with the assumption that its this one.
Sent from my Droid using XDA App

[KERNEL] Slide to Unlock

So I came across this in the EVO 3D forums. How hard do you think it will be to port this to our device?
http://forum.xda-developers.com/showthread.php?t=1346760
It is in development already. See bricked kernel thread for more info.
Sent from my Sensation
Anyway to enable this?
http://forum.xda-developers.com/showthread.php?t=1269247
And gnex has it
Both Bricked and TamCore have this feature.
Bricked: http://forum.xda-developers.com/showthread.php?t=1269247
TamCore: http://files.tamcore.eu/android/?dir=tamcore-kernel
Bricked gives you an option to enable it during installation, while TamCore requires you to flash a zip to enable it, which you can get on the same page, under the name "sweep2wake_enable.zip".
A few kernels already have it.
I am already using it... :angel:
Already using it on bricked!
It's nice because you don't have to constantly use your power button to turn on device ! I really love it! It's so easy.
Sent from my HTC Sensation 4G using xda premium
Is there any way to make it more efficient when locking the device? I find that it closes the current application and goes to the home screen (as you swipe the back and home keys when locking your device).
This is quite annoying when using an app like gmote when I may need to immediately unlock my phone again to pause/play adjust volume etc, as I find that the app has been terminated when putting the device to sleep.
I really like the idea of not having to mash my power button any more than necessary, so using the sweep to lock would be ideal. I also noticed that even in the demo video of sweep to wake, the menu button gets pressed as the phone is locked (you can see the launcher menu appear for a second before the device locks).
Any suggestions would be appreciated, but I wanted to get some guidance before posting any sort of feature requests in the dev forum.
Thanks guys!
Louer Adun said:
Is there any way to make it more efficient when locking the device? I find that it closes the current application and goes to the home screen (as you swipe the back and home keys when locking your device).
This is quite annoying when using an app like gmote when I may need to immediately unlock my phone again to pause/play adjust volume etc, as I find that the app has been terminated when putting the device to sleep.
I really like the idea of not having to mash my power button any more than necessary, so using the sweep to lock would be ideal. I also noticed that even in the demo video of sweep to wake, the menu button gets pressed as the phone is locked (you can see the launcher menu appear for a second before the device locks).
Any suggestions would be appreciated, but I wanted to get some guidance before posting any sort of feature requests in the dev forum.
Thanks guys!
Click to expand...
Click to collapse
Sometimes it will pull up the power window, it will go back, back out of an app...instead of posting here...post in show-p threads.
It's a good feature, the bricked & faux kernels have it as far as I know!
Sent from my HTC Sensation Z710e using xda app-developers app
Louer Adun said:
Is there any way to make it more efficient when locking the device? I find that it closes the current application and goes to the home screen (as you swipe the back and home keys when locking your device).
This is quite annoying when using an app like gmote when I may need to immediately unlock my phone again to pause/play adjust volume etc, as I find that the app has been terminated when putting the device to sleep.
I really like the idea of not having to mash my power button any more than necessary, so using the sweep to lock would be ideal. I also noticed that even in the demo video of sweep to wake, the menu button gets pressed as the phone is locked (you can see the launcher menu appear for a second before the device locks).
Any suggestions would be appreciated, but I wanted to get some guidance before posting any sort of feature requests in the dev forum.
Thanks guys!
Click to expand...
Click to collapse
Skip pressing the back button, just sweep above the back button like that: __--_ (while locking)
kgs1992 said:
Skip pressing the back button, just sweep above the back button like that: __--_ (while locking)
Click to expand...
Click to collapse
Brilliant idea! This actually works as desired, and it doesn't seem to activate the home button in the sweep/swipe either. Now I just need to get in the habit of skipping the back key.
Louer Adun said:
Brilliant idea! This actually works as desired, and it doesn't seem to activate the home button in the sweep/swipe either. Now I just need to get in the habit of skipping the back key.
Click to expand...
Click to collapse
There's a thanks button.
However, I don't see how this is practical much. I only lock using sweep because it's a good shortcut to exit current app, go to home & luck.

"No Power Button" Project

Okay so im having a little project to get rid of using power button, cuz mine is really "soft" and i believe someday it will stop responding...
Im currently using few apps&tricks:
Turning off screen:
Screen Off & Lock
Turning on the screen:
Volume key wake
or as in most roms now, its enable-able in settings/tweaks
Rebooting, entering recovery or bootloader:
Quick Boot (Reboot)
And recovery:
4EXT Recovery Touch
Im currently running cm7mod rom and i am trying to find a code or good replacement to open "cm7 power button menu or advanced boot menu" if its called that, to open from shortcut or different key then long press power button. And another one for now is taking a screen shot from different combo then "power button+home" I know there is some apps to take screenshots but i would prefer to edit some files myself to make it happen.
Hope this helps somebody with same issues and maybe someone can give me some pointers!
PEACE
Thanks for the tips.
I'm sure this will come in handy for people who're wearing out their power button (like me!!)
http://www.youtube.com/watch?v=1hBxMpaLRiU&feature=youtube_gdata_player
Sent from my HTC Desire S using xda premium
knockedx said:
http://www.youtube.com/watch?v=1hBxMpaLRiU&feature=youtube_gdata_player
Sent from my HTC Desire S using xda premium
Click to expand...
Click to collapse
Hey, thanks for that video. Makes for an interesting party trick!!
But the problem with this is phone unlocking inside your pocket, and secondly, continuous polling of the proximity sensor is going to gobble your battery up pretty fast. But i'll have to try it out for atleast a day to support that theory.
Thanks for the info anyway.
Did anyone try to use warranty because of the power button? mine is going softer every week...
Sick1 said:
Okay so im having a little project to get rid of using power button, cuz mine is really "soft" and i believe someday it will stop responding...
Im currently running cm7mod rom and i am trying to find a code or good replacement to open "cm7 power button menu or advanced boot menu" if its called that, to open from shortcut or different key then long press power button. And another one for now is taking a screen shot from different combo then "power button+home" I know there is some apps to take screenshots but i would prefer to edit some files myself to make it happen.
Hope this helps somebody with same issues and maybe someone can give me some pointers!
PEACE
Click to expand...
Click to collapse
Good news coming for your project in the next couple of days. Need some finetuning, but it's looking promising.
You won't be able to simply edit stuff to make it work on other roms, but Reaper will have it.
Cheers
lowveld said:
Good news coming for your project in the next couple of days. Need some finetuning, but it's looking promising.
You won't be able to simply edit stuff to make it work on other roms, but Reaper will have it.
Cheers
Click to expand...
Click to collapse
Yummy, more mischief from the chef!!
I've always used Screen off apps on all my devices !
Even since the days of WinMo there was such app
One of the first apps I install on my phone when I load a New ROM is screen off and lock
I don't need the volume wake though - that would just wear out the volume buttons when I already use it for music control

[Q] unlock button

hi everyone!
just notice that day to day i found it hard to push the unlock button on the right top of my phone, need a couple tries of push untill i can unlock my device,
seems like from day to day that small tiny ass button is gettting drown,
did anyone experiencing the same problem that i'm facing with xperia j?
is there any suggestion to unlock device without using button?
i have tried some application like shake to unlock etc. but they're drain battery insanely
mikey000 said:
hi everyone!
just notice that day to day i found it hard to push the unlock button on the right top of my phone, need a couple tries of push untill i can unlock my device,
seems like from day to day that small tiny ass button is gettting drown,
did anyone experiencing the same problem that i'm facing with xperia j?
is there any suggestion to unlock device without using button?
i have tried some application like shake to unlock etc. but they're drain battery insanely
Click to expand...
Click to collapse
I don't think theres a other way to unlock honestly...
I DO know theres a way to remap the buttons, so that you would (as example) be able to use the volume buttons for unlocking the screen. But I would have no idea how it actually works, too long ago since I saw it somewhere...
But about your power/unlock button, did it function normally before, or has it been bad since you got the phone?
Maybe there's some dirt or something in the button blocking it partly?
cysici cell
mikey000 said:
hi everyone!
just notice that day to day i found it hard to push the unlock button on the right top of my phone, need a couple tries of push untill i can unlock my device,
seems like from day to day that small tiny ass button is gettting drown,
did anyone experiencing the same problem that i'm facing with xperia j?
is there any suggestion to unlock device without using button?
i have tried some application like shake to unlock etc. but they're drain battery insanely
Click to expand...
Click to collapse
I have the same problem with the power button. It's not your fault, it's just the wrong way the button was made.
I use 2 apps to lock/unlock my phone by shake( and you can also unlock by hand gestures over the sensor- next to the front camera). You can try ShakeMe and you can also try to use Advanced Screen Control. Just install these 2 apps and play with the sensitivity and you'll find the perfect fit.
These 2 apps seem to be the best out of the bunch that you can find on the Play store.
Tell me if they work!
Dragoboss said:
I don't think theres a other way to unlock honestly...
I DO know theres a way to remap the buttons, so that you would (as example) be able to use the volume buttons for unlocking the screen. But I would have no idea how it actually works, too long ago since I saw it somewhere...
But about your power/unlock button, did it function normally before, or has it been bad since you got the phone?
Maybe there's some dirt or something in the button blocking it partly?
Click to expand...
Click to collapse
thanks for replying
it was normally functional before, but as time goes its getting un-responsive
layup23 said:
I have the same problem with the power button. It's not your fault, it's just the wrong way the button was made.
I use 2 apps to lock/unlock my phone by shake( and you can also unlock by hand gestures over the sensor- next to the front camera). You can try ShakeMe and you can also try to use Advanced Screen Control. Just install these 2 apps and play with the sensitivity and you'll find the perfect fit.
These 2 apps seem to be the best out of the bunch that you can find on the Play store.
Tell me if they work!
Click to expand...
Click to collapse
will try it,
is it drain your battery quickly or no?
Re: [DEODEXED APK]Need Testers[TIPO - ST21i]
Try some apps from Google play which can unlock using volume button I don't remember names but most have this function of waking screen when volume button is pressed
Try holo it is light uses less ram (don't remember if it has the function)
Sent from my ST21i using xda app-developers app
jhonny1525 said:
Try some apps from Google play which can unlock using volume button I don't remember names but most have this function of waking screen when volume button is pressed
Try holo it is light uses less ram (don't remember if it has the function)
Sent from my ST21i using xda app-developers app
Click to expand...
Click to collapse
cant find any app with that function yet
Give me some time I will search and tell
By the way I tried holo locker for u it has unlock function back+volume try it
Sent from my ST21i using xda app-developers app
If you root, go to /System/Usr/Keylayout/
Edit Generic.kl file.
Adding 'WAKE' after Volume down and up.
Then go to setting>security>screen lock to none
Maybe some other expert member can figure out how to make this working when enable screen lock.
Sorry my english.
Sent from my ST26a using xda premium
You can have screen lock on and use volume down to unlock:
- With a root access file manager like Root Explorer or ES File Explorer go to /system/usr/keylayout
- Open in text editor file fih_gpio-keys.kl
- Look for key 114 VOLUME_DOWN WAKE
- Replace the "VOLUME_DOWN" with "POWER".
- Save and reboot.
This essentially maps your volume down key as a power button. If you need to reduce the volume push volume up then use the on screen slider to set volume
miro xperia
arguson said:
You can have screen lock on and use volume down to unlock:
- With a root access file manager like Root Explorer or ES File Explorer go to /system/usr/keylayout
- Open in text editor file fih_gpio-keys.kl
- Look for key 114 VOLUME_DOWN WAKE
- Replace the "VOLUME_DOWN" with "POWER".
- Save and reboot.
This essentially maps your volume down key as a power button. If you need to reduce the volume push volume up then use the on screen slider to set volume
Click to expand...
Click to collapse
......it worked for me am hoping that a new power button will fix it properly

Categories

Resources