[Q] Backup Isolated Storage - Windows Phone 7 Q&A, Help & Troubleshooting

Is there any way to back up all IsolatedStorage on Windows Phone? I need to do a full wipe, but I don't want to lose my game saves. I haven't found anything that's let me back up everything, just some seemingly random files.

I have an old app that works if you're interop-unlocked and using very old HTC drivers. I'm updating it to work with WP7 Root Tools elevation, which will support additional devices.
You can kind-of back up data using the current version of Root Tools; install an app such as a webserver (something that will let you access phone data from PC), then use WP7 Root Tools to copy files into the isolated storage of the app, and download them to the PC. For restoring, you can do the reverse (upload to phone, then move them back into position) or you can deploy directly to position using ZIP bug.
This will take a long time, sadly, because the current WP7 Root Tools doesn't allow multi-file move or copy operations. You could also just build a list of all the files that need to be moved (you most important save data, etc.) and then create a provxml file that will copy them all at once. Process that provxml file (set it to copy to a folder in the webserver IsoStore or similar) and then download the files.

Related

Activesync restore

Today I lost all the data on my phone.. no problem I thought, I shall do a restore using my backup activesync makes every time i plug my phone in, so all is fine and dandy. When it gets about half way through the restoration, activesync crashes (always at the same point). It is during processing a file called fldr1001dd8.
This means I cannot fully restore my device - very annoying!!
Can anyone help with this... can I make it so it skips errors instead of crashing? Any help at all appreciated!! Device is a Blue Angel, using ActiveSync 4.1
You want to download a free utility called STGViewer - this utility allows you to examine the contents of the backup file activesync creates so you can identify which data you want restored. If there is a corrupt file then you can decide not to restore that particular one but retrieve everything else.
Thankyou so much, I will try that!!
OK I have found it, but I cant work out how to delete a file from the archive with it. All it seems able to do is 'copy' files out of the archive :-(
Any tips?
You cannot delete individual files from the .stg file but the program does allow you to restore selected folders and files. So you can restore Program Files folder all at once - if that works then restore My Documents folder and so on.
You may find that by restoring individually there may not be any corrupt files. But if there are, then you just select everything else except the corrupted file - you can use drag and highlight to speed things up. A little bit tedious but at least you can get all your files back from a bad .stg file.
BTW, the file you mentioned is in Pegasus Databases which are system files
Have you used the program yourself Ian? If so could you please help me with the restore folder button.. when I select a folder, then the restore folder option on the menu, nothing happens. This is very frustrating!
Also, when I extract the files from the pegasus database and put them on the phone, the pegasus folder shows in the phone's file manager (obviously, because I just put it there). How do I restore them to the (presumably hidden) folder, where they are meant to be?
I appreciate all help on this matter, all I need back are my contacts, appointments and message data etc, the rest I can start afresh with.
No I have not used this to restore an entire phone, only to retrieve individual files. It does sound like you will need to start afresh and just use STGViewer to recover personal files from My Documents etc. Most installed programs in Program Files will work fine if restored via STGViewer- there is often no need to actually use an installation program as many programs work as standalone folders.
If you have synced with your PC previously, all your contacts, notes and messages will be in Microsoft Outlook so you can use Activesync to restore these back onto your phone. (assuming you had opted to sync these items)
I would suggest in future that you use Xbackup in the Programs folder to regularly save your contacts/notes data into permanent Storage. I also from time to time make a copy of my .stg file so that I do not need to start anew if my current .stg file is corrupted. Good luck!

Backup all configuration files automatically / Restore uppon reflashing

Aaaah, another backup??? WHY? Read why before downloading this one, running and deleting afterwards without knowing.
why1: after re-flashing device, all setting files will be imported automatically into device.
with autobackup switched ON and even better with my another script (papustomize),
you will have your old settings after reflashing without pressing a button
why2: it’s simple & plaint. You can combine using script or file explorer for manual copying, deleting, adding of files and folders.
Not running difficult backup programs and re-selecting which files to keep backup of..
You can select individual files or whole folder structures to be backuped/restored
why3 (not yet I want to add the same for program’s registry values of course. It would be why3. (backuping and restoring saved regs)
..meantime only papustomize is parsing saved registry entries, but backup of them is not done automatically. Read notes in “papustomize.mscr” on how to prepare reg files for parsing.
Papustomize is using dotfred’s taskmanager for parsing registry. You need to have this in windows folder with name "\Windows\TaskMgr-fdc.exe"
or change location and name of it in papustomize.mscr
--
How it works?
Packup will backup files, folders or complete folder structures from device
which you manually once copied into specified backup folder on SD card.
There is no backup list, all files which you once manually copied to backup folder
will be always backuped.
Files have to be in corresponding directory structure. e.g. put \Windows\saveme.cfg file
in Storage Card\data\backupFolder\Windows\saveme.cfg
* if there is a file named packup.all in any folder inside BACKUP path, it will
Be backuping ALL files and folders from that level up
* for using OEM version you will probably want to set your own default backup path and settings right into script files. There are notes inside them on how to do it. Eventualy, put your folder in rgu
I am using version of Mortscript 4.2 – it’s included in cabs but not in OEM downloads. May not work with older ones.
MortScript is great project and all Glory and $ for using scripts with Mortscript must go to Mortscript program author: (c) Mirko Schenk [email protected] http://www.sto-helit.de
----
There is other app in OEM package, automatic light chnger for day/night,
you can find description and cab in general kaiser forum.
Hints and bugs welcome
will try it soon and give a feedback
thanks for this nice utilities...
Looks good, will give it a try! Thx
What is the difference with this one:
XDA_UC

HTC application copying files from rom to storage

After every hard reset and during the first boot there is an application running in the background that copies some files (f.e. Opera9.exe, Copilot, GoogleMaps, wallpapers etc.) from rom (these files originally reside in Windows folder) to storage memory, creating a double copy of these files.
Does anyone know the name of that application and if it is possible to run it without a hard reset?
Thank you
Edit:It must be RunCC.
Does anyone know how could I reactivate the customization process without a hard reset?
I'd like to know how to get rid of it, why do we need two copies!!!
You can get rid of the files that are in the same directory, like Opera9.exe and OperaL.exe.
You can also move googlemaps and Copilot to storage card.
But you can not get rid of the image files, ringtones etc that are copied from \Windows to another folder.
The reason why I am asking for this, is because if we manage to activate the customization application without hard reset then it will be possible to restore an old backup file without losing any new features offered by the rom upgrade.
This could be done as following
1) Backup (f.e. with SPB backup or Sprite backup) before upgrading
2) Upgrade the rom
3) After completing the upgrade install Resco Registry
4) Export the entire registry from the upgraded rom
5) Restore the backup file
6) Import the previously exported registry. In this way you overwrite any keys that should be changed during the rom upgrade.
7) Finally if you manage to run the customization again you will restore all the double files that can not be deleted..
(Opera9.exe and OperaL.exe can be activated by simply removing the files from the \Windows folder and thus activating the rom files)

[Q] Writing a file back to a Marketplace apps Isolated Storage?

Hi All,
I've used Heathcliff's WP7RootTools 0.9 to extract a file from an installed apps IsolatedStorage. The app in question was installed from the Marketplace, but I want to modify some of the files it's saved to it's Isolated Storage.
I extracted the file I wanted to edit by using the Explorer utility in WP7RootTools to copy the file to the "My Documents" folder, and renamed the extension to docx. From there I could simply go into the Office Hub, where the file was now listed, and emailed the file to myself.
I have made the edits to the file, but now need to get the file back into the app's Isolated Storage. This is where I have now got a bit stuck
I've tried copying the file to SkyDrive, and using the Office Hub to download it from SkyDrive to my phone. The file downloaded and is cached on the phone somewhere, but the file location, according to Office is not "Phone". This is normal, as Skydrive downloaded documents are not saved to the "Phone" location until you open the document and do "Save as".
I cannot of course open the downloaded file, as it isn't really a .docx file. Files loacted in the "Phone" location show up in "My Documents" in the WP7RootTools explorer. SkyDrive downloaded documents I have no idea where they are located?
Can you guys help? Does anyone know the path to location of SkyDrive downloaded items on the phone. If so, then I can easily just use the WP7Roottools Explorer to copy the file back to the apps Isolated Storage.
Is there a better way to copy a non-Office file back onto the phone?
Regards,
Micro666
You could use one of these apps:
sh4d0w86 said:
i was going to suggest using WPV App Data Backup, but it seems i saved the Backups in the wrong location... (will fix in next release)
so,
you can use TouchXperience or WMDC Launcher.
Click to expand...
Click to collapse
I'm looking to do the exact same thing....
Options:
1. Do exactly what you've been doing, but save as .txt instead of .docx. The phone can still open this, even though its probably a binary file, and save it to the "Phone" location. Then you can copy it back and rename it.
2. Use an app that gives direct access to the phone's filesystem from the PC, like TouchXperience+WPDM, or Root Webserver (see my sig)+your favorite webbrowser.
3. Use any other way to get a file onto the phone, such as emailing it to yourself, using IsolatedStorageexplorer, or putting it in a XAP files and installing that file. Then move the file with WP7 Root Tools.
I recommend approach #2.
GoodDayToDie said:
Options:
1. Do exactly what you've been doing, but save as .txt instead of .docx. The phone can still open this, even though its probably a binary file, and save it to the "Phone" location. Then you can copy it back and rename it.
2. Use an app that gives direct access to the phone's filesystem from the PC, like TouchXperience+WPDM, or Root Webserver (see my sig)+your favorite webbrowser.
3. Use any other way to get a file onto the phone, such as emailing it to yourself, using IsolatedStorageexplorer, or putting it in a XAP files and installing that file. Then move the file with WP7 Root Tools.
I recommend approach #2.
Click to expand...
Click to collapse
I used TouchExperience.
1.On my Fully unlocked Device(I assume you can do this with root tools), I installed a file manager that gives full access to the device.
http://forum.xda-developers.com/showpost.php?p=24636416&postcount=23
2. I installed TouchEperience on my PC. After giving the WP7 app, Root tools rights, it should show most of the file system(on the PC) but, not all of it. So I created a new folder in \Windows (temp).
3. On the Phone, I hunted down the file I was looking for from Isolated Storage, I copied it to the \windows\temp folder.
4. Used the PC TouchExperience and browsed to \Windows\temp, there was my files, I copied them to my PC. USed the File Explorer to delete the files in my \temp folder(to make sure they were gone).
5. I edited the files, copied them back to \Windows\Temp on my device via TouchExperience on the PC. Then used the file explorer to copy them back to the Isolated Storage.
Note: The file explorer I posted a link to is GREAT, it can even edit files (basic text editor) in Isolated storage. I found a way to Cheat on a marketplace Xbox live game (didn't try others), right before the achivements, so they were really easy to get
I'm sure there is easier methods but, this worked for me...
Can I ask, what app did you try this on ?
Hope this helped...
FYI DavidinCT: Cheating XBL games is very risky. Microsoft often can detect it (for example, if you get one achievement that would have required getting another first) and they can and will permanently ban your Xbox Live account for doing so.
That all said... why didn't you just use WPDM (on the PC) to copy the file straight to the IsoStore of the app? So much easier...
GoodDayToDie said:
FYI DavidinCT: Cheating XBL games is very risky. Microsoft often can detect it (for example, if you get one achievement that would have required getting another first) and they can and will permanently ban your Xbox Live account for doing so.
That all said... why didn't you just use WPDM (on the PC) to copy the file straight to the IsoStore of the app? So much easier...
Click to expand...
Click to collapse
To be honest, I only did it with a game that had an error when I got so far, so the final achivements of the game. A Game with a Known issue but, no fix.
And I just really wanted to see if I COULD do it...
I used WPDM but, the PC version even with my phone fully unlocked (custom rom on my VZW HTC Trophy) and using Root tools 0.9 to give full to TouchExperince root, would not see all the folders and would not see the IsoStore. SO I had to copy the files to a folder that WMDM could see.
Personally, the new File Explorer above is awsome, it's even got a editor in it, I didn't even need to go through all that......

[MASS STORAGE]true mass storage for WP7/7.5

Hey everyone,
I thought of making a simple guide or tutorial on how to get TRUE mass storage working on a windows phone 7/7.5 device with all methods put together under one heading in a single thread. I wanted to do this because many users find the lack of mass storage to be a serious problem especially when it comes transferring .pdf/.ppt/.pptx/.doc/.docx files to their devices or when they want to transfer any file that they downloaded on their wp7 devices to their pc. I hope this helps them.
The USB storage enabler that you find everywhere is not system wide. It just shows the folders that zune can access.
Requirements:
-Full unlocked or interop unlocked windows phone 7/7.5/7.8 device with working WP7 Root Tools
-PC with Windows XP/Vista/7/8
-Windows phone SDK(If you don't want to download and install the whole 1.4GiB here is the miniSDK)
-Connection to a router(for using webserver only)
-Zune
Assuming that you want the mass storage mode to transfer files between your phone and PC, currently there are three ways of achieving this in your WP7 device.If there are any other ways please let me know. I will update the post with links and instructions.
1: Using the Root webserver
This is by far the simplest method of accessing all files and folders on your device. You can download and upload files to the device(one at a time) and delete empty folders. No need to connect your phone to your PC via microUSB cable.
Instructions:
-Install webserver on your phone by deploying webserver.xap from PC or by XapHandler (Thanks to GoodDayToDie for Xaphandler) and mark it trusted in 'policies' tab in wp7 root tools.
-Open the application and type in your own username and password, whatever you like.
-Connect your phone and the other device in which you want to access your phone's file system to the same network.The other device can be another wp7 or any android or your PC etc.You need not have internet access. Its enough if your phone and the other device are on same network(i.e., connected to same modem/router)
-If your phone is running the webserver app, you can see the IP address of your device and the SSID of the network to which it is connected to.
-Open a web browser and type the IP address you can see(not the one that says software loopback interface!!) in the address bar on the other device.
-Enter the username and password you entered in the beginning. That takes you to a page where you have links for IsolatedStorage of webserver app, File system of your phone, content folder, about webserver. Go to file system, you can see all folders and files.
This method doesn't give access to registry and you can't delete non empty folders.
2: Using Windows phone device manager
Here you use a client on your PC and an app on the phone to communicate information on filesystem, and applications. Using this method, you can manage applications as well as access files and folders. And you can perform operations on multiple files at once, but still can't delete non empty files and there is no access to phone's registry. You can also connect to your phone via Wi-Fi.
Instructions:
-Download the windows phone device manager. Finish installation on PC.
-Connect your phone to PC using data cable and start zune. Your device shouldn't be in guest relationship with zune.
-Start windows phone device manager on your PC, it installs touchXperience on your phone for the first time.
-Go to wp7 root tools on your phone and mark touchXperience as trusted and exit the app.
-Start WPDM on PC, then start touchXperience on your phone.WPDM on PC should tell you that it is connected to 'so and so' device. There will also be a notification telling you that your phone is connected to the PC.
-Now you can explore files, install and uninstall apps, sync documents from your PC.
3: Using Windows mobile device centre
Ultrashot says that you can access file system and registry of your phone on your PC using the WMDC launcher and Windows mobile device centre on PC. I have not been able to get Windows mobile device centre installed on my PC since it is only supported on Windows Vista. So I do not have a hands-on experience myself. You can get WMDC for PC here
You will be able to:
-Manage your photos, music, videos.
-Browse the file system and transfer files.
-Edit registry through tools like CERegEdit,etc.
-Manage applications installed on your windows phone.
It is simple to use. Install WM Device Centre app on your device. Mark it as trusted in WP7 root tools or any other root access manager. Plug in your phone. If zune starts, don't worry tap WM device centre app on the phone. Your computer should just detect it as another windows mobile device and start windows mobile device centre. Scroll down for the link.
Some final words:
The files downloaded on your WP7 devices will be in the isolated storage of the respective apps. The apps from the marketplace do not have access to complete file system. So it is downloaded to their own isolated storage which will be usually
\Applications\Data\<app's GUID>\Data\
If you want to transfer .pdf files to your device, first transfer it to an easily accessible folder like 'My Documents' and then open them on your phone using a file explorer rather than directly putting them in Adobe Reader's isolated storage because they don't show up in adobe reader if you do that. Office documents(.ppt/.doc files) do show up in office app if you put them in \My Documents. Once you open your .pdf files using a file explorer, it will be copied to adobe reader's isolated storage which means after you open the .pdf files you just copied to \My Documents or any folder, you can delete them using a file manager and you can still have them stored in adobe reader's isolated storage. This way you get some space saved.
If you find these tools helpful, click 'thanks' button for the developers for these apps:
-Webserver: http://forum.xda-developers.com/showthread.php?t=1459235
-WMDC launcher: http://forum.xda-developers.com/showthread.php?t=1521763
Thanks to:
-Heathcliff74 for the unlocks and the WP7 root tools
-fiinix,GoodDayToDie for webserver
-ultrashot for WMDC launcher
-Julien Schapman for WPDM, touchXperience
Prahlad Varada
Reserved
I tried your method of copying the .pdf file in My documents and then opening it in adobe reader via a file explorer. But when I try to open the file, adobe gives an error saying "The file path is not valid." I also tried a couple of other locations in memory, and also created a few new folders inside various existing folders. But every time I get the same error.
What am I doing wrong? Please help.
Thanks,
PO15ON
PO15ON said:
I tried your method of copying the .pdf file in My documents and then opening it in adobe reader via a file explorer. But when I try to open the file, adobe gives an error saying "The file path is not valid." I also tried a couple of other locations in memory, and also created a few new folders inside various existing folders. But every time I get the same error.
What am I doing wrong? Please help.
Thanks,
PO15ON
Click to expand...
Click to collapse
I think u went to adobe reader's isolated storage and deleted that PDF file there..u can open adobe reader and delete that document (but unable to delete files from recently viewed section)..if only one particular file is experiencing this problem, delete that file in adobe reader app(don't use a file explorer to delete files from adobe reader) and open the file using file explorer(I prefer Heathcliff74's WP7roottools 1.2 or W.I.N.C.O's wPhoexplorer) from a local folder..
In simple words, an uninstall and reinstall of adobe reader should solve the problem..please try it and report back..
Prahlad Varada
Hey Prahlad,
Thanks for answering. Here is what I did before reading your answer.
1. Installed Adobe reader. Opened it once and viewed one pdf file (a small one) from my skydrive, just to make sure it is working properly. The file opened correctly, and everything went normally.
2. Used usb connection to pc to transfer a big file into the "My Documents" folder.
3. Removed the usb connection.
4. From the phone, used a file explorer to go to My Documents folder and tried opening the large pdf file.
5. It opens Adobe reader, but before loading the actual file, Adobe reader gives the error. When clicking OK on the error, it opens adobe reader, but without the file.
After reading your reply:
1. Uninstalled Adobe. Reboot.
2. Install Adobe.
3. Opened Adobe, no file present. Close Adobe.
4. Went to My Documents from file explorer, and tried opening the pdf file.
5. It opened adobe reader, but before loading the actual file, gave me the same error. After clicking OK on the error, the app opens, but without the actual file.
I never went into any other folder, and have NOT deleted any file. Not from My Documents, or from any Adobe folder.
PO15ON said:
Hey Prahlad,
Thanks for answering. Here is what I did before reading your answer.
1. Installed Adobe reader. Opened it once and viewed one pdf file (a small one) from my skydrive, just to make sure it is working properly. The file opened correctly, and everything went normally.
2. Used usb connection to pc to transfer a big file into the "My Documents" folder.
3. Removed the usb connection.
4. From the phone, used a file explorer to go to My Documents folder and tried opening the large pdf file.
5. It opens Adobe reader, but before loading the actual file, Adobe reader gives the error. When clicking OK on the error, it opens adobe reader, but without the file.
After reading your reply:
1. Uninstalled Adobe. Reboot.
2. Install Adobe.
3. Opened Adobe, no file present. Close Adobe.
4. Went to My Documents from file explorer, and tried opening the pdf file.
5. It opened adobe reader, but before loading the actual file, gave me the same error. After clicking OK on the error, the app opens, but without the actual file.
I never went into any other folder, and have NOT deleted any file. Not from My Documents, or from any Adobe folder.
Click to expand...
Click to collapse
Hmm..then I think the PDF is corrupted..maybe u unplugged ur phone before the transfer got complete or there was some loose contact and your phone didn't get the file completely..try deleting the file u transferred and from my documents or whatever folder they are in, reinstall adobe and open PDF again with file explorer..granting root access for adobe reader might help, I m not sure..but your file explorer must have root access either through a custom rom or wp7roottools
Next time when u reply, please do mention on WHICH device, with WHAT FIRMWARE u r experiencing this problem..if u also mention which method u used to transfer the file and how big the file was, maybe we can figure something out..
Regards
Prahlad Varada
prahladvarda said:
Hmm..then I think the PDF is corrupted..maybe u unplugged ur phone before the transfer got complete or there was some loose contact and your phone didn't get the file completely..try deleting the file u transferred and from my documents or whatever folder they are in, reinstall adobe and open PDF again with file explorer..granting root access for adobe reader might help, I m not sure..but your file explorer must have root access either through a custom rom or wp7roottools
Next time when u reply, please do mention on WHICH device, with WHAT FIRMWARE u r experiencing this problem..if u also mention which method u used to transfer the file and how big the file was, maybe we can figure something out..
Regards
Prahlad Varada
Click to expand...
Click to collapse
Giving root access to Adobe reader worked. The file manager already had root access, but Adobe didn't. When I granted Adobe root access, it worked for a couple of files. There is one file which is around 250 MB, which didn't worked. But I guess it exceeded the storage capacity of Adobe. When I tried opening the big file, it opened Adobe reader, and after a few seconds, Adobe quits.
I am using HTC Titan ATT branded, but full unlocked with Custom ROM 7.8. The custom rom makes it possible to connect to pc via windows phone device manager when connected through USB. I used that method for transferring the files.
Anyways the smaller files worked. So thanks for helping me out.
Cheers,
PO15ON
feherneoh said:
WMDC should work on any Windows 6.x system, so versions othe than Vista will work. For 5.x (2k & XP) use ActiveSync instead of WMDC.
Phone should appear in My Computer like a WM phone does when in ActiveSync mode, but Zune have to be open. The only problem with this is its slow transfer speed, but you can still use it with just a USB cable. You should even be able to use the webserver method using USB instead wifi.
Click to expand...
Click to collapse
But i couldn't get it work even once..so i just stick onto touchxperience which is currently working fine..i just mentioned WMDC just for the sake of records and i even saw a video of wp7 working with wmdc and so i mentioned it..cheers
Prahlad Varada

Categories

Resources