Torrent ROMS/RADIOS/ETC - Droid Incredible General

I tried searching (didn't find anything), and maybe its over a lot of general users heads, but... since there are appear to be issues with hosting, download speeds, etc... wouldn't it make sense for people to torrent some of the ROM/RADIO/PATCH/ETC. releases? (Especially in the first 24 hours)

If the releases were over 1GB then I would agree, but as it is now using free hosting (don't forget people, you can dump files into your Dropbox "Public" folder and then copy the link to provide a direct download to files... I've done this with a few large files and haven't received any complaints or warnings from the Dropbox folks and of course there are other sites like 4shared/mediafile/etc) seems to be working out just fine. Although I have been busy with work and other projects so maybe there is a crisis I am unaware of. I am personally very pro-BT, but only when a lot of data needs to be pushed out or data needs to be pushed out to a lot of sources (I created a tiny [under 100kB compiled =)] BT program for use in updating/making backups of MySQL databases across 45 servers in 8 different geological locations... it has sped things up 10x at the very least).

Related

[Suggestions for improvement] Change of hosts used for uploading/downloading of ROMs

Hey devs and viewers,
I am a person who likes to try out new ROMs, and I often visit this forum. However, I have recently seen that more devs are uploading their ROMs to multiupload.com, and I would like to say beforehand that I'm not forcing you guys to change, I'm just voicing my opinions. If this is in the wrong forum, please tell me, I just want to have a better downloading experience(if that's what its supposed to be called )
multiupload.com uploads its files to many of the different hosts, such as megaupload, rapidshare, and uploading.to, which imo, are subject to luck(for all, I prefer megaupload the most), and connection of rapidshare often drops. forget about uploading.to, i can't even get it to work. Sure, there are other hosts that it uploads to, such as zShare, but I think downloading a torrent is even faster than it, I get speeds of 5-20kbp/s download speed when my maximum speed is supposed to be 400 kbp/s.
I don't know if this is a only a problem with me, but if there are other people out there who have the same problem, I hope to also voice out them too. Well, here are some suggestions I believe will work imo.
www.mediafire.com (Although I think it might not work in China)
www.sendspace.com (I use this to download my anime, works but there's a 1GB maximum download cap)
www.4shared.com (My most preferred one, there's waiting time, but it works!)
www.dropbox.com
AndroidSpin (I think i requires you to start a thread first, but worth the try)
www.filesavr.com (not very confident)
www.megaupload.com (worth a try, I get full speed, although downloads don't always work, proxies don't too)
THANKS for reading! Have a nice day!
EDIT: Grammar error in title, should be Suggestions for improvement. Sorry!
If dropbox is not being blocked in china or some other country, I'm guessing that'll be the best option to use
Mod. edit: not dev related, moved to general

Deployment Decisions

Well, after a lot of hours of work, I'm real close to putting my first app out.
It includes a 5MB database that can't be loaded from /assets due to it's size. The app itself is small.
Now, as I know it, there are 2 deployment methods:
1. Google Market
2. My own hosted site
Google Market is easy on end user...find an app, install (and pay if req'd). Works over 3g and WiFi. Gives you 24 hours to uninstall before you're credit card is charged. Drawbacks are one-time $100 vendor fee and 20% fee per download. Plus, as my apps may grow, the databases I use could get fairly large. Now, most phones can handle the size (my Droid goes to 40 gig with 32 gig SD card), but searching a huge database on the phone could lag like crazy.
A self-hosted site can be had for $50 a year from GoDaddy or 1 and 1 with FTP, MySQL databases and much, much more. With the SQL running on a hosted server, queries would be fast. Drawbacks are the user has to download Google ADB package, app and database. Then hook-up phone via USB, set a couple of settings on the phone and actually run the "adp install <package name>". Then you need some type of payment center (Paypal) and possibly a refund policy.
So, I'm on the fence here...comments and suggestions appreciated!
From what I've read, lagging for loading databases can be brought to a minimum by altering the way it loads. Instead of loading all the content up front (possibly with a dialog to keep the user amused while waiting) or by loading it as the information comes in. The listView might lag because of the phone's memory available as opposed to a problem with the app. It could be the app. If it needs resources, then make it a top priority and allow it to tell the OS to kill other resource-hogging applications to make way for the information download. It's just a speculation. I don't know this for sure, but I would check the Android Dev site and other places for more information.
Interesting idea...I could just set the data (about 80,000 rows) up as a flat file and then do an INSERT based on user input. Do query, return results and delete rows from table. That takes it to, on average, about a 2,000 row table.
Not sure how I can encapsulate (hide) the data from prying eyes or worse yet, changes to the data! But I will research that idea further and do some code changes and testing....thank you very much
I decided to get a hosted site for a couple of reasons:
1. To get my OWN MySQL databases
2. To create a web site to drive my business and apps delivery
I've finished my application and it works great. 80,000 row database on server, app is 40kb on the phone. Data retrieval is fast...i can get over 100 rows back in 2 seconds on 3G; WiFi would be even faster.
I've decided to push my apps to users via the web site. I'll offer a crippled demo version for review before they buy...no return policy. That is, if you like the demo and buy it, well, you made the choice LOL
I'm still not warm and fuzzy about making user download adb package, hook-up phone via usb and install. But I'll offer something I don't see much on Google Market and that is: SUPPORT. Each app I create will have it's own e-mail address for comments, concerns, enhancements and, god forbid, bug reports. I'll probably also offer free updates if I change the program or upgrade the database.
Well, time to go do the web site. I'll admit I would rather be coding vs. web site design!
Why not both? You could use google and it's HUGE base of users (which may never even know about your app otherwise) and still host the database online at your site. Note that many (most) phones are crippled by the carrier to NOT allow downloads from anything but the market.
Frankly, I think you could probably do it more efficiently. I don't know the details, but why not have the app download the database from your site upon first usage and store it to SD card? A local copy even on an SD card will be orders of magnitude faster than any online solution.
Yeah, I'm still 50/50 on it.
Speed is not an issue on this app; max rows I pull back may be 60 and it takes 2 seconds. Literally, by the time your finger is off the "Search" button, you have your data And if you think about it, how many databases are out there already that people are hitting off of web pages? My 2 second download was on 3G, I imagine the WiFi to be even faster (just tested it on WiFi...3G was faster LOL)
I like the control of the database on my end and it keeps the user from having to download a new copy if the database is updated.
And I'm trying to look at the big picture here too. I'm an unemployed programmer after a 13 year career. I don't mind coding apps for "the people", but I want to get my foot in the door of business' that are going to need smart apps, just like they all needed a web page years ago.
I just have to do some more research and make a decision. However, I do think you are right; the market has huge exposure and can even lead people to my site. The hosted sites is dirt cheap...$50 a year.
I know my app is pretty solid, just hate to think about paying that one-time vendor fee and the 20% per download. Then again, that takes ALL the billing concerns from me; the market handles it all.
Thanks for your feedback!

[Q] Filefactory downlaods

Hi All,
Apologies for this mundane question but I've been trying for 2 days to download my official 6810 firmawre (P6810ZSLA1_CSC_TGY.exe) so kindly posted by xenix96. It's on FileFactory. Am I the only person here who hasn't got a premium membership to FileFactory? I'm loathe to pay for it as I've never needed it before and will probably only use it the once - so I'll effectively be paying $12 to download the firmware. But in 2 days of trying I've not managed to get a free download "slot".
If you're all using premium then I'll shut-up and stop being so tight and purchase it also. Just wanted to see what everyone else is doing first.
Thx
i have had the same problems as you. For some reason i cant download some files but trying a different file works just fine, its strange.
Took me a few tries as well. Had to try different ISP's, 3G, wifi, mobile broadband, the works.
But hey it's free, so we really can't complain too much.
Though looking for a better file host might be a good idea, if one can be found with all the recent shutdowns.
shafiqmadina said:
Hi All,
Apologies for this mundane question but I've been trying for 2 days to download my official 6810 firmawre (P6810ZSLA1_CSC_TGY.exe) so kindly posted by xenix96. It's on FileFactory. Am I the only person here who hasn't got a premium membership to FileFactory? I'm loathe to pay for it as I've never needed it before and will probably only use it the once - so I'll effectively be paying $12 to download the firmware. But in 2 days of trying I've not managed to get a free download "slot".
If you're all using premium then I'll shut-up and stop being so tight and purchase it also. Just wanted to see what everyone else is doing first.
Thx
Click to expand...
Click to collapse
Go to Sammobile.com, register, and try to download your firmware from there.
Paten said:
Go to Sammobile.com, register, and try to download your firmware from there.
Click to expand...
Click to collapse
Downloading from sammobile.com worked a treat - thanks a lot!
Paten said:
Go to Sammobile.com, register, and try to download your firmware from there.
Click to expand...
Click to collapse
True if it wont work you can go there and download it
70% of the sammobile.com P6800 Firmwares are added by me
For example i upload actually the Romania Frimware:
P6800XXLA4_CSC_ROM.exe - Last Modified by Samsung: 07.01.2012 <-- In Progess
......in 50 minutes it is on server and you guys can download it from filefactory
but not on sammobile.com maybe tomorrow
You ask now why ?
Cause it is depending when i will add it on check fus server Check Fus webversion 2.0
If i dont add it on Check Fus webversion 2.0 then sammobile.com will not release so fast as i do it.
But i do that to provide more mirrors for the P6800&P6810 Firmwares for all users over the world.
Actually over 600 users downloaded the firmwares since i start this .....and yes Filefactory got at the moment alot maintanance and upgrades.
And if you didnt read my Post Samsung Galaxy Tab 7.7 GT-P6800 & GT-P6810 ProductCode & HIDSWVER list
...this goes only like this cause some users help me to provide the Firmware stuff for you !! Thanks this this useres by me
Just read following:
FileFactory Support (Support)
What's happening at FileFactory? New update on current problems and future improvements!
Over the past few weeks we have worked tirelessly to resolve upload and download issues. Our engineers have been working 16-18 hour days 7 days a week to resolve all problems. We're glad to say that now we are starting to see results in the form of better operations across the whole site.
We also have many more exciting updates and changes to come so stay tuned, based on user feedback, so we are looking forward to a great 2012.
Here's an update of what's going on:
WEB UPLOADS
Uploads via the web are now much more reliable - our internal testing of hundreds of files last night produced absolutely no errors from small and large files - in total we had 55,000 successful uploads in the past 24 hours
FTP UPLOADS
We recently added ftp2.filefactory.com and are working on making the ftp process faster - FTP problems are normally the result of people uploading huge directories of thousands of (usually small) files without consideration for anyone else - we are working on a way to prevent this from slowing everyone else down. Hint: unless there is a particular reason you need to mirror entire directories, .zip folders instead before uploading
We are also planning on adding more ftp servers in the very near future
REMOTE UPLOADS
We are adding 3 x new remote upload servers this weekend. Again, delays are usually caused by some customers adding hundreds of files at a time which creates bottlenecks and puts everyone else's files in a queue.
ADDITIONAL STORAGE
Our new storage device should come online this weekend
We have 3 x new storage devices arriving next week, which will increase our entire storage capacity by 50%
NEW TORRENT UPLOADER
We are finally rewriting the torrent uploader, starting again from scratch, which will allow for faster downloads of torrents, and you will also be able to choose particular files from torrents instead of having to download the whole torrent. Also most problems are caused by people adding dozens of huge torrents at once so we are working on a way to manage this better as well
NEW TURBO UPLOADER
We are also about to begin rewriting the Turbo uploader - we are going to make this multi-platform so it will run on Windows, Macs and Linux
NEW FILEFACTORY SITE
We are currently revamping the entire FileFactory site, cleaning up page layouts, adding some cool new features and moving our images to a Content Distribution Network to allow faster page load times
NEW FILE MANAGER
Over the next few weeks we are rewriting the file manager - proposed new features include enabling individual files and folders to be password protected, trafficshare enabled, as well as a bunch of great new features. Accounts which have a large number of files will also load much better.
TRANSLATIONS
Over the next few months we are translating FileFactory into many other languages in order to better serve our international customers
Click to expand...
Click to collapse
Many others like Football offer Firmwares over Filefactory like here [ROMs]HTC Android ROMs over years!
And hes "Thanks Meter" is at 1485 ....so this says for me hes doing well
And its free to download and yes it free from where you download
So feel FREE
Have a nice day ^^

Filehosting

To begin with, I am not entirely sure that our mods will allow this kind of post....
As the title goes,this thread will be about filehosting(FREE OF COURSE),because I cannot help but notice that many of us will host files/images on a site that have so much of limitation if not paid...
And for those who actually benefit from paid filehosting, it is okay,you can go ahead with your method, but for those who with the intention of purely just want to help others, I think it is best if we share this so that hopefully we will experienced less dissapoinments in the future....
As for myself, I have all images that been displayed here been hosted on skydrive, I set a whole new account only for this purpose.The good thing about this is that all of the pictures I have displayed on this site will stay for as long as I live I guess...if not forever...because I also notice for those who have their images stored in Imageshack for an example, it will get expire after certain amount of time.
Besides, I also share all my mp3 files on this account with those I know and yet still I have a plenty of free space because skydrive is so kind and let me have 25gb of storage for free.....but you will have to set the files/folder for public view of course.
But the thing with skydrive is that there are file size limitations of 50mb per file...but you still can host a a small customization there if you want..
And recently, when google launches google drive, and when I tried to upload a file with size of 700mb, it has been uploaded without a hitch,(take note that I have never finishes uploading this file, but I assume it is okay because google never prompt me with anyhting).... it means if I am right, we could even host a custom cooked rom with google drive for free and without time limitations...and with a god speed download rate....heheh
So, I hope this would help others regarding file/image hosting and really wish that I could ease a burden on those who are trying to help others.
However, being a human we often make mistakes if not always, and please correct me I am somehow wrong about what I said earlier.
Thank you all for your opinion and have a nice day.
Skydrive takes 200MB and 500MB via desktop sync...
I use Minus.com for my images, they offer 11Gb, unlimited bandwith and direct links.
I think the upload speed for Skydrive is very slow, uploading a ROM to Mediafire takes less than half of the time.
I have quite a bunch of accounts made for file hosting servers. A few to be named(I'm not sure how much data can you upload at once though ) :
Google Drive 5GB free(Android app available)
Minus 10GB free(Android app available)
Box 5GB free(I have got 50GB, and didn't pay a cent. Just search Xda forums and you'll find different ways to get 50GB)(Android app available)
Wupload 750GB free! Found this from Xda. Unfortunately you can't share files, it's just for personal use...

[XAP][Source] Webserver v0.6.0 (File uploads)

Version Alpha 0.6.0 is now available
I'm back! Not dead yet, I promise. This is actually a relatively small update in terms of user-facing features, with only one really big new thing - support for file uploading - but that's a lot bigger than it might sound. It's the first write support I've implemented in the server, and it also required some fairly massive updates to the HttpServer component (support for binary requests, for POST parameters, for MIME multipart parsing). These will be built upon in forthcoming versions to add support for things like registry editing, in-browser file viewing (possibly editing), and so on. There are also a large number of small fixes and improvements that I've made over the last two-weeks-shy-of-a-year, which should make the server faster, more robust, better able to support concurrent connections, and lighter on device resources. Finally, while the app still targets WP8.0 and should run on 8.0, it now is designed for 8.1 compatibility (especially the AllCapabilities version).
Previous update (0.5.6): This version is mostly bug fixes and UI changes. The biggest changes are: clearer display of weird registry data types, the server now consumes fewer threads (it used to spawn them with wild abandon) and does faster string compares, the app version is now shown on the phone, error pages are now better, if you launch the app without a WiFi IP address it'll offer to take you to the WiFi settings page, connections are no longer closed as soon as the app starts sending a response, and the server now defaults to using the Connection: keep-alive header, with a two-minute timeout. The last change, combined with the second-to-last, should hopefully both do away with the tendency to have the app fail to display a page. However, I shouldn't have *needed* to switch it to "keep-alive" - using "close" should have worked - but it still veeeery occasionally would kill the connection early. Agh. Anyhow, this is better in the meantime.
DevDB offers me a support / Q&A thread. Please use that thread to ask questions; don't PM me unless it needs to be kept private for some reason!
ISSUES ON WP8.1:
It *should* work to deploy the app with "Application Deployment", but if you have a problem try deploying with "Windows Phone Application Deployment 8.1" instead.
Problems have been reported in the past when the app is installed to the SD card. It's small, though; putting it on internal storage shouldn't be a problem.
RESOLVED The AllCapabilities version included a few capabilities that were present in 8.0 but removed in 8.1. Those capabilities have been removed; the AllCapabilities version now deploys and runs on capability-unlocked WP8.1 phones.
IN CASE OF OTHER ISSUES: Please provide a *detailed* error report - what phone and OS version you have, what hacks you've installed, what Webserver version you're running, what you do to get the error to occur, and exactly *what* occurs - and I'll fix it as soon as I can! There's a DevDB section for posting bug reports, and you can also use CodePlex if you want.
I finally implemented file upload! I'll work on getting more stuff like that (file delete, possibly file rename/move/copy, various registry edits), hopefully soon! I also hope to add support for different areas, like an "Applications" path, a "Processes" path, a "Services" path... eventually. Many of those are really hard without good privileges. I'm also looking at moving the server to a background process and making the app just a control UI for it, adding support for authentication and/or HTTPS, adding some stylesheets to the web UI, adding caching, and much more. I did finally implement Connection header support.
Once again, the XAP is published twice. One is a fairly standard XAP that any phone can sideload, and the second has many exotic capabilities to enable viewing of (and writing to) slightly more of the file system and registry. The standard XAP has had its list of capabilities expanded to pretty much all of them that can be used without interop-unlock. The high-capability variant requires not just interop-unlock, but the additional capability-unlock hack available in the interop-unlock thread. The AllCapabilities version now works with WP8.1; sorry for the long delay on that!
An item of note: the AllCapabilities version (or either version, on WP8.1) can open other drives in the file system. On phones with an SD card, it is mounted at D: and you can browse it as normal. Credit to @hjc4869 for this discovery!
DESCRIPTION: This is a simple webserver app which can enumerate those files that are in folders readable from the sandbox, can download and upload (access permitting) files, can browse the registry, and can display the contents of registry values of any type. It runs on WP8.x (not yet tested on W10M). It is a spiritual successor to the Functional Webserver / WebServer (Mango) projects from WP7. This version is still missing a lot of functionality as I decided to implement it from scratch, but it is advancing swiftly. Note that there's no access controls implemented; use it on a public network only at your own risk!
Instructions are simple: sideload the XAP, connect to WiFi (required), run the app (called "WebServer Native Access"), point a web browser (on a PC or phone that is also on that local network) to the URL that the app displays. You should get a basic index page. Click on a Filesystem or Registry link to begin browsing the phone. There's a textbox near the top of all filesystem pages, type in a path there (for example, "C:windows" with no quotes) and hit Enter or click Get Files. You'll see a list of the contents of that folder. Click on a file to download it or a directory to open it. There's also a box for uploading files, one at a time, to the current directory. Navigating the registry is similar, except you'll need to specify the registry hive and then the path from that hive (or no path, to access the root of the hive).
As of v0.6.0, uploading files is finally supported! Other modifications (editing files, creating, deleting, or changing registry keys or values) are currently not supported. They will be "soon" although my personal testing suggests that basically the whole registry, and most of the file system, is off-limits for writing unless you use restricted capabilities.
You might see an error code (error 5 is "ACCESS_DENIED", you'll see it a lot; I should replace it with an appropriate 403 or whatever). Or you might see a status 500 message because of an exception in the server. Or the server may just crash (hopefully not so often anymore...). I'm making it more resilient, but there are still bugs. Please report any previously-unreported issues you find, including how to reproduce them, and I'll fix them if possible.
Also feel free to request features or changes; I'll implement them if reasonably possible. The app is a mixture of C++ and C# code; I could probably have done it all in one or the other but wanted to have a C++ component in case I ran into something that wasn't available in C#, and although it probably would have saved some time, I decided that hacking up a web server in C++ was maybe not the best idea.
The source code is on Codeplex, at the following projects: https://wp8webserver.codeplex.com/ for the server and the app (C#) and https://wp8nativeaccess.codeplex.com/ for the native access wrappers (C++). You may have to fix up the reference paths to get the C# component to see the C++ component correctly. The code is reasonably well documented, but let me know if you have any questions. Permission to re-use the code or components is granted under the MS-PL (Microsoft Permissive License) as posted on Codeplex.
Go forth and find cool stuff!
Version history (see the git commit logs for more detail:
07 July 2013 - 0.2.0: Initial release, FS only, 920 downloads (source: 652 downloads)
14 July 2013 - 0.3.2: initial registry, HTTP server and web app encapsulation, source on Codeplex, 225 downloads
0.3.3: bugfixes, 454 downloads
0.4.2: basic registry values display, 86 downloads
0.4.3: bugfixes, 326 downloads
0.4.6: multistring registry values, bugfixes, updated libraries, first AllCapabilities version (950 downloads), 453 downloads
25 Oct 2013 - 0.4.8: binary and long registry values, formatting and bugfixes, 451 downloads AllCaps, 201 normal
22 Dec 2013 - 0.4.9: all registry value types, better threading, proper resume, remembers port, 97 downloads AllCaps, 53 normal
24 Dec 2013 - 0.5.0: background operation using Location APIs. Downloads: 1011 AllCaps, 963 Normal
20 Jul 2014 - 0.5.1: More capabilities, better navigation. Downloads: 358 AllCaps, 352 normal
07 Aug 2014 - 0.5.3: .REG export, better traversal, bugfixes. Downloads as of 0.5.5 release: 260 AllCaps, 164 normal
10 Oct 2014 - 0.5.5: Bugfixes and back-end work. Downloads as of 0.6.0 release: 140 AllCaps, 113 normal
25 Oct 2014 - 0.5.6: Bugfixes and UI tweaks. Downloads as of 0.6.0 release: 1720 AllCaps, 1334 normal
12 Oct 2015 - 0.6.0: Binary requests, file uploads, bugfixes.
XDA:DevDB Information
WebServer Native Access, Tool/Utility for the Windows Phone 8 General
Contributors
GoodDayToDie
Source Code: https://wp8webserver.codeplex.com/
Version Information
Status: Alpha
Created 2014-10-17
Last Updated 2015-10-12
I'm going to use this space to mention something that's pretty cool:
J. Arturo of http://www.komodosoft.net is using a modified version of the HTTP server that powers this app in the ShareFolder app (http://www.windowsphone.com/s?appid=e2b9c82e-eaa1-4a3b-9d4a-8a2933a8bdb4) to support opening video files directly from Windows network shares! This was done to work around a limitation of the WP8 media control: it can only source from an isolated storage file or a HTTP URL. By running a server in the background and streaming the video file through it, and pointing the video player control at the localhost URL, it becomes possible to play the file on the phone without first copying it to the app's isolated storage. A very cool way to solve the problem! Also, reviewing the changes that were made to the network code of the server pointed me toward those threading fixes I made that have hopefully much improved version 0.4.9.
Please note that the updated version of ShareFolder with this feature may not yet be available, although it should be soon. It is a commercial (paid) app, but the author sought and received permission to use my code (although the license does not require such permission be received).
What exactly is the problem with sockets? I am battling myself with sockets atm too, maybe we can share knowledge?
Strictly speaking, the problem was with the phone's limited subset of the Sockets API forcing me to access it through functions I wouldn't normally use (asynchronous everything, SocketAsyncEventArgs and lambdas and AutoResetEvents and so on everywhere...) but I've got a pretty good handle on it now, at least for the System.Net.Sockets.Socket and its friends. The new .NET 4.x ones (using the async keyword and all) are in a different namespace; I didn't mess with them. They are more abstracted from the Bekeley sockets interface that I'm used to from C, but they are also (supposedly) more user-friendly, especially if you don't feel like writing all your own thread management code (and in fairness, I should re-write the webserver's threading to use threadpools; they're better for this type of work).
If you want to ask questions about the topic, I suggest starting a new thread (possibly in the Q&A subforum, although it's also dev related...) and I'll answer if I can.
GoodDayToDie, just an idea: how about sharing your source code via CodePlex or GitHub?
Oh man, this is pretty nice! GoodDayToDie does it again!
So far, I can read \Windows, the current install folder which you access just by typing "." with no quotes and the current application folder by typing ".." I can access the .dlls, .winmd and AppManifest.xml from the current install, but from everywhere else, it goes boom. This is a great step towards something awesome though!
EDIT:
I was wrong. For some reason, when you click on a folder it's trying to "download" it, rather than chdir. I can get pretty far into the Windows directory.
THAT's what you meant by "Click on a file (note: there's no current way to tell the difference between files and folders) to download it.
You might see an error code (error 5 is "ACCESS_DENIED", you'll see it a lot). Or you might see a status 500 message because of an exception in the server. It's getting a lot more resilient but there are surely still some bugs. ".
If you see a folder, just type the full path to it instead of clicking on it and you will be able to read the contents.
ANOTHER EDIT:
I just found a file inside of the \Windows\System32 directory named [guid].devicemetadata-ms (It's easier to just search for "devicemetadata-ms"). It's a cab file with some metadata about WP8 with a sign.cat and packagesign.cat file in the archive. I don't know what these files could potentially be useful for.
New version in a day or two (busy tonight). Features I plan to implement (not necessarily in the next version or at any particular time):
File upload (IsoStore and, of all crazy things, install directory are writable. I think I'll put a flag on each FS page that says whether the current dir is writable...).
File deletion (where possible, of course).
File and Directory distinction in the listing (clicking a dir should open it, not error out).
Filesystem index page with links to folders that can be accessed successfully (since the root isn't readable).
Some more file info (size, probably attributes, possibly permissions).
Possibly an option to preview a file (as plain text) without downloading it.
Some kind of background mode (the server uses minimal resources when not actively servicing a request, so I'll see if I can get it to work in the background, perhaps by abusing the music transfer agent...)
Some kind of offline mode (at least basic file browsing within the app, as an alternative to using the web interface, though I might just make a second app for that).
Source code changes: separate the server code from the webapp / phone app code (move it into its own project).
Source code changes: move to a hosted version control service, probably CodePlex (good suggestion sensboston).
Maybe add an icon and such...
Any other suggestions?
I also want to try experimenting with various non-standard capabilities and see if I can get access to more of the system . I've already added the ability to access removable storage, but I've also found a bunch of really weird and frequently undocumented capabilities in the OS's policy configuration files, and I need to look into those... The interesting (and possibly the uninteresting) ones are probably blocked for unsigned sideloaded apps, but it's worth checking on anyhow.
Yeah sorry, I should have been more explicit about clicking on dirs. not working in 0.2.0. Also, it's "unofficial" but if you check the URL bar you'll see a URL parameter called something like "pattern" (by default, it's *) and if you change that, you can filter the results. For example, "foo*.exe" (note: no quotes!) will search for EXE files whose names start with "foo". Among other uses, this makes it a lot faster to load large dirs like System32. This will be added to the UI at some point. Also note that URL decoding is applied correctly to querystring parameters (Probably already noticed with the path sometimes written using %5C for \) so you can add special characters that way if needed, though currently any of them but \ will probably just cause an exception.
...
Actually, does this filesystem support Alternate Data Streams? If so, you should be able to download them by appending a : and the ADS name to the filename in the download URL...
OK, so that was a new version in five days. Sorry, stuff takes time.
The source code is now on Codeplex. The native access portion is at https://wp8nativeaccess.codeplex.com/, and the web server portion is at https://wp8webserver.codeplex.com/. Both are licensed MS-PL and use Git for version control. The full XAP is also available for download from the Webserver project on Codeplex.
GoodDayToDie said:
OK, so that was a new version in five days. Sorry, stuff takes time.
The source code is now on Codeplex. The native access portion is at https://wp8nativeaccess.codeplex.com/, and the web server portion is at https://wp8webserver.codeplex.com/. Both are licensed MS-PL and use Git for version control. The full XAP is also available for download from the Webserver project on Codeplex.
Click to expand...
Click to collapse
You are a god. I'll be sure to post my findings .
Hmm. When I first load up WebServer File Access then access from my laptop, I get the main page then the program crashes on my phone. It seems to hold a lock on to the socket as i can no longer access port 9999 from any other device when re-opening the app. I can access it again when I reboot, but the same thing happens.
EDIT: I think it may be due to the WiFi at work... it's junky. I'll try again when I get home. I was just able to browse some directories.
Wow, that's completely unexpected... I can beef up the error chacking and handling around the listener port though. That part of the code is really straightforward, so I actually haven't hardened it very much. I can also put in a Finally block to close the socket and/or mark the socket as re-usable so that other apps (or the same one again) can listen on it in the future.
I also plan to add support for setting your own port, but that doesn't solve the underlying problem. I'll put in more error reporting as well, to enable better debugging. Thanks for the report! Always good to have users report problems so I know where to prioritize fixes.
GoodDayToDie said:
Wow, that's completely unexpected... I can beef up the error chacking and handling around the listener port though. That part of the code is really straightforward, so I actually haven't hardened it very much. I can also put in a Finally block to close the socket and/or mark the socket as re-usable so that other apps (or the same one again) can listen on it in the future.
I also plan to add support for setting your own port, but that doesn't solve the underlying problem. I'll put in more error reporting as well, to enable better debugging. Thanks for the report! Always good to have users report problems so I know where to prioritize fixes.
Click to expand...
Click to collapse
I tried the app at home and it DOES crash on the first hit of the home page, but I'm able to open it up again and it works fine.
The new version 0.3.3 should be more rebust; try it and let me know if you still have issues. If you do, let me know what the exception message is (and any other info you can provide) and I'll try to track it down.
Downloading really big files should also work now. The app will read and push files in smaller chunks (the code to do this existed in the NativeAccess library before, but wasn't used).
a simple SDK?
Dear Sir
Will it be possible for you to make some sort of SDK from this so other developers can integrate this into their apps and enable browsing isolatedstorage?
Sorry if it is a stupid question.
Bruce_X_Lee said:
Dear Sir
Will it be possible for you to make some sort of SDK from this so other developers can integrate this into their apps and enable browsing isolatedstorage?
Sorry if it is a stupid question.
Click to expand...
Click to collapse
With the restrictions in permissions, this app only allows browsing of the app's isolatedstorage locally. You are able to use the IsolatedStorage API within your app to browse files and directories already.
snickler said:
With the restrictions in permissions, this app only allows browsing of the app's isolatedstorage locally. You are able to use the IsolatedStorage API within your app to browse files and directories already.
Click to expand...
Click to collapse
That's right. What I want is to allow the end user to be able to browse the isolatedstorage. Imagine I have a video download app, I want the user to be able to transfer those downloaded videos from the app's isolated storage to, say, a PC.
One can do this by integrating the webserver code into the said app.
Bruce_X_Lee said:
That's right. What I want is to allow the end user to be able to browse the isolatedstorage. Imagine I have a video download app, I want the user to be able to transfer those downloaded videos from the app's isolated storage to, say, a PC.
One can do this by integrating the webserver code into the said app.
Click to expand...
Click to collapse
Ahh I see what you mean now. That sounds like a pretty nice idea. I think more research needs to be done to see whether it would even be allowed in the marketplace.
The webserver portion is stand-alone (builds to its own .NET DLL with no dependencies on the other parts) and has a pretty clean interface. You'd need to implement the web application portion of it yourself - the thing that generates the response pages for a given request - but the HttpResponse class in the server does a lot of the work of that for you; you basically just specify the content you want to send (as a String or byte array) and it sends it.

Categories

Resources