Is it possible to emulate Ctrl Key on the Universal? - JASJAR, XDA Exec, MDA Pro General

I use PocketPuTTy to access my Linux box at home. However, the absence of a Ctrl Key on the Universal severly limits the possibilities. For example: I want to use btdownloadcurses to download a torrent on the box at home. I want to check in periodically, to see how the dl is doing. So what I'd like to do is ssh in, start the download, then dettach the screen (Ctrl-a d) and log out. I could then log in again at any time and use screen -r to reattach and check the progress. Or also just for simple Ctrl-c when I messed up something.
Is there a way to do this?

Yes it is:
http://forum.xda-developers.com/showthread.php?t=249037&highlight=ctrl

Related

Remote Shutdown of PC from WM5?

Does anyone know of a freeware program that can remotely shutdown the home PC from a Wifi network? I found a free Wake-On-LAN program and I can turn on my computer from anywhere in my home with it, but I don't have the means to turn it off. Thanks.
Using a VNC client on your phone and the server on your pc you could remote in and shut it down as if you were in front of it.
Hmmm, call me ignorant but I just wonder what putpose does it serve? If it is a home network and your house is not as large as CENTRAL PARK New York you should be able to actually walk to your computer and shut it down instead of sitting room next door and do it from there!
How much more lazy the human race can get?
Junner2003 said:
Hmmm, call me ignorant but I just wonder what putpose does it serve? If it is a home network and your house is not as large as CENTRAL PARK New York you should be able to actually walk to your computer and shut it down instead of sitting room next door and do it from there!
How much more lazy the human race can get?
Click to expand...
Click to collapse
note that he mentioned swhithing a pc on using wake on lan - thats why he mentioned his house - lan limitation. the real purpose of what he looks for would be turning your pc off while being away.
Curious D: i didn't hear of any app written especially for this, but for example emule can do it. if you use emule on your home pc - try checkin out it's mobile client - mobiemule - a java applet that lets you manage your downloads as well as turning your pc off. if it's not suiteble for you, i would suggest setting up apache server with a special php code on it, execing an app to close windows and then using your phone browser to access this php code. a bit of a workaround but in my opinion the easiest. (i used to controll winamp this way
This might be a solution! I did not digg in to it because of such tasks are not interesting to me but I am sure you can do what you need to do with it:
http://www.microsoft.com/windowsxp/using/networking/expert/bridgman_02june10.mspx
it's another option, yes it is possible but not very handy. i know setting up apache or any other web server is not very handy task neither. i would just code a simple app for desktop pc that would listen on telnet port and after receiving specified command would shut windows down. maybe even code a simple version of "web server" so it would be accessed using web browser? huh, i'll try in my spare time ;]
:update:
i could wrap up an application that would sit launched at your pc and listen for a connection. you would have to open a web browser (not only at your phone, it could be anything computer like and browse for an adress like:
http://your.ip.address:some_port/specific_command
to force my application to perform any action. it could be shutting down your windows or anything else.
note - it requires you to have a public ip address, and you would have to forward some_ports for it in your lan - just like any other serverlike application. would you be interested? it is quite easy so i can do it for you. cheers
Thanks for all the replies.
Raceit: I thought about VNC, but my VNC program incorporates an RC4 encryption which isn't supported for the WM5 platform at this time (at least I couldn't find any. This would be the ideal situation since then I can control my computer from my phone to do some simple operations. (I can do this already with my laptop, but it takes a long time to start up whereas the phone is fairly immediate)
Banannq: No no...Junner2003 is right. I AM lazy. I'm actually looking for it because there have been some nights that I remembered I forgot to shut down the computer and when you are in bed, you don't really want to go across the house to shut something off. I'm a light sleeper and when I wake up, I think about stuff. The idea that you had is over my head. Thanks for the offer for setup, but it seems I would have to open my firewall which I would rather not do. Again, thanks.
Junner2003: Thanks. I'll look into that link from Microsoft.
Curious D: too late mate, i already did the base of program ;]
now i can only finish it ;] it receives a message from a www browser and all i need to do now is to make it respond with an action, which is quite easy job - i'll add a procedure of shutting windows down and i'll upload it somewhere this evening. if you want it, you can get it, if you prefer not - no problem. for me it was a good oportunity to code something new ;]
forget evening. it's done. remember it is very simple...
so you need to launch included exe file on your windows machine. i tested it on xp, it should also work on older OS's, but i cannot be sure.
as i said - if you have lan at your home (and probably you have if you use your phone to connect to wifi) you need to access your router menu to allow connections to the pc my app is running on. depending on manufacturer it is done a bit different but still quite simple. you need to find a function called "port forwarding" and set up a new rule. You allow traffic to "your pc ip number" on "99" port (thats my app specification). you basicly need to allow traffic via tcp, but can be also tcp+udp
when it's done thats it.
providing that the programm is running, you can first try opening you pc's browser and type a specified url in your browser:
http://localhost:99/hello_world
you should see "/hello_world" message in return.
you can then try
http://ip_address:99/some_message
your ip can be checked by typing "ipconfig" in command line (windows_start>run>cmd) on your pc.
then you can do the same on your phone : http://your.pc.ip.address:99/message
if it works it means that everything is ready to go. then go:
http://your.pc.ip.address:99/shutdown
and that should do the magic.
i hope it's quite clear for you, if not - please ask. i'll try to help you if you think my program would be worth it ;]
i hope you like it
Wow. That's really cool. Thanks. I'll look into it more on my next day off. (Schedule's a little wacky, but it brings food to the table) Thanks again. Out of curiosity (not asking for more because you have already been very generous with your time and effort), can something be set up without port forwarding? If it is within a home network, can something be setup like VNC (without the remote desktop) simply to shutdown a computer within my own Wifi network?
Yes, should be possible either if you use STATIC IP ADDRESSES (which is always a problem if you have a linksys router) or just via computer name in the network: " \\MyComputerName " (you will have to turn file sharing in for that!)
Cool. I'll try it soon. Thanks again.
Curious D said:
Does anyone know of a freeware program that can remotely shutdown the home PC from a Wifi network? I found a free Wake-On-LAN program and I can turn on my computer from anywhere in my home with it, but I don't have the means to turn it off. Thanks.
Click to expand...
Click to collapse
Can you please post the free Wake-On-LAN app that you have??
sorry guys, i didn't have time to post anything sooner - had a terrible day with my wizard - 4 hard resets and finally rom upgrade :/ huh, looks good now...
anyway - i didn't code anything that would communicate through windows network neighbourhood - it sounds like an interesting idea, but i dont think i could be able to accomplish any success here very soon ;] sorry.
freeyayo50 said:
Can you please post the free Wake-On-LAN app that you have??
Click to expand...
Click to collapse
Here you go...
http://www.modaco.com/index.php?showtopic=240773&mode=threaded

Full WM6 or 6.1 on Shift

Everyone,
This is one of my first posts. I have been reading the threads on this and cannot make heads or tails of what's going on. I have a Shift for eval purposes and after playing around with it, I think it's a pretty amazing device. HTC has crippled the phone capability in the US versions because they haven't certified it for voice use with the FCC yet. If we can access "file explorer" and some of the other features of WM6, I think a lot can be done to modify it or even to use it for voice. Has anybody made any headway as far as a new ROM that enables all of this functionality?
No
nobody has yet developed the crack. The reason is because nobody has the machine yet. Can u comment a bit about the battery life. Is it very disappointing?
well, now that several people actually have the device in-hand, could somebody please confirm that the ability to expose full WM6 exists as described by Pawel062:
Pawel062 said:
hmm dont really understand the last part about snapvue. the snapvue for athena is snapvue from shift with a small mod to re enable the softkeys and start menu. it will work on shift and also re enable the soft keys and start menu making the shift's wm6 "Full" again
Click to expand...
Click to collapse
This is the only thing holding me back from ordering one myself!
This is the only thing holding me back from ordering one myself!
Click to expand...
Click to collapse
Me too!
So Any luck running/installing any other programs on SnapVue?
greetz,
Pfeffa-rah
what about athena projects rom? that rom is actually from shift right?
snapvue is actually a today plugin pretty much. it hides the soft keys and start menu of the original wm6. then from the plugin u have access to messaging, settings, and other basic stuff.
this is ment so u use vista but with only 2hrs max battery on vista many people would like to use the less power hungry wm6. i am working with paul from modaco.com on re enabling the full wm6 by putting a modded dll that will unhide the start menu. after that ull be able to get into file explorer and get a reg editor to re enable the soft keys.
heres the challlenge:
--no usb port like regular htc phones to sync the shift and get the dll on their. only usb host
--no bluetooth in snapvue/wm6 side
--no wifi in snapvue/wm6 side
--no ir in wm6 side
--vista device central doesnt see the wm6 side
--cant save files from email to windows folder
and i cant remember now the other blockades. i will continue working on it though.
Seems like that there is some kind of file transfer, it uses it when you install a certificate in shift control center, but how to crack it open or replicate the process for other files, and then execute the file on snapvue site ....
Think its time for a "taskforce thred" where all info is posted so everyone can work on it.
Sounds a lot more difficult then I first imagined....
(No BT??? OMG! had no idea!)
Sounds like I have to be a bit more patient...
This doesnot sound like it´s gonna be solved in a couple of days....
It´s great that you´re workin on it guys!
greetz,
Pfeffa-rah
thanks Pawel062, I appreciate your efforts in trying to find a way to get this to work!
Just saw if you edit a contact and then try to attach a picture, you can browse the WM6 folders.
Unfortunately you can only see the pictures, because it's using the picture manager from HTC..
Silly thought: The miniUSB connector on the dongle formally is only meant to provide additional power to devices that otherwise would not be detected (External Harddrives etc). Would it be a silly thought to assume that the same miniUSB port could somehow allow us to access the SnapVue part? The miniUSB port is located at the back next to the cable leading back to the Shift.
I hadn't even noticed that.
I just plugged mine in for the first time, the only drivers Vista installs are for a Generic USB Hub and a USB to Ethernet Adaptor. There doesn't seem to be anything else hidden in there.
If anyone needs anything tested on a shift dont hesitate to ask. Full WM6 functionality would be greatly appreciated and would turn snapview from a gimick into a usefull tool.
OK so thanks to Michael who commented on Browsing using Contacts and Pictures, I managed to gain access to the Windows Mobile File Explorer and other software on the device.
First step is to create a new email.
From the menu Insert - Picture.
Using the browse capability go to the Windows folder
Locate Start Menu and press Ctrl C
Browse to Settings
Press Ctrl V
Go to Snapvue homescreen and goto Settings
Start Menu will be visible and you can then access File Explorer etc.
Hope this helps....
Excellent. I have sent myself the executable of PHM.lu's regedit, saved it into my documents, and am now able to access and edit the registry!
Wiz said:
Excellent. I have sent myself the executable of PHM.lu's regedit, saved it into my documents, and am now able to access and edit the registry!
Click to expand...
Click to collapse
Great! Any possibilty to enable blocked things like office or is it not installed?
Also in my limited investigations, I have managed to almost access Windows Vista from the Windows Mobile side.
Using Resco's Explorer with its Network Access functionality, I performed the following.
Under Windows Vista, run the ShagCtrl application.
Install a Certificate, this can be any file you like.
You will see the progress bar appear and drop up and down. If you listen you will hear the sound of a new device being added.
Do NOT click OK when prompted as this will remove the device.
If you load up Device manager, you will see an "NDIS shared Internet connection" (or something similar) appear under network connections.
If you open CMD and run an IPConfig, you will see that this connection has an IP Address of 192.168.160.102 and a gateway and DHCP server of 192.168.160.1.
From the Windows Mobile side, load Resco Explorer and goto Menu - File - Network - Map Drive
In the dialog that appears, you should see Computers near Me (or similar) and under here should be your Vista machine.
If you share a drive, or select the Vista computer and put \c$ on the end, it should try to connect.
This is as far as it gets me so far. Was a late one, but I couldnt get it to actually connect.
So close yet so far.
In Addition, if you try to run a cab file it will error. This is because HTC have remove the Open command file association for Cab files.
Using your favourite WM registry editor goto HKEY_CLASSES_ROOT\Cabfile\Shell\Open\command\.
Under Default type
wceload.exe "%1" /nodelete
cab files will now install correctly.
Hope this helps...
Hi,
I ama anew user of Shift. I am did not understand clearly what did you mean about full WM6 or 6.1. Knows somebody how can we have a full WM6 on it? Pls help me I really need a full WM6 system also.
Thx.
Ok, so I've accessed the Start menu using Vs1979s instructions, and I've found that Windows Live messenger is on the device and works ok. I'd like to try and install Opera, but I need a registry editor that isn't a CAB file in order to add back in the registry key to support CAB files - can someone point me in the direction of one?
Thanks,
Dave
Vs1979 said:
Also in my limited investigations, I have managed to almost access Windows Vista from the Windows Mobile side.
Using Resco's Explorer with its Network Access functionality, I performed the following.
Under Windows Vista, run the ShagCtrl application.
Install a Certificate, this can be any file you like.
You will see the progress bar appear and drop up and down. If you listen you will hear the sound of a new device being added.
Do NOT click OK when prompted as this will remove the device.
If you load up Device manager, you will see an "NDIS shared Internet connection" (or something similar) appear under network connections.
If you open CMD and run an IPConfig, you will see that this connection has an IP Address of 192.168.160.102 and a gateway and DHCP server of 192.168.160.1.
From the Windows Mobile side, load Resco Explorer and goto Menu - File - Network - Map Drive
In the dialog that appears, you should see Computers near Me (or similar) and under here should be your Vista machine.
If you share a drive, or select the Vista computer and put \c$ on the end, it should try to connect.
This is as far as it gets me so far. Was a late one, but I couldnt get it to actually connect.
So close yet so far.
In Addition, if you try to run a cab file it will error. This is because HTC have remove the Open command file association for Cab files.
Using your favourite WM registry editor goto HKEY_CLASSES_ROOT\Cabfile\Shell\Open\command\.
Under Default type
wceload.exe "%1" /nodelete
cab files will now install correctly.
Hope this helps...
Click to expand...
Click to collapse
How did you load Resco Explorer on Snapvue?

[Q] Milestone 2: Physical Keyboard £ Writes $

I have just got my UK Milestone 2, the language / locale is set to English (UK), however on the physical keyboard when I press the £ key a $ is written.
Can anyone help?
Me too. The euro symbol doesn't seem to work either.
I am liking the Milestone 2, but there are a few things that don't seem quite right.
One of the oddest is if I type 22 on the dialer (as if I was searching for somebody who's name begins BA), then the dialer shuts. [EDIT - I found out that this is due to a Facebook contact having a non-numeric phrase in their mobile phone number field]
The other problems seem related to contacts - I get errors if I try and get gMail to sync (related to the use of CompanionLink, perhaps?), and I find that eMail sometimes misses some messages if I use a POP3 collator program I wrote (which worked fine with Outlook and Windows Mobile as the client). [EDIT - Yep, looks like it was CompanionLink that was causing the gMail sync error. Changing to gSynchIt, and using gMail to sync contacts works like a dream]
I'll get in touch with Motorola tomorrow and ask them about the pound sign.
Cheers,
Steve.
I got in touch with Motorola, and they are meant to be getting back to me. However, doing a bit more research myself, I can see that our keyboard is being mapped as if it's the "Groid 2 Global", and the € symbol is actually a tab, and the $ sign is where the £ sign is as you can see on the picture on this page: http://www.engadget.com/2010/11/19/motorola-droid-2-global-hands-on/
I suspect this is going to require a patch from Motorola, unless there's a keyboard re-mapping app?
Cheers,
Steve.
I tried to look for some key mapping files, however appears I need to have SU access and I've not rooted my phone yet so can't check the contents of the files. Will have to wait until Motorola fix it.
badboy4life said:
I tried to look for some key mapping files, however appears I need to have SU access and I've not rooted my phone yet so can't check the contents of the files. Will have to wait until Motorola fix it.
Click to expand...
Click to collapse
Yeah, I suspect you are right.
Will keep you posted if/when I hear back from Motorola.
Cheers,
Steve.
The fix for this is fairly simple on a rooted phone. (Rooting is straightforward using z4root.)
Copy /system/usr/keychars/umts_milestone2-keypad.kcm.bin to your PC, and keep a backup somewhere safe.
Grab kcmutils.zip from this link (you'll need Python installed); run unkcm against the kcm.bin file to provide you with an editable version of the file.
Each key can be assigned either a printable character (enclosed in single quotes) or a Unicode key number in hex notation, for base (no modifiers), shift, alt, and shift-alt. Shift-alt combinations seem to have no effect for me. The unicode for £ is 0xA3, and € is 0x20AC. The hardware key for Euro is called TAB in the .kcm file.
Note, though, that the currency popup you currently get by holding the £ key only appears when the $ character is held down. I've mapped $ to Shift-Euro to retain the ability to access the $ sign and the other currencies on the popup.
Once you're done editing, run kcm against the kcm file to regenerate the kcm.bin file, transfer it to the phone, put it in system/usr/keychars (you'll have to remount /system rw) and reboot.
This worked just fine for me, but follow this process at your own risk!

Looking for a SideSync alternative

I was going to install SideSync until I read their license agreement. It basically agrees to let you use it if they can sell your personal information to anyone who wants it. What are the best alternatives?
Thanks!
IT_Architect said:
I was going to install SideSync until I read their license agreement. It basically agrees to let you use it if they can sell your personal information to anyone who wants it. What are the best alternatives?Thanks!
Click to expand...
Click to collapse
The answer is, MyMobiler. I found a way to make MyMobiler rock solid, which was always the problem with that app, but it doesn't give away your personal information. The problem is, newer Windows versions do not have a full implementation of ActiveX, which is why it works so much better on XP. The cure is to do an install of SideSync on the PC side first. After you finish and reboot, uninstall SideSync. THEN set up MyMobiler according to the instructions on their web site. Things don't always go the way the instructions say, but once done, it is solid as a rock. You can even set it up to autoconnect when you plug in the USB cable to your PC. Then it just becomes a little icon you press and your phone is on screen. If you are wondering why when you are working on your phone you cannot get the keyboard to come up, it's because it's up on your screen and expects you to use your PC keyboard, which is why you might not want to set autoconnect to on, on the PC side. It also lets you connect via IP address. HOWEVER, there is a fly in the ointment. MyMobiler is an older program, thus it does not support IPV6. All new devices are IPV6. Thus, the only place this feature works in the real world is on an internal network. You will have to learn the keystrokes for the back button, home button, etc., but that's about it.
Enjoy!
HI,
You may well try Vysor(An easy install Chrome app)
"http://www.vysor.io/"

[GUIDE] how to install Linux for newbs

Hi all--
As the posting suggests I am going to write a tutorial on how to install Linux on your OPO
I scoured the internet and (albeit my scouring sucks) could find very little in regards to installing Linux on the OPO (though multirom may have support for it some day, it currently does not). I got this from reading several how to linux pages which didn't work for me until I fiddled around with it.
I am taking a networking class for my CCNA and needed a cisco emulator, but there are none available for android, and I stubbornly refuse to buy a new laptop because I think a phone with a 2.8Ghz quadcore hooked up to my keyboard and miracast should suffice for ALL computing needs.
Benefits of linux/ubuntu:
have many more resources available (most software has a Windows/Mac/Linux build but not always an android desktop environment (or even an app for some software).
some things that I use it for:
GIMP
GNS3 (a cisco router emulator)
Requirements:
Internet, ~4GB+ of space, ROOT!
Apps:
Linux Deploy
androidVNC
Steps:
1.
Install apps
2.
open Linux Deploy
DO NOT CLICK START YET
open the settings (either the funny download button, or by opening menu to settings)
choose your distro (I used debian wheezy, and also ubuntu trusty successfully)
I don't change any of the default directories here (I had trouble when I did, though installing various .img files worked ok)
scroll down to the startup section and about midway down is "GUI settings"
Open it and change anything you want: I swap the width and height, because I use my phone in landscape mode on my external monitor/miracast
DPI-- if you set it to 480 (stock) the font is good, but everything else is too small for some reason (like windows scroll down further than the bottom of the screen), so I usually leave it around 200-
also near the bottom of the startup section is "custom mounts" this is really useful if you want to edit things on your phone's storage (like in gimp). Clicking this will make a mount "0" [default] available inside the gui which [by default] is your sdcard. (open file explorer: /mnt/0)
When you're finished with your settings, go back to the top and click install
this should make supersu ask for permission; click yes, of course!
now it goes through a big spiel of creating an img and install Linux which can take a while depending on your internet speed, my not so good internet took about 10 minutes.
Next click Start, then yes I really meant start...
Now, you should see the last few lines here and look for VNC: ####
Usually, it's 5900-- remember this number
Look in the top left of your screen for an IP address.
It usually reads 192.168.###.###
remember that number as well
Sometimes it helps to write it down ^_^
3.
now go to androidVNC
click never bother me again
fill out the form [brackets are suggestions] "quotes are exact!"
nickname: [whatever you want]
password: "changeme"
address: [the "192.168.###.###" from linuxdeploy]
port: [the "####" from linux deploy... I don't know if I changed it on accident and didn't notice but I feel like androidVNC changes this sometimes, should be 5900]
then click connect and you should be officially in the linux gui! The graphics suck, but no one uses linux for games anyway!
if you just realized what I meant by "use in landscape mode" or just want to change some settings:
close androidVNC
go back to linuxdeploy
press stop
go to settings, gui settings as before and change whatever you want
scroll back up and click reconfigure (not reinstall, because that would take forever)
it does some stuff
you get bored waiting a little
you click start again
reconnect
if you disconnected from your network, you may have to change your IP address (displayed top left of linuxdeploy)
4.
Installing something in linux
I'm a newb, and so I didn't know this: (in the linux environment inside androidVNC)
open start (bottom left)
accessories
lxterminal
this brings a command prompt into view
the magic command is:
"sudo apt-get install [the thing you want]"
everything else is magic >_>
example:
"sudo apt-get install gimp"
would install gimp for you
once it is done (which may take forever depending on your caffeine level), you can open it up and do all kinds of stuff
Hope this helps someone. If it does, consider clicking thanks (I'm not sure what it does yet either).
for 1337 linux users and grammarians: this guide is for us newbs who care more about getting to what we want than grammar correctness or being smart (because unfortunately, not every gets to be). ^_^ so please don't correct my grammar, I'll just ignore you (because).
Great guide, I might give it a go sometime to put Linux Mint on my phone. Just a suggestion, maybe provide links for Linux Deploy and AndroidVNC to make it easier for people to get them.
Transmitted via Bacon
VNCing into a Linux chroot doesn't count and is generally an awful experience.
There's really no point to do it anymore when the Freedreno driver will give you native graphic acceleration.
what freedreno? I'll check it out >_>
Freedreno is a GPU driver for running Linux on Adreno type GPUs.
Using that for graphic output could be a bit troublesome though if you need to use Android and the Linux desktop distro at the same time.

Categories

Resources