Hi
Am quite new to this, but it would appear there are quite many people familar with WM2003 (and it's various incarnations) here; so I figured it'd be the best place to ask this question:
a) How do I create a file (.cab or any other means) that I can run in my pocketPC that would load (or change) certain registry values in my Pocket PC?
b) Is there a location i can place a file within my pocket PC that will be loaded/run on every soft reset?
c) Is there a location i can place a file within my pocket PC that will be loaded/run on every wake up? (eg: everytime the power button is pressed and the screen comes on)
Things I'd like to do with the above; create 3 versions of a) above:
Drop a.1 into the extended rom so that on a hard reset; certain values are preloaded into the unit (eg: Owner name/ information/ various comon settings I always use/ etc)
a.2 + b would basically change my input method from 'keyboard' to 'block recognizer' after every soft reset (I just find it very annoying it switches back to 'keyboard' by default after my weekly scheduled sprite backup, or whenever I have to soft reset the unit.
a.3 + c would nuke the 'last owner' key in IIWPO so it'd send me a SMS everytime the unit is turned on; rather than only when the owner name changes. (if c) is not possible, I could drop it in b) so it'd resend an SMS on every soft reset instead).
Finally, I'd also like to know if anyone could recommend something or other I could read to learn how to write stuff for my PocketPC, and what tools you normally use. (I'd like to modify IIWPO; so that'd it'd resend an SMS every time any information is changed on the owner page (not just name); and/or to resend a new sms every 48 hours - or at least write some small code that would 'interact' with it, since the source doesn't appear to be available (?); eg: delete 'last owner' information every 48 hours...
Thanks!
for a.2b:
There are registry hacks to change the default SIP. Try Tweaks2K for an easy interface.
If you want to, try searching on the board for my program SIPwwitch to change the SIP from a shortcut, eg SIPswitch "Block Recogniser" (you'll have to look up the details on my other post on the development forum). Put this shortcut in your startup folder and it'll change the sip on every boot.
V
Runing on startup
Hi drean!
Here's how you make your program run automatically:
1. After hard reset: you must create a special folder on your devices flash drive (or whatever part of its memory that doesn't get wiped by hard reset. Not sure how memory is managed on XDA's on iPaqs there is a 'File Store'). The folder name must correspond to the number of your processor. (again for ipaq's PXA270 its 2577). In this folder place a file named autorun.exe This file will automatically lunch after every hard reset. (you can also do this with an SD or CF card see this thread http://forum.xda-developers.com/viewtopic.php?t=22861&highlight=grabit)
2. For your program to run after every soft reset place it or a shortcut to it in WINDOWS\StartUp (the program must not be on a storage card! You can also add a registry key with your programs path to HKLM\init.
3. To catch wake up events (power button) your application must be running and respond to power notifications. Here's the full explanations on how they work: http://msdn.microsoft.com/library/d.../wceddk40/html/cxconnotificationinterface.asp
As for how to program for pocket pc, here's a nice thread that will give you plenty of options: http://forum.xda-developers.com/viewtopic.php?t=29623
Hope this helps!
Good luck!
Hi all, I'm a noob with a Wizard on O2 running WM2005. I have had some partial success with the above topic. Would appreciate any advice as to whether I've done something really silly or whether the idea could be taken further.
OK, I nicked all of this from other threads so only take the credit for putting it together.
Suggest before you start you empty all of your mailboxes on the device.
Step 1. Disable messaging on startup. Believe there are two ways of doing this, one is to remove it from the "Today" screen items, or the following registry hack. "HKLM\Microsoft\Today\Items\"Messaging" And change Enabled to 0
Step 2. Apply the following hack: HKCU\Software\Microsoft\MAPI Add a new string value called PropertyPath. For the value in that field, I added the storage card directory without the "attachments sub folder. i.e. \Storage Card\Inbox.mst... where ... is the (random?) number assigned.
Ok, when I synch the device, all of my emails now go to the storage card in the above named directory.
Right, now for the "partial" success bit (hoping the experienced guys can help out here).
Because I've disabled messaging in the registry, in order to get the items on the today display, I have to go into settings etc. Once that is set, it updates the registry so at reset time it screws up and creates a new "storage card" directory on the unit itself and renames the storage card as storage card 2.
Any thoughts on how to get round this ?
I've tried adding "messaging" to the startup folder and it ***** up as above.
So... thoughts are as follows:
Is it possible to add a cab to the extended ROM which forces the registry key to zero on reset (was thinking along the lines of the one already there which removes the battery icon)
....and for the gurus, is there something I could run to automatically add the "messaging" item to the today screen with some sort of delay on it to allow the card to initialise ?
and finally, have I banjaxed my device by doing this? Seems to work OK
Thanks all
I did about 3 hard reset to the phone (for testing purposes), and all the sudden the myfavs program does not appear after I did the hard reset the 4th time, I did the hard reset about 2 more times and it did not restore the myfavs program (it suppose to back to its factory settings)
Now I keep getting "your myfaves contacts have been restored" text message every time time I turn on the phone (keeps pilling up with this same text message)which your suppose to only get once.
under the memory setting; storage & program seems to have the exactly same file size as when i had myfavs before.
What can I do? all I want is the default factory settings.. help me.
Hah! You survived longer than I did with it. I hard reset once just to clean my phone up before I started messing with anything (messing with the ROM, etc.) and the MyFaves app disappeared completely from the little tray bar at the bottom and the Today Screen.
Interestingly if you dig around with the file browser in the \windows\ directory I can see all the MyFav5 related applications, but nothing launches.
I'm tempted to try the RUU but to be honest the MyFaves program just ate a ton of memory and resulted in me calling people on accident when I had the Today Screen Plug-in active. So as long as the plan still gets accounted correctly (read as: I don't get charged for calling my 5 people),I don't really care.
I thought I'd let you know you aren't the only one out there with the exact same problem. I would like a solution but it isn't mission critical for me.
I found a solution to your problem. I'll do some more testing later. For now:
Could you look in your \Windows\ directory of your phone and tell me what "My*" applications and files are listed there? (You might have to make the basic file explorer show all files by using Menu>Show All Files).
All the "My" files that are in windows directory (revised & no file missing or mistyped). The some files are repeated to I placed the filesize next to them.
My5_Land
My5_Land.swf.0409
My5_Port.swf.0409
My5app
My5Client
My5ControllerPanelPlugin
My5MsgCenter 138k
My5MsgCenter 30b
My5PimProvider
My5service
My5Today_MaskCircle
My5Today_MaskRing
MyFave
MyFaves 19.1k
MyFaves 29b
MyFaves_add
MyFaves_hourglass
MyFaves_PhCDefault
MyFaves_sihouette
MyFavesApp_3DMask
MyFavesApp_74x743DMask
MyFavesApp_ContactMask
MyFaves-plugin
MyFavTodayPlugin
Myinfo.96
Extreme184X said:
All the "My" files that are in windows directory (revised & no file missing or mistyped). The some files are repeated to I placed the filesize next to them.
My5_Land
My5_Land.swf.0409
My5_Port.swf.0409
My5app
My5Client
My5ControllerPanelPlugin
My5MsgCenter 138k
My5MsgCenter 30b
My5PimProvider
My5service
My5Today_MaskCircle
My5Today_MaskRing
MyFave
MyFaves 19.1k
MyFaves 29b
MyFaves_add
MyFaves_hourglass
MyFaves_PhCDefault
MyFaves_sihouette
MyFavesApp_3DMask
MyFavesApp_74x743DMask
MyFavesApp_ContactMask
MyFaves-plugin
MyFavTodayPlugin
Myinfo.96
Click to expand...
Click to collapse
My5Service.exe is the key application. I wanted to make sure you had all the bits to the MyFaves program. The reason you see duplicate names with different file sizes is that the File Explorer program that you have on your hand held suppresses extensions of files for whatever idea.
Now then to fix your problem you are going to need to edit the registry of your device (I used total commander, the .CAB is in one of the Useful cab threads).
A key is missing from the registry after hard reset. WOO!!
Go to \\registry\\HKLM\init\ (using total commander's akward directory structure style)
You then have to add a new key, I used "Launch94" as I was noticing most of the T-Mo crapware was using the Launch9# series of keys
Then edit the key's data to be: My5Service.exe (Must be spelled correctly)
Basically what you did was add in a registry key that tells windows to load up the MyFaves service at boot so all the my faves apps will initialize properly. Putting My5Service.exe into the \windows\startup\ folder doesn't work (I tried it initially).
Soft reset and the phone will act wonky for a second as it is refreshing itself, don't panic. A box popped up saying "MyFaves display set to ON" and all was well at that point.
Then, since you want factory default I'd just remove Total Commander using the add/remove programs feature.
Good lookin out!!!
thanks alot, it did it and it worked.
I made an attemp to reformat the phone again, and myfavs appeared. Funny How I never managed to get that total commander for this phone. Lol im an experience user with registries (now gonna experiment with the register editor an tweak the phone to make phone faster and remove useless I don't need)
Thanks lot you have been helpful and gave fast support!!
Ah well no insult to your ability or experience was meant. I try to be as specific in my write ups as possible so others who might have the same problem can understand the solution, regardless of ability. Tends to make my life at work a lot easier when I do that so it's become a bit of a habit.
Glad it worked for ya and I'm actually surprised it survived another format. But hey all it says is there is some glitchy code in the re-install portion T-Mo has built.
Extreme184X said:
(now gonna experiment with the register editor an tweak the phone to make phone faster and remove useless I don't need)
Thanks lot you have been helpful and gave fast support!!
Click to expand...
Click to collapse
By the way, let me know what tweaks you try. I'd be interested in them myself.
Good seeing people help each other out. The speed tweaks are everywhere, but to remove things you have to recook and flash your phone. (Alternatively, you can flash one of the many available ROMs our cooks have already made or made a custom one based on my own through the link on my signature.)
i got a quick Question how about trying to add it to a already cooked rom is that possible ? bc i love the PDAVIET-ROM BUILD 20931.1.5.0.PV(uploaded) rom but the myfaves tab dont work
does anyone have the my faves.cab?
Hi,
I'm running all registered (NON-CRACKED) software on my ppc, which is why I need to do this. I frequently upgrade my roms, and my biggest pain point is entering the registration number for the ~15-20 apps on my ppc.
I'm copying settings/etc over, most often by exporting the registry keys for that software/reimporting it into the new rom - but the registration key typically doesn't get copied over.
Is there a different place in the registry that I should be looking at for that?
Thanks,
-mark
diomark said:
Hi,
I'm running all registered (NON-CRACKED) software on my ppc, which is why I need to do this. I frequently upgrade my roms, and my biggest pain point is entering the registration number for the ~15-20 apps on my ppc.
I'm copying settings/etc over, most often by exporting the registry keys for that software/reimporting it into the new rom - but the registration key typically doesn't get copied over.
Is there a different place in the registry that I should be looking at for that?
Thanks,
-mark
Click to expand...
Click to collapse
use your registry editor to search for the registration codes and then export those settings. you can then cab it or package into an oem to cook into your roms.
fredcatsmommy said:
use your registry editor to search for the registration codes and then export those settings. you can then cab it or package into an oem to cook into your roms.
Click to expand...
Click to collapse
or export in a reg/xml file and put in your Autorun on SD Card (read more).
wfg
starbase64
Unfortunately there is no real solution to this.
To avoid cracking registration codes are usually well hidden some times in the registry and some times in files.
The place and method of hiding the keys is different for each program.
Finding out were and how the key is stored requires a degree of reverse engineering on the protection mechanism and is basically the beginning of creating a crack for the program.
Normally producing a full backup of the device would preserve registration but it is impossible to restore full backup over different ROMs.
It's weird that different 'export settings' from different programs but from the same author don't automatically capture the registration code. i.e. I use sbsh pocketbreeze and phoneweaver (great programs, btw..) - pocketbreeze automatically restores the registration code when I export the settings/import it later. phoneweaver doesn't...
Definately a pain - even w/ mymobilier (which I use to type the serial numbers from my laptop into the phone..)
-mark
I found that many of the latest ROM cooks of WM6.1 have the annoying issue of Activesync always starting itself every minute... i searched a lot and found the best common solution is the fake account with manual settings...
After playing around with the registry i managed to find a better way.
Just open your favourite registry editor and set the value:
HKCU\Software\Microsoft\ActiveSync\KeepAlive
to 0
and enjoy.
Hope this will help future cooks to use this feature in their ROMs.
Cheers
Personally, I've been trying to read up on editing embedded database files (and CEDB files) to fix this situation once and for all. I've hex edited mxip_notify.vol and removed the repllog.exe call for AS after a time sync (which is the main reason AS starts up roughly every minute). It works, though when checking the notification queue there are three empty notifications that I'm not sure whether they hurt performance or not. Ultimately, if someone is able to get the WM5 or WM6 (6.1) SDK and knows how to edit EDB's or CEDB's (in a volume, of course. ), I'm sure the community as a whole would greatly appreciate it. I'll keep working at it; however, I've never used VS 2005 so I have a nice learning curve to navigate.
i already try the reg edit method,but it still come back when i softreset my phone.
the best method is the fake server. =)
Keep in mind also that on the 6.1 ROMS, if the Automatic Time Zone setting is enabled in the clock settings menu, it will continue to load up activesync periodically. Disabling it, at least for me, keeps activesync at bay...............
The hex edited mxip_notify.vol works great for me, I can still leave the Automatic Time Zone setting enabled without any AS problems. Just would like to eliminate the blank notifications in the queue.
I can post my edited mxip_notify.vol for anyone that wants it. The only thing is that it needs to be cooked in. So chefs would have the most benefit of this.
EDIT : By request, here is my modified mxip_notify.vol. When cooking simply replace the mxip_notify.vol in the SYS\Shell folder. Enjoy.
KMFM$ said:
The hex edited mxip_notify.vol works great for me, I can still leave the Automatic Time Zone setting enabled without any AS problems. Just would like to eliminate the blank notifications in the queue.
Click to expand...
Click to collapse
Yes please. Unfortunately, this might introduce one of my pet hates about WM6.0 - the blank notifications...
rling said:
Yes please. Unfortunately, this might introduce one of my pet hates about WM6.0 - the blank notifications...
Click to expand...
Click to collapse
No problem. Check my post above I've added the file there. I simply wish that I had the skill (and time to learn) to edit the volume properly to eliminate the notifications. Oh well.
bradipo.xda said:
Just open your favourite registry editor and set the value:
HKCU\Software\Microsoft\ActiveSync\KeepAlive
to 0
Click to expand...
Click to collapse
for me on polaris with syrius r4 the regkey seems to work... changed it yesterday and no active sync since then! so many thx!
oh, well... looks like the "keepalive" edit is only a partial solution. It works only until AS is started again (USB connection, launching it manually, or timechange if not disabled in the notify queue).
I played a bit with AS and here's what I found 'til now.
Everytime it starts it checks if a partnership with an exchange server is set, if not the "keepalive" value is set to 1.
If there's a partnership and the schedules are different from both "manual" it sets the keepalive again to 1.
That's why reg_editing the value lasts only temporarly.
So, the only way for not having A.S. "alive" is having a partnership with something and the sync schedules both set on manual...that's why the fake server is the best method, but I was searching for a way to "cook it in".
For the partnership issue i found this workaround.
Add the key {00000000-0000-0000-0000-000000000001} under [HKCU\Software\Microsoft\ActiveSync\Partners\]
and the string Engine="{22C7DA12-F3FD-4875-8344-7786454F6534}" in that new key.
This will create a fake partnership with a dummy exchange server without having to go through the configuration menu, so this tweak can be used for cooking.
The second part require a bit of databases manipulation. Actually i know what to change and where but i'm not able to figure out how to cook this (in particular i need to know how the pim.vol database is created in the first boot).
I'll play some more tomorrow and will post what found... and eventually i'll try to solve the empty entries problem...now is time to have some sleep
attached there's a .reg with the tweak mentioned... cheers
Alternative method
Hi,
I've used the fake exchange server method before, but I prefer to use SKTools to do the job. Been using SKTools for over two years and this feature has been available since then.
Download SKTools from http://s-k-tools.com/
Install SKTools and disconnect your PDA.
Make sure activesync on the PDA is closed (not minimized).
Go to the Tune-up section, and enter the activesync tab.
Change "AS auto connect" from yes to no.
No need to soft-reset.
Done!
Note that the PC will still detect the PDA, and this is reflected in Device Manager, but Activesync (WinXP) and Windows Media Device Center (WinVista) do not start. There is no syncing.
The PDA will also detect the connection, and activesync will start in the background, but it will not sync anything.
I use this method to charge my PDA without activesync starting when I don't need it. Hope this works for you too.
Hi,
Thanks a lot mi friend !!!!
mosestan said:
Alternative method [...]
Click to expand...
Click to collapse
thx for the directions, but... looks like the tweak you posted is intendend for keeping AS from starting on the desktop, while were trying to do the opposite, stopping AS from starting itself every minute, and makin' it a permanent cooked tweak ready for ROM flashing...
anyway, there's no real need of sktools to do that, is the same option in actyvesync-connections
or through registry key
HKCU\ControlPanel\Comm\AutoCnct
there's still some work to do
bradipo.xda said:
oh, well... looks like the "keepalive" edit is only a partial solution. It works only until AS is started again (USB connection, launching it manually, or timechange if not disabled in the notify queue).
I played a bit with AS and here's what I found 'til now.
Everytime it starts it checks if a partnership with an exchange server is set, if not the "keepalive" value is set to 1.
If there's a partnership and the schedules are different from both "manual" it sets the keepalive again to 1.
That's why reg_editing the value lasts only temporarly.
So, the only way for not having A.S. "alive" is having a partnership with something and the sync schedules both set on manual...that's why the fake server is the best method, but I was searching for a way to "cook it in".
For the partnership issue i found this workaround.
Add the key {00000000-0000-0000-0000-000000000001} under [HKCU\Software\Microsoft\ActiveSync\Partners\]
and the string Engine="{22C7DA12-F3FD-4875-8344-7786454F6534}" in that new key.
This will create a fake partnership with a dummy exchange server without having to go through the configuration menu, so this tweak can be used for cooking.
The second part require a bit of databases manipulation. Actually i know what to change and where but i'm not able to figure out how to cook this (in particular i need to know how the pim.vol database is created in the first boot).
I'll play some more tomorrow and will post what found... and eventually i'll try to solve the empty entries problem...now is time to have some sleep
attached there's a .reg with the tweak mentioned... cheers
Click to expand...
Click to collapse
That's good info, bradipo.xda. Have you looked at using CeRegEditor to help with finding the other necessary entries? You can perform a "before and after" comparison of the registry for detecting registry changes. I would look into it personally, however, I'm a little to busy to do so right now.
SOLVED
Here I have attached an mxip_notify.vol with ceipui and the timed repllog entries removed AND I have attached a provxml that will set sync times to manual without creating the fake server. This combination effectively prevents ActiveSync from restarting itself every few minutes.
I use this reg key, didn't see it mentioned here.
Code:
[HKEY_LOCAL_MACHINE \ System \ ActiveSync \ Engines \ {176F4FFD-F20C-4bd4-BDD7-01D0726C567B} \ Settings]
"SyncAfterTimeWhenCradled"=dword:00000000
Change the dword value to 0 as shown above, which means manual sync. The default value is 5, 5= 5mins, 15= 15mins, etc
firefly123 said:
I use this reg key, didn't see it mentioned here.
Code:
[HKEY_LOCAL_MACHINE \ System \ ActiveSync \ Engines \ {176F4FFD-F20C-4bd4-BDD7-01D0726C567B} \ Settings]
"SyncAfterTimeWhenCradled"=dword:00000000
Change the dword value to 0 as shown above, which means manual sync. The default value is 5, 5= 5mins, 15= 15mins, etc
Click to expand...
Click to collapse
that keeps repllog.exe from running in the background?
selyb said:
that keeps repllog.exe from running in the background?
Click to expand...
Click to collapse
Only one way to find out lol, seems to but will need more time to see if suddenly launches again?
Something to do with TouchFlo3D
Hi All,
I don't have the time to look into this myself, but I found that when I disabled touchFlo 3d to try out Mobile Shell, active sync never started up randomly. As soon as I turned TF3D back on... active sync kept coming back.
Just putting this out there, see if it helps anyone find a fix for that damn activesync.
The best and easiest solution
Holy cow people!, that's some crazy junk you're trying out there. I applaud your efforts but there is a much easier way.
As you know...
1. Disable the Repllog Notification (Apprunaftertimechange) in the Notification Window.(recommmend fdc taskmanager for this)
2. Registry hack [HKEY_CURRENT_USER\Software\Microsoft\ActiveSync] locate value "Keep Alive" change this to "0" for disabled.
But now the enlightenment...
3. Use fdcsoft's registry editor to tap and hold "KeepAlive" and select "Export..." (or chose from file menu) This will export this one value to a .reg file. Put this file in your \\Windows\StartUp folder. Now if you don't already have a program to "run" .reg files, you need to associate them with TaskMgr.
4. Using Total Commander, tap and hold your .reg file and select "Properties". Select "Associate" tab. Tap the gray box that says "Associate..." In the "Command:" box, reference the location of TaskMgr.exe (ex. \Program Files\FdcSoft\TaskMgr\TaskMgr.exe) In "Parameter:" box, leave the "%1" and add "/silent" (%1/silent) This keeps a dialoge box from popping up.
6. "OK" the changes and enjoy!
Now when windows starts it will "run" the .reg file and change the 1 back to 0. Problem solved.
bye bye Activesync!
fsb2cool2care said:
Holy cow people!, that's some crazy junk you're trying out there. I applaud your efforts but there is a much easier way.
As you know...
1. Disable the Repllog Notification (Apprunaftertimechange) in the Notification Window.(recommmend fdc taskmanager for this)
2. Registry hack [HKEY_CURRENT_USER\Software\Microsoft\ActiveSync] locate value "Keep Alive" change this to "0" for disabled.
But now the enlightenment...
Click to expand...
Click to collapse
Ok, best and easiest are matters of opinion. IMO, installing the cab I provided here is easier than the 6 steps you provided and doesn't require anything to be run at startup since Activesync will not try to run on its own anymore. But, that's only my opinion and it goes without saying that each person should do whatever works best for him or her.