FORUMS
Remove All Ads from XDA

[App][August 10/09] PowerOptions - Shutdown/Softreset/Standby/Dim Light/Screen Off

272 posts
Thanks Meter: 18
 
By TinTin, Recognized Developer on 5th August 2009, 03:59 AM
Post Reply Email Thread
PowerOptions v1.22 / MySoftReset v1.0 / MyShutdown v1.0 / MySuspend v1.1

SoftReset / Shutdown / Standby / Dim Light / Screen Off



PowerOptions Download Page


Seeing psShutXP did not work on my Topaz ( HTC Touch Diamond2 ) I created a new software for HTC devices to easily soft reset, shut down, turn off backlight and put the device into standby mode all from one little application written in native C++

A high priority was to use only "safe" functions, which will not harm the device. The shutdown method for one is the same HTC uses. On all newer HTC devices the shut down will be executed without the "Yes/No" prompting.







.
The functions:

SoftReset will soft reset (warm boot) the device using a safe method advised by msdn (microsoft developer network). There are quite a few ways to soft reset a device actually and some of them are said to be unsafe (like KernelIO method). This function will work on all Windows devices since PPC 2003 incl. WM5 and WM6


Shutdown will shut down the device using the same (HTC) method as if you'd press and hold the power on/off button for longer. On all HTC devices since the "Kaiser" the "Yes/No" dialog will be skipped and the device is shut down instantly. It will not work on non-HTC devices (will do no harm either however).


Standby will suspend the device using the same method as if you'd press and hold the power on/off button shortly. PowerOptions will exit afterwards. This function will work on all Windows devices since PPC 2003 incl. WM5 and WM6


Dim Light will turn off the backlight. PowerOptions will minimize but stay on the task list for you to switch back to full light more easily. This function will work on all HTC devices since PPC 2003 incl. WM5 and WM6- Other devices are unsure. It may or may not work (will do no harm either however).

Screen off will completely turn off the screen while WIFI, bluetooth, music etc. will still run.



.
Standalone versions (These are not required for PowerOptions to work, but intended for people that want 1-click access to soft reset or shut down their devices)


MySoftReset - Download and install MySoftReset.CAB or MySoftReset_No_Warning.CAB. The "No Warning" version will not ask a safety Yes/No question if you want to reboot or not.

MyShutdown - Download and install MyShutdown.CAB or MyShutdown_No_Warning_v1.1.CAB. The "No Warning" version will not ask a safety Yes/No question if you want to shut down the device or not. The "No Warning" version will work on all HTC devices since the "Kaiser", including all newer models like Topaz & Rhodium.

MySuspend - Download and install MySuspend_v1.1.CAB.



I would advise everyone to rather install the regular versions (MySoftReset.CAB and MyShutdown.CAB) instead of the "No Warning" ones, in case of accidental misclicks.

Please mention which device and ROM version you are using, when giving feedback. Thank you.

Visit my Blog if you like, it's in german however.


http://mytd2.blogspot.com

PowerOptions Download Page

.
Attached Files
File Type: cab MySoftReset.CAB - [Click for QR Code] (22.1 KB, 1668 views)
File Type: cab MyShutdown.CAB - [Click for QR Code] (22.1 KB, 1126 views)
File Type: cab MySuspend_v1.1.CAB - [Click for QR Code] (23.1 KB, 964 views)
File Type: cab MySoftReset_No_Warning.CAB - [Click for QR Code] (22.2 KB, 749 views)
File Type: cab MyShutdown_No_Warning_v1.1.CAB - [Click for QR Code] (22.7 KB, 869 views)
File Type: cab PowerOptions_v1.22_QVGA.CAB - [Click for QR Code] (206.8 KB, 1460 views)
File Type: cab PowerOptions_v1.22.CAB - [Click for QR Code] (206.8 KB, 2544 views)
The Following User Says Thank You to TinTin For This Useful Post: [ View ]
 
 
5th August 2009, 04:05 AM |#2  
OP Recognized Developer
Flag Hamburg
Thanks Meter: 18
 
More
Changelog
---------------

August 10 / 2009

PowerOptions v1.22
- fixed a problem where standby, dim light, screen off wouldn't work under certain circumstances

------------------------------------------------------------------------------------------------------------------------------------
August 8 / 2009

MyShutDown_No_Warning v.1.1
- calling internal HTC function now instead of PowerOffWarning to support a wider variety of HTC devices

PowerOptions v1.2
- added QVGA version
- calling internal HTC function now instead of PowerOffWarning on Shutdown to support a wider variety of HTC devices
- changed UI (black background)
- changed application icon

------------------------------------------------------------------------------------------------------------------------------------
August 7 / 2009

-added MySuspend v1.1 to the downloads
-new Screen Off button in PowerOptions v1.1
-minor change to PowerOptions to improve performance with PocketShield and S2U2
5th August 2009, 04:17 AM |#3  
OP Recognized Developer
Flag Hamburg
Thanks Meter: 18
 
More
FAQ

1. How can I set the long or short press power button trigger to start PowerOptions ?
See this post

2. I don't have a HTC device and Shutdown doesn't work, anything I can do?
Contact me via private mail - maybe we can work something out

3. Can I add any/all of the programs in this post to my own ROM ?
Yes, feel free to do so. Just give me credit by mentioning my website

4. I want to install the new version, do I have to uninstall the old first?
You can just install it over the old one, the new installation will uninstall the old one. You may uninstall it manually yourself too however, it doesn't matter which way.

5. Are you going to make this a skinnable app?
Will look into it, no ETA yet.

6. Are you going to add a timer to reboot the device at certain times?
Looking for best practice ways right now.



.
5th August 2009, 04:44 AM |#4  
oldsap's Avatar
Senior Member
Thanks Meter: 10
 
More
downloaded!
5th August 2009, 04:48 AM |#5  
OP Recognized Developer
Flag Hamburg
Thanks Meter: 18
 
More
Quote:
Originally Posted by oldsap

downloaded!

You're the first then, let me know what you think
5th August 2009, 07:10 AM |#6  
aDEO's Avatar
Senior Member
Flag Bruxelles
Thanks Meter: 10
 
More
Second then, but I am the first with feedback

Very nice and little application! Really good job you've done here!
Just something I have in mind, which will be the shining star of your PowerOptions: try to catch the long press power button trigger to run this app!

Best regards,
aDEO
5th August 2009, 07:25 AM |#7  
buzz83's Avatar
Senior Member
Flag Newcastle
Thanks Meter: 5
 
More
Third...
about to install now.

Looks great!

-----

Edit: Looks great. Love not being prompted when I want to soft reset.
Now I just have to replace ANX1 action screen.
5th August 2009, 07:43 AM |#8  
buzz83's Avatar
Senior Member
Flag Newcastle
Thanks Meter: 5
 
More
Quote:
Originally Posted by buzz83

Now I just have to replace ANX1 action screen.

App works great. Probably going to install the standalone ones and use with the Anx1 Action Screen.

Thanks!

-----

Standalone still has prompts. I like the idea of this app... probably just need to wait to the weekend so I can have a good play with it.
5th August 2009, 08:26 AM |#9  
OP Recognized Developer
Flag Hamburg
Thanks Meter: 18
 
More
Quote:
Originally Posted by buzz83


Standalone still has prompts. I like the idea of this app... probably just need to wait to the weekend so I can have a good play with it.

I assume you mean MyShutdown_No_Warning.CAB still has prompts for you? Which device are you running this on and which ROM?

No prompting should work for all HTC devices with MySoftReset_No_Warning.CAB, but with shut down it will most likely only work on WVGA devices.

I can probably make it work on other devices, but would need some help from people with other devices.

Thanks
5th August 2009, 08:35 AM |#10  
Junior Member
Thanks Meter: 0
 
More
Hi:
Can be possible make standalone versions for standby and screen off buttons?.
Thanks.
5th August 2009, 08:41 AM |#11  
OP Recognized Developer
Flag Hamburg
Thanks Meter: 18
 
More
Quote:
Originally Posted by aDEO

Second then, but I am the first with feedback

Very nice and little application! Really good job you've done here!
Just something I have in mind, which will be the shining star of your PowerOptions: try to catch the long press power button trigger to run this app!

TYVM!

To map the application to the long press power button trigger just copy PowerOptions.lnk from \Windows\Start Menu to \Windows folder and rename it to Long_Power.lnk.

And you guessed it, to map the application to the short press power button trigger just copy PowerOptions.lnk from \Windows\Start Menu to \Windows folder and rename it to Short_Power.lnk

To map any of the standalone versions to the short/long press power button trigger use their .lnk files and copy/rename them accordingly.

hth
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes