Heimdall/Recovery 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 Heimdall and installation is to be done using recovery.
Download the files¶
Copy the files to the device¶
Using the internal memory¶
- Mount usb storage from the current system of your phone
- Create a directory at the root of the usb storage
- Copy the downloaded images and md5 checksum to this directory
Using a µSD card¶
- Mount the µSD card, make sure it's fat32
- Create a directory at the root of the µSD card
- Copy the downloaded images and md5 checksum to this directory
Prepare the phone¶
- On your current system, reboot in recovery mode (
adb reboot recovery
can work too)
- A soon as the Rebooting dialog is displayed, hold the key combination for Download (release only when in Download mode)
- You should be in Download mode. If not, remove the battery and retry the steps above
- You might need to confirm that you want to download a custom OS
- Once the Download screen is waiting, plug the USB cable (if not plugged already)
- Flash the boot image using heimdall:
./heimdall flash --kernel path/to/boot.img
- The phone should reboot and heimdall indicate that the operation was successful
- Wait until recovery boots
Flash the images¶
- You should be in recovery mode. If not, remove the battery and retry the steps above
- Select flash images
- Choose the location of the images
- Confirm flash
- Get back to the general menu
- Select wipe data/factory reset
- Confirm wipe
- Get back to the general menu
- Reboot
Your device should now be running Replicant!