How to completely disable ActiveSync from a Windows Mobile device - General Topics

I came here looking for the answer. Didn't find it, so created my own solution.
Try at your own risk! Do a backup of your system first to be safe.
I use it on my X50v and X51v's for which I don't need to activesync anymore.
Get this handy executable program "Do Nothing" from Stephan Brenner's web site.
Copy the donothing.exe file, rename the copy repllog.exe. Move it to your device memory.
Copy it into windows "overwriting" the ROM file (it actually doesn't, it just sits in front of the ROM version).
If your file explorer doesn't allow you to overwrite, try a third party solution.
After it's copied, you may need to memory>stop activesync or soft reset, depending on your device.
Want ActiveSync back? Just delete the "do nothing" 4K repllog.exe and the file in ROM will magicall reappear! Some devices may need a soft reset.

I've wondered about this too, thanks for this fix. However it doesn't really use much system resources so I'm not too worried lol

Related

Pocket PC 8125 General Program installation questions

OK, bought a new Cingulr 8125, but am confused on how to install programs,and ware to install them. I had a Treo650 for long time and all I had to do was use palm one quick install and drop in the .prc files. I'm sure it's simple but need that first timer directions and I should be all set. My 1Gb card comes in Friday(forgot to order card with mda two days ago) so I will be all set. Thanks
Edit/Delete Message
There's a couple of ways to install apps. First and probably easiest is to install ActiveSync on the desktop, connect the phone up to and once they're connected and assuming a given app has an installer application, you run that on the desktop and it takes care of the details. After that you generally ok the install on the device and it installs.
Another way to install it to get the cab file for an app, copy it to an SD card, pop it into the phone, bring up file manager and nav to the folder, then click on the cab file. A lot of apps (but nowhere near all of them) let you download either an exe or a cab so it's your choice. Clicking the cab file sets the process in motion and, again, you have to "ok" the install and it installs onto the device. NOTE that, at the end of the install process, the cab file is deleted unless you've poked the registry into doing otherwise. That's not the default, however, so make sure you have another copy of the cab file somewhere.
Thanks for the info. I like the first way, it sounds easy. Im going to start with Weatherpanel friday after I get my SD card. I read most of the program will go on the card to take up the least space in the ram. I'm excited to try my first install, I will be looking for fed X truck. Thanks again, now I can get some shut eye tonight knowing how to do this....

Modify WM5 behaviour.

I would like to modify my PDA behaviour:
1- Change the welcome screen during boot and place a personal one.
2- Modify the menĂ¹ i see on the desktop, such as menĂ¹ entries like MSN pocket PC etc...
3- Eliminate cprog.exe from startup, i don't want it, i would like to start my own application instead.
Do i need to manipulate the ROM/registry for these modifications?
If yes, about ROM i'm almost a noob yet, is there any tutorial/start up guide?
Thanks.
With my psychic power, I'm gathering all the information about your phone... and giving you the following answers..
1. Search (forum and wiki) on how to modify your splash screen
2. Read the manual
3. Remove it from the \Windows\Start up ?
No
hanmin said:
With my psychic power, I'm gathering all the information about your phone... and giving you the following answers..
1. Search (forum and wiki) on how to modify your splash screen
2. Read the manual
3. Remove it from the \Windows\Start up ?
No
Click to expand...
Click to collapse
Uhm.. i think cprog.exe resides in ROM :-| how could i remove it and their icons
like signal quality ? I can't remove cprog.exe from the windows directory and it's lnk
doesn't appear inside \Windows\start up
Thx.
At least...
If i can't remove cprog.exe, at least i would like to remove the signal quality icon on the top right of the screen and the warning balloon coming from cprog.exe. Or... is there a way to cover all the screen (also the taskbar) with my application GUI?
Thx.
If you can make a dummy exe and have it named cprog.exe, just copy it over. When the OS saw that there is a file with the same name in the storage (and also one in ROM), the OS will launch the one in storage instead of the ROM. Now, it is a matter of getting a dummy EXE.
Just incase, backup your system first.
Thx for help...
Are you sure i can overwrite cprog.exe inside \Windows directory?
I cannot move/copy or delete it. The OS is saying i cannot copy
file and resources present in ROM :|.
How do i backup my system, if i overwrite it, how i get it back?
First, backup. Use backup software such as SPB Backup your system. If things went seriously wrong, you will hardreset your phone, and use the backup EXE file to restore your phone. Just make sure you backup before modifying.
You can use software such as Total Commander for PPC to over write the EXE. I'm very sure (been there, done that) it can over write (cover up) files in ROM, but I'm not sure if it is possible to write over an EXE that is currently running. Try your luck. To recover the overwritten (e.g. original) EXE, just delete it (e.g. delete the new, modified EXE) to expose the original EXE inside the ROM.
There should be no problem overwriting a ROM exe once even if its running. The change will simply not take effect until you reset the device.
To disable it though, you will have to rename the exe first (you will not be able to delete your copy while it is running) then reset so the original will be called instead.
And just to make it clear: you will not overwrite anything. A copy of the file will be created in your storage memory. The original system file will remain as it is, it will simply be "hidden" until you remove your copy.
The backup hanmin suggested is for your data and installed apps. If you are still at the stage were you are experimenting with the phone and don't mind getting it back to factory settings if something goes wrong you can skip it.
What you should investigate though is the notification system. It is somewhere there that cprog.exe is triggered in the first place and if you want your app to pop up instead on incoming call you will most likely have to register a notification for it.
(Though I do not have much experience with TAPI, so I am not really sure about this)
What I do know for a fact is that opening a full screen window (covering both top and bottom bars) is very easy:
Right after the window is created (not in WM_CREATE handler) call SHFullScreen API.
hanmin said:
First, backup. Use backup software such as SPB Backup your system. If things went seriously wrong, you will hardreset your phone, and use the backup EXE file to restore your phone. Just make sure you backup before modifying.
You can use software such as Total Commander for PPC to over write the EXE. I'm very sure (been there, done that) it can over write (cover up) files in ROM, but I'm not sure if it is possible to write over an EXE that is currently running. Try your luck. To recover the overwritten (e.g. original) EXE, just delete it (e.g. delete the new, modified EXE) to expose the original EXE inside the ROM.
Click to expand...
Click to collapse
Thanks, it worked fine, i've just built a dummy exe with a little main returning 0 immediately. And when services.exe starts it, it just returns 0.
I suppose if i hard reset my device cprog become the original.
What kind of APIs should i call to customize taskbar look and feel?
levenum said:
There should be no problem overwriting a ROM exe once even if its running. The change will simply not take effect until you reset the device.
To disable it though, you will have to rename the exe first (you will not be able to delete your copy while it is running) then reset so the original will be called instead.
And just to make it clear: you will not overwrite anything. A copy of the file will be created in your storage memory. The original system file will remain as it is, it will simply be "hidden" until you remove your copy.
The backup hanmin suggested is for your data and installed apps. If you are still at the stage were you are experimenting with the phone and don't mind getting it back to factory settings if something goes wrong you can skip it.
What you should investigate though is the notification system. It is somewhere there that cprog.exe is triggered in the first place and if you want your app to pop up instead on incoming call you will most likely have to register a notification for it.
(Though I do not have much experience with TAPI, so I am not really sure about this)
What I do know for a fact is that opening a full screen window (covering both top and bottom bars) is very easy:
Right after the window is created (not in WM_CREATE handler) call SHFullScreen API.
Click to expand...
Click to collapse
Thank you for help.
I'm just dealing with cprog.exe becouse it is dropping the data call i make using RIL api. This happens becouse cprog.exe is taking the ownership of the call through TAPI, so since there is no other application using TAPI, cprog.exe believes it's the only owner so it just drops the call. Since i'm not using TAPI but RIL i cannot claim for the call ownership while answering the call. The process cprog.exe gives problems only for answering incoming calls.
The only solution i found is to kill cprog.exe or just replace it with a dummy exe as explained here. That's why i was asking for it. Now my RIL application works fine and i don't need to kill cprog.exe/TSP anymore within my code. I'm forced to use RIL instead of TAPI becouse TAPI doesn't expose some bearer options i can set through RIL.
Bye.
Here is the article abut customizing the taskbar. Unfortunately, as far as I know there are no APIs to deal with it (short of sticking an annoying notification icon there), you have to replace the whole thing or whatever parts of it you do not like with a child window (see LVMTime and LVMTopBat).
levenum said:
Here is the article abut customizing the taskbar. Unfortunately, as far as I know there are no APIs to deal with it (short of sticking an annoying notification icon there), you have to replace the whole thing or whatever parts of it you do not like with a child window (see LVMTime and LVMTopBat).
Click to expand...
Click to collapse
Thanks a lot.

Hi, having some problems with my Touch Pro

Please bear with me, as this is my first windows mobile phone and I'm not all too familiar with it.
First problem is, tapping "Launch Browser" on the Internet tab does not work. After thinking about it for a while, I realized that the Opera browser was not installed on my device! Now, as far as I know, it should come already in all devices. So, I downloaded the Opera 9.5 browser off their website. How can I set it up so when I tap "Launch Browser" on the Internet tab, Opera 9.5 will automatically run? Currently tapping it still does nothing.
Second is, I've been hearing about this "Windows" folder in the HTC Touch Pro. I can't seem to locate this. When I browse for it with my computer, the name of the TP's "hard drive" is "\", and then I see the following folders:
Application Data, ConnMgr, Content, Documents and Settings, Music, My Documents, Program Files, cemail (hidden file), pim
Is this root folder the "Windows" folder?
Third thing is, in the "Programs" tab in TF3D, there's this icon there that when I press (looks like the default icon for a folder in Vista), it gives me an error. It says "The file 'wt5jetpr' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file."
There we go, that's all. Thank you, if you've read this far.
I can't help with the Opera thing but as for your Windows folder, it's a system file and hidden. You will have to unhide it in your Vista/XP operating system before you can see it using your PC>
You see, I already enabled the viewing of hidden folders. There aren't any other items other than the ones I listed.
EDIT: I tried creating a folder called "Windows" and Vista tells me I can't, because a folder of the same name already exists.
That's weird.. hidden folders are already enabled and I still can't see it.
Hiya, i'm a bit of a noob myselft with regards to wm6.1 so for the opera issue i dont think i could be much help with that same with the file that wont delete so i hope someone else will answer that, to see ur windows folder though when the phone is connected to the pc open up explorer on ur pc and click on tools/folder options then click on view and make sure either the "hide protected operating system files" box is unchecked &/or the "show hidden system files box is checked and this should let you see the windows folder.
Hope this helps.
EDIT: looks like someone already answered in the time it took me to type that, my own fault for multitasking ...
FireGX said:
Second is, I've been hearing about this "Windows" folder in the HTC Touch Pro. I can't seem to locate this. When I browse for it with my computer, the name of the TP's "hard drive" is "\", and then I see the following folders:
Application Data, ConnMgr, Content, Documents and Settings, Music, My Documents, Program Files, cemail (hidden file), pim
Is this root folder the "Windows" folder?
Click to expand...
Click to collapse
Same thing as you, when I browse to the device from Windows Explorer.
However, if I go to Tools - Folder Options - View tab and I select "Show hidden files and folders", the Windows directory is displayed.
FireGX said:
Third thing is, in the "Programs" tab in TF3D, there's this icon there that when I press (looks like the default icon for a folder in Vista), it gives me an error. It says "The file 'wt5jetpr' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file.
Click to expand...
Click to collapse
By the name, it looks like it is JetCet Print 5.
Strange you have these errors. Do you use a custom ROM?
PS: been too slow to answer too. but at least the answers match ;-)
I'm not using a custom rom =\. The rom came with my device.
It's:
1.90.405.1.WWE
It's a HTC Touch Pro T7272
Then I advise you to do a Hard Reset. Opera and JetCet print should be there, and should not give you any certificate errors.
I advise you to read a lot these forums, gather as much info as you can, and experimenting with your device. You have a powerhouse in your hands, you know? you have unlimited possibilities. Any questions should you have must be asked.
Alright, I'll give that a try tomorrow after the day's gone so I have lots of time to figure things out.
Sorry for the double post, but I figure this message won't get read if I simply edit my last post.
Anyways, I hard resetted the device and I got Opera and that printing program working! Thanks creiz.
Just one last thing I'm trying to figure out.. is there any way I can get a custom alarm ring tone without downloading a program? (I'm trying to avoid having to do that if possible)

[Q] How to overwrite Htchomesetting.xml

I have an edited htchomesettings.xml that i want to put on my jade.
Everytime i try to drag 'n drop this file into my windows folder, i get the 'acced denied, be sure the file isn't read-only, in use or that you have enough space left'-error.
When looking at the file's properties (with Resco or total commander) it seems to be fixed in the Rom and i think that's the reason i can't overwrite it.
I already googled it and found some topics concerning this problem, and generally they all give the same advice:
http://forum.xda-developers.com/showpost.php?p=2736263&postcount=500
the problem is, i already used both programs, and apparently it does not seem to work, or i'm doing it wrong or i'm overlooking something...
So, can anyony tell me how to overwrite this file with total commander or resco, if this is possible.
Many thanks, and sorry if this is a stupid question, i searched the web for about 3 hours before asking you guys .
It's a little easier than that. The only thing you need to do is make sure that the plugin is not running. In other words, deactivate the plugin in the Settings menu. Then, do a soft reset, just to make sure that the system has stopped using it. Then you can copy and paste with any program that you like. I have found that using a PC (via ActiveSync) works best. Good luck!!
Thanks for the quick reply thunder.
Unfortunately, it did not work out. I deactivated TouchFlo already (and did the reset). And still it gives me the same error.
"Cannot copy HtcHomeSettings. Make sure your device has sufficient memory, that the file is not set as read-only, and that you have permission to copy this file type"
This time I simply used Active sync as you told me.
Again, does it have something to do with the fact that this file is hardcoded on the rom?
rubain013 said:
Thanks for the quick reply thunder.
Unfortunately, it did not work out. I deactivated TouchFlo already (and did the reset). And still it gives me the same error.
"Cannot copy HtcHomeSettings. Make sure your device has sufficient memory, that the file is not set as read-only, and that you have permission to copy this file type"
This time I simply used Active sync as you told me.
Again, does it have something to do with the fact that this file is hardcoded on the rom?
Click to expand...
Click to collapse
Unfortunately, if it is built into the rom, you will probably have a hard time copying over it. Have you tried to edit the file directly on the phone? I believe that there are a few xml editors for ppc floating out there, you could try that. Also, is there anything in particular that you want to do that requires you to modify the xml? Reason I am asking is because you could use M2D Customizer if you are only looking into modifying some settings. Hope this helps...
Allright, found out how to overwrite it!
Made a .m2dct file containing my preferred theme and settings, then i edited the included HtcHomeSettings.xml file.
Then i used the M2D customizer to load the .2mdct file, and that worked perfectly.
Thanks for the hint, Thunder!

Programs on Memory Card missing after Hard Reset

Im new to Windows Mobile and did my first Hard Reset on my Xperia yesterday. Now I am missing the programs installed on my Memory Card, for example TomTom, in the list of programs in WM. The only way I am able to access these programs is through a file explorer.
How do I fix this?
Thanks in advance // Thorell
thorell said:
Im new to Windows Mobile and did my first Hard Reset on my Xperia yesterday. Now I am missing the programs installed on my Memory Card, for example TomTom, in the list of programs in WM. The only way I am able to access these programs is through a file explorer.
How do I fix this?
Thanks in advance // Thorell
Click to expand...
Click to collapse
Hi Thorell:
To reuse these programs all you need to do is create shortcuts to them under the windows->startmenu->programs folder and they will reappear in your programs under start menu.
This way you don't need the file explorer to reach the programs .
Thanks! It works!
If I may ask another (stupid/simple) question: How do I make a shortcut? I solved this by copying and editing an allready existing shortcut, but I assume that there is an easier way.
// Thorell
@thorell,
Just hold your stylus on the application and the menu will pop up. There is an option in there that says "Send Shortcut to Programs..."
One small correction though to what thesire has written. He is right but not all programs behave the same way. A lot of programs copy most of its files in the location that you select. However, there are many programs that must write things into the registry and even copy some files in system memory. In other words, even though you will see programs in your memory card, you will not be able to run them... not even by clicking directly on the .exe. You only need to reinstall the app.
Good luck
egzthunder1 said:
@thorell,
One small correction though to what thesire has written. He is right but not all programs behave the same way. A lot of programs copy most of its files in the location that you select. However, there are many programs that must write things into the registry and even copy some files in system memory. In other words, even though you will see programs in your memory card, you will not be able to run them... not even by clicking directly on the .exe. You only need to reinstall the app.
Good luck
Click to expand...
Click to collapse
So what you're saying means that there is no benefits except more free memory in the internal memory when you install on the memory card regarding some programs? I thought/hoped that you could install on the card in order to not have to reinstall every program after a hard reset. This time I had only the TomTom Navigator on the card, and it works now, but if I had installed, for example SPB Mobile Shell or some other programs that in my (not on knowledge based) opinion are more integrated (spelling?) in the system, it wouldn't have worked?
How do I know that a program will run from the memory card after a hard reset?
Thanks /// Thorell
egzthunder1 said:
@thorell,
Just hold your stylus on the application and the menu will pop up. There is an option in there that says "Send Shortcut to Programs..."
One small correction though to what thesire has written. He is right but not all programs behave the same way. A lot of programs copy most of its files in the location that you select. However, there are many programs that must write things into the registry and even copy some files in system memory. In other words, even though you will see programs in your memory card, you will not be able to run them... not even by clicking directly on the .exe. You only need to reinstall the app.
Good luck
Click to expand...
Click to collapse
you are absolutely right egzthunder1, because wm behaves the same way as traditional windows and when hard reset everything that is copied to the windows directory and registery for the program to function is lost. I definitely overlocked this small, but important pointer. Thanks.

Categories

Resources