Related
Hello friends,
After some work I have finally gotten the command line interface (Dos Prompt CLI) to work on the Tmobile Rhodium with the stock ROM and Windows Mobile 6.1.
Here's what you need: Microsoft Windows Mobile Developer Power Tools available for free here:
http://www.microsoft.com/downloads/...d6-1dcc-47aa-ab28-6a2b006edfe9&displaylang=en
Within the Microsoft Windows Mobile Developer Power Tools package extract the folder called "PPC Command Shell - Command shell for the Pocket PC 2003 device." Do not worry that it says "Pocket PC 2003", we will make it work on Windows Mobile 5/6! (for background information read http://dalelane.co.uk/blog/?p=122&cpage=1#comment-102893). You will see three files: shell.exe, cmd.exe, and console.dll. Place the console.dll file in your Windows directory on your device (in our case, on the Rhodium Touch Pro 2 the Windows directory takes a long time to populate, but it will, add the console.dll to it). Then move the shell.exe and cmd.exe file to another folder on your device. After you are done with the below instructions you will be able to link directly to the cmd.exe file and run the command line terminal.
For the command line to work you would normally need to toggle the following registry key between "0" and "1" HKEY_LOCAL_MACHINE\Drivers\Console\OutputTo
By default it is set to "1" which disallows the command prompt to run, we need to set it to "0" to enable the command prompt. But, the caveat is that upon reboot it's best to have this key set to "1" otherwise your boot process is extended by about two minutes and you will get two open command prompt windows upon booting which you will need to manually close to go back to your home screen (annoying, but not a huge issue). In order to avoid all that, I have created a two simple Cab files which toggle the above registry key between "0" and "1". Before running the command prompt I run Command_Line_VISIBLE.cab (which turns the registry key to a "0" and when I'm done with the command prompt I run Command_Line_INVISIBLE.cab (which turns the registry key back to '1').
If you forget to run Command_Line_INVISIBLE.cab when done with the command prompt it's no big deal, just run it whenever you get a chance (even after a reboot, which would take two minutes longer and open the command prompt by default, which is no biggie since you can just close it once the device fully boots). Leaving the registry key set to "0" should not damage anything.
I have attached the cab files on the forum.
The goal of installing a command line interface on a Windows Mobile device is 'hackability'... you get yet much better (granular) access to your device. I have always been fond of the way Linux-based devices (Android, Iphone, Nokia N900) give you access to the command line, and always wanted something similar on Windows Mobile. Now this is possible, albeit with less options than the linux-based phones.
For example, with the command line you can now run NetCat. Netcat is known as the Swiss Army Knife of Networking. (http://en.wikipedia.org/wiki/Netcat) on your Windows Mobile phone...
You can download and install NetCat for Windows Mobile at http://prt.fernuni-hagen.de/~bischoff/wince/
I have tested a few basic NetCat commands and they seem to be working as expected, but more testing is needed.
Any feedback is appreciated
Usual disclaimer: This has worked great for me, but obviously I am not responsible if you damage your device.
Does anyone have any comments?
Please post your thoughts.
thank you
so glad i found this post, just about to try it out on my hd2...
To what end? What does this accomplish?
The goal of installing a command line interface on a Windows Mobile device is 'hackability'... you get yet much better (granular) access to your device. I have always been fond of the way Linux-based devices (Android, Iphone, Nokia N900) give you access to the command line, and always wanted something similar on Windows Mobile. Now this is possible, albeit with less options than the linux-based phones.
For example, with the command line you can now run NetCat. Netcat is known as the Swiss Army Knife of Networking. (http://en.wikipedia.org/wiki/Netcat) on your Windows Mobile phone...
You can download and install NetCat for Windows Mobile at http://prt.fernuni-hagen.de/~bischoff/wince/
I have tested a few basic NetCat commands and they seem to be working as expected, but more testing is needed.
terminal 7 said:
so glad i found this post, just about to try it out on my hd2...
Click to expand...
Click to collapse
Hi! Any update on this?
I tried this on my HD2 (WM6.5, ROM v. 1.61.468.1). The console is able to display text and run commands, but I can't type anything directly into it. The only button that seems to work is Enter.
If I type somewhere else and copy-paste into the console this works and commands execute perfectly.
What could be the trouble? Thanks in advance.
I have not tested the CLI on the HD2, but clearly your issue is caused by a lack of a physical keyboard. You may find a workaround to this (since you can copy and paste into the CLI fields), but unfortunately I cannot be of assistance since I only own the Touch Pro 2.
Good luck!
mail_e36 said:
unfortunately I cannot be of assistance since I only own the Touch Pro 2.Good luck!
Click to expand...
Click to collapse
Do you have a software keyboard in your device (my previous BlueAngel had one in addition to hardware)? If yes -- could you please check if the console works with software keyboard?
good!! Did you try pocketgcc on it?
Great news! I just tried the command line using the soft keyboard built into my Touch Pro 2 and it worked... I was able to enter commands in the command line without having to pull out or use the hardware keyboard.
Are you unable to use your software keyboard on the HD2 with the command prompt?
Pronichkin said:
Do you have a software keyboard in your device (my previous BlueAngel had one in addition to hardware)? If yes -- could you please check if the console works with software keyboard?
Click to expand...
Click to collapse
I have not tried PocketGCC, but it would be interesting to get it working on the command line.
mistm said:
good!! Did you try pocketgcc on it?
Click to expand...
Click to collapse
This is pretty awesome. I love my mini version of a PC and having this only helps...
Here is how one can use the command prompt for NetCat...
I have it working on Telus Touch Pro2 but the physical keyboard doesn't work except for backspace and enter. It could be due to Tarkims keyboard remapper. It does however work perfectly with the soft keyboards. I have a copy of Perl installed and working.
The physical keyboard should work, I'm also running Tarkims keyboard remapper and the physical keyboard works well for me. Did you use my two cab files for enabling and disabling the CLI?
Also, please tell me more about Perl on your Windows Mobile phone, is there a binary (executable) or cab file I can install for Perl?
Please advise, thanks.
mail_e36 said:
The physical keyboard should work, I'm also running Tarkims keyboard remapper and the physical keyboard works well for me. Did you use my two cab files for enabling and disabling the CLI?
Also, please tell me more about Perl on your Windows Mobile phone, is there a binary (executable) or cab file I can install for Perl?
Please advise, thanks.
Click to expand...
Click to collapse
You can find Perl here
http://perlce.sourceforge.net/
Which version of Tarkim's keyboard remapper are you using 1.3.2 or 1.4?
I just checked and I am running tarkim's keyboard controller version 1.3.2, which seems to work perfectly with the command prompt.
I am wondering what you use Perl for on Windows Mobile? I have looked at the http://perlce.sourceforge.net/ site and I am interested in installing Perl, can you give me some background on its utilization on the mobile platform?
Thanks!
Here's the response from Touch_Pete (via PM):
Actually I haven't tried much more than a few test programs. But this is a full implementation of a very powerful and flexible programing language that would allow you to go way beyond Mortscript which seems to be a popular scripting language used on Windows Mobile to do all sorts of things.
Working Perfect on my HD2 using FingerKeyboard2.1 ... I was facing same problem with original keyboard
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...
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.
THIS METHOD WILL NOT WORK IN NEWER VERSIONS OF ANDROID
Click to expand...
Click to collapse
1.Please note that by using this method you can unlock phone without losing any data.
2.This must not be used for any illegal purpose.
3.I do not hold any responsibility of any phones bricked using this method(though it is tested)
.
.
Requirements
Links
1.Download Android Multi Tools- Click Here
2.Universal Adb Drivers - Click Here
Click to expand...
Click to collapse
.
.
Now lets begin
1.First unpack the tool.
2.Then install the adb driver.
3.Turn on your phone and connect it to pc via data cable.
4.Now press 1 to check if your device is connected properly.
5.Now if you have pin,password or face-lock please press 2.
6.If you have pattern lock then press 3.
7.Device will reboot and it will be unlocked.
8.If it still shows pattern,pin or password enter window simply simply give any to unlock.
Click to expand...
Click to collapse
.
.
Other action that can be done by this program are below
.
Choice detail
1.check device for check connection of device to pc.
4.reset gmail for reset gmail login after try many time wrong unlock
5.wipe data for reset all data to factory setting.
6.reboot for reboot device to normal mode or exit from adb shell.
7.check device on fastboot mode for check connection of device to on fastboot mode.
8.wipe data / cache on fastboot mode for erase user datat and cache on fastboot mode to resolve freeze,stuk on boot logo or slow down device. That is often found in the cpu spreadtrum sc6280/sc8810.
9.exit fastboot mode for reboot your pc or exit fastboot.
0.go to command promt for entering dos promt.you can use command in this soft folder and can return to the main program by type exit
s.software info for info cpu inside,firmware version and etc.
H.hardware info for determine the ic number of gsensor,touch screen,camera,wifi and more
Click to expand...
Click to collapse
.
.
.
thanks for reading this post
Written By
Pranto Roy
XDA
Click to expand...
Click to collapse
Links
1.download android multi tools- http://d-h.st/rCh
2. universal adb drivers - http://adbdriver.com/upload/AdbDriverInstaller.exe
prantoroy said:
Links
1.download android multi tools-
2. universal adb drivers -
Click to expand...
Click to collapse
thanks
my younger bro face this problem yesterday and today i got ans
will try and update
Jpjayesh said:
thanks
my younger bro face this problem yesterday and today i got ans
will try and update
Click to expand...
Click to collapse
Sure Please Update
Thnks
Sent from my HTC One X using xda app-developers app
chrisb906 said:
Thnks
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
hmm. . . gud
share it!!
Unfortunately, I was not at my work machine.
Pranto Roy said:
1.Please note that by using this method you can unlock phone without losing any data.
2.This must not be used for any illegal purpose.
3.I do not hold any responsibility of any phones bricked using this method(though it is tested)
.
.
.
.
.
.
.
.
.
Click to expand...
Click to collapse
Hello to everyone!
This description is very good, but unfortunately I can not help of mind. The Freetab 2099 tablet is set, the OSD, I forgot, offered through the recovery gmail account, but the machine is not connected to the Internet, and it can not be solved. The Windows XP felimeri the machine, but only shows an empty folder adb driver installation, and Total Commander, however does not see downloaded from the manufacturer's website drivers installed, but not working this solution, a multitool can not find device. Maybe a factory reset would solve the matter but has not yet been described find or install a new rom that is. Img extension of the manufacturer's side, but I do not know bekepcsolni debug mode on the machine, it does not allow the zárképrnyőről to move on.
If anyone knows a solution to my problem, thanks in advance.
Hello, Valer
Tiszaba said:
Hello to everyone!
This description is very good, but unfortunately I can not help of mind. The Freetab 2099 tablet is set, the OSD, I forgot, offered through the recovery gmail account, but the machine is not connected to the Internet, and it can not be solved. The Windows XP felimeri the machine, but only shows an empty folder adb driver installation, and Total Commander, however does not see downloaded from the manufacturer's website drivers installed, but not working this solution, a multitool can not find device. Maybe a factory reset would solve the matter but has not yet been described find or install a new rom that is. Img extension of the manufacturer's side, but I do not know bekepcsolni debug mode on the machine, it does not allow the zárképrnyőről to move on.
If anyone knows a solution to my problem, thanks in advance.
Hello, Valer
Click to expand...
Click to collapse
Seriously Man.
Didn't Understood A Word.
Give Details and Only Ask The Main Question
Pranto Roy said:
Seriously Man.
Didn't Understood A Word.
Give Details and Only Ask The Main Question
Click to expand...
Click to collapse
The "Freetab 2099" table host forgot the password and can not login. The Android Multi Tools does not recognize your computer, Windows can only see empty folders. How to factory reset the computer to do?
Tiszaba said:
The "Freetab 2099" table host forgot the password and can not login. The Android Multi Tools does not recognize your computer, Windows can only see empty folders. How to factory reset the computer to do?
Click to expand...
Click to collapse
If The Computer Doesn't Recognize It Install Drivers.
Without Identifying Its Not Possible.
Pranto Roy said:
If The Computer Doesn't Recognize It Install Drivers.
Without Identifying Its Not Possible.
Click to expand...
Click to collapse
Hello!
The Adb Driver Installer does not recognize the machine, so I installed the manufacturer's website for official drivers. Only one folder is empty, or whatever it may be copied, "The device is not responding or is not connected."
Tiszaba said:
Hello!
The Adb Driver Installer does not recognize the machine, so I installed the manufacturer's website for official drivers. Only one folder is empty, or whatever it may be copied, "The device is not responding or is not connected."
Click to expand...
Click to collapse
I'll Get The Drivers
ts, i tried to used the tool the the .exe recognize my device it shows the serial number but when i tried to unlock using otion 2 or 3 it doesn't work i got skk mobile a1 device it has somewhat like ios GUI
ghepier said:
ts, i tried to used the tool the the .exe recognize my device it shows the serial number but when i tried to unlock using otion 2 or 3 it doesn't work i got skk mobile a1 device it has somewhat like ios GUI
Click to expand...
Click to collapse
If It Recognized Ur Device It Will Work
And Please Add Details
Eg. What Error Message etc.
Hi there, i have tried to use the following software but it doesnt work
so basically I have a samsung G3 i9300T and I know the pattern code but i still want to try out.
firstly when i ran the Multi-tool, it doesn't recongized my phone. So i realized i have to turn on USB debugging in order to let the software to detect my phone.
So i have turned the usb debug mode on and it finally picks up my phone.
Press 1 and it has my serial number, good, good. Then I go to option 3 as you mentioned in order to unlock pattern lock.
It reboots, and the pattern lock is still sitting on screen. So i tried to swipe anywhere on the pattern lock but it doesnt allow me to go further unless i input the right code.
Now i am wondering what could went wrong?
Fossil_Sioux said:
Hi there, i have tried to use the following software but it doesnt work
so basically I have a samsung G3 i9300T and I know the pattern code but i still want to try out.
firstly when i ran the Multi-tool, it doesn't recongized my phone. So i realized i have to turn on USB debugging in order to let the software to detect my phone.
So i have turned the usb debug mode on and it finally picks up my phone.
Press 1 and it has my serial number, good, good. Then I go to option 3 as you mentioned in order to unlock pattern lock.
It reboots, and the pattern lock is still sitting on screen. So i tried to swipe anywhere on the pattern lock but it doesnt allow me to go further unless i input the right code.
Now i am wondering what could went wrong?
Click to expand...
Click to collapse
That Is The Exact Process
I'll test it On S3
Didn't work on Motorola XT901
Thanks for supplying such a tool, unfortunately I tried it and had the same result has Fossil_Sioux on a Motorola XT901. Phone is recognized and when I select option 2 it reboots, but the lock screen is still displayed. I enter in any random pin and it just prompts me to try again. Any suggestions?
thanks
thanks for your time in posting this information because i find it very helpful
Nice
Nice thread...thnx man.
Devill007 said:
Nice thread...thnx man.
Click to expand...
Click to collapse
Thanks
Seems that there's a way to enable reset protection feature on non-american devices.
IT COULD BRICK YOUR PHONE POSSIBLY! DO IT AT YOUR OWN RISK!
I do not bear any responsibility for what may happen to your phone.
It works only on devices with WP 8.1 GDR2 and later firmware! It's, for example, Lumia 640. You can check firmware version using WDRT or lumiafirmware.com.
Actually, trick is only for Lumia 640, Lumia 550, Lumia 650, Lumia 950 and, possibly, Lumia 735.
Do not turn on reset protection and phone encryption at the same time. There's a bug in Windows, which can give you Bitlocker recovery screen after that.
One more warning: reset protection writes some stuff to UEFI. That can't be undone or changed neither by Windows Device Recovery Tool nor by the other flashers. So, it's most likely, that you won't be able to "delete" reset protection. But if can be turned off on supported phones just in Settings.
1) Download and install the program.
2) Download the necessary CAB file from Microsoft Update Catalog. Type in search, for example, 000-RU, then choose your build and click 'Download'.
Press Ctrl + F, type ‘reset’. 2 files will be found. You need file with the ‘CBS’ signature (not ‘CBSU’). Download it.
Here's a link to 14393.693 file.
3) Connect your phone to the PC.
4) Press Win + X and run Command Prompt (Admin).
5) Depending on your OS type, paste and run one of these commands.
32-bit: CD C:\Program Files\Windows Kits\10\Tools\Bin\i386
64-bit: CD C:\Program Files (x86)\Windows Kits\10\Tools\Bin\i386
6) Don’t close Command Prompt window.
7) Copy the address of the folder where downloaded CAB file is located. Important note: file must be in the separate
folder without any other files. The name of this folder mustn’t contain non-English characters or spaces.
8) Go back to the command line and paste the next command (without square brackets):
iutool -v -p [address of the folder with CAB file]
9) Your phone will restart and begin to install updates. It will take about 10 minutes. Do not disconnect the phone
from the PC during this operation.
After that you'll have reset protection button in 'Find my phone' settings.
Please, write here, if the operation will finish successfully for you.
I'll be thankful to anyone who will try make hard reset after that and reply, if reset protection is working for him.
To delete.
DilanChd said:
Work, but it must be send a OS update (just cbs cabs of device's packages), not just send this cab. @gus33000
Click to expand...
Click to collapse
IUTool installs this CAB.
To delete.
DilanChd said:
I know that. I means that you must also download and install all cbs cabs (of 10.0.14393.693 in your example) that corresponding to the packages installed on the device (GetDULogs).
Click to expand...
Click to collapse
We installed only selected CABs, when made Continuum or LED work. Why now we should install all the CABs?
To delete.
DilanChd said:
No idea, it's @gus33000 that said it, to enable reset protection.
Click to expand...
Click to collapse
Interesting. Let's wait for him.
working fine on my 950XL
To delete.
DilanChd said:
He told me that maybe for that the cab be in the same version as the OS. So, if that's it, if it's 14393.693 that is installed, install effectively only the ms_rs_protection 14393.693 cbs cab.
Click to expand...
Click to collapse
We do it in this way. We install only ms_rs_protection CBS CAB for 14393.693. No other CABs. Or you mean something else?
To delete.
DilanChd said:
Yes, that's what I mean.
Click to expand...
Click to collapse
So, no problem with that?
To delete.
Successfuly acivated Reset Protection for both my Xiaomi MI4 w10m for russian region. Got an email wich confirms this action. Also see the proove on my devices page.
Havent tried to reset it yet cause ive just spent alot of time to set my phones up perfectly)
#UP
what is the difference between CBS cab and CBSU cab? What happen if CBSU cab is flashed? Someone activate the Reset Protection from Settings, then he reboots the phone, then he got BitLocker Blue screen. I am wondering if he flashed CBSU cab?
HTC_FUZE said:
what is the difference between CBS cab and CBSU cab? What happen if CBSU cab is flashed? Someone activate the Reset Protection from Settings, then he reboots the phone, then he got BitLocker Blue screen. I am wondering if he flashed CBSU cab?
Click to expand...
Click to collapse
I think, it looks so, that CBSU is Update file which includes only changes, CBS is full package. microsoft.ms_reset_protection.mainos.cbs - 43 KB
microsoft.ms_reset_protection.mainos.cbsu - 28KB
So incomplete installation (of CBSU file) may take unpredictable effect
Can I do it on my l535 DS ?
The_Andro-geek said:
Can I do it on my l535 DS ?
Click to expand...
Click to collapse
yes
to all W10M devices with current build (not insider)
dxdy said:
(not insider)
Click to expand...
Click to collapse
it will work even for "Release preview" insider branch when it have the same build with Release. Have tested on my second MI4.
BTW
I've just tried to reset phone with "reset protection" enabled. so, how does It work (for me)
- reset of the phone by menu (settings - about - reset) require an account password
- after entering the password phone will be shown with "Reset protection" option turned to OFF (was obvious)
- during initial settings (right after setting up network) phone have checked reset protection state
- also "Reset protection" option is available (and turned ON by default) on quick parameters settings page