yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] MamomaN:
i don't even have the option to enable / disable that option

because i have 6.5 wm

and that option was available only in wm 6.1

any one help please :(
[Windows Mobile Development and Hacking General] Saddi2008:
I have the same problem since May

I have HD2 and the problem occurs on all 6.5 ROMs. Everyone can check on his phone with Manila 2.5, try add a City with GMT time (like Dakar, Casablanca, Conakry), you will never get the correct time but always GMT+1. I tried Weather Editor with no success, NRG, Artemis, HD2O and Duttys ROM, same problem!!

No city has GMT time in the Database!

This is a big bug to be corrected

(excuse my English )
[Windows Mobile Development and Hacking General] MamomaN:
So , any help ???
[Windows Mobile Development and Hacking General] MamomaN:
^^^^^^^^^^^^^

another day with agony as usual

sleeping problems because of that stupid problem

any one help plz
[Windows Phone 7 Development and Hacking] WithinRafael:
As I briefly posted on my blog Monday, Mango will no longer support the deployment of XAPs containing the ID_CAP_INTEROPSERVICES flag. This means you won't be able to deploy your web servers, root tools, and other assorted unsupported hackery.

With our sanctioned, dirt cheap unlock service around the corner, trying to jailbreak NoDo (without upgrade hacks) is a waste of time. I believe the ROI on time spent on hacking this interop limitation is much greater. ;)

This limitation is implemented in PacmanInstaller.exe (on the phone); it scans the manifest for the flag and bails with HRESULT 0x81030120.

As Mango FFUs haven't been released yet, I haven't tested upgrade path 'hacks'; worse, this behavior doesn't appear to be reproducible in the emulator limiting current testing to those w/ Mango phones. (That should change in the next few weeks, hopefully.)

I'm interested to see what ideas you guys have!
[Windows Phone 7 Development and Hacking] vangrieg:
How does Microsoft even explain this? What's the point in allowing your unlock officially and then blocking the very functionality we unlock devices for?

Maybe this is a temporary problem?
[Windows Phone 7 Development and Hacking] StevieBallz:
As far as Microsoft is concerned the new Unlock variant is for people who want to develop for their devices but without intention to publish the results to the Marketplace, e.g. people who want to play around with things.

If you're a Nokia Dev today you get the unlock for free - allowing people to access undocumented APIs is not what Microsoft wants to happen but more to make people experiment with the platform and then perhaps publish their work to Marketplace later on - but that would not be able to happen if those experiments used COM-Interop which is not allowed on the Marketplace.
[Windows Phone 7 Development and Hacking] vangrieg:
Well, this way, from an end user perspective, unlocking is useful only for piracy. Getting sideloading without extended capabilities is a weird proposition.

Re hacking Mango, I guess people need to get it on their phones somehow to begin with.
[Windows Phone 7 Development and Hacking] Heathcliff74:
In the other thread I requested that everyone who upgrades makes a wireshark log and post it here, so we can tear it apart. I also left some instductions there.

Plz also let know if apps with native code survive the upgrade and if the chevron unlock with prevent relock survives the update.

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] fiinix:
mfw i already found out a possible solution how to bypass this.

>NoDo needed before Mango.

No trolling. Also, cant say it here on xda, then the Microsofties will pick it up and block...

>Trusted people i can tell, sry.
[Windows Phone 7 Development and Hacking] wbadry:
Thanks for sharing this secret, but up to this moment, Ansar way (flashing stock ROM, then using advanced configuration utility to avoid relocking) is the only effective way.
[Windows Phone 7 Development and Hacking] WithinRafael:
One could write an application for NoDo, for example a ChevronWP7 Homebrew Enabler, that uses native APIs to modify manifests of homebrew applications found on the phone. Then upgrade to Mango.

There are lots of upgrade scenarios but we have to remember -- new phones will only ship with Mango.
[Windows Phone 7 Development and Hacking] diboze:
yeah lets tell rafael and his ms homies how the people here try to hack mango, so that he can tell ms to fix it before mango released to everyone.

I hope you wont tell a thing in the public @ fiinix, jaxbox, heathcliff
[Windows Phone 7 Development and Hacking] Arktronic:
Really? Rafael informs us of an important issue that we should try resolving, and your response is "OMG he's in bed with Microsoft let's ostracize him"? That saddens me.
[Windows Phone 7 Development and Hacking] diboze:
@arktronic: please...you cant be this naive...
[Windows Phone 7 Development and Hacking] Arktronic:
I won't dignify that with a response.

Oh wait...
[Windows Phone 7 Development and Hacking] kapanak:
There seems to be a way ... for current NoDo users. It is similar to what happened going from original 7008 to NoDo ... in terms of unlocking. I will stop there.
[Windows Phone 7 Development and Hacking] elyl:
I'm curious, is the ID_CAP_INTEROPSERVICES merely a flag that the xap contains native code, or does the executive actually forbid the application from running native code unless the flag's present?

i.e. could we modify the xap to remove this flag, but still run the native code app on the phone?
[Windows Phone 7 Development and Hacking] WithinRafael:
The flag must be present.

You're an idiot.
[Windows Phone 7 Development and Hacking] Arktronic:
Here are some things to consider then:

Can something be done to the XAPs to allow the flag? Signing? Other XML file modifications that, in turn, would allow the flag to be used?

Can something be done to the system? A registry change perhaps?

Have any new flags been added to Mango that might also allow low-level system access?
[Windows Phone 7 Development and Hacking] (nico):
It seems more complicated that just the flag.

Homebrew apps or resigned apps (like Scansearch, or HTC apps) won't run, but official manufacturer apps (Scansearch on LG, HTC apps on HTC) run fine.

So it seems to depends on some certificate.

Also, installing an apps then upgrade to Mango keeps the app on the phone, but it won't allow you to launch it (no error, just launch and quit).
[Windows Phone 7 Development and Hacking] WithinRafael:
Ah, thanks for testing that. So that means installing an application then upgrading won't be as easy as it sounded.

One test would be to sign a XAP and place your root certificate in the CA store (with Heath's toolset).
[Windows Phone 7 Development and Hacking] LongZheng:
I too hope everyone will be a selfish bastard and will never get anything done.
[Windows Phone 7 Development and Hacking] Heathcliff74:
I'm trying some things with the package manager. I haven't got anything yet, but I got some ideas I yet have to try. I'm working on flagging an app as "not being sideloaded".

Ok. So it looks like the package-manager doesn't allow the interop-flag for apps with a full install-cycle through side-loading. The flag is probably allowed for upgrades and marketplace-installs (including DRM licenses). And the PolicyEngine (runtime system) requires the dll's to be signed properly or else it will deny interop to native code.

Please refer to the opening post of this thread. For the purpose of code-signing the certificates in the "Code Integrity" store are used. The certificates in that store would probably need a signing-root in the CA store. The means that you have to create a certificate that has the properties of a "Code Integrity" certificate AND the properties of a "CA" certificate and then add this cert to both "Code Integrity" and "CA" stores. Then use the private key to sign all the dll's.

If you look at the certs in the "Code Integrity" store, then all, except the one used for LPC singing have this:

Key Usage: Digital Signature, Certificate Signing, Off-line CRL Signing, CRL Signing (86)

Enhanced Key Usage: Code Signing (1.3.6.1.5.5.7.3.3), Unknown Key Usage (1.3.6.1.4.1.311.10.3.14)

If you look at the certs in the CA store, then you see that they all have:

Certificate Signing, Off-line CRL Signing, CRL Signing (06)

That means that you have to create a cert with:

Key Usage: Digital Signature, Certificate Signing, Off-line CRL Signing, CRL Signing (86)

Enhanced Key Usage: Code Signing (1.3.6.1.5.5.7.3.3), Unknown Key Usage (1.3.6.1.4.1.311.10.3.14)

Than add this to "Code Integrity" and "CA".

You have to create the cert with OpenSSL. You can't create such a cert with Visual Studio tools.

I already created such a cert. I will create a new version of the WP7 Root Tools and sign the dll's with this cert. And I will make an option to install/uninstall the public cert in "Code Intergrity" and "CA". I advise everyone who wants to try this to first make a backup! Then, when you have this version of the WP7 Root Tools installed and you used it to install the certificates too, then you should try to upgrade to Mango and see if the WP7 Root Tools are still working.

I will let you know when I got this new version of the WP7 Root Tools ready.

Ciao,

Heathlciff74
[Windows Phone 7 Development and Hacking] WithinRafael:
Ah ok, pretty standard stuff. I have a real Verisign-issued CI cert so I can simply sign the XAP and deploy.
[Windows Phone 7 Development and Hacking] Heathcliff74:
Plz verify the enhanced key usage. I think it is important to have those correctly set for WP7 Code Integrity. 1.3.6.1.4.1.311.10.3.14 is for "MOBILE DEVICE SOFTWARE" and might be verified against.

Ciao,

Heathcliff74.
[Windows Phone 7 Development and Hacking] Marvin_S:
Another question:

Will registry settings applied before the upgrade be erased or kept (like the NoDo update did)? Like the settings for disabling relock and removing side-load limit? Since student accounts can only have 3 side-load slots.
[Windows Phone 7 Development and Hacking] Arktronic:
Does the CI store in question permit all Verisign CI certs or just specific Microsoft certs?

(EDIT: And I don't mean what you can add using the Root Tools)
[Windows Phone 7 Development and Hacking] Heathcliff74:
See attachment. That's whats in the current cert-stores. Mango adds a few extra (one specific for Marketplace, etc). So to answer your question: No, it does not accept all Verisign certs. Only these. But what Rafael was referring to was that he could simply add his cert to the store, using the WP7 Root Tools and then use his own cert to sign the code. But he might need to create his own certs after all, because that cert probably does not have the necessary Extended Key Usages.

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] Heathcliff74:
Now that I'm thinking of it, it might not even be enough to add a cert to the stores. It might be necessary to add new policies too. Again, see this thread for more details.
[Windows Phone 7 Development and Hacking] (nico):
It depends (as always :)).

For exemple accent color are kept, but it seems custom ringtones get lost.

To be exact, it seems custom ringtones are kept until you try to modify sound settings.

I think max number of unsigned app is set back to its original value.
[Windows Phone 7 Development and Hacking] WithinRafael:
Ah, I don't have those attributes on my cert. How the hell would I get them? Verisign doesn't seem to publicly offer them. I'll follow that trail and see where it leads.
[Windows Phone 7 Development and Hacking] Heathcliff74:
You can use OpenSSL to create your own cert with these attributes. I'll PM you with detailed instructions in a few minutes.
[Windows Phone 7 Development and Hacking] Arktronic:
OpenSSL pisses me off every time I try to use it. I wrote an open-source Silverlight app that performs a CA's basic functions for OpenVPN to avoid having to use OpenSSL, using the Bouncy Castle crypto library. If anyone cares to, I'm sure it wouldn't be difficult to modify to create appropriate CI certs.
[Windows Phone 7 Development and Hacking] WithinRafael:
No, I mean: How would a legitimate software developer get these attributes on their certs? Verisign/etc. must support this...
[Windows Phone 7 Development and Hacking] Arktronic:
I think the point is that only Microsoft and approved OEM devs would be able to get their XAPs signed with the CI certs.
[Windows Phone 7 Development and Hacking] Heathcliff74:
Microsoft signs all binaries. Marketplace apps and also all oem binaries need to be signed by microsoft first. Only microsoft has the private keys of these certs.

Edit: the thumbprints of the Code Integrity certs are specifically mentioned in the policies. See the Native Exe thread for more info.
[Windows Phone 7 Development and Hacking] Heathcliff74:
I'm not sure what you're asking. If you need something, plz elaborate.
[Windows Phone 7 Development and Hacking] Arktronic:
No no, I was just saying that you don't have to use OpenSSL to create those certs if you don't mind a little dev work.
[Windows Phone 7 Development and Hacking] Heathcliff74:
Ah. ok. Now I see what you're saying. Well yeah, OpenSSL is a bit of pain in the @$$. I'm quite new to the whole certificate stuff. But I'm good with google. So I found a few guides and managed to create such cert. Let's see if we're really gonna get somewhere with these certs. If so, then it might be useful to have your tool for other people who don't want to be using OpenSSL. For now, I'm good with the cert I've got. Thanks for your input.
[Windows Phone 7 Development and Hacking] WithinRafael:
Right, sorry. I was clearly retarded when I asked that. :D
[Windows Phone 7 Development and Hacking] KingpinEX:
i have trust in you guys! jail braek the hell out of mango.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Max Unsigned looks like it got reset (sorry guys...).

Cutom ringtones weren't a registry change per se; there was a registry setting involved but the major thing the homebrew did was put the file in a specific location (\My Documents\My Ringtones\). I can't even tell if my cutom ringtone is still there; I can't use the filesystem browser anymore. On the plus side, Mango comes with custom ringtone capability built in, though the steps seem bizarrely complicated.

All my other registry tweaks have survived. Changing the IE search provider stuck around (thank goodness; that annoyed the hell out of me before), as did my tweaks in HKEY_CLASSES_ROOT.

The biggest thing I miss? Tethering. Gotta get that back, somehow. Loss of filesystem access really sucks too, though - now I can't back up my game data from the isolated storage before resetting the phone.
[Windows Phone 7 Development and Hacking] Marvin_S:
Yes and for me all side loaded apps stopped working, "revoked by MS, please uninstall".

I don't know what to think of Mango. It has some nice things, but comes with a lot of disappointments atm. We will see if we will get another update.

I have not side loaded anything with the new zune and SDK so I did not test if the side load limit also got cleared for me. Probably yes.

PS ie9 is fast! But wonky, still a large amount of sites force themselves to the mobile website even when having desktop view selected and tabbed browsing is a PITA, html5 did not work very well for me on a random html5 site and a video made my phone completely frozen that only a battery pull worked.

On the other hand -> push seems to work! (yeh) + multitask is really efficient and everything looks twice as fast. Unfortunately the scrolling in the FB app is still pretty slow, it has improved but still far from perfect. Hopefully MS will fix these issues :)
[Windows Phone 7 Development and Hacking] nezz:
Dev-unlock it again and they will start working :)
[Windows Phone 7 Development and Hacking] domineus:
this is something very interesting...

on the dvp, our native file explorer is still working post mango...I'm not sure if it'll help)

unless its due to being in the rom and not being installed via third party method...

I can try and get the xap though
[Windows Phone 7 Development and Hacking] (nico):
Are you talking about an app you made? Or about the one ship by Dell?

ISV application (Dell, HTC, LG, ...) still works. Only sideloaded apps that use COM are blocked.
[Windows Phone 7 Development and Hacking] Heathcliff74:
REQUEST!! Testers wanted!
[Windows Phone 7 Development and Hacking] domineus:
let me try something a friend made..just a sec
[Windows Phone 7 Development and Hacking] fiinix:
Digged in install filed and a new file to Zune has come "UpdateWP.exe":

This in interesting:

C:\Program Files\Zune>UpdateWP.exe /getdevicelog

- Must run cmd.exe under Administrator

It dumps a super informative list of the device (maybe back trace and inject):

C:\Program Files\Zune\DeviceUpdateLog\{PHONE GUID\Devicelog.cab

- Mine got up to 126 KB of info
[Windows Phone 7 Development and Hacking] fiinix:
THIS in the hole we must crack; What makes FIRST party apps pass the CAP_INTEROP on install (probably sign), but as seen we can install certificates our self under any CA/TCB/MY/etc, then sign xap/?dll with that cert.

- Cert must be installed when running NoDo > Update Mango > sign homebrew proj > go/run homebrew

> This is just thoughts, nothing that has been tried.
[Windows Phone 7 Development and Hacking] domineus:
that's the question hang on I'll try a reg editor made from the registry editor on the dvp and file explorer still fishing for my copies by notebookgrail

and this is weird the apps are pulled directly from dell why won't the code tag pass I wonder...there has to be a reason
[Windows Phone 7 Development and Hacking] schluff1:
After updating to Mango, Advanced Explorer 1.4 is still working. But why? It has ID_CAP_INTEROPSERVICES. Nevertheless, you can not access the registry.
[Windows Phone 7 Development and Hacking] Heathcliff74:
Probably because accessing interop under mango will just give a managed exception. But most programs don't expect that exception and they don't have proper exception handling at that point. So the app will crash.

Advanced Explorer probably does have exception handling in place, so it won't crash. Except it does still not have the proper access.

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] piaqt:
How do I read or open a .clg file?
[Windows Phone 7 Development and Hacking] piaqt:
Not on my phone. I re-registered after installing Mango, so that's not the problem. Did you re-install? When I try to run it, the list of apps shimmies a little, then stops. Cool if you're into short-form stop-motion animation, but otherwise useless.

So how do I get it to work?
[Windows Phone 7 Development and Hacking] DavidinCT:
Any updates ? I installed Mango on my Tropphy and I'll I want to do is play NES emulators.

Sorry to ask a question that am sure has been asked a billion times now but, anyone come up with a way to unlock mango besides being a Dev and paying $99 unless you have a .edu email address ?
[Windows Phone 7 Development and Hacking] Arktronic:
No such Mango unlock presently exists.
[Windows Phone 7 Development and Hacking] fiinix:
Just reading it with notepad or any text editor works perfect. Its a binary file but with plenty of text.
[Windows Phone 7 Development and Hacking] Marvin_S:
Yes there are. There is a thread about it, you can pass on your unlock for both samsung and htc devices now. Its pretty easy to accomplish if you can flash back to nodo (unlocked of course).
[Windows Phone 7 Development and Hacking] DavidinCT:
Yes, I can get back to Nodo fine but, my Verizon Trophy came with Nodo so I have never been able to unlock it.

I guess I am SOL till someone finds a way.

Thanks for the reply.
[Windows Phone 7 Development and Hacking] parnunu:
sorry can't help
[Windows Phone 7 Development and Hacking] Marvin_S:
yeah download the mango bits, but wait for the legal chevron unlock and chip in òr get student unlocked somehow... no other options as of now.
[Windows Phone 7 Development and Hacking] DavidinCT:
I've been reading a little on the dev stuff and think I wana play so I found a edu address, setup a dreakspark account and subbmited my fake app, just waiting for the unlock email.

I guess it's my only way to play with an unlocked phone for now, funny thing, till now I have only be interested in unlocking my phone because of home brew apps... I've already started reading, so maybe in afew months, I"ll be making some home brew apps...(or some in the marketplace)

Wish me luck (I'm a MCSE but, never touched programmig) !
[Windows Phone 7 Development and Hacking] fiinix:
Mango testers

Doing some tests to be able to bypass interopservices error (Mango)

- Deploy this xap (is it

allowed

to deploy?)

(I know, it does not run, "Licence error", just deploy and tell result)
[Windows Phone 7 Development and Hacking] CopyCounsler:
Doesn't deploy for me, 0x81030120
[Windows Phone 7 Development and Hacking] singularity0821:
It doesn't deploy unless I remove the <Capability Name="ID_CAP_INTEROPSERVICES" /> line from the WMAppManifest.
[Windows Phone 7 Development and Hacking] fiinix:
I know that...

If its one person on this forum that at least should know that, its me.

Trying to bypass.

___

Upcoming tests later
[Windows Phone 7 Development and Hacking] singularity0821:
I know hehe, just wanted to tell the result :)
[Windows Phone 7 Development and Hacking] kuerbis2:
@fiinix don't try any longer, just use the provxml hack described over here: http://xdaforums.com/showthread.php?t=1152422 and make sure you include the LVMod setting

<characteristic type="HKLM\Comm\Security\LVMod">

<parm name="DeveloperUnlockState" value="1" datatype="integer" />

</characteristic>

. That will enable you to deploy & run applications with ID_CAP_INTEROPSERVICES defined in the manfiest.

Kind regards,

-tobias
[Windows Phone 7 Development and Hacking] CopyCounsler:
yeah, except too bad the provxml hack doesn't work on Sprint HTC Arrive phones...

:(
[Windows Phone 7 Development and Hacking] SimzzDev:
Is there any to get it to work on Arrives? What if you install a registry editor on NoDo, then update to Mango? Will the registry editor continue to work?
[Windows Phone 7 Development and Hacking] SimzzDev:
Another idea, what if someone made an app that didn't have the InteropServices capability so it could be deployed, then added it at startup? I know it sounds complicated, but then we could use that to enable deploying InteropServices apps in the registry.
[Windows Phone 7 Development and Hacking] piaqt:
Yes, PLEASE! Where do I post a bounty offer for that?
[Windows Phone 7 Development and Hacking] SimzzDev:
I actually gave that a try, and others would probably have more success than me, but it might not be possible to access the WMAppManifest.xml from the app.
[Windows Phone 7 Development and Hacking] piaqt:
:( Why does MS lock the system in the 1st place? Desktop OS's aren't locked and are way more complex, and you can do a lot more damage to and with one of those puppies. I just don't get it.
[Windows Phone 7 Development and Hacking] SimzzDev:
Probably to make it easier for the average, non-developer or homebrew user. Or they just don't want to give support to people who brick their device.
[Windows Phone 7 Development and Hacking] fiinix:
Mango interop

What im currently thinking of is that i get a OEM xap (signed etc), then replace dll's so that it makes calls to a modified (recompiled) version of e.g "Microsoft.Phone.Controls.Toolkit.dll".

- A modified {.ctor} of namespace.Control that does exploit calls

The problem it that it wont deploy (even an orginal OEM xap)

- "Error - Installation of the application failed. XAP package signature is not valid or the WP manifest file is invalid. Re-sign with valid signature and fix the manifest file."

> Yes i know what i'm doing.

How come those xap's can be installed from within the phone? And not deploy'able?

- Maybe need a hijacked "fake-marketplace"

http://apps.marketplace.windowsphone.com/C3A42270-397F-447B-8BE7-B4F001C0B4F5/CurrentBinary.xap (Samsung: Network Profile)

> Point that one to "$(thisPc)/C3A42270-397F-447B-8BE7-B4F001C0B4F5/CurrentBinary.xap"

Whrere "CurrentBinary.xap" is a modified xap (orginal OEM at first)