Hack: Howto get root on your G1


Update: This is obviously way out of date, g1_picplease see: Android DLS Wiki and Android Blogging Network for the latest.

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 would 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!

Update: Term.apk updated to include launcher icon

Update #2: Some people were having issues installing the Term app, so I published it onto the Market as "Terminal Emulator" to make it a bit easier

Comments

i don't konw how safe it is

i don't konw how safe it is but you can just chmod 777 files and access them through the glance file manager. can't open but you can copy and past them on the sd card and open from there. i wish i could figure out how to see them. Viking refrigerators

I've had an HTC touch for

I've had an HTC touch for about 5 months now and the blasted thing won't ring, sound doesn't work and its horrible for roaming when it can't pick up wifi ie. HUGE bills in the mail. I would highly consider another phone before getting one. From what I've seen of my friends Iphones they never have any problems. Refrigerator service

I get Wrong Model Id on my

I get Wrong Model Id on my HTC Dream when I try to downgrade.
Please help.
Cardiff Airport

I will try this on my new

I will try this on my new android phone. Hope nothing bad happens :)

Angelo
hosting cpanel

Thanks for sharing the

Thanks for sharing the information. That’s a awesome article you posted. I found the post very useful as well as interesting. I will come back to read some more pariloto meciuri in direct stiu scorul

Visit our website, enter your

Visit our website, enter your postal code, answer related insurance questions and you will see the latest auto insurance quotes from the best insurance companies in Canada.

Written Instructions are fine for me

but maybe part of the reason other commenters are struggling, is perhaps they could do with watching video instructions instead?

You clearly know your stuff on the techy side, so you ought to spread your knowledge by posting informative and educational 'how to' videos on youtube, viddler etc.

either way, for more information about either of these subjects, click on the links:

Criminal Solicitors and asb training courses

Worked for me. In retrospect

Worked for me. In retrospect this is obvious, but you need to telnet in from *another* machine. I thought originally this was telnet to self on the G1.
muscle building

Howto get root on your G1

Everytime I click to Format, automatically say insert a disk and try again…How do I go around this to be able to format on FAT32?
sexy lingerie manufacturer in china

A car company

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?!? Car Service : Web Design

pterminal is bot available on market place

i tried to follow instructions but pterminal is bot available on market place. is there another method. can you use the android file manger to manipulate the g1 and do the same thing?
hip hop beats

i am stuck @ section 2 step 10

i am stuck @ section 2 step 10! when i press backup recovery image on my G1 it says backup failed: could not run command. please kindly help me!
forex

hi

crowd around this newborn phone, there's no way it can hold up all of their expectations—and it doesn't.see more .Freebies

problems with accessibility

I was using the G1 from the last week, I can say it's a good start, and a clear indication of good Android developments to come. But the phone itself has some serious problems with accessibility and usability, issues that no number of third-party apps are going to be able to solve. Here's what I loved and hated about the T-Mobile G1. Like mezuzah

web designing

Web designing is the skill of creating presentations of content (usually hypertext or hypermedia) that is delivered to an end-user through the World Wide Web.Antasoft Technologies have skilled and experienced team of web designers who use their creativity combined with latest technology tools to design breathtaking websites that are not just beautiful and inviting, but functional and highly interactive

I am busy

As so many onlookers crowd around this newborn phone, there's no way it can hold up all of their expectations—and it doesn't.see more World Class Manufacturing

I am busy

As so many onlookers crowd around this newborn phone, there's no way it can hold up all of their expectations—and it doesn't.see more World Class Manufacturing

San Diego Boxes

nice gadaget San Diego Boxes

Hello Such a valuable

Hello

Such a valuable information. It’s very good to know about the analytics. Yes, they are good but we shouldn’t trust them. You have described this in a well manner. Nice article.
Web Design London

Get me the best OS

I have been wanting to play around with the root access for a while now but haven't been able to do so, I will try your method now and hope it works.

traffic school

I like it

After spending a week using the G1, I can say it's a good start, and a clear indication of good Android developments to come. But the phone itself has some serious problems with accessibility and usability, issues that no number of third-party apps are going to be able to solve. Here's what I loved and hated about the T-Mobile G1. Like provillus scam.

Yupp.. this hack works lol. i

Yupp.. this hack works lol. i just tried in mine. it works great. Furniture Rental

Woot.. The brain is a

Woot.. The brain is a wonderful organ. It starts working the moment you get up in the morning and does not stop until you get into the office.
I am impress at the information that you have shared here. Stay cool.. :)
Rgds..

Thanks for sharing

Thanks for sharing such a nice and informative post. The step by step procedures are easy enough to follow. I'll surely try those tricks. Waiting for more. Drupal content

If you have US-RC30/UK-RC8 or

If you have US-RC30/UK-RC8 or higher, you will first need to downgrade your phone to a previous version. (Skip these steps otherwise)

1. Format your phone's SD card to FAT32 mode:
* Hook your phone up to your computer using a USB cable and then wait for the notification to show up in your title bar of your phone.
* Click the notification, and then click "Mount".
* A new removable disk should show up on your computer. Right click it and select Format, and select FAT32 as the file system type.
2. Download and unzip the RC29 or RC7 image file. Copy the DREAIMG.nbh file to the SD card. (RC29 for US, RC7 is for UK)
3. Turn the device power off.
4. Hold Camera button, and press Power button to entry boot loader mode. You should see a gray/white screen with instructions to flash your phone with the update on your SD card. If you don't see that, make sure you followed the instructions properly.
5. As per the on-screen instructions, press the Power button to start upgrade procedure. DO NOT DO ANYTHING TO INTERRUPT THIS PROCESS.
6. After it is finished, perform the restart your phone.

Regards : Business Lawyer Colorado

According to forum member

According to forum member Koush, the instructions are as follows:

1. Turn on your phone's WiFi. This gives your phone an IP you can reach it at.
2. Get to a command prompt on your device by using the PTerminal application from the Android Market. (adb shell does not seem to work with these instructions, telnetd does not start up)
3. cd system
4. cd bin
5. telnetd
6. netstat (get your phones IP)
7. telnet into your phone's IP from your PC
8. you now have root!
Directory 2009

It’s really helpful for me

It’s really helpful for me which I have ever seen.Its presented well and nicely written which easy to understand.Thank you very much for the information. bed bug removal

Thank you editors for the

Thank you editors for the topic.Its include a lot of useful informations. i join this blog i couldnt see unnecessary arguments and it makes us happy thnx all moderator n editors. Wedding cards

logo designing

Graphic Design CalgaryCustom Calgary graphic design Company in Canada that helps creating professional logo designs and fulfill the key requirements of any business. Agua E solutions are in business of logo designing firm and Calgary graphic design company which fulfills corporate logo designing criteria. Our experienced logo designers have specialization in Graphic Design Calgary, Graphic design Canada, and custom logo designing.

There is a lot riding on the

There is a lot riding on the shoulders of T-Mobile's G1 Android phone. In some ways, it carries the collective hopes of Linux, open source and Google fans everywhere. It's open, collaborative and community-based, in other words proextender scam, everything the iPhone and Windows Mobile aren't. As so many onlookers crowd around this newborn phone, there's no way it can hold up all of their expectations—and it doesn't.

Thanks for sharing useful

Thanks for sharing useful information...

Toenail fungus

Most people make every

Most people make every attempt to find MP4 files on Mac, such as wonderful movie, MTV, or Flash and hope to put it onto the portable player. However, things always turn out the way you want. 90210 season 2 episode 13

welldone found the loop

Thanks for post.Really interesting but i was unsuccessful when trying that may be my mistake.I will try later on this but you have researched a lot.

Internet Marketing Services

Seattle Wedding Photographer

Inspiring Post

I'm getting pop up error.... having trouble to install the terminal emulator...This is not too easy hack .... Can you make the tutorial with more detail information ... Sarasota Homes For Sale and catering equipment.

G1 work nice

I really like these gadgets and i did feel right in using these. You can check cd prices which can be copied into it and played while travelling As you know, MP4 formats are popularly used in many portable players, such as iPod, itouch, and even the mobile phone. Most people make every attempt to find MP4 files on Mac, such as wonderful movie, MTV, or Flash .
.This is not too easy hack .... Can you make the tutorial with more detail information .

santa letters

Ambulance car hire

G1 is better than others always

There is a lot riding on the shoulders of T-Mobile's G1 Android phone. In some ways, it carries the collective hopes of Linux, open source and Google fans everywhere. It's open, collaborative and community-based, in other words, everything the iPhone and Windows Mobile aren't. As so many onlookers crowd around this newborn phone, there's no way it can hold up all of their expectations—and it doesn't.

After spending a week using the G1, I can say it's a good start, and a clear indication of good Android developments to come. But the phone itself has some serious problems with accessibility and usability, issues that no number of third-party apps are going to be able to solve. Here's what I loved and hated about the T-Mobile G1.
See more on Massage School Chicago

Error !!

I'm getting pop up error.... having trouble to install the terminal emulator...This is not too easy hack .... Can you make the tutorial with more detail information ...

Inflatable Party Rentals | Free arabic movies

ptz security camera

Dummy cameras are used to augment real surveillance systems to increase the deterrent effect at a minimal additional cost.
Regards,
cctv

Put G1 in preference

i don't know how many times i got suffered from the same.
but still i trust in this.
Seattle Wedding Photographers . absolutely i 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? agree on ever words.

I really like these gadgets

I really like these gadgets and i did feel right in using these. You can check cd prices which can be copied into it and played while travelling.

It’s here! Yellow...........

Why do we need such a SWF to

Why do we need such a SWF to MP4 Converter Mac software?
As you know, MP4 formats are popularly used in many portable players, such as iPod, itouch, and even the mobile phone. Most people make every attempt to find MP4 files on Mac, such as wonderful movie, MTV, or Flash and hope to put it onto the portable player. However, things always turn out the way you want.
3G iPhone Ringtone Maker,

3 Idiots Calendar 2010

Hey!

I'm having trouble to install the terminal emulator...it pop ups an error :(
Heath bed and breakfast Barcelona

What is the error message you

What is the error message you get?

Sadly, I believe it has. I

It is not easy hack.
sms india

root

Good