yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] SPEEDHAMMER:
You should perform a backup with Titanium Backup, to backup all your settings and apps. The upgrade process might differ from different builds, but they should all involve porting over data.img in your current build. As for the new builds, it really depends on what version you are using. If its far outdated, you should consider updating as many issues and bugs would have been fixed. Most of the NAND builds now sport Android 2.3.5, CM7, Sense 2.3 or Sense 3.5. You should check out the various NAND builds here and flash one that you like (http://xdaforums.com/forumdisplay.php?f=928) Sense or HTC Sense is HTC's own UI on top of Android. Its like those third party launchers like LP,ADW,Go Launcher, but of course, Sense is an official and fully integrated UI, so its like a skin over the whole Android OS. Im sure you know what im talking about by now.Sense 2.3 is the UI that was on all the HTC devices before the HTC Sensation and EVO 3d came out. Sense 3.5 adds many goodies like a new lockscreen, widgets, home screen transitions and animations. The baseline, however, is that i recommend you try the different NAND build types mentioned above so that you get the whole picture.
[HD2 Android Q&A, Help & Troubleshooting and Genera] JMnaCon:
Tell you the truth, I'm still kind of lost. I went to the link. Correct me if I'm wrong, but I'm assuming every post has a rom that I can potentially use? I am also not familiar with the terminology yet.

"...CM7,Sense or HTC Sense is HTC's own UI on top of Android. Its like those third party launchers like LP,ADW,Go Launcher..."
[HD2 Android Q&A, Help & Troubleshooting and Genera] JMnaCon:
Bump

So the same way I went about installing Android, is the same way I go about updating. It's not just a simple file that quickly integrates with what's already installed?
[HD2 Android Q&A, Help & Troubleshooting and Genera] suloch:
This thread may help you to get an idea about new methods. The thread from senior member T-Macgnolia helped me lot when I flash my HD2 first time last week.

Here is the link,

http://xdaforums.com/showthread.php?t=1021837

Hope this helps you.
[Acer Iconia A500] groaner:
Anyone able to try this APK on a stock Iconia?

http://xdaforums.com/showthread.php?p=17409746

Curious if it will work without the patch.
[Acer Iconia A500] tanneji:
Tried it on mine ... got error 12001 cannot reach netflix and have a great internet connection
[Acer Iconia A500] groaner:
drat! and double DRAT!
[Acer Iconia A500] tanneji:
i know! i had big hopes for this one but I guess this means we will have to wait until at least another version comes out
[Acer Iconia A500] JdgM3NT4L:
Works for me. Stock 3.1 rooted. It gave the usual warning about replacing an application with a new one and saved all user data. The video looks great. Thanks.

Edit- I am such a big fat liar... I forgot about the lib patch. I changed back to the stock libnvomx.so and lost the Netflix. I didn't even realize there was a problem with the camcorder.... I promise to try to pay a little more attention in the future...
[Acer Iconia A500] birchs:
same issue for me. I even tried clearing data and starting over.
[Acer Iconia A500] no200fly:
12001 error for me too
[Acer Iconia A500] SteamBishop:
Does not work for me either, Stock Rooted A500. Same 12001 error....was hoping it might work.
[Acer Iconia A500] onokiyo:
I have the same problem with Netflix 1.4 and Zoom's build.prop

My A500 specs:

ROM CWM HC 3.2 from fguy

HC 3.2

Kernel: 2.6.36.3+
[Acer Iconia A500] amigaussian:
This is strange: I installed the 1.4 app and for me everything now seems to be working. Everything=Netflix and videocamera.

My setup: rooted stock 3.1

What I did: I had already the old Netflix working with the library patch. Installed 1.4. Tested that it works. Reverted to original library file. Tested that both Netflix and videocamera works. Really happy.

Edit: I guess this means that my setup and results are the same as JdgM3NT4L's.
[Acer Iconia A500] JdgM3NT4L:
Sorry... I edited my previous post with this...

"I am such a big fat liar... I forgot about the lib patch. I changed back to the stock libnvomx.so and lost the Netflix. I didn't even realize there was a problem with the camcorder.... I promise to try to pay a little more attention in the future..."

:o
[Acer Iconia A500] erica_renee:
The question is how did you get it working on the 3.1.there are two known methods

1. Change the lib file.this messes up video recording

2.do the Asus fix this changes build.prop files.this one video recording works.but screws up tablet info.and for me caused GPS and other tab issues.very slow digititizee

if you did neither of the two and are on a stock rom

Please post any changes or mods to your tablet.

By the way working Netflix means able to stream movies not just access there site.some are confused by this

Thanks in advance
[Acer Iconia A500] amigaussian:
I did method 1. But there is catch, caveat or something. I had both netflix 1.4 and camcorder working perfectly after installing 1.4 with the original lib. Out of curiosity I rebooted my tablet today to test if things would work after that. And they did not, Netflix did not work. So sorry folks, nothing to see here. I had things only temporarily working, sorry about this.

On the bright side 1.4 works with the patched lib. And I really don't use the camcorder.
[Acer Iconia A500] HD87:
Running HoneyVillain 1.1 (3.2), using the Libvnomx.so patch with the netflix 1.4 apk from this thread. Netflix works but video recording still force closes.
[Windows Phone 7 Development and Hacking] Cotulla:
..::H.O.W...T.O...N.A.T.I.V.E::..

Hello,

today I had decided to start this thread about native development for WP7.

At the current moment I don't upload/attach any working stuffs to this message. It will happen a bit later, after new DFT ROMs release. This is because it's very difficult to run them for now.

Let's start from current achieved results:

1) It's possible to run any EXE files (after "FullUnlock")

2) Those EXE files can do any operations in the system (after "FullUnlock")

3) It's possible to show some GUI from this applications. But GUI has legacy Windows CE style, it's impossible to create Metro-style applications for now.

How can it be used by community?

We can develop a lot of homebrew applications: like porting emulators, old native applications, video players and etc.

It can be possible to port famous TCPMP player for example and get ultimate playback on Windows Phone 7!

Is it possible to run old Windows Mobile 6.5 applications without modifications?

No, it's not possible. A lot of different APIs are missing for those applications.

Is it hard to modify old Windows Mobile 6.5 applications?

Well, it's almost same like porting to pure Windows CE, but a lot of Windows CE stuffs are "damaged" inside Windows Phone. They just doesn't work right, because nobody never used/tested them before :P

Photos of sample "WP7 Native test"

Information for developers you can find in the next messages.

So I will release demo WP7 native application, when we fix issues with FullUnlock.

Demo will be as binary EXE file. And as VS2008 project, which can be good start point for other developers.

Now this thread dedicated for discussion, share ideas and thoughts.

DFT, Cotulla
[Windows Phone 7 Development and Hacking] Cotulla:
Information about "FullUnlock"

Information about "FullUnlock"

DevUnlock actually allows only to deploy XAP files from external sources.

It doesn't give more privileges.

So we (DFT) developed "FullUnlock". FullUnlock is implemented as replacing some system files by wrappers, which allows any kind of access (disable access checking at all)

We replace LVMOD.DLL which used to check files and data (checksums, certificates and etc) and POLICYENGINE.DLL which implements internal objects access checking.

All written before means that FullUnlock at the current moment only possible by flashing custom ROM to device. In future maybe we can find good ways to do it without flashing, but for now I don't see any ideas how to do it without flashing.

Maybe we can replace DLLs inside \Windows\ directory (put a shadow copy), but I am not sure if it will work really. It's stuffs for future experiments.

It can be possible to do something near by editing policy values, but it need big research to find right way. As it still won't disable file checking, maybe we can add own certificate to right store and then sign files with them.

The last DFT 7720 MANGO ROMs contains FullUnlock, but it doesn't work as expected :( there few issues. as well some users got issues with debugging on those ROMs and etc. We will continue work under it ;)

So I will release demo WP7 native application, when we fix issues with FullUnlock.

Demo will be as binary EXE file. And as VS2008 project, which can be good start point for other developers.

Now this thread dedicated for discussion, share ideas and thoughts.
[Windows Phone 7 Development and Hacking] Cotulla:
For developers

For developers

(users do not read! danger for brain!)

First of all I want to talk about abilities of native code.

Most applications built in inside WP7 are native. But they don't use usual Dialog UI style, they are using some kind of Silvelight scripts. This kind of UI is called "UIX".

Main idea of UIX that DLL files have UIX resources inside which describe whole UI.

Something similar is used inside CE 7.0 Slivelight - there some xml compiler which make binary data and put them as resources inside DLL. I don't know how to decode this binary data.

Seems Zune desktop application also using this framework.

So UIX used some kind of scripts for UI part and callbacks for all actions.

If we decode this UIX format, we will able to change/modify UI as we want, like it was before with regular resources inside DLL. But UIX must be much more powerful.

We can't use UIX for native application because we don't know how to use it, how to make proper binary data and etc. It's hard to reverse.

But native application can have some GUI with Windows CE style (you can see examples on the photos above)

Another issue: If you call API function "CreateWindowW" you won't see anything on the screen. It seems because shell handle all output, so window doesn't visible.

After some searching I found inside some test ROM nice DLL called "WindowTreeUpdater.dll". After looking inside and decoding functions parameters, it's working!

Basic idea: you create window and call function from this DLL and Window appear on the screen. There seems some kind of proxy engine to output legacy windows on top of shell output.

Nice, it's working... ;)

So we can use usual windows for UI inside native application.

There present standard controls, but they work rather laggy (hey, and looks too).

Basic controls like PushButton, Static, CheckBox, Radiobutton, Icon are working.

About extended controls: (Progress bar, list view, and etc)

they come from Commctrl.dll usually, it was present inside Initial/NODO releases, ut it was removed inside MANGO. I was able to run NODO Commctrl.dll under MANGO after some modifications. But all this controls are shown on screen, but they don't do anything on input. So you can see toolbar, but can't press any button.

CommDlg.dll is missing and never was inside WP7.

There present AYGSHELL.DLL, but most functions are broken. For example, I was not able to create menu bar.

So, a lot of functions are broken, like MessageBox not working.

But we still can create own custom controls and use them for developing.

For example porting TCPMP means that we will need reimplement UI fully - because toolbar doesn't work. slider also won't. Maybe get and reuse some source from ReactOS or NT40 CommCtrl :D
[Windows Phone 7 Development and Hacking] Cotulla:
reserved1reserved1
[Windows Phone 7 Development and Hacking] Cotulla:
reserved2reserved2
[Windows Phone 7 Development and Hacking] Cotulla:
reserved3reserved3
[Windows Phone 7 Development and Hacking] Dam4rusxp:
This is some crazy ****! I like it :D
[Windows Phone 7 Development and Hacking] domineus:
for...all...devices!? If possible...damn

I just came...
[Windows Phone 7 Development and Hacking] colossus_r:
Holly smoke !!!!!!!!!!!!!!!

Way to go guys....BRAVO... This is a major breakthrough for wp7 dev

Once again well done DFTeam
[Windows Phone 7 Development and Hacking] thatboydrae:
You guys are beasts...please keep it up :-)
[Windows Phone 7 Development and Hacking] Cotulla:
For now it's only for HTC devices with flashing custom ROM :(
[Windows Phone 7 Development and Hacking] Jaxbot:
The UIX/UIB scripts are a real pain.. I tried going through them a while back to change the annoying notification system (10 seconds? Really, Microsoft?) and figured it would all boil down to the usual XML-style script that WM6.5 and other MS products use, but the format is newer and there doesn't seem to be an easy way to decompile them.

From what I do know, however, is that it's more of an encoding than a compilation, and can be decoded if we can figure out what all the different headers mean... but that's a serious reverse engineering project.
[Windows Phone 7 Development and Hacking] 15131331231:
Keep it up.is it possible to add Samsung device into support list?
[Windows Phone 7 Development and Hacking] GuestK00306:
Great work! Are there any multitasking restrictions for these apps? presumably because they are not Silverlight they will not be present in the task switcher & the app will be in charge of when the process terminates?

Looking forward to doing some nice low-level operations - hopefully this will open a whole new world for WP7 dev

Sent from my 7 Pro T7576 using Board Express
[Windows Phone 7 Development and Hacking] leelei:
That's great，，，Thanks
[Windows Phone 7 Development and Hacking] ryotgz:
Hopefully this will change when you receive the Samsung Focus and try custom ROMs.
[Windows Phone 7 Development and Hacking] Jaxbot:
I would suspect that they won't be killed unless there's an Out of Memory issue (you can see the whitelists for that in the registry), because these processes are not like the silverlight/xna apps that are launched in Taskman.exe. Whether they show up in multitask lists, idk, but they probably won't be killed in the traditional way..
[Windows Phone 7 Development and Hacking] Cotulla:
yes... :(

maybe it's precompiled XAML scripts, like inside Managed applications?

Plain EXE can run without restrictions, but I guess it will be killed at OOM condition still. EXE with window seems all a bit more complex. When I press back button it usually disappear after few seconds. I think window got WM_CLOSE or something at that moment. It should be researched more in the future.

Furthermore, I forgot to say: Interesting thing, before MANGO WP7 supports native XAP files too!

There was few files nativeinstaller* which implements native installation. There references inside for setup.dll and _setup.xml like in old CAB files.

But it was removed from MANGO seems :(
[Windows Phone 7 Development and Hacking] Mr4eyes86:
Would we be able to install an old application like fpsece for windows mobile? One of the biggest things I miss about windows mobile! I get paid today so I will be making a donation for your hard work! I'm currently using your custom rom on my HD7! Thanks again, and keep up the good work!
[Windows Phone 7 Development and Hacking] liubao1007:
支持DFT論壇！支持xda-developers！至於你信不信，反正我是信了！
[Windows Phone 7 Development and Hacking] foxzhao:
thx a lot DFT,you DFT guys always bring us incredible surprise...good luck...
[Windows Phone 7 Development and Hacking] Improve:
Great work as always Cotulla and DFT. This latest development thread is very interesting and promising for dev community and all peoples untreated in WP7.

This is great news and ill be subscribing to this thread, hope I can help in the future.

Sent from my EVO 3D on Virus Rom
[Windows Phone 7 Development and Hacking] hobbbbit:
Your description sounds a lot like the way you code addons for Windows Media Center. Same concept of XML/Images/etc. added as resources to the executable. Maybe it's worth looking into that? Possibly Windows Phone borrowed something from WMC.
[Windows Phone 7 Development and Hacking] 0nova:
Awesome work !

It's amazing how MS keeps Win32 api alive in every new product but just throw around fancy wrapper layers to try and fool people.
[Windows Phone 7 Development and Hacking] itje:
"Spamming this thread with pointless and rather useless praise and rantings":

Thx for all the great work you guys do.

This is really promising stuff, looks like we can go deeper and deeper into this system and do some nice changes.

I hope you guys have a kitchen/tools, or one planned for dumpin and repack, (and even possibly modding ULDR and XIP) in works for wp7 :-)

Great work, will make a contribution to you guys soon.

cheers
[Windows Phone 7 Development and Hacking] Hobb:
Mmm... so this is the reason cause I can no longer attach the Visual Studio 2010 debugger to my apps in the device, correct?

Is it going to be a complicated thing to fix?

Congrats for the amazing work and thanks a lot for all your efforts :)
[Windows Phone 7 Development and Hacking] Cotulla:
No, this won't be possible. To many differences and some APIs are missing.

Maybe only if someone will develop emulation layer. But it's _very_ big work (like "WinE" Win32 API implementation for Linux)

It's low level API, they use it everywhere.

Are there tools for creating own stuffs? for skins?

Yes. Something is going wrong :( Do you deploy signed XAPs?
[Windows Phone 7 Development and Hacking] HD2Owner:
thanks for your work cotulla. keep it up.
[Windows Phone 7 Development and Hacking] Hobb:
No they are not signed, I was testing the ROM with a couple of small projects I'm working at but any windows phone project I've tried with showed the same error.

Before I never had any problem with the chevron unlock, I imagine it has to be with the wrappers not behaving exactly as the debugger expects.

It is easy to replicate, just create the basic template Windows Phone Application and try to run it in the device.

It will deploy succesfully but the debugger will not start and visual studio shows this message:

“The application could not be launched for debugging. Ensure that the target device screen is unlocked and that the application is installed”

Screen is unlocked, I've tried with with x86 and 64 bit machines, with 7.0 sdk and 7.1 sdk. All these always with the VS2010Ultimate
[Windows Phone 7 Development and Hacking] Jaxbot:
I've had that problem before on my HD2 on one of Yuki's ROMs.. I could deploy but never launch without clicking on it manually on the device, and, of course, no debugger.

Idk if Yuki has been trying similar things on his ROMs, but I'm just saying that it could be an unrelated side effect of something else...
[Windows Phone 7 Development and Hacking] Cotulla:
Okay, I will try. But need I install this crapware Zune to this PC before :(

Maybe issue happens only with unsigned XAPs . . .
[Windows Phone 7 Development and Hacking] Improve:
Application could not launch for debugging... Yea I have also received this error. Even while running Android from NAND while trying to sync both PC and Android version of SPB Wallet. I think it possibly may also be an unrelated side effect as well.

Sup @Jaxbot glad to see u here.
[Windows Phone 7 Development and Hacking] Hobb:
Oh, sorry, u are right, it's happening in a yuki ROM, the 7720 HD2 mango one. Don't want to mix up things, I am so used to everything being based on DFT roms that I forgot the last ones are not.

Could be completely unrelated then, sorry.
[Windows Phone 7 Development and Hacking] fiinix:
Thank god, now i can continue code raw exe instead of WP7 COM+

In am more than happy to join the exe team
[Windows Phone 7 Development and Hacking] fed44:
Just to clarify, I take it the reason ProvXML can't be used is due to file locks? If there was atleast a way to replace those root certificates we could also use the update packages, but I take it that is also not possible with ProvXML due to either file locks or permissions.

Also for User Interface I think it would be more productive to only use native code as codebehind. I doubt anyone here is planning to write any apps that need much more, but we need to remember that using the rest will only lead us back to win mo 6.5 style guis. What may be of interest though is access to direct hardware acceleration, for that one may wan't to reverse Internet Explorer.

By the way, what is the best way to access the dlls so they can be looked at in IDA or sth?
[Windows Phone 7 Development and Hacking] Cotulla:
Well, those things was known a lot of time ago.

To call some native code from managed code .

We are talking about full native applications.

Both ways have own advantages and disadvantages.

Managed + Native COM:

+Metro style UI

+Easy to code UI

-No ability to show something on screen from native

-Restrictions

Full native:

-legacy CE UI

+Ability to output something using GDI

+High speed

+Ability to port existing code

My compare isn't full, but anyway full native can give some interesting things.

Like we can port TCPMP (it can be hard with Managed + Native COM)

As well other thing is FullUnlock, which gives ability to disable all security checks and use any APIs and etc.
[Windows Phone 7 Development and Hacking] fiinix:
Added some items

Full native:

+No Watchdog

+"I chose when app is killed" (runns forever in background) > ExitProcess(int exitCode)

+Run native DirectX/OpenGL

+Can start "mscoree" (.Net @ void "_CorExeMain") (this is what taskhost.exe does)
[Windows Phone 7 Development and Hacking] Cotulla:
Keep it. it's good text.

yeah right. as well load kernel libraries and etc.

OpenGL not supported there . . .
[Windows Phone 7 Development and Hacking] xboxmod:
hi cotulla

I know that you and yuki talked about the problems caused by the wrappers.

The thing you call “full unlock” can be done by modifying the database and adding a policy.xml.

We call that “Root” & can run custom .exe with full access to drivers and resources on any rom , not only on hd2 , and we know how to do this on Samsung , LG and more without cooking a new rom!

Yuki also had a problem with games bought from the Marketplace on the first day of the custom rom release with “Root“ and corrected it.

You say we can do the same by editing policy values, but it need more research and in the end you might just still have to spend time over there to solve problems.

For my part I thought to build 7720 Rom for other HTC device with the certificate to send Cab like "Root" ,tweak ,customisation & update .

like this the user can decide what he need to install for his usage and can update without reflashing..

but it's a little bit stupid to spend time to create 2 rom type don't you think?

So I propose a deal if you agree, I tell you what I know of these issues and requested further information from Yuki, I asked him and he is already authorized me to share all with you like .

Membership Maps, Loader Verifier rules & the rules to change.

and in exchange with you (DFT) you put our certificate in your roms so that everyone has the benefits of both.

If it's ok with you please meet me here and I will send you all by PM because it's not necessarily to post stuff here...

Greetings
[Windows Phone 7 Development and Hacking] rudelm:
That would be very cool, if you join your forces. But maybe you can share more developer details after Mango is released? Flashing your phone to enable all kinds of hacks is a good start but it would be nicer to do it without flashing and running on top of stock rom. It's like jailbreak on iOS, where you will always have to wait until the next full version of rom is out and only after that the jailbreak is posted.

I can understand your concerns about fixing this holes by Microsoft, but at least it would be nice to get some information of your progress and how you did it :)
[Windows Phone 7 Development and Hacking] tchitchicruise:
humm! DFT/Cotulla and Yuki/Xboxmod !!

It would be an exploding idea !! lol

:eek::D