How to install Flashtool on Ubuntu

Search This thread

Jedidiah55

Member
Aug 21, 2011
38
17
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
 
Last edited:

Duvel999

Senior Member
Nov 1, 2010
1,731
431
Samsung Galaxy Tab S3
OnePlus 6T
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..

;)
 
  • Like
Reactions: dukedusty

Jedidiah55

Member
Aug 21, 2011
38
17
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
 
  • Like
Reactions: Duvel999

leona

Senior Member
Mar 11, 2008
159
5
Exeter

leona

Senior Member
Mar 11, 2008
159
5
Exeter
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 :(
 
Last edited:

Jedidiah55

Member
Aug 21, 2011
38
17
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
 

leona

Senior Member
Mar 11, 2008
159
5
Exeter
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.
 

Mister J

Senior Member
Mar 6, 2011
583
131
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
screenshot3e3cd6ad.png
 

M4ST3R-V

Senior Member
Nov 19, 2012
217
311
Salem
help

followed the steps as you mentioned. But when i click on the flashtool script file nothing is happening. :(
pls help
 

Amigo62

Member
Feb 14, 2012
40
3
74
Vyškov
OnePlus Nord CE 5G
linux mint xfce 17 (ubuntu 14)

Hi, would be this guide work on my system too? I am newbee in linux. Help me please. :rolleyes:

Sory, my phone is Elephone P9, MTK6592
 
Last edited:

sina.raad

New member
Mar 8, 2016
3
0
help

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


hi when i type this
show me in terminal this message:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
 

sina.raad

New member
Mar 8, 2016
3
0
please help me

hi. when i write this:
sudo apt-get update
terminal show me this text!

E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?


this is true?
 

ShidoLz

Member
Apr 28, 2016
12
0
8ehi5dQ.png

I got this error everytime i run FlashTool as root.
I can run FlashTool if i run it as normal user, but the access to phones are denied by system ._.
Please help me :(
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    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
    1
    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..

    ;)
    1
    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
    1
    followed the steps as you mentioned. But when i click on the flashtool script file nothing is happening. :(
    pls help

    Open terminal and run flashtool and you'll see what is wrong

    Sent from my Xperia X10 using xda app-developers app