G1 Hack – How to Get Remote Root Access to G1 Phone!

by max on Wednesday, November 5th, 2008

Well, someone figured out how to access the G1 phone via a telnet access.  This is great stuff, I bet you can stuff a small web server on a G1 phone pretty easy.  (Hmmm…I wonder if you can do SSH2 too…)

1. Turn on WiFi in the G1 (Settings > Wireless Controls > Wi-Fi). Make sure you’re connected to a network.
2. Start up PTerminal (search in the Market) and you’ll get a prompt once its launched.
3. Enter cd system and hit Enter.
4. Enter cd bin and hit Enter.
5. Enter telnetd and hit Enter. You’ve now started telnet on your G1.
6. Enter netstat and hit Enter. You’ll now see your G1’s IP address. You can also find this in the Settings > Wireless Controls > Wi-Fi > and click on your network you’re connected to. It will show you your IP.
7. Start up Terminal on your OS X machine, or bring up a command prompt on your Windows box. Type telnet [your.ip.address.we.just.found] and hit Enter/Return. So, if your IP was 192.168.1.101, you’d type telnet 192.168.1.101 and hit Enter/Return.
8. You are logged in as root now. To remount the system file as read write, type mount -oremount,rw /dev/block/mtdblock3 /system from the Terminal/Command Prompt and hit Enter/Return.

via wired

More Links:

XDA Developer

ModMyPhone

AndroidCommunity

Rate

1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...

ad ad
ad ad


20,000 GPS POI's $9.99

Related News and Resources

Other Interesting News From Our Friends

  • g1-enthuiast
    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?
  • Neat stuff! Thanks for the info. I don't own a G1 but I was looking at getting one since it is supposed to run a Linux variant, but then I went to the store and played with one and the terminal is totally useless. I switched to Linux because of the FOSS philosophy and now I'm hooked because of the amazing power of the terminal, but the G1 might as well not have a terminal at all most of the time. I'll keep blogs like yours and perhaps I'll get one, or perhaps I'll scrape together the cash for the Openmoku Freerunner since it really does just run Linux...
    Thanks for the info though!
blog comments powered by Disqus
If you like this post then please subscribe to my full feed RSS.

You can also subscribe by E-mail by filling out your name and E-mail below:

Name: Email:


Got a new hack, DIY, howto, or gadget? Tip us here.

Try Goohack to find a new Hack:


Featured Sites From Zedomax Blog Network