Hi Guys,
I tought a simple and universal method to avoid WP7 relocking problem: edit the Windows\System32\drivers\etc\hosts file on your pc after unlocking your device with CrevronWP7. Let me explain.
Technical explaination, you can skip to the next paragraph if you're not interested in
I used open source Network analyzer Wireshark on my pc to discover which domains Zune connect once a WP7 is connected via usb (while WiFi is off on the device).
They where:
developerservices.windowsphone-int.com
developerservices.windowsphone.com
catalog.zune.net (-> media info, covers, apps info etc...?)
socialapi.zune.net (-> Zune social access)
commerce.zune.net (-> Zune market access)
download.windowsupdate.com (-> updates check)
download.microsoft.com (-> updates check)
update.microsoft.com (-> updates check)
login.live.com (-> Live.com access)
Of course the first 2 domains are the ones responsible of the relock, they are also listed in each phone registry. Editing the Windows\System32\drivers\etc\hosts file on your pc make your pc unable to connect to the real M$ servers, pointing it to your ip on the local loopback net (127.0.0.1) instead.
How to edit the file mentioned
Unlock your phone with Chevron before doing anything, then disconnect it from your pc. If it's already unlocked you can go on to the next step.
With text editors like Notepad or Notepad++ (absolutely NOT Wordpad or Word) open the
C:\Windows\System32\drivers\etcfile on your pc. Eventually, modify "C" letter with the matching one of the partition where Windows system is. Check modify and write permissions for your user from file properties before, of course, otherwise you will not be able to save.
Add the following lines at the end of the file:
127.0.0.1 developerservices.windowsphone.com
127.0.0.1 developerservices.windowsphone-int.comthen save it and close the editor. Modify user permissions for the hosts file disabling write and modify capability, then reboot your pc.
Turn Off WiFi on your WP7 device before connect it to Zune, then Sync via usb. It should not relock anymore.
It's working fine on my LG Optimus 7 and HTC HD7 since I bought them, about a month ago (It's true that I am a registered student developer since January 7, but I never registered any phone of mine to AppHub). A friend of mine also tried this method and worked. A blog author I know is instead having troubles with his Omnia 7, his phone is still relocking.
I need some feedback from you, xda members. Try this method and report your impressions in this topic!
Link to the Italian version: http://www.sevenphone.it/2011/01/18/come-impedire-relock-wp7-zune/
Does not work for my Samsung Focus. I did everything listed but it still relocks every time I connect to the Zune software.
clfosk said:
Does not work for my Samsung Focus. I did everything listed but it still relocks every time I connect to the Zune software.
Click to expand...
Click to collapse
Mmm I suppose it's a samsung devices problem...
Could you please download and install Wireshark? I need some network dumps!
If you or someone else is interested in testing, I'll post detailed instructions...
Morpheus90 said:
Mmm I suppose it's a samsung devices problem...
Could you please download and install Wireshark? I need some network dumps!
If you or someone else is interested in testing, I'll post detailed instructions...
Click to expand...
Click to collapse
Just installed Wireshark. What do I do now?
Morpheus90 said:
Hi Guys,
I tought a simple and universal method to avoid WP7 relocking problem: edit the Windows\System32\drivers\etc\hosts file on your pc after unlocking your device with CrevronWP7. Let me explain.
Technical explaination, you can skip it to the next paragraph if you're not interested in
Click to expand...
Click to collapse
This didn't work on my Samsung Focus. The best way to prevent it was to put it in Airplane mode before connecting to computer, then disabling airplane mode when I disconnect from computer.
clfosk said:
Just installed Wireshark. What do I do now?
Click to expand...
Click to collapse
Well, once Wireshark opens you have to select the Network card you use to connect to the internet with your pc.
Under the "Capture" and "Interface list" titles (on the left) you can find a list, be sure to click on the right one.
(Remember to close the browser or other apps accessing the internet while you are dumping packages on the network.)
Open Zune, the connect the phone. Wait until the phone relocks, then stop live capture in WireShark.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
To save the dump, click on
File -> Saveand choose a name and a position on your Hard Disk (saving as .pcap is fine).
Upload it somewhere (on this forum is fine, too) and post the link in this thread
Any volunteer could do the same!
For security reasons, please don't use your browser or any other program to log in with your Username and password anywhere on the net while dumping!
AWESOME!! this problem was driving me nuts!! thanks to u it worked!!
I also have a samsung focus and this did not work for me either...what would it matter what device we are using if they all connect to that domain using zune? After editing the host file and then going back and unlocking device then going back in to the host file wpd shows back up:
127.0.0.1 developerservices.windowsphone.com
127.0.0.1 developerservices.windowsphone-int.com
192.168.1.64 developerservices.windowsphone.com
and in the firewall it says that zune is not enabled but says to allow?
mido_zidane808 said:
AWESOME!! this problem was driving me nuts!! thanks to u it worked!!
Click to expand...
Click to collapse
may you please tell us what WP7 device do you have? I own an LG Optimus 7 and it worked for me too.
jasontac said:
I also have a samsung focus and this did not work for me either...what would it matter what device we are using if they all connect to that domain using zune? After editing the host file and then going back and unlocking device then going back in to the host file wpd shows back up:
127.0.0.1 developerservices.windowsphone.com
127.0.0.1 developerservices.windowsphone-int.com
192.168.1.64 developerservices.windowsphone.com
and in the firewall it says that zune is not enabled but says to allow?
Click to expand...
Click to collapse
Well, I tought this method would be device-indipendent, too, but Samsung users are still having issues while on LG, HTC and (probably) Dell is working fine. Maybe they use another subdomain on Microsoft's servers? I dunno.
BTW, you have to unlock the device BEFORE following this tutorial, otherwise ChevronWP7 changes that file adding an unwanted line at the end.
Here on HTC HD2 your fix is not working. Just tested and my apps are locked again.
HD2 WP7 no workie. As a matter of fact with the host file edited, Chevron crashes when you hit unlock. I changed the file back to point to my PCs IP and all is well.
Morpheus90 said:
Well, I tought this method would be device-indipendent, too, but Samsung users are still having issues while on LG, HTC and (probably) Dell is working fine. Maybe they use another subdomain on Microsoft's servers? I dunno.
BTW, you have to unlock the device BEFORE following this tutorial, otherwise ChevronWP7 changes that file adding an unwanted line at the end.
Click to expand...
Click to collapse
yes i did have mine unlocked...but i found a simpler way to keep from unlocking with registry editor
for me,for the moment it works.. i unlocked my HD7 (with hard reset before cause was impossible to re-unlock) and after your tweak my phone is always unlocked
Speriamo che dura e che continua cosi,mi vedo male resetare tutto ogni volta
Interesting, but I have a different method from my thread over in the HD2 forum:
DanielNTX said:
I wrote this inside of another thread, but decided to make a new thread because others may not find it or read it. For those who have tried everything, this is the reason why you can't unlock the phone unless you do a full reset:
The majority of the failures to unlock your phone again is because you used a registry script that changed the HD2 to identify it as an HD7 and may have included registry entries that set PortalUrlProd and PortalUrlInt to 127.0.0.1 or a Null value and somehow your phone became relocked. Once it's set this way, no matter what you do to unlock the phone it won't work because the proper server to query is "developerservices.windowsphone.com" is not defined on the phone. ChevronWP7 works by hijacking and spoofing the address of developerservices.windowsphone.com to be your local computer and then responds appropriately over port HTTPS (443) to the phone.
From this post, Microsoft/ChevronWP7 responds with this:
Code:
<DaysLeft>365</DaysLeft>
<AppsAllowed>10</a:AppsAllowed>
If you set it to 127.0.0.1 in the registry this references your phone when it tries to unlock. The phone itself is not running a spoofed HTTPS server so it will never work. Setting it to null means it doesn't no where to go either. If your phone is working in Zune and you hit the end button on the phone, you will notice ChevronWP7 will report that the phone is pin-locked, this means ChevronWP7 knows about the phone, but the "uh oh - Please make sure it's connected using USB, Please start the Zune application" message it generates is kind of ambiguous and is not the actual error we are seeing here.
The original values are these:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
"PortalUrlProd"="https://developerservices.windowsphone.com/Services/WindowsPhoneRegistration.svc/01/2010"
PortalUrlInt"="https://developerservices.windowsphone-int.com/Services/WindowsPhoneRegistration.svc/01/2010"
and the corresponding certificate is this:
That's how the phone can trust the HTTPS connection because you imported the certificate.
Now if you change the URL to something else, you will need a corresponding certificate. You can make one with makecert.exe or makessl.exe form the various resource/development toolkits out there on the Microsoft website.
In my example, I'm going to use a site that doesn't exist "developerservices.unlock.me". You should change the PortalUrlProd and PortalUrlInt on the phone as follows:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
"PortalUrlProd"="https://developerservices.unlock.me/Services/WindowsPhoneRegistration.svc/01/2010"
"PortalUrlInt"="https:/developerservices.unlock.me/Services/WindowsPhoneRegistration.svc/01/2010"
Now in your hosts. file in \windows\system32\drivers\etc folder, you should set up an entry for developerservices.unlock.me with your computer's own IP address.
Once you do you need to install a new certificate on the phone for whatever host in the URL you made and you will be able to use ChevronWP7 to unlock incase it ever locks you out again.
To simplify the making a self-signed certificate portion, I've created a cert for "developerservices.unlock.me" with the validity date of 1000 days. It's included in this post. Hope this helps you all with maintaining an unlocked Windows Phone 7 and understanding why ChevronWP7 won't unlock anymore.
Click to expand...
Click to collapse
I haven't had it relock on me yet.
Well, the problem seems simple to me: who modifies the
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
"PortalUrlProd"="https://developerservices.windowsphone.com/Services/WindowsPhoneRegistration.svc/01/2010"
PortalUrlInt"="https://developerservices.windowsphone-int.com/Services/WindowsPhoneRegistration.svc/01/2010"
registry values on the phone will not be able to use the trick I posted in this thread to avoid relocking...
Reverting back to the original values will solve the problem! Thanks DanielNTX!
yep great post, I tried this solution for my hd 7 after a microsoft relock and it works fine...
O.T. fun find an Italian who did this post after I went crazy to find a solution
Fabri181818 said:
yep great post, I tried this solution for my hd 7 after a microsoft relock and it works fine...
O.T. fun find an Italian who did this post after I went crazy to find a solution
Click to expand...
Click to collapse
Eheh Italians do it better (Quote)
Samsung Devices
Those of you with Samsung devices can go to the link and install this xap and it will remove the sideload limit and also keeps your device from relocking everytime you sync with Zune. Great tool! I used it on my Focus and works perfectly. Its call RR (Restriction Removal) tool.
http://forum.xda-developers.com/showthread.php?t=924497
jasontac said:
I also have a samsung focus and this did not work for me either...what would it matter what device we are using if they all connect to that domain using zune? After editing the host file and then going back and unlocking device then going back in to the host file wpd shows back up:
127.0.0.1 developerservices.windowsphone.com
127.0.0.1 developerservices.windowsphone-int.com
192.168.1.64 developerservices.windowsphone.com
and in the firewall it says that zune is not enabled but says to allow?
Click to expand...
Click to collapse
The problem is you have to save for overwriting the hosts.when u make shure that zune or what never be able overwrite the host,the reunlock never happend again
Related
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...
I'M A CHINESE.I hope my experience can help all WP7 fans. If this thread help you,It's my pleasure.
detail steps:
1. MAKE sure your phone has a 7004 or 7008 rom,than used chevronWP7.cer and chevronWP7.EXE to unlock your WP7. (this is step you can find in this forum)
2. After UNLOCK! prevent relocked. (belows is the easy way to edit your registry)
for HTC download xap in http://dl.dbank.com/c0u5q3xic8 and sideload it to your phone and run it ,press the green button.
for Samsung devices,see post #17 in this thread.
3. Update to NoDo via zune and your device still in unlocked state! (for some people cannot get nodo from zune, see below method,100% successful rate.)
methods to get zune nodo. http://forum.xda-developers.com/showthread.php?t=1012189 !!!!
Download USAIP.pbk open it and connect to EUROIP PPTP Hungary with
USERNAME: demo
PASSWORD: demo
Connect your phone to the PC
Disable WIFI in your phone but be sure not to open FLIGHT MODE
OPEN "Use cellular data connection to check for updates" in SETTINGS-UPDATE, AND KEEP YOUR PHONE IN THIS SCREEN
Start Zune and keep it running all the time
Manually search for an update within Zune (setting-phone-update)
After a few seconds (about 20-25 seconds for me) disable "Use cellular data connection to check for updates on your phone" --> WAIT FOR 20-30S,The update shows up! and enjoy it!
I MANAGED TO GET UPDATE BY USING THIS METHOD!!!
HAVE fune!
the update should go via zune. it should be official update。
If it works that's good news.. But is it that easy? I would thing that the update edits the registry...
If you update to 7008 the unlock still works that I know.. Are you sure that's not what happaned.. And you just got the Pre-NoDo update...?
BellPego said:
If it works that's good news.. But is it that easy? I would thing that the update edits the registry...
If you update to 7008 the unlock still works that I know.. Are you sure that's not what happaned.. And you just got the Pre-NoDo update...?
Click to expand...
Click to collapse
the vision is 7390.after 7008,unlock,then prevent unlock, then connect to zune, if you can find update, then you success。many chinese succeed,the only problem is MS,it promise everyone can update,but only very few people receive the notice of update through zune。
March thanks for XDA-DEVELOPERS(xboxmod)!
But I am still waiting the Nodo Version in Hong Kong, if it is true, it is a great job for the user!!!
I am a user of HD2 with wp7 two days ago.but now I have to switch to Android again as the wp7 is not fully developed,I think.anyway...thanks for sharing the good news...謝謝!
It seems to work based on user replies. However, it requires HTC-ProvXml-Deploy to work. What about us non-htc users?
as it was already said, we need to know if it works on non HTC devices?
Can anyone post the xap here?
Registered and downloaded the xap. It's attached as a zip, just change the file extension from .zip to .xap.
Wondering if this will truly be our way to update to NoDo and still keep our devices unlocked...
eternalemb said:
Registered and downloaded the xap. It's attached as a zip, just change the file extension from .zip to .xap.
Wondering if this will truly be our way to update to NoDo and still keep our devices unlocked...
Click to expand...
Click to collapse
thanks! I still cannot update to NoDo from Zune. Though my phone is unbranded
Is it the same with this?
[HTC] Prevent WP7 from Relocking
http://forum.xda-developers.com/showthread.php?t=913748
thats great, im sure this will be very helpfull to get a real JB goin...
too bad ive already updated :/
lemme quote the first post of the site translated (powered by microsoft translator):
http://www.qdppc.com/thread-48290-1-1.html said:
"Frog brothers produced"
---Prevent once and for all small patches of the lock (Prevent Relock:1B)
Simple, perfect, effectively address the WP7 lock problem again!
From then on no longer careful, make you lechery tour ZUNE!
Note: HTC models suitable for
Frog (Wagool) by XDA-DEVELOPERS (xboxmod) information produced by XAP patch (formerly:http://www.qdppc.com/thread-48230-1-1.html), an effective solution to mobile phone unlocking (prison break) is locked again after question!
"Steps"
1, verify that the phone has "escaped";
2, Prevent Relock.xap deployment installation attachment to mobile phone,immediately disconnect the ZUNE connection;
3, mobile Executive HTC-ProvXml-Deploy program, pressGreen(OK) button;
4, after you restart the phone, remove HTC-ProvXml-Deploy, well, everything OK!
"Description"
If the reset system (hard restart, restore factory, brushing machines), you need to "escape" and install this patch!
Reprint please specify the source
March thanks for XDA-DEVELOPERS(xboxmod)!
----------------
1, immediately disconnect the purpose is to prevent before continuing to the next step, have also been locked (in fact, in "flight mode" or under)
2,Deploy delete it or not as you, in fact, at this point the useless
PS: I'm not "boring", is a frog, HA HA ~ ~
Wagool
Click to expand...
Click to collapse
I received this morning notice of NoDO update... but I can wait a few days before to do...
harmoniic said:
Is it the same with this?
[HTC] Prevent WP7 from Relocking
http://forum.xda-developers.com/showthread.php?t=913748
Click to expand...
Click to collapse
+1
Any one plz answer this.
info5i2002 said:
It seems to work based on user replies. However, it requires HTC-ProvXml-Deploy to work. What about us non-htc users?
Click to expand...
Click to collapse
The whole prevent-relock thing essentially does this:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
"PortalUrlProd"=""
"PortalUrlInt"=""
On Samsung devices you can use the TouchXplorer Registry Editor to do this. Though it has limited access on Samsung devices. It will show an "Access Denied" when you open the DeviceReg registry-key. But it will still allow you to create new values there and overwrite the old values. So, open the DeviceReg-key and create the "portalUrlProd" and "PortalUrlInt" values as empty strings. That will prevent your Samsung from relocking. And as it seems, that tweak will even survive the NoDo-update.
is that only for htc device?
Heathcliff74 said:
The whole prevent-relock thing essentially does this:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
"PortalUrlProd"=""
"PortalUrlInt"=""
On Samsung devices you can use the TouchXplorer Registry Editor to do this. Though it has limited access on Samsung devices. It will show an "Access Denied" when you open the DeviceReg registry-key. But it will still allow you to create new values there and overwrite the old values. So, open the DeviceReg-key and create the "portalUrlProd" and "PortalUrlInt" values as empty strings. That will prevent your Samsung from relocking. And as it seems, that tweak will even survive the NoDo-update.
Click to expand...
Click to collapse
The xap samsung tools does the job automatically which is easier to use
Marvin_S said:
The xap samsung tools does the job automatically which is easier to use
Click to expand...
Click to collapse
So someone has tried to change these keys and update to nodo to see!!!!
THIS THREAD IS DISCONTINUED!
WP7 ROOT TOOLS 0.9 HAS BEEN RELEASED!
Download here: www.wp7roottools.com
Further discussion: here
__________________________________________________
With this tool you get root-access to parts of your WP7 device. This version contains a registry-editor, a file-explorer with basic file-operations and a certificate-installer with write-access to the certificate-stores.
This tool is in alpha stage. That means that it is not feature complete and it is not yet properly tested. This tool also provides you with high privileges with which you can alter low level settings and data on this device. All this may result in unexpected and undesired behavior, which may ultimately damage your device. Use this tool with care and use it at your own risk. The developer of this tool cannot be hold responsible for any kind of damages, caused directly or indirectly by using this tool.
The current version of this tool can only be used on Samsung devices. A small part of the code uses Samsung-specific functionality. The performance of the tool may sometimes be slow. This is the result of the way access to the system is elevated. The next version of WP7 Root Tools will run on more devices, like HTC and LG. Also the access is elevated more directly.
IMPORTANT NOTICE: If you get error 0x81030120 when you deploy WP7 Root Tools to your device, then please read this guide!
Your phone needs to be INTEROP-UNLOCKED. 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.
Registry Editor
The current version of the registry editor has an issue with string-values that contain special unicode characters and non-ansi-characters. There was no quick fix for that. So currently I have marked these values with "<INVALID STRING>" and made them non-editable. I think I can fix this in the next version of WP7 Root Tools.
File Explorer
I specifically mentioned that this version has basic file-operations, because not everything is implemented. This is what you can do:
- Cut / Copy / Paste / Delete / Rename single files
- Delete empty folders
- Create new folders
This is what you can't do (will be possible in later versions):
- Cut / Copy / Paste multiple files or entire folders
- Delete folders with content
- Rename folders
Certificate Installer
You might wonder why I created a certificate installer, because it is already possible to add certificates. When you email a certificate to yourself and tap that attachment, WP7 will install it. But if you install like this, the certificate will always be installed in the "Root" certificate store. With my certificate installer you can also install in "CA", "My" and "Code Integrity" stores. This may be very useful for hacking attempts. You can install a certificate by browsing to the ".cer" file and tap it. The possibilities for getting a certificate file on your phone will follow below. If you start installing certificates on your phone you should consider making backups in advance. I once experienced Zune going totally bezerk after installing certs. Zune took 100% and lost connection with the phone all the time. Everything was back to normal when I deleted the certs. In this version there is no view on the certificate stores available yet. In a future version you will be able to view the contents of all the certificate store and also uninstall certificates from there.
Desktop Sync
This version does not have a connection with the desktop computer. So it is not possible to use WP7 Root Tools to transfer files between the phone and the desktop. I hope to add this feature soon. Currently you can use other tools to get files onto your phone and then use WP7 Root Tools to move the files to the desired location. WP7 Root Tools has write access on every folder of your phone.
How to transfer files to your phone:
Mail the file to yourself. Use your phone to go to your mailbox (not webmail). The attachment will be downloaded in the background. Then use WP7 Root Tools to navigate to \Application Data\Volatile\EmailAttachments\Attachments(number). You have to look which attachment is the one you want. The filename may be changed. The extension is the same.
If you have RTM or NoDo, you can install Davux' webserver on your phone. Configure a password in that webserver. The IP of the phone is visible in the webserver app. Browse to the phone like this: http://192.168.1.2/IsolatedStorage using the IP of the phone. Upload a file to the phone. Open WP7 Root Tools 0.5 alpha. Navigate to this folder: \Applications\Data\9BFACECD-C655-4E5B-B024-1E6C2A7456AC\Data\IsolatedStore\. There's your file. You can copy it to another location if you want.
Use the Zune storage hack, described here and here. If you copied the files to your phone in this way, they will be located at \My Documents\Zune\Content in one of the subfolders. Again, the files here are renamed. You have to find the file you want and then rename it.
If you like this, hit the "Thanks" and/or "Donate to me" button.
Ciao,
Heathcliff74
Some screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Version history
0.1 - 2011/04/04 - Initial release: only registry-editor
0.2 - 2011/04/13 - Performance improvements and minor fixes
0.3 - 2011/04/14 - Bugfix in registry-editor
0.4 - 2011/06/14 - File browser added
0.5 - 2011/06/24 - File Explorer with basic file operations and certificate installer
0.6 - 2011/09/17 - Compatible with Interop-Unlocked Samsung Mango devices
0.7 - 2011/09/17 - Bugfix in registry-editor
0.8 - 2012/01/02 - Session and Multi-Tasking awareness + Mango UI improvements (better responsiveness)
History: http://forum.xda-developers.com/showthread.php?t=1021135
Reserved.........
Reserved.........
Reserved for guides....
Reserved for guides....
Reserved for guides....
Reserved......
I can't deploy it to my non-hacked developer unlocked focus running mango rtm. I get the following error when using the newest windows phone 7.1 sdk rc application deployment tool: Error - 0x81030120
EDIT: If I remove the line "<Capability Name="ID_CAP_INTEROPSERVICES"/>" from WMAppManifest.xml I can deploy it... but it crashes after the warning screen. Looks like Mango shipped devices might be out of the picture. There is something different about a normally developer unlocked phone and a pre-mango hacked to unlock one. Something that is changed durring the process listed http://forum.xda-developers.com/showthread.php?t=1152422 makes the "Error - 0x81030120" go away.
voluptuary said:
I can't deploy it to my non-hacked developer unlocked focus running mango rtm. I get the following error when using the newest windows phone 7.1 sdk rc application deployment tool: Error - 0x81030120
Click to expand...
Click to collapse
Is it possible you need the fullunlock and not just devunlock for this to install? I have an HTC so can't confirm.
That's what it looks like. Not a problem for me right now, and still a *huge* leap forward (homebrew native code on Mango!! That means everything from screen capture to the DFRouter app to things like SMS access!). It's going to suck if it's not worked around by the time I get my next device and it comes with Mango, though.
LiFePo4 said:
Is it possible you need the fullunlock and not just devunlock for this to install? I have an HTC so can't confirm.
Click to expand...
Click to collapse
Maybe a dumb question, but what is the difference?
I was able to deploy after removing the interop reference, but the app just closes when I run it.
N!njaDuck said:
Maybe a dumb question, but what is the difference?
I was able to deploy after removing the interop reference, but the app just closes when I run it.
Click to expand...
Click to collapse
People are calling the "Full unlock" the step above the Dev unlock. It's when the reg keys are done to open up unlimited unsigned apps. If you are "fully unlocked" even with mango, you should be able to install this app with out having to remove the "interop" tags.
Hi mister,
I can't acces to registry HKLM\Software\Microsoft\... software closed !
Very big thankx for this work my friend !
Same problem here:
Deployment FAILED with the following ERROR:
0x81030120
Omnia 7, Mango RTM (Dev Unlock)
But still thanks for your work, that's a huge step.
it works !
can deploy and do stuff what idid on nodo with 05 on .
good work..Thanks, that i was waiting for.
omnia7mango rtm
edit :in hklm/software/microsoft the prog crashes..
so it's a no-go with just dev unlock? well I'll wait till mango is officially out and get a full unlock then...
still you've done a great job
@Heathcliff74:
I would like to thank you with my 2nd donation since you have started the WP7 Root Tools project: 1V361345JM332073Y.
Keep up your great work !
Best regards
contable
I am unable to deploy anything with Interopservices on my Focus. I am running Beta 2 with official dev unlock.
ryotgz said:
I am unable to deploy anything with Interopservices on my Focus. I am running Beta 2 with official dev unlock.
Click to expand...
Click to collapse
official dev unlock in unfortunately not sufficient, you will have to set the maxunsigned app flag to the maximum value. This is the only way you can deploy apps with native code besides trough the marketplace.
This means up until now new mango pre installed devices are not supported, but Im sure somebody is looking for a way to bypass this limitation.
So make sure you use a provxml method to upgrade to mango.
Heatcliff, thanks again for you work
Ow and @heatcliff: transfering files is a lot easier on mango, since you just have to copy them to the iso storage of root tools and than run WP Power Tools to download them. Maybe you can make a folder in root tools iso storage and a menu option to copy to iso storage for easy transfer to the pc. No need for a file server or anything.
Phenominal work Heathcliff74! Now I can browse the FS and have some closure for the ringtone deployment.. Now I know FOR SURE that the ringtones are in \My Documents\Ringtones still, but M$ puts them in a db in order for them to be accessible... Next version of R1ng3d will be looking through \My Documents\Ringtones and \My Documents\My Ringtones from back in the NoDo days
Thanks ... great app
I updated the opening post with two important notes, regarding error 0x81030120 and the crash in HKLM\Microsoft\Software.
Heathcliff74
Here some feedback:
1. speed is very good => browsing the windows folder is much faster than with touchxplorer on my HD7
2. after renaming or deleting a file there is no refresh of the folder
3. multiple file operations are still missing (you pointed that out on post #1)
=> e.g. would make life much easier if you want to copy files to the windows folder
4. a search function like touchxplorer has would be great
=> e.g. *.xap will list all xap files in a folder
After hours of scrambling to find a decent guide to unbrick my Nitro HD I was finally able to put the pieces together and salvage a soft brick.
credit goes to the 4pda(.)ru/forum/index.php?showtopic=267926&st=560#entry11746528, russian thread, and to Machzelet.
1. Install shttp3.exe (small http server)
During Install, check "I agree with this license, and I accept all items "," Update entry in main menu", "Add
to startup". Complete the install.
2. Install LGUnitedMobileDriver_S4981MAN36AP22_ML_WHQL_Ver_3.6.exe, LG _USB _Drivers_All_4.9.7.exe, msxml.msi.
3. unzip and extract www(.)zip file to C:\shttps\www folder
4. Run Small HTTP server (from Desktop or Start -> Programs).
5. In the task Manager, right-click Small Server, choose settings. Go to HTTP tab, change TCP/IP port to 9002 (default 80). click OK on top right. Restart the server (Right click Small Server -> Restart)
6. In the hosts file, (generally at C:\windows\system32\drivers\etc), add the below entry at the end
127.0.0.1 csmg.lgmobile.com
7. RUn Windows Enabler.exe and click once to toggle ON.
8. Connect the phone using USB cable and boot to Download mode (Vol Up + Power).
8. Open UpTestEX_mod2_marwin.exe, browse and select kdz file V10f_00.kdz (Other options unchanged)
click CSE web upgrade test and then upgrade start.
At this point you get the dialog to choose country (other country) and language (English). click ok and you are set.
The upgrade took about 15-20 min and the phone reboots 3-4 times during the process.
Once complete, you will be greeted with screens in korean. you can navigate to settings and set the language to English. At this point, you can root your phone and install CWM and recover your backups or flash another ROM.
KDZ and other tools: (updated link)
http)//www(.)mediafire(.)com/?5lle6fkfl1f1o33
If your update is stuck at 4% is also fine. as the update is around 94% the phone reboots. This indicates a successful update.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Small HTTP server is not showing up
Hi aecquam,
I am stuck on step 4. For some reason the Small HTTP server program is not anywhere on desktop or in programs list.
Any ideas?
-----------------------------------------------------------------------------------------------------------------
Edit: It turns out I did not click on "Update entry in main menu", "Add to startup," so I reinstalled it and clicked those. After that however I cannot access any options or tabs. The Small HTTP server interface just sits there as unregistered, showing me my port number and number of connections.
Any ideas?
----------------------------------------------------------------------------------------------------------------
Edit: Okay. It turns out Small HTTP server has a horrific interface, and you have to click on the barely noticeable icon to access its menu.
I am stuck on #6 though. I tried editing the "hosts" file using Notepad++; however when I try to save it, I get a prompt saying "Please check whether if this file is open in another program." I even restarted my computer to make sure it was not running, but it still does the same thing.
Any ideas?
annyone confirm this works for ATT Nitro HD? Thanks so much, been waiting for something like this.
txiong14 said:
I am stuck on #6 though. I tried editing the "hosts" file using Notepad++; however when I try to save it, I get a prompt saying "Please check whether if this file is open in another program." I even restarted my computer to make sure it was not running, but it still does the same thing.
Click to expand...
Click to collapse
You need administrator access to modify the hosts file. Open Notepad++ with administrator access.
you can also follow these steps outlined by the great mind of dark lestat, its pretty straight forward and works the same on our nitro hd.....all your changing is the kdz files
kevace1 said:
you can also follow these steps outlined by the great mind of dark lestat, its pretty straight forward and works the same on our nitro hd.....all your changing is the kdz files
Click to expand...
Click to collapse
Did you mean to link to something?
chrisrotolo said:
annyone confirm this works for ATT Nitro HD? Thanks so much, been waiting for something like this.
Click to expand...
Click to collapse
I confirm this works great for Nitro HD
If you want I can translate the full guide and post here.
txiong14 said:
I am stuck on #6 though. I tried editing the "hosts" file using Notepad++; however when I try to save it, I get a prompt saying "Please check whether if this file is open in another program." I even restarted my computer to make sure it was not running, but it still does the same thing.
Any ideas?
Click to expand...
Click to collapse
Okay. It turns out you cannot edit and save the "hosts" file when it is located in C:/windows/system32/drivers/etc. I was able to edit and save the hosts file by copying it to the desktop, then opening, editing and saving it on the desktop. And then moving the file back from the desktop to the etc folder, replacing it. This works.
---------- Post added at 11:06 AM ---------- Previous post was at 10:49 AM ----------
aecquam said:
8. Open UpTestEX_mod2_marwin.exe, browse and select kdz file V10f_00.kdz (Other options unchanged)
click CSE web upgrade test and then upgrade start.
At this point you get the dialog to choose country (other country) and language (English). click ok and you are set.
Click to expand...
Click to collapse
I'm stuck on #8.
When I click on UpTestEX_mod2_marwin.exe, "R&D Test tool" program comes up, and I can click thru the menus like home, tool, option; however I cannot click on the browse icon to find kdz files, nor CSE web upgrade test, nor Start Upgrade, or anything else. Why? Furthermore where is this "V10f_00.kdz" file, since I do not see it included with the rest of the files in KDZ_FW_UPD_EN folder?
--------------------------------------------------------------------------------------------------------
Update: Okay. I followed the instructions here ( lg-phones.org/how-to-unbrick-return-lg-nitro-hd-to-stock.html ) in combination with the instructions from this thread also, and it worked. It seems glitchy, but keep trying and it should go through.
Now that the LG Nitro is flashed to the Optimus LTE, the wifi does not work (what else does not work)?
Anyone have a guide that they can please post up?
---------------------------------------------------------------
Nevermind. This post belongs in a different thread now. I can, in any case, confirm that this unbrick method for the LG Nitro works, although it is not perfect.
Just followed this post and restored Korean image on my phone in order to be able to install CM9 from the latest AT&T udpdate.
Used V10f kdz file after setting up everything as per this article and now I am rooting the Korean firmware.
Thank you so much for writing this up and helping noobs out
---------- Post added at 07:56 PM ---------- Previous post was at 07:31 PM ----------
I just went back to Korean .kdz in order to get back to old stock phone but now I can't root somehow.
Does anyone have kdz file for AT&T?
I was on the latest AT&T update and could not root, so I used Korean .kdz file to try and go back to old AT&T so I can install CM9 but it seems like I am stuck using Korean firmware now
After 30 or so attempts to run zerg, I finally got root
Thank you everyone for all your help
does anybody know of a reliable kdz file? im following the directions as mentioned, the update process shows dll errors all the way down to what i assume is like about 94%, but the progress bar does not go more than 4% on the flashing stage???? anybody please help.....my phone just stays stuck at the optimus lte splash screen. i have a nitro btw......
i have tried on both a windows xp machine and a windows 7
I had to try and flash a few times too and as per this post:
http://forum.xda-developers.com/showthread.php?t=1412367
My phone never got past 4% but it booted up and I had to change language and root in order to do anything else.
It got stuck on 4% quite a few times and I kept trying and finally it worked but progress bar never moved over 4%. Phone just booted in Korean rom.
Sent from my LG-P930 using XDA
I don't know if my brain doesn't work or something but what does rep 3 refer too???
I'm in the phone update.
but I keep getting "Problem with communication between cell phone and PC"
I've reinstalled the drivers, and all software. Still not getting anywhere.
The phone is in 'download mode'
any ideas? how big is the kdz file? maybe I have the wrong one?
It's good.My nitro hd is unbricking.
please help
aecquam said:
After hours of scrambling to find a decent guide to unbrick my Nitro HD I was finally able to put the pieces together and salvage a soft brick.
credit goes to the 4pda(.)ru/forum/index.php?showtopic=267926&st=560#entry11746528, russian thread, and to Machzelet.
1. Install shttp3.exe (small http server)
During Install, check "I agree with this license, and I accept all items "," Update entry in main menu", "Add
to startup". Complete the install.
2. Install LGUnitedMobileDriver_S4981MAN36AP22_ML_WHQL_Ver_3.6.exe, LG _USB _Drivers_All_4.9.7.exe, msxml.msi.
3. unzip and extract www(.)zip file to C:\shttps\www folder
4. Run Small HTTP server (from Desktop or Start -> Programs).
5. In the task Manager, right-click Small Server, choose settings. Go to HTTP tab, change TCP/IP port to 9002 (default 80). click OK on top right. Restart the server (Right click Small Server -> Restart)
6. In the hosts file, (generally at C:\windows\system32\drivers\etc), add the below entry at the end
127.0.0.1 csmg.lgmobile.com
so in the step 6 the file should look like this?
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost127.0.0.1 csmg.lgmobile.com
Click to expand...
Click to collapse
8simon8 said:
so in the step 6 the file should look like this?
Click to expand...
Click to collapse
No. The text "127.0.0.1 csmg.lgmobile.com" should appear on its own line below all of the lines starting with '#'s, but should not have a '#' in front of it.
Like this:
Code:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 csmg.lgmobile.com
hey guys,
going to do this method tonight. different threads and and links state that after the kdz your supposed to "Restore original Nitro HD images": http://forum.xda-developers.com/showthread.php?t=1597488
my phone is from Bell Canada, P930, LG Optimus LTE. Now, since the HD is AT&T (American) this 'image restoring' would be suited for that. What my question is: are the images for the Canadian version (p930) already included in the p930? or is there another set of .img files for me?
Gotta fix is tonight! so any help would be more than amazing!!!
kylereid said:
hey guys,
going to do this method tonight. different threads and and links state that after the kdz your supposed to "Restore original Nitro HD images": http://forum.xda-developers.com/showthread.php?t=1597488
my phone is from Bell Canada, P930, LG Optimus LTE. Now, since the HD is AT&T (American) this 'image restoring' would be suited for that. What my question is: are the images for the Canadian version (p930) already included in the p930? or is there another set of .img files for me?
Gotta fix is tonight! so any help would be more than amazing!!!
Click to expand...
Click to collapse
i just pm you
Please share the solution
I am also on bell
Sent from my LG-P930 using XDA
In the past, Windows has had editions for consumers that did not include Remote Desktop enabled. Usually there was a patch to enable it. Recently it has been proved how there is almost no difference between Windows 8 and Windows RT and that RT is just a port of Windows 8. So what about all the system files? They can be changed just like x86 Windows. So what about enabling Remote Desktop, so we don't need a ARM remote app that we need to unlock Windows for, and we can use what comes with Windows. In the past we modified the termsrv.dll file and changed some registry settings. I've included the Windows 8 and the Windows RT versions of termsrv.dll so that maybe some clever ones might try and crack a solution to enabling it on Windows RT.
sionicion said:
In the past, Windows has had editions for consumers that did not include Remote Desktop enabled. Usually there was a patch to enable it. Recently it has been proved how there is almost no difference between Windows 8 and Windows RT and that RT is just a port of Windows 8. So what about all the system files? They can be changed just like x86 Windows. So what about enabling Remote Desktop, so we don't need a ARM remote app that we need to unlock Windows for, and we can use what comes with Windows. In the past we modified the termsrv.dll file and changed some registry settings. I've included the Windows 8 and the Windows RT versions of termsrv.dll so that maybe some clever ones might try and crack a solution to enabling it on Windows RT.
Click to expand...
Click to collapse
termsrv is a system service and how can we use a modified termsrv.dll before we use the Jailbreak tool?maybe we can edit termsrv.dll in the memory.
We can't, I suspect. Even after jailbreaking, the lack of a signature on a system file may be a problem. It's worth a shot, though.
termsrv.dll -should- be a usermode library that would be editable after the jailbreak.
I am able to take ownership of the file and replace it. But it won't use the termsrv.dll from my windows 8… I'm almost positive it is because the dll is different depending on architecture. But it should be as easily replaceable as any system file on windows 8, am I right? I don't see why it wouldn't but I could be wrong.
Yeah, pretty much. You definitely won't be able to use the Win8 version (x86 machine code, ARM processor, not gonna fly...) but a modified version of the Windows RT version might work. Bear in mind that since modifying the DLL will invalidate the signature, this won't work if the signature validation is enforced (i.e. you'll have to jailbreak).
Should be possible using the Remote Debugging Tools or, even better, cdb. Put it in a .cmd file in autorun and voila
clrokr said:
Should be possible using the Remote Debugging Tools or, even better, cdb. Put it in a .cmd file in autorun and voila
Click to expand...
Click to collapse
Please!! Remote desktop would be awesome enabled on the Surface RT, if someone could work on it I know a lot of people would be very grateful!
I've already posted a method that should enable RDP here: http://forum.xda-developers.com/showpost.php?p=36386089&postcount=211 - no need to patch DLL, and would work on an a locked device. But you'll have to manually edit binary registry value, instead of using a provided tool.
I have not tested RDP, but after using this method I was able to recover an option of joining device to Active Directory domain (it was blocked by the similar policies).
mamaich said:
I've already posted a method that should enable RDP here: http://forum.xda-developers.com/showpost.php?p=36386089&postcount=211 - no need to patch DLL, and would work on an a locked device. But you'll have to manually edit binary registry value, instead of using a provided tool.
I have not tested RDP, but after using this method I was able to recover an option of joining device to Active Directory domain (it was blocked by the similar policies).
Click to expand...
Click to collapse
Can you share how you managed to get the rt joined to a domain?
mamaich said:
I've already posted a method that should enable RDP here: http://forum.xda-developers.com/showpost.php?p=36386089&postcount=211 - no need to patch DLL, and would work on an a locked device. But you'll have to manually edit binary registry value, instead of using a provided tool.
I have not tested RDP, but after using this method I was able to recover an option of joining device to Active Directory domain (it was blocked by the similar policies).
Click to expand...
Click to collapse
Wouldn't both methods work though? Your method works by enabling features from other editions by telling Windows that's what edition it is running. It disables it when the Software Protection service restores it to the original template according to the edition. By patching the DLL file, you could trigger Remote Desktop to work without it needing to check in with the kernel policies.
I mean unless you have a way to modify these policies without all the extra occuring, it would work. But Bitlocker and the Software Protection service getting involved...it just sounds like a lot of extra work for something much bigger in the end, and I know there must be an easier way to force Remote Desktop to work without listening to these policies because it has been done in the past.
mamaich said:
I've already posted a method that should enable RDP here: http://forum.xda-developers.com/showpost.php?p=36386089&postcount=211 - no need to patch DLL, and would work on an a locked device. But you'll have to manually edit binary registry value, instead of using a provided tool.
I have not tested RDP, but after using this method I was able to recover an option of joining device to Active Directory domain (it was blocked by the similar policies).
Click to expand...
Click to collapse
I tried to enable one of the Remote Desktop vars last night, allowRemoteConnections I think it was called, but I didn't get anything from it.
mamaich said:
I've already posted a method that should enable RDP here: http://forum.xda-developers.com/showpost.php?p=36386089&postcount=211 - no need to patch DLL, and would work on an a locked device. But you'll have to manually edit binary registry value, instead of using a provided tool.
I have not tested RDP, but after using this method I was able to recover an option of joining device to Active Directory domain (it was blocked by the similar policies).
Click to expand...
Click to collapse
Again, please if you were able to join an RT to the domain. Please let me know what you did. Would love to not get prompted to log in into PowerShell.
apatcas said:
Again, please if you were able to join an RT to the domain. Please let me know what you did. Would love to not get prompted to log in into PowerShell.
Click to expand...
Click to collapse
As I've already wrote - use this method: http://forum.xda-developers.com/showpost.php?p=36386089&postcount=211
1. Edit registry:
Code:
HKEY_LOCAL_MACHINE\SYSTEM\Setup
SetupType=1
CmdLine="cmd.exe"
and reboot. You will enter the setup mode. You would not see the mouse cursor in this mode, and you'll need a hardware keyboard.
2. Open this reg_binary value: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions\ProductPolicy. Look for unicode string "WorkstationService-DomainJoinEnabled", it is near offset 0x4000. Look at this screenshot:
http://imageshack.us/photo/my-images/526/35796208.png/
Select the "00" byte that follows the zero byte after the 64 (64 00 == unicode "d" letter) as you see on the screenshot. Overwrite it with 01. Be careful not to insert a byte, you need to overwrite the existing byte!
3. Rename sppsvc.exe to anything else so that it would not run on boot and reset ProductPolicy ("ren sppsvc.exe sppsvc.bak")
4. Reboot. Now the option to join the domain would be available.
I have not tried to add workstation to domain myself - try that and post here. After adding to domain you may try to rename sppsvc.bak back to sppsvc.exe as otherwise you'll get the "unactivated" Windows RT. I think that this would only remove the add to domain UI, but the RT would be still domain-joined.
I've tried to edit the remote desktop settings keys - this unblocked the corresponding options in the computer settings, but I was unable to connect. Maybe this is due to absence of RDP code in terminal server service - I don't see anyone listening port 3398 though TermServer service is running.
mamaich said:
As I've already wrote - use this method: http://forum.xda-developers.com/showpost.php?p=36386089&postcount=211
1. Edit registry:
Code:
HKEY_LOCAL_MACHINE\SYSTEM\Setup
SetupType=1
CmdLine="cmd.exe"
and reboot. You will enter the setup mode. You would not see the mouse cursor in this mode, and you'll need a hardware keyboard.
2. Open this reg_binary value: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions\ProductPolicy. Look for unicode string "WorkstationService-DomainJoinEnabled", it is near offset 0x4000. Look at this screenshot:
http://imageshack.us/photo/my-images/526/35796208.png/
Select the "00" byte that follows the zero byte after the 64 (64 00 == unicode "d" letter) as you see on the screenshot. Overwrite it with 01. Be careful not to insert a byte, you need to overwrite the existing byte!
3. Rename sppsvc.exe to anything else so that it would not run on boot and reset ProductPolicy ("ren sppsvc.exe sppsvc.bak")
4. Reboot. Now the option to join the domain would be available.
I have not tried to add workstation to domain myself - try that and post here. After adding to domain you may try to rename sppsvc.bak back to sppsvc.exe as otherwise you'll get the "unactivated" Windows RT. I think that this would only remove the add to domain UI, but the RT would be still domain-joined.
I've tried to edit the remote desktop settings keys - this unblocked the corresponding options in the computer settings, but I was unable to connect. Maybe this is due to absence of RDP code in terminal server service - I don't see anyone listening port 3398 though TermServer service is running.
Click to expand...
Click to collapse
Joined... Nice find.
apatcas said:
Joined... Nice find.
Click to expand...
Click to collapse
Have it remained domain-joined after restoring the original sppsvc.exe?
You have to return it back, otherwise you'll be annoyed with the activation reminders.
mamaich said:
Have it remained domain-joined after restoring the original sppsvc.exe?
You have to return it back, otherwise you'll be annoyed with the activation reminders.
Click to expand...
Click to collapse
We could possibly patch sppsvc to not check, then start the service up after jailbreaking it.
I'm honestly not sure if this would be considered piracy or not, though.
Edit: I used the program to set every value to 1 in setup mode (The latest jailbreak tool works in setup mode), and I didn't see any change for anything dealing with RDP.
Edit 2: Perhaps I shouldn't have set 'Disable' to 1. Regardless, I set it to 0 and the options popped up, but I can't get anything to go. As mamaich stated, I'm not seeing anything listening on port 3389. netstat -a -b on a desktop with it enabled says it's opened by CryptSvc, but I'm not seeing anything with CryptSvc that's not there on the tablet. That could just be netstat guessing which service running under svchost is actually running it, too.
netham45 said:
We could possibly patch sppsvc to not check, then start the service up after jailbreaking it.
I'm honestly not sure if this would be considered piracy or not, though.
Edit: I used the program to set every value to 1 in setup mode (The latest jailbreak tool works in setup mode), and I didn't see any change for anything dealing with RDP.
Edit 2: Perhaps I shouldn't have set 'Disable' to 1. Regardless, I set it to 0 and the options popped up, but I can't get anything to go. As mamaich stated, I'm not seeing anything listening on port 3389. netstat -a -b on a desktop with it enabled says it's opened by CryptSvc, but I'm not seeing anything with CryptSvc that's not there on the tablet. That could just be netstat guessing which service running under svchost is actually running it, too.
Click to expand...
Click to collapse
I think we must hack the dll file.But I find when I edit a byte in the dll,the service was not able to start.
apatcas said:
Joined... Nice find.
Click to expand...
Click to collapse
So is it true? that your device stays domain-joined after you restore sppsvc.exe?
@ Netham45, you could try to open up W81x86 termsrv.dll and go to these hex locations to find out what functions needed patching.
Hashes
File: W81x86\termsrv.dll
CRC-32: 202cd912
MD4: a879d39b8fbcd968b525af05a66aaf2c
MD5: 7a8e1158291cf4c8d8474a2091b9bf6d
SHA-1: e10028b074d24605e05b5e0bafd42f6a93ac01ad
1550F-15520
17428
A1B29
Then go into WinRT termsrv.dll, jump to those functions by name (because offsets will be different between x86 and RT) and Jmp or Nop as needed for WinRT. Afterwords it could be added via CDB / KD on-the-fly.