[Q] Long Press Trackbal -> Lock Phone? - Nexus One Q&A, Help & Troubleshooting

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!

Related

IDEA screen lock widget

Hey does anyone know of a widget that i could put on my homescreen to put my phone to sleep... i feel like having to hit the power button everytime is a bit annoying. Trackball wake takes care of getting the screen on but what about off?
Thanks guys
Any ideas? Or how hars would it even be possible?
So you want to replace pressing a single button, with pressing another single button..
I can understand his concerns, since people've reported that their power buttons have gotten worn off/need longer to press/etc. It's why I've taken up using Reboot Control for rebooting and powering down and Lockbot to press any button to wake up the phone. Another widget or app for turning off the screen would be great too, IMO.
grainysand said:
I can understand his concerns, since people've reported that their power buttons have gotten worn off/need longer to press/etc. It's why I've taken up using Reboot Control for rebooting and powering down and Lockbot to press any button to wake up the phone. Another widget or app for turning off the screen would be great too, IMO.
Click to expand...
Click to collapse
am also having to use reboot control for this matter, having an extra standby widget would be perfect.
After wake with trackball, this is second most wanted for me (and i'll not touch power button again). There is a thread in app's section, but no replies till now. Can it be so difficult???
Even if there's no way to directly turn off the screen, there should be some way around it by doing something like saving the current screen timeout time, setting the screen timeout time to 0 (or somewhere between 0 and 1) so the screen will turn off, then set a timer for like 1 second to reset the screen timeout time to the original time?
grainysand said:
I can understand his concerns, since people've reported that their power buttons have gotten worn off/need longer to press/etc. It's why I've taken up using Reboot Control for rebooting and powering down and Lockbot to press any button to wake up the phone. Another widget or app for turning off the screen would be great too, IMO.
Click to expand...
Click to collapse
Will pressing any button work with the Nexus One's non physical buttons (back, menu, home, search)?
Not the capacitive buttons, nope, just the volume rocker and the tracknipple.
grainysand said:
Not the capacitive buttons, nope, just the volume rocker and the tracknipple.
Click to expand...
Click to collapse
Aww thought it might be possible to use a button which wouldn't become loose or unresponsive after too much use.
I feel like the power button would benefit in te long run from not being pressed multiple times per day and much more convienent to tap a widget on screen
I'm all for it. either an app or a widget, some short cut that can be added to the home screen to put it to sleep.
scottypimpin636 said:
...either an app or a widget, some short cut that can be added to the home screen to put it to sleep.
Click to expand...
Click to collapse
Yeah would be great!
grainysand said:
Not the capacitive buttons, nope, just the volume rocker and the tracknipple.
Click to expand...
Click to collapse
Ha! Tracknipple... funny as sh!t!!
maybe even double click trackball or long press one of the soft keys along the bottom of the screen
A widget would be a cool option instead of beating the power button to death
Why not just shorten the up time to less then 15 seconds?
Then you have too switch the time whenever your reading the news or a text longer than15 seconds.
So is a widget like this even possible?
Any news on this matter? Is it possible?
rori~ said:
Yeah would be great!
Click to expand...
Click to collapse
Second that. It seems my power button is beginning to fail already.

[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

unlocking without using power button? and auto backlight

hi, i was wondering if its possible to turn the screen on(after locking, to unlock) by pressing the volume buttons instead of just the power button? Its really annoying having the power button the only means of turning the screen on, my old renoir worked with my volume buttons(and anything else) same as my dads arena .
Also does anyone know how to change the auto backlight settings? The intervals are terrible, it doesnt drop high or low enough to save battery but the steps are so close you notice the backlight drop just by tilting it away from any light source lol (very sensitive and annoying without really helping battery life!).
Tried searching so I apologize if its already been mentioned but i havent found any mention or solution .
i saw an option of setting the volume button to turn/wake the phone up. i believe it's from the CM7 build..
Yep, turning phone on with volume buttons is definately available on CM7. But I don't think there's that option with any of the MRC roms.
I'm sure that tiny power button will wear out sooner rather than later...it would be good to have another way of waking up the screen.
Yes option is available in CM7, but not still got a few bugs

Lock Widget

Can anybody recommend an app what puts a lock icon widget on the homescreen? My case don't allow to press power button, and button savior is too confusing for my mother.
similar Q
Howdy, pardners!
I on the other hand wonder, whether there is possibility to disable onscreen lock - my back button is hardly reachable so i am not worried that it will get pressed. Sliding the screen everytime i just what to know the time or what ever is however quite annoying. Any chance to disable only touch screen, no screensaver - just Laucher home screen with clock, calendar..., unlocking with back button or quick some combination of others?
Would be magical !
regards
In regards to the first post: have you looked in nook touch tools? There may be a way to set one of the side buttons as the power button, therefore locking it.
Good luck!
I dont know if anyone has it too but:
Go to button savior, check the box that says android recent task.(just bottom of the first page).
And everytime that i press the n button long, it goes to lockscreen. i dont know why. Also long pressing the home button on the button saviour does the same thing too.
The power button and the "n" button go to different electrical sections than the four hard side buttons
The two buttons go to dedicated input pins, the four buttons are part of a scanning matrix.
Although it might be possible to statically enable the whole matrix so that you could detect a button push without scanning (while asleep)
it seems that they would have not handled the buttons separately if that were the case.
In short, any button can be assigned to power and put the Nook to sleep.
Although I'm not sure if any button would be able to wake it?

[Q] Double press home button to lock?

Hi
I like my nexus 6 but I don't know how much crack they had smoked by the time they had to decide where to place the buttons.
The buttons are not only all beside each other so you're always pressing the wrong ones, but they are dead center of the side of the phone so every time I pick it up I lock it by pressing the power accidentally. It also does not help that this phone looks the same upright as it does upside down, so you never even know which side to expect the buttons on.
Anyway. Is there a hack/app that would let me change the behavior of the power button? I want to change the phone to lock/standby on a double power button click. I wouldn't even mind a double click to wake! I do not want a double tap to lock. I don't want to rely on tapping on my screen.
Thanks for any help. I've tried popping the power button off my case which is great, but I hate relying on the phone to timeout before going to sleep. I'm not looking for a solution like that.
rizz2pro said:
Hi
I like my nexus 6 but I don't know how much crack they had smoked by the time they had to decide where to place the buttons.
The buttons are not only all beside each other so you're always pressing the wrong ones, but they are dead center of the side of the phone so every time I pick it up I lock it by pressing the power accidentally. It also does not help that this phone looks the same upright as it does upside down, so you never even know which side to expect the buttons on.
Anyway. Is there a hack/app that would let me change the behavior of the power button? I want to change the phone to lock/standby on a double power button click. I wouldn't even mind a double click to wake! I do not want a double tap to lock. I don't want to rely on tapping on my screen.
Thanks for any help. I've tried popping the power button off my case which is great, but I hate relying on the phone to timeout before going to sleep. I'm not looking for a solution like that.
Click to expand...
Click to collapse
With alternative launchers (eg Nova) you can assign gestures to homescreen or swipe up on dock icons...
In addition to using a different launchers, you could use something like Screen off and Lock which allows you to replace Google Now in your navring (swipe up from your navigation bar) to be a screen off option.
Neither are exactly what you are looking for, but it is the closest you will get without root and/or a custom ROM. With that you have more options, there are double tap navbar and statusbar to sleep options available. I would imagine Xposed would have some options as well.
Hey guys sorry for the late reply.
I actually do use the nova launcher and its pretty sweet. The issue is not to add more gestures to sleep the screen. The issue is that the power button is so easy to click by mistake. I was hoping for a double tap the power to lock or something to prevent it from locking so easily. I usually press it once by mistake when picking it up..but I doubt I will accidentally pick it up and click it twice consecutively...and if I do, well im sure it wont happen too often.
I have root I am willing to try just about anything so if someone knows of a custom rom that could offer this then that would be sweet. I saw someone mentioned it above. Interested!
Thanks again for all your help
Try Invisible Lock Widget. Works a treat every time. I've used it for years and not once has it not responded.

Categories

Resources