October 22, 2011

GUIDE INTEROP-UNLOCK for MANGO - No revert to NoDo - No 0x81030120 (Samsung/LG)

In Mango there is a new type of lock: INTEROP-LOCK

This means that, even if you have a legit dev-unlock (or ChevronWP7 Labs unlock when they go live), you still can't side-load apps with native code. Many homebrew apps use native code for hacks and tweaks. These apps need the ID_CAP_INTEROPSERVICES capability to run native code. For example WP7 Root Tools needs this capability to run. But when your device is INTEROP-LOCKED it will show error 0x81030120 when you try to deploy it to your device.

Contable and Marvin_S did research on it and found that the registry setting MaxUnsignedApp is responsible for the INTEROP-LOCK. I did more research and I identified the code that is responsible for this check. 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.

So I wanted to allow people with MANGO shipped on their device and using a legit developer unlock, to use WP7 Root Tools and other MANGO-compatible homebrew apps.

I have developed a method to do this. I have a Samsung Omnia 7 and it works on my device. It should also work on Samsung Focus. ATLien68 brought to my attention that it is also possible for LG devices to do an Interop Unlock on Mango. So I created a guide for LG too.


This only works on devices that already have a developer-unlock!

DISCLAIMER

I will not take any responsibility for any damages caused directly or indirectly from using the software-package or the instructions. Read the instructions thoroughly and proceed carefully!

BACKUP

You may want to make a backup of your device in case something goes wrong. This is what I do to make a backup:
1. Download hx4700 Killer's WP7 Backup version 1.6 from this thread. Note that I use version 1.6, not 1.8.
2. Download this archive. It is from xboxmod's WP7 Update Cab Sender thread.
3. Use Zune 4.8 final (4.8.2345.0).
4. Setup-UpdateWP 4.8 beta 3 from the archive.
5. Extract the "Tools" folder from the archive.
6. Setup the Backup tool to reference Zune.exe and the UpdateWP.exe in the extracted Tools-folder.
7. Create your backup. The backup app will allow you to archive any previous backup. Your phone will restart and go in Download-mode. When the backup is finished, the app will tell you to disconnect. Even though your phone says you still can't disconnect, you can safely disconnect the phone and it will restart.

SAMSUNG

1. Download the software package Interop Unlock by Heathcliff74 v2.xap.
2. Connect your phone to your desktop computer, running Zune.
3. Check for updates and let all pending updates install.
4. Uninstall the Samsung Diagnosis app.
5. Dial ##634# to install the latest Samsung Diagnosis app.
6. Use any Windows Phone App Deployment tool to install Interop Unlock by Heathcliff74 v2.xap.
7. Run the Samsung Diagnosis app. You should see version 1027, 1122 or 0103 at the top. The version is the compile-date without year. So version 0103 is actually newer than 1122. Versions from before 2010/10/27 do not seem to work. If you have such an old version of the Diagnosis App you need to run the latest Samsung Update (Mango Drivers) from Zune or update manually as described here. After the update you need to perform step 4 and 5 again.
8. In the Diagnosis app dial: *#9908#
9. Select "Heathcliff74 Interop Unlock"
10. Tap "Save", tap "Close" and exit the Diagnosis app. You are now unlocked, but your 3G settings are screwed (side-effect).
11. To repair your 3G settings use one of these five options:
---- 11.1. Use the Diagnosis app (thanks to Vintage144 for the tip).
-------- 11.1.1. Open up the Diagnosis app.
-------- 11.1.2. Dial this to enable autoconfigure sim setting: *#94765# (or dial 40*047#3, it's the same - more diagnosis codes here)
-------- 11.1.3. It will ask you to restart the device. Confirm that.
---- 11.2. If your device is not locked to a specific operator, you can use the Samsung Network Profile app.
-------- 11.2.1. Uninstall the Samsung Network Profile app.
-------- 11.2.2. Download and install the latest version of the Samsung Network Profile app from the Marketplace.
-------- 11.2.3. Open the Samsung Network Profile app.
-------- 11.2.4. Select a different Network Operator.
-------- 11.2.5. Now Select your own Network Operator again.
-------- 11.2.6. Exit the Network Profile app.
---- 11.3. Use lyriquidperfection's Samsung Tools.
-------- 11.3.1 Download the Samsung Tools here.
-------- 11.3.2. Deploy the tools to your phone (which is now possible due to Interop-Unlock)
-------- 11.3.3. Start "Samsung Tools"
-------- 11.3.4. Select "Run ADC"
-------- 11.3.5. Tap "Reboot"
---- 11.4. Use WP7 Root Tools for manual repair (I will add an option to repair 3G in the next version).
-------- 11.4.1. Download WP7 Root Tools here.
-------- 11.4.2. Deploy WP7 Root Tools to your phone (which is now possible due to Interop-Unlock).
-------- 11.4.3. Open WP7 Root Tools.
-------- 11.4.4. In the registry editor navigate to Local Machine\System\AutoDataconfig.
-------- 11.4.5. Set value ConfigurationStatus to 0 and set value RunADC to 1.
-------- 11.4.6. Restart your phone.
---- 11.5. Use TouchXperience Advanced Config Tool 1.4 (thanks to Ludovic B. for the tip).
-------- 11.5.1. Download Advanced Config Tool here.
-------- 11.5.2. Deploy Advanced Config Tool to your phone (which is now possible due to Interop-Unlock).
-------- 11.5.3. Open Advanced Config Tool.
-------- 11.5.4. Go to "Tweaks" and scroll down.
-------- 11.5.5. Check "Run Auto Data Config".
-------- 11.5.6. Scroll down and tap "Reboot phone".

LG

1. Install the MFG app by dialing: ##634#
2. Open the MFG app. The password is: appmfg#*#
3. Go to Engineer Menu -> Other Settings -> Edit Registry
4. Set your ROOT PATH to "HKEY_LOCAL_MACHINE"
5. Set your input path to "\Comm\Security\LVMod"
6. Set your input key to "DeveloperUnlockState" and set to DWORD.
7. Leave input data box empty and tap "SET".
8. The output should be 0.
9. Now enter "1" in the inputbox and tap "SET".
10. The output should be 1.
11. Set your input path to "\Software\Microsoft\DeviceReg"
12. Set your input key to "PortalUrlProd" and set to DWORD.
13. Clear the input data box and hit "SET".
14. Output result should be "0".
15. Set your input key to "PortalUrlInt" and set to DWORD.
13. Clear the input data box and hit "SET".
14. Output result should be "0".
15. Set your input path to "\Software\Microsoft\DeviceReg\Install"
16. Set your input key to "MaxUnsignedApp" and set to DWORD.
17. Clear the input data box and hit "SET".
18. The output should be 0.
19. Now enter "2147483647" in the inputbox and tap "SET".
20. Output result should be "2147483647".

HTC

There is still no working method for HTC-devices that are shipped with Mango!! Read here and here. Over the past days I have downloaded and analyzed all HTC apps to see if I could find exploits to get through the interop-barrier. But so far I have not found any exploits that I could use for this purpose. So the only way for HTC devices is to start by flashing an old firmware. You have to search XDA to see if any is available for your device. Once you are on an developer-unlocked RTM or NoDo version of WP7, you can follow this guide to upgrade to Mango and retain your developer/interop-unlock. Follow the guide to the letter or else it is possible that you upgraded to Mango and you won't be able to perform the unlock! This will be in the back of my head, so as soon as I think of something I will try it and let you know.

Have fun with homebrew now!
Heathcliff74

Interop Unlock by Heathcliff74 v2.xap



1 komentar:

Anonymous said...

WTB HTC interopUnlocker :)

Post a Comment

Related Posts Plugin for WordPress, Blogger...