[Windows Phone 7 Development and Hacking] GoodDayToDie:
UPDATE: Still working on a newer version of the webserver, but I've been distrcted by a number of other projects lately (including getting a new job). The most important news is that the Root Webserver works great with WP7 Root Tools; you don't need a full-unlocked ROM or HtcRoot compatibility anymore! Just mark the app as Trusted in the WP7 Root Tools policy pivot, and you're good to go.

Sorry for the long delay, I've been working on many different things. One of them is re-write of a substantial part of this app, to make it more modular and extensible and also to add more features. That re-write is far from done, any may end up being broken into a few smaller pieces once any of the new or re-written features reach release-quality without the whole app being unusably broken.

This project started out as a child of the HtcRoot project. It no longer requires HtcRoot; full-unlock or WP7 Root Tools work fine. It's also a child of the Functional Webserver / WebServer (Mango) projects, and builds on their open-source foundations. Its goal is to allow unfettered access to your phone through the convenience of a web browser.

Fifth release (v2.3.1)

Platform release, minor feature release, minor library update, bugfixes

Should now be compatible with fully unlocked custom ROMs, even if they can't use the HtcRoot project.

This release does not include NativeIO_Mango source, as it was not changed. If you need the source for this library, extract it from the 2.2.0 download.

Homebrew library (v1.6.3)

Better detection and reporting of exceptions due to not being root.

Should be safe to use the HtcRoot functionality on fully-unlocked ROMs.

Please see the changelog in the app for details and history

Note that this app requires a slight update to NativeIO_Mango from @fiinix's version. There were some bugs in the library that were making things difficult, so I fixed them. I also changed the return values of a couple functions (though the signatures are unchanged) to give the ability to return error codes from COM. Source code for both the managed Homebrew and COM NativeIO_Mango libraries is included, along with compiled binaries. Source code for the HtcUtility library can be downloaded from the HtcRoot proect.

Features:

View folder and ROM Module last-modified dates. (NEW 2.3.1)

File attribute info now presented better. (NEW 2.3.1)

Upload files anywhere. (2.2.0)

Create and delete directories anywhere. (2.2.0)

Delete writable files.

Add or Remove readonly attribute from files. (2.2.0)

See file size and attributes for any file.

Browse the entire filesystem.

Download any file (still not ROM modules, though).

Static HTML files in a "Content" folder for easier editing.

Easy link to browse (and add your own files) to Content folder (2.2.0)

All features of previous WebServer versions (IsoStore uploading, authentication, etc.)

Changelog

Bugfixes:

Fixed a case where setting file attributes or uploading a file would fail due to lacking permissions.

Fixed the potential for infinite loops on fully-unlocked ROMs compatibel with the HtcRoot project.

More effort to eliminate RootException / Error 1260.

Upcoming:

Access the registry as well as the filesystem.

Better access to installed application info and folders.

View, edit, move, and rename files.

Rename and move directories.

Server-side commands (process provxml, for example)?

Filesystem/Registry/Application search?

Known Bugs:

App may take several seconds to close; don't re-launch it immediately or weird things may happen.

Touching the screen while the app is in "root" mode appears to cause a crash, and posible resource leak.

Error 1260 (Least Privileged Chamber) may still occasionally appear on first access attempt or two... really wish I knew why.

Requirements:

Developer-unlocked phone (if you remove ID_CAP_INTEROPSERVICES it will work without root access, cutting off most of the filesystem).

For root access, you need *EITHER*

* A fully-unlocked ROM

* An interop-unlocked HTC phone with working HtcUtility driver

If your phone is compatible with the HtcRoot project, you're OK.

Thanks To:

Davux (original author of the "Functional Webserver" app)

Fiinix (Ported the NativeIO library and Webserver app to Mango)

MarysFetus (designed icons and graphics for the webserver app - site http://klaus-widraw.de)

Everybody who helped make the HtcRoot project possible.

Have fun!