[Question] How to lock screen with broken powerbutton - Nexus One Q&A, Help & Troubleshooting

Hi
My power button is kinda broken since my phone fell down a few times... so no warranty.
While I can conveniently wake my phone with trackball wake there's no such way to lock the phone afaik.
Is there a shell command that puts the phone into sleep/lock? Is there a way to make a shortcut for such a command and put it on the homescreen?
Thanks a lot for some hints

Related

How to lock buttons selectively?

Hi fellas.
The power button of my diamond has submerged slightly, and I'm trying to use it less frequently.
I turn off my device now using G-sen and flipping it down. As for turning it back on, I have to use the power button. I've also selected "Do not lock buttons" under keylock settings. It works great, l but I only want to use the action button to wake up the device.
Other than the "lock all buttons except power button", is there a way I can "lock all butons except the power/action button" ?
Thanks!
Help.... Anyone?
yes i want to find out too!... it will be so useful if thats possible
Turn off the phone by turning it face down.
Turn on - by taking the pen out.
So you don't use the power button...
potiron4o said:
Turn off the phone by turning it face down.
Turn on - by taking the pen out.
So you don't use the power button...
Click to expand...
Click to collapse
Nice one, bro...
But I hardly use the stylus...
Anyone?
You don't need to lock any buttons. If all you want is not to press any buttons accidentally in your pocket, just install Slide to Unlock (S2U2) and don't lock any buttons. That way, you can wake the phone up by any button and slide your finger on the screen to wake the device up.
aydc said:
You don't need to lock any buttons. If all you want is not to press any buttons accidentally in your pocket, just install Slide to Unlock (S2U2) and don't lock any buttons. That way, you can wake the phone up by any button and slide your finger on the screen to wake the device up.
Click to expand...
Click to collapse
Yea, I knew this would pop up.
S2U2 gives an extra step, which I don't want.
Just want to use the action button to wake the device. Thats all.

Unlocking Touch display..

I've made my Diamond auto lock when my display gets dimmed, with:
HKEY_CURRENT_USER\ControlPanel\BackLight\AutoDevic eLockEnable from 0 to 1
This is good, but I wan't to be able to lock my phone instantly.
I know I can press and hold the right phone button to lock it. But it takes about 4 seconds. Is there anyway to change this delay?
Also, is there ANOTHER way to unlock my phone again? So I DON'T have to use the touch screen? Like first pressing the round enter button and then down or left, right after?
my htc touch will not go past 'windows mobile' screen on turn on & will not turn off or do anything else, can you help
To lock the phone I just give the power button a quick press. To unlock without touching the screen just remove the stylus.
...or use this http://ae.inc.ru/aebplus.php . its a really neat application especially because of the minimum of hardware buttons on the diamond. I have configured it to lock the screen when i double press my "hang up/disconnect" button and switching wi-fi on/off when I longpress one of my volumebuttons...
Jummy said:
...or use this http://ae.inc.ru/aebplus.php . its a really neat application especially because of the minimum of hardware buttons on the diamond. I have configured it to lock the screen when i double press my "hang up/disconnect" button and switching wi-fi on/off when I longpress one of my volumebuttons...
Click to expand...
Click to collapse
yeah I know that program.. I've used it before but it kept crashing..
But I'll give it another try.

[Q] Wake the phone using Menu, Home or Back button?

i'm not sure if this answers you question, but usually i push my home button to wake up my phone then slide the screen to unlock it, just like how i do with my iphone previously, no settings is done with my phone
Yeah, same, I always unlock my SGS with the Home-button..
Oh. Did not know that. I don't have the phone yet. Was just reading some people's thoughts about the phone and they were annoyed about the Power button being used to wake the phone. Guess, I should've researched it some more. lol. Thanks for the info.
Either way, I think I figured it out on how to enable/disable the other buttons waking up the phone if I wanted to in that thread I posted. Should be able to wake it up using the other buttons as well instead of being limited to the power button and the home button. Just gotta have root and edit the keyboard layout then push back.
the menu and back keys are capacitative keys, not really ideal for waking with if the phone is carried in your pocket or something

[Q] Any way to lock keys as well?

My phone tends to turn off in my pocket due to the power button being held and then, somehow, the "turn off" on the screen clicked. Is there any way to make screen lock lock the physical buttons as well? So that clicking the power button turns the screen on like it does now but holding it doesn't make the window prompt. From what I see, there's no such option in the android itself so some app maybe?
our phone have only one physical lock button but you can use some application for lock the screen by tap the application's icon such as "screen off and lock" or "lock widget"
and you can unlock by home button also.
Oh, but what I meant was not that I want to lock/unlock without using the physical lock/power button. I'd like it to sustain its funcionality apart from the "hold" action when the screen is locked. It shouldn't open the window with flight mode/turn off etc. when the phone is locked. Do the mentioned above apps let me do this?
So there's no way to change the function of the power button?
The above applications can only lock your phone by tapping the screen, but to unlock without using the power button...mabye a developer can help you so he will make a lock application wich ignores the power button when the phone is locked and you could unlock it by pushing the home button(wich is harder to pres by mistake in your pocket).
Anyway, it could be a good application for Market, I dont think that you are the only person that has this problem.

[Q] Long Press Trackbal -> Lock Phone?

First off: I tried searching. It returned dozens and dozens of posts about how to WAKE the phone with the trackball
Like many, I have a nexus one with a broken power button. I'm running Cyanogen so I can easily wake the phone with the trackball. I also have a widget to lock it from the home screen.
I would however really like a way to lock the phone with a hardware button somehow. Long press on trackball or volume buttons would be awesome. I never use the volume buttons anyways so I'd give them up if I had to.
Is there any way to do this? If so how deep would the integration have to be? New kernel? Kernel patch? Root access app?
Thanks, and sorry if this has been posted before. I swear I tried searching
It's a great idea actually. I can't see why Trackball Wake couldn't also be Trackball Sleep. I would love to see this implemented!
Perhaps someone would like to take up the challenge?
Screen off and lock
There is an application called Screen Off and Lock.
You can turn off the screen by long-pressing search button.
- Trackball Wake
- Long-pressing Search button sleep (screen-off)
This way I don't use power button at all.
That's pretty awesome! Thanks
A bit sad to lose the usage of my voice search though. But I'll sacrifice that over the hardware locking method!

Categories

Resources