h1. Galaxy S Installation h2. Prerequisites * Your device must run Android 2.3 (we cannot use the 2.2 partition layout) * Your device must be ready to run CyanogenMod (see http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S:_Full_Update_Guide) * It is a good idea to flash CyanogenMod before Replicant as it'll solve possible issues with the modem image (it must be located at /radio/modem.bin and symlinked to /dev/block/bml12) h2. Download the files * Refer to the [[GalaxyS]] page to find a link to the latest images (@Last image@ part of the table). * Download the images and the md5 checksum * Download 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 Galaxy S 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. Prepare the phone # Turn the phone completely off, remove any connected cable # Boot in "Download" mode by holding VOL-, Select and Power buttons together # Connect a microUSB cable to the phone # Flash recovery image with heimdall:
./heimdall flash --kernel path/to/recovery.imgh2. Flash the images # Select @flash images@ # Choose the location of the images (internal sdcard is the actual sdcard) # Confirm flash # Get back to the general menu # Select @mounts and storage@ # Select @format /datadata@ # Confirm format # Reboot @Your device is now running Replicant!@