[Q] Device relocks when connected to PC - Windows Phone 7 Development and Hacking

Hi guys,
I used ChevronWP7 to unlock my device. But every time I connect device to a PC and sync with Zune device relocks. Is there any way I could prevent that?
I read about device checking periodically if it should be unlocked. I am not sure if Zune caches that. But there must be a way to prevent that. It is very annoying.
Thnaks

Only when we have our own ideals, can

jonusb4 said:
Only when we have our own ideals, can
Click to expand...
Click to collapse
I can see this is your first post.
I was thinking if Zune contacts Microsoft to check that every time when I connect a device, then disconnecting from the network or disallowing access to a certain address I could prevent that. But if that information is cached than I would have to find that somewhere.

Leave ChevronWP7 open after it's unlocked your phone. It'll never lock until you close it. Now to find a way to bind ChevronWP7 code to the Service that detects the WP7.

Maybe the answer is to create a 3rd party Zune Sync tool (i.e. reverse engineer everything that doesnt involve copy protection/DRM) so that you can use that instead of loading the MS tool that does the unlock check.
Such a tool could allow syncing of WP7 from Linux also. (if it was ported that is)

jfwfreo said:
Maybe the answer is to create a 3rd party Zune Sync tool (i.e. reverse engineer everything that doesnt involve copy protection/DRM) so that you can use that instead of loading the MS tool that does the unlock check.
Such a tool could allow syncing of WP7 from Linux also. (if it was ported that is)
Click to expand...
Click to collapse
The device is checking a service OTA, not sure this would matter much. If you leave the chevron app running 24/7 and run a custom DNS server on your network, you could mitigate some of it... a pita? possible...

Related

[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 Unlocking, Sideloading etc. Problems and Solutions

Now, I know no-one actually likes reading threads, and would prefer to just post a new question at the end (I'm guessing partly because the threads are so long, but that's because everyone is doing it) so I'm going to try and give solutions to as many of the issues with ChevronWP7, sideloading and anything else that's not quite working.
Note, none of this is to facilitate any kind of software pirating (we will notice if it gets discussed, and it's in the forum rules - and kinda immoral).
Firstly, Windows Vista (I think SP2) or Windows 7 is required, this won't work on XP without a few hacks/tweaks, and it's not worth me writing the whole process out, plus I don't have an XP machine to hand, so I can't try things.
The most common issues can be fixed with just installing the correct software.
You NEED to have the official WP7 Developer Tools installed, they're a free download from Microsoft, and if you're planning on doing development (which is after all part of the reason for wanting sideloading) you kind of need them.
There's a guide on how to install them (provided by Microsoft) here. You only need the basic toolset from here, but installing the October update won't cause any issues.
This should solve the following exception:
Code:
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SmartDevice.Connectivity, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
as well as a few other issues.
When running any of the tools, if you encounter issues, try either running the tool as an administrator or turn of UAC (for both, do a search if you've no idea what I'm on about), this may solve some issues with access rights etc.
Once you've got that installed, Chevron issues are in post #2, sideloading XAPs in #3.
ChevronWP7 Issues
With Chevron, most things are explained well in the opening post of this thread. Read it.
Chevron works by tricking your phone into thinking it's communicating with Microsoft servers, when it's actually just communicating with Chevron, this means certain web based activities may interfere (Skype for example).
The best way of finding out what's going on, is to use the following guide, it should work, if that fails, then post a question.
sushovande said:
Okay so here is *everything* I did to succeed in re-unlocking my Samsung Focus
1. Have Winphone developer tools installed
2. Connect Phone via USB
3. Wait till zune starts and sync completes
4. Verify that zune is not in a guest relationship
5. open a command prompt, type netstat -a to confirm that port 443 is not being used
6. open an admin command prompt, navigate to c:\windows\system32\drivers\etc\ then type notepad hosts and delete any references to windowsphone developer services
7. go to the settings on the phone and turn airplane mode on (so that the phone is forced to use internet via zune)
8. While the phone is still on the settings page, run Chevron with admin privileges
And it worked!
Click to expand...
Click to collapse
There's no way to know whether a device is unlocked or not until you come to sideloading, which is the point where it matters anyway. Nothing (visible) will change on the device, so don't bother looking for any changes.
WP7 devices occasionally phone home (as far as I know they only do so when connected with Zune) to check whether they should be unlocked or not. If not, they quietly re-lock themselves, and non-marketplace apps will say something along the lines of "This application has been revoked". You'll need to try unlocking again with Chevron and possibly reinstall the apps. There's not much that can be done other than legitimately unlocking your devices.
There's a sideload limit of 10 applications, though there's a version of Chevron that has this limit hacked out of it, I just can't remember where it is. For most legitimate uses, this limit should be fine (and is better than the student/DreamSpark limit of 3).
XAP Installation
A first port of call if Toms XAP Installer doesn't work is to use the official one. It does work.
If you've installed the Developer Tools linked to in the first post, you'll have it already, and should be able to sideload, if your device has been unlocked. If it hasn't you'll have issues, and you should take a look at post #2 in this thread.

WP7 Hacking for Beginners - Chevron, Theming, Ringtones, Registry, MMS/Data

Thought I would write a thread showing how to simply complete an unlock with Chevron WP7 and some common homebrew apps/tweaks for all platforms. The information is scattered and varied, but I will edit this post to be as useful as possible for beginners as a one stop source. Thanks to the following threads for info:
http://forum.xda-developers.com/showthread.php?t=857127
http://forum.xda-developers.com/showthread.php?t=907971
http://forum.xda-developers.com/showthread.php?t=924497
Unlocking with Chevron WP7
The first step to "sideloading" applications to your phone (applications not approved by Microsoft) is to developer unlock your device.
Downloads needed:
Windows Phone 7 Developer Tools (annoyingly large, but necessary)
Chevron WP7 Application, Chevron Security Certificate, Chevron Registry Entry
TCPView for Windows (don't neglect this, it saves a lot of time and is a useful utility!)
Steps for unlocking:
Install Windows Phone 7 Developer tools. This will require a reboot at the end.
Email the "ChevronWP7.cer" file to your Windows Phone 7 device.
Open the email, tap on the attachment to download it. The icon will turn into a shield, tap again to get a new dialog. Press "Install" then OK.
Put your WP7 Phone into airplane mode (Settings>Airplane mode>Slide the toggle to ON)
Double click the ChevronWP7.reg file on your computer. A prompt will open up asking if you want to write this to your registry. Press Yes to continue, then OK at the end.
Open TCPView. (tcpview.exe inside of the downloaded archive) Click on the heading marked "Local Port" until the arrow next to it is pointing up.
Look on the Local Port column for any entries labeled "HTTPS". These programs MUST be closed for Chevron to work properly. Common culprits are Skype, and XAMPP. Use Task Manager (CTRL+ALT+Delete) to ensure they are closed if you run into issues.
Connect your phone to your PC via USB cable. Open the Zune software if it is not already open, and wait for it to finish syncing.
Open your Zune software and go to the Phone page, and make SURE you don't see anything that denotes that you are in a "Guest Sync" relationship with the device. It needs to be the primary computer the phone is synced with.
Unlock your phone and leave it at the home screen. Make sure the phone does not go to sleep after this.
Open ChevronWP7.exe. It should be running as administrator. Check both boxes, and press Unlock.
Cross your fingers, and you should be up and running on a developer unlocked device! (The Unlock button will change to Relock in Chevron if this is successful)
If you receive the error "Phone is locked with a PIN", it means your phone was locked when the fix was being applied. Make sure to unlock your phone (so you can see the live tiles) BEFORE pressing the unlock button.
If the program crashes, navigate to C:\Windows\system32\Drivers\etc and right click the file named hosts and press properties. Uncheck read only and press OK, then try again.
Homebrew Applications
All homebrew applications are installed as follows:
Go to Start>Programs>Windows Phone Developer Tools> and run Application Deployment
Ensure the target is "Windows Phone 7 Device"
Browse to the .XAP that you are loading.
Connect your phone, wait for Zune sync to finish. Ensure it is not guest.
Unlock phone and keep it awake. Press "Deploy" and the application should load (not extremely fast, and will appear in your app list without a reboot when done)
If the above doesn't work, then try resetting your phone and retrying. Also, restart your computer if the problem persists.
Registry Editor
DO NOT MESS WITH THE REGISTRY UNLESS YOU KNOW WHAT YOU ARE DOING!!!
Registry Editor for all devices (also has a download for TouchXplorer - a file manager for HTC phones only): http://forum.touchxperience.com/viewtopic.php?f=20&t=593 thanks to TouchXperience user schaps for this download.
Great thread on what registry tweaks are currently known: http://forum.xda-developers.com/showthread.php?t=907971
Ringtone Installer
Instructions and XAP downloads at the following link: http://www.chevronwp7.com/post/2054291102/chevronwp7-custom-ringtone-manager
Thanks to the Chevron WP7 team for this app.
Theme Color Changer
Instructions and XAP downloads at the following link:
http://www.daveamenta.com/2011-01/change-accent-colors-on-windows-phone-7-samsung-devices/
Thanks to Dave Amenta for this great app!
Prevent Phone from Relocking
The phone is unlocked, but will relock every time it syncs to Zune unless one of these hacks are done.
Samsung Devices (also removes sideload limit, fixes MMS/data on unlocked phones!):http://forum.xda-developers.com/attachment.php?attachmentid=498084&d=1295825731 from this great thread by lyriquidperfection
All other devices:
In an installed registry editor, navigate to the following key and change these values.
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
"PortalUrlProd"=""
"PortalUrlInt"=""
Let me know if anything should be added or if you need any help!
I just wanted to thank you again for making this. The only thing that I think would be useful would be to add links to extremely useful Registry hacks, like the power management ones for the Focus.
I try everthing but still can't unlock it again....
please make sure it is connected using usb
please start zune application
Try to reset your phone.
paullu said:
I try everthing but still can't unlock it again....
please make sure it is connected using usb
please start zune application
Click to expand...
Click to collapse
Did you already turn off your firewall during the procedure? Was a problem of mine and of a friend.
Sebo1985 said:
Did you already turn off your firewall during the procedure? Was a problem of mine and of a friend.
Click to expand...
Click to collapse
firewall off.still got the error msg
paullu said:
I try everthing but still can't unlock it again....
please make sure it is connected using usb
please start zune application
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=918710
or
http://forum.xda-developers.com/showpost.php?p=10463609&postcount=1
Sebo1985 said:
Did you already turn off your firewall during the procedure? Was a problem of mine and of a friend.
Click to expand...
Click to collapse
yes I did turn off firewall alreday.still no luck.
I unlock once and when i connect the pc again it lock again
How about MMS and Data for other non-samsung phones?
paullu said:
yes I did turn off firewall alreday.still no luck.
I unlock once and when i connect the pc again it lock again
Click to expand...
Click to collapse
did you see my post?
duhhh said:
did you see my post?
Click to expand...
Click to collapse
yes,thanks I am trying now
works for me,hope to works for you 2
HTC and LG offer utilities in their section of the marketplace for MMS/data, so just grab one of those! Samsung's utility is faulty by design to keep people from unlocking, thus the hack.
What does this mean? Is ig that samsung phones have trouble unlocking because I bought my wife a focus and I had the same error message. But I haven't tried the way posted here. So I will be trying this way and replying. Thanks!
pls help me with this: I have HTC Surround and can not sync with zune, it doesn´t start when connect the phone and if start manually it doesn´t connect and sync neither
thank you for this one. it works exactly it was described on the first page. samsung omnia 7 portugal bought phone. but using it in Turkey.
Win Phone 7 MMS settings XML
So I dont know if this helps, or if anyone a little more knowledgable than I can attack this with me but I have the XML and registry settings for MMS from my LG quantum. I have a focus and LG Quantum. My LG has the XML viewer and reg editor built right in, which I friggen love.
So I took pix of the whole xml file that should be enough info to change the profile to the right settings, with the reg keys.
At first glance here it looks like just changing a couple string values... of the key at HKCU\Software\Microsoft\ShortMsg\MMS in the ADDR string value to your MMS server would be a start. I will look further into it after work tonight. If anyone beats me to it... so be it. Just thought I would toss this out there just in case it helps.
wm.andrew.wilson said:
Thought I would write a thread showing how to simply complete an unlock with Chevron WP7 and some common homebrew apps/tweaks for all platforms. The information is scattered and varied, but I will edit this post to be as useful as possible for beginners as a one stop source. Thanks to the following threads for info:
http://forum.xda-developers.com/showthread.php?t=857127
http://forum.xda-developers.com/showthread.php?t=907971
http://forum.xda-developers.com/showthread.php?t=924497
Unlocking with Chevron WP7
The first step to "sideloading" applications to your phone (applications not approved by Microsoft) is to developer unlock your device.
Downloads needed:
Windows Phone 7 Developer Tools (annoyingly large, but necessary)
Chevron WP7 Application, Chevron Security Certificate, Chevron Registry Entry
TCPView for Windows (don't neglect this, it saves a lot of time and is a useful utility!)
Steps for unlocking:
Install Windows Phone 7 Developer tools. This will require a reboot at the end.
Email the "ChevronWP7.cer" file to your Windows Phone 7 device.
Open the email, tap on the attachment to download it. The icon will turn into a shield, tap again to get a new dialog. Press "Install" then OK.
Put your WP7 Phone into airplane mode (Settings>Airplane mode>Slide the toggle to ON)
Double click the ChevronWP7.reg file on your computer. A prompt will open up asking if you want to write this to your registry. Press Yes to continue, then OK at the end.
Open TCPView. (tcpview.exe inside of the downloaded archive) Click on the heading marked "Local Port" until the arrow next to it is pointing up.
Look on the Local Port column for any entries labeled "HTTPS". These programs MUST be closed for Chevron to work properly. Common culprits are Skype, and XAMPP. Use Task Manager (CTRL+ALT+Delete) to ensure they are closed if you run into issues.
Connect your phone to your PC via USB cable. Open the Zune software if it is not already open, and wait for it to finish syncing.
Open your Zune software and go to the Phone page, and make SURE you don't see anything that denotes that you are in a "Guest Sync" relationship with the device. It needs to be the primary computer the phone is synced with.
Unlock your phone and leave it at the home screen. Make sure the phone does not go to sleep after this.
Open ChevronWP7.exe. It should be running as administrator. Check both boxes, and press Unlock.
Cross your fingers, and you should be up and running on a developer unlocked device! (The Unlock button will change to Relock in Chevron if this is successful)
Homebrew Applications
All homebrew applications are installed as follows:
Go to Start>Programs>Windows Phone Developer Tools> and run Application Deployment
Ensure the target is "Windows Phone 7 Device"
Browse to the .XAP that you are loading.
Connect your phone, wait for Zune sync to finish. Ensure it is not guest.
Unlock phone and keep it awake. Press "Deploy" and the application should load (not extremely fast, and will appear in your app list without a reboot when done)
If the above doesn't work, then try resetting your phone and retrying. Also, restart your computer if the problem persists.
Registry Editor
DO NOT MESS WITH THE REGISTRY UNLESS YOU KNOW WHAT YOU ARE DOING!!!
Registry Editor for all devices (also has a download for TouchXplorer - a file manager for HTC phones only): http://forum.touchxperience.com/viewtopic.php?f=20&t=593 thanks to TouchXperience user schaps for this download.
Great thread on what registry tweaks are currently known: http://forum.xda-developers.com/showthread.php?t=907971
Ringtone Installer
Instructions and XAP downloads at the following link: http://www.chevronwp7.com/post/2054291102/chevronwp7-custom-ringtone-manager
Thanks to the Chevron WP7 team for this app.
Theme Color Changer
Instructions and XAP downloads at the following link:
http://www.daveamenta.com/2011-01/change-accent-colors-on-windows-phone-7-samsung-devices/
Thanks to Dave Amenta for this great app!
Prevent Phone from Relocking
The phone is unlocked, but will relock every time it syncs to Zune unless one of these hacks are done.
Samsung Devices (also removes sideload limit, fixes MMS/data on unlocked phones!):http://forum.xda-developers.com/attachment.php?attachmentid=498084&d=1295825731 from this great thread by lyriquidperfection
All other devices:
In an installed registry editor, navigate to the following key and change these values.
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
"PortalUrlProd"=""
"PortalUrlInt"=""
Let me know if anything should be added or if you need any help!
Click to expand...
Click to collapse
Hi every memeber's and Thx for wm.andrew.wilson ; )
-I reply for your message because i still do every steps but nothing happened !!!!!
Because i relocked my WP7 .
After along nights unlocked was success ))
wm.andrew.wilson=>
- I think you miss this before doing evry thinks you must disable Lan card or Ethenet connection ...
- Then follow wm.andrew.wilson steps
- Don't worry your WP7 will not unlocked why ???
- For unlocked it you must close chevron wp7 notification
- Then enable internet connection (wlan or ethernet...)
- Reclick on chevronWP7.....and miracle
Your WP7 is UNLOCKED ENJOY .
THks for :>>>>>>>>>>> wm.andrew.wilson
Hi, I'm new here.
So I followed each step thoroughly, and when I execute 'ChevronWP7' and check off each box and click 'unlock', the program says it has stopped working.
What could be the issue?
Also:
I have the phone on the main menu
I do have all necessary programs running
Samsung re-lock prevention hack doesn't work for me
After deploying the xap it seems to take, but, my Focus is always relocked after syncing. Not a huge deal to unlock before deploying, but, thought it was worth a mention...
Edit: Nevermind. Didn't realize they're was an app on the phone to run as well... Should have read the original thread first. Sorry...

Locking... Was it all Zune?

Locking... Was it all Zune?
I was wondering, since Chevron was able to work only with Zune, and if you wish to install
a new update on your device, you must update the Zune first.
Is there a possibility that Zune is the one that makes all the problems?
Maybe they altered the ports that Zune uses to comunicate with WP7 device,
and since the chevron used HTTPS, they're not compatible any more,
and therefore, they can not comunicate.
I know it sounds like conspiracy theory, but i was checking protocols and have found some inconsistencies...
Maybe im wrong...
Your opinions?
NoDo doesn't require an extra Zune update, so no.
Arktronic said:
NoDo doesn't require an extra Zune update, so no.
Click to expand...
Click to collapse
Unfortunately, pre-Nodo aksed for Zune to update...
At least it asked me to update it...
That's where my doubts come from
for me, when i couldn't get wp7 unlocked i noticed that either zune or windows was changing the host file just as chevron tried to connect... no matter what i did ie changed values , edit user rights, even tried system with read only rights ,... something kept changing the host file to "my ip.windowsdevelopers.com" now i use a win7 instalation in a virtual drive with no zune or windows updates at all. seems to work for me..
Interesting solution...
I have tried installing Zune on another computer and tried to run Chevron,
but no luck... All I'm getting is error, that Chev. can't make connection with device.
Current state of OS: Build 7008 (That's pre-Nodo right?)
Cheers!
yep 7008 is pre nodo... i unlocked with chevron with that os. used vmware workstation. clean install of win7 (no updates except windows phone 7 usb drivers) then zune. unlocked first time.
you may have to re set your phone?
Well i did hard reset my phone for a couple of times, but had no luck...
I shall wait now... I will probably try some more on other computers, but
if I don't succeed, I will play by MS rules and do the NoDo.
After that, the waiting for a jailbrake shall be waited upon
P.S. A question, bit off topic.
Is there any way to insert custom ringtone to a non-Cheved device?
I can't access My Ringtones folder via Windows Explorer, even though
i changed registry on my computer to be able to access the phone as
a regular usb device...
Tnx up front, for any info provided
not really.... even if you did put them in your music folder zune on your phone doesn't seem to read the id3 tags and calls them unknown without names.
try..... fresh install win7 then connect phone aand get drivers... then zune... then chevron,
Yep, that's the problem with ringtones, or music at all...
I will try that with Win7, because i curently have no other options
Anyway, many thanks for your help!

[Q] Limitations of INTEROP-UNLOCK

I have used the INTEROP-UNLOCK and sorted the GRPS connection....
My question is what are the limitations of this unlock?
I have not been able to get MMS working even after reloading the network profile, I have a locked phone to 3UK network.
I believe that when a phone is carrier unlocked MMS does not function, isn't is the INTEROP-UNLOCK similar?
I cant use the official Samsung Network profile app in the market place as I am locked to 3UK, but if I carrier unlock the phone, will I be able to use this official app to reconfigure (as a new phone) the 3G settings and the MMS settings to work as a stock phone.
Also, for carrier unlocked phones, via a 3rd party when we get an unofficial update from Microsoft, does it re configure the settings to work with the official Samsung network app.
I have posted a couple of times to find info on one of the above items, and have been told to to look at the forums, I have spent a lot of time reviewing them and I dont think the above points have been answered concisely....
Your help would be greatly appreciated.
http://www.wpxap.com/thread-171460-1-1.html
here you can see
Even when the page was translated from simplified Chinese, the link didn't explain any of the questions raised above...
Search for Samsung Tools in this forum. Install it and run it. Checkmark the prevent device from relocking, unlock, and run adc checkmarks. Press ok, after it reboots it will fix your mms issue
Sent from my SGH-i917 using XDA Windows Phone 7 App
W99DEY said:
I have used the INTEROP-UNLOCK and sorted the GRPS connection....
My question is what are the limitations of this unlock?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1265321
A Quote from it... Dont forget to hit thanks !
Heathcliff74 said:
On WP7 there are already a lot of different unlocks:
Developer-uplock/ChevronWP7 unlock: This will allow you to side-load apps from your desktop to your phone. A legit developer-unlock costs $99 per year (this will also allow you to deploy your apps in the Marketplace). ChevronWP7 made an unlock tool, which allows you to dev-unlock your phone for free. This method only works on WP7 version 7.0.7004.0 and 7.0.7008.0. It does not work anymore since version 7.0.7355.0 (pre NoDo). But it is possible to unlock your phone on version 7.0.7008.0 and then use some tricks to upgrade your phone and keep the unlock. You can even upgrade to Mango RTM and still have the unlock. Look in this thead to get full instructions. Also the ChevronWP7 team will release an unlock-method that will only cost a few bucks and will apply an official dev-unlock on any version of WP7, but it won't allow you to release apps to the Marketplace.
Interop-unlock: On RTM and NoDo versions of WP7 it was possible to run apps with native code. These apps would use a COM-Interop-Bridge to transit between managed and native code. These apps need to be tagged with the Interop-capability called "ID_CAP_INTEROPSERVICES". These apps don't seem to run on Mango. Not even when you have a legit Developer Unlock. There are two reasons for that. The first reason is that most native libraries need some modifications to run on Mango. I found out how to do this and modified WP7 Root Tools so that it is compatible with Mango. The other reason is a deployment-restriction. That is the Interop-Lock that needs to be Unlocked. If you have a normal Dev-unlock on Mango and you try to deploy an app with that uses COM interop, the deployment will fail with error 0x81030120. contable and Marvin_S found out that the MaxUnsignedApp registry-value is responsible for the Interop-Lock. I did more research and I identified the code that checks this value. In fact, if you have the MaxUnsignedApp value set to 300 or higher, your interop will be unlocked. The value of MaxUnsignedApp is determined by the type of developer-unlock you have. A normal AppHub account will have it set to 10 and a student account will have it set to 3. So a value of 300 or higher is not a realistic value for a normal developer account. It is probably only set to this value for Microsoft employees and OEM developers. Until now, the only way to do an INTEROP-UNLOCK for MANGO meant that you have to downgrade to NoDo first, then prepare your device by loading provxml files to your device, upgrade to MANGO and then use OEM tools to execute the provxml files and do the necessary unlocks. But that is a lot of work and for some devices not even possible, because there are simply no ROM's available. But I have found an exploit that works on Samsung and HTC devices, which allows you to UNLOCK INTEROP your MANGO device. For it to work, it must already be developer-unlocked! Read this guide for instructions.
FullUnlock: This a type of unlock which allows you to run Native Executables. Normally you can only compile Silverlight apps, which will be run in a sandbox. The app is compiled as a DLL, which will be run in TaskHost.exe. I you would like to compile Test.exe, you won't be able to run it, because there is a policy-system and certificate-system that prevent you from running it. Cotulla already cooked a ROM with FullUnlock, but unfortunately this is not yet working as expected. I also did research on this together with fiinix. Thanks go out to him for working with me on that matter. We did not get it working back then, but I think I now have enough exploits to get this working. I will do some more testing on this later on. WP7 Root Tools does not need FullUnlock to be able to run.
Full Root Access: As stated previously, Silverlight apps and system executables have their own sandbox, which is defined by a Least Privilege based policy system. Even when you break into native code, you are still running in your sandbox. For example, you can try to copy a file in managed code. You will only have access in Isolated Store. If you use COM interop to call native code and you try to use the FileCopy() API, you can still only copy files in your Isolated Store. To break out of the sandbox, there are a couple of possible exploits. But they are still limited in their possibilities. To get unrestricted access to the API's and Resources on your device you will need to completely bypass the policies that the system has defined for your app. YukiXDA and I have in close contact with eachother for a period of time and we learned a lot from eachother. I found some of the exploits, thanks to him! YukiXDA unfortunately has left the community. A very big thanks to YukiXDA for working with me on this matter. Before he left he cooked a ROM for HTC HD2 which has Full Root Access cooked into it. The way he did it was to effectively shut down the policy-sytem. Although this opens up a lot of possibilities for homebrew, this is also kind of risky, because the system is also open to malware. And this technique only works on devices which have an unlocked bootloader (currently HTC HD2 and most HTC WP7 devices have unlocked bootloaders). I developed another type of Full Root Access. I can enable Full Root Access for the entire device (differt than what YukiXDA did, but effectively the same). But I can also enable/disable this per app. So the user can decide which app is trusted enough to get Full Root Access. Other apps will still run in their predefined sandbox. I am currently developing a new version of WP7 Root Tools which will support Full Root Access. To do this I will apply Full Root Access for WP7 Root Tools first. A user can use WP7 Root Tools to enable Full Root Access for another app. So if a developer wants to create an app that needs Full Root Access (for example some type of backup-app), the user of the app must use a ROM which has Full Root Access cooked into it, or the user must run WP7 Root Tools to allow Full Root Access for the app. There are two disadvantages. WP7 Root Tools must first install Full Root Access for itself. Obviously WP7 Root Tools does not have Full Root Access at that moment yet. So there are other exploits necessary to apply this. Currently I have exploits for this, but they use some device-specific features. I have exploits for Samsung, HTC and LG. Other brands, or possibly a device-independent exploit, may follow later. This means that WP7 Root Tools only works on these devices, and with that also the apps that need Full Root Access will only work on these devices. The other disadvantage is that, with the current state of Interop-unlocking, all users of WP7 Root Tools, and with that also all users of the apps that need Full Root Access, will need to be on dev-unlocked-NoDo first, in order to apply an Interop-Unlock for Mango. Because WP7 Root Tools and all apps that use Full Root Access need Interop Unlock. When I have the version of WP7 Root Tools with Full Root Access finished I will release an SDK, which will make access to the system a lot easier. The SDK will consist of a native library and a managed wrapper library. Developers will be able to access the Registry and Filesystem using only managed code and the libraries from the SDK. The app will of course need to be unlocked, using WP7 Root Tools on the device. But using the SDK is mandatory. You can also write your own native code. I will write a guide on how to do that later on. An app that has Full Root Access (provided by ROM or by WP7 Root Tools does not need any device-specific libraries. All API's can be used. For API's that are not in the SDK libraries you need to write your own COM wrapper.
Click to expand...
Click to collapse
Hi W99DEY
I had the same problem as you - I am on the three uk network, with a samsung omnia 7, updated to mango, interop unlocked, reset mms/internet settings and the mms does not work.
I spent a while trying to figure this out, but I found a solution as to how to get mms working after interop unlock.
Here's how you do it:
1. Revert to your last back up of your phone - this needs to be pre interop unlock and your mms should be working at this point. Do this by connecting to zune, going to update and clicking backup.
2. Install mango updates.
3. Once zune says you can unplug your phone after the updates, unplug it and use heathcliffs method of interop unlock: http://forum.xda-developers.com/showthread.php?t=1271963
But stop at stage 10 - don't try and repair your mms yet.
4. Deploy any other provxml you may want. May I suggest this one, to enable tethering:
http://forum.xda-developers.com/showthread.php?t=1238519
Don't try to repair the mms yet.
5. ***This is the important bit*** Currently your mms won't work, and there is only one method which will get it to work:
Run the Diagnosis app and dial this to enable auto configure sim setting: *#94765#
It will ask you to restart the device. Confirm that.
Other methods like - setting apn, using samsung tools, etc. do not work so don't try them.
6. Plug your phone back into zune, it should want to update again (mine did) Saying it needed to install Samsung updates. Install them.
7. You're done and your mms should now work - make sure you're not connected to the wifi when trying to send a mms as it may not work.
------
***Important*** After you've applied the fix and got the mms to work do not run any more provxml files as that will screw your settings again, and this method only works once for some reason.
Also don't run any other methods of fixing mms settings like using samsung tools etc. as this will not work, and if you try these before using the diagnosis method, then the diagnosis method will not work. And the diagnosis method will only work once.
If anyone has any ideas as to how to make this fix work more than once for 3uk samsung omnia 7's please let me know.
If this was helpful please say thanks
Cheers Parsl for the response.... More or less did what you did, think I tried Samsung Tools 1st.... ;-)
Yeah, I used Samsung tools and that didn't work. I found the only thing that worked was the diagnosis method. But only once - as the first time round I then applied the tethering provxml and then the diagnosis method didn't work a second time, so rebooted and then did it all in the order I mentioned.
Have you got your mms working now?
Sent from my OMNIA7 using XDA Windows Phone 7 App

Categories

Resources