Edit Reg on first boot - Windows Mobile Development and Hacking General

Hi all, Before i ask my question let me say i have searched first and tried all the different suggestions but as its still not working i am asking here.
I have a series of reg tweaks (set timezone/delete beta key/set startmenu icons/set ringtone/screen backgrounds etc etc), basically all the tedious stuff i do after flashing. I have added this file as an app.reg, converted as a provxml, tried as a xml, had mortscript call it, placed in config.txt on operatorpkg dir, placed as a package in my EXT folder to run last (package folder name zz_mytweaks) - whatever i do its not setting ALL the reg keys?
No matter where/how/what format i place it, it always runs but sometimes it will set say the icons and timezone and some others but not other keys. Then i reflash THE SAME ROM and again it runs but some other keys will be set but not other ones which may have worked the first flash? There doesn't seem to be any reason why ALL the keys aren't being set as during different flashing attemps, all the settings have been changed but NOT ALL TOGETHER, just some this time, others next time etc etc so the reg entries are obviously correct.
Any suggestions?
Secc

When using Mortscript you could use a Sleep command to delay executing a reset.
You could also have a look at Sashimi. This works very well with importing numerous registry key's.
Concerning importing REG keys I found DotFred's Task Manager to contain the most reliable import function. Might have a look at that as well

mccune said:
When using Mortscript you could use a Sleep command to delay executing a reset.
You could also have a look at Sashimi. This works very well with importing numerous registry key's.
Concerning importing REG keys I found DotFred's Task Manager to contain the most reliable import function. Might have a look at that as well
Click to expand...
Click to collapse
Sashimi uses in fact this very TaskManager to export and import the registries. If you do not want to use Sashimi you can write a MortScript calling the TaskManager to backup all registries involved and to import them after flash. If your new ROM supports UC or XDA-UC, you can also import the registries that way.

Related

Utility to Compare Registry ?

Greetings,
I had some strange behaviour recently on my Wizard which after much analysis decided to try a hard reset. It worked like a charm and all is well now.
I had to re-install my programs and settings and I also understand that the registry gets returned to factory defaults.
This leads me to something I remember seeing for Windows XP which was a utility that compared reg keys, either using an original and current copy of the registry as a basis for comparison or a real-time utility that informed the user each time a key got changed.
I don't think the Wizard CPU could cope with the latter but a reg compare utility might be useful for future. Does anyone know of such a beast ? I did do some searching and checked the Wiki but couldn't find anything.
TIA,
Tony
I'm looking for the exact same thing. Certain apps change some settings after an install and I want to go into the registry and delete them.
Does anyone know of a good FREE app on the PC side to compare the contents of 2 txt files??
I found SPB Backup backs up the registry into a few text files (this is after you extract them from the backup).
I'm looking for something like this, but free : www.grigsoft.com/wincmp.htm
Personally, I use an XML query of he Reg CSP and then use an XML comparison tool (XML Notepad 2007) to look at whats changed.
I think you have a couple of decent options here... firstly, you could install PHM Registry Editor on the PPC, export the registry both before and after any changes you make. Then copy the exported files to the PC and check for changes using Windiff. This will tell u what has been added, changed or removed between the two files.
Alternatively, take a look at SKTracker (Google) - this app lets you take snapshots before and after, then compare (registry and file changes).
I've used both methods with success, see what you think.
JoelC said:
I think you have a couple of decent options here... firstly, you could install PHM Registry Editor on the PPC, export the registry both before and after any changes you make. Then copy the exported files to the PC and check for changes using Windiff. This will tell u what has been added, changed or removed between the two files.
Alternatively, take a look at SKTracker (Google) - this app lets you take snapshots before and after, then compare (registry and file changes).
I've used both methods with success, see what you think.
Click to expand...
Click to collapse
Thanx. I have both....I will give them a try.
SSnap.
V
I know this different from the topic a bit, but I was curious if you guys knew of a free registry cleanup app.

good back up prog for 6800?

i dont have the email setup so it wont back up my contacts. anyone know or have a link to a backup program that will grab my contacts?
why dont you sync it with outlook on your computer?
why dont you sync it with outlook on your computer?
http://handheld.softpedia.com/get/System-Utilities/Backup/NS-Contacts-Backup-Pocket-PC-20758.shtml
ca3sar said:
i dont have the email setup so it wont back up my contacts. anyone know or have a link to a backup program that will grab my contacts?
Click to expand...
Click to collapse
SPB Backup works great. Just search SPB Software and you will find it. It has a free trial that runs out after a little while though. I think its 10 bucks to purchase a license. I just set the phone up the way i want it and just back it up. It copies everything all the way up to registry edits, or you can just have it copy certain info. ( i just keep reinstalling the trial program)
if you just want to backup PIM stuff (contacts, calendar, tasks, etc), look in the development section of this forum for PPCPimBackup. works great
nxtech3 said:
It copies everything all the way up to registry edits,
Click to expand...
Click to collapse
Well, the probelm is it isn't capable of doing just registry "edits" actually. As far as I can tell it just backs up the whole registry. What's a good tool for just backing up selected registry entries? I know Phm will do, it, but it won't restore.
I ask because when upgrading roms you certainly don't want to overwrite the whole registry with the old one. It's probably dangerous enough to assume that just your old registry tweaks will still work... but probably not too dangerous to be worth trying.
I use PPCPimBackup2005-6. You can d/l it at www.freewarepocketpc.net.
Great program.
how about backing up stuff besides PIM?
I have outlook and am synching between it and my Titan, so that takes care of backing up the contacts, schedule, etc.
Now, how about all of the cool add-ons I've put in place? Any way to avoid having to manually reinstall it all if you were to wipe the Titan?
dagurasu said:
Well, the probelm is it isn't capable of doing just registry "edits" actually. As far as I can tell it just backs up the whole registry. What's a good tool for just backing up selected registry entries? I know Phm will do, it, but it won't restore.
I ask because when upgrading roms you certainly don't want to overwrite the whole registry with the old one. It's probably dangerous enough to assume that just your old registry tweaks will still work... but probably not too dangerous to be worth trying.
Click to expand...
Click to collapse
just copy and paste the selected registry entries with total commander.
Thanks. I know how to edit registry entries, and someone once taught me that modern computer gizmos have this cool copy and paste feature that you mention.
Seriously though, it sure would be neat to be able to compile all one's registry edits in one place and just click to install them. Obviously this is doable as people (here) write cabs to do it. I don't know how, or how simple it is. If it were really simple probably most everyone would do it, and there wouldn't be so many posts asking for cabs for things.
I think I saw something about WinCE CabManager possibly being a good tool for this? Maybe I'll play with it, but if there' s a simpler more single purpose tool for this, that would probably be better.
for reg edits you can use resco registry to export all the keys and values you change, then consolidate them all into 1 .reg file, then just import it after a hard reset or upgrade
I see it can read phm reg files... except you have to add a line at the top with the Windows Registry Editor program name or it will refuse saying it doesn't recognize the file.. That's seems pretty petty.
I found a better reg import solution. Total Commander has rather hidden registry editing capability. The registry is found in \\\registry\ or by switching to 2 virtual window view. Copy and paste reg files to the registry root and that's it.
I had one reg file missing carriage return at the end and rather than complain it made an incorrect value.. so maybe a little weak on sanity checks, but easy to use, and free and has a text editor included.
Now I can dump all my reg tweaks in one big file and save lots of time installing the next rom that will trun my phone into a personal teleportation device... with EnableUpsideDownMaterialization=dword:00000001 by default.

Write Registry Values to XML / Text File

Is there any program i can use to write a certain registry value to a XML file or a text file
thanks
MS
hundreds of...
total commander
dotfreds task manager
resco explorer
can these write a certain registry key to a text file periodically or do u have to manually do it ?
yes I want to find out also
Like I want to export my registry keys let us say "Owner Information" using command line and output file to Storage card. I do not care what format it is in. (.reg is fine). Right now I use Task manager and export one at a time. this is a little lenghty process
maybe try this one
http://forum.xda-developers.com/showthread.php?t=344167&highlight=command+line+registry+editor
which is a cmd-line reg-editor. don't know if it can do export as well, but i gues it does.
use this in combination with a scripting tool or scheduler (e.g mortscript)
Look like this is a tool to import from desktop or laptop
egoist6 said:
maybe try this one
http://forum.xda-developers.com/showthread.php?t=344167&highlight=command+line+registry+editor
which is a cmd-line reg-editor. don't know if it can do export as well, but i gues it does.
use this in combination with a scripting tool or scheduler (e.g mortscript)
Click to expand...
Click to collapse
I do not thinks you can run it from your Pocket PC device.
yeah. it runs on desktop but operates on the pda. maybe you can combine your syncing with a parallel read of your reg keys.
anyway, i am pretty sure there do exist cmd line reg editors

Best way to deploy a registry edit?

I need to modify about 200 windows mobile 5 devices with a registry edit for my job.
(This is what I get for being the only person in the office familiar with WM)
What would be the easiest way to do something like this? Normally I use SD/MiniSD Cards to install apps on the various devices - it would be nice to be able to create a .cab that would modify the needed key, so that I wouldn't have to edit the registry manually on every device.
Suggestions?
http://forum.ppcgeeks.com/showthread.php?t=10668
Might want to browse that or message one of them. I know i read somewhere how to put reg edits in cab format, but i can't remember where i read that at.
WinCE Cab Manager. Awesome program. Used it to create a .cab that contains all my standard registry edits and a bunch of files that I like to use (themes and such). Allows me to customize any flashed ROM very quickly.
It isn't an inexpensive program (I think it was $100 or so), but worth it. You can't import registry edits into the trial version, but I believe you can manually enter registry edits.
If you struggle (and if the edit you need isn't something that is confidential to your company), I can throw it in a cab for you. PM me if I can assist.

registered software - automatically register after ROM upgrade?

Hi,
I'm running all registered (NON-CRACKED) software on my ppc, which is why I need to do this. I frequently upgrade my roms, and my biggest pain point is entering the registration number for the ~15-20 apps on my ppc.
I'm copying settings/etc over, most often by exporting the registry keys for that software/reimporting it into the new rom - but the registration key typically doesn't get copied over.
Is there a different place in the registry that I should be looking at for that?
Thanks,
-mark
diomark said:
Hi,
I'm running all registered (NON-CRACKED) software on my ppc, which is why I need to do this. I frequently upgrade my roms, and my biggest pain point is entering the registration number for the ~15-20 apps on my ppc.
I'm copying settings/etc over, most often by exporting the registry keys for that software/reimporting it into the new rom - but the registration key typically doesn't get copied over.
Is there a different place in the registry that I should be looking at for that?
Thanks,
-mark
Click to expand...
Click to collapse
use your registry editor to search for the registration codes and then export those settings. you can then cab it or package into an oem to cook into your roms.
fredcatsmommy said:
use your registry editor to search for the registration codes and then export those settings. you can then cab it or package into an oem to cook into your roms.
Click to expand...
Click to collapse
or export in a reg/xml file and put in your Autorun on SD Card (read more).
wfg
starbase64
Unfortunately there is no real solution to this.
To avoid cracking registration codes are usually well hidden some times in the registry and some times in files.
The place and method of hiding the keys is different for each program.
Finding out were and how the key is stored requires a degree of reverse engineering on the protection mechanism and is basically the beginning of creating a crack for the program.
Normally producing a full backup of the device would preserve registration but it is impossible to restore full backup over different ROMs.
It's weird that different 'export settings' from different programs but from the same author don't automatically capture the registration code. i.e. I use sbsh pocketbreeze and phoneweaver (great programs, btw..) - pocketbreeze automatically restores the registration code when I export the settings/import it later. phoneweaver doesn't...
Definately a pain - even w/ mymobilier (which I use to type the serial numbers from my laptop into the phone..)
-mark

Categories

Resources