Skip to content

Instantly share code, notes, and snippets.

@edouard-lopez
Last active November 12, 2020 13:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edouard-lopez/cf8eb0d09f087c12b8f9bd8b2524b205 to your computer and use it in GitHub Desktop.
Save edouard-lopez/cf8eb0d09f087c12b8f9bd8b2524b205 to your computer and use it in GitHub Desktop.
Flash Samsung Galaxy S i9000 using Heimdall on Linux

Flash Samsung Galaxy S i9000 using Heimdall on Linux

⚠️ Backup your data!

Enable USB debugging

In order to be able to establish a connection to the PC via USB cable.

On Android 2.x :

Menu > Settings > Applications > Development and check USB Debugging

Restore stock firmware

  • Step 1: Open Heimdall's frontend (heimdall-frontend on Linux)
  • Step 2: Load the downloaded tar.gz into Heimdall
  • load package
  • Step 3: Press "Load / Customize"
  • Step 4: Reboot your phone in Download mode and connect it to your computer
  • Step 5 (optional): Customize the installation before flashing by removing or adding different files (such as pre-rooted kernels or different modems)
  • Step 6: Press "Start"
  • flash

archive

Flash CWM

  1. Download CWM Semaphore_2.7.4.tar

  2. extract the zImage file contains in it

  3. boot in download mode Volume Down+Home+Power Button

  4. connect the phone via USB

  5. flash CWM kernel image

    heimdall flash --KERNEL ./zImage --no-reboot

view log
Heimdall v1.4.2

Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is encouraged.

If you appreciate this software and you would like to support future development please consider donating: http://www.glassechidna.com.au/donate/

Initialising connection... Detecting device... Claiming interface... Attempt failed. Detaching driver... Claiming interface again... Setting up interface...

Initialising protocol... Protocol initialisation successful.

Beginning session...

Some devices may take up to 2 minutes to respond. Please be patient!

Session begun.

Downloading device's PIT file... PIT file download successful.

Uploading KERNEL 100% KERNEL upload successful

Ending session... Releasing device interface... Re-attaching kernel driver...

1. When kernel upload is complete, reboot using Volume Up+Home+Power Button

Install new ROM

Use CWM to install new rom:

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment