MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.
Sign in to follow this  
Followers 0

Power-Off Software

13 posts in this topic

Posted (edited) · Report post

Hi Guys,

i've been looking at adding a soft power off button & (as you do) i've been looking at xda to download something

i've found one i like... a very natty looking, skinable UI by a chap Called Dave Shaw (attached)

trouble is although the sleep / restart buttons work great, the shut down button doesn't work !!!

i had a look in the registry, but i can't see an easy fix....

anyone got any ideas?

Cheers

Adam

xdaShutdown_1.01___WVGA.cab

Edited by adzman808
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Adam,

There is an app in the \windows directory called gwes.exe

If you create a shortcut to this and place on the desktop then you can Shutdown with one press. Alternatively if running Mobile Shell, place the initial shortcut in ..\windows\Start Menu folder then you will be able to create a secondary one in Mobile Shell to complement the built-in Widget for Soft Reset.

If David Shaw can create a modified version of his app with that as the target file from his Shutdown button, the XDAShutdown should work absoluetly fine on the TG01. I thin is simply that on HTC devices there is a differently named .exe doing the same job.

Out of interest, SBSH iLauncher has these functions built in to its 'task manager' including a proper 'close' button in place of the usual winmo version which simply minimises. That works OK on both old Pocket PC devices and the TG01 so I suspect can access a lower code level rather than targetting specific .exe files like this.

>> EDIT: This does work - but apparently only some of the time. Evidently needs a bit more refinement to be 100%, but is clearly in the right direction. I have also mailed the original developer of iLauncher to ask if he can clarify what 'hooks' he used into the operating system. <<

Regards,

Kevin

Edited by kevinpwhite
0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi Kevin,

cheers - i tried it, but tbh i'm sure if its shutting down or crashing as it doesn't shut down as such, its like just taking the battery out!!

in the registry there's this... what do you reckon, shortcut reading something like = gwes.exe -withaswitch (see below)

[HKEY_LOCAL_MACHINE\Software\Toshiba\PowerOff]

"ShutDownScreenDLL"="ScreenAnimation.dll"

"LowBatter Command Line"="Toshiba-PowerOff-LowBatter"

"Normal Command Line"="Toshiba-PowerOff-Normal"

"Process Name"="\\Windows\\PowerOffHint.exe"

"Enable PowerOff"=dword:00000001

cheers

Adam

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Hi Kevin,

cheers - i tried it, but tbh i'm sure if its shutting down or crashing as it doesn't shut down as such, its like just taking the battery out!!

Adam,

I think I have now solved properly. It is the files we were looking at (power-off hint.exe and gwes.exe), but it requires a shortcut to the first with the other specified as an argument. That works, but leaves an ugly icon; I have used SK Shortcut Mgr to reassign the gwes.exe icon so now seems to be OK.

Can you check the attached shortcut and see if it works OK for you please ? If you place the shortcut in \windows\startup\ and then access from eg SPB MS it should display correctly with the red circle and white cross symbol.

Action is identical to the sequence when you press the physical power button to shutdown (including the unwanted activation of the SPB MS dialogue box).

Regards,

Kevin

Power_Off.zip

Edited by kevinpwhite
0

Share this post


Link to post
Share on other sites

Posted · Report post

Adam,

I think I have now solved properly. It is the files we were looking at (power-off hint.exe and gwes.exe), but it requires a shortcut to the first with the other specified as an argument. That works, but leaves an ugly icon; I have used SK Shortcut Mgr to reassign the gwes.exe icon so now seems to be OK.

Can you check the attached shortcut and see if it works OK for you please ? If you place the shortcut in \windows\startup\ and then access from eg SPB MS it should display correctly with the red circle and white cross symbol.

Action is identical to the sequence when you press the physical power button to shutdown (including the unwanted activation of the SPB MS dialogue box).

Regards,

Kevin

cheers Kevin

thats brilliant & it works great.

i had to put it in \win\strt menu\progs to dispaly where i wanted, but the icon display is exactly as you described & fits in well with the other icons...

obviously i was curious how you managed this, so i had a look at your shortcut

can i ask (what's probably) a (stupid) question?

in your shortcut

61#\Windows\PowerOffHint.exe gwes.exe?\Storage Card\gwes.exe,-16

why does it need the

"Storage Card\gwes.exe,-16"

storage card part?

cheers & thanks again that's great

Adam

0

Share this post


Link to post
Share on other sites

Posted · Report post

cheers Kevin

thats brilliant & it works great.

i had to put it in \win\strt menu\progs to dispaly where i wanted, but the icon display is exactly as you described & fits in well with the other icons...

obviously i was curious how you managed this, so i had a look at your shortcut

can i ask (what's probably) a (stupid) question?

in your shortcut

61#\Windows\PowerOffHint.exe gwes.exe?\Storage Card\gwes.exe,-16

why does it need the

"Storage Card\gwes.exe,-16"

storage card part?

cheers & thanks again that's great

Adam

Adam,

Good question - not daft at all ;) I just experimented last night and hit on the idea that one app was 'calling' the other, so I tried initially editing the existing shortcut I had to PowerOffHint.exe by adding gwes.exe as an argument. And it worked !

The next step was to use SK Shortcut Manager to re-assign the icon from gwes.exe in the ..\windows\ directory to the shortcut in place of the native one like three kiddies wooden bricks.

Just now I'm not quite certain why it is showing Storage Card as a path, but the \gwes.exe,-16 bit is telling it the correct Icon to incorporate - I need to have another closer look and check. Might need to tweak the shortcut again, but I'm pleased to have found a 'proper' solution.

Best regards,

Kevin

0

Share this post


Link to post
Share on other sites

Posted · Report post

well on the 1 hand if aint broke...

but i just tried deleting the

storagecard\

part of the shortcut and it still works ;)

thanks again - very happy with that

PS whats the 61# for?

cheers

adam

0

Share this post


Link to post
Share on other sites

Posted · Report post

PS whats the 61# for?

I think that every Shortcut on the device has a unique ID and that is where the 61# comes in. Both that and the additonal string containing the replacement Icon source were instered automatically by SK Shortcut Mgr. Somewhere I used to have a tutorial on the finer points of Shortcut syntax - if I can find it again I'll post it for reference.

Regards,

Kevin

0

Share this post


Link to post
Share on other sites

Posted · Report post

ah i see...

i don't run SK or anything - i just use a combo of blind luck, mis-placed faith in my own abilities & the excellent advice i get from this forum !!

i'd be interested to read the short-cut syntax stuff...

thanks yet again ;)

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

ah i see...

i don't run SK or anything - i just use a combo of blind luck, mis-placed faith in my own abilities & the excellent advice i get from this forum !!

i'd be interested to read the short-cut syntax stuff...

thanks yet again ;)

Adam,

I've unearthed the references I was thinking of - it's back into the mists of PPC2002 ! Still in place on the Microsoft pages - all sorts of stuff which is still relevant... the second article shows examples of similar strings to that we've been playing with, including the ID# at the beginning.

Creating Shortcutt to Your Apps and Files

Creating Shortcuts to Feature Settings

I've also attached a file with a whole stack of shortcuts included which can be used as the basis for adaptaion - including various Control Panel applets. Not sure how these will work under WinMo 6.5 compared to ealier OSs, but maybe worth a look.

Regards,

Kevin

LinksToSystemAndMyCPLs.zip

Edited by kevinpwhite
0

Share this post


Link to post
Share on other sites

Posted · Report post

Just a small piece of additional information around this area.... it appears that the gwes.exe application is a system processe whic controls the device's touch screen / hardware interface. This accounts for the sudden 'stop' effect rather than controlled closedown when experimenting to figure how to replicate the hardware Power button effect with a software button...

Regards,

Kevin

0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks for all the hints, here... if you simply want to shutdown the phone, with no prompts, make a link like this:

52#\Windows\PowerOffHint.exe Toshiba-PowerOff-LowBatter

When you run that link, it just shuts down. What I wanted!

Thanks, all

0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks for all the hints, here... if you simply want to shutdown the phone, with no prompts, make a link like this:

52#\Windows\PowerOffHint.exe Toshiba-PowerOff-LowBatter

When you run that link, it just shuts down. What I wanted!

Thanks, all

Thanks for this valuable hint.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.