How to root your Samsung Galaxy S

This is an “how to”. I will show you how to root your Samsung Galaxy S. The credits go to LeshaK for rooting method and lmfwtw for providing a small tutorial that this how to is based upon. Also credits to these sites Samdroid and Samsung Firmwares.

So lets start and try to root our phone.

THERE IS ALSO AN SECOND METHOD LOOK HERE

BUT FIRST BEFORE I BEGIN PLEASE, PLEASE DO NOT TRY THIS IF YOU DON’T KNOW WHAT YOU ARE DOING OR YOU DON’T WANT TO RISK YOUR PHONE BEEING BRICKED. ALTHOUGH THE HOW TO WORKED FOR ME AND OTHERS THAT DOES NOT MEAN IT CAN NOT GO WRONG. I TAKE NO RESPONSOBILITY ON THIS, YOU ARE ON YOUR OWN.

YOU HAVE BEEN WARN!

STEP1:
Not sure if it is really needed but just in case. On your phone go to Settings > Applications > Development > Check USB Debugging

STEP2:
You need to install the Samsung Kies software from here or you can download the software directly from here.

STEP3:
Connect your Galaxy to the PC and wait for the drivers to get installed

STEP4:
Disconnect your Galaxy from the PC and shut it down.

STEP5:
Now it’s time to download Odin. Odin is the flashing program. You can download it from here or you can download it directly from me here

STEP6:
Connect your phone to your PC

STEP7:
Boot your phone in to download mode, to do this press HOME + DOWN + POWER

STEP8:
You should see that Odin has recognized your phone

STEP9:
To proceed further you need to download two things and that is the pit file from here or directly from me here.
You also need to download the patched kernel from LeshaK from here or directly from here or from me here

STEP10:
In Odin select the pit file and the pda file and then press start.

STEP11:
When Odin finishes your phone will reboot automatically.

STEP12:
Login to your phone and connect it to the PC where you have setup adb. For info about adb go here

STEP13:
Open up a terminal/commandline and do the following:

adb shell 
su 
cat /sbin/su > /system/bin/su 
chmod 4755 /system/bin/su
exit
exit

STEP14:
Now you have two options you can keep this kernel or you can go back to the stock kernel. The kernel provided by LeshaK could be unstable (these are his words) so it’s up to you. If you wish to go back just flash the stock kernel like you did with LeshaK kernel. You can find different firmwares here just download your firmware and then look inside the tar files find the one with zImage in it. Remove everything besides the zImage, now you can flash that kernel.

I my self was running XXJF3 firmware but there is no firmware online for that so I just installed the kernel from XXJF5. You can download the tar file I used here

STEP15:
For root to work perfectly we need to do some more steps. When done with STEP14, whether you choose stock or not you need to follow this. Go and download the su-2.1-e-unsecure-signed.zip from here or directly from here or directly from me (already unpacked) here

Unzip the zip file.

STEP16:
Connect your Galaxy to your PC where you have adb working and do the following:

adb push PATH_TO_SU_FROM_THEZIP/su /sdcard 
adb shell 
su 
cat /sdcard/su > /system/bin/su 
chmod 4755 /system/bin/su 
exit 
exit 
adb install PATH_TO_SUPERUSER_FROM_THEZIP/Superuser.apk

STEP17:
From the market download an terminal for example the “android terminal emulator”.

STEP18:
Open the terminal on you phone and type in “su”, if you get an popup asking you to give permission for root then you successfully have rooted your phone.

Have FUN.