FORUMS
Remove All Ads from XDA

How to install Flashtool on Ubuntu

38 posts
Thanks Meter: 19
 
By Jedidiah55, Member on 25th January 2012, 04:50 PM
Post Reply Email Thread
I can only get the flashtool to recognize my phone is flash mode, anyone can chime in if they want to

HOW-TO

Open terminal alt+ctrl+T

Copy and paste each line separately

sudo add-apt-repository ppa:ferramroberto/java

sudo apt-get update

sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

Then download the flashtool

http://androxyde.github.com/Flashtool/

Extract the file and save it in your home folder

Now you need to make a udev rule

Go in terminal and hit SHIFT+CTRL+T

2 tabs should be opened

Type

sudo gedit /etc/udev/rules.d/51-flashtool.rules

then go to the other terminal tab and type

lsusb

you should see a line that looks like this

Bus 001 Device 011: ID 0fce:612e Sony Ericsson Mobile Communications AB

copy the bold and italicized print into this line

SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="0fce", SYSFS{idProduct}=="####", MODE="0777"

Save that line into the rules file

Go to the flashtool folder

Click on the flashtool file

And run it but not in terminal
The Following 11 Users Say Thank You to Jedidiah55 For This Useful Post: [ View ] Gift Jedidiah55 Ad-Free
 
 
16th February 2012, 11:28 AM |#2  
Duvel999's Avatar
Senior Member
Thanks Meter: 294
 
More
hi,

I got Macbuntu 10.10 here.
Downloaded & extracted flashtool 0.6.7

have java installed

have libusb-1.0 installed

how do I add the rule =>

(terminal?)

/etc/udev :
SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="0fce", SYSFS{idProduct}=="*", MODE="0777"

and then?

any help would be nice..

The Following User Says Thank You to Duvel999 For This Useful Post: [ View ] Gift Duvel999 Ad-Free
2nd March 2012, 02:07 AM |#3  
OP Member
Thanks Meter: 19
 
More
you will be in terminal, sorry im never on here. the command gedit will open the file where needed to make the rule

I'll redo install and take screenshots as I go
The Following User Says Thank You to Jedidiah55 For This Useful Post: [ View ] Gift Jedidiah55 Ad-Free
5th March 2012, 11:23 AM |#4  
Duvel999's Avatar
Senior Member
Thanks Meter: 294
 
More
Quote:
Originally Posted by Jedidiah55

you will be in terminal, sorry im never on here. the command gedit will open the file where needed to make the rule

I'll redo install and take screenshots as I go

that would be nice
13th September 2012, 08:10 PM |#5  
leona's Avatar
Senior Member
Flag Exeter
Thanks Meter: 5
 
More
I added this
Quote:

SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="0fce", SYSFS{idProduct}=="615a", MODE="0777"

from lsusb
Quote:

Bus 001 Device 005: ID 0fce:615a Sony Ericsson Mobile Communications AB

but I still get.
Quote:

libusb couldn't open USB device /dev/bus/usb/001/007: Permission denied.
libusb requires write access to USB device nodes.

??
14th September 2012, 04:59 PM |#6  
Senior Member
Thanks Meter: 132
 
More
Quote:
Originally Posted by leona

I added this

from lsusb

but I still get.


??

Use sudo
15th September 2012, 05:15 PM |#7  
leona's Avatar
Senior Member
Flag Exeter
Thanks Meter: 5
 
More
Quote:
Originally Posted by leona

I added this

from lsusb

but I still get.


??

Oddly a restart seemed to cure it, even after I did restart a udev service, it needed to restart the PC.
Edit: Hum maybe not, just plugged phone while switched on and it seemed fine.
Went to do a firmware flash and it gave me the
Code:
libusb couldn't open USB device /dev/bus/usb/001/012: Permission denied.
libusb requires write access to USB device nodes.
Again
16th September 2012, 03:12 AM |#8  
OP Member
Thanks Meter: 19
 
More
sorry ive been busy lately, job change, engine swaps, moving, buying new car, buried some family, etc.
ive also update to 12.4 ubuntu so ill see what i can do
16th September 2012, 06:52 PM |#9  
leona's Avatar
Senior Member
Flag Exeter
Thanks Meter: 5
 
More
Quote:
Originally Posted by Jedidiah55

sorry ive been busy lately, job change, engine swaps, moving, buying new car, buried some family, etc.
ive also update to 12.4 ubuntu so ill see what i can do

Gosh you have been busy, I'm still on 10.04 LTS at the moment, as I have not got around to update my machine yet, as I can not stand the new UI.
I did the firmware flash in the end but using sudo as Mister J suggested which worked, but it would be nice to have it work it properly.
19th September 2012, 01:48 AM |#10  
Senior Member
Thanks Meter: 132
 
More
Quote:
Originally Posted by leona

Oddly a restart seemed to cure it, even after I did restart a udev service, it needed to restart the PC.
Edit: Hum maybe not, just plugged phone while switched on and it seemed fine.
Went to do a firmware flash and it gave me the

Code:
libusb couldn't open USB device /dev/bus/usb/001/012: Permission denied.
libusb requires write access to USB device nodes.
Again

Try opening up a terminal and typing:

"sudo nautilus"

Then, go to /dev/usb/001/012 and Right clicking on the file.

Click on the Permissions tab and change the drop down menu to read and write.

Like this
20th December 2012, 02:59 PM |#11  
M4ST3R-V's Avatar
Senior Member
Flag Salem
Thanks Meter: 312
 
Donate to Me
More
help
followed the steps as you mentioned. But when i click on the flashtool script file nothing is happening.
pls help
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes