Search This Blog

Friday, October 4, 2013

Ubuntu install cyanogenmod on Galaxy S3 I9300 - running heimdall on Ubuntu 10.04

Tutorial on cyanogenmod wiki for flashing CWM on the Galaxy S3 is here.

This is the easy guide to flash Cyanogenmod 10.1.3 on I9300. The machine is Ubuntu 10.04 x64

Download the required file.
run the script before running heimdall!
Ubuntu 10.04 lacks lib!

$./heimdall flash --RECOVERY recovery-clockwork-touch- --no-reboot

Uploading RECOVERY
RECOVERY upload successful

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

The device will hang on completion! You need now to manually reboot the phone into ClockworkMod Recovery mode by holding Home & Volume Up & Power.

After that the i9300 will enter the new TOUCH ClockworkmodRecovery.

Do the following steps:
- wipe CACHE&User data
- install from external SD card

  • cyanogenmod 10.1
  • gapps

Solutions for the following problems:

1. Heimdall does NOT WORK ON UBUNTU!

Run the 32-bit of heimdall on Ubuntu 12.04 ! The 64-bit version currently does NOT work!
The 32-bit version needs lib. Download the required file.

2. Problem with detecting the device:

Detecting device...
ERROR: Failed to access device. libusb error: -3

sudo chmod -R 777 /dev/bus/usb/001

The problem with libusb1.0: => not found
- download the libraries from the package and copy them to:


If you like this post, please leave a comment :)