yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Development and Hacking] drac667:
Having access to GDI, one could port Qt to it, since it was supported on Windows Mobile 6.5.

Any chance of getting some hardware acceleration support?

This would make Qt stick to it's motto "Qt ... Code Less, Create More, Deploy Everywhere".
[Windows Phone 7 Development and Hacking] fiinix:
"OpenGL not supported there . . ."

Hmm, they must have removed OpenGl from the device totally :/

I know that Zune HD had it; why remove it if it worked..

OpenZDK (homebrew): http://zunedevwiki.org/wiki/
[Windows Phone 7 Development and Hacking] snickler:
We've known about this.... That's how we've been able to get ProvXML deployed pretty nice on Samsungs by using their COMRilClient.dll http://xdaforums.com/showthread.php?t=1238519
[Windows Phone 7 Development and Hacking] snickler:
Cotulla, for Metro Style UI in Full Native, can't you just utilize the UIXFramework? From going through some disassembled code from a few exes on the device, they utilize the UIXFramework to get the metro style UI. I don't know if it's possible or if I'm completely correct about this, but it was just a little observation I made.
[Windows Phone 7 Development and Hacking] Cotulla:
It looks like unaccelerated :(

Because WindowTreeUpdater.dll looks like some kind of proxy layer.

To force D3D usage. but CE70 has OpenGL support.

There 1)unknown UIX data format. 2)A lot of C++ classes. make proper definitions for them is extremely hard.
[Windows Phone 7 Development and Hacking] snickler:
Darn... :(. I wish I could somehow do some testing on my Samsung Focus to help you guys out.
[Windows Phone 7 Development and Hacking] cubbstr:
Is it now possible to Port android to wp7?
[Windows Phone 7 Development and Hacking] snickler:
If I see this question again..... This thread is for hacking WP7 to run Fully Native code.. not for porting Android. As many other people have said, if you want an Android phone, buy an Android phone. :)
[Windows Phone 7 Development and Hacking] cubbstr:
Sry, i didnt want to annoy you :). a ported android has never the same performance as an android phone, but it was very interesting on windows mobile to see what's possible.
[Windows Phone 7 Development and Hacking] Useless guy:
As I know UIX is the Silverlight for Windows Embedded 7. It's like managed Silverlight (but we know that it's just managed wrapper), but uses C++. Reference is there.
[Windows Phone 7 Development and Hacking] snickler:
I think it would be nice to have Classes built off of those wrappers for ease.. Native Metro UI would be pretttttty nice :)
[Windows Phone 7 Development and Hacking] agamy_80:
Cotulla great work,but i need mango rum with Arabic lang,thank you man
[Windows Phone 7 Development and Hacking] fiinix:
Have a look at this: http://geekswithblogs.net/WindowsEm.../10/01/silverlight-for-embedded-tutorial.aspx

- Could be useful for GUI (accelerated)
[Windows Phone 7 Development and Hacking] Heathcliff74:
Hi Cotulla!

Thanks for your great work!

About the policies... I have done this research. I have found a string of exploits which make it possible to alter the policies on a live device. I have a Samsung Omnia 7 (so no unlocked bootloader or HSPL). The exploits work on Samsung, HTC and LG. But it needs native code, so altering the policies can only be done on NoDo. My exploits also have access to the Certificate Stores, including the Code Integrity store.

On NoDo I can apply Full Root Access. It is different from what YukiXDA did, but the effect is the same. After applying that I have unrestricted access to all resources and API's on WP7.

On Mango we still have the restriction of not being able to execute native code. So I wanted to fix this. I created a certificate and key, using OpenSSL (see also this thread). I used extended key usage for codesigning, etc. I installed this in the Code Integrity store and in the CA store (I think it is only necessary to store it in Code Integrity). I also added a policy, which is equal to this policy, which is default present in the policy database:

<Rule PriorityCategoryId="PRIORITY_STANDARD" ResourceIri="/LOADERVERIFIER/GLOBAL/CERTIFICATES/HASH/SHA1/069DBCCA9590D1B5ED7C73DE65795348E58D4AE3" SpeakerAccountId="S-1-5-112-0-0-1" Description="VeriSign Mobile Root Authority for Microsoft is honored by LPC Identity Group">
<Authorize>
<Match AccountId="S-1-5-112-0-0X81" AuthorizationIds="LV_ACCESS_EXECUTE" />
</Authorize>
</Rule>

I changed the priority to "HIGH", replaced the thumbprint with the thumbprint of my own certificate, I added the AuthorizationId for LV_ACCESS_LOAD, I recalculated the hash for the ResourseIri and I made the necessary changes to PatternDBBloomFilter. Then I signed my native dll with my key.

Then I upgraded from NoDo to Mango. I tried an app to load my native dll... No success :(

I verified that the certificates were still present in the store and also the changes to the policy database and account database were still present!

WHAT AM I MISSING HERE?!?

I was quite sure, this would work. I've been looking at the LoaderVerifier, but I can't see anything that I have missed.

If you need any files for examining, like my cert or my signed dll, just ask and I will upload later on. Any help would be appreciated!!

Regards,

Heathcliff74

Edit: At the moment I'm still on Mango. And I have exploits to alter registry, filesystem, certificate stores and policydatabases. So if there are any ideas I can try it now.
[Windows Phone 7 Development and Hacking] Cotulla:
Yes, but it seems different from UIX.

About using on top of WP7 - it dependent from dependences of this component.

And main problem can be to has output on the screen.

Heathcliff74, it's hard to say anything exactly.

Maybe it want to has certificate, which chained from another trusted?

(Like it happens on Windows 7 x64 - we can't install own certificate to sign drivers (without test mode))

But my current knowledge about this subject is rather limited.

You can also try to look at \Windows\evenlog\*.clg

Those binary log files can contains reasons of the fail.
[Windows Phone 7 Development and Hacking] oOp:
@cotulla: thumbs up.

but: if it is possible to dev native apps where is the border to use those native apps/dlls in your managed wp7 apps ;)
[Windows Phone 7 Development and Hacking] Heathcliff74:
The certificate chain must have its parent in the Code Integrity store. When the chain has its root in the Code Integrity store, it is considered "Trusted" for code-signing purposes. Just like other certs must have their root in the CA store. For example, a Samsung dll is signed like this:

-- 1. VeriSign Mobile Root Authority for Microsoft --> In WP7 Code Integrity Store

------ 2. VeriSign Mobile CA Authority for Microsoft --> In certification path of DLL

---------- 3. CodeSigning for Samsung Telecommunications America LLC --> In certification path of DLL

The certificate I created is placed directly in the Code Integrity store. I use its private key to sign my DLL. So it should be finding the issuer directly in the Code Integrity store. I also placed the same certifiate (which has CA=TRUE) in the CA store, just to be sure. But somehow, the certificate is still not accepted :S

Thanks for the idea of the eventlog. I checked, but unfortunately no errors in the log :(

Are you willing to PM me which part of the LoaderVerifier you have patched, so I can have another look at that part to see if there are checks that may fail in my case??

Ciao,

Heathcliff74

---------- Post added at 04:05 PM ---------- Previous post was at 03:11 PM ----------

Oops. Got to hard reset now. :( I saw the LV was checking files "TrustedCAs.xml" and "TrustedCAsTest.xml". On my device I only got "TrustedCAs.xml" and it was an empty xml. On an old test rom I saw the file "TrustedCAsTest.xml". I copied it, replaced the thumbprint with the thumbprint of my cert, the copied it to \Windows and reboot. Now it hangs on "Samsung Omnia 7" boot logo and does not go further. GRrr. :mad:
[Windows Phone 7 Development and Hacking] xboxmod:
Hi Heathcliff74

to have "TrustedCAsTest.xml" working it seem you also need to add registry key & maybe policy.xml corresponding to your certificate,like in the package "LoaderVerifierTestCerts" from test rom.

i think this is why your device freeze on boot.
[Windows Phone 7 Development and Hacking] Snake.:
It´s so nice to watch you guys :D again, great work
[Windows Phone 7 Development and Hacking] Heathcliff74:
I reverted to NoDo, upgraded again, unlocked, made backup. Now ready to go again...

I did more tests:

Everytime I call LastError = Microsoft.Phone.InteropServices.Marshal.GetLastWin 32Error() it always returns 0x80000005 = "Access Denied". After success or fail. Always the same value. So that is not useful. But I saw that RegisterComDll() returns an uint, which is the resulting error-code. When RegisterComDll() fails, the creation of a class-instance throws an exception: 0x80070032 = "The request is not supported". This is simply a follow-up error on the previous failed call to RegisterComDll().

I did 4 tests for RegisterComDll():

1. Legit Samsung dll: 0 = Success

2. Dll signed with my cert: 0x8007007E = "Module Not Found"

3. Unsigned dll: 0x8007007E = "Module Not Found"

4. Bad dll (non PE): 0x8007000B = "Bad Format"

So signing with my certificate does not make any difference :( The errorcode 0x8007007E is not generated in LVMod.dll. So it is probably a returncode from PlatformInterop.dll. I have not looked into that yet. It's late now. I need to go to bed.

Bye!

Heathcliff74
[Windows Phone 7 Development and Hacking] Cotulla:
It seems to be:

0x80070000 + Win32ErrorCode.

so

0x8007000B is ERROR_BAD_FORMAT

and

0x8007007E is ERROR_MOD_NOT_FOUND :confused:

show me your DLL pls. Maybe it try to load extra modules which are not present on the device.
[Windows Phone 7 Development and Hacking] Heathcliff74:
I will send the dll later on. But other native dll's, from Samsung, Navigon, HTC, which are from NoDo, load fine. I really think the difference is in te signatures.

The native error codes are always negative values. So the windows error | 0x80000000. And the an error category is added with | 0x00070000. But the category can sometimes be 0x00030000 or 0x00040000.

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] Cotulla:
Maybe you can try to sign DLL which is working with proper sign? (from Samsung)

Remove signature and resign it.
[Windows Phone 7 Development and Hacking] Heathcliff74:
Got it figured out! :D
[Windows Phone 7 Development and Hacking] Cotulla:
Great :D So I will able to post my examples soon ;)
[Windows Phone 7 Development and Hacking] sensboston:
Great news, сongrats! Will wait for Mango version of your tool.
[Windows Phone 7 Development and Hacking] drac667:
@Cotulla What do you know about COM components like DirectShow codecs, will they work on WP7?

I'm interested in running Xiph.Org directshow codecs.
[Windows Phone 7 Development and Hacking] dstyl:
Maybe could use some wm 6.5 ui ?
[Windows Phone 7 Development and Hacking] Heathcliff74:
I did more testing to get my approach for launching native executables to work. So far, no success :mad:

Read more here.

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] Paul_Hammons:
Are you guys specifying "Native" in the Manifest.xml of the .xap?

<xs:simpleType name="ST_RuntimeType">

<xs:annotation>

<xs:documentation>

Silverlight and XNA apps are managed.

This setting is used to set the runtime type of a Task but we haven't currently made provision for an app to have tasks of different run-time types.

</xs:documentation>

</xs:annotation>

<xs:restriction base="xs:string">

<xs:enumeration value="Native"/>

<xs:enumeration value="Silverlight"/>

<xs:enumeration value="XNA"/>

</xs:restriction>

</xs:simpleType>

It is stored in <!-- App element attributes -->

<xs:attribute name="RuntimeType" use="required" type="ST_RuntimeType"/>

Also, I keep hitting a wall with deploying a custom app to apply registry values in Mango. (no unlocking required) The signing .cert I have is not trusted to a root authority.....

See output:

Applying updates to device

Id: \\?\usb#vid_045e&pid_04ec&mi_00#8&36a17e83&0&0000#{ca3d7387-f67b-11da-bbec-8000600fe800}

SN: 22cb7ea2 - 3ff87859 - XXXXXXX - XXXXXXX

Name: HTC T7575

KITLName: QSD8XXX0000FAE0

Manufacturer: HTC

ModelId: 4

Model: T7575

MobileOperator: SPT-US

Version: 07.10.07720.03-00.00.00000.00-00.00.00000.00

Checking your phone's status: Completed in 0.01 seconds

Checking system requirements: Completed in 0.02 seconds

Downloading updates: Completed in 2.07 seconds

Checking system requirements: Completed in 0.01 seconds

Transferring updates: Completed in 0.05 seconds

Preparing to install: Completed in 7.58 seconds

Error:Update device 22cb7ea2 - 3ff87859 - xxxxxxxx - xxxxxxx Complete with error code: 800B010A, error message: A certificate chain could not be built to a trusted root authority.

You wouldn't have a trusted cert I could do some testing with do you?

If so, I think I can apply anything we want in Mango RTM, .exe's, .dll's, registry settings, etc. without even unlocking it. (Or can unlock it like this too) Not quite the full native unlock you all are working on, but this will allow you to do your work on Mango...

-Paul
[Windows Phone 7 Development and Hacking] Heathcliff74:
No we don't have such a cert. Though it is possible to put your own cert into a file on the phone, if you have an unlocked bootloader and flash a custom rom to the phone. Read http://xdaforums.com/showthread.php?t=1240455. After that you can sign the updates with your own private key.

But when you cook your own ROM, there is no real need for custom updates, because you can cook your modification into your ROM.

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] Cotulla:
I think

already removed from MANGO.

Previous systems have some kind of native installer.

But maybe they exclude old native installer, while it still can be installed via same way as regular XAP...
[Windows Phone 7 Development and Hacking] Paul_Hammons:
I pulled this list of attributes from a mango .dll... and they include the Native setting. Not saying it works, but it was from Mango.
[Windows Phone 7 Development and Hacking] dstyl:
Maybe if sb with a HSPL device could try to add/replace the missing/damaged dll/APIs in a ROM and flash it(take the libs from wm6.5 ). Maybe it takes some positiv effect to the UI or other native funktion , or let wm apps start on wm7.0.
[Windows Phone 7 Development and Hacking] mousedl:
Now, I have achieved call block function by RIL method on HD7 machine, but now the problem is: after RIL holds up calls, the machine call interface also plays out itself, I do not know how to screen calls or postphone call interface.
[Windows Phone 7 Development and Hacking] lamborg:
would it be possible for you to develop a Full Unlock for optimus 7
[Windows Phone 7 Development and Hacking] Gizmo_x:
Great i like this Topic^^.
[Nexus One Q&A, Help & Troubleshooting] Yuhfhrh:
I was just wondering if anyone has a fix to this or anything, or if it's just an amoled problem. When I have the screen brightness turned down, all the blacks on my screen turn an ugly brown color. Is there anyway to make all blacks overall more black? Thanks
[Nexus One Q&A, Help & Troubleshooting] jboxer:
Mine look black. Just a dirty black. You sure you don't have the SLCD version of the device?
[Nexus One Q&A, Help & Troubleshooting] Yuhfhrh:
I just double checked to make sure, and it is in fact amoled. I guess what you're calling "dirty black" is what I'm talking about. Compared to my g2x lcd screen on low brightness, everything on the nexus is brown and the g2x is simply black. Its not that big of a deal but its one of those things that is annoying me lol. Is there anyway to modify this that you know of?
[Nexus One Q&A, Help & Troubleshooting] bassmadrigal:
This doesn't sound right. My understanding of AMOLED is that blacks literally won't even light up (which is why dark backgrounds help save battery power). Each individual LED is individually lit up. If there isn't any color on the screen, it won't light up. My blacks always seem black, no matter what the brightness of the screen is.
[Nexus One Q&A, Help & Troubleshooting] Yuhfhrh:
For example, look at the status bar (gingerbread) while you change the brightness, for me as the brightness goes down, the black starts to have a slight brown color to it. Or is my screen just screwed up? Lol its not like its major, its just annoying compared to g2x
[Nexus One Q&A, Help & Troubleshooting] bassmadrigal:
I don't notice that at all on mine. It stays as black as it was when on full brightness. Does it still happen when all the lights are off in the room?
[Nexus One Q&A, Help & Troubleshooting] Yuhfhrh:
It happens when I'm in pitch black darkness, if there's light it isn't as noticeable but its still there
[Verizon Droid Charge] Loustsoul:
Can I change my mac address on my droid charge? I think I have been caught looking for a new job while at work using the company wifi. I know stupid. But any help would be great. Thank you.
[Verizon Droid Charge] BlackHoleSlam:
Wrong section should be in q n a
[Verizon Droid Charge] Loustsoul:
How do I move it?
[Verizon Droid Charge] BlackHoleSlam:
Pm a mod to move it
[Verizon Droid Charge] scarygood536:
just curious on why you didn't just use 4g\ 3g? Idk if it's possible to change a phones mac, but how can they associate your phone with that MAC address? Did you have to enter your name and password, accept agreements or something similar? If you did chances are it wont make a difference seeing how you already registered that MAC to your name.
[Verizon Droid Charge] madsquabbles:
it is possible, but i'm not sure how. i know the first handful of roms i flashed would change my mac address with each flash - i know this b/c i filter my router access by mac addy.

so it can be done.
[Verizon Droid Charge] ceredics:
Lol some people are reading this and thinking, "damn I'm screwed I been at work watching flicks! "

*DC!*
[Verizon Droid Charge] dhenryrmu:
It doesn't really matter. If your employer is geeky enough to pin you down by MAC address, then they are geeky enough to decode the MAC Address and figure out it's a mobile phone. And if they "caught you" then your phone's MAC address is the least of your problems. Your web activity is much more relevant than a MAC.

You might want to dust off that resume if you're so concerned! :cool:
[Verizon Droid Charge] Loustsoul:
I have read and understand the importance of these rules. My reason for posting here was the fact that the mac Address is no like needing to start your music player or something general it is something that even in this category most people seem to know very little about while I greatly appreciate all the help I believe that this would be the correct place to post a question such as this. I did move it to the other forum after the first person advised me to do so. Once again I would like to let everyone know how much I appreciate all the help and support I get from this forum.
[Windows Phone 7 Q&A, Help & Troubleshooting] vinokirk:
The HTC Titan has made my ears prick up a little. Its a pity it isnt a dual core cpu or a higher resolution.

Does WP7.5 support wifi-tethering?

Can you get custom keyboards, for example Swype?

Are there any (decent) free sat-nav apps out there? Google Navigation on Android is great but you need a data connection. I use Co-Pilot, especially when I go on holiday. Tom Tom was the best IMO on WM6.5.

I'm a big fan of 'free' apps, maybe someone could PM me more information on this topic :)

I'm sure I will have more questions! But I'm definitely interested in the Titan!
[Windows Phone 7 Q&A, Help & Troubleshooting] eldenst:
Does WP7.5 support wifi-tethering?

Mango should do but you have to change something at

HKLM\Comm\InternetSharing

Can you get custom keyboards, for example Swype?

No not realy just an app wich can write and where you can copy the text but yuo cant change the microsoft keyboard

Are there any (decent) free sat-nav apps out there?

No but Navigon is now aviable for Unlocked Devices.

And will be aviable soon with this prices:

NAVIGON for Europe: $119 - NAVIGON for the US: $49.99
[Windows Phone 7 Q&A, Help & Troubleshooting] day2die:
Yes, Windows Phone 7.5 has WiFi Hotspot. Your carrier must enable tethering though.

No

"Turn by Turn Navigation" is $4.99 and is quite decent. If you want offline navigation, you'll have to buy Navigon (no exception).
[Windows Phone 7 Q&A, Help & Troubleshooting] hdfanatic:
WiFi hotspot is available on new unbranded models by default. On branded handsets if carrier enables it. On older upgraded devices no, until HTC updates this function at later stage according to their press release. That info only applies to HTC devices. I'm sure that the titans rom once out can be flashed to hd7 etc.
[Off-topic] Dirk:
​

Q) If it takes 10 men an hour to dig a hole, how long would it take 5 men to dig half a hole?

Easy right? etreats for the first correct answer, (and of course respect and admiration from the dumbasses who got it wrong!) :)

GO!!
[Off-topic] idavid_:
An hour?

¤Violets are red,

Roses are blue,

Wait, what?

I have no idea what I'm saying,

But you lost the game¤
[Off-topic] MacaronyMax:
15 mins.. I hope :D
[Off-topic] husam666:
30 minutes? :confused:
[Off-topic] Dirk:
Try harder! Should be easy for the big brains that are here tonight.

Back in 5 minutes....
[Off-topic] MacaronyMax:
Wait.. Were all wrong! :p
[Off-topic] MacaronyMax:
Damn milad beat me to it, you can not dig half a hole its a trick question.. It is also variable on the men digging it
[Off-topic] husam666:
i guess, i have an idea, we can spam this thread from 1 minute to 2 hours huh, what do you think? :p
[Off-topic] idavid_:
Damn, I knew there was a trick somewhere. You are a smart forever alone guy :p

¤Violets are red,

Roses are blue,

Wait, what?

I have no idea what I'm saying,

But you lost the game¤
[Off-topic] Dirk:
m1l4droid gets the honours there i think! Well done, most people never get the correct answer!

Now that you know you're being tricked the next one should be easier..

Q) Two Americans are standing together outside of the Natural History museum. One is the father of the the other one's son!

How??

Get your heads around that...GO! :D
[Off-topic] Dirk:
Can't get anything by you can i? :eek:

Ok, i'm the one who has to try harder!

Q) A woman gives birth to two baby boys in the same hour, of the same day, of the same month, of the same year.... but they are NOT twins :confused:

Explain that!

GO!
[Off-topic] MacaronyMax:
Different women :-P
[Off-topic] MacaronyMax:
Damn,midwife in uk? :-P
[Off-topic] husam666:
i guess milad knows them all :mad:
[Off-topic] MacaronyMax:
XD but i guessed you meant midwife didnt know your word :-P

@ husam google probably ;-)
[Off-topic] Dirk:
Nice try but same woman. I should have been clearer about that.

Good guess. Why am i surprised? :p

He is good but i will prevail!

Keep guessing...
[Off-topic] AdamOutler:
It would take forever... You cannot dig half a hole. The minute you take out any dirt, it's a whole hole.
[Off-topic] Dirk:
No, not quite so easy although thinking outside of the box is exactly what these puzzles are about. I'll give you all a clue on this one so that you have an idea of the kinda questions i might hit you with.

In this puzzle it's the thing that's missing that leads you to the answer. Kinda trick question by omission! :p
[Off-topic] Dirk:
Well said, but solved already :D Current puzzle is:

Q) A woman gives birth to two baby boys in the same hour, of the same day, of the same month, of the same year.... but they are NOT twins

Explain that!

Edit: Only one person whom i have put this puzzle to has gotten the answer. They took two days to get it :p I'm sure you guys will beat that!
[Off-topic] deliriousDroid:
Not all children born from the same mother at the same time are twins. It could be artificial insemination

Sent from my SilverBullet 'HTCDesireZ running CM7'
[Off-topic] sakai4eva:
Two possible answers:

1. Mary is a sheep.

2. She made sure it was cooked properly.
[Off-topic] :
So I was right! :D Oh yeah!

Sent from my Frosty phone using the xda app