T-Mobile G2 is the first phone to offers T-Mobile 4G (HSPA+) network support with premium quality design and QWERTY keyboard running on Android 2.2 with stock android user interface.The good news is developers over at XDA forum have successful rooted G2 phone but it’s tethered root, meaning every time your phone reboots you have to root it again.
If you want to go ahead with tethered G2 Phone rooting then follow below instructions to root G2 Phone.
1. Make sure you have Android SDK installed on your computer.
2. Now Connect your G2 phone to PC
3. Download rageagainstthecage binary and extract tar file & past file content nto android adk->tools folder.
Now on PC, open command prompt and go to android adk->tools folder and type below commands
adb push rageagainstthecage-arm5.bin /data/local/tmp
chmod 0755 rageagainstthecage-arm5.bin
Now on G2:
Open terminal emulator and type
Wait a bit for it to say “Forked #### childs.” Then hit enter. Should have a $ prompt.
Try running “ps” – should say cannot fork.
Exit terminal emulator with back button, launch any app installed in your G2 Phone
Launch Terminal Emulator again – it will force close, hit Force Close
Launch Terminal Emulator a second time and you have a root shell