User login



Syndicate content
Add to Google


Hack: Howto get root on your G1

Update: This is obviously way out of date, please 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

Submitted by bugraaaa on Thu, 07/02/2009 - 03:50.

thank you adminnn.
dizi izle , unutulmaz

Submitted by AirForce1 on Sun, 06/28/2009 - 10:53.

Really useful information and easy to follow. Even better with updates.

Best regards,
---
Air Jordan Force | Air Force Ones Online!

Submitted by Louis Vuitton on Tue, 06/30/2009 - 10:41.

good i agree with you
Louis Vuitton

Submitted by nehashrm846 on Fri, 06/26/2009 - 22:15.

Your information is very useful for me................thanks

IVA

Submitted by nehashrm846 on Tue, 06/30/2009 - 20:49.

I like your Article............

Cars

Submitted by nehashrm846 on Fri, 06/26/2009 - 22:13.

Thanks for this information............

Duvets at the White Company

Submitted by nehashrm846 on Fri, 06/26/2009 - 22:12.
Submitted by admin53 on Fri, 06/26/2009 - 08:29.

Thank You Very Muchh

KaradenizVideo
Karadeniz Sohbet

Submitted by karan on Fri, 06/26/2009 - 06:14.

You should get an iphone ando you wont't have any trouble on having root access...
Voice and data cabling Virginia

Submitted by karan on Fri, 06/26/2009 - 06:12.

his site is the best place to comparison shop for...
Web Development London

Submitted by karan on Fri, 06/26/2009 - 06:12.

thank you very much!!
Telecommunications

Submitted by karan on Fri, 06/26/2009 - 06:09.

veryy Good post thanks..Laptop Memory Upgrade

Submitted by karan on Fri, 06/26/2009 - 06:00.

You should get an iphone ando you wont't have any trouble on having root access SEO

Submitted by karan on Fri, 06/26/2009 - 05:59.

has this been patched already? on my UK G1, i can't kill a process which others have said they can, and though telnet runs (apparently as root) I can't connect to it? Search Engine Optimisation

Submitted by warcraft on Thu, 06/25/2009 - 12:55.

server wow
Thank you, tuto is great°
See you!

Submitted by GarryWert on Tue, 06/23/2009 - 12:05.

Sadly, I believe it has. I had root for a few days
aluminum floor jacks
low profile automotive jack
floor jack parts

Submitted by matbaa on Tue, 06/23/2009 - 04:50.

thanks admin.

matbaa

Submitted by bugra_12 on Sat, 06/20/2009 - 04:13.

thanks admin.
2009 öss sonuçları Ve size son olarak bir öss sonuçları sitesi daha göstermek istedim

öss sonuçları Öss Sonuçlarının bulunduğu internet sayfası

Submitted by seomaster01 on Sat, 06/20/2009 - 04:12.

Hello admin

Your site very good 2009 Sbs Sonuçları
Sbs 2009 Sonuçları
2009 Sbs Cevap Anahtarı Thanks admin

Submitted by edsion007 on Wed, 06/17/2009 - 01:15.

thank you very much!!

Submitted by andrewmcaferty on Sat, 06/13/2009 - 15:56.

Good

Submitted by orange on Fri, 06/12/2009 - 18:32.

his site is the best place to comparison shop for
Cheap Gucci Handbag

Submitted by Vgiller on Sat, 06/06/2009 - 06:56.
Submitted by GarryWert on Sat, 06/06/2009 - 14:15.
Submitted by acteur on Wed, 06/03/2009 - 16:41.

Thanks for the great info
drunk people
californication

Submitted by dede on Tue, 06/16/2009 - 03:30.

________________________________________________________
Video Converter for Mac

Submitted by sweeney on Sun, 05/31/2009 - 18:46.

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

It's work! Thanks.

Submitted by toin on Thu, 05/28/2009 - 00:49.

You should get an iphone ando you wont't have any trouble on having root access

---
Bali Blinds

Submitted by linksoflondon on Tue, 05/26/2009 - 02:47.

everyone can find your favorite Tiffany Co Necklaces Tiffany Co Rings Large collection of discounted Tiffany and co.

Submitted by acotas548 on Thu, 05/21/2009 - 05:02.
Submitted by webtasarim on Thu, 05/14/2009 - 14:41.

thanks for sharing web tasarim oyunmanweb dizayn

Submitted by aa_mert on Sun, 05/10/2009 - 13:16.

veryy Good film izle dizi izle

Submitted by mccy on Mon, 05/04/2009 - 12:39.
Submitted by markweee on Mon, 04/27/2009 - 06:31.

has this been patched already? on my UK G1, i can't kill a process which others have said they can, and though telnet runs (apparently as root) I can't connect to it?
Home School Diploma and High School Diploma

Submitted by web-tasarım on Mon, 04/27/2009 - 04:11.

I will try. thanks!
www.webtasarim34.com

Submitted by laplup on Fri, 04/24/2009 - 01:34.

After installation I no longer had root, nor was I able to redo the process. ?

----------------------------------------------------------------------------------------------------
Klip izle

Submitted by lulanrla on Mon, 05/04/2009 - 05:20.

i dont know this.

____________

Betsson Türk oyuncuların 1 numaralı bahis sitesi betsson a üye olmak çok kolay ya da bu Betsson dan
betsson a üye olabilir Betsson da oynayabilirsiniz. İşte Betsson da oynamak bu kadar kolay.

Submitted by ysnozcn on Fri, 07/03/2009 - 04:02.

thankkss

Submitted by emil300 on Thu, 04/09/2009 - 17:10.

great article, thanks for sharing
emil, inspirational quotes

Submitted by ysnozcn on Fri, 07/03/2009 - 04:16.

veryy Good post thanks.

Submitted by no steam on Tue, 03/31/2009 - 10:07.

Very interesting topic, I was reading everything and I liked a lot, Keep it!
server counter strike

Submitted by realturk on Tue, 03/31/2009 - 06:37.
Submitted by realturk on Tue, 03/31/2009 - 06:37.
Submitted by realturk on Tue, 03/31/2009 - 06:37.
Submitted by bob_smith3 on Fri, 03/27/2009 - 13:21.

I was in Koh Samui lxury holiday my photo

Submitted by mago on Tue, 03/17/2009 - 11:15.

thanks for sharing man.

---
contratar magos

Submitted by delta0x on Tue, 02/24/2009 - 06:59.
Submitted by salman22 on Sun, 02/15/2009 - 02:09.

This is a TEST Comment
Salman Khan
Salman Khan
http://www.google.com/

Submitted by sunrise on Sun, 01/18/2009 - 11:06.

Sadly, I believe it has. I had root for a few days

------------

dancing air jordan

Submitted by Muhabbet on Sat, 12/13/2008 - 17:58.

very very good