If you've paid any attention to the Android scene at all lately, you know there's open source repos you can pull and compile the source code from, with a few little changes.
I'm not going to cover any of the source pull/compile/assembly instructions here, that will be in another thread coming soon enough.
This is pretty much a guide to fastbooting - the process of flashing the specific parts of the system you want to flash, quickly.
Your phone must be rooted (or a developer phone,) and you should
know how to get back from a custom flashed build, though I'll be covering it briefly.
Having a JesusFreke build recovery mode and the engineering bootloader is highly recommended.
You'll also need fastboot, which can be obtained in a multitude of places. The easiest way is to get them straight from HTC. They're also a by-product of a compile.
It's also important to note, as in the rooting guide, that if you're not comfortable flashing or poking around with your device, do not try this, as you can do nasty things to your phone
Now, because we're going to be using fastboot to do the flashing, it would be a good idea to make a backup of your current system.
You can do this with...
- a nandroid backup (flashable via fastboot,)
- mybackuppro (to reload your stuff after reflashing a build you want,)
- or with good ol' CLI tools.
The idea here is to set up an SD card that you can quickly and easily fall back to in the event that you want to switch back to a 'normal' build (most likely,) or really screw something up.
Because I'm running JF RC33 1.42, my 'safety net' is as easy as booting into recovery mode (home+power) and wiping/updating via the update script, and everything is sane again.
Obviously, depending on your set up, your methods may vary.
Download fastboot (Linux, Mac, Win32)
My Cupcake Images
1) Download a set of images, or compile some yourself.
2) Boot into the bootloader and get it into fastboot mode. With the phone off (and connected to your computer,) hold down the camera button and press power. Once the screen is up, press back a few times until it says FASTBOOT
3) Make sure fastboot sees your device with fastboot devices
4) Below are the commands to flash the various partitions with the image files:
chmod a+x fastboot (if needed)
./fastboot flash system system.img
./fastboot flash boot boot.img
./fastboot flash userdata userdata.img
After running ./fastboot reboot, your phone will restart itself, and within a few minutes (be patient on first boot, it can take time) - you'll be running a brand new build.
As mentioned in the safety net section, you can pretty much revert to where you were before assuming you actually backed your stuff up.
To restore a nandroid image
To revert with JF 1.42 RC33
Turn the phone off
Hold down camera+power to get into the bootloader
Hit back a few times until it says FASTBOOT
./fastboot flash system /path/to/nandroid/system.img
./fastboot flash boot /path/to/nandroid/boot.img
./fastboot flash userdata /path/to/nandroid/userdata.img
Turn the phone off
Hold down home+power to get into recovery mode
Alt+W to wipe the data
Alt+S to load up the update