Project

General

Profile

DeprecatedHeimdallRecoveryInstallation » History » Revision 2

Revision 1 (Paul Kocialkowski, 11/11/2012 02:23 PM) → Revision 2/8 (Paul Kocialkowski, 11/11/2012 06:44 PM)

h1. 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. 

 h2. Download the files 

 * Refer to your device page to find a link to the test 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/ 

 h2. Copy the files to the device 

 h3. 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 

 h3. 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 

 h2. Key combinations for Download mode 

 | *Device* | *Keys (held together)* | 
 | *Galaxy S* | VOL-, SELECT, POWER | 
 | *Galaxy S2* | VOL-, SELECT, POWER | 

 h2. 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 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 (if not plugged already) 
 # Flash the boot image using heimdall: 
 <pre> 
 ./heimdall flash --kernel path/to/boot.img 
 </pre> 
 # The phone should reboot and heimdall indicate that the operation was successful 
 # Wait until recovery boots 

 h2. 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!*