Thursday, November 6, 2008

Ways to get to root of your android G1

Many people were surprised that root was disabled on the production T-mobile G1's, and everyone knew that we would eventually get root access, but who knew it'd be this easy?!? Some users at XDA-Developers and android-dls.com have discovered a simple hack to enable root access.

Here are the steps you can take:

1. Download and install a terminal emulator on your phone. (Click here for Term.apk)
2. Make sure your phone is not connected to your PC and open up the Terminal Emulator and run 'telnetd'
3. Now telnet into your phone from your PC (run 'netstat' in the terminal emulator to get the phone's IP)
4. In the telnet terminal you are now root!

5. (optional) To permanently enable root access you can create an "su" command in /system/bin (Warning: creating su on your system could make you vulnerable to malicious software. You could name it something besides su, but you could still be vulnerable):

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4755 su

Now you can fire up the Terminal Emulator and run "su" to be root.

It's likely that the next system update will fix this hole, but until then enjoy having full access to everything on your phone!

Source:helloandroid.com

A jailbreak for Google's Android

Hackers have found a way to circumvent controls in the Google Android operating system used on T-Mobile's G1 mobile phone, allowing them to get around restrictions created by the phone's designers.

The hack gives G1 users a way to read data on parts of the phone that are normally walled off and could be used to install new programs, or even a new operating system, on the mobile phone. Currently, programs for the open-source Android operating system must be written in Java, rather than other popular programming languages such as C or C++.

Details on how to gain superuser "root" access to the phone were posted Tuesday to an Android development forum. Step-by-step instructions have also been published online.