[Q] How to import a key to registry when WM does not start? - XPERIA X1 Q&A, Help & Troubleshooting

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

Related

.cab queries

Hi,
I need some assistance. I am currently cooking my extended rom. My Extended rom does not have enough space so, i am putting some of my MUST HAVE softwares in my storage so that it installs after a HARD RESET.
But, most .cab files will auto delete upon launch. Is there any way to make
it not delete ? Kindly assist.
Thanx a million
You can avoid the CAB files being deleted by making them read-only.
Well i mean that there is a Registry hack that will not delete .cab's on installation, but you would have to make a .cab with that registry setting and install it as the first thing after hardreset, although i dont think it will work since the registry is already loaded, and the new setting require a reboot to work.
Look in Wiki for registry hacks.
So why dont you just Write protect the .cab's that you want to hold on to
bosjo said:
Well i mean that there is a Registry hack that will not delete .cab's on installation, but you would have to make a .cab with that registry setting and install it as the first thing after hardreset, although i dont think it will work since the registry is already loaded, and the new setting require a reboot to work.
Look in Wiki for registry hacks.
So why dont you just Write protect the .cab's that you want to hold on to
Click to expand...
Click to collapse
i have tried that but, dont work
All my "wanna hang on to" .cab's are write protected, and non of them get deleted upon installation.
Manuel installation that is.
bosjo said:
Well i mean that there is a Registry hack that will not delete .cab's on installation, but you would have to make a .cab with that registry setting and install it as the first thing after hardreset, although i dont think it will work since the registry is already loaded, and the new setting require a reboot to work.
Look in Wiki for registry hacks.
So why dont you just Write protect the .cab's that you want to hold on to
Click to expand...
Click to collapse
ermm.. how do i go about it... i wanna auto install stuff like Pocket Informant , SPB Pocket Plus and my must have s/w upon hard reset
Thats why i need to coookkk
I have room enoughf in my ExtRom, so I have never auto installed from other than the ExtRom.
But I'm almost 100% sure that there was a topic on auto installing from \Storage (Card) sometime ago.
Maybee youll find some info in the Wiki
http://wiki.xda-developers.com/index.php?pagename=BA_RomKitchen
bosjo said:
I have room enoughf in my ExtRom, so I have never auto installed from other than the ExtRom.
But I'm almost 100% sure that there was a topic on auto installing from \Storage (Card) sometime ago.
Maybee youll find some info in the Wiki
http://wiki.xda-developers.com/index.php?pagename=BA_RomKitchen
Click to expand...
Click to collapse
well, i dont seem to find anything of what i am looking for
Wait a day or two, maybe someone who knows come along.
You can use a software name Cabinst wich let you install a cab without deleting it.
Easy.
Hi,
Easiest way is to make cab read only. Browse the storage card using PC via activesync. Right click on cab file. Go to properties and make it readonly.
You can also change the deafult beahvior of Instal by changing registry key.
Shikra said:
Hi,
Easiest way is to make cab read only. Browse the storage card using PC via activesync. Right click on cab file. Go to properties and make it readonly.
You can also change the deafult beahvior of Instal by changing registry key.
Click to expand...
Click to collapse
change which part of it ?
http://forum.xda-developers.com/viewtopic.php?t=16377
M4io said:
in browsing my editor i stumbled upone these :
Code:
[\HKLM\SOFTWARE\Apps\Microsoft Application Installer]
fAskDest=0
fAskOptions=0
fEnablCef=0
nDynamicDelete=2
Supported="PALM PC"
* fAskDest=1 gives you a popup when you install a CAB so you can install on Storage Card for example
* fAskOptions=1 asked before overwriting, haven't found out if/what other options
*fEnableCef : I haven't messed around with that
* nDynamicDelete=0 and the CAB file remains, =1 it disappears but what the difference with the default value 2 is I couldn't figure out.
So if anyone else wants to experiment with it and post their findings
I searched Google but all I could find was about fAskDest
Click to expand...
Click to collapse
keep the ext rom empty,
after reboot hack the reg to point to new area.
Run the autorun from threre.
Have all files as read only.
info under
http://forum.xda-developers.com/viewtopic.php?p=83119#83119
Only problem is that all cabs are installed in the default location.
I have yet to get cabinstall to run in batch mode using the nscript tool.
Hope its what you are after

GPS ROM & WM5torage

Im using the dopod rom withiut any problems... but i cannot use wm5torage program anymore...
Any solution for this?
vdias said:
Im using the dopod rom withiut any problems... but i cannot use wm5torage program anymore...
Any solution for this?
Click to expand...
Click to collapse
Try with some program to boot in safe mode.
That work's for me.
safe mode
I have the same problem...
please could you better explain what does it mean to boot in safe mode ?
thank a lot
vdias said:
Im using the dopod rom withiut any problems... but i cannot use wm5torage program anymore...
Any solution for this?
Click to expand...
Click to collapse
Strange...
I can use Wm5torage without problems.
Only had to reinstall the program .
settings
could anybody details used settings ?
installed on device orin storage card?
other settings ?
I tried 4 times , both destinations , eveytime I get an error popup when I try to activate.
In Hermes you need to do this before using WM5Torage:
Settings --> Connections --> USB to PC and disable "advanced USB functions"
error
I tried again , that flag was off
the error says
:Can't switch to mass storage usb driver , error if.......
any idea?
A bit strange. I clicked the submit button only once but had a double posting.
@tower5
problem seems to be related to a programm which is always checking your space on sd card or something like that. Iam using Pocket Plus to bring my device up in safe mode. so far so good.
I still have not found out which programm is always have access to sd card.
Maybe it is the system itself which always have access.
Hope this helps in any way.
WM5torage
Forgive me, what is WM5storage? Is it an extra storage space? I have just got my D810 flash, do I need to flash it again?
thks
I have the same problem too.
First time I have start wm5torage (v.173) I can browse my miniSD, but when I try to copy something it dosen't responce.
I think wm5torage "disconnect" card from PDA system and not send to system signal that it run. System power manager put itself to "half-sleep mode" for batary economy.
I try to chek this. Just switch to today and press UP and Down keys to prevent Trinity to sleep.
Great !!! wm5storage work !!!
I cheked that with different GPS ROM's
I use Softick Card Export II and works without problems.
WM5torage don´t works me when is ANY program installed in storage card - unusable.
!SOLUTION! WM5torage !SOLUTION!
Hi all,
Just like to add my input as I was frustrated with this for a long time. The program that seems to be problematic is called "VCDaemon.exe". It is some background process for "Cyberon Voice Commander". It runs in the background and seemingly decreases the load time when you hit the voice command button. What I have done is stop it from automatically loading by removing the link from "\Windows\Startup\". What you could also do is use "Task Manager" to kill the process which also worked for me. However, everytime you start up voice commander the process will restart itself so you will need to kill it again.
Needless to say as well that WM5torage, cannot be installed to the storage card as otherwise it cannot lock the storage card.

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

Screen align problem.

Hello, i just flashed the Touch IT 4.5. But im having problems with the startup screen align, the problem is that my screen is cracked and i cant do the align. Any way i can write some file, conectiong thought USB to my phone, or any other way to do the align?
Haven't tried it but maybe you should try mymobiler?
You probably have to edit the rom w/ the following (or maybe remove welcome.lnk in startup) to bypass the alignment (which I doubt Itje's rom is editable because of the nature of Bepe's kitchen)
[HKEY_LOCAL_MACHINE\Software\Microsoft\Welcome]
"Disable"=dword:ffffffff
jackleung said:
You probably have to edit the rom w/ the following (or maybe remove welcome.lnk in startup) to bypass the alignment (which I doubt Itje's rom is editable because of the nature of Bepe's kitchen)
[HKEY_LOCAL_MACHINE\Software\Microsoft\Welcome]
"Disable"=dword:ffffffff
Click to expand...
Click to collapse
I cant actually delete the file, it just doesent let me.
Any way i can edit the registry thought the Desktop PC?
About Mobile Me it just doesent work for me..
Max399 said:
I cant actually delete the file, it just doesent let me.
Any way i can edit the registry thought the Desktop PC?
About Mobile Me it just doesent work for me..
Click to expand...
Click to collapse
..... Read my reply carefully. U need to "edit the rom". In other words, you have to edit the rom before you flash. Since you can't get pass the initialization page, you have NO WAY to edit thru PC.
OK, well i managed to get thro the align by deleting the welcome.lng
But now the touch screen doesent work.
Im controling the Pocket PC thought the Desktop PC with a programm. But even with it i cant do the align.
Maybe theres some registri settings for the calibration points, or something?
U need to be able to use the touchscreen..
you should create a file "welcome.not" and put in to SD card (if its called Storage Card), or to the device root, that shall work. (and do a new hard/soft reset )
that must skip the align screen.
Der_Immitanz_konverter said:
you should create a file "welcome.not" and put in to SD card (if its called Storage Card), or to the device root, that shall work. (and do a new hard/soft reset )
that must skip the align screen.
Click to expand...
Click to collapse
Well done. Thanks so much!
Der_Immitanz_konverter said:
you should create a file "welcome.not" and put in to SD card (if its called Storage Card), or to the device root, that shall work. (and do a new hard/soft reset )
that must skip the align screen.
Click to expand...
Click to collapse
I have a same problem.Align screen was skipped when i put welcome.not in SD but screen doesn't work right.
how can i fix screen without align screen??
mymobiler doesn't connect to my phone too.

ROM upgrading with Co-Pilot 8 installed

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?

Categories

Resources