November 11, 2008 | by Robert Nelson
The cat and mouse game with jailbreaking your G1 has more than officially begun. First the G1 was jailbroken and root access was a possibility, and then Google quickly rolled out the RC30 update that fixed the hack, but now it has been turned around yet again.
It seems that it is possible to keep that root access and still update your G1 with the RC30 update. Personally, while it is possible, it seems a little more involved to remain jailbroken than it may be worth at this time. That said, I have to give the group from XDA Developers some credit for the quick sucker punch to Google.
These directions would apply to those who have not yet updated, but want to still be able to jailbreak. If you have already updated, then you are, at least for now out of luck. Additionally, if you choose to complete this modified update then be prepared for some command line work, not to mention having to manually update any future Android OS updates. Bottom line, if you are not in dire need of root access, you will most likely want to pass on this.
So for those that are still reading, and are feeling brave enough to move forward with the hack, read on for the directions.
First off, you’ll need to download two files to your desktop:
o Modified recovery image (which will become your recovery.img file)
o Modified Android OS RC30 update file with root access preserved
Download and install the Android Telnet Client from the Android Market
Download and install the Terminal Emulator app from the Android Market
Turn on WiFi and connect to your WiFi network
Now, go back to your downloaded files on your desktop
o Decompress the AndroidMod.zip file
o Extract “recovery_testkeys.img” to your desktop
o Rename “recovery_testkeys.img” to “recovery.img”
o Rename the modified Android OS RC30 update file from “update-RC30-fullupdate-modified-testkeys-v1.1.zip” to “update.zip”
Transfer the newly named “recovery.img” file and the newly named “update.zip” to your microSD card (you can use the microSD card that came with your G1)
o Put microSD card in your G1 (if it’s not already in there)
Fire up “Terminal Emulator”
o Type “cd system” and hit Enter
o Type “cd bin” and hit Enter
o Type “telnetd” and hit Enter
o Type “netstat” and hit Enter
o The IP address you want is listed on the same line as the word “Established”
o Write down this IP address
o Close Terminal Emulator (hit the “Home” button)
Fire up “Telnet”
In the IP address field (it should show “localhost”) enter the IP address you wrote down
o Hit “Connect”
Now that you have root access, you’ll want to type in the following (hitting “Enter” at the end of each line):
o mount -o rw,remount -t yaffs2 /dev/block/mtdblock2 /system
o cat /sdcard/recovery.img > /data/local/recovery.img
o cd /system
o cat /sdcard/recovery.img > recovery.img
o flash_image recovery recovery.img
Now turn off your phone
Restart the handset by holding down the “Power” and “Home” buttons simultaneously
When you see the triangle logo (you’ll know it when you see it), hold press “Alt” and “L” simultaneously
Ensure that you see “using test keys” along the top
Press “Alt” and “S” simultaneously
Follow the on-screen instructions
Press “Home” and “Back” buttons simultaneously when you’re done and ready to reboot
The G1 will reboot as it does its thing – let it do so.
You have now fully updated your T-Mobile G1 to Android OS RC30 with the root access exploit preserved – get at the root with the Terminal app.