Project

General

Profile

Actions

DeprecatedHeimdallRecoveryInstallation » History » Revision 6

« Previous | Revision 6/8 (diff) | Next »
Paul Kocialkowski, 05/04/2013 10:40 AM


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

  • Refer to your device page to find a link to the latest images (Last images part of the table).
  • Download the images and the md5 checksum
  • Download and install heimdall: http://www.glassechidna.com.au/products/heimdall/
  • System permissions are needed to access the device with heimdall. You can either lunch heimdall as root, for instance using sudo, or setup udev rules for your user.

Copy the files to the device

Using the internal memory

  1. Mount usb storage from the current system of your phone
  2. Create a directory at the root of the usb storage
  3. Copy the downloaded images and md5 checksum to this directory

Using a µSD card

  1. Mount the µSD card, make sure it's fat32
  2. Create a directory at the root of the µSD card
  3. 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

  1. Turn the phone off, disconnect any USB cable
  2. Hold the key combination for Download mode (release only when in Download mode)
  3. You should be in Download mode. If not, remove the battery and retry the steps above
  4. You might need to confirm that you want to download a custom OS
  5. Once the Download screen is waiting, plug the USB cable

Flash the images

  1. Flash the recovery image using heimdall:
    ./heimdall flash --kernel path/to/recovery.img
    
  2. The phone should reboot and heimdall indicate that the operation was successful
  3. Wait until recovery boots
  4. You should be in recovery mode. If not, remove the battery and retry the steps above
  5. Select flash images
  6. Choose the location of the images (internal sdcard is the phone's internal memory, sdcard is the µSD card)
  7. Confirm flash
  8. Get back to the general menu
  9. Select wipe data/factory reset
  10. Confirm wipe
  11. Get back to the general menu
  12. Reboot

Your device should now be running Replicant!

Updated by Paul Kocialkowski almost 11 years ago · 6 revisions

Also available in: PDF HTML TXT