shutdown your computer from your phone - Touch Pro, Fuze Themes and Apps

ok so this is a little java app and mort script that i put together so i can shutdown my home computer remotely. this is pretty self explanatory but if you have any questions just ask.
whats included
Shutdown Computers.mscr / Shutdown Computers.exe (put on your pda)
You need to edit the mscr file from notepad and replace in the first line youripaddress with your ip address and port to 101
Shutdown.class
Shutdown.java
Shutdown.bat
(put on your computer)
the default port is 101 but i have included the code so you can mod the port or commands that run. Also the shutdown command is forced jfyi ** Also you need to run the bat file to start the app**

what would i need to do to make this restart the computer instead? and/or put it to sleep?

pyrorob said:
what would i need to do to make this restart the computer instead? and/or put it to sleep?
Click to expand...
Click to collapse
if you look at the code where is says shutdown -s -f -t 01 change that to shutdown -r -f -t 01

RDP soft shutdown works for me

Hey man, I dont know what my I P address is, I cant figure this out.. Need some help Thanks

99banshee said:
Hey man, I dont know what my I P address is, I cant figure this out.. Need some help Thanks
Click to expand...
Click to collapse
goto www.whatismyipaddress.com to find your ipaddress. if you have a router then you need to open up port 101 on your router. if you don't know how to do this then google port forwarding and the make n' model of you router. hope this helps

Ok got the ip address put in and the port to 101 and put them 2 files on my phone and the other 3 on my computer but when i try and do the files on my phone it says There is no application associated ?

yes you need to download mortscript from http://www.sto-helit.de/downloads/mortscript/MortScript-4.2.zip

damn.. thats alot of Sh*t to do

Ok got that on my phone.. Now when I do the shutdown on my phone it says computer shuting down but the computer doesent shut down

99banshee said:
Ok got that on my phone.. Now when I do the shutdown on my phone it says computer shuting down but the computer doesent shut down
Click to expand...
Click to collapse
did you click on the bat file and did you open port 101

Bat file.. you talking about the Shutdown ms- dos Batch file
I opened it and I cant do anything in that window

99banshee said:
Bat file.. you talking about the Shutdown ms- dos Batch file
I opened it and I cant do anything in that window
Click to expand...
Click to collapse
your not supposed to once the window is open then from your phone, as long as the port is open, then you launch the mort script from the phone and it should shutdown your computer. if you want to test it you can, on your desktop type http://youripaddress:port/shutdown in internet explore and your computer should shutdown but you need to have the port open on your router

nope didnt do anything, lol damn i suck at this

99banshee said:
nope didnt do anything, lol damn i suck at this
Click to expand...
Click to collapse
did you open the port on your router

guess not.. did the port forwarding google and looked up my router but it took me to this page https://portforward.com/store/pfconfig.cgi

Im running on a wireless router so i dont know... this might also shut off the other computers in the house.. lol witch would be kinda funny

99banshee said:
guess not.. did the port forwarding google and looked up my router but it took me to this page https://portforward.com/store/pfconfig.cgi
Click to expand...
Click to collapse
what is the model of your router. look at the example i posted

NetGear WGR614

99banshee said:
NetGear WGR614
Click to expand...
Click to collapse
you need to access the router by going to internet explorer and typing in 192.168.0.1 unless someone has changed it and follow the directions from the link
http://portforward.com/english/routers/port_forwarding/Netgear/WGR614/default.htm

Related

File Transfer App Request

Does anyone know an app that I can connect to my computer Or any phone/computer on my network and view its shared files that I can send to my phone? think of a file browser but on shared files over my network
or maybe connect to my pc via ip but still be able to transfer files over to my phone
i have one to remote my pc from my phone and ect but not get files off of it
Discover or Discover Pro is what you're looking for, I believe. =P
amgupt01 said:
Discover or Discover Pro is what you're looking for, I believe. =P
Click to expand...
Click to collapse
Thanks, Does anyone know if it will work? as if can i log into my pc and copy anytype of file to my phone?
If you run an FTP server on your PC, you can use one of the FTP clients available on the Market to connect.
I do this all the time and it works well. I have not tried Discover, but I don't have shared files on any of my home PC's either.
FTP
Here is the .apk
<Edit> sorry I had to remove apk(s) I added the faid version of an app in there too.
Thanks bro
Sorry For double post but I have some problems and question
1)even tho i downloaded it via apk can it still get updates
2)at first it worked i could access my phone from pc BUT!! how do i access my pc from my phone?
3) I never touched any settings but when i type in the address and port it gives me in my browser the webpage has the discover pro icon..but page is black and it did not happen before
can anyone help me/
Anyone out there can help me?

Mount Hero on a wireless network

Hello folks, ive had a scout around but haven't found any answers,
Is it possible for me to mount my Hero via an app etc, onto a wireless network, so I can push files to it OTA?
(only locally, doesnt need to be able to do so when on a different network or 3G)
Jim
slimjimwoods said:
Hello folks, ive had a scout around but haven't found any answers,
Is it possible for me to mount my Hero via an app etc, onto a wireless network, so I can push files to it OTA?
(only locally, doesnt need to be able to do so when on a different network or 3G)
Jim
Click to expand...
Click to collapse
Might just be because you are wording it as "mount" you need to tether your phone over wireless? search for wireless tether on the forums.
Try Websharing.
if you use mcr you can use scp, also rsync is available for the hero. if you don't know what i am talking about this is probably not the right solution for you (geeky linux commands involved...).
SSH works for me
thanks for these suggestions guys, i am in no way Linux affiliated, so it looks like Websharing all the way, might have to purchase the full version tho
If i was to start looking into Linux instead, would that allow me to see my phone as a simple networked drive?
G8D said:
SSH works for me
Click to expand...
Click to collapse
Im experienced with doing this on iPhone, whats the process for the Hero?
slimjimwoods said:
Im experienced with doing this on iPhone, whats the process for the Hero?
Click to expand...
Click to collapse
- get a rom with dropbear (mcr for example) or install dropbear in your rom
- for mcr find your password in settings -> about phone
- find your ip address whichever way you want (about screen, wifi router, adb shell ifconfig)
- continue as you're used to
thats brilliant, thankyou- I am on MCR 3.1 which is handy =]
right, im probably being thick, ive discovered the Hero is using port 2222, and discovered my ip and password, but the username for the device? Im almost there......
slimjimwoods said:
right, im probably being thick, ive discovered the Hero is using port 2222, and discovered my ip and password, but the username for the device? Im almost there......
Click to expand...
Click to collapse
You don't need a user name.
Generally the name will just be the name you want to give the preset within your SSH program.
I use WinSCP and all you need to enter is the IP, the port (2222 as you said) and the password within the About Phone section of the settings app.
Also, you need to connect via SCP and not S/FTP.
that'll be it then, i was using a mac and some free program that would only let me FTP, I'll wait until i get home and find something a bit better, thanks for your help-
slimjimwoods said:
right, im probably being thick, ive discovered the Hero is using port 2222, and discovered my ip and password, but the username for the device? Im almost there......
Click to expand...
Click to collapse
sry forgot to mention the port... you can set the username in /system/bin/dropbear.sh, but actually it doesn't change anything. you set the userid=0 and are root, that's it.
a new app just got released called Onair that mounts the SD as a network drive, perfect
i use webshare in the market its brillent

Online server

hey guys i was wondering if i could convert a external hard to a online storage or something
like i have a 1.5 tb hd...i already have one for my needs and this one is just lying in dust so thought if i could make some good use of it thank you
you might hav to load some form of OS,
Windows Server 2003 / 2008
or Linux Cent OS
Or you can connect it to your computer and set up FTP server.
For example the FileZilla server for windows.
Don't forget to set up user password and path to your hard drive. You can transfer files between computers easily. Also you can set up port forwarding for FTP on your router so you can access the files from internet. Beware that data is not encoded during the transfer and can be seen by hackers.
P.S. I used to send hundreds of photos to my friend though the internet without compression.
Alexander-HTC said:
Or you can connect it to your computer and set up FTP server.
For example the FileZilla server for windows.
Don't forget to set up user password and path to your hard drive. You can transfer files between computers easily. Also you can set up port forwarding for FTP on your router so you can access the files from internet. Beware that data is not encoded during the transfer and can be seen by hackers.
P.S. I used to send hundreds of photos to my friend though the internet without compression.
Click to expand...
Click to collapse
Thanx but how exactly do i do it?
Simon_WM said:
you might hav to load some form of OS,
Windows Server 2003 / 2008
or Linux Cent OS
Click to expand...
Click to collapse
thnx
10 char
Diamond_dawg said:
Thanx but how exactly do i do it?
Click to expand...
Click to collapse
Er....
go to Filezilla Download - you can run it locally running on ' 127.0.0.1'
also try - http://www.youtube.com/watch?v=PEQQFkoZGaI&feature=fvst
Or, you can send that nice hard drive to me. PM me!
Keegan_P said:
Or, you can send that nice hard drive to me. PM me!
Click to expand...
Click to collapse
Dude, the guys wants to make a Server - not sell his HDD
Simon_WM said:
Dude, the guys wants to make a Server - not sell his HDD
Click to expand...
Click to collapse
thanx for that
Not sure how this would work as I have not tried it, nor do I have what I am going to suggest.
How about putting it into a NAS, that way you should also be able to open the ports to access online? That way you don't need all this server stuff?
captainstu72 said:
Not sure how this would work as I have not tried it, nor do I have what I am going to suggest.
How about putting it into a NAS, that way you should also be able to open the ports to access online? That way you don't need all this server stuff?
Click to expand...
Click to collapse
Sorry but i'm a bit noob can u explain what is NAS?

[Q] Htc Hd7 as a USB drive.... Now What?

I managed to follow the instructions found at knowyourcell.com about turning your HD7 into a USB drive... It will open and read as a drive, but I can't transfer or read anything... Help would be appreciated. I am a noob so please take it easy on me.... What now? How can I open it up?
Instructions:
1. Open Windows Registry Editor by typing regedit in your start menu
2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB
3. Perform a search for ZuneDriver
1. The search should yield a result similar to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_045E&PID_04EC&MI_00\6&27ffd631&0&0000\Device Parameters\WUDF
4. Click up one level to the Device Parameters key
5. Change ShowInShell from 0 to 1
6. Change PortableDeviceNameSpaceExcludeFromShell from 1 to 0
7. Change EnableLegacySupport from 0 to 1
8. Change EnableDefaultAutoPlaySupport
Thats what i saw in my Explorer.
Tried to cpy a mp3 file into Music, that did not work.
After a restart of hd7 i came only to the level Storage - no sub folders are visable any more now.
And even with my first attempt i had now folder for movies. May be as i do not have any movie in devices storage?
Now everything works fine.
It did'nt work, as there was a filtransfer by zune on his way to the phone. And even killing zune on pc blocked the storage card.
-So edit the registry as mentioned above
-connect your hd7 via usb to pc
-zune starts now
-kill all zune transfer processes
-kill zune
-go to your windows explorer
-you can copy and past media files now.
unfortunaly the office hub is not visable by this procedure.
But i think we are not far away do find out in very near future.
nice! thanks for this. it works.
Sweet!! Got it to work!! Thanks for the help HUMS... Now what? Is there any way to mod up a Ringtone folder? I tried putting in a WMA ringtone and added the folder but no dice... Any suggestions?
great. it works... thanx!
z31k said:
Sweet!! Got it to work!! Thanks for the help HUMS... Now what? Is there any way to mod up a Ringtone folder? I tried putting in a WMA ringtone and added the folder but no dice... Any suggestions?
Click to expand...
Click to collapse
sorry m8 - no idea.
For the moment only copy and paste available for media data.
As every program has its own hub.
Hi all, I'm getting a little frustrated with my HTC HD7. I installed Zune, but it wouldn't recognize my phone (it keeps saying "connect device") and I changed the registry as mentioned above also but whenever I plug the phone in, nothing happens and it changed all the registry values back to what it was before. Also the computer keeps failing to install the phone. Anyone with any helpful info help please? thanks.
-on a side note, i'm running windows vista
hungboii said:
Hi all, I'm getting a little frustrated with my HTC HD7. I installed Zune, but it wouldn't recognize my phone (it keeps saying "connect device") and I changed the registry as mentioned above also but whenever I plug the phone in, nothing happens and it changed all the registry values back to what it was before. Also the computer keeps failing to install the phone. Anyone with any helpful info help please? thanks.
-on a side note, i'm running windows vista
Click to expand...
Click to collapse
have you checked your USB cable or your USB port on PC?
hums said:
have you checked your USB cable or your USB port on PC?[/QUO
Yes I have; I have 6 USB ports and tried all of them. My wife's iphone and my HTC HD2 connects perfectly to the computer. When I plug in the HD7 however, it takes a charge, and windows will try to install it, then says "installation failed" and thats it. I wonder if its problem with vista, with everyone that is successful at connecting their devices, anyone on vista?
Click to expand...
Click to collapse
I'm running windows XP...
What is the point to copy media files to your phone via rather complicated way if you can do it simply by the Zune?
Not that simple
homer.web said:
What is the point to copy media files to your phone via rather complicated way if you can do it simply by the Zune?
Click to expand...
Click to collapse
Sorry but really is not that simple with zune or may be we the users can not understand how to copy folders with zune so can you tell us how simple it is .
Yellowarmadillo said:
Sorry but really is not that simple with zune or may be we the users can not understand how to copy folders with zune so can you tell us how simple it is .
Click to expand...
Click to collapse
OK. Lets split it to two issues:
1. you want to copy media files (Music, video, photos) to and from your phone
Use mouse and drag and drop what you want to sync with your phone. Its so simple.
2. you want to copy any other types of files to and from your phone
Its pointless, because files will NOT be vissible to WP7 and if you want to move files from A to B, than use what is more appropriate and designed for this purpose, like this: http://en.wikipedia.org/wiki/USB_flash_drive#Uses
homer.web said:
OK. Lets split it to two issues:
1. you want to copy media files (Music, video, photos) to and from your phone
Use mouse and drag and drop what you want to sync with your phone. Its so simple.
2. you want to copy any other types fo files to and from your phone
Its pointless, because files will NOT be vissible to WP7 and if you want to move files from A to B, than use what is more appropriate and designed for this purpose, like this: http://en.wikipedia.org/wiki/USB_flash_drive#Uses
Click to expand...
Click to collapse
homer.web. He speaks the Truth.
homer.web said:
What is the point to copy media files to your phone via rather complicated way if you can do it simply by the Zune?
Click to expand...
Click to collapse
I wanted to try this method because zune was in no way connecting to my hd7. I found the problem though. its my operating system. i plugged it into my laptop running windows 7 and it connected perfectly.
Did the required registry edits but unable to view any folders inside the Storage device on the computer, both computer & zune detects the phone though. Need to transfer a .cab file for installation of Satguide.
Would be great, except for the fact that wp7 doesn't use .cab files, only .xap files.
Sent from my HD7 using XDA Windows Phone 7 App
devinwy83 said:
Would be great, except for the fact that wp7 doesn't use .cab files, only .xap files.
Sent from my HD7 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Wow! thats sad, so is there anything that we can do get it to read .cab files
no there isnt
wp7 isnt simular to windows mobile 6.5

[XAP] Functional Webserver

I've enhanced my Webserver sample to support reading from the device (where allowed), as well as reading/writing IsolatedStorage
The XAP is located in the Webserver project.
To access the webserver, open the app on your phone (it will disable the idle timer and run behind the lock screen--but WiFi will turn off, so you'll want to be connected via USB or don't let it sleep)
//phone_ip/IsolatedStorage
//phone_ip/Windows
IsolatedStorage is a special case (virtual directory that uses the SDK IsolatedStore APIs), the filesystem is mounted at the root of the webserver. Note that if you navigate to //phone_ip/, you will not see anything, as we are not able to list the contents of the root directory.
I am working to create a real socket library that mimics System.Net/.Sockets, and System.IO for file access. TcpClient and TcpListener are in a mostly functional state already.
Most of the socket and I/O code came from jmorrill. I have pulled code from mono to mimic System.Net.
Perhaps I'll spend some time on the web UI next, maybe a fancy Silverlight uploader. There doesn't seem to be a ton of interest though, so we'll see.
Update ("v2"):
- Authentication
- UI
- Adapter list
- More reliable
nice.. will try it out.
Very nice! Thanks!!
I've updated the sample to one with a UI, Authentication and more reliability.
Looking at your code WP7 looks more and more like a normal windows CE with a secured UI.
Yeah, I think someone with a strong WM background could port code to [native, homebrew] WP7 pretty quickly. Pretty much everything works just fine.... I just wish we could add the System.Net .NET CF assemblies back to the GAC. :/
davux said:
I've enhanced my Webserver sample to support reading from the device (where allowed), as well as reading/writing IsolatedStorage
The XAP is located in the Webserver project.
To access the webserver, open the app on your phone (it will disable the idle timer and run behind the lock screen--but WiFi will turn off, so you'll want to be connected via USB or don't let it sleep)
//phone_ip/IsolatedStorage
//phone_ip/Windows
IsolatedStorage is a special case (virtual directory that uses the SDK IsolatedStore APIs), the filesystem is mounted at the root of the webserver. Note that if you navigate to //phone_ip/, you will not see anything, as we are not able to list the contents of the root directory.
Click to expand...
Click to collapse
Noob questions: It says "connect to your wifi address below". How? Also, connect the phone or the pc? And navigate via IE mobile?
As I said, noob questions. Thanks for any help.
start ie and type in http://wifi address
I have found on alternateboot.reg
HTML:
; Disable MTPz USB function driver
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\CompositeFN]
"ClientDriverList"=multi_sz:"Serial_Class"
What is MTPz USB function driver?
ajhvdb said:
start ie and type in http://wifi address
Click to expand...
Click to collapse
... which gives me the ever-popular "cannot find server or DNS address". What am I doing wrong? I assume you meant IE on my phone.
piaqt said:
... which gives me the ever-popular "cannot find server or DNS address". What am I doing wrong? I assume you meant IE on my phone.
Click to expand...
Click to collapse
I think (might be misreading your question), you'll need to plug your device in to USB (or be prepared to loose the connection), then on your desktop, go to one of the IPs listed (in IE or any other browser).
On the screenshot shown, WiFi is the last one, with "BCMSDDHD1" attached to the label, thought the device name may be different for you. Try one that has "192.168.1." as that'll be the most likely option.
l3v5y said:
I think (might be misreading your question), you'll need to plug your device in to USB (or be prepared to loose the connection), then on your desktop, go to one of the IPs listed (in IE or any other browser).
On the screenshot shown, WiFi is the last one, with "BCMSDDHD1" attached to the label, thought the device name may be different for you. Try one that has "192.168.1." as that'll be the most likely option.
Click to expand...
Click to collapse
Thanks. Next noob question: It asks for a user/password. What do I use and or where do I set it?
piaqt said:
Thanks. Next noob question: It asks for a user/password. What do I use and or where do I set it?
Click to expand...
Click to collapse
I don't know what the default password is, but if you type admin/admin in on the device for user/pass that works fine.
EDIT:
Code:
// In order to secure the device, the default password is a random number, not a static default
So you'll need to change it, unless you can read minds
l3v5y said:
I don't know what the default password is, but if you type admin/admin in on the device for user/pass that works fine.
EDIT:
Code:
// In order to secure the device, the default password is a random number, not a static default
So you'll need to change it, unless you can read minds
Click to expand...
Click to collapse
OK. admin/admin works. Next nq: I get "Error opening directory:O". Is there a specific path to enter?
piaqt said:
OK. admin/admin works. Next nq: I get "Error opening directory:O". Is there a specific path to enter?
Click to expand...
Click to collapse
Try 192.168.1.XX/Windows and that should work.
l3v5y said:
Try 192.168.1.XX/Windows and that should work.
Click to expand...
Click to collapse
Ba-da-bing! We are in business.
this works great! does this work just over USB? I assumed that since I didnt see an SSID advertised that the webserver wasn't broadcasting over WiFi.
A few feature suggestions:
* Make it clearer in the device UI to use the last IP address. I had assumed I would use the SERIAL ON USB IP address
* When browsing files, show a detail view so that you can see date/time modfied, type (optional), size
* when in a subdirectory add an Up ellipsis (...) to more easily walk back up the directory tree.
* be able to filter a directory listing so that you can display just certain file types (ie *.exe)
* Be able to download files
I love it! Its handy to be able to get a file listing that you can copy so that you can capture file listings.
Scratch the suggestion to add downloading files, the filenames are of course URLs which enable http downloads
I found a bug. When you click on a file to download it the href seems to have an issue since the file extension is stripped. You can easily add it during the save but it would be easier to have that done by default. I need to check the syntax but for example for filebrowser.exe the html is:
FileBrowser.exe<br />
This was handy so that it was possible to download an EXE and see what certificate is used for signing.
It looks like if you press Back or Start the webserver shuts down or is tombstoned.
I wonder if anyone has come up with a way to keep an application from being killed.
If that was possible then the webserver could provide active control. In that case if it was running in the background a great feature to add would be a screen capture function.

Categories

Resources