Introdution:
This small app will help you out when you have a bunch of cab files to install after flashing the new rom.
How to use:
1. Select or input a directory that contains a bunch of cab files.
2. Generate the list file that is [INSERT SELECTED DIRECTORY]\batch-list.txt. You can manually edit this file to select which to install.
3. Batch install. It will promot you if you really want to install that file.
Problems:
1. The small utility can not silently install cab files.
Todo:
1. More UI friendly to select the files.
Note:
I am rather new at windows mobile programming. I have learned it from scratch. The whole program uses pure C and winapi, no managed code, no MFC/ATL.
Acknowledge:
Thanks legedug for packaging the cab file.
Copyleft:
The source code is available, anyone can modify it and redistribute it. But you should contain at least a piece of my name in it and should distribute with full source code.
reserved for future.
Or no future.
thank you very much for this tool
Will try it! This will be super good as my P3600i constantly needs a hard reset due to all available roms are for P3600. I'll let you know how this go! Thanks
This will differentiate itself from other similar programs (TierAutoinstall) if it can popup when dialogs are displayed after installs on some cabs.
Tested. I really like it!
No bug so far and here are my findings and suggestions:
1. Yes we need silent installation
2. Pick a directory: this need to pick up sub-directories. My cabs saved in "Storage Card/PDA SW/Common". It won't pick up cab file in "Common" directory.
3. Some cab files require restart - If I choose restart now, it won't resume batch install. (I can choose not to restart now to by-pass it)
jackkkkk said:
Tested. I really like it!
No bug so far and here are my findings and suggestions:
1. Yes we need silent installation
2. Pick a directory: this need to pick up sub-directories. My cabs saved in "Storage Card/PDA SW/Common". It won't pick up cab file in "Common" directory.
3. Some cab files require restart - If I choose restart now, it won't resume batch install. (I can choose not to restart now to by-pass it)
Click to expand...
Click to collapse
Ok, you can manually input the directory. I do not know how to invoke folder selection dialog. If anyone know , please help me.
Nice!! Wish I would have seen it a couple of hours ago before I reflashed for WM 6.1
stanglifemike said:
Nice!! Wish I would have seen it a couple of hours ago before I reflashed for WM 6.1
Click to expand...
Click to collapse
You can try it next time
helloworld1 - this app is shining jewel in dull xdadev world.
kudos.
just improve it a bit(exit option, folder select dialog..)
nothin said:
helloworld1 - this app is shining jewel in dull xdadev world.
kudos.
just improve it a bit(exit option, folder select dialog..)
Click to expand...
Click to collapse
Thanks for your kudos. I will continue develop this little app making it better and easier to use.
First trying, put on \Storage Card\Program Files\CabbatchInstall and make it shortcut to \windows\Start Menu\Programs; it works
So I make it on cab file to put the programs such as above:
legedug said:
First trying, put on \Storage Card\Program Files\CabbatchInstall and make it shortcut to \windows\Start Menu\Programs; it works
So I make it on cab file to put the programs such as above:
Click to expand...
Click to collapse
Ok, thanks ,I will cab it next time.
I would welcome if this would install silently...otherwise its great because its so simple - no hassle like with sashimi, which is great, but too much work for the first time!
thanks man, this is actually exactly what i needed
im actually gonna flash today so I will your app a run and see how it works
however I have seen other tools like this or there about here on xda which use a combination of code and mort script for the silent install part
quick feedback ..the exit function don't work
absorber786 said:
im actually gonna flash today so I will your app a run and see how it works
however I have seen other tools like this or there about here on xda which use a combination of code and mort script for the silent install part
quick feedback ..the exit function don't work
Click to expand...
Click to collapse
Yes, I forget to add it. There is a big OK button to do that.
I fail to make upgrade recently because I don't have visual studio 2008 as in the lab before.
This one is written in pure C. So It can run without any additions.
laser21 said:
I would welcome if this would install silently...otherwise its great because its so simple - no hassle like with sashimi, which is great, but too much work for the first time!
Click to expand...
Click to collapse
It can not install things very silently. Because you have to select where to install.
My ambition plan is to parse the XML manually and let it really silent.
Now I don't have a Windows OS and Visual Studio. I will delay upgrade this software.
I have released the source, it is welcome for anyone to help.
Ok so i have tried it a couple of times..and after using the tool from v3patel(see my sig) im sorry.....
v3patel's is mortscript; quick and already allows for a silent install. However, my suggestion fro you to get the silent install working is to have a look at the command he uses in his script and see you can replicate it for your tool....
If it works, i will be more than to hard-reset my device to test...(and it better work lol)
helloworld1
excuse me;
can this be used to install all ones cab file apps etc, after a system hard reset if all cabs are say kept in a pacific folder for that purpose.
thanks
Related
Wazzzzzzzzaaa???
This is my first C# util!
It facilitates ExtRom update process. All you need to do is to put your cab files to Ext and run this utility, then the utility will create Config.txt at Ext with all cabs specified as "CAB: path2cab". If you need to get your original Config, then check ConfigOld at Ext
C# Programmers let's unite!!! ))
ps: the utility is not verbose one, so you won't see any messages & lame stuff. If you see something, then there is a problem
that's good boy! will try it l8r..
THANKS!
Man, wher z feedback?? Did u try it?
Yo,
boobee said:
that's good boy! will try it l8r..
THANKS!
Click to expand...
Click to collapse
Boy, hope you finaally tried it! And try this one also. This is my 2nd C# util
Shortly what it does:
UnZips your files with consecutive registry values (reg V4) import and splash writing
It means that you can zip all your files to one file called Setup.zip and place it anywhere (storage/ext). After hard reset, the utility is called and it extracts all your files and restores your favorite registry settings (saved to Setup.reg) and writes your splash.
btw: read za manual !
ps: the concept is the same, if u see somethin' then there is a trouble
Re: Man, wher z feedback?? Did u try it?
Attention!
The file was re-uploaded, so there mustn't be any CRC errors now
System Requirements
Regarding system requirements, the program needs old version of ER\Autorun.exe that understands ER\Config.txt
Program was not tested on XDA1! It was partially tested (w/o hard-resets on XDA2 / 1.72TM
Version 1.1
Wazzza!
Here is a new version of Restorator utility. The new features are:
+ now it deletes content of \My Documents;\Windows\Start Menu;\Windows\Startup folders (as people wanted
+ TimeZone offset is not resetted anymore
Note:
Make sure you have prepared your customized Start Menu (!!!) and Startup (!!!) folders, otherwise you won't be able to see Programs after hard-resetting your device. Please, check the attached sample to prevent yourself from having problems with this utility or use version 1.0 that don't delete anything
Umm... could anyone translate this into English for me?
I don't even understand the title of the thread.
In another thread, SP says that one of these downloads will retrieve data back on hard resets. Sounds like a useful tool, if only I understood what the hell these posts mean. :lol:
For Ben
sublimatica said:
Umm... could anyone translate this into English for me?
Click to expand...
Click to collapse
Here we go...
(assuming that you downloaded 'RestoreItV1_1_PPC.ARMV4.CAB' & installed it to your device)
This program is designed to restore your files, folders and registry settings from a ZIP-format archive and it can also write some splash screens
For this purpose, you need to make a ZIP-format archive with files & folders you want to get restored after hard-reset. Just run your favorite pocket zip archiver (for instance PocketRAR) and archive those files & folders that you want to see after hard-resetting device. Name your archive "Setup.zip" and place it to one of the following places: storage, storage card or extended rom.
Before doing further instruction make sure you have unlocked your ExtendedROM using ExtUnlocker.
If your rom is unlocked try to run the utility from \Storage\RestoreIt. If you had no messages after running it, then the utility installed itself successively. And your files & folders placed to 'Setup.zip' will be restored on next hard-resets.
If you're interested in restoring registry settings, then you need to get pocket registry editors that support exporting/saving to .reg files. After saving your favorite registry settings you will need to combine them to one .reg file and name it 'Setup.reg'. Then, you will need to place it to your archive's root folder (aka '\') So, you will have a file 'Setup.reg' placed to the root folder of your 'Setup.zip'. That's all folks
I strongly recommend you to see sample 'setup.zip' & 'manual.txt'
DON'T FORGET TO PUT YOUR CURRENT '\WINDOWS\STARTUP' & '\WINDOWS\START MENU' FOLDERS TO YOUR SETUP.ZIP!!!
You're welcome to ask me questions anytime!
Aaah, OK. That makes more sense
Sounds like a handy little tool then. Might have a play later.
Thanks, SP!
RAR-support
Is there anyone who is interested in rar-support for restorator?
Attention: Restorator v1.0 & 1.1
Attention: Restorator v1.0 & 1.1 are originally supported by I-Mate 1.72! All you need to do here is to use Extended ROM unlocker prior to running the utility
Feedback
Any feedback so far?
SP,
Restorator seems like a winner!!! I have been hitting my head on the rocks for a while trying to script a recovery using nscriptm as a scripting tool to call cab files which I keep on a storage card. Looks like using your tool a lot of the tedious scripting can be simplified by simply copying the files where they need to go. The challenge is knowing exactly what to copy & where... Is it possible to add the ability to call CAB files to your already excellent utility?
I am imagining putting all the CAB files in say a folder like \CABs in the Setup.zip and then having Restorator calling them one by one after finishing off with all else that it does. Can this be done? Additionally can you add ability to call registry imports at two points? You may wish to call registry import at the beginning and once more at the end after all cab file execution has been completed. This would be useful to restore application settings etc which the cab execution would overwrite to default. You would obviously need to keep two .reg files in the zip file. Does this make sense?
Thanks once again for all your efforts. Regards
Hi Mate
k_kirk said:
SP,
Thanks once again for all your efforts. Regards
Click to expand...
Click to collapse
Thanks for your motivating feedback.
I'm planning to put your features in 3 to 5 days...(hope to get some free time on these days).
And more ideas and recommendations are welcome!!!
SP
SP, thanks for continuing to work on this utility. I am waiting eagerly for your next update. I will set it up and test it with a hard reset so we can see real outcome. Let me know when ready please. Thanks
Re: Hi Mate
SP said:
k_kirk said:
SP,
Thanks once again for all your efforts. Regards
Click to expand...
Click to collapse
Thanks for your motivating feedback.
I'm planning to put your features in 3 to 5 days...(hope to get some free time on these days).
And more ideas and recommendations are welcome!!!
SP
Click to expand...
Click to collapse
Hi SP, this utility sounds great. Does it work with the XDA I as well????
Re: Hi Mate
Hi SP, this utility sounds great. Does it work with the XDA I as well????
Click to expand...
Click to collapse
Unfortunately I don't have an XDA 1 device at my disposal and I'm unfamiliar with its tech info.
What happens when your xda1 is hard resetted? Does it install cab files? or does it run any configuration software?
If there is a such software (on XDA2 it is autorun.exe placed at ExtendedROM), then you must specify in the runner (which starts on hard-resets) the call to the restorator utility
Looking forward to assist you in porting restorator for XDA1 devices
Cheers
Hi SP. Just dropping by. Any news on new version of Restorator? Cheers.
Restorator V1.2
k_kirk said:
Hi SP. Just dropping by. Any news on new version of Restorator? Cheers.
Click to expand...
Click to collapse
Sorry for the delay...
I'm having lack of time now, thus I couldn't test it very well . Just let me know if you found some bugs...
Now you can create "\CABS" folder and place your cabs there. They will be processed after extraction and before registry import. So, you don't need to have two .reg files then.
I'm looking forward to your new ideas!
ps: another attachment is a set of registry settings splitted by .reg files. I'm using them to get my setup.reg. Just change what you need, delete some of them and run "make.bat". It will create setup.reg with all your settings.
btw, check out "Usher_-_Yeah_[44k].wma" & "Maroon5_-_This_Love_[64k].wma". Home-made ringtones ;-)))
for those who hadn't used Restorator before. !!! DON'T FORGET TO PUT YOUR "START MENU" & "STARTUP" FOLDERS TO THE SETUP.ZIP !!! AND READ DA MANUAL!!!
Cheers
SP,
I tried the Restore-It utility today and found that the earlier functionality of copying files & importing registry etc from setup.zip works quite well.
The \CABS folder was also restored onto my device so I guess thats an indication that my setup.zip file was contructed properly. I am sad to report that none of my cab files were triggered by Restore-It though. I think there is a small bug thats holding back this behaviour.
Your kind assistance to check & correct this will be most appreciated.
Thanks & Best Regards
Got some files in a CAB I want to install on a number of units. I would "like" to create an installer that I just double-click on desktop & it installs via ActiveSync - simple. But I'm not a programmer - what would be the best way to do this? Prefer not to copy via explorer & click the CAB on the XDA unit & others may be doing this, so trying to keep it simple. Ideas/recommendations?
I brought Natural Installer a few years back and it has been the business. It is very simple to use, all with a windows interface and creates a single exe as you say that you just double click on to install.
Have a look here :-
http://naturalinstaller.com/
The site does not mention 2003, have you had any problems with that?
Can you define install location? SD Card
How does it deal with chaty cabs (those that want input).
I've had no problems with PPC2003, why don't you download the trial version and give it a go. Post a reply on this thread as to how it works.
As for chaty cabs I think you can make your own setup.dll but I don't know how to and have never done that.
All I wanted was a basic setup that could make directorys, copy files and set some default registry keys as needed, I found that Natural Installer did that very well. As for more advanced stuff I don't know - but as written trial it.
Well I downloaded it and played with it.
For me it seems to be a WinCabManager type appliction.
Yes you can copy files, set reg entries, make dirs, add icons.
All of this seems doable.
What I was hoping for was a selfextracting file that installs a few cabs and not the content of them.
With the BlueAngel you can set up a autorun that runs a list of cabs in the config.txt file. However for this you need to hack the reg to set the pointer for the autorun and config.txt.
I was hoping that this would be more down the lines of cabinstaller that allows you to define which cab you want were but alas does not allow you to define a list of what cabs you want in what location.
So problem for me not solved but thanks for the tip.
Hi Dave
Personally I use NSIS (Nullsoft Installer) - it is basically a very customisable installer which can be scripted to look like any other installer in existance, or you can make it look totally unique to you!
Another great thing about it is that you can make it install multiple cab files at the same time (it's just a case of calling ActiveSync with the cab file you want to install).
Best of all... it's free
Pope <><
Welcome To SWAMPY395's
Cooking Class
For
Blue Angel and Himalaya
Devices
Lesson 1 Cooking My Way
This is a practical course in cooking, I’m not going to teach you all the theory etc.
Just some things that work, and point you to the info you require to learn for yourself.
Key to all lessons (Abbreviations I will be using) co’s I’m lazy
(LC) = Left click of mouse
(RC) = Right click of mouse
(P) = Properties: example (RC)(P) - Select Properties from popup menu
(DC) = Double Left click
(DEL) = Delete: example - FILENAME.* (RC)(DEL) would mean / right click file and delete it
(CPY) = copy
(PST) =Paste and replace old if applicable
(MD) = Make a Directory
(ROOT) = Kitchen_HIMA_0.1.2 or Kitchen_BA_0.1.2 Folder etc
(KF) = Swampy395_HIMA_ROM_ReCooker_0.1.0 or Swampy395_BA_ROM_ReCooker_0.1.0 Folder etc
End for key
Exercise:1
Download and install the My ReCooker tool for your type of device
i.e.: BA = Blue Angel. HI or Hima = Himalaya . If you already have a recooker you can download the applicable upgrade and install it
Download here:
Download Base ROM
I have recooked both these roms and these lessons will be based on these “ONLY” so IF you decide to use some other ROM, !! don’t ask me questions, Your on your OWN.
BA: explode 19209 http://forum.xda-developers.com/showthread.php?t=382909
Hima: PDAVIET 19213 http://forum.xda-developers.com/showthread.php?t=394096
Follow instructions with recooker and build the test ROM with my custom images just (cpy)(pst) the 3 images into dump folder before step (5).
“HIMA Users ONLY Remove the following files from dump folder before step (5).”
( TaskMgr2.exe, TaskManager2.lnk, Suspend PPC.lnk, Reset PPC.lnk, RegEdit.lnk )
Don’t use step (6.) Go straight to step (7) Then (x) exit recooker put device in boot loader, Cradle it and flash rom to your device, your New ROM is in the upgrade folder with upgrade tools ready to install, Flash it and Check for my boot Screen, Then set today theme to windows default should be swampy395 image, Yes! Congratulations you Just ReCooked your first ROM. Now test wifi, Ir, BT, Phone, SMS, etc. If you find something wrong Then you missed something Start ReCooker Choose (1) then (R ) from second menu and start again! You must complete this to have a working kitchen
P.S. you should both have receiving problem with Bluetooth we’ll fix that in lesson 2
Exercise:2
Follow the links below and read carefully, Pay attention to:
1. Package tool, Download it and learn how to use IT
2. Read about Editing initflashfiles.dat make sure you understand what it does we will be editing this in lesson 2
3. Have a look at bottom of the web page there’s lots of links to OEM Packages download some and browse them Don’t worry about what devise there for infract download the same things for different devises and compare them . Remember none of these were intended for our devises but were using them ??
http://wiki.xda-developers.com/index.php?pagename=OEM Package Tutorial
Throughout this Class I will provide *.cab files for using in the lessons that way I know that they should work, and what! you’ve got on screen, These roms may not be your choice, But IT’S My Class Room, At the end of these Lessons you should be able to:
EDIT registry flies
EDIT initflashfiles.dat A very useful file indeed, You will LOVE what this can do for you!
And be able to choose the correct files to install first time, IF your Good !!
Exercise:3
Download lesson1.rar
Unpack
Install the TaskMgrTotalCommander.cab file, look in programs “Tools” should look like image “A” Now (MD) “TaskManager” in My Device\Program Files\ and move TaskMgr2.exe to “TaskManager” and soft reset your device, Now “Tools” should look like image “B” Yes the Links don’t work now and the icon images are blank. Use Total Commander to Edit the Links and repair them, then copy them from your device and the TaskMgr2.exe to the dump folder ready Lesson 2
Hint: The .exe was in windows!!
Download BlueAngel Recooker http://www.4shared.com/file/52947001/b6da621f/Kitchen_BA_012.html
Download Himalaya ReCooker http://www.4shared.com/file/52947867/7f03114/Kitchen_HIMA_012.html
P.S. Guys and Girls Ather90 is also running a Cooking Lesson on Hima forum With very good info I recommend reading it
http://forum.xda-developers.com/showthread.php?t=402223
Reserved Lesson2
Reserved Lesson3
Reserved Lesson4
Reserved Lesson5
Reserved Lesson6
Reserved Lesson7
Reserved Lesson8
Reserved Lesson9
Reserved Lesson10
Great TUTorial......
nokser said:
Great TUTorial......
Click to expand...
Click to collapse
Not compaired to what you'v done mate this was just a get e'm started, But now too many rom's are locked and don't decompile
when I joined this site in 2006 people were more generous,
now it's donate,donate, I still make my rom so people can recook them with my tools, there basic but work
I was working on a 6.5 for hima but had the big DON'T from m$ over my diamond rom so it's on hold a the mo will wait till things cool down
thanks
regards
swampy395
Hey swampy how you been?
I tried yesterday your recook kitchen... new upgrade version 1.2... but I have an issue after the step when you can mod the initflashfiles... and use that third party app... I cant remember the name the app that coverts unicode - ansi you know...
The kitchen freeze after that I choose save and then close the app hit enter to continue and nothing happens but something change on my system... my multimedia files like video avi wmv (flv is good); music mp3 and wma; TXT and reg files seems to loose its asociation to the respective players and programs... cause when I click twice over any of them... the IE7 launch itself and launching again many many windows and the task manager cant handle it to close them... I cant figured out how to fix this and why this happens so...
I ask you if you have an answer...
Do I need to format my PC?
Im uploading an example of how my machine sees in youtube but is uploading... wait for the uploading process.
thanks men
+ Que PPC said:
I tried yesterday your recook kitchen... new upgrade version 1.2... but I have an issue after the step when you can mod the initflashfiles... and use that third party app... I cant remember the name the app that coverts unicode - ansi you know...
The kitchen freeze after that I choose save and then close the app hit enter to continue and nothing happens but something change on my system... my multimedia files like video avi wmv (flv is good); music mp3 and wma; TXT and reg files seems to loose its asociation to the respective players and programs... cause when I click twice over any of them... the IE7 launch itself and launching again many many windows and the task manager cant handle it to close them... I cant figured out how to fix this and why this happens so...
I ask you if you have an answer...
Do I need to format my PC?
Im uploading an example of how my machine sees in youtube but is uploading... wait for the uploading process.
thanks men
Click to expand...
Click to collapse
look on your task bar bottom right and you'll find editpad4 is still running look in settings in edit pad and uncheck task bar option then it will close and the batch file will move on to next step
regards
swampy395
Yes the pad was runing!
Yes it remains runing on the background minimized there... so if i change the settings and disable the runing on the task bar minimized my asociations would back at the normal job?
+ Que PPC said:
Yes it remains runing on the background minimized there... so if i change the settings and disable the runing on the task bar minimized my asociations would back at the normal job?
Click to expand...
Click to collapse
yes it must be "closed" for batch file to continue.
yes the cmd but my file asociations?
Well the cmd batch for kitchen will continue but the file asociation will be repaired? if the kitchen finish by itself?
+ Que PPC said:
Well the cmd batch for kitchen will continue but the file asociation will be repaired? if the kitchen finish by itself?
Click to expand...
Click to collapse
file asociation on ppc or PC? the kitchen will not change things on it's own only you change thing useing the kitchen so I can't say but if some thing in the kitchen has got corrupted The best thing to do is start again run bat file select 1) then 1) in next menu clean, then run 1) again and past your nk.nbf and so on
YEP!!!
On my PC... even if I choose "open with..." then select windows media player... then "Always use this progran for this kind of file" then open... it opens the IE7 and goes crazy the video file uploading is so slow... what da... jejej i will edit add the link this can helps to understands it... yes I restart the kitchen and guess what it can't open now the HKCU.reg in the step user.hv and closes by itself... i think cause the asociation gets corrupt the kitchen cant do it... and yes i have install the reg workshop as you said...
Hope it works fine next time... I hate... format my PC cause i need to backup in DVD my data...
+ Que PPC said:
On my PC... even if I choose "open with..." then select windows media player... then "Always use this progran for this kind of file" then open... it opens the IE7 and goes crazy the video file uploading is so slow... what da... jejej i will edit add the link this can helps to understands it... yes I restart the kitchen and guess what it can open now the HKCU.reg and closes by itself... i think cause the asociation gets corrupt the kitchen cant do it... and yes i have install the reg workshop as you said...
Hope it works fine next time... I hate... format my PC cause i need to backup in DVD my data...
Click to expand...
Click to collapse
Sorry mate don't know what could have hapened to your pc but the kitchen only works on ppc rom's the batch file can only access the folder's below it, IE: inside the kitchen folder that the bat file was launched in, so i doubt it was the kitchen that caused your problem, But my son had some problems with IE7 and found all was OK after uninstalling it so before you go formating your pc insert your windows disk and choose repair
Orig title:How Do I Remap Power To An App On My Mogul
I want to replace my long press power button application with psshutxp. I tried to edit the registry, rename the link to long_press etc..., map key 00EC and nothing.. Need help...
I did download aebplus but it fights with the default shutdown app..
i'm running WM6.1 on my sprint mogul
Eazy
http://forum.xda-developers.com/showthread.php?t=398571
NotLutzik said:
http://forum.xda-developers.com/showthread.php?t=398571
Click to expand...
Click to collapse
Don’t do that to me.. Because I do contribute when I can.. and I actually have a fix.......
If you didn’t know you could have posted that.. Well here it is..
You need to do two things..
1. Save and zip the file called “PowerOffWarning.exe” from the windows directory
2. Go to the directory that has your psshutxp executable in it and rename the psshutxp.exe to PowerOffWarning.exe.
3. Zip the new “PowerOffWarning.exe” and skin files into a zip file.
4. Execute the zip file and overwrite the “PowerOffWarning.exe” file in the windows directory.
5. Press and hold your power button and enjoy your new shutdown/reset/screen off options.
NOTE: the only reason I choose to do it on long press is because I sometimes quickly want to turn off my screen when putting the phone back into the case. I don’t want to worry or wait for the app to come up and choose an option.
I have attached the two files and they came from a Mogul running WM6.1. If you use these files please backup your device first.
Eazy
maybe someone can create a cab for me please ;-)
mm with diamond don't go.. any ideas?
Great idea Eazy. I'll be waiting for a cab too...
On my hermes, there is no poweroffwarning.exe, so your solution will not work on all devices.
Just had a quick look at the running tasks, and the warning comes from gwes.exe, which is the 'Graphics, Windowing and Events Subsystem'
eazy2001x said:
Don’t do that to me.. Because I do contribute when I can.. and I actually have a fix.......
If you didn’t know you could have posted that.. Well here it is..
You need to do two things..
1. Save and zip the file called “PowerOffWarning.exe” from the windows directory
2. Go to the directory that has your psshutxp executable in it and rename the psshutxp.exe to PowerOffWarning.exe.
3. Zip the new “PowerOffWarning.exe” and skin files into a zip file.
4. Execute the zip file and overwrite the “PowerOffWarning.exe” file in the windows directory.
5. Press and hold your power button and enjoy your new shutdown/reset/screen off options.
NOTE: the only reason I choose to do it on long press is because I sometimes quickly want to turn off my screen when putting the phone back into the case. I don’t want to worry or wait for the app to come up and choose an option.
I have attached the two files and they came from a Mogul running WM6.1. If you use these files please backup your device first.
Eazy
Click to expand...
Click to collapse
Works fine on my Touch Pro.
And, if you use program like Resco Explorer, you can pass the ZIP routine, and go directly to overwriting the .exe .
works on my Trinity 6.1
very nice thank you!!!
jez83uk said:
On my hermes, there is no poweroffwarning.exe, so your solution will not work on all devices.
Just had a quick look at the running tasks, and the warning comes from gwes.exe, which is the 'Graphics, Windowing and Events Subsystem'
Click to expand...
Click to collapse
seems like you know your problem.. so run the app and make sure its the same app to shut down your phone then replace it following the process.. i never said that it will work on all devices hence the reason that i posted what phone i was using.. i am using it on my diamond as well..
if you need any more help let me know.. all i did was post a process that worked for me. if you need to use a diff exe please feel free to do so..
eazy2001x said:
seems like you know your problem.. so run the app and make sure its the same app to shut down your phone then replace it following the process.. i never said that it will work on all devices hence the reason that i posted what phone i was using.. i am using it on my diamond as well..
if you need any more help let me know.. all i did was post a process that worked for me. if you need to use a diff exe please feel free to do so..
Click to expand...
Click to collapse
I'm sorry, I certainly didn't intend to imply any criticism of your work.
For anyone else in my situation, unfortunately the gwes.exe is a vital process, which is always running, and does more than just the power off warning. As there is no standalone app for this warning in my rom, there is no exe which can be replaced.
I made a cab for the method stated.
PsShutXP_Replace.cab is just an automated way of Eazys method on the first page so check that first.
PsShutXP_Diamond.cab is the same method but with the VGA version and a diamond skin from lesteryh
Can this be undone if it doesn't work?
I think there's still the issue where it doesn't work right if you also use S2U2. not sure which ones at fault there.
Works fine on my Vogue running NSFAN's 6.1 Rom. I'm also running S2U2.
I dought the uninstall will work. If you want to go back then read Eazys post on page one and backup the file first.
eazy2001x said:
Don’t do that to me.. Because I do contribute when I can.. and I actually have a fix.......
If you didn’t know you could have posted that.. Well here it is..
You need to do two things..
1. Save and zip the file called “PowerOffWarning.exe” from the windows directory
2. Go to the directory that has your psshutxp executable in it and rename the psshutxp.exe to PowerOffWarning.exe.
3. Zip the new “PowerOffWarning.exe” and skin files into a zip file.
4. Execute the zip file and overwrite the “PowerOffWarning.exe” file in the windows directory.
5. Press and hold your power button and enjoy your new shutdown/reset/screen off options.
NOTE: the only reason I choose to do it on long press is because I sometimes quickly want to turn off my screen when putting the phone back into the case. I don’t want to worry or wait for the app to come up and choose an option.
I have attached the two files and they came from a Mogul running WM6.1. If you use these files please backup your device first.
Eazy
Click to expand...
Click to collapse
It works!
Many thanks!
Anthony2oo5 said:
I made a cab for the method stated.
PsShutXP_Replace.cab is just an automated way of Eazys method on the first page so check that first.
PsShutXP_Diamond.cab is the same method but with the VGA version and a diamond skin from lesteryh
Click to expand...
Click to collapse
Hey.. Can I ask you to change up how your cab works.. Just to make things easy.. I have not ventured into how to make cab's yet but will soon..
User:
Install PsShutXP (QVGA/VGA)then run the (not yet created) cab
Your cab:
create a directory under \program files\PsShutXP called Backup
create a directory under \program files\PsShutXP called modfile
copy \Windows\PowerOffWarning.exe to \program files\PsShutXP\backup
copy \program files\PsShutXP\PsShutXP.exe to \program files\PsShutXP\modfile\PowerOffWarning.exe
copy program files\PsShutXP\modfile\PowerOffWarning.exe to Windows\PowerOffWarning.exe and overwrite the file.
copy \program files\PsShutXP\*.gif to \Windows\
and on your uninstall
copy \program files\PsShutXP\Backup\PowerOffWarning.exe to \Windows
This will allow the user to uninstall the program if needed.
I am also using that skin on My Touch pro but removed the text up top that says Touch Diamond.
If you could create that cab it would be greatly appreciated. Until then everyone can just follow the manual process..
Working Devices so far:
Mogul 6.1
Touch 6.1
Touch Pro 6.1
Touch Diamond 6.1
Vogue 6.1
Trinity 6.1
jez83uk said:
I'm sorry, I certainly didn't intend to imply any criticism of your work.
For anyone else in my situation, unfortunately the gwes.exe is a vital process, which is always running, and does more than just the power off warning. As there is no standalone app for this warning in my rom, there is no exe which can be replaced.
Click to expand...
Click to collapse
I'll help you out.. I don’t think gwes.exe is the right file for you to be looking at.. How about this.. It seems that when you hold down your power button you get the same type of power off warning box that we do.. How about you go into your windows directors and sort by exe. Then start clicking on each exe until you see the warning box pop up and then you will know which file shuts down your phone. That’s how I found the PowerOffWarning.exe file. Please report back...
There's a thread over at ppcgeeks that I can't find right now, but it said to just copy the psshutxp.exe and paste a .lnk in \Windows\. Then you rename the "psshutxp.lnk" to "Long_Power.lnk". This method doesn't overwrite any exe's and works like a charm on my Touch Pro.
at the time that did not work on my mogul.. if it is working for you then your good.. if it works for anyone else then they dont need to use this process.. i have not tested that on my diamond pro since this worked for me.
Hi, Chefs! =)
I'm going to add an option to run on second (or first) boot to my new program XDA_UC_NET. It's almost like original XDA_UC, but C# based, gives feedback to user and saves installation log, so you can see if any errors happened, it supports environment variables for different folders and some other enhancements.
Now it's almost portable - you can run it any time you want from Start menu, select any folder and install files from this folder.
But chefs ask me to add autorun mode - just as original XDA_UC.
I want to implement it this way
Chef adds to registry path to folder that must be processed by XDA_UC_NET.
Chef adds to registry parameter to tell program if it should run on 1st or 2nd boot.
Chef adds to registry parameter to tell program if it should wait for some time before popup.
XDA_UC_NET starts, read these parameters, display your message (if any, in any language) from given folder. If folder is not found - tell user that it's time to copy this folder to device. At the end XDA_UC_NET installs stuff from this folder like original XDA_UC.
What do you think? Are there any other suggestions how to implement autorun feature?
Will be great to not have that config.txt and of course to have it full potencial like:
1.- search for cabs into #Storage card# (any lang of course)
2.- Maybe a nice image here installing in a animation bar
3.- install this... then this... and at this point hide the UC screen to click some prompt messages from instalation action in many cabs
3.- run this file (lnk, exe)
4.- select any TSK
Finally restart device
this will allows chefs to not add cabs into ROMS to be executed at first boot.. lighter roms you know (i know i can make it posible with SDconfig.txt but not all ppl likes to edit the file every time you know)
Thats my recomendations
Oh BTW we just can make a lnk into startup folder and it will run in first run or maybe you can consider as an idea that you already have make it posible to delete that lnk at the end of the first customization.. or ask you if you want to add more second time the rom boots...
+ Que PPC said:
Will be great to not have that config.txt
Click to expand...
Click to collapse
already done - it's main idea of XDA_UC, put your files in your folder and you are ready.
1.- search for cabs into #Storage card# (any lang of course)
Click to expand...
Click to collapse
already done - program search given folder, I think it is enough
2.- Maybe a nice image here installing in a animation bar
Click to expand...
Click to collapse
in current version program displays every step -
"Install CABs silent"
"Install MSCRs"
and so on.
3.- run this file (lnk, exe)
Click to expand...
Click to collapse
there are two options - run and wait, or just run and go next.
I never used this feature for myself, so, please tell me what is the best?
4.- select any TSK
Click to expand...
Click to collapse
As far as I know almost all new themes for WM6.5 are distributed as cab files.
And there is a problem in original XDA_UC with Cook.tsk - it's old WM6 version. But I will search for options...
Finally restart device
Click to expand...
Click to collapse
already done