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.
tools
directory (it is a prebuilt x86 binary for GNU/Linux). Note that you can still use this binary on a system with different hardware architecture as long as you have 32-bit version of needed libraries installed. It is known to work with 32-bit version of GNU C Library and legacy GNU Standard C++ Library version 3 installed. chmod a+x fastboot
Device | Keys (held together) |
HTC Dream/HTC Magic | BACK, POWER |
Nexus One | Trackball, POWER |
Nexus S | VOL+, POWER |
Galaxy Nexus | VOL-, VOL+, POWER |
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!
./fastboot flash boot boot.img ./fastboot flash recovery recovery.img ./fastboot flash system system.img ./fastboot flash userdata userdata.img
./fastboot erase cache
./fastboot reboot
Your device should now be running Replicant!