yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Well, I can tell you a little about the thing you found (good investigation, by the way!)

First off, that's a module - it's kind of like a file (and shows up in the filesystem) but is baked into the ROM and can't be opened, much less modified, like a normal file.

There are tools that are supposed to be able to re-assemble modules, such as recmod. I haven't been able to get them to work, but maybe I'm just doing it wrong. In theory, it should be possible to create a "normal" DLL out of the components of a module.

The next trick is getting that rebuilt DLL onto the phone. This can be done pretty easily on Samsung, and is possible on interop-unlocked HTC, but on LG/Toshiba/Fujitsu/Dell/Nokia we don't currently have a way.

After that, you'll need to "install" the driver. Now, there's a registry entry for doing this. The problem is, I only know that the entry is required - I don't know if it's sufficient, or if there's also a database or something that must be updated. In any case, any phone where we can put a file into the Windows folder, we can also do registry editing.

Then there's the thing of actually getting the UI for this feature (the Settings "app" to control it). It's vaguely possible that the retail ROMs include it, but this is doubtful, so you'll probably need to pull it out of that old ROM. It's probably an EXE, so it's unlokely you can make a XAP for it - instead, you'll need to install it into the phone directly, including putting in the registry entried to launch it (this is a guess, I've never tried).

It's worth noting here that it's probably *WAY* easier to just pull that feature out of your old ROM and bake it into a custom ROM. This should be pretty straightforward, however, then it's only useful on custom ROMs, which in turn are only possible on HTC phones (right now).
[Windows Phone 7 Development and Hacking] marsrogers:
Thanks for your reply. I did something with the recmod, but the dll it packed is only 1kb, apparently it's not useful. I guess it is because there is no imageinfo.bin inside the dll folder. I used some tools recommended by Da_G who started to try modding WP7 on the first day. Like nbsplit.exe to creat a IMGFS.bin, and use xidump to dump it. Just like what they have done before, I got the dll folders as same as I got at the beginning.

You may be right for the part that it's rather easier to build a new rom. There are tools to repack the whole IMGFS from files while I didn't find any good ways to pack a specific folder.

May ask more people all over the world (thx to the internet) cuz I just moved from android. In android, I use cygwin to pack the Odin Tar files, but it's totally different of course.

Anyway, doing this research is just for fun~;) All is because MS is moving too slow...not to mention the NFC function I already have for a year on my Nexus S~~

Thank U again!~
[Windows Phone 7 Development and Hacking] pLUSpISTOL:
This would be awesome :) good luck
[Windows Phone 7 Development and Hacking] -WP7User-:
Really a good find! Found that reg entry some time ago but I didn't care about it...Now that you bring up that thing again I also think that this could be very useful (even if you want it just for fun and not for business purposes). But note that the DLL file doesn't have to be in the /windows folder. It could be somewhere different, too.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@-WP7User-: That's an interesting idea, and might enable this to work on LG phones (where we have registry but not filesystem control). The registry value that speicies the path to the driver binary only ever gives the file name (example:

[HKLM\Drivers\Builtin\HTCFileUtility]

Dll="HTCFileUtility.dll")

However, it might work to specify a full path instead of just a relative one (relative to the \Windows folder, one must assume, since that's where the files in question are located).

However, there's still the issue of actually getting the phone to load the driver correctly. Just adding or editing the registry value for Drivers\Builtin didn't work for me - it did something (the driver stopped working when I chancged the value for an existing driver) - I wasn't able to make a user-added DLL work (even a different version of an official driver).
[Windows Phone 7 Development and Hacking] -WP7User-:
any news on this?
[Windows Phone 7 Development and Hacking] drkfngthdragnlrd:
The old Recmod doesn't work on WP7 files. I believe there is a patched version for WP7 floating around XDA somewhere. Have to check my files, could of swore I downloaded it once.

EDIT: Here you go.
[Windows Phone 7 Development and Hacking] marsrogers:
I have get the source code for creating the dcTNONE_ANALOGTV.dll, they are .c file and .def file.

My Problem is I don't know how to build them.

And I have got the changeusbmode.exe and the xml file with it. Figuring an idea to put them in.
[Windows Phone 7 Development and Hacking] drkfngthdragnlrd:
Download the FixRecMod.exe above I posted. Drag the dctNONE_analogtv.dll folder with the "s000 s001 s002 s003 s004" files in it over the exe. Now you'll find the actual DLL file inside the folder. Any problems, just upload the folder & I'll do it for you.
[Windows Phone 7 Development and Hacking] marsrogers:
I have made the dll successfully. But when I put the dll into the /Windows folder in my Samsung Focus, nothing happened even after a reboot.

And another interesting thing is in WP7 Root Tools, when exploring the /Windows folder, all single file has a "ROM Module" or "ROM File" written blew, but the files I moved in has nothing written under it.

I tried to check the usb mode in diagnosis *#7248#, still there are three options to choose, nothing new.

I personally don't see the future of this project for now.

However, You have done a lot to help, it's very kind of you, thank you so much!:)
[Windows Phone 7 Development and Hacking] drkfngthdragnlrd:
It wouldn't have ROM FILE/MODULE under it as it wasn't cooked in. You probably need some registry for it to work. Also, try opening the DLL in PEexplorer & checking to see it it has a cert attached.

Example of a DLL/EXE with a cert;
[Windows Phone 7 Development and Hacking] -WP7User-:
Gonna cook it into my rom and try it out...Do you have an idea which reg entry it could need?

I think of something for the settings page. Because if you haven't got a settings page for it, how can you activate it?

And maybe another entry which points it to the DLL file...?
[Windows Phone 7 Development and Hacking] marsrogers:
Next weekend I may upload the dcTNONE_ANALOGTV.dll folder which I found in the leaked ROM for HTC Surround even before the WP7 was officially to public, the source code which is .c and .def for it, which is to remove some limits for QSD8250 CPU, and the changeusbprofile.exe and changeusbprofile.xml from Asus E600 (the only dev phone has the display mirror feather in 7720 for now)someone Mr X, who I am very grateful to gave me.

I ain't major in this level of computing techs, so I think in order to make the project alive, it's better to share what I have to those who has the ability to do it. Let them holding in my hand is a great waste at present stage.

The QSD8250 is a very old cpu, so there should be no problem with NDA.

P.S

There should be a manual installed usb driver on PC and a client application on PC but I don't have them right now. If you have friends or friend's friend who is a dev, holding a e600 dev phone, try ask them to share something, appreciated.
[Windows Phone 7 Development and Hacking] marsrogers:
I've uploaded all my files so you can make the check yourself.

After all I'm major in management not IT techniques so I don't want to pull the path down.

Thank You for the help you offered!~~~ :)
[Windows Phone 7 Development and Hacking] -WP7User-:
Thanks for uploading your files. But it seems like I can't find the reg key...

There isn't a single reg entry which points to the uploaded .dll. At least not in the official Mango Update for the HD7.

But if you post the whole entry, I could try to cook the .dll into my rom and see what happens.
[Windows Phone 7 Development and Hacking] tessut:
has this registry something to do With that ? :

Local Machine\Drivers\Display\TV\

PanelDLL=string:"dcTNONE_ANALOGTV.dll"
[Windows Phone 7 Development and Hacking] marsrogers:
Just like @tessut posted. It's it. And I think you'd better try to build the dcTNONE_ANALOGTV.dll yourself from the source, it should be more reliable than using fixedRecmod. I can't do that cuz there seems to need many head files that do not exist in computer even I have vs2010...
[Windows Phone 7 Development and Hacking] -WP7User-:
Okay, if someone wants to try that, too: The exact reg key (just copy and paste) is

[HKEY_LOCAL_MACHINE\Drivers\Display\TV]

"PanelDLL"=string:"dcTNONE_ANALOGTV.dll"

Didn't flash the rom on my device yet, but that's soon going to happen :)

The dctNONE_analogtv.dll is in the windows folder, the changeusbprofile.exe and .xml are in there, too. I hope it works!

EDIT: Didn't work at all...The ChangeUSBProfile.exe didn't get installed (although I'm 100% sure that it is there and of course in the right folder). Wasn't there a license xml around or something? Because normally a Windows Phone 7 App needs a license file to get installed when starting the phone for the first time. Don't know if this applies to .exe files though.

Has someone got an idea?
[Windows Phone 7 Development and Hacking] marsrogers:
Thanks for the work! Is it possible if we extract the official .cab update file to get a licence and patch it to the exe?

I used a PE Explorer to open the changusbprofile.exe and found a license called"Windows Mobile TCB signing cert" in it.

Another thing is I used a way to open .exe in IE (use IE in WP7 to open this thread and download the usbvideoout.zip and you can have the chance to open changeusbprofile.exe directly) but it failed in Mango. Maybe we should try this in 7004 because this is really an old file. Or we should find a .cab file that contains a exe file in it and this .cab must be announced after mango update.
[Windows Phone 7 Development and Hacking] -WP7User-:
Open .exe files (or even deploy them) isn't supported on WP7. exe's are mostly system apps that are already in the rom by default, so this .exe is no exception and has to be cooked in.

I can't imagine that it makes a difference when I cook it into a 7004 rom, because there are several files for Mango in the package you uploaded - so, it has to work on Mango.

And I don't exactly get how you mean the first question...Do you mean we should extract a .cab from an official Update of WP7? 'Cause I think you need the license for the app...But I'm not quite sure about that one. Does anyone know more about this kind of thing...?
[Windows Phone 7 Development and Hacking] Dyskmaster:
ok, first of all, if you guys figure this out, that would be AWESOME!!!! and second, the reason they *might* not have included this in the final release is because windows phone has very little landscape support and, according to all of the demonstrations in which a wp7 was hooked up to a screen or projector, it was mostly always in portrait mode which wouldn't be an optimal way to view things if you wanted to share stuff on the big screen. Just a thought...
[Windows Phone 7 Development and Hacking] sensboston:
Windows Phone 7 have a very good landscape support, much better than Android, for example. From my point of view, MS disabled that feature because of possible DRM issues (what is stupid).
[Windows Phone 7 Development and Hacking] marsrogers:
Some update as well as a sad news.

I used a hex editor to check the changeusbprofile.exe and found something new:

D.r.i.v.e.r.s.\.U.S.B.\.F.u.n.c.t.i.o.n.D.r.i.v.e.r.s...C.o.m.p.o.s.i.t.e.F.N...RSDS.DB....G...b.!......ChangeUSBProfile.pdb

There is a phrase points to the directory above, which I am pretty sure that we don't have it. What's worse, the secret man right now is not able to give any help cuz he has returned his Asus E600 back to microsoft.

I am not quite sure whether this project can go on or not. I searched inside the leaked htc roms and found nothing.

Hope we can hand on a real e600 so we can move on and dig whatever files we need.

Any people can help on this? Really appreciated.

Because I am a Chinese so it's not easy for me to find someone has the phone, hope you guys can help some especially US people~~

Many thanks~
[Windows Phone 7 Development and Hacking] Dyskmaster:
That actually seems pretty likely, coming from microsoft. I never knew android had bad landscape support. I only ever used a tablet on android so I guess I would never know. But I kinda wish that microsoft had gave you the option to output your screen for at least movies and pictures (the old iphone/ipod option) because 90% of the time, that is what you would want to share anyway. Say, if they had a problem with DRM, and the zune HD could play all the music and the movies that are available to windows phone, then why do they have a dock which allows HDMI out and support for 720p video output for it(the zuneHD)? I think it might actually have to do with the manufacturers (HTC, samsung, lg) not wanting a feature on windows phones to compete with their high-end android phones. *it's a conspiracy, maaaaan*.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
DLNA (PlayTo) should now be possible on all WP7 devices. This allows you to stream music or video from your phone to your PC or (most new-ish) TVs and home stereo systems. It should be possible to simply write a DLNA application, but there are also the first-party ones: LG has one that was available from launch, and HTC has "Connected Media" which is similar.

It's not the same thing as actual screen recording in any way, but if what you want is to output media to another system, it does what you want.
[Windows Phone 7 Development and Hacking] marsrogers:
Big Step Forward, since the DFT Rom released, the exe can be run in WP7.

One thing I need now is if someone can build an app for me, which calls the changeusbprofile.exe under /windows

Things here is I'm using the Opera mini launcher to call it, but the path is under /application, not under /Windows, and the result is my computer can not detect the phone when the phone reboots. I think this may relates to the path I call.

I'm not a typical tech-man, so I need help here. Thanks!
[Windows Phone 7 Development and Hacking] ted973:
only a xap execute \windows\changeusbprofile.exe, any cmd arg?
[Windows Phone 7 Development and Hacking] marsrogers:
No, there is nothing else. Really things that matter are changeusbprofile.exe and changeusbprofile.xml, put them in the /Windows, and call them in the app.

That's OK~~

没有其他的了~~~:D
[Windows Phone 7 Development and Hacking] ted973:
ok, i got it and made a loader.

it will only load \windows\changeusbprofile.exe, you should put changeusbprofile.exe and changeusbprofile.xml into windows folder by yourself.

first you can press load calc to test if it works on your rom, then press load TV-Out for main testing.
[Windows Phone 7 Development and Hacking] marsrogers:
Thank you!~But ultrashot made me a launcher yesterday on the basis of his launcher for opera port. And I think that one is easier, just run and run.

But still thank you, and your app also does the work. I'll think about the app later since the feature is still not working itself. Really thank you!~~It's true.

谢谢啦！~以后说不定还有事情要请教你啦！~~~:)
[Windows Phone 7 Development and Hacking] lukas_ita:
sorry my question. Will this app able to run on not custom ROM?? Or we will need a full unlock device??
[Windows Phone 7 Development and Hacking] ceesheim:
can you post your .xap / loader so that I can play with it to ?
[Windows Phone 7 Development and Hacking] marsrogers:
At present I think the custom ROM is required. But I'm not sure about this. Since I haven't yet made it really working, I think this question is not on the first priority.

But I do realize the question myself and will deal with it after it really works(if I'm lucky enough);)
[Windows Phone 7 Development and Hacking] ceesheim:
I have 2 full unlocked phones : omnia7 and hd7 :)

but no problem , I hope you will get it working :)

Good luck

Greetings Cees
[Windows Phone 7 Development and Hacking] marsrogers:
Right now I have to say sorry I can't, although I should be the one who wants to share it most. Main reasons as below:

- This project hasn't showed up a positive result yet. But I promise if I can't dig any deeper, I will put everything online.

- The .exe program is a part of Microsoft property, and it was intended not to be released to public. So technology digging is a thing, while spreading an app that fully works is completely another.

So please understand me. I have to be very careful on this, though we all hate paper works. Someone has fallen on this, and I don't want to be another. And that's why the person gave the files to me doesn't want me to say his name.

Publishing is this next thing I will focus on after the feature really works, but not present. Sorry~~~:)
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@lukas_ita: This app will either need a fully-unlocked ROM, or will need the deployment tool to create a policy for it. On normal ROMs, you can't run EXEs that don't ship with the phone and don't have policies configured.
[Windows Phone 7 Development and Hacking] Omnia7xdax:
This app would be absolutely great,don´t know why there is so few request ,but i think that there are the new dft rom out it´ll change the whole thing(a little bit, i hope):)
[Windows Phone 7 Development and Hacking] lukas_ita:
ok...thanks ;) I hope there will be a custom rom for Omnia W in future :)
[Windows Phone 7 Development and Hacking] BucDan:
This is very interesting for sure! I'll be checking out this thread often.
[Windows Phone 7 Development and Hacking] -WP7User-:
I think that the biggest problem is solved with the app which calls changeusbprofile.exe and .xml...Now, we have to cook a rom with the right reg keys in it I suppose.
[Windows Phone 7 Development and Hacking] marsrogers:
Not now, I think. The changeusbprofile is just a toggle app. But the usb video out mode is still not enabled on phone. And the bad news is we still don't know where to enable it. I may read something in Windows Mobile time to see if anybody before has done something related to the usb mode digging.
[Windows Phone 7 Development and Hacking] marsrogers:
Updated some info

I looked into the Key name, UFN_VIDSTREAM_CLASS, which is very unique way to name.

This belongs to a USB function Driver, and the only thing I saw similar is a UFN_PRINTER_CLASS, which is in Wince 6.0

http://msdn.microsoft.com/en-us/library/ee483856(v=winembedded.60).aspx

And you may check this

http://msdn.microsoft.com/en-us/library/ee485691(v=winembedded.60).aspx

So I'm still waiting for somebody who can offer any help on this. I talked with Mr. Yang Zhongke, who invented RecX prototype, fiinix optimized that, but not the inventor.

His way is not quite efficient and seems can't go further. But he will do some work for this in a foreseeable future.

Any one has a Asus E600, plz contact me, will keep your name secret.

Thanks!~
[Windows Phone 7 Development and Hacking] Rahziel:
so for tv out, are you guys using like this micro usb to HDMI plug? Which is a steal BTW

bit.ly/yQhZy2

$8.75 Shipped

$10 off w benmar1234f2 only 100 uses better hurry
[Windows Phone 7 Development and Hacking] marsrogers:
It's technically more like a Remote Desktop, because Microsoft use this to display on PC, not directly to a monitor of projector.

So all we are finding is on normal micro usb ports. But because of the lack of a driver in the device, the project has to go fail.
[Windows Phone 7 Development and Hacking] marsrogers:
It finally works successfully.
[Windows Phone 7 Development and Hacking] Omnia7xdax:
So whats going on now? What do we or rom cookers have to do,to make this feature available for everyone?
[Windows Phone 7 Development and Hacking] iamwin:
this is a promising project :)
[Windows Phone 7 Development and Hacking] dazza9075:
and......... how?

;)
[Windows Phone 7 Development and Hacking] marsrogers:
As I said in the main post update, when to publish the files out is a problem.

I have to take care of many people's benefit as well as their jobs.
[Windows Phone 7 Development and Hacking] marsrogers:
Thank you but right now, just please forget it. I have to consider too many non-tech things. This is a IT world, but also a world with its traditional rules.

For example, you lose your job because you leak your company's secret property.
[Windows Phone 7 Development and Hacking] marsrogers:
I updated that in the main post~But there is no need to pay attention to that. I can't release that because of non-tech reasons. Please understand that.

I have to save some people's jobs.
[Windows Phone 7 Development and Hacking] dazza9075:
ok thats fair enough, but in the interest of community spirit, would you at least be able to describe what you did, without links to files and information that might get someone in trouble.... if that is at all possible i mean

EDIT : ignore that, just read your updated first post, many thanks
[Windows Phone 7 Development and Hacking] ceesheim:
[YOUTUBE]zaMPnnhs2gU&feature[/YOUTUBE]

don't ask anything :)
[Windows Phone 7 Development and Hacking] ceesheim:
its actually simple , imageupdate phone with the right drivers´, switch usb mode , reboot phone , install right drivers on pc , run client software on pc , and the fun starts :)

but this doesn't help anybody something because all you need can't be shared as of now :)
[Windows Phone 7 Development and Hacking] Omnia7xdax:
Yes and therefor i would say it would be better to keep calm about this thing,because i think this is just annoying for every wp user,who knows it is possible in theorie,but practical impossible,so it feels a bit like you want to thumb our noses at this topic and that makes me a little bit angry :l
[Windows Phone 7 Development and Hacking] marsrogers:
I am sorry for letting you feel that. I didn't mean that at all.

At first I just want this function so I tried to talk with everyone I think may have the information I need. I even talked to Joe Belfiore on twitter. Hundreds of Microsoft employees I can find on twitter and facebook, including ex-employees. And many many technique geniuses in XDA.

This project lasted for about half a year, and I didn't even think about the releasing issue until recent days since I successfully had it.

I fully understand why you think you are thumbed at nose, and I am sorry for that, I have never ever meaned to do that.

Legal problem is a very complicate thing. It is non-tech, but related to everyone of us. Releasing that will get huge trouble to me and to the one who share the file at first from Microsoft. I hope you can understand that.
[Windows Phone 7 Development and Hacking] dazza9075:
Dont be sorry or feel bad, we cant and shouldnt expect anything on here, what people like yourselves have done is great and if at all possible we know youd share, for the rest of us we apprechate being kept up to date with what is possible.

yeah we'd all love to have all the latest toys, but members should have to respect the fact that it isnt always possible... other examples being, WM running on WP, and pulling back the clock even further we were teased with WM5 running on the HTC Alpine, all were great news, but neither came to anything,

we shouldnt hold that against the the creators and we should be greatful that we have any updates and development...so anyhow, keep up the good work, its fasinating reading your progress :)
[Windows Phone 7 Development and Hacking] Omnia7xdax:
I think you needn´t say sorry for this,i didn´t wanted to sound that point of dissapointed ,but in first moment it felt this way,also because i think the os is to much restricted ,and i can´t understand why microsoft hides features like this from the customer,features that would make the os a greater experience,but in the fact i have to say much more times thx and congratulations for your hard work and succes after this hard way as you have to say sorry for any of my words;)