Does Powershell access work on W10M? - Windows 10 Mobile

I'm just curious about powershell on W10M since W10 IoT and W10M shares some stuffs. If we can remotely connect powershell on IoT, then I wonder if we can do the same on W10M. Currently I'm trying it right now but it keeps throwing this error.
{
"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"
}
So any ideas if this is possible?
Sent from Ponyville

mrchezco1995 said:
So any ideas if this is possible?
Click to expand...
Click to collapse
I've tried too when I was looking for a way to delete preinstalled apps . I remember giving up after reading something about W10M not supporting remote connections. I'll try again on the latest build and report back.

So, let's review the steps needed
1. Enable developer mode on the Windows Phone and pair your with your Windows computer. I used CMD C:\Program Files (x86)\Windows Kits\10\bin\x86>
Code:
WinAppDeployCmd list -ip 192.0.0.2 -pin 123456
for that
2. Start Windows Remote Management (WS-Management) on PC
from CMD
Code:
net start WinRM
3. Add Phone to the trusted hosts list
From PowerShell
Code:
set-item wsman:\localhost\Client\TrustedHosts -value 192.0.0.2
4. Test connection betwen Windows PC and Windows Phone
from PowerShell
Code:
Test-Connection -ComputerName 192.0.0.2
5. Start a remote PowerShell session with the Phone
Code:
Enter-PSSession -ComputerName 192.0.0.2 -Credential 192.0.0.2\Administrator
I get a window asking for admin pass
So, what's the password?

w.bogdan said:
So, what's the password?
Click to expand...
Click to collapse
Have you tried IoT's default password "[email protected]"? Or the PIN itself as password?
Sent from Ponyville

mrchezco1995 said:
Have you tried IoT's default password "[email protected]"? Or the PIN itself as password?
Sent from Ponyville
Click to expand...
Click to collapse
didn't work . Also I tried some random users like SYSTEM and WPNONETWORK but no success

I don't think so, because:
1. In WP, PowerShell folder is empty.
2. Even it would have some binaries of PS, WinRM service doesn't exist on the WP.
You can use TShell if it's still working on WP 10.

mrchezco1995 said:
Have you tried IoT's default password "[email protected]"? Or the PIN itself as password?Sent from Ponyville
Click to expand...
Click to collapse
Doesn't work. Now I remember why I gave up last time, I think you must have Windows Remote Management or/and Remote Procedure Call services running on the phone.
In theory, the first can be started via HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WinRM\Start value 2 and the second HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RpcSs\Start value 2, but I could add just the first one with Interop Tools .
lukjok said:
WinRM service doesn't exist on the WP
Click to expand...
Click to collapse
How do I check which services are running on the phone?

w.bogdan said:
Doesn't work. Now I remember why I gave up last time, I think you must have Windows Remote Management or/and Remote Procedure Call services running on the phone.
In theory, the first can be started via HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WinRM\Start value 2 and the second HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RpcSs\Start value 2, but I could add just the first one with Interop Tools .
How do I check which services are running on the phone?
Click to expand...
Click to collapse
I think using ProcessViewer (WP8) app you can see

w.bogdan said:
Doesn't work. Now I remember why I gave up last time, I think you must have Windows Remote Management or/and Remote Procedure Call services running on the phone.
In theory, the first can be started via HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WinRM\Start value 2 and the second HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RpcSs\Start value 2, but I could add just the first one with Interop Tools .
How do I check which services are running on the phone?
Click to expand...
Click to collapse
There is no WinRM subkey under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\

ngame said:
I think using ProcessViewer (WP8) app you can see
Click to expand...
Click to collapse
Isn't just like http://127.0.0.1/processes.htm ?
lukjok said:
There is no WinRM subkey under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
Click to expand...
Click to collapse
It isn't, but you can add it with Interop Tools

w.bogdan said:
Isn't just like http://127.0.0.1/processes.htm ?
It isn't, but you can add it with Interop Tools
Click to expand...
Click to collapse
No, your addition doesn't make sense. This is how WinRM service subkey looks on IoT device registry.
This service needs a wsmsvc.dll file, which doesn't exist on Windows Phone.
So, you can add as many keys as you want but it just won't work.

lukjok said:
This service needs a wsmsvc.dll file, which doesn't exist on Windows Phone.
Click to expand...
Click to collapse
I've just noticed that, but rpcss.dll is in system32.

w.bogdan said:
Isn't just like http://127.0.0.1/processes.htm ?
It isn't, but you can add it with Interop Tools
Click to expand...
Click to collapse
Yes it is . I forgot about this

Pingy https://www.microsoft.com/store/p/pingy/9nblggh0j8mc
Pingy is a Windows Phone 7 app which monitors your network resources. Pingy has its own PowerShell script library which lets you update secondary live tiles and send toast notifications based on your requirements. This will let you set any text or image as a live tile, the only limit is your imagination. Pingy uses the built in WS-Management service, so no third party application is required to run remote scripts.
Click to expand...
Click to collapse
http://www.jmd-software.net/page/Pingy.aspx

lukjok said:
No, your addition doesn't make sense. This is how WinRM service subkey looks on IoT device registry.
This service needs a wsmsvc.dll file, which doesn't exist on Windows Phone.
So, you can add as many keys as you want but it just won't work.
Click to expand...
Click to collapse
Hey can you send us that DLL file? Lemme try if I can make that to work on W10M even if we don't have write access to C:\Windows. Looks like C:\Data\Windows\ is symlinked to C:\Windows but still not sure...
w.bogdan said:
Pingy https://www.microsoft.com/store/p/pingy/9nblggh0j8mc
http://www.jmd-software.net/page/Pingy.aspx
Click to expand...
Click to collapse
Pingy can only powershell remote to PCs or IoT, not powershelling to W10M's self powershell (if it does exist...)
Sent from Ponyville

mrchezco1995 said:
Pingy can only powershell remote to PCs or IoT, not powershelling to W10M's self powershell (if it does exist...)
Click to expand...
Click to collapse
But if "Pingy uses the built in WS-Management service", doesn't mean it should be running on the phone too?

w.bogdan said:
But if "Pingy uses the built in WS-Management service", doesn't mean it should be running on the phone too?
Click to expand...
Click to collapse
I'm trying it right now even the an example hello world on a toast message with
Code:
Send-Toast -Message "Hello World"
But I can't make it to work . Can you try it thou? Or someone try Pingy if it does work?
Sent from Ponyville

mrchezco1995 said:
Hey can you send us that DLL file? Lemme try if I can make that to work on W10M even if we don't have write access to C:\Windows. Looks like C:\Data\Windows\ is symlinked to C:\Windows but still not sure...
Sent from Ponyville
Click to expand...
Click to collapse
Here it is. Also uploaded PowerShell folder with binaries.

lukjok said:
Here it is. Also uploaded PowerShell folder with binaries.
Click to expand...
Click to collapse
Thanks! Really appreciate it!
Looks like we need to add the PowerShell binaries too to \System32\ . Now let's see if adding it to C:\Data\Windows\System32 works...
Sent from Ponyville

@lukjok one more thing, can you send me those "WinRM" registry keys? All of those values? Thanks
Sent from Ponyville

Related

[Updated 2/7/2011]Tom XAP Installer v1.2 with multiple xaps install support

Hi all !
For all devices unlocked with ChevronWP7 Unlocker , we're can easy install custom ringtones or applications .XAP format via Application Deployment , but everytimes need open start menu --> Application Deployment then browser .xap to tool for install take too much times and almost make some in us crazy
That why i decided to write Tom XAP installer , basicly Tom XAP installer and Application Deployment are the same ( Alow install custom .xap to device and emulator windows phone 7 ) But Tom XAP installer a lot convenience , it's alow you install .xap with double click to file or simple just right click --> install xap
How to :
Download exe and put it somewhere in PC, run it , it will automatic add registry path of application and add menu , icon to .XAP files
{
"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"
}
Then just close it and now double click to custom ringtones , or any .xap format files , the Tom XAP installer will automatic open and give you some details ( App name , Version , Author , Size , Description of XAP ) then select where you will install xap ( device or emulator )
Press Install and wait it finish.
Notices :
1. Tom XAP installer Requires .NET 4.0 Framework and Windows Phone 7 SDK
2. If you install xap to device
- Please make sure your device was unlocked with ChevronWP7 Unlocker ( Here is guide how to unlock )
- Make sure your device was connected with PC and Zune lauched
- Make sure your device not in sleep mode
3. If you move Tom XAP installer.exe to other location in PC , you should run it again one time for registry again location of application
4. If you don't like this software , just run Tom XAP installer.exe and uncheck " Enable Tom XAP installer" it will uninstall all registry of Tom XAP installer in your PC
-Updated v1.2 2/7/2011 :
-Update support multiple xaps install
-Make right admin access
Video :
http://www.youtube.com/watch?v=rORHjgsXmjc&hd=1
-Updated v1.1 1/9/2011 :
Fixed problems when install Games , now icons should works correctly !
For fix limit 10 .xap install to device , use new ChervonWP7 without limit xap install :
http://www.mediafire.com/?os9hxw12bydl8nq
Cheers !
Tom
Good Work bro, nice to see u back again
What value does this have over the official one?
WithinRafael said:
What value does this have over the official one?
Click to expand...
Click to collapse
you can create a folder of xap files on yr pc and just start clicking the xap files instead of xap deployer from sdk
Is t limited to only 7 installs still?
[email protected] said:
Is t limited to only 7 installs still?
Click to expand...
Click to collapse
Not yet , you can install all xap , not only 7
Hi tom, really good work.
Will this work on YOUR PORTING OF WP7 for hd2?
Great Tom!
nice to see you around
tom_codon said:
Not yet , you can install all xap , not only 7
Click to expand...
Click to collapse
Incorrect, ALL unlocked phones are restricted to 10 xap deployments.
walshieau said:
Incorrect, ALL unlocked phones are restricted to 10 xap deployments.
Click to expand...
Click to collapse
Ohh..any reason for limiting it to 10 ?
hdubli said:
Ohh..any reason for limiting it to 10 ?
Click to expand...
Click to collapse
It's a phone setting.
walshieau said:
It's a phone setting.
Click to expand...
Click to collapse
run unlock again and it can install more i guess ?
No, doesn't work like that. You get 10. That's it.
It's only a matter of time before we figure out a registry setting or a tweak that will allow more.
Is there a way for you to release a 2nd version of your utility that ONLY specifies Emulator by default, and points to a network path for the emulator, instead of assuming the hard file path? ie. instead of assuming c:\program files (x86)\Microsoft SDKs etc. it would either ask you for the path to XDELauncher.exe and accept network paths, or you could specify the network share path in a config file?
I'm wanting to put a XAPs on an internal site, and use a shared emulator on a network share to launch the app in the emulator when clicked on.
I'll donate if you can do it
[email protected] said:
Is t limited to only 7 installs still?
Click to expand...
Click to collapse
I believe it is possible to uninstall one of the sideloaded apps and then install another. There is a max on the number of sideloaded apps installed on a device. If you reach that max, you should uninstall one of the other sideloaded apps.
The chevronwp7 guys said at one time that it was just a setting that they could change easy? at least that is what it seemed to sound like? I may be off??
We can't update the tool, sorry 'bout that.
We can't update the tool, sorry 'bout that.
Click to expand...
Click to collapse
What's wrong with you Chevron guys? Why the hell did you work LIKE HELL on that unlocking stuff, just to shut the whole thing down in less than 2 weeks? You can't tell me you're still figuring out how to persuade Microsoft..
Deployment Tool & XAP installer
Hi Tom
Does your installer still require the developer deployment tools to function, or can I remove the deployment and continue using your installer?

[RELEASE] Phone7Market for Windows PC v2.0 Alpha B2: finally Mango full support!

Phone7Market (previously Windows Phone 7 Marketplace) for Windows PC is an application suite. There is one application to search the Marketplace application catalog, other can download the xap packages and the last one can deploy any application to a WP7 device or emulator. Intended only for testing free apps and your own apps.
** Version 1.7 or older: To allow Mango applications in this app, read: http://forum.xda-developers.com/showpost.php?p=17427269&postcount=261
** Version 1.2 or newer: now display only fully free applications (not trials/paid/device branded apps) following the xda anti-piracy policy **
Features/updates:
Please see http://ried.cl/mobile/wp7desktopmarketplace.html for the changelog, also there is a quick video showing how to use the program here: http://www.screencast.com/t/9PkvJL50b
Requirements:
Windows Phone 7 device (unlocked) or emulator
Windows PC with Microsoft .NET Framework 4
It should require the Windows Phone SDK because the dependency of Microsoft.Smartdevice.Connectivity.dll assembly
Screenshot:
{
"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"
}
Download:
Setup program now available!:
Phone7Market v2.0 Alpha (setup)
The deployer application supports different commandline options (for batch operations for example):
Code:
wp7-deploy.exe path\to\xap\file.xap -destination[modifiers]
destination (required): is just one letter d=device, e=emulator
modifiers: up to 3 letters s=replace assemblies signatures, r=remove DRM, l=autolaunch
Example:
rem This deploys test.xap to the emulator and autolaunches the application
wp7-deploy.exe test.xap -el
rem This deploys mytest2.xap to the device replacing the signatures with your own certificate and removing the drm description file
wp7-deploy.exe c:\mytest2.xap -dsr
More info:
http://servicios.ried.cl/
Suggestions and todo:
Support for Mango 7.1 SDK! really soon (preview2?) Ready!! in the Alpha B2, search and deploy working now
Automatic updater Next priority... still
Smartpatcher functionality (to allow any "cracker" to make patches, for example to allow lg apps in other devices, etc) In progress...
Details panel (in search results)
Multi downloads/deploys?
Note:
Files attached in this post are just for backup. The most recent version will appear first in the link listed above. Please use attached files only for testing purposes.
Do not download the ATTACHED FILES if you want the latest release.
Thanks ! Now I can check the apps in the market place before I get my VZW WP7...
Does not deploy app. Tested on one of my developed applications.
microhaxo said:
Does not deploy app. Tested on one of my developed applications.
Click to expand...
Click to collapse
Any error message? Can I have you file to test it?
Says the file you tried to deploy is already installed retry?
BandWidth is the app - free in marketplace (i made sure to uninstall it on phone before deploy)
microhaxo said:
Says the file you tried to deploy is already installed retry?
BandWidth is the app - free in marketplace (i made sure to uninstall it on phone before deploy)
Click to expand...
Click to collapse
Works perfectly to me, look: http://screencast.com/t/v9yVuSiLU ... mmm that message can be a mistake, it the deployment hangs between the execution and the unninstallation it might show that message, so it can be a problem with the execution.
I don't know if for a unlocked physical device you must send the new certify by mail and install it in your phone.
Hmm, yea the video show's it working. Might have to do with my phone being a dev unlock device?
I'll try it again tomorrow.
microhaxo said:
Hmm, yea the video show's it working. Might have to do with my phone being a dev unlock device?
I'll try it again tomorrow.
Click to expand...
Click to collapse
But can you deploy your app to the emulator?
Working on Emulator
I tested it on Emulator and its working for me.
Check this out: http://www.youtube.com/user/vbguy2011
Seems to do something similar
do not work for me!
I want install in my device but got error, my phone is unlocked and zune lunched!
Thanks!
But this doesn't seem to find everything. E.g. the manufactor specific apps like LG's voice-to-text. Or also some normal stuff like "Mehr Gehirnjoggen"
all in one application, works perfectly for me! thanks!
sIiiS said:
do not work for me!
I want install in my device but got error, my phone is unlocked and zune lunched!
Click to expand...
Click to collapse
Did you receive an error description?
Hades32 said:
Thanks!
But this doesn't seem to find everything. E.g. the manufactor specific apps like LG's voice-to-text. Or also some normal stuff like "Mehr Gehirnjoggen"
Click to expand...
Click to collapse
Sorry but now its limited to fully free apps (xda piracy policy). So it does not work for brand exclusive apps, trials or paid apps.
Please add device branded apps, trying samsung apps on htc phone is not piracy
Great! Works without a problem. Make sure to check all checkboxes when deploying. Will use this until I can microsoft for my activation tomorrow morning
tbk21 said:
Please add device branded apps, trying samsung apps on htc phone is not piracy
Click to expand...
Click to collapse
Sorry but I will keep just the generic fully free apps for now. I am not sure about what you said, if is legal or not.
working perfect in emulator and the device.
thanks for the application.
i am getting error, on emulator is fine, but on device i am getting:
error deploying to the device. it seems to be a licensing problem with application
any help?
thx
SOLVED - something was messed up with certificate
Spirit81 said:
i am getting error, on emulator is fine, but on device i am getting:
error deploying to the device. it seems to be a licensing problem with application
any help?
thx
SOLVED - something was messed up with certificate
Click to expand...
Click to collapse
same problem
Can u tell me how did u fixed that please?

[XAP] Native Debugger for WP7 (Requires full unlock)

Title says it all - it is a debugger for native apps.
How to use it?
Prerequisites:
You should have VS2008 and Windows Mobile 6 Pro SDK installed.
If you also have VS2010 + WP7SDK, most likely you won't be able to use debugger in VS2008. To fix this issue copy attached edm2.exe to C:\Program Files (x86)\Microsoft Visual Studio 10.0\SmartDevices\Debugger\target\wce400\armv4i (probably without x86 postfix in Program Files path)
(Just to note - this edm2.exe isn't "special for ce7". It works on WM6 device too)
You should have full unlock on your phone (not dev unlock! not interop unlock!)
What's then?
Sideload NativeDebugger.xap to phone
Run it, wait until ip list appears.
In VS2008: Tools->Options. Then change ip to 127.0.0.1. Screenshot:
Enjoy.
Limitations
You have to run xap after every soft reset
If you create UI, debugger "forgets" to detect app closing. However, breakpoints still work and debug log is still being received.
What else can this xap do?
Native debugging, as it was already mentioned
You can use almost all CE Remote Tools.
Limitations: CERemoteSpy can't setup a window hook (thanks MS for abandoning slot-based virtual memory system)
Process Viewer can't get list of processes
Screenshots:
P.S. If you want to compile native exe, don't forget to generate new coredll.lib
nice work, ultrashot
good work buddy
I'm a little confused here, what's the difference between 'full unlock' and 'interop unlock'
Briefcase said:
I'm a little confused here, what's the difference between 'full unlock' and 'interop unlock'
Click to expand...
Click to collapse
Read
Great!
Now can say bye-bye to a log file of debug!
ultrashot said:
Read
Click to expand...
Click to collapse
So basically it requires a custom ROM (read: HTC Only)?
ZeBond said:
So basically it requires a custom ROM (read: HTC Only)?
Click to expand...
Click to collapse
for now - yes.
The best app here. I am going to search old SDKs.
Hey @ultrashot, nice work man! Any chance you can see whether this can be used with the HtcRoot project (see my sig)? It would help a ton to be able to do debugging, both for improving HtcRoot and developing apps based on it, but I'm still using a stock ROM (and want to make HtcRoot usable for stock ROMs).
I'm not sure why the debugger doesn't work normally, but if it's some kind of permissions issue than HtcRoot should work around that quite well. It does require a working HtcUtility.dll driver, which not all custom ROMs have, by the way.
After hour of trying - I started Zune synchronisation and after it - "Connectin success".
Zoom in - OK.
Remote Spy - OK.
Remote Registry Editor - OK!!! (I will have 1/10 of work sometime)
Remote Heap Walker - OK.
Remote File Viewer - OK and very quick.
Remote Process Viewer - Nothing.
Thanks very much. I must repair process viewer and to learn debugging techniques on WM. M.
Martin7Pro said:
I must repair process viewer and to learn debugging techniques on WM.
Click to expand...
Click to collapse
It isn't supposed to work. I haven't tried to investigate why ms transport exe doesn't work.
GoodDayToDie said:
Hey @ultrashot, nice work man! Any chance you can see whether this can be used with the HtcRoot project (see my sig)? It would help a ton to be able to do debugging, both for improving HtcRoot and developing apps based on it, but I'm still using a stock ROM (and want to make HtcRoot usable for stock ROMs).
I'm not sure why the debugger doesn't work normally, but if it's some kind of permissions issue than HtcRoot should work around that quite well. It does require a working HtcUtility.dll driver, which not all custom ROMs have, by the way.
Click to expand...
Click to collapse
Hi. What's required:
1) ability to put files to \Windows\.
2) ability to load unsigned native code (because cmccdll.dll is a self-made coredll.dll wrapper; other files are signed by ms). That could be problematic even with tcb permissions
3) probably some policies should be changed.
1) Full read/write access to the whole filesystem - not a problem.
2) Developer-unlocked devices are allowed to do this, at least for DLLs. If they weren't, none of our native homebrew code would function (it's all unsigned). Not sure about EXEs though.
3) I think I can do this with the permissions I have - Heathcliff74 has mentioned mdifying the policies on his phone during WP7 Root Tools development - but I'd need to know which ones and what modifications are needed.
Hi guys. I want to discover my HTC7Pro hardware keyboard low level management to be able to customize any applications (my prepared filemanager etc.) to keyboard-only management, use smile key as ctrl etc. But, I could not use debugger correctly. Do you know, how I can see call stack and how can I step running processes? I can pause them, but I see everytime this:
{
"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"
}
Thanks, M.
GoodDayToDie said:
1) Full read/write access to the whole filesystem - not a problem.
2) Developer-unlocked devices are allowed to do this, at least for DLLs. If they weren't, none of our native homebrew code would function (it's all unsigned). Not sure about EXEs though.
3) I think I can do this with the permissions I have - Heathcliff74 has mentioned mdifying the policies on his phone during WP7 Root Tools development - but I'd need to know which ones and what modifications are needed.
Click to expand...
Click to collapse
2) yes, but it can be different for fully native exes (haven't checked further though).
3) the minimum required policies should be like those for built-in edm3.exe, ConManClient3.exe. The only difference is (again) absence of valid digital sign and it may prevent lvmod's authorization.
//Wondering if lvmod can be replaced (better to say, shadowed) without reflashing.
Martin7Pro said:
Hi guys. I want to discover my HTC7Pro hardware keyboard low level management to be able to customize any applications (my prepared filemanager etc.) to keyboard-only management, use smile key as ctrl etc. But, I could not use debugger correctly. Do you know, how I can see call stack and how can I step running processes? I can pause them, but I see everytime this:
Thanks, M.
Click to expand...
Click to collapse
I would rather say it isn't a good task for VS2008. It is meant to debug your libs/exes, not someone else's.
IDA always rocks but its wce debugger is currently not working, thanks to absent activesync connection.
ultrashot said:
I would rather say it isn't a good task for VS2008. It is meant to debug your libs/exes, not someone else's.
IDA always rocks but its wce debugger is currently not working, thanks to absent activesync connection.
Click to expand...
Click to collapse
Thanks for answer. Then I want to try debug my own applications. I foung your older post http://forum.xda-developers.com/showthread.php?t=1336137, which enables debugger using on custom ROMs, it is working good for me in WS 2010 Express. Then question: May I have opened VS 2010 Express with managed part + VS 2008 Professional with unmanaged part of any hybrid application to be able to debug it? How can I do it, when it is one application and process attaching does not work? Or those will two different process in one application, runnable independent? Or is possible to use VS 2008 for WP7 C# debugging? I am apologioze for probably basic questions. I am experienced C programmer, but totally new in mobile programming. M.
May I have opened VS 2010 Express with managed part + VS 2008 Professional with unmanaged part of any hybrid application to be able to debug it?
Click to expand...
Click to collapse
no, only managed part could be debugged (though, you can test your native library via native exe, but that's another story)
process attaching does not work
Click to expand...
Click to collapse
It was never working even in WM
Or those will two different process in one application, runnable independent?
Click to expand...
Click to collapse
both native and managed code run in the same taskhost context.
Or is possible to use VS 2008 for WP7 C# debugging?
Click to expand...
Click to collapse
no.
Thanks. I must learn more. If I understand, I can debug Silverlight, XNA and managed part of hybrid applications only in VS 2010 (unmanaged part debugging is impossible), native appplications in VS 2008 only.
Is normal to see more then one device in Registry viewer? I see today everytime only mobile, but now also desktop. On debugger launcher I have three different CoreCon IPs immediately now. Could not it be any attack from internet?
Is normal to see more then one device in Registry viewer?
Click to expand...
Click to collapse
Normal.
On debugger launcher I have three different CoreCon IPs immediately now.
Click to expand...
Click to collapse
that's because you can connect via different connection types. (such as wifi for example - btw, it is also possible, but you have to adjust ip every time)
Could not it be any attack from internet?
Click to expand...
Click to collapse
no.
This is amazing.
Thank you ultrashot.

[GUIDE]How to Enable .net Framework 3.5.1 Offline in Windows 8,8.1

Many of us are using Windows 8 Developer or Consumer Preview.While using Windows 8 Beta version,sometimes you will get the message to install .net framework,for running those applications which require .net Framework to operate.
But it becomes quite difficult for us to download and install Microsoft .net Framework online.There can be many reason for that.
Know here question arises that Windows 8 comes with pre-installed .net framework application,then why it is asking for re-installation.It is because Windows 8 beta Setup doesn't install the .net
Framework,we have to manually install it.
How to Install / Enable .net framework 3.5.1 in Offline mode
Go on "Search" Option of Windows 8 and type cmd
{
"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"
}
Now Right click on the "cmd" and if you are using Windows 8 Developer Preview then click on Advanced and after that click "Run as Administrator".If you are using Windows 8 Consumer Preview then after right click on "cmd" click on Run as administrator option.
Insert your Windows 8 Installation Disc in the Drive
Now enter the Following command in "cmd"
Code:
dism.exe /online /enable-feature /featurename:NetFX3 /Source:G:\sources\sxs /LimitAccess
Please note:- Letter "G" in above command is the drive letter in which your Windows 8 installation Disc has been inserted.
Just click Enter button after writing the commands.
Wait for a minute and your .net Framework will be installed.
**Edit**, nevermind... haha
not working for X64
not working for X64
another way : for x32 and x64
1.open run (win key +r )
2.enter: gpedit.msc
3.Expand Computer Configuration, expand Administrative Templates, and then select System.
Open the Specify settings for optional component installation and component repair Group Policy setting, and then select Enabled.
4.If you want to specify an alternative source file, in the Alternate source file path box, specify a fully qualified path of a shared folder that contains the contents of the \sources\sxs folder from the installation media.
example: D:\sources\sxs
?
It does not work from usb flash? I tried but it did not work ..
radospol said:
It does not work from usb flash? I tried but it did not work ..
Click to expand...
Click to collapse
i am tested usb flash and dvd disk workink good you must run cmd run as administractor
awesome !!
Works perfect on windows 8 professional !
Alimataei said:
not working for X64
Click to expand...
Click to collapse
yes man you are right >>> it also happened to me but i solved the problem
Just i changed the image that i used to another image with another version
Works! Thanks mate.
working good in my win 8 enterprise
FYI : if you have iso files of win 8, just mount it.
Works like the proverbial "Charm" on my WIndows 8 Enterprise where we sit behind an authenticating proxy making Windows 8 Update dang near impossible.
Thanks HUGELY, behnameb7
behnameb7 said:
Many of us are using Windows 8 Developer or Consumer Preview.While using Windows 8 Beta version,sometimes you will get the message to install .net framework,for running those applications which require .net Framework to operate.
But it becomes quite difficult for us to download and install Microsoft .net Framework online.There can be many reason for that.
Know here question arises that Windows 8 comes with pre-installed .net framework application,then why it is asking for re-installation.It is because Windows 8 beta Setup doesn't install the .net
Framework,we have to manually install it.
How to Install / Enable .net framework 3.5.1 in Offline mode
Go on "Search" Option of Windows 8 and type cmd
Now Right click on the "cmd" and if you are using Windows 8 Developer Preview then click on Advanced and after that click "Run as Administrator".If you are using Windows 8 Consumer Preview then after right click on "cmd" click on Run as administrator option.
Insert your Windows 8 Installation Disc in the Drive
Now enter the Following command in "cmd"
Code:
dism.exe /online /enable-feature /featurename:NetFX3 /Source:G:\sources\sxs /LimitAccess
Please note:- Letter "G" in above command is the drive letter in which your Windows 8 installation Disc has been inserted.
Just click Enter button after writing the commands.
Wait for a minute and your .net Framework will be installed.
Click to expand...
Click to collapse
what is the command for x64?
Thanx
$eNt FrØm JeLLy BlA$T 3.4
WaItIn FoR NemESiS...!!
spider623 said:
what is the command for x64?
Click to expand...
Click to collapse
see my post in page 1
Can anyone pls upload their working sxs folder? Coz i don't have any other disc of windows 8 and i will not be able to connect internet on my laptop unless i install the net framework 3.5.
Pls upload your working sxs folder in zip format.
Using windows 8 x64 enterprise.
Alimataei said:
not working for X64
another way : for x32 and x64
1.open run (win key +r )
2.enter: gpedit.msc
3.Expand Computer Configuration, expand Administrative Templates, and then select System.
Open the Specify settings for optional component installation and component repair Group Policy setting, and then select Enabled.
4.If you want to specify an alternative source file, in the Alternate source file path box, specify a fully qualified path of a shared folder that contains the contents of the \sources\sxs folder from the installation media.
example: D:\sources\sxs
Click to expand...
Click to collapse
Hi Bro, its still not working for me, I'm use win8 enterprise x64, can you help me???
anyone who was able to make this work ? if so, can you send me a copy of your SXS folder in 7zip ? this method wont work on my x64 using my disc. my disc may be corrupted. thanks.
Help..!!
Star_Box said:
yes man you are right >>> it also happened to me but i solved the problem
Just i changed the image that i used to another image with another version
Click to expand...
Click to collapse
Can you please explain.
I am unable to get it work on 64bit. Please help.
tausift0 said:
Can you please explain.
I am unable to get it work on 64bit. Please help.
Click to expand...
Click to collapse
Make sure you are running cmd.exe as administrator.
For me has been worked perfect on both 32-bit and 64-bit Windows 8 Professional.
Alimataei said:
not working for X64
another way : for x32 and x64
1.open run (win key +r )
2.enter: gpedit.msc
3.Expand Computer Configuration, expand Administrative Templates, and then select System.
Open the Specify settings for optional component installation and component repair Group Policy setting, and then select Enabled.
4.If you want to specify an alternative source file, in the Alternate source file path box, specify a fully qualified path of a shared folder that contains the contents of the \sources\sxs folder from the installation media.
example: D:\sources\sxs
Click to expand...
Click to collapse
Don't think so, i have automatically installed on x64
Sent from my C6603 using xda premium
BUMP
i've been tried all of oppinion and tips above. but it still not work, here i give my dism.log file https://www.dropbox.com/s/4icchjlla8ffovr/dism.log

BCDEDIT availability

For those looking to use BCDEDIT on their phone, it seems that the restrictions preventing us from doing so exist in the SSH server implementation. If you install the Telnet server and execute BCDEDIT from there, it appears we can at least read the BCD store and enumerate parameters. I have not yet tried to make changes, I am not ready to do so yet. If anyone wants to give it a shot and report back go for it. Careful though, this could result in a brick.
{
"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"
}
http://forum.xda-developers.com/windows-10-mobile/enable-bootshsvc-windows10mobile-t3455357
Thanks to naiple for uploading the files and method to get telnet running at boot
Thanks for sharing but do we have to copy every file in the zip? There are 20 files and it is hard to type.
Op says copy the exe and mui but there are a lot of them and he didn't mention which one we need.
BlueTR said:
Thanks for sharing but do we have to copy every file in the zip? There are 20 files and it is hard to type.
Op says copy the exe and mui but there are a lot of them and he didn't mention which one we need.
Click to expand...
Click to collapse
You will want the bootsh files (dll, mui), enable.bat, enable_bootsh.reg, ftpd.exe, gwptcp.exe,mwstartnet.exe,startup.bsc,telnetd.exe, and telnetlogon.exe to get JUST telnet and ftp working at boot. Follow naiples instructions to get this running.
You could optionally not use the files to run telnet and ftp at startup and just run them as needed, and this may be prudent since telnet does not require credentials to access. Once telnet and ftp are running, you'll have a much easier time copying files across over ftp, like telnet it does not have the same restrictions sftp does.
yochu20 said:
You will want the bootsh files (dll, mui), enable.bat, enable_bootsh.reg, ftpd.exe, gwptcp.exe,mwstartnet.exe,startup.bsc,telnetd.exe, and telnetlogon.exe to get JUST telnet and ftp working at boot. Follow naiples instructions to get this running.
You could optionally not use the files to run telnet and ftp at startup and just run them as needed, and this may be prudent since telnet does not require credentials to access. Once telnet and ftp are running, you'll have a much easier time copying files across over ftp, like telnet it does not have the same restrictions sftp does.
Click to expand...
Click to collapse
All of them are needed, just tried and got error.
I got it working but I'm afraid of trying to write
---------- Post added at 12:16 AM ---------- Previous post was at 12:01 AM ----------
Nope.
BlueTR said:
All of them are needed, just tried and got error.
I got it working but I'm afraid of trying to write
---------- Post added at 12:16 AM ---------- Previous post was at 12:01 AM ----------
Nope.
Click to expand...
Click to collapse
Yeah, I am nervous about writing to the store as well. If anyone decides to YOLO this, please post your results
I decided since I posted, I should give it a try. Seems some values can be edited, notice my bootmenupolicy changed in the new screen. Other values are protected by Secure Boot, which is expected. Good luck!
yochu20 said:
Yeah, I am nervous about writing to the store as well. If anyone decides to YOLO this, please post your results
Click to expand...
Click to collapse
I updated my post and added a screen shot. It says "The process cannot access the file because it is being used by another process"
BlueTR said:
I updated my post and added a screen shot. It says "The process cannot access the file because it is being used by another process"
Click to expand...
Click to collapse
I managed to get a value to update after I saw your updated post, posted the screen after the change. Try it again with the active store, that could be the difference.
I followed the directions by copying the files you said we'll need to their spots but when calling enable.dat I get reg is not recognized as an internal or external command
Edit:
I got it to work but now I get a 10048 error when trying to run ftpd.exe or telnet one
yochu20 said:
I managed to get a value to update after I saw your updated post, posted the screen after the change. Try it again with the active store, that could be the difference.
Click to expand...
Click to collapse
You are right. I did and it worked but there is a problem. I enabled boot menu but I don't have a camera button
If I press the volume up key, phone goes into ffu mode. If I press the volume down key, exclamation mark appears. If I press power key it selects windows loader and disables countdown then just waits.
BlueTR said:
You are right. I did and it worked but there is a problem. I enabled boot menu but I don't have a camera button
If I press the volume up key, phone goes into ffu mode. If I press the volume down key, exclamation mark appears. If I press power key it selects windows loader and disables countdown then just waits.
Click to expand...
Click to collapse
What did you change?
Edit:
Finally got a telnet app to work on my android so here are all the commands for bcdedit :
http://imgur.com/RVQ4HJ2
http://imgur.com/d4ecch0
http://imgur.com/CaS6I6o
http://imgur.com/LosxJ6d
http://imgur.com/GScAoFg
http://imgur.com/Lz6JVby
Warning
Before you do something stupid with these commands I recommend you use a backup windows phone to test these out!! I'm not at fault if anything happens to your main phone
Hmm, @svaethier, what are you talking about (and who cares about your damn android screenshot here?!!)
BCDEdit is a very well documented program. If you not banned on google.com, try to search by yourself!
P.S. The very first link: https://technet.microsoft.com/en-us/library/cc709667(v=ws.10).aspx
P.P.S. Please don't tell me "you are rude and impolite"! Noobs some times are extremely annoying What I suppose to say? "Thank you for the unique info!" ?
sensboston said:
Hmm, @svaethier, what are you talking about (and who cares about your damn android screenshot here?!!)
BCDEdit is a very well documented program. If you not banned on google.com, try to search by yourself!
P.S. The very first link: https://technet.microsoft.com/en-us/library/cc709667(v=ws.10).aspx
P.P.S. Please don't tell me "you are rude and impolite"! Noobs some times are extremely annoying What I suppose to say? "Thank you for the unique info!" ?
Click to expand...
Click to collapse
Well excuse me for providing info to those who may want it without having to google stuff up. Yes you are actually being quite rude, if you have nothing nice to say then just keep your opinions to yourself thanks.
ninjaofbacon said:
What did you change?
Click to expand...
Click to collapse
bcdedit /set {bootmgr} displaybootmenu yes
bcdedit /timeout 15
What if we extract 8.1 ffu on a sd card, and add it to the bootloader menu?
Can we dualboot W10 and 8.1?
I don't think it's as simple as adding another ffu.
svaethier said:
I don't think it's as simple as adding another ffu.
Click to expand...
Click to collapse
I made a vhd file from ffu. It contains the whole WP8.1 system for RM-976 but I need an 8gb sd card since I don't have it I couldn't try.
I would help but I don't want to mess with boot options just yet.
svaethier said:
I would help but I don't want to mess with boot options just yet.
Click to expand...
Click to collapse
I want but I can't. I don't have a camera button so I can't make os selection.
Couldn't we just make the power button os selection somehow?
Is there a way to use this locally, or do I need to use telnet over ssh?

Categories

Resources