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 copyToi386Lib.sh script before running heimdall!
Ubuntu 10.04 lacks libusb-1.0.so.0.1.0 lib!
$./heimdall flash --RECOVERY recovery-clockwork-touch-22.214.171.124-i9300.img --no-reboot
RECOVERY upload successful
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 DALVIK CACHE
- wipe CACHE&User data
- install update.zip from external SD card
- cyanogenmod 10.1
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 libusb-1.0.so.0.1.0 lib. Download the required file.
2. Problem with detecting the device:
ERROR: Failed to access device. libusb error: -3
sudo chmod -R 777 /dev/bus/usb/001
The problem with libusb1.0: libusb-1.0.so.0 => not found
- download the libraries from the package and copy them to: