Bluetooth Connections backup with Windows Mobile - Windows Mobile Development and Hacking General
As flashing junkie as I am, I succeded to make all the possible automations after a fresh flash (usually a clean ROM) so that very fast I have a ready to use phone.
However there is one thing I could not manage and that is a functional pairing backup of existing bluetooth connections. Varous registry backups, dumps, provisioning, whatever did not help. I haven't tried, though, backup programs like SPB or other.
The closest info that I could find on the www that describes this and a possible solution (which I do not fully understand) is this: http://www.codecomments.com/archive425-2006-2-797851.html
If someone here has succeeded to accomplish this or can help in developping such a tool, please have your word.
Thanks in advance.
Really no one interested in this type of backup??
One last bump...
VERY interested, but I also have had no sucess.
Success
I compared the HKLM registry hive before and after adding a bluetooth headset. Here are the additions to the registry for my headset.
Code:
[HKEY_LOCAL_MACHINE\Comm\Security\Bluetooth]
"pin00197fd66fe0"=hex:\
02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,20,\
00,00,00,00,0E,66,00,00,10,00,00,00,10,00,00,00,A5,40,A3,04,08,A0,AE,DC,\
A1,6B,50,86,AE,DB,6B,23,00,00,00,00,04,80,00,00,10,00,00,00,10,00,00,00,\
16,E2,31,5A,EC,DF,51,CB,F9,42,F2,8D,CA,3C,41,FF,10,00,00,00,E0,3C,43,01,\
DE,5D,75,CE,12,B6,19,89,0F,AE,A1,96,14,00,00,00,C5,1F,9B,F7,87,15,76,0F,\
89,3E,8A,66,FE,38,3D,97,86,1D,14,58
"key00197fd66fe0"=hex:\
02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,20,\
00,00,00,00,0E,66,00,00,10,00,00,00,10,00,00,00,AE,93,13,54,56,86,C1,B3,\
90,2A,01,CE,33,CE,6A,4C,00,00,00,00,04,80,00,00,10,00,00,00,10,00,00,00,\
A2,4B,03,6B,D7,25,CD,45,24,EE,9B,E4,B0,17,EF,F5,20,00,00,00,35,F3,08,7D,\
47,AF,A8,75,74,F4,F3,C0,D6,53,51,D0,EC,80,8F,AD,08,30,5F,39,1A,3A,19,E1,\
56,20,EE,CD,14,00,00,00,67,EE,EA,F9,95,91,80,35,7C,12,9B,B6,E8,18,83,AD,\
E8,E6,2F,B8
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\AudioGateway\Devices\1]
"Service"=hex:\
1E,11,00,00,00,00,00,10,80,00,00,80,5F,9B,34,FB
"Address"=hex:\
E0,6F,D6,7F,19,00,00,00
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Device]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Device\00197fd66fe0]
"trusted"=dword:00000001
"class"=dword:00200404
"name"="520Plantronics"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Device\00197fd66fe0\Services]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Device\00197fd66fe0\Services\0000111e-0000-1000-8000-00805f9b34fb]
"sdprecord"=hex:\
36,00,5C,36,00,59,09,00,00,0A,00,01,00,01,09,00,01,35,06,19,11,1E,19,12,\
03,09,00,04,35,0C,35,03,19,01,00,35,05,19,00,03,08,02,09,00,06,35,09,09,\
65,6E,09,00,6A,09,01,00,09,00,09,35,08,35,06,19,11,1E,09,01,05,09,01,00,\
25,0F,48,61,6E,64,73,2D,46,72,65,65,20,75,6E,69,74,09,03,11,09,00,18
"name"="Hands Free"
"channel"=dword:00000002
"enabled"=dword:00000001
Unfortunately that alone does not seem to do the trick for me.
Anybody else tried ?
Cheers,
/mst
Related
Bluetooth settings
Hi I have discovered this site just now as a was searching for information on how to updrade by qtek9100 for a2dp and use a bluetooth stereoheadset with it. I found some leads but they all ended in my not being allowed to change the registry settings for "local machine"\drivers\BuiltIn\" I can not add BuiltIn\BtA2dpSnd and therefore not conclude the setup. Is there anyone who can give me some advice on how to go about this ? I have updgraded to the latest official ROM for sweden. Lars
Try the CAB file attached
You might have to unlock your phone before you try and change the registry settings.
lars_s_e said: Hi I have discovered this site just now as a was searching for information on how to updrade by qtek9100 for a2dp and use a bluetooth stereoheadset with it. I found some leads but they all ended in my not being allowed to change the registry settings for "local machine"\drivers\BuiltIn\" I can not add BuiltIn\BtA2dpSnd and therefore not conclude the setup. Is there anyone who can give me some advice on how to go about this ? I have updgraded to the latest official ROM for sweden. Lars Click to expand... Click to collapse The cause for the problem may be one of the following: 1, you used a desktop ActiveSync-based registry editor. Don't use desktop tools to chage the Registry. As is pointed out in my Registry Editor Bible, it won't work. Use a PPC-only registry editor. 2, you didn't shut down the PPC entirely after this (or waited long enough for the changes to be written to the Flash ROM as is explained in many of my WM5 & registry & flash ROM-related articles); this is why the changes haven't been stored. Note that this has NOTHING to do with your phone's being locked. You do NOT need to unlock your device.
pleeaeaaase some help! messed up registry!
Please can anybody export hkey_local_machine/software/microsoft/bluetooth/serial and send me the whole key because I messed up with my registry, and it stuck. Now I just managed to delete it. pleeeeeez
It would help if you specified your ROM version. I can only assume you have a prophet (since you posted this in the prophet section). My advice to you though - backup your contacts and files and hard reset the device. It is the best way to insure proper operation in this case.
WM6 i was hoping I could avoid it so I wouldn't have to re-solve the problem with a2dp but I decided to give wm6 a try... So far so good. Thanx Anyway.
What is the best way to backup my Wizard
Dear wizard owners, recently I had to fully reinstall my wizard since I was having trouble with the windows mobile 6 'no alarm notification' bug and couldn't solve it despite of the many solution that also can be found on this forum. Nevertheless, it was quite a job to costumize my Wizard to the state as it used to be. Therefore this question, is it possible to make some kind of image of the state of my MDA including all programs and settings and such? Thanks in advance. Bart
I use SPB Backup which works really well and does restore my Wizard back to its state with all my programs installed. Its quite easy to use to; just open an exe file and let the program do the rest to restore. keep in mind, however, that you cannot use this program (nor any other one that I have heard of), to restore after a ROM upgrade. This program will only work if you are restoring on the same ROM you backed up on.
Thanks Zakhir for your quick reply. I will certainly try it. Bart
Is there a way to backup the Calendar entries??? There's an SMS backup, but is there a Calendar backup???
'Start Menu > Settings' Folder EMPTY???
Hi all, I wonder if anyone can help on this one - I've been googling for the last 3 hrs and not been able to really find any solution. I seem to have lost my 'Settings' folder When I click on 'Start > Settings', my system just hangs. If I Hard reset it's there again, but when I clone back to current - gone I REALLY don't want to have to go through the whole installing process again, I've just spent the last month Installing, Resetting, Installing, add infinitum; now, when I seem to have found and tested all the apps that I want. installed them, registered them, etc., the LAST thing I need now is to have to start from scratch!!! So, PLEASE - give me a clue how to add this back and remove the one and only issue I have with this build!! P L E A S E ! ! ! Bird ******************* ADDENDUM: ******************* Have also found that the three settings tabs are also no longer recogniseable in other programs - I have SPB Shell 2.0 installed, and it usually shows all the options from the Settings folder in it's Settings tab - not any more!! Also Pocket Mechanic comes up with the 'Cannot load file 'unload'...' message if you try to uninstall anything! - from surfing it seems that these are related! It looks as if I WILL have to reinstall everything - going to have to do it the REALLY slow way and clone after EVERY install on the system "sigh!". I'll give it 48 hrs of hoping that some really narly uber geek out there can come to my rescue, else I'll have to geek it myself! CALLING ALL UBER GEEKS - help this poor lame nerdoid out!!
as i understand you have made backup of a broken WM and when you restore it it restores the broken parts too, the easyer solution for you is to use PIMBackup for all your mail, contacts SMS MMS etc. , Hard reset, install all of the software you use then restore the backup from there and after your device is properly configured then back it up with a backup software (some backup software do not work well in wm 6 use only compatible versions, also you can not restore WM2003,WM5 or difrend build backup to WM6 rom this action may cause unpredictable bugs)
Yah, looks like it's the only option! I think that this is going to be the only option xplode, thanks for the second opinion! I was hoping to find another solution, but it seems this will be the only one - oh well! xplode said: as i understand you have made backup of a broken WM and when you restore it it restores the broken parts too, the easyer solution for you is to use PIMBackup for all your mail, contacts SMS MMS etc. , Hard reset, install all of the software you use then restore the backup from there and after your device is properly configured then back it up with a backup software (some backup software do not work well in wm 6 use only compatible versions, also you can not restore WM2003,WM5 or difrend build backup to WM6 rom this action may cause unpredictable bugs) Click to expand... Click to collapse B.T.W. xplode, I now have 2 BA's to play with, so if you need a tester for any ROMs or anything, let me know! After all, once I get this thing sorted, I'll have a backup and can flash and reclone in minutes! This goes for Helmi and the other gods of the ROMs, too. Bird
captures Picture, look at
Configurations backup strategy before installing a new ROM
I was wondering what is your backup/restore strategy when changing ROMs. When I install a freshly cooked ROM, there are 3 stages for installation: 1. Installing the ROM itself which is obvious. 2. Install all personal cabs - with or without UC support. 3. Configure everything to work according to my personal configurations. The most annoying part is the 3rd, since I have to go through each and every program, and run the process, of configuring all the options. This process always, takes me longer then installing everything. Is there a way to backup/restore globally all settings? Amir.
http://www.spritesoftware.com/products/sprite-backup/full-edition
I know that software. Doesn't it's OS migration option is risky? I remember reading many bad opinions against using that option... ??? Amir.
amir77a said: I know that software. Doesn't it's OS migration option is risky? I remember reading many bad opinions against using that option... ??? Amir. Click to expand... Click to collapse I shouldn't agree more. There's a lot of confliction and problematic after full restore the backup from the previous ROM to the new ROM. It's my experiences. KCJ
If you're willing to spend a bit of effort, you can have your device automatically configure 99.9% of what you want, as part of the customization occuring after flashing. Look up SASHIMI, which should live on your SD card (or whatever you have which survives a hard reset). It basically install all the CABs, REGs and provisioning XMLs you want, plus runs any Mortscript, all in one big batch, according to certain sequencing rules. It can be configured to launch upon inserting the SD card, or as part of UC (User Customization), or to execute UC as part of itself, or run it manually. Most CABs which require manual intervention can be automated by using clever Mortscripts. The REGs and XMLs take care of configuring apps, games, serial numbers (legal, of course) or even network settings and Manila tweaks. I now routinely flash a new ROM and leave my device for 30 minutes. I need to check in on it to tap past the WM setup dialogs. With that out of the way: - all tools, apps and games CABs are installed, many with accompanying REGs for configuration - WiFi is configured with my most used hotspots - time is synchronized (assuming WiFi is available during this process) - 3G is disabled (for better battery life), my data connection is configured but disabled (a la MoDaCo NoData) - Pocket Outlook is setup with my Exchange account, an initial sync is performed (assuming WiFi is available), and additional mail folders are tagged for syncing - PPCPimBackup restores my most recent backup of SMSes and call history (I've flashed or hard reset probably 20 times the last 2 months, and don't miss a single SMS/call since the day I bought the HD). - My Start menu and programs list is neatly sorted into folders (of course this needs rework when I switch between ROM chefs) - AEButton Plus is setup with my buttons the way I want them. - SKScheMa is setup with the profile changes I want (GSM/WiFi off, silent and low brightness at night) The only thing I really miss is to automatically provision a couple of Bluetooth pairings (a headset and 2 PCs). Apparently the encryption keys used for storing these pairings, is renewed on each hard reset. Typically, the first morning after a hard reset, while driving my car, my HD beeps every 1 minute as the car kit attempts to connect, and I'm usually unable to deal with it until I stop the car. As you can imagine, there's quite a bit of initial manual labour, but I guarantee you that it's worth it. I recommend that you get the following: Resco Explorer (w/registry addon), Orneta Notepad (or MobilePad). With these, most of the work can be carried out on the phone itself. To figure out the registry settings for a certain program or option, there are two ways: - manual search, typically fast and has a very high success rate by first visiting HKLM\Software and HKCU\Software, then looking for the vendor or software name. - registry diff, slow but very accurate, requires PC (for now). Export HKLM+HKCU (using multiple select in Resco regedit) *before* you make the configuration change, and *after* you've made the change. Copy the two reg files to a PC and do a diff (WinMerge should do a good job). Alternatively, you can use a Windows tool like Registry Workshop or CeRegEditor to export the registries, but I think the first way is faster, and you can actually prepare the exports on the move, then do the diffs when you come home. Some programs store configuration data in files - these *may* be a bit harder to figure out, but they're usually in the installation folder. Once you've set up such a program to your liking, copy its CAB to SASHIMI\Auto\CAB and the configuration file to SASHIMI\Auto\Root\Program Files\<app name>, and the app will be as you want it after the hard reset. SASHIMI can also back up such files for you, just put the paths into filebackup.ini. Similarly regbackup.ini can perform registry backups that will be automatically restored after a hard reset. You need to run or schedule this backup yourself, though, but both can be performed with one shortcut to SASHIMI. I'm sorry for making this so long - I'll stop now, and hope this post provides a bit of inspiration to others. I can also help with certain aspects of UC - I'd love to post my custom tools and scripts, they're just not prepared for public consumption yet.
intersting idea. I tried Sashimi before, but I gave up due to prior needed investment. I'll might adopt that idea, which seems to be very useful. Amir.
Sashimi can basically accomplish the same as UC/SDConfig.txt - it just provides a simple UI and conventions that makes setting it up so much easier. I did play with SDConfig.txt (and various tools to automate/ease its maintainability), but quickly found maintaining the file very time consuming and error prone, and practically impossible without using a PC. Sashimi you simply copy to your SD card, and you can run it right away (it won't do anything). Next step is to copy a CAB to Auto\CAB, then run Sashimi, and the CAB will be installed. Ah well, I hope it proves useful to others!
amir77a said: I know that software. Doesn't it's OS migration option is risky? I remember reading many bad opinions against using that option... ??? Amir. Click to expand... Click to collapse I use it without any problem and flash my hd every day should use it correctly : Overall performance of backups and restores are clearly within my expectations. My backups can range from 4-9 minutes and restores can take a little longer which is worth every minute for a disaster recovery plan. I have yet to try the FTP or TCP/IP backups so I cannot report on those features, but for “geeks-sake” I will look into these when time permits and report on my findings. Two other interesting features of Sprite Backup are the Restore “Upgrade” (see Figure B PC console screen) feature and the Sprite Explorer tool. The Restore “Upgrade” features allows restoration of a backup to the same device with a different ROM (usually an upgraded ROM) or to a different device entirely. While this is an unpopular move by most device users, it is an interesting and perhaps useful function for those who do not wish to reinstall applications or data after a ROM or device change. The Sprite Explorer tool is reminiscent of Symantec’s Ghost Explorer tool. Sprite Explorer allows browsing of your Sprite Backup EXE files so that you can review the details of the backups and restore individual files to your PC. Sprite Explorer will also identify which version of Sprite Backup was used for the creation of the EXE file. When browsing a password protected EXE backup file, Sprite Explorer will prompt for the correct password before revealing the contents. fonte: http://www.fuzemobility.com/?p=1805
Thanks. I made a fresh backup with Sprite, after a new fresh install. When Dutty will launch his 1.9 ROM , I will try o upgrade with Sprite, otherwise I'll goto sashimi. Amir.
ugumba said: I'm sorry for making this so long Click to expand... Click to collapse I liked the posting for its longeness... I really made me wanting to have a look at SASHIMI. However, I am not much into MortScript, yet - would you mind to share your customization files? I think it would be very helpful for me to have a starting point for my own work... Thank you, The Whistler
what about spbbackup2, easiest backup ever, and the files are self extractable so you don't even need to install spbbackup again to restore a rom.
i like the tought of just installing the ONE app. And when i flash, that this will restore my personal settings, games, and programmas. going to read up on this! still, thanxxx!!
ugumba said: I recommend that you get the following: Resco Explorer (w/registry addon), Orneta Notepad (or MobilePad). With these, most of the work can be carried out on the phone itself. To figure out the registry settings for a certain program or option, there are two ways: - manual search, typically fast and has a very high success rate by first visiting HKLM\Software and HKCU\Software, then looking for the vendor or software name. - registry diff, slow but very accurate, requires PC (for now). Export HKLM+HKCU (using multiple select in Resco regedit) *before* you make the configuration change, and *after* you've made the change. Copy the two reg files to a PC and do a diff (WinMerge should do a good job). Alternatively, you can use a Windows tool like Registry Workshop or CeRegEditor to export the registries, but I think the first way is faster, and you can actually prepare the exports on the move, then do the diffs when you come home. Some programs store configuration data in files - these *may* be a bit harder to figure out, but they're usually in the installation folder. Once you've set up such a program to your liking, copy its CAB to SASHIMI\Auto\CAB and the configuration file to SASHIMI\Auto\Root\Program Files\<app name>, and the app will be as you want it after the hard reset. Click to expand... Click to collapse All very helpful so nevermind the long windedness. I've been using Sashimi and I've managed to backup some apps to my satisfaction. I've have been trying to backup CorePlayer settings. I have backed up its regs keys. I have also backed up it's program files folder and reinstalled it manually with no success. What is the configuration file you are referring to that should be copied to SASHIMI\Auto\Root\Program Files\<app name>? Do you mean a file within program files or some other file?
DRTigerlilly said: what about spbbackup2, easiest backup ever, and the files are self extractable so you don't even need to install spbbackup again to restore a rom. Click to expand... Click to collapse SBPBackup backs up the complete registry, so this would be a problem if something has changed from one rom Version to another (as f.e. stated in the first post of the Energy rom´s thread), thus this program would not be ideal for restoring a backup after flashing to a different rom. Restoring backup´s to the same rom version however, this is what sbpbackup is perfect for.
Cheech1976 said: SBPBackup backs up the complete registry, so this would be a problem if something has changed from one rom Version to another (as f.e. stated in the first post of the Energy rom´s thread), thus this program would not be ideal for restoring a backup after flashing to a different rom. Restoring backup´s to the same rom version however, this is what sbpbackup is perfect for. Click to expand... Click to collapse Agreed, SPB Backup should only be used emails, contacts etc. A full backup should only be used if you are trying to restore rom i.e. if something happened to it. It shouldn't be used when swapping between different rom builds as the registry settings/paths would be different