file viewer - Windows Phone 7 Development and Hacking

is there a way I can see the files on my wp7 or a program to look through what files are on there.

You can use this program called RemoteExecute and execute \Windows\FileBrowser.exe to browse the files.
However you will not be able to open each file, there is another program specific for HTC devices but I don't remember it.
You can also use this webserver to browser the files, a lot of them are readable

Related

Newbie question: getting CAB files from exe

Hello,
I would like to know how can I extract the .cab files from an exe file that is an application installer (the exe should be run on the PC).
I think that the active sync saves a copy of the cab files, but I am not sure. If using activesync is the only way, it's fine, but I prefer a method that does not install the software first and it does not involve activesync.
Thank you,
Eran
Well it really depends on the application, there is not always one answer that fits all things.
You can try using a program like WinRAR and right click on the PC exe, you may see an option to extract the files, if you do chances are you'll gain access to the cab files. Things like the ROM updates work this way.
Sometimes this method doesn't work. Then you may need to install the program on your PC. You'll need to look on your C drive for the folder the program creates, generally this will be with in the C:\Program Files\ folder or the C:\Program Files\Microsoft Activesync\ folder. This folder can be easy or hard to find.
Another method is to set Pocket File explorer to "Show all files" (you'll need to tap and hold on the white space at the bottom of the page, and select this option from the menu that pops up.) Then go to \My Device\Windows\AppMgr\Install\ and wait for the file to appear here when you first install it. Note that in WM5 you are generally asked if you wish to install the program, DO NOT ANSWER THIS QUESTION instead go to pocket file explorer and look at the \My Device\Windows\AppMgr\Install\ folder your cab should be here, after it is installed it will be deleted from this folder and some times cabs are partly deleted in the install process. (it maybe necessary to install two or more programs at the same time to get a working copy of your program cab file.
DAH

Text Editor

is there a text editor built into the phone somewhere? It would be real nice to be able to read files while in the phone itself , or do you have to be tied to the pc?
You have word in the office hub. You may create new files but syncing with pc is not supported as far as I know. You have to send files from your pc to your phone via email.
Advanced Explorer and TouchXplorer both offer full filesystem access and the ability to open any file for reading/editing in Word (although some files will be write-protected). This generally works fine for plain-text files.

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

[GUIDE] Enable Podcast directory in Marketplace (in markets without prior support)

I've been searching for a solution to this problem for awhile now, and I finally found one. Using Windows Phone Device Manager I was peering through the files on the phone and found 3 xml files that hold the key to adding podcasts to markets that do not have support already.
These two xml files are located in the \My Documents\Zune\PimentoCache\Keepers folder
Downloaded_TunerConfig.xml
LKG_TunerConfig.xml
And the last one is located in the root of the Windows folder
TunerConfigDefault.xml
Now all you have to do is find your specific market (Canada in my case) and add the line pod="1" to the string, so:
<market id="en-CA" mkt="1" zpass="1" sdjloc="1" sdjmkt="1" music="1" xbox="1" ratings="ESRB" catalog="en-CA" mtax="1" atax="1"/>
becomes:
<market id="en-CA" mkt="1" zpass="1" sdjloc="1" sdjmkt="1" pod="1" music="1" xbox="1" ratings="ESRB" catalog="en-CA" mtax="1" atax="1"/>
And as simple as that, podcasts appear!
I used WPDM to transfer the files, but it was a bit finicky when the file already exists, I've found that by uploading the files with the extensions changed slightly (ie. .xml1) and then changing the file name, it replaces the old file.

[GUIDE] Local access to System Files (ALL Newer Builds)

Here is an easy method of accessing the system files and folders on the main drive (formerly C.
Simply download the "shortcut.zip" file attached to this post and extract it to your device storage or sd card. Out of 3 different unzip utilities i tried only "RAR Opener" was able to properly extract the file, so search the Store for it and install.
Once extracted, open the built in File Explorer and locate the extracted shortcut. Tap on the shortcut and you'll be taken to the base of the system drive!
x_orange90_x said:
Here is an easy method of accessing the system files and folders on the main drive (formerly C.
Simply download the "shortcut.zip" file attached to this post and extract it to your device storage or sd card. Out of 3 different unzip utilities i tried only "RAR Opener" was able to properly extract the file, so search the Store for it and install.
Once extracted, open the built in File Explorer and locate the extracted shortcut. Tap on the shortcut and you'll be taken to the base of the system drive!
Click to expand...
Click to collapse
This U:\ shortcut , C:\Data
ngame said:
This U:\ shortcut , C:\Data
Click to expand...
Click to collapse
Yes, it's a shortcut directly to the U: drive. I created this and shared because of the difficulty of actually creating the shortcut itself. Simply editing the original C: shortcut will not work if you don't actually have a drive with that letter. I know many people would give up trying to create their own, so I shared my own.
still this doenst allow you to access everything and for the public apps folder for example you need a direct shortcut pointing there cause you cant navigate there cause subdirs not showing (due to the fact you dont have real complete access)
tofuschnitte said:
still this doenst allow you to access everything and for the public apps folder for example you need a direct shortcut pointing there cause you cant navigate there cause subdirs not showing (due to the fact you dont have real complete access)
Click to expand...
Click to collapse
I see this. I will continue looking into this and see if we can make it work.

Categories

Resources