Tuesday, November 4, 2008

Howto: Get ROOT on your Android G1 and Telnet to your phone!

Grab pTerminal from the market, reboot your phone, open pterminal quickly, cd to /system/bin/
then enter telnetd 2 or 3 times, then type telnet "your phone ip"

Take a look:
kyle@ion:~$ telnet 192.168.0.88
Trying 192.168.0.88...
Connected to 192.168.0.88.
Escape character is '^]'.
# id
uid=0(root) gid=0(root)
# cd proc
# cat version
Linux version 2.6.25-01843-gfea26b0 (android-build@apa27.mtv.corp.google.com) (gcc version 4.2.1) #6 PREEMPT Mon Oct 6 14:13:36 PDT 2008

13 comments:

  1. 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.

    ReplyDelete
  2. It should be pointed out that telnet is a "wide open barn door" to your phone -- only do this if you are on a wifi network that you trust, and kill the telnetd process (or reboot your phone) if you travel to a more public location.

    ReplyDelete
  3. how to telnet to the phone?

    Here is steps I tried:
    1. have the phone connect to wifi.
    2. let the phone access my pc website.
    3. from my pc website log, get the ip of the phone.
    4. from my pc, run telnet "my phone ip".

    ReplyDelete
  4. Doesn't work any more, Big Sister pushed an update last night :(

    ReplyDelete
  5. 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?
    muscle building

    ReplyDelete
  6. 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?
    sexy lingerie manufacturer in china

    ReplyDelete
  7. I have one question though! I back down to rc30, but i want rc-33, none of those links work and what if google decides to update my phone what happens then?
    Wedding gowns

    ReplyDelete
  8. This post shows the information which is close to standard. Hope next You will again post a nice Article/Information.
    Symbiosis Mba

    ReplyDelete
  9. Whenever I come to visit this blog always got something new. Absolute Source and its subsidiaries has strategically designed and implemented each project to build our client’s customer base and increase revenues. coffee makers

    ReplyDelete
  10. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.
    judaica

    ReplyDelete
  11. Thanks for sharing the details on getting to the root of G1, but I think the new OS of Android have some other ways to reach to that place, do you have any idea about that as well ?
    usa online casinos

    ReplyDelete
  12. Have been trying to work out how to get ROOT on my Android G1 - thanks for the guide yoga retreats

    ReplyDelete