Hi all,
I really like the Nexus One, but think the power button is really hard to use while holding the phone in one hand, which I do all the time.
I was wondering if there was a way to create (for rooted phones at least) a widgets / icon you can put on your desktop that will power off the phone in one click (or two clicks, counting the confirm box). Same question with the reboot function.
If anyone feels like "coding" it, I will donate a few bucks for this app. Maybe I am not the only one.
It's right here: http://www.androlib.com/android.application.com-siriusapplications-quickboot-jDpx.aspx
- RasmusJV
Thanks a lot!
or you could just use gscript
no confirmation button though, well, not that i have been able to figure out but i have a reboot, and a recovery button from gscript.
Related
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
Was curious if any of you guys were working on, or know of a program that can act as a back button or menu button, on screen. My home row keys are taking a beating, and normally cause to much hand adjustment to use them.
Just a thought.
I was thinking maybe swype like actions for the back button, etc...
I've tried button saviour, but didn't like it too much.
Thanks for reading and replying.
"Softkeys for root users" might be what you're looking for.
Sent from my HTC Glacier using XDA App
Download Button Savior from the Market. Alot more friendly to the eyes and a heck of a lot easier to use than Softkeys. I use it on my Nook as well.
tried softkeys, wow, that is a difficult program to use, but looks great.
I will have to go back to button savior I guess, and make it work.
Thanks for the replies.
Hope this helps you.
lion766 said:
tried softkeys, wow, that is a difficult program to use, but looks great.
I will have to go back to button savior I guess, and make it work.
Thanks for the replies.
Click to expand...
Click to collapse
Its not hard to use. Its hard to configure properly.
When you install, hit the home button and choose softkeys as your default home. This will allow softkeys to intercept the home button call.
Then, in softkeys, program it so one push gives softkeys and 2 pushes gives you "home" (<--- specify which home app that you want softkeys to call upon double click)
I also put the back and menu buttons (on my Nook Color) in the notifications area to have easy access to them those as well.
Thanks! I just noticed I had a pm, and this is apparently where all the posts, I followed, made apparently get moved to!
I thought I was crazy.
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
Alright so running the leaked L build that our lord and savior @digitalhigh n ole' piratety Cap'n Throwback managed to get running on our devices but have one thing that is really bothering me. Screen. Off. My power button has for ages been messed up and weak to the click and well It's truly horrid to press and I used to always have 'hold back key to turn screen off' but well I don't anymore. Xposed is gone, my one true love...how can I replace her...how can I get over her beauty and learn to let her go and potentially even replace her?
My heart is with you Xposed!! But we must go our separate paths! - A very sad Shadow
( @Captain_Throwback lol )
Incase anyone managed to misunderstand my sad love story I'll skip to the point, is there any alternative ways to avoid pressing power button to turn screen off? For instance double tap status bar to sleep or holding back button to power off (both required Xposed 'I THINK', keyword "I THINK").
S1L3nTShaDoWz said:
Alright so running the leaked L build that our lord and savior @digitalhigh n ole' piratety Cap'n Throwback managed to get running on our devices but have one thing that is really bothering me. Screen. Off. My power button has for ages been messed up and weak to the click and well It's truly horrid to press and I used to always have 'hold back key to turn screen off' but well I don't anymore. Xposed is gone, my one true love...how can I replace her...how can I get over her beauty and learn to let her go and potentially even replace her?
My heart is with you Xposed!! But we must go our separate paths! - A very sad Shadow
( @Captain_Throwback lol )
Incase anyone managed to misunderstand my sad love story I'll skip to the point, is there any alternative ways to avoid pressing power button to turn screen off? For instance double tap status bar to sleep or holding back button to power off (both required Xposed 'I THINK', keyword "I THINK").
Click to expand...
Click to collapse
I ran 5.0 for a short time but ended up switching back to Sinless before I could check. On many devices going back to and including the T-Bolt (EDIT: I was searching for the same thing back then because of the same reason), I used an app from the play store called Screen Off and Lock and I personally use the donate version and always had it tied in with the "search" feature (either a physical button or drag up from the navbar without buttons). One (big) reason for me to switch back is not having Xposed.
bb1981 said:
I ran 5.0 for a short time but ended up switching back to Sinless before I could check. On many devices going back to and including the T-Bolt (EDIT: I was searching for the same thing back then because of the same reason), I used an app from the play store called Screen Off and Lock and I personally use the donate version and always had it tied in with the "search" feature (either a physical button or drag up from the navbar without buttons). One (big) reason for me to switch back is not having Xposed.
Click to expand...
Click to collapse
That app is good enough, as long as I don't have to press the power button xD. Thanks! I'll check out the donate version in a second as from the looks of it the free one only has the option of tapping the icon to turn screen off but oh well.
EDIT: NVM
For anyone else who sees this thread feel free to leave more options if you have any! More options the better.
No problem and I couldn't remember the difference between the versions. EDIT: There should be 2 different icons in the launcher, one being the app itself to turn the screen off (?) and one just for the configuration unless it's set up differently on the free one.
Hello all,
Recently the power button on my Nexus 5 has been acting really weird. Sometimes it works flawlessly, others it requires pressing it really hard to work. In order to prevent it to stop working indefinetely, I am looking for a way to remap my volume-up button so it can work as a power button. I don't need it to turn my phone on or to work in the recovery mode (from what I read, it seems to be impossible), only when Android is running.
I've already tried some workarounds:
1) Volume Unlock Power Button Fix app: I tried it, but it just allowed me to turn on my phone with volume but not turning off. Also, it drains a LOT of power.
2) Buttonremapper app: It would theoretically do exactly what I wanted, but did not work at all.
3) Editing generic.kl: I tried switching volume-up and power buttons codes in generic.kl, but also did not work. Maybe I need to modify another file?
3) Xposed Framework + Additions: The installation of Xposed went Ok, but after installing Additions module I got stucked in bootloop. I am running Android 5.1 stock, maybe this module is not yet compatible.
So, can anyone help me? Do I need to install a custom ROM?
PS: I live outside US, so no warranty for me. Otherwise I would just use it
Thanks in advance for any help!
Cheers,
Humberto
Hi folks,
Just a heads up for anyone who might be facing the same issue. I decided to change from stock to Cataclysm ROM due to some specific features (listed below). After the installation, here's what I did to work around this problem:
1) Enabled "Volume wake" and "Sleep button on status bar" in "Cataclysm Settings / Miscellaneous".
2) Enabled "Swipe to sleep" and resized NavBar to 115% in "Cataclysm Settings / Navigation bar options". -> This way I can swipe in NavBar at any time (except lockscreen) to turn off screen. I raised it a little to facilitate the swipe gesture.
3) Changed Lockscreen Dialer shortcut to ""Turn off Screen" app shortcut (just search for it in the play store) in "Cataclysm Settings / Lockscreen options" -> This allows me to just swipe right and turn off the screen when my security settings are disabled (which accounts for most of the time). I found it way faster than pressing sleep button in status bar, especially when I'm driving and I can't look at the screen. Plus, I don't really use the dialer function of my phone so often since the invention of Whatsapp ;P
I realize this is not the perfect solution, but I don't see a better way to deal with this power button malfunction problem (except from a hardware fix).
Hope this helps!
Cheers,
Humberto
PS: I am really enjoying Cataclysm. It's a very nice ROM, completely stable and with a lot of other interesting features aside from the ones mentioned above. I strongly encourage anyone to give it a try!
I'm facing the exact same problem but I really need to eliminate the power button or I will need a power button fix soon.
The solutions you found hthiengo are good if not needing to turn off (or worst: running out of battery, something that happens me sometimes). I'm in the situation that next time I hit power button I will need to replace the button, or throw the nexus away
I did installed the xposed additions for lollipop but it is not working, and the Cataclysm trick is not enough in this case
Ok, after some research I've found a temporary solution:
For the power button you can remap modifying the file gpio-keys.kl under system/usr/keylaout (i wonder why anyone could figure out thise before, no that difficult). I would like to map power button leeaving it useless but I've found it impossible to remap the power button (probably because the key number is not 116). I would have liked to see xposed additions to help me map the keys but is not functional at least for me.
If the phone runs out of battery I've found that if I plug the power cable by pressing both volume buttons at the same time, eventually it starts up with the bootloader so I can plug the pc cable and it will reboot sucessfully.
So despite the phone know is pretty disfunctional (not the best phone for a hurry without battery), I can still use it for some weeks before I plan buying a new one or something (or I find a place for reparing). Its a shame I could not find a better solution for example, ADT when powered off so I could just reboot it by using ADT reboot command while powered off.
And It would be really amazing if the volume up button could also power it on from the powered off state.
In my case the power button is broken, but sometimes it gets stuck and puts the phone in a reboot loop: To avoid pressing the power button accidentally I've made a hole in the protective case so its pretty difficult to access it.
That's all for now. If anyone can make it better I will be glad to hear him/her