Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
martani
Old
(Last edited by martani; 31st March 2011 at 11:17 PM.)
#1  
Member - OP
Thanks Meter 16
Posts: 74
Join Date: Nov 2009
Default Samsung devices unlocked forever?

Hi,

So I have deleted the URLs in this registry key to prevent my device from relocking every time I synchronize with zune

Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
    "PortalUrlProd"=""
    "PortalUrlInt"=""
Now I've got the NoDo update, I want to relock it again and use the official program from Microsoft to try to analyse how it works maybe we can come up with something that will enable future devices to be unlocked too. (I have a dev account)

The thing is that, I cannot write back to URLs to "PortalUrlProd" and "PortalUrlInt", the Samsung DLLs doesn't allow writing more than 30 characters string values to the registry, and as far I believe we have no provxml capabilities on Samsung.

This works
Code:
Samsung.RegistryWrite(Samsung.RegistryKey.LocalMachine, @"Software\Microsoft\DeviceReg", "PortalUrlProd", "A 30 CHARS STRINGGGGGGGGGGGGG");
This makes the app crash
Code:
Samsung.RegistryWrite(Samsung.RegistryKey.LocalMachine, @"Software\Microsoft\DeviceReg", "PortalUrlProd", "A MORE THAN 30 CHARS STRINGGGGGGGG");
If you have got any ideas about how to get the URLs back I'll be thankful.
Please notice that once locked, you can never unlock it again, even with an official dev account since the phone won't know where to grab the response from
 
Heathcliff74
Old
#2  
Heathcliff74's Avatar
Recognized Developer
Thanks Meter 1919
Posts: 1,416
Join Date: Dec 2010

 
DONATE TO ME
My registry editor with Root Access for Samsung devices will be ready in a few days. Bear with me.
The Following User Says Thank You to Heathcliff74 For This Useful Post: [ Click to Expand ]
 
Heathcliff74
Old
#3  
Heathcliff74's Avatar
Recognized Developer
Thanks Meter 1919
Posts: 1,416
Join Date: Dec 2010

 
DONATE TO ME
By the way, I think this will work too...

Instead of entering the long https://... url you could type this:

http://unlock:443/

Then edit your C:\Windows\System32\Drivers\Etc\Hosts file and add this:

127.0.0.1 unlock

Notice that I use http instead of https. This way you don't need a certificate. Also ChevronWP7 only has a certificate for the original url. The url I gave doesn't really exist. But the change in the host file will forward the call to the local machine. Port 443 is actually the https port on which ChevronWP7 is listening.

So with these changes you should be able to use ChevronWP7 for locking and unlocking. But you won't be able to use your valid developer license because the phone will still not be able to reach the original servers.

A hard reset will restore the registry-settings, so if you really want to use your legit license you can hard reset of wait a few days for my registry editor.

Ciao,
Heathcliff74
 
martani
Old
#4  
Member - OP
Thanks Meter 16
Posts: 74
Join Date: Nov 2009
Quote:
Originally Posted by Heathcliff74 View Post
By the way, I think this will work too...

Instead of entering the long https://... url you could type this:

http://unlock:443/

Then edit your C:\Windows\System32\Drivers\Etc\Hosts file and add this:

127.0.0.1 unlock

Notice that I use http instead of https. This way you don't need a certificate. Also ChevronWP7 only has a certificate for the original url. The url I gave doesn't really exist. But the change in the host file will forward the call to the local machine. Port 443 is actually the https port on which ChevronWP7 is listening.

So with these changes you should be able to use ChevronWP7 for locking and unlocking. But you won't be able to use your valid developer license because the phone will still not be able to reach the original servers.

A hard reset will restore the registry-settings, so if you really want to use your legit license you can hard reset of wait a few days for my registry editor.

Ciao,
Heathcliff74
I am not sure if ChevronWP7 works with NoDo, I am running the 7390 build now.
 
TOA Duck
Old
#5  
TOA Duck's Avatar
Senior Member
Thanks Meter 114
Posts: 715
Join Date: Oct 2010
Location: Mississippi
Quote:
Originally Posted by Heathcliff74 View Post
My registry editor with Root Access for Samsung devices will be ready in a few days. Bear with me.

You da man Heathcliff.
Woot Woot
 
Heathcliff74
Old
#6  
Heathcliff74's Avatar
Recognized Developer
Thanks Meter 1919
Posts: 1,416
Join Date: Dec 2010

 
DONATE TO ME
There you go
 
gpunkt1977
Old
#7  
Member
Thanks Meter 3
Posts: 61
Join Date: May 2010
There´s right. The Tool from Heathcliff74 is the best for Samsung Devices.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Coloring Your Logcat World

Getting feedback for your app during development is as simple as adding logging info where necessary and looking … more

Guide Your Sheep to Safety with Finger Shepherd

Just a coupe of days ago, we brought you news about a game calledAgent Sheep. In that … more

Nandroid Manager Receives Major Update

Do you find yourself obsessively jumping from ROM to ROM? And do you hate having to restore a full … more

Careers in Android: Recruiter Reveals How Resumes are Chosen – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more