All posts by HydTech

Basics of Remote Desktop Connection

Remote Desktop connection is a method of accessing your computer from another computer. Check Wikipedia for more information. There are several different methods of remote display like VNC, RDP, ICA, Logmein, hamachi, crossloop, etc.. Check this comparison chart.

My next post shows how to use Remote Desktop on Ubuntu Linux, through both VNC and NX.

Connect Tether your laptop to the internet using the G1 as a modem

There are two three ways you can use the internet connection on your G1 to surf the web on your laptop/computer: USB, Bluetooth and Ad hoc wireless network.

UPDATE: Tethering through PDANet Beta. (Preferred for USB)
This is the easiest method for users with Windows XP. All you have to do is download this file and double click the exe and follow the easy installation process which will also install the software to the G1. This program is still in beta so you might encounter some bugs and problems with speed, however, you do not have to hack your G1 and get root access.

Tethering through USB With Tetherbot proxy
Firefox or any SOCKS v5 compatible browser
Root access to your G1 (follow this tutorial to get root access)

Once you have root access, you can connect your G1 through USB and use tetherbot.

For windows XP and Vista Check here for detailed directions

If you use Opera browser like me, you need to use this hack for SOCKS v5

Check Graham’s website on how to use the portbouncer.

Tethering through Wifi -ad hoc mode

A wireless card to scan for networks on your laptop/computer
Any internet browser
Either a G1 data plan or the tzones hack – check my previous post to get the tzones hack working

  • Turn off wireless on your phone
  • Download tether-1.6.tar and place it in /sdcard via USB cable
  • Unmount the sdcard and disconnect the USB
  • In your terminal type:
tar xf /sdcard/tether-1.6.tar
tether start

Now go to your laptop or wireless device and search for new wireless networks. Connect to ‘G1′!

To stop tethering:

tether stop

New Wifi/Bluetooth Tether app (Preferred for Wifi)

alternatively, you can download the new app here Wifi/BT TetherApp for Android and save it to your android SDcard and install it. This version has bluetooth tethering also.



How to register and sign in the Tmobile G1 without data plan on tzones hack

The key to sign in to your G1 is to have internet connection.  If you have a g1 data plan, you connect through tmobile’s epc server and sign in.  You should have the g1 data plan when you first get your G1 from tmobile, but for some reason if you reformatted your phone or downgraded/upgraded and needed to sign in again, you can do it through tzones or by enabling the wifi.

To do this without tzones through wifi, Follow these basic steps. I use Ubuntu Linux, but you can find directions on the web for Windows or Mac:
1. Connect your phone to your computer so you can use adb. Check this post.
2. Open up terminal and type:
./adb shell
am start -a android.intent.action.MAIN -n

This will put you in the settings and will allow you to connect to wifi. For more help you can check the xda-developers forum.

If you have tzones, hit the menu button when it asks you to sign in.  click on apn settings and change the Tmobile US settings by following my older post.   Now you should have internet access through WCDMA and you should be able to sign in.

T-mobile G1 internet with 9.99 Tzones hack, 5.99 no more :(

Hooray! It works!
T-mobile doesn’t have the 5.99 tzones plan anymore. They upped it to a 9.99 plan. Don’t get rid of your 5.99 plan if you still have it!!! But the tzones hack still works. To get it working on your G1, check my post about getting the MMS to work without having a data plan here.
Then go into your test settings and change the data method to WCDMA preferred or unknown. If you get connectivity errors, you can goto settings and select ‘use only 2G’. This also saves aloooot of battery.

If you want to tether your laptop to use the internet from the G1 check my post here.

Got my T-mobile G1 firmware update today

It popped up today and I installed it. The firmware fixes a few glitches the G1 had and adds:

1. Voicesearch with google. kinda like on the iPhone
– Honestly, I don’t like to use voice search features, not even voice dialing. Some people can’t live without it, but it just doesn’t work for me. When I tried to use this feature, I said “android” and it searched for “stanford”. But you can hit the down arrow and pick from another selection of choices. Alot of improvements need to be made in speech recognition technology before I will use it. (Update- this feature works most of the time if you speak clearly and pause after each word. Jeff Hamilton, a software engineer, with theandroid team claims they are working on new algorithms constantly. Try it yourself first before coming to a conclusion!)

2. Saving attachments via MMS
– No need for the ‘save mms’ app anymore. to save the picture, you don’t click on the picture itself but around it.

3. Some other wifi and messaging related glitches

4. Check for upgrades feature

5. Mark as spam in the android market

Please digg this article if you like it. [digg=]

How to get MMS picture messaging working on a T-mobile G1, Android without the data plan

T-mobile reps almost convinced me that there would be no way to get my picture messaging working on my g1 without the data plan. I turned off the data plan as soon as I set it up upon arrival. According the the T-mobile reps, I can’t even place or receive calls without the data plan. (Either they say anything to get you to buy the plan or they’re just dumb useless fellows, the latter being more accurate based on experience.)

So after doing some yahooing and alot of futsin around, I finally managed to get my MMS working by changing the settings. Here’s what to do:

Menu -> Settings -> Wireless Controls -> Mobile Networks -> Access Point Names -> T-Mobile US

Make sure you go into T-mobile US and not any other setting and change the name like I did, don’t even create a new one. It took me 2 months to figure out what I did wrong.

Change the settings to the following:
Name: T-Mobile US
port: 8080
Username: not set (delete everything in this field)
Password: not set (delete all here too)
Server: not set (delete the *)
MMS Proxy:
MMS Port: 8080
MMC: 310
MNC: 260
APN type: not set

Restart your phone. Now your MMS should work. If you have the 5.99 t-zones, I think your internet will work too. (UPDATE- it does work. check here)


1. If you’re having trouble still, go into mobile networks and enable ‘data roaming’ and ‘use only 2G’

2. Make sure your connecting to T-mobile US
-to do this go to the marketplace and download ‘any cut’
-open any cut and click create shortcut
-goto activity and select ‘testing’
-you should have a shortcut on your desktop that says testing, unless your desktop was full.
-click testing -> goto phone info -> this should tell you what connection you are connecting/connected to.
-For some reason if you are not using T-mobile US, change the settings for the appropriate one.
-If phone info shows you are not connected, hit menu and click on more and click enable data.
-now data should be connected.

sorry guys, I haven’t been keeping up with this topic. Honestly, I don’t ever receive MMS. And If its that important, you can add on the $25 package once every few days, download all your mms the same day and take it off.

G1 mirror screen protector

UPDATE*- These settings work for iPhone on T-mobile, maybe they might work on the Android:

(no user name, no password)

(no user name, no password)
MMS Proxy:
Max msg size: 1058576

How to install the Android SDK and Eclipse on Windows and Ubuntu, Step-by-Step has a basic tutorial on how to install the android SDK and the requirements for the project. However, people like me (who don’t want to use too much brain power after coming back from work tired) need pictures and a detailed step by step guide. I found two great tutorials searching the internet.

One for Windows users-
And this one for Ubuntu Linux users-

Note: while installing the ADT, if you get an error saying : “No repository found at” try changing the https to http. If for some reason it still doesn’t work, you can download the ADT here:

In Eclipse 3.3, click New Archive Site….
In Eclipse 3.4, click Add Site…, then Archive…
Browse and select the downloaded the zip file.

or check here

How to remove unused Linux kernels in Ubuntu Intrepid Ibex

After upgrading Ubuntu, you realize there are so many linux kernels in your system under /boot and also appear in the grub menu when you boot up your system. Hopefully you are booting into the latest kernel and you can check the version of your kernel by opening up terminal and typing uname -r. This is your kernel that you have to keep, while the others are just taking up space. To remove these unused kernels simply open up the synaptic package manager under system > administration and search for ‘linux-image-2.6’


The installed kernels are marked with a shaded box. Click on the box and select mark for uninstallation. After selecting all the kernels you dont need, hit apply.


Fortunately, the synaptic package manager is smart enough to remove these entries from the grub menu. If for some reason they are not removed, you can remove them by editing the menu.lst by typing sudo gedit /boot/grub/menu.lst

How to capture a screenshot in Ubuntu Gutsy Hardy Intrepid Linux

To capture a screenshot in Ubuntu is very easy. All you have to do is press the PRTSC button and it’ll ask you what to name the file.



There are plenty of screen-capture tools, but a lot of them are based on X. This leads to a problem when running an X application would interfere with the application you wanted to grab – perhaps a game or even a Linux installer. If you use the venerable ImageMagick import command though, you can grab from an X session via the console. Simply go to a virtual terminal (Ctrl+Alt+F1 for example) and enter the following:

chvt 7; sleep 2; import -display :0.0 -window root sshot1.png; chvt 1;

The chvt command changes the virtual terminal, and the sleep command gives it a while to redraw the screen. The import command then captures the whole display and saves it to a file before the final chvt command sticks you back in the virtual terminal again. Make sure you type the whole command on one line.

This can even work on Linux installers, many of which leave a console running in the background – just load up a floppy/CD with import and the few libraries it requires for a first-rate run-anywhere screen grabber.


Accidentally pressed Ctrl-Z in a Linux terminal in Ubuntu Intrepid Ipex. What do I do now?

Today I was trying to upgrade my Ubuntu with sudo apt-get upgrade and accidentally typed Ctrl-Z while in the terminal and the upgrade stopped. After doing some research on this, here is what I found:

Pressing Ctrl Z in the terminal sends the process to the background causing it to pause until it is told to come back to the foreground.

Pressing CTRL Z in the Linux terminal

Pressing CTRL Z in the Linux terminal

Once the task is paused you can run another task and call the paused one later when it is needed. To check the paused tasks type jobs in the terminal.

To resume the process, you can type fg. If you have multiple tasks, then you type fg 1, fg 2 etc…

Resume task in terminal

Resume task in terminal