[G2 and Desire Z Android Development] spookievision:
PLEASE READ EVERYTHING BEFORE ATTEMPTING TO INSTALL

This is a rooted, de-odexed, busybox, nano, ad-blocking hosts file, uncensored DNS resolv.conf but otherwise completely stock version of the 2.15.531.3 OTA for the T-Mobile G-2. This is not an update. It is a complete ROM.

I built this for my own use but anyone can take it and customize it as they see fit. I am a "Privacy and Security by Default" minded person so I have built it with a few alterations along those lines.

The ad blocking hosts file is to block known adware/malware from first boot. Updates to the hosts file as new threats are learned can be done by installing AdFree from Market or manually updating the hosts file yourself. I am not affiliated with the creators of AdFree in anyway. You can install it or not if you want or manually update your hosts file manually or not if you want.

The uncensored DNS resolv.conf I have included is because many ISP's and networks censor the Internet by controlling what you get directed to through DNS that is not what the official DNS record would require. They also hijack bad requests and typos through DNS redirects to their own search and ad pages. Google logs all DNS queries and what IP address it came from if you use the "open" Google DNS servers. I have included alternate secure and uncensored DNS settings as that is what I use myself.

I have now included a link to download a version of this ROM without those two customizations. I have not tested it myself but it should work fine for you if you choose to install it.

I used dsixda's kitchen to do the modifications and without that, I would probably not have done this at all. http://xdaforums.com/showthread.php?t=633246

You will need to be rooted with S-OFF, Clockworkmod Recovery and engineering hboot to install this.

See this wiki guide for all information on rooting and downgrading the G2: http://xdaforums.com/wiki/index.php?title=HTC_Vision

See this thread for general information on the G2 also: http://xdaforums.com/showthread.php?t=916431

THIS ROM IS SET TO WIPE THE SYSTEM BEFORE INSTALLING. MAKE SURE YOU HAVE A BACKUP OF ANYTHING IMPORTANT BEFORE INSTALLING THIS! The reason for this is that I can see potentially major problems if it is installed like an update. THIS IS FOR CLEAN INSTALLS ONLY.

You will need to install the radio that came with this OTA manually before installing this ROM. The radio version to install is 12.52.60.25U_26.08.04.30_M3.

Download the radio here: http://www.mediafire.com/file/51rr1vff4wamedg/TMOUS_G2_12.52.60.25U_26.08.04.30_M3_radio.img

Rename the file to radio.img and install it from fastboot. You need the Android SDK tools and platform tools installed on your computer and the engineering hboot installed on your G2 to do this. Shutdown the phone completely. Then hold the trackpad button while powering the phone back on. Connect the phone with the USB cable. Open a command prompt and change to the directory where the radio.img file is. Issue the following command:

fastboot flash radio radio.img

Wait for the radio to update completely and successfully and then disconnect the USB cable. Select "REBOOT BOOTLOADER" and verify from the fastboot screen afterwards that the radio is installed. Then select "BOOTLOADER" and from the bootloader select "RECOVERY" to proceed to install the ROM.

INSTALL THIS AT YOUR OWN RISK. I am not responsible for what you do with this and there is no implied warranties and guarantees.

I recommend a full wipe/factory reset from within recovery before installing this just to be safe. ***This does not revert you to S-ON or un-root the G2.***

MAKE SURE YOU HAVE BACKUPS OF ANYTHING AND EVERYTHING BEFORE INSTALLING THIS.

I do not plan to do any customizations of this but I will try to answer any questions that may come up.

***Update: I may post a version without the uncensored DNS setting and ad blocking hosts file as it is a simple tweak and there seems to be a calling for it. Stay tuned...***

***Update: There is now a link to download a version without the ad blocking hosts file and the uncensored DNS resolv.conf.***

Download: http://www.mediafire.com/file/b4w4a...d_S_TMOUS_2.15.531.3_signed_080311_215742.zip

Download without ad blocking hosts and uncensored DNS resolv.conf (untested by me, please let me know if there are any errors): http://www.mediafire.com/file/mh1zk...d_S_TMOUS_2.15.531.3_signed_080411_152226.zip

Good luck and have fun!