ROM upgrading with Co-Pilot 8 installed - Touch Pro2, Tilt 2 Windows Mobile ROM Development

I have Co-Pilot 8 on my phone. To install you put the Co-Pilot 8 directory on the SD-card and it automatically starts. When I upgrade the ROM, this seems to interrupt the install process and it will not complete. So, I end up removing the Co-Pilot 8 directory, installing the new ROM and then copying over for re-install and have to enter the KEY codes again and again.
Is there a way to keep Co-Pilot 8 on the card, stop the re-install and leave it installed on the memory card? I understand I would need to copy the registry entries. What else? How do I stop the self install?

This won't be the answer you're looking for...Option 1 - I allow it to auto install up to the next prompt; whether to install to device memory or SD memory card and cancel it there and continue forward with configuring the device. I'm in the middle of learning to do all of this auto-install of my CAB files, e-mail settings, etc. I know exactly what you're talking about but I tend to ignore it. You must keep the folder "2577" as it's own on the storage card (root) or lose everything you have saved and the product key. I try to remember to deactivate but it's not committing suicide unless you change hardware devices. It simply asks for registration e-mail address and password.
Option 2 prior to flashing temporarily move "2577" to within folder "copilot" and move it back to root when you're done configuring your device.
Both are not the solution I think you're after and I've yet to figure out where in the registry that instructs it to Auto-Install after "X" amount of time. If
you find it, please let me know; take care and thanks!

Just a thought but you could try deleting the AUTORUN file in the 2577 folder, ya know, since you don't want it to Autorun or anything.

I removed the Autorun and indeed it did not interrupt the new ROM update.
When I placed the Autorun back it tried to run but gave an error. I found out that the copilot.wmppc.cab file is deleted after install so I had to copy that over and then it installed. As I installed to memory card again, it picked up the keys.
For next rev I am doing a pre-install and post-install registry compare. I will add the registry edits to my XDA_UC file and also copy the link across to the Windows folder to see if I can just upgrade the ROM with no install needed.
Anyone know why this 'shouldn't' work before I try it?

Related

Delete Unwanted Programs?

I am trying to delete programs that I believe I don't need. I use WiFi and do not have T-Mobile Internet Plan. Would I create a problem if I delete the following:
DAT MailTrigger
OZ Communications OM IM
T-Mobile HotSpot Login Utility
Thank you!
Are these in your Remove Program list? If not, you may not able to 'uninstall' these nicely.
What I suggest is that you may want to have a look on your Ext ROM, get all the CABS file there. Use some CAB managers, to open each of them and see where they have places the files and delete them. If things goes wrong, you can always have it installed since you already know which CAB is responsible for which.
Or, if you can affort a hard reset, reset your device and do not allow the Ext ROM to be install (e.g. soft reset your device after the security setup). Then, go into your Ext ROM and install the CAB files one by one, to identify the CAB files that you do/do-not want to install. This will give you a clean installation.
hanmin said:
Are these in your Remove Program list? If not, you may not able to 'uninstall' these nicely.
Ys, these are in my Remove Program list. They are loaded apps/software that is part of the T-Mobile total package. I did not load these using a CAB file. I guess I will just take a chance and remove them and see what happens. Like you said below I can do a Hard Rest if I need to. Thanks for your input. I do appreciate it.
TonynMI
Click to expand...
Click to collapse
I remove those apps if I remember too and since I've never had a need for their functionality, I've never had a problem because of uninstalling them. All you really gain, however, is a tiny bit of memory...which is probably why I usually don't remember to remove them.
Just completed removing the following:
Memory Available Before/After Removal: (Saved
DAT MailTrigger 3450/3624 (174)
OZ Communications OM IM 3624/3629 (5)
T-Mobile HotSpot Login Utility 3629/4052 (423)
Restart after removal and no problems.
Thanks for your responses.

How to keep Storage clean and XDA fast

Free up storage:
-why
-how (simple)
-how (using utilities)
-how (advanced)
WHY
-The less files in storage, the faster your device
-Your storage is almost full and you want to install more
-summed up: your XDA is a mess and needs a good cleaning
-I believe the RAMdisk is faster than NAND ROM where storage is located
-Even the slowest SD card hardly shows any slowdown on most program starts
HOW simple
-Go to ActiveSync on your desktop PC
-Go to Tools>Add/remove software
-In Add/Remove Software uncheck "Install program into default installation folder"
-In the installed programs list uncheck a program
-Take a (mental) note of "Space available on device"
-Click OK
-Ask yourself if you really need it
-If so, check that program again
-Click OK
-Follow instructions on XDA, select \RAMdisk or \Storage Card as install path
-Check "Space available on device"
-Be happy
-Continue with the rest of the installed software in the same way
-Some programs refuse to follow your orders, most will move out of the way
HOW using utilities
There are two utilities that I know of that are able to transfer some of the files in your storage to RAMdisk or Storage Card, both commercial:
Wizcode Pocket Mechanic
SKTools
I'm not a fan of either of these. SKtools was only able to relocate 1.5MB of files that I could have easilly moved manually on a total mess that allowed much better results. Pocket Mechanic moved so much more that after a soft reset my today screen was as clean as a whisle, none of my today plugins loaded... OTOH both do have a lot of other neat tricks up their sleeves.
A neat little tool is System Path from http://www.geocities.co.jp/SiliconValley-Cupertino/2039/
Watch out, perhaps well documented but only in Japanese. Tips: unzip, place in \Windows, soft reset, find applet in Settings\system\system path. And never uncheck \Windows, just ADD seach paths.
There are lots of other nice tools on that page...
HOW advanced
-Copy files to their new location
-Edit their shortcuts
-Export all related registry keys, then edit them to the new path
-Rename the original files (I always add tmp to the extensions)
-Test if they work from the new locations
-If so, remove the original files
-If not, check if there are for example .cfg, .ini or other settings files you should edit
-Always use an editor for this that can handle both ASCII and Unicode!
-Have courage, luck and enough time
-Think first, blooper next...
Really appreciate your tips.
On your guide using AS to check the memory, do you mean by unchecking, the space available will change accordingly? I did not see that.
The problem is I don't install most programs on device storage but on SD card. Now cannot really decide where the programs are residing except by look at the "Program Files" in both Storage and SD Card to decide.
System Path is interesting. I will be trying it out.
Not just by unchecking, but by uninstalling programs that were first installed with default path on, then reinstalling with default path off. Of course if all your software is already on RAMdisk or Storage card to begin with, you won't notice a change because nothing changes. This thread is for people who 've used a lot of EXE installers with default path on, they run into lack of Storage and often have no idea how to solve it.
Disadvantage
A big disadvantage when you install your programs in ramdisk:
When your battery runs flat, you loose everything on the ramdisk. Ramdisk is only persistant when doing a hard reset and NOT by an empty battery.
mach2005 said:
A big disadvantage when you install your programs in ramdisk:
When your battery runs flat, you loose everything on the ramdisk. Ramdisk is only persistant when doing a hard reset and NOT by an empty battery.
Click to expand...
Click to collapse
That sounds fair, RAM needs some power to keep its contents. But I've drained my main battery several times willingly for test purposes without loosing a single bit on RAMdisk. Obviously it needs just the backup battery. I never drained that. But I do keep a copy of my RAMdisk on my PC and advice all to follow that advice. MOBsync makes this even easier than ActiveSync.
Hi,
i cant seem to be able uncheck the box (its not available- blanked out) ..
Most of my softwares is installed in RAMDISK and storage card except for must be in storage utilies. Yet my storage space is almost full ... i cant account for it.
I am using activesync 4.5 build 5096
Where did you install the programs/applications from? Did you put .cab files in your /temp folder? If this is the case, with most if not all .cab files you can delete them after installing the program. They can take up a fair bit of room. Cheers.
mantd said:
i cant seem to be able uncheck the box (its not available- blanked out) ..
Most of my softwares is installed in RAMDISK and storage card except for must be in storage utilies. Yet my storage space is almost full ... i cant account for it.
I am using activesync 4.5 build 5096
Click to expand...
Click to collapse
Did you expand your RAMdisk size? see http://forum.xda-developers.com/showthread.php?t=332215
Your activesync version should have no effect on the available storage.
Hi Maggy,
Yeah, i did.. I managed to recover 3mb + by deleting and reinstalling back some of my apps. Thanks for the tips.
I am using c_shekar WM6 AKU7.
This is my current memory config:-
Storage
Total 30.53 Mb,
In Use 26.08 Mb,
Free 4.45Mb
Programs
Total 61.28Mb,
In use 28.18,
Free 33.10
Is it normal for the storage to grow even when programs are installed in SD or Ramdisk ? Anyway to know which files were installed and where ? Then it would be easier to move it somewhere else
-mantd
All installed programs put some lines in registry, so that grows. Lots of programs create garbage in registry and often do not clean up after uninstall.
Programs that need dll's will place them in \windows, all installed programs create shortcuts (.lnk) in \windows\start menu\programs. All of this adds up to Storage In Use.
Most programs install either in \Program Files or \RAMdisk\Program Files or \Storage Card\Program Files. Often in their own subfolder. If not, then read their shortcuts to find them.
At initial installation most programs, especially those with PC exe install, will install in Storage even if you click RAMdisk or Storage Card. Today plugins have more or less valid reasons to do so, otherwise it's just plain stupid and annoying. Lots of cab installers have the same behaviour but cab's can be edited to change this behaviour (not all). By running PC exe installers without your device connected it will create a folder C:\Windows\Program Files\[app-to-install] which will most likely contain a cab...
success
"There are two utilities that I know of that are able to transfer some of the files in your storage to RAMdisk or Storage Card, both commercial:
Wizcode Pocket Mechanic
SKTools"
Found that tiny tool:
MobileAppMover
It´s freeware.
First search - than search and overwrite.
The site from the developper of MobileAppMover
http://www.iaccarino.de/silvio/ppcstuff.htm
His description:
MobileAppMover is a tool for moving all references from a specific directory to another directory. It will search and replace a given path in the whole registry and in every shortcut. You can use this to move complete program installations from memory to storage card and vice versa. The files itself won't be moved by this tool.
For use at own risk only!
So it's not a tool for noobs who do not know the difference between a program and a Today plugin or who do not know how to move the appropriate files manually. Neither of the two commercial tools are able to move every today plugin, strange things will happen if you try to move them anyway with mobileappmover. Please be sure to have a Safe Mode boot utility installed before you try this at home.
In the worst case scenario you'll need to reflash your ROM.
IE Cache size ?
Hi,
When I changed the registry key to limit cache size avoiding low memory error in Pocket IE first it's ok but after I resetting the device all device settings and registry back to old settings , how can I solve this problem ?
You were modifying this key?:
HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content - CacheLimit?
yes it says 43018
each time I edited this when I reset the device this setting turns back
use schaps Advanced Config 3.0, its the best tweaking app htere is
schaps Advanced Config
ather90 said:
use schaps Advanced Config 3.0, its the best tweaking app htere is
Click to expand...
Click to collapse
Yeah i used it too. Thats powerfull tool. See here: http://forum.xda-developers.com/showthread.php?t=317070
good

Weird worry with trusted certificates

Hi,
i needed to restore my device from a backup with Sprite version 6.2.2(upgrade full version not the light one coming with my stock rom) ,
when a strange event occured:
After the restore and the device's reboot all none pre-installed(thoses present in stock roms) softwares werent able to be launched,
i had a message " not signed with a trusted certificate, or one of its components cannot be found"
and if i cliked on "yes", i had another message like "pocket informant failed to launched /Or editor unknown" and that with all the soft i had installed since my kaiser purchasing(voice command(from MS !)pocket mechanics , phm regedit, even sprite backup).
I tried the xdadevelopper kaiser tweak.exe and advanced schapps configuration tool(to tweak the "none trusted cabs installation security" but both refused to "run"(kaiser tweak) or be installed (schapp's) from my sdcard and so tried to run an install from my
pc of "phm regedit" but windows mobile center 6.1(under vista) gave me an error "unable to install/install failed" like if all my device was 'read only'
or if no "administrator privileges" were given to me on the device(from laptop or its sdcard).
ps:i wasnt able to merge(double tap) even a registry backup made on my sdcard before or install the SDK certs cab file .
So from my backup folder on my sdcard(where i had 3 different backups with 3 different dates), i tried to run the backup.exe(s), but i had the same worries(the exe wasnt able to be launched).
I decided to wipe out all datas via 'parameters/system/wipe' all datas"(kind of "soft" hardreset) (reboot+"device's first use configuration")and run the backup from the sdcard without any luck.
(the restore is done but at the device start i had many errors like "Pi calendar failed to launch", "voice command" etc
the only way to retrieve my device was to wipe out all datas
like just above and launch a restore from sprite backup on my laptop
(i had to reconnect/disconnect/reboot from usb my device +wmc 6.1 close/"re-launch", 2 or 3 times, in order to be able to restore it)
What i dont understand, last week i had to do a full restore from one of my backups (from sd card ) and it worked(no certificate worry and without prior wipe out) :
So when i wipe out all the kaiser and launch a restore from sdcard
why do i have a worry with "trusted certificates" as the backup is an image
of what was working(when created), it's as if some registry parts or "certificates"(dont know what kind of files, it is) were missing
why?
any idea replies will be welcome !
thanks in advance
Hi, I had the Problem today,too... when Sprite Backup fails oder something like that, then all no plugged-in certificates are away.
I don't know, where I could restore them - some people who had the same problem didn't found any help by restoring a former backup.
But there's a (little bit annoying) solution WITHOUT Hard-Reset :
1. At first you need a Registry Editor - and I think your Registry Editor won't work, too - because of the certificate.
So - Reinstall it
2. Then go to the Key HLKM\Security\PromptExclusionList and erase everything (except from DEFAULT). So that Registry-Directory is empty.
Now there are the thirst-party-Certificates are no more known from Windows Mobile
3. Now go to your Programs in Programms-Menue which didn't worked... you will be prompted everytime because of the certificate - and confirm it with yes... and you have the certificate for further times
When you have very much programs installed... then you will have very much to confirm... but after a Hard-Reset... I think that's much more mork, isn't it? Especially when you have a special theme (I love the black theme for 1.93)...
Hope it works fine, too. And I'll have a look for another Backup Tool, which makes Backups and doesn't destroy certificates
Greets from Germany
Pierre
Hey,
Just had this problem too, no one seems to have written the solution about this. I had to do a hard reset my certificates were also missing, also I was unable to remove installed programs via remove programs. Using HTC Touch HD with stock WM6.1 and upgraded Radio 1.12.25.16.
The back up was made by SunnySoft 3.7 and was a self executed one, which I did once the hard reset was completed. However, I found if I then reinstalled SunnySoft via Active Sync and then restored the backup again this solved the certificate problem but not the uninstall one.
I am now trying a new hard reset and then install SunnySoft before I restore anything, hopefully this will work.
No joy with the backup. The problem with the certificates was because SunnySoft program wasn't restoring the whole backup (I guess due to its size), works better when files restored bit by bit.
However, everything appears to be fine until I try to Remove installed software...Nothing I can do allows me to remove anything from the program list, just says it wasn't uninstalled properly do I want to remove it from the list (but doesn't). I can't even reinstall the software to fix it, just fails install.
Is there anyway to rebuild the program list or reinitalise the list to install over the top again and allow items to be uninstalled? Where are these settings located?
Failing that, I'll want to rebuild the system from scratch, but I need to know where the contacts and SMS messages are located in the system (so I can at least keep these).
Thanks for any assistance in advance. By the way, what is the best backup software which works for WM6.1???
Solution...
Moved on a bit with this (sorry if no one is interested in my self replies but this might help someone with the same issue)
The Remove Programs seems to end up in two different states:
1) Blank and new installs fail 2) Populated but programs can not be removed but new installs work (This state we can work with).
I think to get to state 2 the difference is installing Sunnysoft Backup after the Hardrest via active sync (I guess this helps it initialise the Remove Programs list).
Restore Data:
As mentioned before if the Restore doesn't work in one go (mine is about 50Mb compressed) then only restore the files (all except windows/internal store/registry/database), this gets a good chunk out of the data out of the way (the system resets after which is why we purposely miss out anything which effects what runs on the system). Now restore all the "folders" within windows (except appdb/AppMgr/Start Menu/Start Up/System and files within Windows), again this avoids anything new running without everything being ready when it restarts. Finally, restore the Database, Registry, Internal Storage and any remaining folders & files within windows. If you don't get certificate issues and the Remove Programs is populated it is ok to move on to the next bit.
Remove Programs:
This problem here is the SunnySoft backup defaults to not including tmp files. Unfortunately the registry references to tmp files stored in Windows\AppMgr\{appname}\ which are now no longer there (THANK YOU SO MUCH!!), this is what is stopping the program from being removed or reinstalled correctly.
1. Look up the name of the tmp file in the registry: HKLM\Security\AppInstall\{appname}\Uninstall\
2. Copy an old tmp file with the correct name i.e.1001.tmp in Windows\AppMgr\{appname}\. NOTE: Install a new program, copy it's tmp file. Then uninstall the new program again.
3. You can also note down the references to the other files if you don't have the original install (but this won't be the cleanest way).
4. You can now go ahead and remove the program from Remove Programs List.
5. Finally remove the files you noted or reinstall the program (and uninstall as you would before if required)
How stupid.

IGO8 - can't install/uninstall

Hi,
I've instaled IGO8 the other day, but for whatever reason mine phone decided to soft reset during instalation. It might have been my fault as I usually do something elese on the phone while installing sits in background.
Anyway, after the reset I was able to run IGO but it closed after I have inputed adress to it. The error said that map.(can't remember the extetnion) was missing. I figured out that because of soft reset during instalation I haven't had all files in IGO.
I couldn't uninstall it from remove programs so I deleted it with tcmd, as well as the files in windows (there where couple of them assigned to IGO) but couldn't find any registery entries for it (using TCMD).
Now every time I try to install IGO, cab says that I have it already and does not install anything apart from the files that go into windows.
I know that I need to delete everything that IGO left on my kaiser off the system, but i don't know what.
I don't want to start hard-reseting just yet.
Thanks in advance.
Check your 2577 dir and delete all iGO stuff in the programm folder.
Use memmaid to REALY uninstall it and check reg.
Switch off phone, pull SD, switch on phone with valid 2577 dir and it should install.
Your 2577 should look like (see attached)

[Q] How to import a key to registry when WM does not start?

Is there a way to import *.reg file to the registry when WM does not start?
The problem is I have changed a key HKCU\ControlPanel\Sip\DefaultIm to change default keyboard and now WM doesn't load. It stucks before the green screen after initial Xperia animations. I guess either I've entered a bad CLSID or it tires to load keyboard before it mounts SD card.
Anyhow I have access to SD card contents only (via SDcard reader) and I would like to change the mentioned registry key contents. How to achieve this goal?
Thanks in advance.
Hm generally I'd like to mention: Don't install anything that autostarts on your storage card. To solve your problem: What about the active synch connection to your pc? Does it work? You could access your phones registry by using your pc.
ActiveSync of course do not work.
then hard reset phone .... or flash a new rom
Yep, I think this is the only solution for your problem.
guess it locks too early to do anything. with activesync would've been easier.
but you can try auto-install from sd-card:
- make a cab with your reg-settings
- make a dir called 2577 on your sd-card & put the cab in
- boot and see...
but i really think that directory is read at a later stage of boot-process.
so a hardreset should be your only option.
Hardreset to go to the original state of the last ROM flash, also of registry

Categories

Resources