Saturday 27 August 2011

updating the Samsung GalaxyS in Ubuntu with heimdall

A while ago I opted to drop Windows 7 and move back to a *nix variant.  Ubuntu was the one.  One big issue I had was with regards to my phone.  I am constantly upgrading the firmware on it, and the only way to do it was via Odin in Windows.

If you want to root your Galaxy S, here's a good page, but it's not good if you don't have Odin:  http://androidflip.com/how-to-root-samsung-galaxy-s-running-xxjvr-android-2-3-4-gingebread/
  1. I downloaded the “CF-Root-XX_OXA_JVR-v4.1-CWM3RFS.tar”
  2. Extracted it which left me with a zImage file
  3. Ran the command:  heimdall flash --kernel zImage

 Simple.  Right?  Well, what if you wanted to upgrade the full OS on your Galaxy S to something like uh, Gingerbread ... (2.3.4) or even (3) when it comes out?   Same principle really, just a few more arguments for heimdall.  I came across this on the site:  http://wmarkito.wordpress.com/2011/02/11/flashing-android-froyo-in-a-galaxy-s-with-ubuntu-and-heimdall/

heimdall flash --factoryfs factoryfs.rfs --cache cache.rfs  --param param.lfs --kernel zImage --modem modem.bin --pit s1_odin_20100512.pit