Extract SMS on WP7 - Windows Phone 7 Development and Hacking

Hello there,
just for your info - maybe it helps somebody:
after some days of trying i found the shortmessages (with tel-number etc.) and some other stuff in a file:
1. Explore your phone with Windows Phone Device Manager
2. goto \Application Data\
3. Add "\Microsoft" to the path (under the file-explorer logo)
4. goto Outlook\Stores\DeviceStore
5. Rename "store.vol" to something like "store.vol.txt" (it is mandatory to rename this file - without this step the file is in use by outlook)
6. extract it (drag n drop)
7. run perl script (#perl test.pl store.vol.txt)
8. See output
Maybe one of you could build a backup application or something like that!
Link to perl script:
http://uploaded.to/file/he26q0d2
Original source of script:
http://www.pocketpcjunkies.com/Uwe/Forum.aspx/pocketpc-dev/21040/Reading-pim-vol-EDB-File-on-a-PC
Edit:
Don't know if you've seen it:
\Application Data\Microsoft\Outlook\Stores\DeviceStore\data
ALL emails and other messages + contact-pictures + signature (three sizes) (just edit the file extension to .html or .jpeg - hex edit helps to find what is right )
\Application Data\Microsoft\Internet Explorer
-> TabsStorage.bin: Opened tabs from internet explorer (where are the cookies?! )
\Applications\Data\82A23635-5BD9-DF11-A844-00237DE2DB9E\Data\IsolatedStore
ALL Facebook-Information (if app is installed), including messages, pictures, notifications etc. etc.
\Application Data\Location\Cache
Wifi & GSM Data when features is enabled in WP7-preferences (encrypted?! don't know..)
Much more to come...
greets
endeffekt

Thanks! Looks interesting, I might try that!
Hey just wondering but does syncing with outlook have the option to sync texts? Only reason I wonder is because you said that file was in use by outlook....

WP7SuperFan said:
Thanks! Looks interesting, I might try that!
Hey just wondering but does syncing with outlook have the option to sync texts? Only reason I wonder is because you said that file was in use by outlook....
Click to expand...
Click to collapse
Hey,
i just THINK it's in use
If you look at this file without renaming it's at 0,00 KB and you can't extract it. Maybe the contacts-tile or something else is using it

Hi Endeffekt,
thank you for this great hint!
But one more question before I try. Is it possible, to rename the file after the procedure back to "store.vol" without losing the messages on the phone?

schluff1 said:
Hi Endeffekt,
thank you for this great hint!
But one more question before I try. Is it possible, to rename the file after the procedure back to "store.vol" without losing the messages on the phone?
Click to expand...
Click to collapse
WP7 creates a copy of this file (automatic), so no problemo sir

Great! Alle messages are there. But the script doesnt work for me.
Now we need a smart developer who can make a viewer for it.
Is there a way to copy the vol file back to the phone? Or is the file always locked? For restore reasons...

I think this is very interesting (possibility to backup/restore SMS), so probably we should keep it on the front page so the devs could notice it.

Has anybody tried to restore that store.vol into the device after a reset? I mean rename the current store.vol to any filename, then copy the backed up store.vol to the phone and restart.
I'd like to try but i need to get hold all my current sms!

Pixa1 said:
I think this is very interesting (possibility to backup/restore SMS), so probably we should keep it on the front page so the devs could notice it.
Click to expand...
Click to collapse
i agree
thanks a lot Endeffekt for sharing such important information
i sent the file to my pc but still couldn't edit it,
if anyone know other way than perl script please share,
i'm trying to edit the file and insert old sms from my old phone
thanks

Gray.Fox said:
i agree
thanks a lot Endeffekt for sharing such important information
i sent the file to my pc but still couldn't edit it,
if anyone know other way than perl script please share,
i'm trying to edit the file and insert old sms from my old phone
thanks
Click to expand...
Click to collapse
Hint: it's an EBD database (like other files too)

Don't know if you've seen it:
\Application Data\Microsoft\Outlook\Stores\DeviceStore\data
ALL emails and other messages + contact-pictures + signature (three sizes) (just edit the file extension to .html or .jpeg - hex edit helps to find what is right )
\Application Data\Microsoft\Internet Explorer
-> TabsStorage.bin: Opened tabs from internet explorer (where are the cookies?! )
\Applications\Data\82A23635-5BD9-DF11-A844-00237DE2DB9E\Data\IsolatedStore
ALL Facebook-Information (if app is installed), including messages, pictures, notifications etc. etc.
\Application Data\Location\Cache
Wifi & GSM Data when features is enabled in WP7-preferences (encrypted?! don't know..)

da_mayhem said:
Has anybody tried to restore that store.vol into the device after a reset? I mean rename the current store.vol to any filename, then copy the backed up store.vol to the phone and restart.
I'd like to try but i need to get hold all my current sms!
Click to expand...
Click to collapse
I will try this today

endeffekt said:
I will try this today
Click to expand...
Click to collapse
How was it?

endeffekt said:
Hint: it's an EBD database (like other files too)
Click to expand...
Click to collapse
thanks endeffekt for the hint i'll look into it thanks alot
endeffekt said:
I will try this today
Click to expand...
Click to collapse
i hope you or anyone can try and confirm i have only one device i can't risk it
also couldn't try it on my emulator i think i misconfigured something
if i find anything i will post here

SMS retreival on Windows phone 7 using device manager
Hey all.
I have an Samsung Omnia phone 7. Dev unlocked. Running 7.0.7004.0
Anyone any idea how to view the file in question? I need to download this file, and save the SMS entries to my PC.
When I use device manager, I cant see a folder called
\Application Data\Microsoft\Outlook\Stores\DeviceStore
I mean, when I copy and paste the above text into the path, its just beeps and doesnt show anything.
On the root under file explorer, I have
My Documents (which is empty)
Windows (lots of files in it)
-ActiveSync
-Application Data
--KeyStorage
-AppMgr
-ColdInit
-eventlog
and a few others
When I open the Application Data folder, I only have a 'Key Storage' (certainly no Microsoft folder, and I tried typing it incase it was hidden or something , but just a ping sound and no refresh of the file list)
and when I open Key Storage, I have no files.
Any help working out why I cant see these folders / store.vol file would be very much appreciated
Does Windows Phone Device Manager not support this functionality on the Omnia?
Thanks

this should be a sticky, and testers needed

Using the diagnosis code 5**6244*3
I was able to open the Apps Launcher and Shortcuts Menu and can confirm that the path \Application Data\Microsoft\Outlook\Stores\DeviceStore exists on my Focus.
In that folder, I have:
temp
0
4
6
3
19
8
Each of these folders has a list of single alpha named folders (a, b, c, d, e, etc...)
Each of these alpha folders has a single .dat file
I haven't tried to extract those files to try to play with them. I don't know how I would with the Focus... But just confirming the path exists on my Focus and has the .dat files

thank you munkeyphyst, still waiting for endeffekt

endeffekt said:
Hint: it's an EBD database (like other files too)
Click to expand...
Click to collapse
Thanx for your hard work... Any success???? i'm intrested in the extraction of sms in the form which can b read on computer. i tried as you said renamed and copied to computer but i can not read that in computer... is it encrypted ?? Any help in that is appreciated.......

I've checked out all the EDB recovery/readers on teh net and cannot open one of these "edb" files from the phone.
if anyone knows the architecture of the file, I can parse it and have a program ready quickly.
some talk about EDB

Related

How to override files in windows-folder?

Hello,
I'm trying to replace the sym.0409.txt in windows-folder. But this file is writeprotected, so I can't delete or replace it. when I try to paste the file to windows-dir I get a message "do you realy want to replace the file... blablabla". When I click "yes", windows creates a new file "copy of sym.0409.txt"
can anyone tell me how to replace write protected files in windows-directory?
i belief this discussion has nothing to do with WM6. perhaps it should be moved to a general discussion?
HerrVorragend said:
Hello,
I'm trying to replace the sym.0409.txt in windows-folder. But this file is writeprotected, so I can't delete or replace it. when I try to paste the file to windows-dir I get a message "do you realy want to replace the file... blablabla". When I click "yes", windows creates a new file "copy of sym.0409.txt"
can anyone tell me how to replace write protected files in windows-directory?
Click to expand...
Click to collapse
Depends how you are doing it....
Resco file explorer will allow you to "overwrite" file in the windows directory. If you install it you get 30days before you have to register it or remove it.
Hope that helps.
Some files can be overwritten by copying from within your desktop computer using Active Sync or Windows Mobile Device Centre, instead of directly on the device. I think.txt would fit this criteria.
.dll's need something like Resco Explorer installing on your device (on trial) and they will overwrite system files.
the windows-dir is not accessible from desktop-pc... but the resco-file-explorer-solution works fine
HerrVorragend said:
the windows-dir is not accessible from desktop-pc... but the resco-file-explorer-solution works fine
Click to expand...
Click to collapse
yes the windows folder is available from the Desktop PC
ok... thats new for me... can you tell me how? when I go to my device in desktop explorer I see a harddrive "/" and under "/" I see all the rootdirectories from the device - except the windows-dir. typing in directly "//Windows" doesn't work too.
perhapgs it's a vista-only phenomenon...
HerrVorragend said:
ok... thats new for me... can you tell me how? when I go to my device in desktop explorer I see a harddrive "/" and under "/" I see all the rootdirectories from the device - except the windows-dir. typing in directly "//Windows" doesn't work too.
perhapgs it's a vista-only phenomenon...
Click to expand...
Click to collapse
it works under vista too... i think there is a screen shot on mrvanx's guides....
may be.... but not out of the box... so if you can access your windows-folder under vista, please let the rest of the world know, how youget this working
HerrVorragend said:
may be.... but not out of the box... so if you can access your windows-folder under vista, please let the rest of the world know, how youget this working
Click to expand...
Click to collapse
yes you can access it out of the box... but i dont have vista here with me at the moment... but i know you can.
walshieau said:
yes you can access it out of the box... but i dont have vista here with me at the moment... but i know you can.
Click to expand...
Click to collapse
ok guy... this is my last post, after this post I will deactivate the notification.
1. I'm not a fool
2. I've installed Vista
3. You can NOT access the device windows-dir out of the box!
If you can't explain how to do it, please stop telling bull****!
walshieau said:
yes you can access it out of the box... but i dont have vista here with me at the moment... but i know you can.
Click to expand...
Click to collapse
From WMDC, File Management, Browse files ...
\ Then Windows is listed.
The reason you can't see it is because you haven't unticked Hide Protected Operating System Files in CP-Appearance-Folder Options-Show Hidden Files
Edit: Herr*: Calm down, Wash was right and tried to help you with what he had available at the time.
You can overwrite the file using freeware Pocket Total Commander. I have been able to overwrite said file with this app. Sym.txt allows for entering additional characters (with umlauts....) via hardware keyboard.
Oops - ignore this.
Ok here is how you do it, folder options, view, uncheck "hide protected operating system files (recommended)". Presto, you can see it now, at least in Vista.

Increase SMS box size in touchflo ?

Along my travels of reading thousands of posts in hundreds of threads I seem to remember reading about a tip to increase the viewable box size of SMS messages in touchflo.
Ive tried searching using all the keywords I can think of but have come up blank. I cant remeber if it was even in the Blackstone section.
Im using mun_rus's SMS zoom tool and if I get a large text message I cant always see it all.
Can anyone help please ?
Shetlander said:
Im using mun_rus's SMS zoom tool and if I get a large text message I cant always see it all.
Click to expand...
Click to collapse
U are using mine mod for diamond) Coz of bigger screen resolution u getting cut bottom I'll make such mod for HD also
Yep, your mod works good but as you said it cuts the bottom off.
Is it possible to make it remeber the zoom settings so they stick?
Also gona use your Background4alltabs if/when you fix it to work with analogue clocks (Cant give up my big Xperia clock).
In the \Windows folder, edit the file thread_sms.htm.
Look for a line that has the text Height=35. The 35 represents a height of 35 pixels.
You can increase the number as you like. For have three line the right value is 75.
how can you edit the thread_sms.htm file? I found it but doesnt give me the option to edit!
I tried looking for it connected through my laptop but Windows folder is hidden and no matter what I do i cant seem to find it!
copy to sd with your mobile file explorer, edit from sd with windows , copy it back
yea tried that but it wont let me copy it back to the Windows folder!
the file in the Windows folder wont allow me to delete it either! hmmmm
Ive copied it to the SD card and my laptop and unless Im blind there appears to be nothing in it.
The file size is 851 Bytes. Is that right ?
yea thats the file... i copied it onto my desktop, changed the file to open with Notepad and changed the height value to 75.
saved it, changed it back to open with IE then copied it back to SD then tried to replace the file with the existing one... but it wont allow me!
Same problem here, tried all ways. Installed Resco Explorer to get the result. SMS is now much more friendly, thanks for the tip lucarp78.
Hell yeah! Thanks for the tip, exactly what I wanted.
Tip: Use Total Commander and edit the file from the mobile!
yayayay said:
Hell yeah! Thanks for the tip, exactly what I wanted.
Tip: Use Total Commander and edit the file from the mobile!
Click to expand...
Click to collapse
When I copy it to my SD card with TC and open it, it opens in Opera and all I can see is a black bar across the top.
How did you edit it on your phone please?
What program did you use to edit it?
Thanks
The easiest way is to use Total Commander. Select properties for the file and remove the Read-Only check. Then edit the file as mentioned earlier and save it. Set the Read-Only property again and reset.
If you want to copy the file to your PC and edit it there, remember to remove the Read-Only property before you copy it back again (either using explorer, Resco Explorer or TotalCommander) otherwise you are not allowed to overwrite it. Hope this help.
Is there any chance someone would be kind enough to put up a copy of the thread-sms.htm file or cut & paste the contents in a thread.
I dont know how but Ive manage to mess mine up royally.
Thanks
Shetlander said:
When I copy it to my SD card with TC and open it, it opens in Opera and all I can see is a black bar across the top.
How did you edit it on your phone please?
What program did you use to edit it?
Thanks
Click to expand...
Click to collapse
I said I used Total Commander. Google it and download. Then look up where the file is in your windowsfolderand. Then you should manage the rest.
yayayay said:
I said I used Total Commander. Google it and download. Then look up where the file is in your windowsfolderand. Then you should manage the rest.
Click to expand...
Click to collapse
I have Total Comander already installed. When I asked how did you edit it, I mean what program as it opens auomatically with Opera and shows nothing. I managed to get it open once in Notes and edit the line but that didnt seem to work.
I went back to the windows folder and now it comes up with an error. When I look at the file on my works pc there is only about the first 6/7 lines in the file?
Shetlander said:
When I asked how did you edit it, I mean what program as it opens auomatically with Opera and shows nothing. I managed to get it open once in Notes and edit the line but that didnt seem to work.
Click to expand...
Click to collapse
The clear up any confusion (because the previous guys who have posted haven't exactly been clear!)... if you simply "open" the file... by clicking or double clicking it... then it will simply "open" in a program designed to open that type of file.
As the file you're trying to edit is a webpage (.htm) then it will "open" in a program designed to "display" webpages... like Opera or IE!
You don't need to "open" the file.... you need to "edit" it.
In Total Commander, click the file once to highlight it, and then select "File" > "Edit" from the bottom menu of Total Commander.
Shetlander said:
I went back to the windows folder and now it comes up with an error. When I look at the file on my works pc there is only about the first 6/7 lines in the file?
Click to expand...
Click to collapse
If you've messed up your file... may I suggest you delete it from the Windows folder (using Total Commander).
It will look like it's doing something, but then the file will still be there... as when you delete a file that is originally stored in the ROM, it gets immediately replaced with the original from the ROM!
Then copy the file to your My Documents folder, click it to highlight it, click "File" > "Properties" from the bottom menu of Total Commander, and untick the "Read Only" attribute & click OK.
Edit as above, and click "File" > "Save".
Copy that file back to the Windows directory by clicking "File" > "Copy/Move", click "Tree", highlight "Windows", click "OK", click "Copy"... click "Overwrite" if prompted!
Thanks Sidepa, thats exactly what I wanted to know. Im still getting to grips with TC but its thanks to the help of this community im slowly learning.
After all that though, it still hasnt solved the problem of increasing the text box size. It may be a manilla file that needs editing in mode9 maybe. Hopefully mun_rus will come up with something as hes gona look at getting his diamond app to work on the HD.
Works for me in all input modes. Here is the modified file. Keep a copy of your original for safety then overwrite with this one.

[Q] replacing a deleted icon in start menu

Hi all
after some great advice from miami_son I have managed to sort out the mess that was my programs start up page.
sadly i also managed to delete the link file for the file explorer program
try as i might (and being very thick) i cant get it back.
can anyone point me in the direction (or tell me how to do it) to get the file link back
many thanks in advance
Use Total Commander to locate fexplore.exe in the \windows directory and select it with a single click. Click on file in lower left corner of Total Commander to bring up the menu. Click on >>>>>> and then click on create shortcut. Use the tree function to place the file in \windows\startmenu\programs.
Follow Kevin's instructions, works for any .exe file you want to create a shortcut for. But I would just skip creating one for that particular file. For one, Total Commander is a much better file explorer and can do more, and the OEM file explorer can cause you to delete things by accident if you aren't real careful.
Miami_Son said:
Follow Kevin's instructions, works for any .exe file you want to create a shortcut for. But I would just skip creating one for that particular file. For one, Total Commander is a much better file explorer and can do more, and the OEM file explorer can cause you to delete things by accident if you aren't real careful.
Click to expand...
Click to collapse
I'm not sure, but I think that many programs use the file explorer to open files, rather than opening it themselves. Or at least this appears to be the case.
stevedebi said:
I'm not sure, but I think that many programs use the file explorer to open files, rather than opening it themselves. Or at least this appears to be the case.
Click to expand...
Click to collapse
He didn't delete the program, just the shortcut for it. Once you have Total Commander installed you no longer need the stock shortcut. Like I said, TC is a much better file explorer.
You guys are just brilliant!!!!
Thanks so very much
was on the verge of hard resetting the device to start again!!
thanks again
Me again
new phone ( old one was stolen) so now i have to delete the shortcuts again
try as i mighti cant remember and i have done a search with no joy
so if someone could help me out (again)
I would be so grateful
thanks
stringman said:
Me again
new phone ( old one was stolen) so now i have to delete the shortcuts again
try as i mighti cant remember and i have done a search with no joy
so if someone could help me out (again)
I would be so grateful
thanks
Click to expand...
Click to collapse
Delete which shortcuts? Most shortcuts that you see in the start menu are listed in \Windows\Start Menu\Programs\.
its the shortcut icons in the programs page
it is accesse by the windows button
its got facebook icons windows market place icones etc
its the icons i want to dump
stringman said:
its the shortcut icons in the programs page
it is accesse by the windows button
its got facebook icons windows market place icones etc
its the icons i want to dump
Click to expand...
Click to collapse
The shortcuts (*.lnk files) are located in \Windows\Start Menu\Programs.
The icons for the programs are located (normally) in \Windows.
thanks so how do i delete them?
sorry i know i am being thick
stringman said:
thanks so how do i delete them?
sorry i know i am being thick
Click to expand...
Click to collapse
Long press and select delete.
using what programme
Thanks
stringman said:
using what programme
Thanks
Click to expand...
Click to collapse
Any file browser application on the device. File Explorer is on every ROM. You could even do it from your PC if you rather.
Install Total Commander. Unzip file, connect device to PC, run the EXE file.
thanks miami son
am i correct in thinking ( from the advice you gave me about a year ago) that you cant actually delete the program but you can delete the icon file (png?)
thanks all
stringman said:
thanks miami son
am i correct in thinking ( from the advice you gave me about a year ago) that you cant actually delete the program but you can delete the icon file (png?)
thanks all
Click to expand...
Click to collapse
It sounds like you're just trying to remove some links from your start menu. Is that correct? If it is, then just navigate to \Windows\Start Menu\Programs and delete the ones you don't want to appear in the Start Menu. In File Explorer, tap and hold on the one you want to delete until the menu pops up. Select delete and then tap yes. In Total Commander, do the exact same thing. I don't think I can explain that better without making a video of it.
well i would like to delete the progs but I was under the impression that they were installed on the rom and, as such, they cannot be deleted
(certainly when you delete the icon and then do a hard reset the icon re appears)
i will try to combine (my bad) memory and the instructions and see where i can go
thanks all
stringman said:
well i would like to delete the progs but I was under the impression that they were installed on the rom and, as such, they cannot be deleted
(certainly when you delete the icon and then do a hard reset the icon re appears)
i will try to combine (my bad) memory and the instructions and see where i can go
thanks all
Click to expand...
Click to collapse
You can't uninstall apps that are cooked into the ROM whether you use stock or custom ROMs. Deleting the link files as I've instructed will prevent them from showing up in your start menu. If you hard reset, they will be right back where they started.
Thanks for all your help guys
i can start to sort out the phone now
thanks again

Manual backup of XAPs, Favorites. Download RAR, Cab, 7z files. Full ZIP files

Hi everyone,
I'm posting a method today which i use to backup my XAP files and favorites. I hope that they will help others too and I'm posting some other tips too which i gathered around from the web and XDA. I will be constantly updating this post.
Most of the tips I've provided here are only for Fully Unlocked Phones
Backup .XAP files downloaded from Zune Marketplace
Access your phone's files using any File manager FileBrowser by ego zheng, Unique File Manager by Mohsen Unique Or TouchXplorer by julien Schapman.
Both FileBrowser and Unique file manager can open XAP files but TouchXplorer will throw an exception.
Open FileBrowser and Goto /My documents/Zune/PimentoCache/Lib/
There should be numerically named folders containing cached XAP files but with .ZMZ extension which will look like this
app0b792c7c-14dc-df11-a844.zmz Copy those files to another folder and rename the extension ZMZ to XAP. You should keep in mind that PimentoCache folder gets cleared after every few days. So you have to copy those files as soon as you've downloaded from the marketplace.
You MUST have XAPdeployer by Ultrashot installed for the following trick to work.
If you want to open ZMZ files in the FileBrowser to see which ones you are copying or renaming. Launch Registry Editor by Julien Schapman open HKEY_CLASSES_ROOT create a new key .ZMZ open .ZMZ and create a new String value "Default" enter "xapdeployerfile" in the value and tap OK. Now you can open ZMZ files in the file browser.
Backup XAP files downloaded with Bazaar App
Using Phone's file manager Or Windows Explorer on computer Goto
Application\Data\9daf0fc-a0ee-4cfc-905a-cc812d678a35\Data\IsolatedStorage
all homebrew XAPs downloaded from Bazaar will be in this folder.
Backup XAP files downloaded with wPhoManager
If you download files with wPhoManager from W.I.N.C.O marketplace all the XAPs downloaded will be in
Applications\Data\8A011F29-D5A3-4942-B865-71198AAB94AE\Data\IsolatedStorage
Screen Goes Blank during Incoming/Outgoing calls
I had this problem sometime ago when my HD7 fell real hard and started giving these problems. So I searched the web and found this solution from some website. If you are having problems (Blank screen and inaccessible phone) while incoming/outgoing calls it has to do with the proximity sensor. It goes out of alignment and that results in the black screen during the call. While the call is active, since the screen is essentially turned off by the proximity sensor, I can’t use the keypad or even hang up the call!
The fix is to press down hard on the area where the proximity sensor is. It’s located at the top of the screen – pretty much where the HTC logo is. Just press hard on that area and that should move the sensor back into place.
Backup Internet explorer's Favorites
Browse to /Windows/Favourites and copy all the content to a folder of your choice. Put them back in after you've reset your phone or installed a new firmware. You can also use IE fav Backup by Sh4d0w86 that's also a pretty good app for doing this task.
Saved Office mobile files OR copy Documents from computer to phone
All your Word, Excel, Powerpoint files you saved on your phone are stored in My documents. If you have files in your computer and you want them on your phone. Just copy all those to My documents and they will be in your files list.
Record incoming/outgoing calls complete with environmental effects
This trick does not even need any sort of unlock. Call any number on speaker and press the camera button Switch to Video Recording mode and tap Record. Your call will be recorded in a video use VirtualDub(or any other audio extraction software) to extract the audio and Audacity to reduce environmental effects if there are any.
ZIP files
By default downloaded ZIP file's content (Which can open by default in Windows Phone 7)is in Applications/Volatile/ZipView/(This folder gets deleted when you close the ZIP file, So you have to keep the ZIP file open until you've copied). but the limitation is that you have to open each file individually. But if you want to download the complete file without any content limitation. Do the following method :-
»Open your file manager on your phone OR windows explorer on PC.
»Goto \Windows\Profiles\Guest\Temporary Internet Files\
»There should be folders with names like 9FADAF33, Q110E4PZ, U0GWIYEF and U2QKY63D(exact names can differ)
»Your downloaded ZIP file will be in one of these four folders.
»Copy/Paste downloaded ZIP file to another location where you keep your files.
This method is helpful if you are downloading ZIP files which contains DLLs, EXE or any other format files which WP7 cannot open.
Download WinRar, CAB, 7Z files
Windows phone 7 does not recognize these file types so it will not download these files if you want to. With the following tip you can download these files to your phone.
»Start your phone's Registry Editor and tap HKEY_CLASSES_ROOT
»Create three new keys .Rar, .cab, .7z
»Open each key and create String "Default" with "Zipfile" as a value
»Now you can download Winrar, 7Zip, and CAB files in Internet Explorer.
If any of the above tips helps u out a little please hit thanx or reply if you have any question or suggestion.
I will add shortly:
xap handler = new registry key HKCR/.zmz and string value: Default -xapfile
unique file manager extract zipfile
Download WinRar, CAB, 7Z files
Windows phone 7 does not recognize these file types so it will not download these files if you want to. With the following tip you can download these files to your phone.
»Start your phone's Registry Editor and tap HKEY_CLASSES_ROOT
»Create three new keys .Rar, .cab, .7z
»Open each key and create String "Default" with "Zipfile" as a value
»Now you can download Winrar, 7Zip, and CAB files in Internet Explorer.
If any of the above tips helps u out a little please hit thanx or reply if you have any question or suggestion.[/QUOTE]
Thanks for the valuable info.
Great job
It did and did not work
The rar file can be downloaded, but wp7 cannot read it or recognize it, it shows corrupted file or unreadable file by the system.
It seems we need rar code to be native so we will be to open rar files.
meover said:
Download WinRar, CAB, 7Z files
Windows phone 7 does not recognize these file types so it will not download these files if you want to. With the following tip you can download these files to your phone.
»Start your phone's Registry Editor and tap HKEY_CLASSES_ROOT
»Create three new keys .Rar, .cab, .7z
»Open each key and create String "Default" with "Zipfile" as a value
»Now you can download Winrar, 7Zip, and CAB files in Internet Explorer.
If any of the above tips helps u out a little please hit thanx or reply if you have any question or suggestion.
Click to expand...
Click to collapse
Thanks for the valuable info.
Great job
It did and did not work
The rar file can be downloaded, but wp7 cannot read it or recognize it, it shows corrupted file or unreadable file by the system.
It seems we need rar code to be native so we will be to open rar files.
Click to expand...
Click to collapse
The reason why i posted that registry key wasn't to open RAR files but to download them on your phone so you can copy that file to your computer. Because sometimes the content you wanna download is in RAR format.
jashd7 said:
Thanks for the valuable info.
Great job
It did and did not work
The rar file can be downloaded, but wp7 cannot read it or recognize it, it shows corrupted file or unreadable file by the system.
It seems we need rar code to be native so we will be to open rar files.
Click to expand...
Click to collapse
The reason why i posted that registry key wasn't to open RAR files but to download them on your phone so you can copy that file to your computer. Because sometimes the content you wanna download is in RAR format[/QUOTE]
thanks again, really great job.
I see.
But I hope we can:
Open rar file and extract content like PDF, media file, etc.
I really need 2 task:
Open PDF file within the browser.
Can print the PDF over wireless printer.
they are not accomplished missions yet
meover said:
The reason why i posted that registry key wasn't to open RAR files but to download them on your phone so you can copy that file to your computer. Because sometimes the content you wanna download is in RAR format
Click to expand...
Click to collapse
thanks again, really great job.
I see.
But I hope we can:
Open rar file and extract content like PDF, media file, etc.
I really need 2 task:
Open PDF file within the browser.
Can print the PDF over wireless printer.
they are not accomplished missions yet [/QUOTE]
i hope too but WP7 is closed like a fort, it's not developer friendly and it's really hard and time consuming to do modifications or add new features. You can put some minor things here and there but nothing too big.
Hello!
I copied and moved some .zmz file in my pc.
I renamed them in .xap and tried to deploy them into my HTC 7 Pro with Dynamics 1.21 ROM.
I tried with WPH Xap Deployer, wf Phone Tools and Phone7Deployer, but I only got errors (failed to open the manifest file. This may not be a valid xap).
I suppose this should be related to app encription...
So now, also without Reinstaller working, if we make whatever can delete the apps from the phone, we will have to pass through the marketplace, with app list opened on Zune on our pc... :crying:
Otherwise, a way could be:
1) to know an app's guid, i.e. with cache clearer
2) use a storage explorer on pc, like windows phone device manager and go to
application/Install/(application guid);
3) copy that folder into pc
4) right click on the folder to create a zip file
5) change the extension of the zip file to xap (you can do it at the end, there
some softwares for file renaming...)
A long way if you have some tenth apps installed...
lordmago said:
Hello!
I copied and moved some .zmz file in my pc.
I renamed them in .xap and tried to deploy them into my HTC 7 Pro with Dynamics 1.21 ROM.
I tried with WPH Xap Deployer, wf Phone Tools and Phone7Deployer, but I only got errors (failed to open the manifest file. This may not be a valid xap).
I suppose this should be related to app encription...
So now, also without Reinstaller working, if we make whatever can delete the apps from the phone, we will have to pass through the marketplace, with app list opened on Zune on our pc... :crying:
Otherwise, a way could be:
1) to know an app's guid, i.e. with cache clearer
2) use a storage explorer on pc, like windows phone device manager and go to
application/Install/(application guid);
3) copy that folder into pc
4) right click on the folder to create a zip file
5) change the extension of the zip file to xap (you can do it at the end, there
some softwares for file renaming...)
A long way if you have some tenth apps installed...
Click to expand...
Click to collapse
You are right about apps encryption. Microsoft recently encrypted all their XAPs on marketplace.
jashd7 said:
You are right about apps encryption. Microsoft recently encrypted all their XAPs on marketplace.
Click to expand...
Click to collapse
Nonetheless, if we've got encrypted XAPs specific to our devices, we ought to be able to install them on the device somehow from within the device. We'd just need to initiate the install routine. Does anyone know how to do this?
Thanks
What I am interested in, is a way to take my games save states and back them up. I'm sick of restarting Angery Birds every time I flash my phone. lol Rest of this is super interesting stuff though.
TheXev said:
What I am interested in, is a way to take my games save states and back them up. I'm sick of restarting Angery Birds every time I flash my phone. lol Rest of this is super interesting stuff though.
Click to expand...
Click to collapse
Did you try to look into the Angry Birds folders in your device if it saves something,
for example using FileBrowser (http://forum.xda-developers.com/showthread.php?t=1544399) or Webserver from GoodDayToDie?
If there's something there, you should be able to copy your states in your pc and put them back in your device, I think...
TheXev said:
What I am interested in, is a way to take my games save states and back them up. I'm sick of restarting Angery Birds every time I flash my phone. lol Rest of this is super interesting stuff though.
Click to expand...
Click to collapse
You can use Program Manager by ego Zheng to backup your angry birds settings. You just have to put your saved settings in your angry birds folder after you've flashed.
Here's the link to program manager
http://forum.xda-developers.com/showthread.php?t=1922454
Your saved XAP files will be in Applications\Data\12345678-87bf-4d87-a529-0dff41efd592\Data\IsolatedStore\Xap
Your Data backups will be in \Applications\Data\12345678-87bf-4d87-a529-0dff41efd592\Data\IsolatedStore\Data

Compress files

Hello,
I have an idea to make an App, and I have one problem, I have to upload one folder that its content have a lot of files and folders in order to upload to skydrive. I think that it is more easy if I compress the main folder and then upload this compressed file. How Can I compress this folder?
Thanks you
cansado2930 said:
Hello,
I have an idea to make an App, and I have one problem, I have to upload one folder that its content have a lot of files and folders in order to upload to skydrive. I think that it is more easy if I compress the main folder and then upload this compressed file. How Can I compress this folder?
Thanks you
Click to expand...
Click to collapse
have you tried zip...
dazza9075 said:
have you tried zip...
Click to expand...
Click to collapse
Hi dazza9075,
Thanks by your answer, but I thought the same, but I don't know how to use this, Can you explain about use of zip? Or, Where can I find information about this?
Thank you again
cansado2930 said:
Hi dazza9075,
Thanks by your answer, but I thought the same, but I don't know how to use this, Can you explain about use of zip? Or, Where can I find information about this?
Thank you again
Click to expand...
Click to collapse
+1 for the idea... I also want a program like winrar which also available in symbian phones.plz any dev note this and develop an app for compressing and decompressing files...
WP will unzip zip files, make the sip, copy to sky drive, open via IE, it will then give you the contents of the zip,, it can't compress files to zip though. Technically there would be little point since docs auto sync to sky drive, and WP doesnt support anything else or file system access, but its doable for unlocked devices I suppose
Sent from my SGH-i937 using XDA Windows Phone 7 App
dazza9075 said:
WP will unzip zip files, make the sip, copy to sky drive, open via IE, it will then give you the contents of the zip,, it can't compress files to zip though. Technically there would be little point since docs auto sync to sky drive, and WP doesnt support anything else or file system access, but its doable for unlocked devices I suppose
Sent from my SGH-i937 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Hi dazza9075,
Thank you by answer, I had thought that it isn't possible, because I want to compress a folder of other app that her content are a lot of files and folders. So, Do some api exist in order to compress this? Or, Have I upload files and folders one by one?
Thank you again
I think it's completely possible
sombody names Ego zheng,wrote an application. It is program manager.
u can repack your apps,and save apps data in a single .zip file.
i think he can do this
contact him for this idea.
Leo_zodiac said:
I think it's completely possible
sombody names Ego zheng,wrote an application. It is program manager.
u can repack your apps,and save apps data in a single .zip file.
i think he can do this
contact him for this idea.
Click to expand...
Click to collapse
its doable so long as you have interop unlock and WP tools installed and setup
if the Windows Phone SDK is missing Zip functionality (it may be called "DEFLATE" which is the name of the compression algorithm; ZIP is the file format) then there are surely libraries for various compression methods which you could download. Alternatively, if you don't mind using native code homebrew, there are compression libraries (zlib, etc.) that can be compiled to a native DLL, and you could then access them via COM.
i add this to new version of my file manager and now you can compress and decompress file and folders
Hi!
Thanks you by your answer, they have been very useful.
Thanks you
Hi again,
I'm using the lib "SharpZipLib" and I have problems with it. Can you explain how use it? or what is the problema? I probe in a program of pc and it working correctly but in app for my mobile say it crashed when it go to create the file, this is code:
FileStream fsOut = File.Create("Copia.zip"); //here is the problema at this moment
ZipOutputStream zipStream = new ZipOutputStream(fsOut);
zipStream.SetLevel(3);
zipStream.Password = null;
........
It can't create the file.
Thank you again
Generally speaking, Silverlight (which WP7 uses for apps) doesn't even allow normal file access, so you might just be getting a MethodAccessException on File.Create. If not, that still won't work without elevated privileges. The default working directory for a program is it's install directory. For a WP7 app, that's going to be either its install location (\Applications\Install\<GUID>\Install) or the Windows directory where the taskhost.exe file lives (\Windows\). Trying to create a file without specifying full path will crete it relative to the working directory, which in this case means creating it in the working directory directly (no path specified). Since the app can't write to the working directory, you'll get an error from that too.
To get around the permissions error, use the IsolatedStore folder (\Applications\Data\<GUID>\Data\IsolatedStore\) or run the app with full permissions ("Trusted" or root unlocked).

Categories

Resources