[8525, TyTN, MDA Vario II, JasJam General] MikeChannon:
Getting ActiveSync running again. (Revised)

(Applies to situations where Active Sync fails to connect following the use of third party applications that clear the notifications queue but may include situations where AS does not connect through corrupt or missing notification files)

Using applications such as Scarybear, Memmaid, Pocket Mechanic and Sktools to clear the notifications queue is often a necessity to solve problems with alarms (either not going off or not cancelling etc.)

However, the file repllog,exe will show up using these applications and should NOT be deleted unless it is duplicated (exact duplicate, there may be 4 or 5 repllog files 2 of which are essential and may look like duplicates but are not). This is because these files notify the device that a USB cable has been connected and readies the device for Syncing. ActiveSync will not load if repllog.exe is missing in the TWO forms listed below:

1

repllog.exe

AppRunAtRs232Detect

AND

2.

repllog.exe

AppRunAfterRndisFnDetected

Adapted for the following but probably applies to other windows mobile devices:

HTC TyTN / XDA trion / MDA Vario II / VPA Compact III / SPV M3100 / Dopod CHT 9000 / Dopod 838 Pro

Step 1

To Replace repllog.exe - AppRunAtRs232Detect

(i.e. to get Active Sync to detect when you plug in the USB cable)

(Steps written for Memmaid, but Sktools is just as good. To ‘add’ a notification in Sktools just go to notifications and tap/hold an existing entry in the top list and an option to add appears in box drop down box1 enter "Start if RS232 connection......" and then tap gray "..." box and navigate to the windows folder and tap repllog.exe, finally tap OK in bottom left corner.)

1) Open 'MemMaid and go to the Notification Queue tab

2) Tap Add

3) In the Add Notification - Program field, tap the '...' icon.

4) In the folder tree, find \windows\repllog.exe and tap it.

5) In Add Notification - Event', choose 'An RS232 connection was made'.

6) Tap the 'Add' icon.

7) Exit and long-press the on/off button until the warning appears and tap yes to turn off the device.

8) Long-press the on/off button to restart the device and Active Sync should work on connection of the USB cable.

Step 2

To Replace repllog.exe AppRunAfterRndisFnDetected

(i.e. to get Active Sync to open/connect to network on detection of the USB cable)

The second notification you need is repllog.exe AppRunAfterRndisFnDetected

Follow same procedure as above choosing the option in sktools or memmaid to start when a network is detected OR just use this little application that will make the entry for you:

http://xdaforums.com/atta...6&d=1155128708

(to use this application save the file to your PC or Device. Put it on the storage card (using a PC card reader if necessary) and tap to run. (it is a PPC EXE file not to be run on PC) You will simply get a screen that has an OK button. Tap it and you are done. Restart your SKtools or Memmaid and the key should be there.

Check you now have both replllog notifications present. You may have other repllog.exe notifications listed but you MUST have the two named above. The sub names of the repllog entries may differ slightly from those given above. The above names are in an abbreviated form as they appear on an untouched device, but so long as you have one that mentions RS232 and one that mentions network or RNDIS you should be OK.

You may be able to run AS now or may need to restart device and or PC.

NB: I have run a full test of the procedures here to test whether replacing these files reactivates Activesync. I deliberately deleted all my notifications (a risky thing as we know) - Activesync refused to start as expected. Using the methods above I replaced the two repllog entries and confirmed their presence. Activesync is working again.

Mike