Related
Hi.
Anyone know how to perform a hard reset within a windows mobile 5.0 device?
Tried with SetCleanRebootFlag() and KernelIoControl() but seems like the SetCleanRebootFlag is ignored.
The SetCleanRebootFlag() function was an undocumented feature within 2003 devices, and now it seems like it is gone. There now exist a ExitWindowsEx() function to do soft reset, but I cant seem to find out how to do a hard reset.
Any tips, anyone?
Thanks
Any news on this topic? I really need that functionality too....
if you're in a position to test it, could you try to hard reset with my app
http://forum.xda-developers.com/viewtopic.php?t=39637&highlight=
If it works, good. If not, whoops
V
Sorry to say that the Hard reset part of you application does not work on WM 5.0 devices. It probably works on WM 2003 if you use SetCleanRebootFlag();
By the way! All the shortcuts in the cab file points to \program files\.... For norwegian users the path is \programfiler\. So I had to move the .exe file to \program files\ to make them work...
t0flus: I'm aware of this shortcut issue. I'll have to make a custom installer. But unfortunately it was the only way the cab manager would let me carry shortcuts with command line parameters.
Thanks for confirming the SetCleanRebootFlag issue. I'll investigate it on WM5. Please drop me a line if you find a good solution. I read some stuff on the msdn blogs a long time ago on this issue.
V
Hi Vj!
Here are some test results that may (or may not) save you some time:
I tried SetCleanRebootFlag(); with both KernelIoControl and ExitWindowsEx(EWX_REBOOT, 0), on several WM5 devices and they all produced soft reset only.
Short googling session reviled this question on several other forums, some (like google groups) had a post from someone claming to be MS official stating that it cannot be done at this point.
Personally I'm not inclined to believe that...
Side note:
I do know that WM5 has a slight registry bug (feature?), where if you reset with the SR button or with KernelIoControl you may loose the last registry changes because they are not saved when you call RegCloseKey but on some regular interval (???).
ExitWindowsEx saves the registry before rebooting.
levenum: have you tried it on the emulator? I'm fairly positive when I wrote VJEschaton that I tried it there and it worked. I wasn't in a position to test on a read device, but that throws up some odd questions.
I'll go into this a bit further as soon as I can. Quite interesting... forced hard reset is important occassionally!
V
Didn't have time to mess around with the emulator, but I remembered this thread:
http://forum.xda-developers.com/viewtopic.php?t=35046
Could the hard reset been a bug?
It must be a way to do this by code. The ClearStorage.exe does it......So I bet it's another undocumented feature...
t0flus said:
It must be a way to do this by code. The ClearStorage.exe does it......So I bet it's another undocumented feature...
Click to expand...
Click to collapse
What if you try to think about this in another way? What if you force a hard reset by loading the app to memory, formatting the storage then doing a soft reset? Technically, it should equal to a hard reset...
Did I read somewhere that the programmer for Pocket Hack Master had it doing a hard reset for a bit of time if the wrong registration key was entered?
Does anyone know him. He might have the answer. Although, it may have been pre WM5.
dilligaf said:
Did I read somewhere that the programmer for Pocket Hack Master had it doing a hard reset for a bit of time if the wrong registration key was entered?
Does anyone know him. He might have the answer. Although, it may have been pre WM5.
Click to expand...
Click to collapse
it was definatelly pre-WM5, it think it was in late 2004...
Guys, can you test the new VJEschaton v0.12 for WM5 hard reset?
Thanks!
V
Hi Vj!
Tried your program on a couple devices (iPaq 1950, 2490, don't have a phone) but got nothing but soft resets. Nice app though.
t0flus: could you upload the ClearStorage.exe please. I could take a closer look at it if I get some spare time. If we get lucky it may reveal a call to some hidden API.
Ofcourse! Here it is!
The zip file includes a MUI file. Files with that extension is not allowed here, so I had to zip it.
vijay555: Where can I download VJEschaton v0.12? Seems to me that your web site only contains v0.11?
t0flus: if you download the cab on my website, is it still giving v0.11? Poo. I tell you, CE Cab Manager is going to kill me one day (a bad workman...)
I may not have saved v0.12 properly into the cab. I'll try to upload it again, maybe lunchtime GMT today.
V
Thanks for the file t0flus!
Files with MUI extension are localized resources (like all the menus in your local language). They have the same name as the file who's resources they replace + language code (in hex) + .mui
Vj: when I downloaded VJEschaton at about 8 am (GMT) its dialog caption read v0.12,
that’s what I tested. Was there a mix up with the cab or did you just forget to update the version listing on the site?
levenum: ah, it was v0.12 you wanted.
v0.12 should hard reset an HTC Universal. I don't think it'll hardreset any other non-HTC WM5 phone (although I can't even be sure it'll work on a Wizard, I'd be grateful for someone to test it there as well)
I don't think so far there's a generic WM5 hard reset, we have to figure out the KernelIOControl - I'll make some enquiries. But I'd be grateful if someone could download v0.12 and test it on a Uni & Wiz'r.
V
PS I don't always update my website. I'm more active on here then there! v0.12 was finished late at night. I'll update the info now.
Apologies if this has been covered before, found these settings on another website (http://smartmobileassets.com/cgi-bin/Blah/Blah.pl?b=winmobile,m=1132411511)
Have they been tried and do they make any difference?
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\CacheSize=0x1000(4096)
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\EnableCache=0x1(1)
HKEY_LOCAL_MACHINE\System\StorageManager\Filters\fsreplxfilt\ReplStoreCacheSize=0x1000(4096)
Yes they work!
Yes they work beautiful on my Jasjar, the device is noticeable faster in all the applications.
Thank you!
Rodrigo Gonzalez
Cache settings, hum... how safe is this?? I take the chance and test them
Morituri said:
Apologies if this has been covered before, found these settings on another website (http://smartmobileassets.com/cgi-bin/Blah/Blah.pl?b=winmobile,m=1132411511)
Have they been tried and do they make any difference?
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\CacheSize=0x1000(4096)
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\EnableCache=0x1(1)
HKEY_LOCAL_MACHINE\System\StorageManager\Filters\fsreplxfilt\ReplStoreCacheSize=0x1000(4096)
Click to expand...
Click to collapse
hi. please could you tell me is i need to insert the full value "0x1000(4096)" or only one of them? thank you,
Just one, one is the Hex Value the other is the decimal
Morituri said:
Just one, one is the Hex Value the other is the decimal
Click to expand...
Click to collapse
so for ex in hex 0x1000
sorry but registry is like crystal...
Just one, one is the Hex Value the other is the decimal
Yes, "0x1000" in Hex is identical to "4096" in decimal. Put whichever one you want into the relevant registry entry.
I've messed about with these registry settings too, but in all honesty I haven't noticed any difference in performance....
sub69 said:
but in all honesty I haven't noticed any difference in performance....
Click to expand...
Click to collapse
me too...
But as darkdestroyer says in the other sites forum...
Yes i've done this since it was first released on Aximsite by another member. At first I had 8 mb allocated, but i guess 4 is the best number. The PDA right after a soft reboot is still the same speed, but after you have all of the shortcut's/programs run once, they will be put into ram and the following run's of those same programs/shortcuts will be much much faster. This is indeed a great find and should be standard with WM5
Click to expand...
Click to collapse
No changes in the performance of the device.
The only change is battery draining faster than the original settings.
I've done these changes before and had to reflash the ROM again to my device.
I don't see any need to make these changes, and I don't advise any one to do them.
Regards,
These registry settings have been reported to increase performance by many users on different forums, some using the Dell Axim x51v ,BA users and even some Universal users and are even incorporated into tweaks2k2. My advice is to try them for yourself and make sure the changes are actually being applied after a soft reset and then perform some tasks on your device (see the post by Carnivor) and then make your own judgement. No one so far has reported any negative impact apart from a small reduction in program memory. The changes can always be reversed if needed.
Carnivor said:
But as darkdestroyer says in the other sites forum...
Yes i've done this since it was first released on Aximsite by another member. At first I had 8 mb allocated, but i guess 4 is the best number. The PDA right after a soft reboot is still the same speed, but after you have all of the shortcut's/programs run once, they will be put into ram and the following run's of those same programs/shortcuts will be much much faster. This is indeed a great find and should be standard with WM5
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Erm... so is this registry tweak adding cache memory to the system for running applications then? So that .exes or .dlls that are loaded when a program is run are available more quickly to the system next time they're needed?
If so (and I can't quite believe that this could be the case ), are we now recommending that we allow programs to stay resident in memory to speed up the machine?
... much like the standard PocketPC "Minimise, not close" behaviour that people seem to hate so much?
LMFAO if so! (and please tell me I'm wrong if not! )
SiliconS,
You are absolutely wright.
The proof is that after making the registery editing the application when opened for the first time it does not open on a faster way than the original settings, but when you open it for the second time it opens faster that the first time.
The appications remain opened in the phone memory and reduces the devices memory and the battery life as well.
Microsoft's WM5 development team must be LTFAO when they read stuff like this. People spend hours complaining and looking for ways of forcing the system to properly close apps using MagicButton or PocketPlus, and complain when their WM5 machine runs slow.
Then someone comes along offering a way of speeding things up by caching programs and files in memory!!
Am I the only person who thinks this is utterly bizarre?
Oh, man. MS must be laughing at us. :shock:
(No offence intended to anybody - I'm just amused by this. )
So, if you are running something like GSPocketMagic, Magic Button, etc, which actually close applications properly, all you are doing is reducing the amount of memory available to run programs with no gain whatsoever?
Well I made the changes and found no improvement in speed, but it was worth a try. In the light of what has been said, I'd like to change back the settings, but can't remember what they were!!!!!
Can someone post up the original values please
Here they are:
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\CacheSize=0
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\EnableCache=1
HKEY_LOCAL_MACHINE\System\StorageManager\Filters\fsreplxfilt\ReplStoreCacheSize=0
Many thanks - all sorted
Guys, these registry hacks work! If you haven't been able to get them to work you may have missed a step or two.
First of all, Windows Mobile 5 already holds running information in the RAM, so these tweaks do not truly change that but they do enhance it to make the WM5 device runs MUCH better.
I've have had a TON of people comment and e-mail me about these changes both on my site and many others about how well these tweaks work. In fact, I don't think that the developer of Tweaks2k2 would include that in his latest version if it didn't work.
Couple things; you have to either cycle the power on your WM5 device or do a soft reset from a software app only! Cycling the power will write anything in RAM to ROM, in this case the registry settings you have just changed. If cycling does not work you should soft reset your device using a software app. I think there are a couple free apps to do that but you can also use SPB's Pocket Plus or others. If you just hit the reset button on the back after making the changes it soft resets right away without writing RAM content to ROM.
You can check this by looking at your registry settings after a soft reset to see if the changes took.
I have still noticed that sometime after a reset my device will still run slowly but it isn't because of these changes. In fact, most of the time it is perfectly fine and MUCH better than it was before the changes. MUCH!
Be sure to also turn off error reporting and do the activesync hack to keep those from draining battery and you should do well.
Again, many have made these changes and seen a very significant improvement in performance.
Is there any software to log the soft reset activities?
My 818pro auto reboots after I overclocked it. So I want to find a software to record the frequency of auto-reboot, then find the most stable clock rate. Thanks!
scott4 said:
Is there any software to log the soft reset activities?
Click to expand...
Click to collapse
If you use TWEAKS2K2 it will tell you how many times it's been reset since you installed Tweaks2k2, or reset it's timer.
That any use?
VJEscahton will show this, and i think there's another ap by bycastro? that's specifically for this.
V
I've just tried to unhide my extended rom with help of 2 registry keys. now my device does not boot up. It stays on white blank screen.
What can I do ? (other than hard reset ?)
Is there a way to boot up without reading registry keys ?
is there a way to edit the registry of a not booted device ?
or any way to open device without reading registry ?
Well, I'm only a newbie myself, so I don't know if this will help. I unhid my own extrom yesterday with reg tweaks. There we more than two changes to make, mind you, including the addition of a dword value that didn't exist on my 8525. You don't offer what type of device you are using, so that might limit how much help you get here, btw.
Anyway, have you tried soft resetting by using the stylus in the hole at the bottom of the device? That MIGHT do something different and let you get into the system.
There is a safe mode that some 3rd party offers ... I think SPB PocketPlus...but that won't help if it's not already installed, and I'm not sure it would help in your circumstance.
Anyway...good luck. I hope this, or someone else's advice can help you.
-pvs
pvs,
thank you. I had to hard reset. now I am trying to install everything back.
it will be hard...
Btw, I of course tried to soft reset with the stylus.
My device is I-Mate Jasjam (HTC Hermes)
mrmrmrmr said:
pvs,
thank you. I had to hard reset. now I am trying to install everything back.
it will be hard...
Btw, I of course tried to soft reset with the stylus.
My device is I-Mate Jasjam (HTC Hermes)
Click to expand...
Click to collapse
What you didn't have a comprehensive back up!! Oh dear dear dear. That's a hard lesson I learned a while back. Now I could happily hard reset right now and be fully back up and running in say 10 minutes with SPB backup. A lesson for all.
Mike
in fact I am using SK tools for backup. but my backup was too old.
This is a new device and I installed a lot of software lately.
Well, look on the bright side, you have cleared out all the 'stuff' that builds up on a system after a lot of installing and uninstalling, and you're sure to build it better this time. It's just irritating that this kind of thing usually happens when you have no time.
mrmrmrmr said:
in fact I am using SK tools for backup. but my backup was too old.
This is a new device and I installed a lot of software lately.
Click to expand...
Click to collapse
Mmmm yes I have that problem remembering to do the backup often enough, sods law something goes pear shaped when you haven't done one for a while
Mike
exactly ))
well its going well now...
just losing time.
I need a little help.
After a crash I hardresetted my Hermes and then used SK Tools to return to a backup point. But now when I try to activesync I get a message on my PC saying that the mobile device has already synced with another PC and it requests a new name for this PC.
I haven't synced with another PC. What shoukd I do ?
Hi guys,
Could someone please, please give me the step by step in easy language how to install, change, edit and setup omapclock on my wizard 8125, unlocked, updated with TNT WM6.
I have tried all i thought i could but when i change speed and click on register, nothing happens, i am sure it is not installed properly because i could not understand on how to copy, change,edit etc.
Plese help!!!
Thanks,
Sam
35 view and no help???
All the views and no reply to help me??
Please someone take the time to help me.
Thanks,
No offence, but it you cant even understand how to start a program, then you have NO business overclocking your Wizard.
ashasaur, I can start a program
Hi,
I am not that bad and i can start a program, i flashed my phone and updated to WM6 with no problem by reading,and i did do whatever they said to install the omapclock but it does not work and i thought i can try getting help from someone who may have had the same problem and can make life easier for others, if i try and try and find out how to get something to work for sure i'll do my best to explain to anybody who for help rather than wasting my time to reply and try to put people down, after all isn't this site built on good will and helping each other??
Thanks anyway for your reply
Use Battery status, it is easier to configure( for me anyway)
Well, I wasnt trying to put you down...all I was saying is that, OMAP Overclocking can ruin your Wizard, and its not something that a complete n00b should do. I speak from experience, my first HTC Excalibur that I had, I over clocked it to 400MHz, up from 180, and bricked it!
Thanks ashasaur for the advise may be i miss understood, i actually installed and setup the version 4.0 of the program but when i run it and reboot my phone it still shows 195Mhz and no changes and that is why i think something is missing or i am missing some steps to get it running right.
New2City, could you please explain more about battery status method...
Thanks,
Hi New2city,
Thank yu, i found the app, installed and setup and it rung great without a problem.
Thanks again for the suggestion.
Sam
sbaharloo said:
Thanks ashasaur for the advise may be i miss understood, i actually installed and setup the version 4.0 of the program but when i run it and reboot my phone it still shows 195Mhz and no changes and that is why i think something is missing or i am missing some steps to get it running right.
New2City, could you please explain more about battery status method...
Thanks,
Click to expand...
Click to collapse
You're much better off with batterystatus, but if you get tired of using that, try the smartskey program. It adds functionality to your hardware buttons, and can also manage omapclock so that it runs automatically on startup each time. This is the main shortcoming of omapclock: it won't assert itself at power up.