Just got my hands on a 5800. I tried installing our custom MTM on it. It mostly works fine. The problem is that uninstalling the MTM is next to impossible. There seems to be some background application that acquires a lock and never releases it. According to my logs an instance of the UI Data module is constructed and never destructed. So when we try to uninstall the MTM (or install a new version), and call CMsvSession::DeInstallMtmGroup() I always get a KErrInUse error.
It must be something that gets loaded at startup, because if I reboot the phone and try to uninstall the application very quickly after the phone boots up it will sometimes succeed (but not always).
Does anyone know why this happens? Any workarounds?
Or alternatively, is there any way to find out which process holds the lock for a specific file (in my case the MTM's .rsc file and also the log file are locked), so I can at least have an idea as to why this is happening?
Thanks in advance,