I am trying to change some registry settings to do things such as 'adjust volume settings' 'adjust backlight settings' 'turn bluetooth on and off' etc etc.
I want to use mort script to make the changes but so far I haven't figured out how to make the changes take effect without a soft reset, even when making the changes with a registry editor.
Does anyone know how to do this so that the changes take effect immediately?
Any help appreciated.
two things:
1st: all of the things you mentioned above should work without a reset. the best thing to do is change the reg value manully and if it works with out a reset then you know the problem is in the mort script
2nd: If you know how to edit xml files then download this cab and edit the xml file how you want. this should help some
http://www.megaupload.com/?d=RG6JZC33
this has a lot of apps in it you will be looking for the one that says tweaks
Thanks for the info irus,
Like I said, using a registry editor to change the settings does not take effect until I soft reset.
For example (and i'd appreciate it if someone could test this on their phone) changing the values in HKCU\ControlPanel\Volume...."Volume" and "Ringer" to 0 assuming it is not already set to silent does not actually turn the phone to silent until I soft reset.
Could someone please check this for me and report back.
BTW I'm using a Trinity (HTC P3600) with AX3L's LITE ROM.
Thanks in advance.
I tried it and it did not work, you sould try to edit the xml file in the program i told you about and try it there. when i get done with homework i will try it my self
Registry value is read by windows while loading. In case of desktop pc if you restart the explorer process the registry gets loaded. you need to find some way to load the registry again.
fuzzvirus said:
Registry value is read by windows while loading. In case of desktop pc if you restart the explorer process the registry gets loaded. you need to find some way to load the registry again.
Click to expand...
Click to collapse
Thanks fuzzvirus but that was my original question.
Does anyone know of a way to do this?
Bump......
I'm also interested in this theme. Does anyone know an answer?
Hello Forum!
I would like to update Leo's ROM (HTC, German Stock-ROM) from 1.43.407.1 to 1.48.407.1. BUT, I don't want to install all programs and tweak my baby again (not to forget all the emails and outlook settings, SMS etc.). Is there a way of doing a backup, which can effectively "survive" a ROM update, or is this simply not possible without coruption? Normally I use Sprite Backup 6.5.5 for my phone backup, but it does not tell me to many things about what will happen if a backup would be applied to the phone after ROM update. By the way. I don't think Sprite Backup will backup the ROM itself but just the other data on the internal memory, does it?
Thank you in advance folks!
Studebaker
hi,
spritebackup is trying to be smart on restore, so you can chose how it should behaive on restoring after romupdate. when i remember it rigth there are 3 or 4 options to choose from when you start a restore, they are listed at there website and in the manual/helpfile.
Hello madbird,
Yes, I noticed that. I just want to make sure that it really does work even after ROM update. What I do not want is problems afterwards. Anybody tried already?
Thanks guys!
Studebaker
I have been using SPB Backup's ROM upgrade mode on my Polaris for restoring of my settings & applications over sequential ROM upgrades.
Apart from some minor issues it really saved me a lot of reconfiguring time.
Naturally I haven't been able to try it on Leo, since custom ROMs can't be flashed yet.
Studebaker72 said:
Hello Forum!
I would like to update Leo's ROM (HTC, German Stock-ROM) from 1.43.407.1 to 1.48.407.1. BUT, I don't want to install all programs and tweak my baby again (not to forget all the emails and outlook settings, SMS etc.). Is there a way of doing a backup, which can effectively "survive" a ROM update, or is this simply not possible without coruption? Normally I use Sprite Backup 6.5.5 for my phone backup, but it does not tell me to many things about what will happen if a backup would be applied to the phone after ROM update. By the way. I don't think Sprite Backup will backup the ROM itself but just the other data on the internal memory, does it?
Thank you in advance folks!
Studebaker
Click to expand...
Click to collapse
In order to restore and at the same time 100% incorporate all changes introduced by the rom upgrade you need 2 additional procedures (apart from a backup software).
1) Overwrite the new registry over the old registry
2) Overwrite the new double copy files over the old double copy files.
The first Step can be easily done in the following way
After upgrading you install Resco Registry.
You export the entire registry.
You restore the old backup image
Finally you re-import the previously exported reg file.
This will overwrite all keys that were changed during the rom upgrade.
Regarding the second step, let me quickly explain to you what I mean with double copy files.
After hard resetting your device and during the first boot, a customization tool is running in the background that copies some files from the rom (and the windows folder) to the storage memory (and different folders).
If you restore the previous rom image, these files will be overwritten with old versions. You can partially overcome this issue if the double copy files are both found in the same directory (f.e. Opera9.exe and OperaL.exe in Windows folder).
In this case you delete the duplicated file in storage and apart from releasing some mbs of free space you also use the latest version, which always resides in rom. This procedure can not be followed with files and folders that are copied during the customization process from Windows folder to other folders.
In order to overcome this issue and to be able to restore a previous image incorporating at the same time all the changes introduced by the upgrade, we have to find a way and activate the customization tool after completing the restore process. In this way the double copy files will be re-overwritten with the newer ones.
Check also this thread.
Finally another way to rebuild your system without much effort is to setup Sashimi once and then use it to quickly reinstall everything.
Hello Step2p!
Thank you so much for taking some time for that really interesting answer. The registry, yes, I guesses that could be a problem. Please let me comment to your points, because I'm in no way an expert in that:
The first Step can be easily done in the following way:
-After upgrading you install Resco Registry. => OK
-You export the entire registry. => Ahm, OK...
-You restore the old backup image => Yes, because I want to have my tweaked registry from the "old" ROM back.
-Finally you re-import the previously exported reg file. => Ouch. Than my tweaked and modified entries will all be gone. Right?
This will overwrite all keys that were changed during the rom upgrade. => And also all the former ones will be overwriten by new ones??
Did I get that right? After your procedure my old tweaks will be history, just because the new registry that we will have remaining at last will be pure as snow. New and unmodified.
Thanks again,
Studebaker
Studebaker72 said:
Hello Step2p!
Thank you so much for taking some time for that really interesting answer. The registry, yes, I guesses that could be a problem. Please let me comment to your points, because I'm in no way an expert in that:
The first Step can be easily done in the following way:
-After upgrading you install Resco Registry. => OK
-You export the entire registry. => Ahm, OK...
-You restore the old backup image => Yes, because I want to have my tweaked registry from the "old" ROM back.
-Finally you re-import the previously exported reg file. => Ouch. Than my tweaked and modified entries will all be gone. Right?
This will overwrite all keys that were changed during the rom upgrade. => And also all the former ones will be overwriten by new ones??
Did I get that right? After your procedure my old tweaks will be history, just because the new registry that we will have remaining at last will be pure as snow. New and unmodified.
Thanks again,
Studebaker
Click to expand...
Click to collapse
Yes, you will lose all system registry tweaks (but not 3rd party tweaks). Unfortunately it is almost impossible to have the latest registry without losing these tweaks.
But updating the registry is an important step, because many of the bug fixes are actually registry tweaks that we never find.
In order to overcome this issue you have 2 options
1) Use an application like BsB tweaks which allows you to quickly setup the main registry tweaks
2) Create a reg file (or better a cab file) with all the tweaks that you are doing. After importing the registry you can run it in order to re-overwrite the tweaks.
Oh yes, a cab file sounds great to restore my tweaks! I just have no idea how to do that. How to convert my registry tweaks into a cab file, is there some software available to do the trick? Sorry for my stupid questions, that's like rocket science for me....
WinCe CabManager is very easy to use.
If you find it difficult you can export your keys using Resco Registry and then join the individual keys using a text editor.
Yes! said:
I have been using SPB Backup's ROM upgrade mode on my Polaris for restoring of my settings & applications over sequential ROM upgrades.
Apart from some minor issues it really saved me a lot of reconfiguring time.
Naturally I haven't been able to try it on Leo, since custom ROMs can't be flashed yet.
Click to expand...
Click to collapse
Hello Yes!
May I ask what kind of "minor issues" you are refering to?
Thank you!
Studebaker
Studebaker72 said:
Hello Yes!
May I ask what kind of "minor issues" you are refering to?
Thank you!
Studebaker
Click to expand...
Click to collapse
Well, firstly i had some issues with the mail accounts.
After restoring in ROM upgrade mode all mail accounts were available and working. However it seemed like their configuration had not been fully restored.
When i wanted to modify an account (i.e. synch frequency) i had to completely reconfigure the accont, since its configuration wasn't there.
The issue only became noticeable when the account option need to be adjusted.
Secondly i also had the feeling (might be subjective) that the cycle of backing up, upgrading, restoring (in ROM upgrade mode), backing up (from previously restored rom), upgrading, restoring (in ROM upgrade mode) etc....pollutes the image somehow.
I have gone through the cycle for 5 or 6 upgrades without noticeable problems, but i'm not sure how it will behave after more cycles or after a major upgrade.
For so far i've only used ROM upgrade restores on my Polaris but i will try it on my Leo tonight.
I will post my findings here after upgrading.
Thank you, that is very interresting! Sprite Backup is a very powerful tool, no doubt! But to recover every little detail after a ROM update seems too good to be true. The registry scares me, the registry from the 1.48 might not be identical to the 1.43. But the backup will plaster all the old settings over it, can that be OK?? Who knows...
help..... how to dump my hd2 rom so I can flash it later. so everything stay the same and I don't have to install all cabs again and setting. I'm a noob, I'm also trying to find out how to make my own clock and icons. thanks
i don't think it is possible to back-up your current rom n settings.
corlygunnz said:
help..... how to dump my hd2 rom so I can flash it later. so everything stay the same and I don't have to install all cabs again and setting. I'm a noob, I'm also trying to find out how to make my own clock and icons. thanks
Click to expand...
Click to collapse
Check the Energy ROM thread. There is some talk of it in post #5.
http://forum.xda-developers.com/showthread.php?t=591784
i did it with my o2 rom just to see how to do it, but in all honesty i won't be doing it again. No point when the rom is available to download, and it doesnt save settings anyway. Ive posted teh how-to just because you asked about 'dumping the rom' so it will no doubt get hits from epople wanting to know how, and not just people like you wanting to backup, not dump.
dump the .raw partitions, reading step one in THIS first post will help.
Then set up ervius visual kitchen and use the 'raws2nbh' function to rebuild the raw files into the .nbh rom file.
BUT, it wont save your rom as it is now, with all your settings and such, it will only dump the rom as it was when you first ran the phone.
Far easier to just download the stock rom from somewhere.
Plus the rom you create even though it is stock will still be seen as a cooked rom by teh phone, so you would need hspl installed to flash it.
So, you need to look more into backup software, like sprite backup, PIm backup, or sashimi/makisu, or the like.
thanks very much. I guess I stick with backing up the settings and flashing the stock rom... thanks for the feedback again... ps: the point was to have the rom just how out was when dumped...
corlygunnz said:
thanks very much. I guess I stick with backing up the settings and flashing the stock rom... thanks for the feedback again... ps: the point was to have the rom just how out was when dumped...
Click to expand...
Click to collapse
Yea, i know what you mean.
I found a cooked rom that i liked, and the chef also offered the kitchen with it. (which means i run the kitchen, press 'build' and fifteen minutes later the rom is created, ready to flash.)
Then, knowing i have a rom that i already like, i can start to make small adjustments. Progs that i normally have to reinstal every time i have converted to cookable packages, various registry tweaks that i used to instal from cab every time i have now cooked in.
A great way to get an easy intro into cooking, but because it's already built you aren't starting from a stock rom, facing weeks of tweaks. Instead i know i already like the rom, and i can slowly apply extra tweaks as i learn.
Look out for rom threads who offer 'comes with kitchen'.
ChuckyROM is the one that comes to mind, but there are others too.
I now have cookies home tab mod pre installed, and right from the start it has my layout, and all my quicklinks already there, as well as most of teh cabs i used to instal manually already built in, owner name pre set, home location/timezone etc etc all pre set, my own lockscreen, i've removed tons of unused images and language files, and such like.
My rom is down to around 145MB. (Stock is around 200MB+).
Best of all, i cooked in 'remotetracker', so if my phone gets stolen/lost, , even a hard reset wont stop it being trackable.
Fun stuff, if you dont mind spending a few hours at a time cooking/flashing/re-cooking/flashing/re-re-cooking, , , hehe
samsamuel said:
I now have cookies home tab mod pre installed, and right from the start it has my layout, and all my quicklinks already there, as well as most of teh cabs i used to instal manually already built in, owner name pre set, home location/timezone etc etc all pre set, my own lockscreen, i've removed tons of unused images and language files, and such like.
Click to expand...
Click to collapse
how can I pre install, the layout and quick links on cookie too my rom, I'm a noob, I got this new rom I like and a want to tweak it, its going to be my first rom. can you or someone direct me to tutorials for cooking and tweaking.... I'm a quick learner. lol
corlygunnz said:
how can I pre install, the layout and quick links on cookie too my rom, I'm a noob, I got this new rom I like and a want to tweak it, its going to be my first rom. can you or someone direct me to tutorials for cooking and tweaking.... I'm a quick learner. lol
Click to expand...
Click to collapse
well its not that simple. when a chef cooks the rom, it is usually protected, so you cant just dump a cooked rom. Thats why you have to get a pre built kitchen for that rom.
Sadly there is no simple step by step for all this.
THIS thread is for OSKitchen, which is pretty good, and fairly straightforward.
I suggest you just get a kitchen, dump a stock rom into it, and just have a look around it for a while first, so you get the idea of what you are facing.
Follow posts 1 - 4 and that should give you an evenings tinkering to get started.
Or there is ervius' visual kitchen, which isn't quite so straight forward, but works really well for me.
Reading HERE and HERE and HERE
and lots of reading in 'Chef Central'
However, to get immediate results, i found it far better to start with a pre built kitchen.
HERE is the one i first started to tinker with.
I gave up on kitchens a half dozen times in the past months, it just seems so overwhelming, which is why a ready made rom i could make minor tweaks to came in so handy.
thanks allot, I'm going to get to it right away. I'll post if I hit a wall.
how do i cook cooki home tab. is not working, is the anything i got to do?
corlygunnz said:
how do i cook cooki home tab. is not working, is the anything i got to do?
Click to expand...
Click to collapse
convert it to an ext package, which will generate a folder with various files/subfiles, one of which is a reg file, edit that, add your registry entries (extracted from your currently running phone, using ceregistry editor ((if you dont already have them, immediately you finish reading this go get wincecab manager, ceregistry editor, and look up CAB_Converter too.)))
Use cab converter to change the cab into an ext.
as always, the best advice is to read everything, then read it again, hehe.
A working example.
connect your phone to usb, open ceregistry editor, click connect, browse to HKLM\software\HTC\manila\Home There are 80 or so numbered folders, Thats for the quicklinks.
In the tree view on the left, right click the folder Home and choose 'export'. A file save dialog will open, call it something like home, OK. You should get something like '81 keys exported'
Now, browse to the folder where the converted cookies EXT is, find the file 'app.reg'. Double click to open it in ceregistry editor, you will see a similar registry view as you saw on the phone, except with loads less entries. Find HKLM\software\HTC\manila\Home, select the home folder, hit delete, confirm, its now gone.
Go to top of ceregistry editor - hit Edit - Import registry keys from file.
Now, by default it will be looking for .reg files, but we exported ours as .cereg, so change the filetype dropdown to 'all files'.
Find your 'home.cereg' file we exported, click it, you will get a 'sucessfully imported,....blahblah', hit save, and now, when you cook the rom, your quicklinks will already be there as soon as the phone first boots.
Use SPB backup
Use SPB backup. Works wonders. I have a backup for the 3 or 4 roms I run. So all I have to do is load the rom, load spb backup and restore the backup and all my settings, email accounts, facebook and the such is ready to go.
fhaines
fhaines said:
Use SPB backup. Works wonders. I have a backup for the 3 or 4 roms I run. So all I have to do is load the rom, load spb backup and restore the backup and all my settings, email accounts, facebook and the such is ready to go.
fhaines
Click to expand...
Click to collapse
i just got me the spb backup, and is working great for me. thanks.
The simple solution here is SPB Backup...
EDIT: oops, jumped the gun. was already suggested. xD
glad you got it figured out
samsamuel said:
use the 'raws2nbh' function to rebuild the raw files into the .nbh rom file.
Click to expand...
Click to collapse
This step is much more complicated than it sounds. Any possibility that you could include instructions for this?
Thanks!
ohiosux said:
This step is much more complicated than it sounds. Any possibility that you could include instructions for this?
Thanks!
Click to expand...
Click to collapse
sure you want to bother? it wont save your settings as they are now, so you are essentially dumping the stock rom as it was when you got the phone (Assuming you're running a stock rom that is, if its a cooked rom it probably wont convert anyway)
All (most) of teh stock roms are available to download, so its an accademic task only, , , ,
samsamuel said:
sure you want to bother? its an accademic task only, , , ,
Click to expand...
Click to collapse
Actually, yes. I realize its redundant work, but I don't see how I could ever become a proper "chef" if I can't even manage to dump a ROM.
ohiosux said:
Actually, yes. I realize its redundant work, but I don't see how I could ever become a proper "chef" if I can't even manage to dump a ROM.
Click to expand...
Click to collapse
hehe, well, ive only done it once, so you know as much as me, , get ervius vis kitchen (im sure other kitchens can do it too, just i use evk) click extra buttons, top left button is raws2nbh, follow the prompts.
You dont need to do this to cook, you know that? the kitchen will import a downloaded stock nbh, no need for the dump to get a kutchen working.
I recently tried updating to the latest Energy 'Cookie' ROM, I backed up the registry using the supplied Registry Editor. After the update, I restored the registry backup I made and when I went to Settings > About Phone > Software Information and is said that the ROM Version was the previous version.
I realise that the ROM Version information must be kept in the registry but it got me thinking, what else is in the registry that shouldn't be kept after an update?
The reason why I wanted to back it up is because I applied all the tweaks in the Hints & Tips thread and don't want to spend time editing the registry every time i update.
yeoldgreat1 said:
I recently tried updating to the latest Energy 'Cookie' ROM, I backed up the registry using the supplied Registry Editor. After the update, I restored the registry backup I made and when I went to Settings > About Phone > Software Information and is said that the ROM Version was the previous version.
I realise that the ROM Version information must be kept in the registry but it got me thinking, what else is in the registry that shouldn't be kept after an update?
The reason why I wanted to back it up is because I applied all the tweaks in the Hints & Tips thread and don't want to spend time editing the registry every time i update.
Click to expand...
Click to collapse
I don't know about this since I don't do it myself, but why don't you just back up the individual registry keys you tweaked? Then put it in XDA_UC to auto-import the reg tweaks. That seems more logical than backing up the whole registry.
what i do whenever i apply a tweak, if i want to keep it, i use wince cab manager to add the same registry tweak to my ever growing "tweaks.cab" which i keep on my sd card and apply as soon as i flash. only takes a few minutes once you've done it a few times.
Thanks guys, I think backing up all the individual tweaks would take too long. I've had a go with the WinCE Cab manager and that seems like a much easier solution!
Is there a cab that I could use to install Energy's Settings Exporter into another ROM to experiment with, or is it closed source?
If so, is there a way to automate the same process (exporting those specific keys and restoring them with XDA_UC later on)?
Thanks!
Smith
smithisize said:
Is there a cab that I could use to install Energy's Settings Exporter into another ROM to experiment with, or is it closed source?
If so, is there a way to automate the same process (exporting those specific keys and restoring them with XDA_UC later on)?
Thanks!
Smith
Click to expand...
Click to collapse
That is an NRG program, he made it, so you could PM him to see if he will make a cab.
But basically all it does is store certain registry branches, and then restore them.
stevedebi said:
That is an NRG program, he made it, so you could PM him to see if he will make a cab.
But basically all it does is store certain registry branches, and then restore them.
Click to expand...
Click to collapse
I'll try a PM.
I know how I could identify the registry entries, is there a way to automate the process like he did though, if he doesn't have a cab? Possibly using a script or something?
Thanks!
Smith