[TUT] Developer Unlock WP Devices (MaxUnsignedApp = 10)

Sunius1

Senior Member
Aug 9, 2013
71
36
0
Yeah, but how to get it for free?
I already have a purchased developer account but all 3 phones have already been registered and I'd need more phones to be registered (like this my new Lumia 928).
After the first 3 phones, you have two options:

1. Just keep registering new phones. You get 10 apps for first 3 phones and 2 apps for the rest;
2. Register the phone, disconnect it from the internet and unregister it at msdn account page. The phone remains unlocked, and your 3 phone limit is not exhausted.

I personally use the option #2, as you don't need internet for development phones anyway (or at least I don't). I have 9 Windows Phones on my table, and it works perfectly fine ;).
 

Sensonic

Senior Member
Dec 11, 2007
243
8
0
Hellsinki
After the first 3 phones, you have two options:

1. Just keep registering new phones. You get 10 apps for first 3 phones and 2 apps for the rest;
2. Register the phone, disconnect it from the internet and unregister it at msdn account page. The phone remains unlocked, and your 3 phone limit is not exhausted.

I personally use the option #2, as you don't need internet for development phones anyway (or at least I don't). I have 9 Windows Phones on my table, and it works perfectly fine ;).
OK, thanks for the advice! :good:
I also have something like 10 phones (both WP7.8 and WP8) :D
 

spc_hicks09

Recognized Contributor
Jan 23, 2011
3,899
1,857
0
Marion, OH
www.facebook.com
Anyone have any suggestions? I clicked the blue button and it looks like it's working, but it's been sitting at this screen for about 10 minutes now without changing.

I've never had my phone developer unlocked before, I just got it about a week ago.
 

compu829

Senior Member
Nov 5, 2006
349
301
0
Just give it a try.
You already did this against all advices.
Cause nobody knows how this tool works and what it does.
Good luck.
Hey Guys, here is the embedded language file for the main app....it might help someone figure out what all the buttons do!

There is a c++ dll called "WP8PhoneRegDll.dll"..I am guessing this is where the magic happens!
it only exposes four functions to the outside world though: GetAuthToken, [email protected], [email protected], [email protected]
 

Attachments

spc_hicks09

Recognized Contributor
Jan 23, 2011
3,899
1,857
0
Marion, OH
www.facebook.com
Just give it a try.
You already did this against all advices.
Cause nobody knows how this tool works and what it does.
Good luck.
So no one should try it? How do you find out what something does, or how it does it, without trying it? Oh it's something new and chinese, must be a virus right? Wow.

And yes I did this because I can't pay $19 for a developer account.

It did work, but now I'm having issues deploying xap's. I keep getting various errors.

One was "Deployment optimization failed with error "Unable to read input file."

Another was "Invalid Assembly."

If anyone has any insight to these issues, it would be greatly appreciated. I installed the Lite SDK instead of the 6gb SDK. I Googled these issues about 10 times each and nothing returned a fix that would work.
 

compu829

Senior Member
Nov 5, 2006
349
301
0
ssooo...in the unlock process, it generates an oAuth key....IT also has this little gem in it:

Code:
 public string RequestToken(string liveId, string password)
        {
            string str;
            string str1 = "12";
            try
            {
                WebClient webClient = new WebClient()
                {
                    Encoding = Encoding.UTF8
                };
                string[] strArrays = new string[] { "http://unlock.xapcn.com/api/file.ashx?id=", liveId, "&password=", password, "&rand=", null };
                int num = (new Random()).Next(0, 999);
                strArrays[5] = num.ToString();
                string str2 = string.Concat(strArrays);
                str1 = webClient.DownloadString(new Uri(str2, UriKind.Absolute));
                str = str1;
            }
            catch
            {
                str = str1;
            }
            return str;
        }
the above code only gets called if the calls to the real Windows server fail!
Code:
 try
            {
                string str1 = string.Concat("t=", passtoken);
                if (string.IsNullOrEmpty(passtoken))
                {
                    authToken = NativeFuntions.GetAuthToken(LiveID, password, false, "marketplace.windowsmobile.com", "https://api.marketplace.windowsmobile.com/passport/login.aspx?ppud=4&wa=wsignin1.0", stringBuilder, stringBuilder.Capacity);
                }
                else if (!"serverUnlock".Equals(passtoken))
                {
                    authToken = NativeFuntions.GetAuthTokenSDK8(false, "https://deviceunlockservice.windowsphone.com/passport/login.aspx?url=%2f&wa=wsignin1.0", str1, stringBuilder, stringBuilder.Capacity);
                }
                else
                {
                    str = (new GetToken()).RequestToken(LiveID, password);
                    if (str != "12")
                    {
                        stringBuilder = new StringBuilder(str);
                    }
                    else
                    {
                        callBack(false, "LiveIDPasswordError");
                        return;
                    }
                }
                goto Label0;
            }
 
Last edited:
So no one should try it? How do you find out what something does, or how it does it, without trying it? Oh it's something new and chinese, must be a virus right? Wow.

And yes I did this because I can't pay $19 for a developer account.

It did work, but now I'm having issues deploying xap's. I keep getting various errors.

One was "Deployment optimization failed with error "Unable to read input file."

Another was "Invalid Assembly."

If anyone has any insight to these issues, it would be greatly appreciated. I installed the Lite SDK instead of the 6gb SDK. I Googled these issues about 10 times each and nothing returned a fix that would work.
He keep your tone.
I just state that no ones know wat it does.
I did not mention any virusses or about chinese folk
these are your words not mine, you make the link between chinese and virussen not me.


So it dit work and now you have issues...how is that even possible?


I have a free account and can install plenty apps without any additional software.
No risk and no issues.
 
Last edited:

ceesheim

Retired Forum Moderator
Jun 11, 2009
3,455
2,287
0
No Android Fanboys Please !!!
Quick question.

If I install the developer preview of 8.1 for my Lumia 521, will it have any negative effects on my phone being dev unlocked?
better use the free unlock by MS it self.
you can even sideload an app (more if you move the apps too SD card.

so I would relock the phone again and then register your live account at MS and do the dev unlock with that one.
then there are not really negative effects ( it off course could happen again that MS makes an error again like the one with bitlocker )
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone