If you encountered this while using gecko iphone toolkit..

INIT FAILED (mux thread)!

Possible causes:

iTunes 9 or newer is NOT installed.

Could not bind to the port 2202 (make sure only one instance is running!

Most probably your java was updated to the latest version which is not supported by gecko since it doenst get an update for sometime now from the author..

You can solve this by downgrading your java to some older version like 6 or older version of 7..

Up to java version version 7 update 4 is supported according to my test higher than that and youll probably get the error..

Tried and tested..