h1. Fastboot Installation *Warning: flashing another operating system like Replicant may void your warranty and will erase the data stored on the device.* This guide assumes your phone is supported by fastboot. First, you need to have fastboot already installed. If not you can follow the [[ToolsInstallation|ToolsInstallation]] page to install it. h2. Key combinations for fastboot mode | *Device* | *Keys (held together)* | | *HTC Dream/HTC Magic* | BACK, POWER | | *Nexus One* | Trackball, POWER | | *Nexus S* | VOL+, POWER | | *Galaxy Nexus* | VOL-, VOL+, POWER | h2. Prepare the phone # Turn the phone off, disconnect any USB cable # Hold the key combination for fastboot mode (release only when in fastboot mode) # You should be in fastboot mode. If not, remove the battery and retry the steps above # Once the fastboot screen is waiting, plug the USB cable h2. Unlocking the bootloader If this is the first time you reflash your phone, you will need to unlock the bootloader. This is done using fastboot:
./fastboot oem unlock
*Warning:* This will erase all the data stored on the phone, including the data stored on the internal memory! h2. Flash the images # Flash the images using fastboot:
./fastboot flash boot boot.img
./fastboot flash recovery recovery.img
./fastboot flash system system.img
./fastboot flash userdata userdata.img
# Clear cache:
./fastboot erase cache
# Reboot:
./fastboot reboot
*Your device should now be running Replicant!*