Samsung u740 (Dual Flip) Hacking/Applications

Mobile SSH on the Samsung u740

Disclaimer: Any of the hacks on this site could damage your phone and possibly void your warranty, not to mention is possibly a terms of service dealbreaker for your mobile carrier

<< Back to main index


The first two images are me running BitchX IRC client, the last is a simple 'ps x' process listing

MidpSSH Home Page

So now that the landscape mode trick has been discoverd allowing applications to use the full QWERTY keyboard, it only makes sense to get a mobile SSH application working for all those remote administration tasks from the side of the road!

The development version (1.7.0 as of writing this) launches correctly on the u740 however the numeric keys (letters w,e,r,t,s,d,f,g,z,x,c,v) only output their number values. The shift, Numlock and Fn buttons dont work either, nor does Enter, Space or Backspace... so now you're going "wait a second, that doesnt sound very useful!"... well it wasnt.. until I downloaded the source code, debugged the keycodes that the u740 uses, and created a patch specific for the u740!

Here is the patch for the source code:
midpssh.u740.patch

And here is a precompiled 'SSH2 lite' JAR that has my patch applied:
midpssh-ssh2-lite.jar

The jar filesize (~122k) is much larger (about double) than the original version because I don't have the 'obfuscator' that compresses the class files.. perhaps i'll work on that sometime later.

Once you have the .jar file head on over to the Rumkin uploader to send it to your phone. The uploader never text's me but just follow the instructions on how to access the download manually using the jump code.

Useful notes

There is currently (still trying to figure out how to do it) no indicator whether your SHIFT, NUMLOCK or FN keys are toggled on or off. However, I coded it so all of them act as toggles, and only one toggle can be 'active' at a time. (turning one on, will turn the others off).
eg) [Q] [W] [E] [SHIFT] [A] [B] [C] [SHIFT] [D] [E] [FN] [Y] [Y] [Y] [SPACE] [NUMLOCK] [Z] [S] [W]
produces
"qweABCde... 123"

Useful key's that aren't labelled

The LEFT SOFT-BUTTON or Menu/OK is a TAB '\t' character (useful for auto-complete on *nix servers). In full screen mode the LEFT SOFT-BUTTON activates the menu, so use Menu/OK instead. In non-full screen mode, either will work.
The CAMERA BUTTON is a pipe '|' character (ps ax |grep httpd)

Comments


Posted By: jason @ 2009-07-13 02:15:24
Subject: Need some pointers on Samsung mobile dev
Hi, I saw your work on midpssh and was wondering if I could get some pointers on doing some of my own modifications. I recently got an Impression and the keyboard and proprietary OS just hate to cooperate with non-branded apps. Please contact at me at jasongabler@gmail.com. Thanks.
Posted By: will @ 2009-06-15 20:32:41
Subject: verizon
@zach: im in teh same position. It's a verizon issue.
Posted By: roth @ 2009-02-25 17:50:45
Subject: umm
how do you transfer the files using the usb cord not that website thing
Posted By: James @ 2008-08-08 16:52:23
Subject: verizon
This site is only for the canadian bell mobility carrier version of the u740, verizon uses a completely different software on the phone, which i have no clue about... but from what i gather it doesnt let you install/run java files... that sucks but at least you dont need any tricks to get a browser in landscape mode :p
Posted By: jab416171 @ 2008-08-05 10:34:29
Subject: Gah
My phone doesn't like jar files.
Posted By: TheTruth @ 2008-07-23 03:52:22
Subject: Verizon
having the same problem as zach and LOLobo help would be greatly appriciated
Posted By: jai @ 2008-06-24 15:39:50
Subject: thanks!
thanks for the patch m8!!
Posted By: LOLobo @ 2008-03-30 04:12:17
Subject: Verizon
Having same issue as zach with Verizon, info and no download. Any solutions?
Posted By: Hedgecore @ 2008-02-26 16:29:30
Subject: Thanks!
Worked like a charm, I was able to SSH into my Ubuntu box without issue. Let's hope Bell doesn't decide this violates "unlimited non-tethered mobile data". (Then again the whole session only used up 11kb up/down.)
Posted By: zach @ 2008-01-29 20:26:32
Subject: my phone doesn't download the .jar
my phone doesnt download the file after i go to the rumkin jump page and enter the code. all that happens is i see information about the file (build version, java version and some other stuff). i have verizon, any reason it wouldnt work with my phone? software v u740.AF25

Post Comment

Your Name:
Your Email Address: (never posted online)
Subject:
Are you a SPAM Bot?: Type NO in this box

Last Updated: December 19, 2007 @ 11PM
Email: contact <at> u740.ca