PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2

Notices



Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-21-2010, 08:53 PM
Eschelon's Avatar
Я да не ми фъфлиш, бе!
Offline
Pocket PC: Touch Pro 2
Carrier: Verizon
 
Join Date: Jun 2009
Posts: 1,362
Reputation: 4760
Eschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
GUIDE: How to Backup and Restore Settings Automatically After a Flash

I posted this over in Mighty's ROM thread, but figured I'd re-post again here for others who might benefit as well.

It seems there are quite a few people in this forum wondering how to backup/restore settings or registration data with Sashimi or SDConfig when flashing to a new/updated ROM. So I figured I’d post a little write-up showing how to track registry settings.

In the particular example below, I will show how to track SPB Phone Suite’s registration key so that I don’t have to manually type it in each time I flash. But you can use these exact same steps to track anything from a registration key to a simple settings change like when you want the backlight to dim, and everything else in-between.

So, without further ado, here are the steps to track a registry change so that you can save it and then restore it easily after a flash:


1) Install a registry editor on your phone. I personally use Resco Registry, but if you’re looking for a free option, use PHM RegEdit instead (attached at the bottom of this post). In fact, download PHM anyway since you’ll need it for some of the latter steps below

2) Download a free utility called WinDiff (link here: http://www.grigsoft.com/windiff.zip). Don’t worry, it’s completely safe and doesn’t even require you to install it on your PC. It just runs as a standalone .exe. Once downloaded, unzip it to a location on your PC (NOT your phone).

3) Go into your phone’s registry editor and export the ENTIRE registry. Since I use Resco, to do this all I do is back out to the root of the registry, click and hold on ‘My Registry’ (with PHM it will be 'My Device') and then hit ‘Export…’ and then save it to a location on my phone. Each registry editor is a little different so you may have to google or just play around to figure out how to export the ENTIRE registry with your own editor.

4) Once you’ve exported the registry, close your registry editor and then go and make the change you want (in keeping with my example above, I am going to close my reg editor, then go into SPB Phone Suite and register the app, then hit ‘OK’ and close the app so that the registration setting is recorded).

5) DO NOTHING ELSE!!! Even something small like sending a text right now will force you to have to complete this process all over again (unless you are really good at reading and understanding registry keys and, therefore, know which ones to ignore). So once you’ve made whatever change you’re trying to track in step 4, do absolutely nothing else and continue with step 6 below.

6) Go back into your phone’s registry editor and export the registry to a location on your phone again. Remember what you save the name as and where you saved it to. Be sure to keep track of which of the two registries you’ve exported is which (i.e. which was before the change and which was after).

7) Plug your phone into your computer and dump the 2 exported registry files you just made to your PC.

8 ) Open WinDiff. Select: File -> Compare Files… and chose the FIRST exported registry and choose ‘Open.’ The dialog box will stay open asking you to select the second registry you exported. Do it and then hit ‘Open’ again. WinDiff will now compare the differences between the two registries

9) At this point a single line of red text should appear at the top of the window telling you which file is newer. Double-click the red line of text and it will open up to the first change in the registry comparison.

10) At this point you’ll have to use your brain a little bit as the registry is a big place and I can’t tell you every single registry change possible for whatever it is you’re looking to track. But use F7 and F8 to navigate back and forth between the registry changes (new values will be highlighted in yellow, deleted keys will be highlighted in red). In my example, the only key that changed after registering SPB Phone Suite was HKEY_CLASSES_ROOT\CLSID{6F42EAB1……}. At this point I can assume that this is the registry key that holds the registration info for my SPB Phone Suite app. So all I have to do now is export just this key (step 11 below).

NOTE: Some keys you’ll have to always ignore like the “Shell\Rai” key or the “System\State\DateTime” key or the “System\State\Phone” as they are changing because your phone’s clock time is changing or your signal strength is changing. Pay attention to the D-Word values within the keys to see what things are and why they’re changing. Again, this is why you have to just use your head a little bit.

11) Now that we’ve found the key we’re looking for, open up the PHM RegEdit app you downloaded in step 1 and navigate to the key you found when tracking your particular registry change by hitting the little + signs. In my case I’m going to navigate to the key I posted in step 10 and then click and hold on the key's folder's name until the ‘Export…’ option shows up and then select it. Pick a name you’ll remember for the registry edit and save it to somewhere on your phone’s memory. YOU MUST change the ‘Type’ to ‘WinCE RegEdit5’ in order for this to work properly every time. Then just hit save.

NOTE: You cannot just export a single D-Word value, you have to export the entire folder than contains it.

12) Now, since I use Sashimi, all I have to do is take the exported registry file that I created in step 11 above and dump it in my Sashimi\Auto\Reg folder and then Sashimi will now register my SPB Phone Suite app automatically when I run Sashimi after a flash. This same method can also be used for SDConfig as well, but you’ll need to do your own research to see how it’s done


*Whew* Ok, I know that was a little long, but hopefully it will serve as a help to the many out there that like to flash whenever one of our chefs releases a new ROM, but hate setting everything up from scratch again. In my case, I'm able to have Sashimi automatically restore my manila tabs the way I like 'em, set my backlight settings, register a bunch of apps, set my default ringtone, set my phone to automatically dial my voicemail password for me, keep WiFi on when the phone is idle, keep my music playing when the screen turns off, set the task manager to close apps on 'X' instead of just minimize them... the list goes on and on and on. Point is, you can make your phone exactly the way you want it, and have it be restored to exactly that way immediately after each flash - all automatically!

Keep in mind that the above method will help you track and export 90% of the settings changes you make so that you, too, will no longer have to do them manually. Also, some settings changes aren’t tracked in the registry at all and some change multiple large keys so you may still have a few settings you’ll have to do manually after a flash.

Good luck
Attached Files
File Type: cab PHM RegEdit.cab (94.3 KB, 43 views) Click for barcode!

Last edited by Eschelon; 01-22-2010 at 04:32 PM.
Reply With Quote
This post has been thanked 21 times.
  #2 (permalink)  
Old 01-21-2010, 09:03 PM
whitestormy's Avatar
Lurker
Offline
Pocket PC: EVO 3D
Carrier: sprint
 
Join Date: Apr 2008
Posts: 8
Reputation: 0
whitestormy is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: GUIDE: How to Backup and Restore Settings Automatically After a Flash

sweet. thanks a lot for this. i was looking for a easy well explained how to for sashimi. ive been putting doing this off to long now
Reply With Quote
  #3 (permalink)  
Old 01-21-2010, 09:09 PM
Eschelon's Avatar
Я да не ми фъфлиш, бе!
Offline
Pocket PC: Touch Pro 2
Carrier: Verizon
Threadstarter
 
Join Date: Jun 2009
Posts: 1,362
Reputation: 4760
Eschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: GUIDE: How to Backup and Restore Settings Automatically After a Flash

Quote:
Originally Posted by whitestormy View Post
sweet. thanks a lot for this. i was looking for a easy well explained how to for sashimi. ive been putting doing this off to long now
No problemo. Once you get the above steps down, head over to this thread for further instruction on Sashimi:

User Customization Backup for Touch Pro using sashimi
Reply With Quote
  #4 (permalink)  
Old 01-21-2010, 09:09 PM
fishingmedic's Avatar
VIP Member
Offline
Pocket PC: SGS III
Carrier: Sprint
Location: Patriot Nation
 
Join Date: Apr 2009
Posts: 2,368
Reputation: 5305
fishingmedic is a trusted member of the communityfishingmedic is a trusted member of the communityfishingmedic is a trusted member of the communityfishingmedic is a trusted member of the communityfishingmedic is a trusted member of the communityfishingmedic is a trusted member of the communityfishingmedic is a trusted member of the communityfishingmedic is a trusted member of the communityfishingmedic is a trusted member of the communityfishingmedic is a trusted member of the communityfishingmedic is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: GUIDE: How to Backup and Restore Settings Automatically After a Flash

Nice job Eschelon! Thanks for the step by step instructions, much appreciated!
Reply With Quote
  #5 (permalink)  
Old 01-21-2010, 09:13 PM
BlackDynamite's Avatar
VIP Member
Offline
Pocket PC: HTC Evo
Carrier: Sprint
 
Join Date: Sep 2006
Posts: 1,839
Reputation: 1190
BlackDynamite is halfway to VIP status based on repBlackDynamite is halfway to VIP status based on repBlackDynamite is halfway to VIP status based on repBlackDynamite is halfway to VIP status based on repBlackDynamite is halfway to VIP status based on repBlackDynamite is halfway to VIP status based on repBlackDynamite is halfway to VIP status based on repBlackDynamite is halfway to VIP status based on repBlackDynamite is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: GUIDE: How to Backup and Restore Settings Automatically After a Flash

Nice work man! I have been trying to get a nice Sashimi setup for a while. This will be a great help getting me started.

Oh yeah, you forgot to attach the reg edit app...
Reply With Quote
  #6 (permalink)  
Old 01-21-2010, 09:25 PM
Eschelon's Avatar
Я да не ми фъфлиш, бе!
Offline
Pocket PC: Touch Pro 2
Carrier: Verizon
Threadstarter
 
Join Date: Jun 2009
Posts: 1,362
Reputation: 4760
Eschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: GUIDE: How to Backup and Restore Settings Automatically After a Flash

Quote:
Originally Posted by SaltyDawg View Post
Oh yeah, you forgot to attach the reg edit app...
Good catch. It's added now
Reply With Quote
  #7 (permalink)  
Old 01-21-2010, 10:56 PM
AngeloUCF's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Arrive
Carrier: Sprint
 
Join Date: Sep 2008
Posts: 56
Reputation: 15
AngeloUCF is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: GUIDE: How to Backup and Restore Settings Automatically After a Flash

Is it safe to assume this would work for email account setup?
Reply With Quote
  #8 (permalink)  
Old 01-21-2010, 11:13 PM
Eschelon's Avatar
Я да не ми фъфлиш, бе!
Offline
Pocket PC: Touch Pro 2
Carrier: Verizon
Threadstarter
 
Join Date: Jun 2009
Posts: 1,362
Reputation: 4760
Eschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributionsEschelon should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: GUIDE: How to Backup and Restore Settings Automatically After a Flash

Quote:
Originally Posted by AngeloUCF View Post
Is it safe to assume this would work for email account setup?
Hmm.. not sure on that one. But Sashimi does have a secondary program built into it called Makisu that supposedly restores all email settings. You may want to give that a shot
Reply With Quote
This post has been thanked 1 times.
  #9 (permalink)  
Old 01-22-2010, 04:27 PM
biff6789's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro 2
Carrier: Verizon
 
Join Date: Mar 2009
Posts: 156
Reputation: 250
biff6789 is becoming a PPCGeeks regularbiff6789 is becoming a PPCGeeks regularbiff6789 is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: GUIDE: How to Backup and Restore Settings Automatically After a Flash

Most excellent!

Thanks!
Reply With Quote
  #10 (permalink)  
Old 01-22-2010, 04:29 PM
OR78's Avatar
Postwhoring VIP
Offline
Pocket PC: MoPho Ray Tube!!!
Carrier: Sprint
Location: Fort Collins, CO
 
Join Date: Nov 2008
Posts: 1,724
Reputation: 2485
OR78 is a VIPOR78 is a VIPOR78 is a VIPOR78 is a VIPOR78 is a VIPOR78 is a VIPOR78 is a VIPOR78 is a VIPOR78 is a VIPOR78 is a VIPOR78 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to OR78
Thumbs up Re: GUIDE: How to Backup and Restore Settings Automatically After a Flash

This needs to go to Sticky mode...its good info for some of the first timers.
__________________
ORam782011


Give some
Reply With Quote
This post has been thanked 1 times.
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 10:41 PM.


Powered by vBulletin® ©2000 - 2019, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com