New Windows Mobile Developer Certificates - Upgrading, Modifying and Unlocking

Hi everyone.
As of 12/31/2009 the test certificates that shipped with the Windows Mobile SDK expired. However, we’ve gone ahead and generated new certificates that you can drop in to rectify this problem.
If you’re a developer you can put these certificates right into Visual Studio (or sign via command line). If you’re a tester, you can follow these instructions to create a provisioning file for a device, so that you don’t need Visual Studio to push certificates onto test platforms.
http://windowsteamblog.com/blogs/wm...ew-windows-mobile-developer-certificates.aspx

Thanks a ton buddy. I was designing an app that writes to a privileged portion of registry. Without these certificates, it was impossible. So you saved my day

Related

Can't deploy apps

Hi all
Great forum...
I am trying to deploy an application from Visual Studio 2005 to my Zest phone. I have done this a hundred times in the past but for some reason it is now failing with an error:
The device security configuration disallowed the connection. Ensure that you have the appropriate certificates on your device for development. Review your SDK documentation for proper security settings for connecting to this device.
I have wasted two days now trawling the net trying to find a solution but with no luck.
I have tried to instal the SDKCerts.cab but it simply wont install.
I have tried to edit the registry using mobile registry editor but get access is denied.
I have tried to install enablerapi but that fails to install also.
I have move the .exe manually and tried to run it but it complains that the app is not signed with a trusted certificate.
I am not too clued up on certificates so I really don't know where to go next.
Any help really apprciciated.

Starting custom executables in phone

One way to start custom executabled in windows phone 7 is following method:
1) create a exe file that runs in phone
2) create a zip file and put exe inside
3) upload zip file to some internetpage and create .html page for it with <a href.. link for it.
4) navigate to the page with phone IE.
5) when clicking the link the phone can open the zip file and display its contents (tap to open the file ...zip)
6) when clicking the .exe file the phone asks are you sure you want to run
(The program ...exe is from an unknown publisher. Running it could harm your phone. Do you want to continue?)
7)enjoy your homebrews
will this also work on a phone that isn't developer unlocked ?
if that is right than this is the ultimate way to jailbreak a wp7 phone
Never-mind
Nope, he isn't, and described above method works (I guess because of MS ZipView executable bug). But I can't get my apps running, probably because they are not compatible with CE 7.0 and WP7 .Net (I've tried CE 6.0 native code and .NET code).
sensboston said:
Nope, he isn't, and described above method works (I guess because of MS ZipView executable bug). But I can't get my apps running, probably because they are not compatible with CE 7.0 and WP7 .Net (I've tried CE 6.0 native code and .NET code).
Click to expand...
Click to collapse
is your phone developer unlocked ?
Yes, unlocked.
sensboston said:
Yes, unlocked.
Click to expand...
Click to collapse
**** bummer , do you have a web link to that test file of yours then I can try it my phone is locked
xttp://home.comcast.net/~sergsv/
There are two links to zip archives at the left top corner of the page. I can't run these files but MS zip archiver open these zips and asked to run
yes man this is working on a locked phone
now we need some code that works to test this
lets say an .exe that run the file explorer
yes. right now we don't know whether the apps are opened at all. Are the managed Apps in VS compiled into an exe? Maybe we could extract one from an xap for testing purposes...
Silverlight XAPs use XAMLs and DLLs, no EXEs involved I'm afraid.
Hmm yes you're right. Are there extracted executables from the leaked Mondrian ROM?
There are, but they are not GUI apps, they look mainly like command line executables provided by Qualcomm, and some of them look like they could mess up your phone if you don't know what you're doing.
There are some GUI apps, but they come disassembled. I've been trying to assemble them but haven't had much luck yet.
Neat. I shall put together a sample application to test this. (I have Visual Studio 2010 configured to pump out CE7 native executables.)
I think the executable run is blocked. They left typical MS (say - stupid) dialog box but, I believe, ignore the user input...
However the Word and Excel documents can be opened this way.
I tried a few things -- rebooting the phone, crashing the program with invalid pointers, and launching some known executables. Nothing. I even signed my executable with a valid certificate; It still claims unknown publisher.
Wonder if this is some left over dialog as mentioned by sensboston
WithinRafael said:
I tried a few things -- rebooting the phone, crashing the program with invalid pointers, and launching some known executables. Nothing. I even signed my executable with a valid certificate; It still claims unknown publisher.
Wonder if this is some left over dialog as mentioned by sensboston
Click to expand...
Click to collapse
The dialog will be hidden by the shell. You need to add your cert into the phone, email it, resign your app and try it again.
It's possible it'll work.
this will only work with MSFT signed exe's.
walshieau said:
this will only work with MSFT signed exe's.
Click to expand...
Click to collapse
I tried with both my signed executable (with Root CA cert installed) and a Microsoft executable. Neither show signs of execution.

[Q] newbie help with framework and cab files

Hello xda developers...
First-time poster.
Advanced Beginner/Intermediate programmer attempting first Windows Mobile app.
Got a deal on a t-mobile dash off ebay and am trying to create an application or two for it for personal use.
Problem: Getting a simple program written in c# to run on a t-mobile dash.
Question: How does one create a .cab file?
I've been doing research online and windows website doesn't mention .cab at all. Some discussions i've found said it's impossible. confused.
Back Story:
The Test Application: a text box, listbox and two buttons (one adds entry in text box to list box. the other button clears items from list).
Running Visual Studio 2008 on Vista (business? not the stunted home version).
Programming in C#. For a T-Mobile Dash (HTC Excalibur?)... running windows mobile 6.x.
I coded a simple app just to see if I could get something functioning on my phone. The emulator was windows 5 (which seemed okay. all 3rd-party apps i've used are windows 5. work fine).
App ran fine in emulator; however, when I copied the .exe to phone and ran, it said the framework was too new (which seemed odd going from windows mobile 5 emulation to windows mobile 6 os).
IS root problem from .exe file (where I need .cab?)
Any advice, website links or anything would be gratefully appreciated.
Thanks all!
First of all what version of the .NET CF framework is running on the real device?
Run \WINDOWS\CGACUTIL.EXE
A popup window reports which version(s) are installed.
This is of the form [Major.Minor.Build.0]
Eg [2.0.7045.0] is .NET CF 2.0 and [3.5.9198.0] is .NET CF 3.5
If the version of .NET CF for which you have built the app, is the same as that on the device, the exe should run fine. You do not need a cab, copy the release .exe straight to the device.
Otherwise, there are two options,
1) Install the .NET CF version required on the device.
2) Change the .NET CF in the VS2008 build. This is not always easy as it it is usually selected when you create the project. See attached.
2a) It might be easier creating a new project against the correct .NET CF and the copy the old source files over.
If it lets you change the framework, you will find it in the Application side tab of the Properties of your project, (Project, not Solution). If the "Target Framework:" drop down box is greyed out, see the second image, you are stuck with 2a) above.

[Windows Phone Utility]Rapi Communications

Program to communicate between the PC <-> Device WP7.The application supporting the connection to the device.
It works on the principle of RAPI communications. He pulled out of the Zune Program
Info:
Description of the product: Windows Phone RAPI Communication Service EXE
Product Name: Zune
Product Version: 4.7.109
Usage:
Waiting....
Files in Attachmend
How to Use?Demo?
Is there any way to access phone without Zune drivers or Zune software installed using this application? Clicking on the EXE doesn't do anything.
thesecondsfade said:
Is there any way to access phone without Zune drivers or Zune software installed using this application? Clicking on the EXE doesn't do anything.
Click to expand...
Click to collapse
have any idea what the communication RAPI?
See this: RAPI in MS
Nokser said:
have any idea what the communication RAPI?
See this: RAPI in MS
Click to expand...
Click to collapse
But how does this package fit into that? This looks like perhaps a way to get native debugging working, but I don't see what to do with this.
You haven't provided any information about what it does--the program just quits regardless of zune state or WP-device connected state. What does it do? Through what means is someone to interact with it? I don't know too much about how RAPI worked on Windows Mobile, but there isn't any indication of how to use /this/ in the article you linked.
davux said:
But how does this package fit into that? This looks like perhaps a way to get native debugging working, but I don't see what to do with this.
You haven't provided any information about what it does--the program just quits regardless of zune state or WP-device connected state. What does it do? Through what means is someone to interact with it? I don't know too much about how RAPI worked on Windows Mobile, but there isn't any indication of how to use /this/ in the article you linked.
Click to expand...
Click to collapse
I give to more info... but not now my friend
[This is a reverse engineering effort in progress. Your mileage may vary and information below could be completely inaccurate. Proceed at your own risk.]
It's a Windows service. Copy it somewhere handy, and issue the command (editing the path as necessary). NOTE: The spaces are required.
Sadly, I don't recall retail phones having RAPI bits, so doubt this will be useful. I'll have another look at the filesystem though.
Update: Judging by the way this executable behaves, it's likely meant to replace WMZuneComm.exe.
Update 2: Because of the reliance on Zune libraries (e.g. ZuneSA.dll), this is for 32-bit Zune users.
Update 3: Listens on localhost, port 64694
These are old binaries from old Zune client software. Retail devices don't have RAPI bits (verified via samsung ffus), therefore this is useless. Silly original poster.
WithinRafael said:
[This is a reverse engineering effort in progress. Your mileage may vary and information below could be completely inaccurate. Proceed at your own risk.]
It's a Windows service. Copy it somewhere handy, and issue the command (editing the path as necessary). NOTE: The spaces are required.
Sadly, I don't recall retail phones having RAPI bits, so doubt this will be useful. I'll have another look at the filesystem though.
Update: Judging by the way this executable behaves, it's likely meant to replace WMZuneComm.exe.
Update 2: Because of the reliance on Zune libraries (e.g. ZuneSA.dll), this is for 32-bit Zune users.
Update 3: Listens on localhost, port 64694
These are old binaries from old Zune client software. Retail devices don't have RAPI bits (verified via samsung ffus), therefore this is useless. Silly original poster.
Click to expand...
Click to collapse
You do not have right to end because of ... Each distributed system WP7, has the shell RAPI applications and libraries.
You can't just dust off old Zune files from 2009 and magically connect this to a phone. Get real.

WP7 Update 1 sdk LIVE! - caution

http://www.microsoft.com/downloads/...c5-6597-4313-912a-f0cca9c7d277&displaylang=en
Fair warning to you devs out there.. If you update you can no longer deploy applications to your phone (you need a phone with the update).
so emulator only.
Click to expand...
Click to collapse
EDIT:
Turns out you can deploy with the new SDK! I do have lockups though on every other deploy... a simple unplug and re-deploy fixes.
hahaha, thats kind of a big issue that you need the new firmware on phone to test your app but i guess that means the update has to be soon for the hardware
From how its looking now, microsoft wants to give a 1 month head start for devs to "update proof" or "feature match" with the update...
So right now im positive no update for phones before feb 16th and im willing to bet that there wont be an update till very close to march if not past that (they want CDMA phones on board). <--- probably going to announce this at MWC.
Turns out you can deploy with the new SDK! I do have lockups though on every other deploy... a simple unplug and re-deploy fixes.
looks kinda slim...
How to: Test Copy and Paste in Windows Phone Emulator
What’s in the January 2011 Update
The following are included in the Windows Phone Developer Tools January 2011 Update:
Copy and Paste
Copy and paste is now enabled on Windows® Phone 7 in the following controls:
*
System.Windows.Controls.TextBox
*
System.Windows.Controls.PasswordBox
*
Text input fields within the Microsoft.Phone.Controls.WebBrowser control.
Developers can test the copy and paste functionality in the new Windows Phone Emulator. For more information, see How to: Test Copy and Paste in Windows Phone Emulator. End users can use the copy and paste functionality only after receiving the corresponding update to the Windows Phone 7 operating system.
Most applications already published to the Windows Phone Marketplace do not need to be recompiled to take advantage of copy and paste functionality. Copy and paste will work automatically for end users after they receive the corresponding update to the operating system.
Caution:
In applications that have pivot or panorama controls that contain text boxes, users can unintentionally change panes when trying to copy text. To prevent this problem, open your application, recompile it, and then resubmit it to the Windows Phone Marketplace.
Windows Phone Capability Detection Tool
Detects the phone capabilities used by your application. When you submit your application to Windows Phone Marketplace, Microsoft performs a code analysis to detect the phone capabilities required by your application and then replaces the list of capabilities in the application manifest with the result of this detection process. This tool performs the same detection process and allows you to test your application using the same list of phone capabilities generated during the certification process. For more information, see How to: Use the Capability Detection Tool.
Windows Phone Connect Tool
Allows you to connect your phone to a PC when Zune® software is not running and debug applications that use media APIs. For more information, see How to: Use the Connect Tool.
Updated Bing Maps Silverlight Control
Includes improvements to gesture performance when using Bing™ Maps Silverlight® Control. For more information, see Bing Maps Silverlight Control for Windows Phone.
What’s in the WPDT Fix
After installing the Windows Phone Developer Tools Fix, application developers can deploy XAP files over 64 MB in size to physical phone devices for testing and debugging.
Click to expand...
Click to collapse

Categories

Resources