How do i disable auto sync? - Windows Mobile Development and Hacking General

Everytime i plug my phone into my computer, it automatically saves all my pictures and music to my PC music/pictures folder. how do i disable this? Another issue is when i put music to ym collection and then later on delete form collection, it clears my phone and computer songs. how do i fix this?

You have ypur mobile and computer syncronized, enter in the Windows programs you use to sincronize (depends of the version of windows change) and configure which folder you want to sincronize, that is, uncheck music an pictures to not longer sincronize this folders between you computer and mobile device

You are probably using ActiveSync, which by default will sync items. You have to go to ActiveSync options and disable syncing for the items You don't want to be synced.

dejavu157 said:
Everytime i plug my phone into my computer, it automatically saves all my pictures and music to my PC music/pictures folder. how do i disable this? Another issue is when i put music to ym collection and then later on delete form collection, it clears my phone and computer songs. how do i fix this?
Click to expand...
Click to collapse
You disable synchronizing (aka ActiveSync) by removing entry
Code:
"repllog.exe RS232_DETECTED"
from phone's notification-events database. You'ld reach this with a MortScript-code looking like this
Code:
If(RegRead("HKLM","Drivers\USB\FunctionDrivers","DefaultClientDriver") EQ "Serial_Class"))
RunWait("CeRunAppAtEvent.exe","repllog.exe NONE")
EndIf
which simply deletes any 'starting ActiveSync' from phone's notification-events database.

from phone's notification-events database. You'ld reach this with a MortScript-code looking like this
Code:
If(RegRead("HKLM","Drivers\USB\FunctionDrivers","DefaultClientDriver") EQ "Serial_Class"))
RunWait("CeRunAppAtEvent.exe","repllog.exe NONE")
EndIf
which simply deletes any 'starting ActiveSync' from phone's notification-events database.
Click to expand...
Click to collapse
Hi,
I'm using a PNA with a WinCE6 "light version" (nothing is kept in registry and windows folders on each soft reset).
I tried this MortScript-code and does not work, perhaps because there's no "CeRunAppAtEvent.exe" in my \Windows folder.
Is there another way by changing registry keys ?
Tx in advance

poulette73 said:
I tried this MortScript-code and does not work, perhaps because there's no "CeRunAppAtEvent.exe" in my \Windows folder.
Click to expand...
Click to collapse
Isn't part of CE. It's a utility written by TroNik and part of MioPocket 4.0 distribution.
I attached it.

Thanks for this fast answer, and for program
Tried but repplog.exe still able to connect with my PC.
I've found these registry keys :
USB-ActiveSync
Code:
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"="Serial_Class"
[HKEY_CURRENT_USER\ControlPanel\Comm]
"AutoCnct"=dword:00000001
[HKEY_LOCAL_MACHINE\Comm\AsyncMac]
"Group"="NDIS"
"ImagePath"="AsyncMac.dll"
[HKEY_LOCAL_MACHINE\Comm\AsyncMac\Linkage]
"Route"=hex(7):\
41,00,73,00,79,00,6e,00,63,00,4d,00,61,00,63,00,31,00,00,00,00,00
[HKEY_LOCAL_MACHINE\Comm\AsyncMac1]
"Group"="NDIS"
[HKEY_LOCAL_MACHINE\Comm\AsyncMac1\Parms]
"BusNumber"=dword:00000000
"BusType"=dword:00000000
"DisablePowerManagement"=dword:00000001
USB-MassStorage
Code:
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"="Mass_Storage_Class"
Because I would like to disable ActiveSync process and only use USB as mass storage.
But still doesn't work. Maybe not possible with my unit.

EDIT: oh I've found my solution with your MioPocket 4.0 suggestion !
It's a small program called 'USB Loader.exe' => I can switch between "Mass_Storage_Class" & "USBSER_Class" OTG.
That's great !! Thank you jwoegerbauer

Try to check out video link : videojugDOTcom/film/how-to-turn-off-auto-sync-in-itunes-if-you-have-a-pc

Related

Is there any program to run Bluetooth Activesync easily?

Hi,
Does anyone know if such program exist?
Or, any know how to run Activesync via bluettoth in easier way than tap on Start>Activesync>Tools>Connect via bluetooth (that's 4 taps).
Regards,
Arto.
Artosoft said:
Hi,
Does anyone know if such program exist?
Or, any know how to run Activesync via bluettoth in easier way than tap on Start>Activesync>Tools>Connect via bluetooth (that's 4 taps).
Click to expand...
Click to collapse
You can use Mortscript to whip up a little cute script that does the 4 taps for you with a single tap. Google for Mortscript (or Mortscripts) and download it, it is freeware and well documented.
I was also looking for something that will make this quicker. Thanks psych0t1c.
Thanks psych0t1c.
I try using Mortscript, follow instruction, put the .mrsc on \windows folder, put a link on \windows\start up folder, but without success.
Here is the .mrcs text:
Run "\windows\sync"
MouseClick "ActiveSync", 10, 300
MouseClick "ActiveSync", 10, 285
Close "ActiveSync"
Exit
Please Mortscript expert give me advise...
Thx.
Regards,
Arto.
Artosoft said:
I try using Mortscript, follow instruction, put the .mrsc on \windows folder, put a link on \windows\start up folder, but without success.
Here is the .mrcs text:
Run "\windows\sync"
MouseClick "ActiveSync", 10, 300
MouseClick "ActiveSync", 10, 285
Close "ActiveSync"
Exit
Please Mortscript expert give me advise...
Click to expand...
Click to collapse
What is going wrong? Does nothing happen at all? Some thoughts on the fly:
-Extension should be mscr not mrcs, but maybe that's a typo.
-There should be a extension to sync. Use "sync.lnk"
-Give a little time to start the program (use "sleep 500")
-Give a slight time to rollout the menu after first tap ("sleep 100")
-Minimize instead of close. Don't know how MortScript actually works - if it is a real "close" or not.
-Maybe it is also a bad idea to put it in autorun before you tested it. Could be that during boot sequence the Script is the first to execute while most of the system is still in a less than ready state. Might be better to start it by hand when using it or to measure your booting time. So if the entire device takes 18seconds from the disappearing of the splash screen to full service (you see your today screen and no "waiting" symbol) you could just go and give the script an initial delay (sleep 25000) to wait 25 seconds before it starts out.
Test it out and lemme know what exactly is going wrong.
Still didn't work overhere, but her's something better :
AutSyncME :
AutoSyncME is a FREE software which connects your device automaticly to your computer via bluetooth connection with a click of a button.
Why do I need AutoSyncME?
Until now, in order to sync your device with the computer via BT, you needed to do the following: 1. Press on start.
2. Press on ActiveSync.
3. Press on tools.
4. Press on "connect via bluetooth"
Quite a hassle...Isnt it?
What does ActiveSyncME does?
Just download the file (cab) attached below, transfer it to your device, and double click it to install the software.
The software will be installed in the start menu - programs folder.
Want to make it a lot easier?
Go to "settings" on your device - "buttons" and assign a hardware button to this file.
Now, every time you want sync your device with your computer, just press the hardware key.
Click to expand...
Click to collapse
http://www.mesoftware.biz/as.htm
jpiek said:
Still didn't work overhere, but her's something better :
AutSyncME :
AutoSyncME is a FREE software which connects your device automaticly to your computer via bluetooth connection with a click of a button.
Why do I need AutoSyncME?
Until now, in order to sync your device with the computer via BT, you needed to do the following: 1. Press on start.
2. Press on ActiveSync.
3. Press on tools.
4. Press on "connect via bluetooth"
Quite a hassle...Isnt it?
What does ActiveSyncME does?
Just download the file (cab) attached below, transfer it to your device, and double click it to install the software.
The software will be installed in the start menu - programs folder.
Want to make it a lot easier?
Go to "settings" on your device - "buttons" and assign a hardware button to this file.
Now, every time you want sync your device with your computer, just press the hardware key.
Click to expand...
Click to collapse
http://www.mesoftware.biz/as.htm
Click to expand...
Click to collapse
Thanks!
But it is not working.
Regards,
Arto.
:?
Is there a big need for such an app? Why doesn't the other one posted above work?
V
jpiek said:
:?
Click to expand...
Click to collapse
Jpiek,
My bad, my bad....
I did tried several times again, and sometimes it is work.
If not work, I did 4 times tap Bluetooth Activesync to get connected.
Works but not always...
Regards,
Arto
vijay555 said:
Is there a big need for such an app? Why doesn't the other one posted above work?
V
Click to expand...
Click to collapse
We need program that can make our life easier.
Hopefully you can write a program to do bluetooth (or any kind of connection) activesync in predefined period time (or in interval time). But most important is reliability.
Thanks!
Regards,
Arto.

syncing diamond connected as hard drive?

Hi all,
is there a (free) sync tool to use with a diamond connected as hard drive without ActiveSync?
Great would be if the program does a diff/merge on the .txt- or .docx-files etc. and not just decide by changedate.
Armin
Armin_M said:
Hi all,
is there a (free) sync tool to use with a diamond connected as hard drive without ActiveSync?
Great would be if the program does a diff/merge on the .txt- or .docx-files etc. and not just decide by changedate.
Armin
Click to expand...
Click to collapse
A good one which i've used for a while, is "Beyond Compare". I'm afraid it's not free, but it can be found elsewhere. Personally I think it's worth the charge, as I use it for all kinds of things. It does date, content, binary, CRC and many other comparison techniques to detect changes in files, and shows yu a side by side vew of a directory tree.
Um, doesn't your diamond ask you if you want to sync or use the internal storage as secondary drive ?
It's ok but you don't have access to the phone's ram or rom.
Armin_M said:
Hi all,
is there a (free) sync tool to use with a diamond connected as hard drive without ActiveSync?
Great would be if the program does a diff/merge on the .txt- or .docx-files etc. and not just decide by changedate.
Armin
Click to expand...
Click to collapse
I believe WinMerge does the job
it already does
Try GoodSync
Thanks!
Thanks a lot for the replies.
The tools look promising. I will test them the next days.
@dan168: Are you sure WinMerge has syncing capabilities?
You could use synctoy - its free from microsoft and does folder syncing.
StarMonkee said:
You could use synctoy - its free from microsoft and does folder syncing.
Click to expand...
Click to collapse
Thanks for the hint. In general it seems to be useful. Do you know a way to use it not so much as an application but as a deamon syncing automatically.
As far as I know it relies on a specific Folder - in this case the drive letter. Is there a way to assign a specific letter to the diamond that does not change after reconnecting?
Armin
SyncToy seems to do the work - without merging.
Thanks to spone1 and the tutorial on about.com the diamond now is always drive letter "P:".
For syncing I start a batch file including this:
Code:
"C:\Program Files\SyncToy 2.0\SyncToyCmd" -R
PAUSE
Last thing is, that I have to disconnect the pda manually by clicking the icon in the task bar. Does anyone know a command line command?
That tool should do it, but I rather would use Vista directly.
Armin
1st of all the internal default (if you choose to sync as disk storage), is you will only be able to see and read and write to the main memory and the internal storage is off limits.
the rest of the solution offered are you need some sort of software to sync the folders from PC to Phone (vice versa)
what the thread starter wans (and what i wan also) is to turn this phone into a thumbdrive / portable flashdisk, with out activesync or any software and default as that when i pluck into any PC.
anyone has any solution to this?

Stopping Activesync

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.

Browse "Windows folder" slow, from WM7 Synch Center

Hi,
Hd2 is fantastic fast... But browsing "Windows folder" from WM7 Synchronization Center via USB is so slow!
Does somebody know a way to speed up the this "windows folder" browsing.
I did not find a way to fix this in xda or Google. May be i missed it.
Using explorer or Resco explorer from Hd2 is ok, no slowdown.
Thanks in advance.
I can't even browse the Windows folder from Win7, it freezes up the explorer window, my computer and the phone until I unplug the USB cable. Very strange.
For me in W7 I can't even get to the Windows folder, it's hidden even with hidden files and system folders set as shown.
To answer, it just takes very long to enumerate the 10'000+ files in the windows folder with the rather slow activesync protocol.
@kilrah - in folder options there are two tick boxes that control visibility.you need to both tick show hidden files and folders, and also a few entries further down untick hide protected operating system files.
plus don't forget to apply settings to all folders.
@OP its always been slow over active sync.personally if I'm dealing with files in windows I copy them to sd with resco on the phone and only then browser the sd from the pc.
samsamuel said:
@kilrah - in folder options there are two tick boxes that control visibility.you need to both tick show hidden files and folders, and also a few entries further down untick hide protected operating system files.
plus don't forget to apply settings to all folders.
@OP its always been slow over active sync.personally if I'm dealing with files in windows I copy them to sd with resco on the phone and only then browser the sd from the pc.
Click to expand...
Click to collapse
Thanks for your suggestions, but does somebody knows a way to realy speed up browse of "Windows folder" from WM7 explorer?
I dont think there is a way to "speed" it up through sync center. Even browsing the directory from your phone itself takes moment to populate all of the files in there.
First time I loaded that dir from my old old phone I thought it was frozen too but after a few minutes everything came up lol.

[Q] Connection-Screen regs?

The main-problem:
Last saturday my Blackstone decides to deactivate the Touch-Device. The phone works well, but I can't use the touchscreen for input.
To get data from the device I like to use ActiveSync ... Idea is not bad, BUT
on connecting the phone with the pc it pops up the connection-screen, which let me decide if i want to use active-sync, hdd-mode or internet-connection.
Well if you can think by yourself ... every option is activated, but i can't activate the active-sync-connection.
Do you have any idea how i can change this preselection to active sync? Maybe via registry?
My idea is: change this reg-value via cab-file and a folder (called 2577) placed on an empty microSD-card. After this i hope it's possible to connect via active sync and copy needed data by using MyMobiler.
THNX a lot!
Best regards, synth
Hey, I just need the reg-entry and the reg-value to change the preselection!
Is nobody out there who knew this? =..(
THNX, synth
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\HTC\USBToPCPopUP]
"Option"=dword:00000000
"Option"=dword:00000000 is for "ActiveSync"
"Option"=dword:00000001 is for "Disk Drive"
hope this helps
fwt
hi,
thank you for your anwser.
i found them at htc-developers.de ... but they didn't work.
my device only want to use internetconnection or hdd-mode
Have taken an other way ... copied everything from internal storage to sd-card via mortscript.
thnx a lot, synth

Categories

Resources