[Xperia Play Android Development] cj360:
Using flashtool on ubuntu 11.10 and I can't use the flashmode.

When I setup flashtool and wait till the pop-up on how to plug in the phone in flashmode the app crashes when I connect it and the green led comes on. So I restarted flashtool and shut-off my phone. So I started flashtool again and pluged in my phone in flashmode before selecting the firmware. Still failed but the app had a different error and didn't force close.

Here's the output from terminal when flashtool quits

FlashTool/x10flasher_lib/linjre64
R800x_3.0.1.E.0.88_Verizon.ftf
libusb couldn't open USB device /dev/bus/usb/001/004: Permission denied.
libusb requires write access to USB device nodes.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f8477f1e760, pid=3424, tid=140206940055296
#
# JRE version: 7.0_04-b20
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.0-b21 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libusb-1.0.so.0+0x4760] libusb_submit_transfer+0x20
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/andrew/Desktop/xperia_play_stuff/FlashTool/hs_err_pid3424.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted [/hide]

And here's the output when flashtool aborts but stays open

FlashTool/x10flasher_lib/linjre64
java.io.IOException: readReply : First data read request failed
at linuxlib.JUsb.readS1Device(JUsb.java:108)
at flashsystem.io.USBFlashLinux.readS1Reply(USBFlashLinux.java:55)
at flashsystem.io.USBFlash.readS1Reply(USBFlash.java:45)
at flashsystem.X10flash.openDevice(X10flash.java:404)
at flashsystem.X10flash.openDevice(X10flash.java:345)
at gui.FlasherGUI$43.run(FlasherGUI.java:1058)
at foxtrot.AbstractWorkerThread$1.run(AbstractWorkerThread.java:40)
at java.security.AccessController.doPrivileged(Native Method)
at foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:36)
at foxtrot.workers.SingleWorkerThread.run(SingleWorkerThread.java:199)
at foxtrot.workers.SingleWorkerThread.run(SingleWorkerThread.java:182)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at flashsystem.X10flash.processHeader(X10flash.java:181)
at flashsystem.X10flash.uploadImage(X10flash.java:196)
at flashsystem.X10flash.sendLoader(X10flash.java:225)
at flashsystem.X10flash.flashDevice(X10flash.java:317)
at gui.FlasherGUI$43.run(FlasherGUI.java:1059)
at foxtrot.AbstractWorkerThread$1.run(AbstractWorkerThread.java:40)
at java.security.AccessController.doPrivileged(Native Method)
at foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:36)
at foxtrot.workers.SingleWorkerThread.run(SingleWorkerThread.java:199)
at foxtrot.workers.SingleWorkerThread.run(SingleWorkerThread.java:182)
at java.lang.Thread.run(Unknown Source)
flashsystem.X10FlashException
at flashsystem.X10flash.uploadImage(X10flash.java:217)
at flashsystem.X10flash.sendLoader(X10flash.java:225)
at flashsystem.X10flash.flashDevice(X10flash.java:317)
at gui.FlasherGUI$43.run(FlasherGUI.java:1059)
at foxtrot.AbstractWorkerThread$1.run(AbstractWorkerThread.java:40)
at java.security.AccessController.doPrivileged(Native Method)
at foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:36)
at foxtrot.workers.SingleWorkerThread.run(SingleWorkerThread.java:199)
at foxtrot.workers.SingleWorkerThread.run(SingleWorkerThread.java:182)
at java.lang.Thread.run(Unknown Source) [/hide]

I've sync'd repo's and used java for other things and it was fine, cause these errors tell me that it's somthing with java but I've never had a problem with it till now.