Possible to download files on device? - Windows Phone 7 Q&A, Help & Troubleshooting

Is it possible to download files (RAR) on the device using internet and transfer it later to the PC? I don't think its possible in stock ROM but perhaps an App or something.
My device is Dev+Interop unlocked.

if you find where ie9 stores temporary downloaded file, like pdf, mp4 ecc ecc, i can tell you how to complete the download, and, once completed, tranfer the file to the pc...

It's very possible (download any file that fits to handset's isolated storage file from your homebrew app, and transfer that file to PC using ISETool.exe) but why not use cloud file storage such as SkyDrive, DropBox etc.? If you have no experience with DropBox, click on link in my signature; it's very simple and useful

davide136 said:
if you find where ie9 stores temporary downloaded file, like pdf, mp4 ecc ecc, i can tell you how to complete the download, and, once completed, tranfer the file to the pc...
Click to expand...
Click to collapse
I think I can find it. Will I be able to save files like RAR too?
It's very possible (download any file that fits to handset's isolated storage file from your homebrew app, and transfer that file to PC using ISETool.exe) but why not use cloud file storage such as SkyDrive, DropBox etc.? If you have no experience with DropBox, click on link in my signature; it's very simple and useful
Click to expand...
Click to collapse
I think I would then have to transfer twice.

lamborg said:
Is it possible to download files (RAR) on the device using internet and transfer it later to the PC? I don't think its possible in stock ROM but perhaps an App or something.
My device is Dev+Interop unlocked.
Click to expand...
Click to collapse
Yes it is possible to download files. I do it with ultrashot's Opera Mobile port which allows you to select the location of the downloaded files and transfer it using Gooddaytodie's Webserver

Opera Mobile requires full-unlock, so that's not an option for the OP.
Downloaded files typically go to \Application Data\Volatile\<SUBFOLDER> where <SUBFOLDER> depends on where and how they were downloaded (IE, email attachment, etc.).
If you look at the source for my XapHandler app, you'll see how an app can register a filetype. You'd need to do this, or the phone will simply refuse to download extensions that it doesn't recognize (hmm... I wonder if a .* handler would work?)

GoodDayToDie said:
Opera Mobile requires full-unlock, so that's not an option for the OP.
Downloaded files typically go to \Application Data\Volatile\<SUBFOLDER> where <SUBFOLDER> depends on where and how they were downloaded (IE, email attachment, etc.).
If you look at the source for my XapHandler app, you'll see how an app can register a filetype. You'd need to do this, or the phone will simply refuse to download extensions that it doesn't recognize (hmm... I wonder if a .* handler would work?)
Click to expand...
Click to collapse
If Opera Mobile can do, then perhaps some other browser can do that too? Metro internet explorer doesn't work

All the browsers that are based on the IE engine will be unable to do it until the necessary registry keys in HKCR are created. An app can manually download from a URI and save the resulting file, but in the WebBrowserControl if the user clicks a link to a file the handling for what to do with the file is the same as on IE.

GoodDayToDie said:
All the browsers that are based on the IE engine will be unable to do it until the necessary registry keys in HKCR are created. An app can manually download from a URI and save the resulting file, but in the WebBrowserControl if the user clicks a link to a file the handling for what to do with the file is the same as on IE.
Click to expand...
Click to collapse
yes I can see why it doesn't work. So, does an app like that exists in the MP?

lamborg said:
yes I can see why it doesn't work. So, does an app like that exists in the MP?
Click to expand...
Click to collapse
No. And nobody here not even meant marketplace. Interop-unlock + homebrew only.
BTW, could you share with us your scenario: why do you need to download rar archive to the phone and transfer to the PC? I still can't achieve why do you need things like this.

sensboston said:
No. And nobody here not even meant marketplace. Interop-unlock + homebrew only.
BTW, could you share with us your scenario: why do you need to download rar archive to the phone and transfer to the PC? I still can't achieve why do you need things like this.
Click to expand...
Click to collapse
well the thing is, sometimes I need to download files which may take a while to download completely. So, I can download on the go with the cellular data and then transfer to PC when home. Sometimes the file download is completed in the time same as reaching from work to home.

ok, i'll solve the mistere the only thing u need to do is to add a reg key in hkcr , it will be called .rar for rar files etc...then insisde it u create a string that names Default, the value is rarfile
u go back to hkcr, and create a key that is called rarfile, inside it u will create a dword named EditFlags and with the value of 65536
that's all, now you need to know where ie9 stores data...

davide136 said:
ok, i'll solve the mistere the only thing u need to do is to add a reg key in hkcr , it will be called .rar for rar files etc...then insisde it u create a string that names Default, the value is rarfile
u go back to hkcr, and create a key that is called rarfile, inside it u will create a dword named EditFlags and with the value of 65536
that's all, now you need to know where ie9 stores data...
Click to expand...
Click to collapse
I don't know if it'll work or not but can you guide the how-to. I can edit the reg-edit using MFG. It has following options:
Root Path
Sub Path
Input key and type
Input data
Just confirming as incorrect reg edit can render unstable.

lamborg said:
So, I can download on the go with the cellular data and then transfer to PC when home.
Click to expand...
Click to collapse
Oh, I see... Seems like India still have a "last mile" problem and your cell connection is more reliable and faster than home internet. For countries with fast broadband home internet connection this "feature" just have no sense.

lamborg said:
I don't know if it'll work or not but can you guide the how-to. I can edit the reg-edit using MFG. It has following options:
Root Path
Sub Path
Input key and type
Input data
Just confirming as incorrect reg edit can render unstable.
Click to expand...
Click to collapse
ok, this is what you have to do:
-open mfg, engineer menu, other settings, edit registry
root path: HKEY_CLASSES_ROOT
input sub path: .rar
input key: default (string)
input data: rarfile
SET
-without closing
root path: HKEY_CLASSES_ROOT
input sub path: rarfile
input key: EditFlags (dword)
input data: 65536
SET
pay attention at the caps...sry for bad eng...

Related

Autocomplete

Maybe it is another post again about the autocomplete function, but I can't find an answer. I like this auto complete function, but the problem is that once you do a hard reset or install a new rom that all user owned words (words that were added by the system when typing) are lost. These words should be somewhere in a file, but I don't find this file.
Does anyone know what the name of this file is and where to find it?
Using File Explorer go into your Windows directory on your phone and then go to menu and click 'view all files' and you'll see a file called 'autocorrect'. That's the file you need to alter. Copy it onto your PC desktop and save a copy somewhere safe just in case you do something stupid. Now open up a copy of it on your PC and you'll see two columns - the left column is the 'typo' and the right column is what it corrects it to. You can add or change things here. I made "pcm' autocorrect to 'please call me' for example and 'tx' to 'thanks'. When you save the file do not change the format (Windows tries to save it as an Excel file- don't do that - leave it as it is which i think is txt). Now you need to replace the file on your phone however it is a locked file. Use your registry editor (I use Total Commander) and find the autocorrect file and change the settings so you can alter it. Delete the file existing on your phone and replace it with the file you just altered. Once this is done you need to soft reset and everything will work.
If you get a new phone or need to hard reset just make sure you take this file along with you and you'll keep all of your settings.
Thanks for the response, but it is not the file I am looking for. This is the file which is used when you choose the autocorrect function. This is not the file that is suggesting words while you are typing. Anyway, thank you.
eddyve said:
Thanks for the response, but it is not the file I am looking for. This is the file which is used when you choose the autocorrect function. This is not the file that is suggesting words while you are typing. Anyway, thank you.
Click to expand...
Click to collapse
dyncompdict.dat
see http://forums.thoughtsmedia.com/f32...d-dictionary-working-free-solution-71962.html
thanks, but no again. This link is only referring to win2003 and se. There is no such a dat file in here.

[Q] can someone help me increase my test recipients above 10

I am using a Samsung Focus S, I have tried the Advanced Config, Registry Editor and everything and it won't save my settings. I am interlop and chevron unlocked
Welcome to the wonderful world of AT&T! Why would you ever want to do that? <eye-rolling goes here>
That said, while AT&T does appear to cap the recipients themselves, you can certainly try increasing that limit on the phone. To do that, you'll need to edit the registry, as you appear to have figured out.
The apps you mention (in fact, pretty much any interop-requiring app) won't work on a Focus S (or any other second-gen phone) right now - Samsung changed the drivers used for high-privilege access to apps, and the apps written for first-gen phones can't use them.
Instead, you'll need to use provxml, deployed using ZIP path traversal and processed using the Diagnostics app (basically, what you did for WindowBreak, but with your own file). First, you'll need to build the provxml file. If you look at the Windowbreak zip file (I suggest you use 7-Zip, as it will keep the .. folders correctly) you'll see that it has an xml file buried in it, which contains registry "provisioning" commands (the format is called "provxml"). Alternatively, you can look up the format for registry provisioning directly from MS: http://msdn.microsoft.com/en-us/embedded/gg155017
OK, so you've created your provxml file (or edited an existing one) to update the correct registry value with the data you want to use. Next, get that file onto the phone. You can either put it in a ZIP file that you email to yourself, or put it in a XAP file (which is just a renamed ZIP, again 7-Zip is your friend here as it will automatically recognize the archive format) and install that file to the phone. In both cases, it'll need to be in a folder called something like "..\..\..\..\..\provxml\" (if you look at the Windowbreak zip file, you'll see this).
Then, just follow the same instructions you used for WindowBreak but select your own file instead. The registry should be changed!
GoodDayToDie said:
Welcome to the wonderful world of AT&T! Why would you ever want to do that? <eye-rolling goes here>
That said, while AT&T does appear to cap the recipients themselves, you can certainly try increasing that limit on the phone. To do that, you'll need to edit the registry, as you appear to have figured out.
The apps you mention (in fact, pretty much any interop-requiring app) won't work on a Focus S (or any other second-gen phone) right now - Samsung changed the drivers used for high-privilege access to apps, and the apps written for first-gen phones can't use them.
Instead, you'll need to use provxml, deployed using ZIP path traversal and processed using the Diagnostics app (basically, what you did for WindowBreak, but with your own file). First, you'll need to build the provxml file. If you look at the Windowbreak zip file (I suggest you use 7-Zip, as it will keep the .. folders correctly) you'll see that it has an xml file buried in it, which contains registry "provisioning" commands (the format is called "provxml"). Alternatively, you can look up the format for registry provisioning directly from MS: http://msdn.microsoft.com/en-us/embedded/gg155017
OK, so you've created your provxml file (or edited an existing one) to update the correct registry value with the data you want to use. Next, get that file onto the phone. You can either put it in a ZIP file that you email to yourself, or put it in a XAP file (which is just a renamed ZIP, again 7-Zip is your friend here as it will automatically recognize the archive format) and install that file to the phone. In both cases, it'll need to be in a folder called something like "..\..\..\..\..\provxml\" (if you look at the Windowbreak zip file, you'll see this).
Then, just follow the same instructions you used for WindowBreak but select your own file instead. The registry should be changed!
Click to expand...
Click to collapse
You just got a thanks and I will learn that stuff one day...

[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......

[Q] How to unzip file in wp7???

I am newbie in Windows Phone 7 development.
I am trying to unzip a file that was downloaded to isolatedstorage in WP7.
I have tried with ShapZipLib but with no success. Does anyone have an example on how to do this in WP7?
Thanks a lot !
seems like there is no way to unzip a file in isolated storage ,but you can browse a zip file via IE........ if that zip file is on the internet
坏天使 said:
I have tried with ShapZipLib but with no success. Does anyone have an example on how to do this in WP7?
Click to expand...
Click to collapse
Use DotNetZip library, it has a SL implementation (works fine on WP7 but requires some minor tweaking).
By the way, if you have problems with SharpZipLib (also works fine on WP7 but also requires some tweaking/reassembling), I'll recommend you to learn more about WP7/Silverlight programming first. Sorry I have no time to teach you how to write programs on WP7...
WP7 actually has a Silverlight API to extract specific files from a ZIP archive directly. This is technically an undocumented use of this API, but it does work:
Uri filename, zipname;
filename = new Uri("<FILE_TO_UNZIP_FROM_ARCHIVE>", UriKind.Relative);
zipname = new Uri(@"\Applications\Data\<APP_GUID_HERE>\Data\IsolatedStore\<ZIP_ARCHIVE_NAME.ZIP>", UriKind.Relative);
Stream filestream = Application.GetResourceStream(Application.GetResourceStream(zipname), filename).Stream;
Then, you can use standard Stream functions to read the file from within the ZIP, including write it to an IsolatedStore file.
The only undocumented part of this is that you actually can pass fully-qualified paths to the Uri constructor and then open them using GetResourceStream... just so long as the Uri is constructed as Relative (even though it's not) and the file is one that the app has permissions to read (which typically means its Install directory, its data directory, and the Windows directory). The use of nested Application.GetResourceStream to read inside a ZIP file is actually documented.

Samsung Smart Switch (.md5) download location

Good Morning All,
I am posting this because I couldn't find anything about this on here. For you who are looking on the temp location that Smart Switch creates when downloading the Stock Firmwhere (.md5) file for the Galaxy S6 Edge, for me it was the location below. I am using a sprint Version SM-G925P. not sure if this will apply to you or not, but worth a try. you will need to initiate the download from Smart switch once it starts downloading, you can unplug your phone from the PC (that way your phone doesn't get wiped). After download reaches 100% go to the file location. copy the file rid away and paste it to your desired folder.
C:\Users\UserName\AppData\Local\Temp\tmp2953.tmp.zipfolder
hope this helps.
C:\Users\yourname\AppData\Local\Temp\Binary\SM-G920F\
does anyone know if there is any way of changing the default folder to witch Smart Switch downloads the firmware?
looks like my system disk doesn't have enough space for the download and there's really NO WAY I could free any more of it
spnk said:
does anyone know if there is any way of changing the default folder to witch Smart Switch downloads the firmware?
looks like my system disk doesn't have enough space for the download and there's really NO WAY I could free any more of it
Click to expand...
Click to collapse
They don't want you to know where it is, so no.
Just go to the folder mentioned in the OP and search by date. It is usually named "tmpBABC.tmp" when being downloaded. Just find the same file size(around 2GB)
KillTheSprint said:
They don't want you to know where it is, so no.
Just go to the folder mentioned in the OP and search by date. It is usually named "tmpBABC.tmp" when being downloaded. Just find the same file size(around 2GB)
Click to expand...
Click to collapse
no md5 file. it about 160 mb for my core prime. how to use that
There is a way to change default download location of firmware!!
KillTheSprint said:
They don't want you to know where it is, so no.
Just go to the folder mentioned in the OP and search by date. It is usually named "tmpBABC.tmp" when being downloaded. Just find the same file size(around 2GB)
Click to expand...
Click to collapse
Actually there is a way to change the default download location of the firmware!
You can even change it to a different drive!
follow the steps:
1) Right click on my computer
2)click on properties
3) click on advanced system settings.
4)Click on Environmental Variables.
5)Under Variables, you will observe "TEMP" and "TMP". click on Temp and click EDIT. Change location to desired path. You can even puth a location path of a different drive. does not necessarily ave to be your system installed drive.By default the location is %USERNAME%....... Now repeat the same process for TMP, change location to the same desired path that you have chosen before.
6)OK, apply, Ok
7)Re-boot your computer, laptop (system). This is very important as the changes do not take effect until a re-boot.
8)Voila!! now smart switch will download the firmware to your desired location/path.
Thank me if you found this useful!!
1. Browse to C:\Users\yourname\AppData\Local\Temp
2. In the windows search bar enter "*.md5"
Do this while it is installing
for me in windows 10 this is the pathe
C:\Users\Andrei\AppData\Local\Temp\Binary\SM-J710FN\BGL\XX
iaimmiac said:
1. Browse to C:\Users\yourname\AppData\Local\Temp
2. In the windows search bar enter "*.md5"
Do this while it is installing
Click to expand...
Click to collapse
or even better than *.md5 is just to write to search field "ext:.md5" (without quotes ofcourse and "ext:" must be shown in blue color..
freemanandrei87 said:
for me in windows 10 this is the pathe
C:\Users\Andrei\AppData\Local\Temp\Binary\SM-J710FN\BGL\XX
Click to expand...
Click to collapse
yes, mine is the same. it's a large file (more than 2GB) without ext name.
i just wonder what type it is, and how i can open it/ extract it to flash it with odin...
xdauser'17 said:
yes, mine is the same. it's a large file (more than 2GB) without ext name.
i just wonder what type it is, and how i can open it/ extract it to flash it with odin...
Click to expand...
Click to collapse
Wait for smart switch to decompress it first.
robdevil said:
Wait for smart switch to decompress it first.
Click to expand...
Click to collapse
yes, that's a way. but if i have bricked my phone, and all i can do is entering download mode, it won't proceed to decompress it. cuz samsung recently removed emergency reset feature in smart switch. ( i mean, the firmware file can be downloaded by enabling 'latest software predownload', but it won't decompress it until a working phone is connected...)
dodobila said:
C:\Users\yourname\AppData\Local\Temp\Binary\SM-G920F\
Click to expand...
Click to collapse
this one is right...thanks
Sorry for using this old thread, but it matches my intention in some way.
I'd like to update via Smart Switch by placing the downloaded updates to the folder(s) mentionned above.
No matter where I place the files, no joy.
Is there a dedicated name convention I have to follow?
Any suggestion appreciated.

Categories

Resources