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
Key combinations for Download mode¶
Device |
Keys (held together) |
Galaxy S |
VOL-, SELECT, POWER |
Galaxy S2 |
VOL-, SELECT, POWER |
Galaxy Tab 2 10.1 |
VOL+, POWER |
Galaxy Tab 2 7.0 |
VOL- |
Prepare the phone¶
- Turn the phone off, disconnect any USB cable
- Hold the key combination for Download mode (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
Flash the images¶
- Flash the recovery image using heimdall:
./heimdall flash --kernel path/to/recovery.img
- The phone should reboot and heimdall indicate that the operation was successful
- Wait until recovery boots
- 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 (internal sdcard is the phone's internal memory, sdcard is the µSD card)
- 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!