DeprecatedHeimdallRecoveryInstallation » History » Version 4
  Paul Kocialkowski, 02/10/2013 07:12 PM 
  
| 1 | 1 | Paul Kocialkowski | h1. Heimdall/Recovery Installation  | 
|---|---|---|---|
| 2 | |||
| 3 | *Warning: flashing another operating system like Replicant may void your warranty and will erase the data stored on the device.*  | 
||
| 4 | |||
| 5 | This guide assumes your phone is supported by Heimdall and installation is to be done using recovery.  | 
||
| 6 | |||
| 7 | h2. Download the files  | 
||
| 8 | |||
| 9 | 3 | Paul Kocialkowski | * Refer to your device page to find a link to the latest images (*Last images* part of the table).  | 
| 10 | 1 | Paul Kocialkowski | * Download the images *and the md5 checksum*  | 
| 11 | * Download and install heimdall: http://www.glassechidna.com.au/products/heimdall/  | 
||
| 12 | |||
| 13 | h2. Copy the files to the device  | 
||
| 14 | |||
| 15 | h3. Using the internal memory  | 
||
| 16 | |||
| 17 | # Mount usb storage from the current system of your phone  | 
||
| 18 | # Create a directory *at the root* of the usb storage  | 
||
| 19 | # Copy the downloaded images *and md5 checksum* to this directory  | 
||
| 20 | |||
| 21 | h3. Using a µSD card  | 
||
| 22 | |||
| 23 | # Mount the µSD card, make sure it's fat32  | 
||
| 24 | # Create a directory *at the root* of the µSD card  | 
||
| 25 | # Copy the downloaded images *and md5 checksum* to this directory  | 
||
| 26 | |||
| 27 | 2 | Paul Kocialkowski | h2. Key combinations for Download mode  | 
| 28 | |||
| 29 | | *Device* | *Keys (held together)* |  | 
||
| 30 | | *Galaxy S* | VOL-, SELECT, POWER |  | 
||
| 31 | | *Galaxy S2* | VOL-, SELECT, POWER |  | 
||
| 32 | |||
| 33 | 1 | Paul Kocialkowski | h2. Prepare the phone  | 
| 34 | |||
| 35 | 4 | Paul Kocialkowski | # Turn the phone off, disconnect any USB cable  | 
| 36 | # Hold the key combination for Download mode (release only when in Download mode)  | 
||
| 37 | 1 | Paul Kocialkowski | # You should be in Download mode. If not, remove the battery and retry the steps above  | 
| 38 | # You might need to confirm that you want to _download a custom OS_  | 
||
| 39 | 4 | Paul Kocialkowski | # Once the Download screen is waiting, plug the USB cable  | 
| 40 | |||
| 41 | h2. Flash the images  | 
||
| 42 | |||
| 43 | # Flash the recovery image using heimdall:  | 
||
| 44 | 1 | Paul Kocialkowski | <pre>  | 
| 45 | 4 | Paul Kocialkowski | ./heimdall flash --kernel path/to/recovery.img  | 
| 46 | 1 | Paul Kocialkowski | </pre>  | 
| 47 | # The phone should reboot and heimdall indicate that the operation was successful  | 
||
| 48 | # Wait until recovery boots  | 
||
| 49 | # You should be in recovery mode. If not, remove the battery and retry the steps above  | 
||
| 50 | # Select *flash images*  | 
||
| 51 | 4 | Paul Kocialkowski | # Choose the location of the images (internal sdcard is the phone's internal memory, sdcard is the µSD card)  | 
| 52 | 1 | Paul Kocialkowski | # Confirm flash  | 
| 53 | # Get back to the general menu  | 
||
| 54 | # Select *wipe data/factory reset*  | 
||
| 55 | # Confirm wipe  | 
||
| 56 | # Get back to the general menu  | 
||
| 57 | # Reboot  | 
||
| 58 | |||
| 59 | *Your device should now be running Replicant!*  |