You are on page 1of 11

Just my small effort to return what I get from Linux

My experiments with Linux


Home
SUNDAY, AUGUST 19, 2012
Flashtool in Ubuntu Linux
Everytime I wanted to change firmware for my Xperia phone, I used to reboot into Windows 7
Recently I feel lots of Blue Screen Of Death in Windows 7 (think due to nvidia driver problem), and did not want
to reinstall Windows 7
I tried flashtool in Ubuntu Linux and it worked, I changed firmware in my Xperia phone!! Thanks XDA devs and
Flashtool devs
Here is how
Download flashtool for Linux from (Refer, http://forum.xda-developers.com/showthread.php?t=1588586)
http://androxyde.github.com/Flashtool/
http://www.flashtool.net/download.html
After downloading the linux version with extension tar.7z, unzip it
To do this, install p7zip, p7zip-full from synaptic or from software center
Unzip the Flashtool folder,
Add this rules to following file (create this file by copying existing 70-persistent-net.rules as follows,
sudo cp /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/80-persistent-usb.rules)
sudo vi /etc/udev/rules.d/80-persistent-usb.rules
and add
Search
SEARCH THIS BLOG
Flashtool in Ubuntu
Linux
Everytime I wanted
to change firmware
for my Xperia
phone, I used to reboot into
Windows 7 Recently I feel lots of
Blue Screen Of Death i...
Clearing cache
memory in linux
using sysctl
In linux, when we
copy big files, the
file's content gets cached in RAM
for fast access eventhough we
might not need it later in RAM.
We...
Unlock Xperia S
bootloader from
Ubuntu 12.04
Introduction I tried
to unlock
bootloader from Windows 8 and
in vain. Windows 8 installed some
drivers for fastboot and never
allowed an ...
How to migrate
ext4 partitions to
ext3
Introduction This
article tries to help
someone like me who want to
migrate from one filesystem in
linux to another filesystem. I
converte...
Custom 64 bit Mint
13 or Ubuntu 12.04
Kernel 3.4.4
optimized for i3, i5
and i7
Introduction , ah it will be boring,
skip below first screenshot to get
the kernel compilation how to. But
if you have time to r...
Reclaiming the
reserved space
from a big
ext3/ext4 partition
When we have a
500 GB or 1 TB partition and it is
formatted in ext3 or ext4,
filesystem reserves 5 percent
POPULAR POSTS (LAST
30 DAYS)
Chia s
6

Lin kt khc

Blog tip theo To Blog

ng nhp
SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="0fce", SYSFS{idProduct}=="*",
MODE="0777"
Should look like this
Before running flashtool install ia32-libs
sudo apt-get install ia32-libs
To run the flashtool enter the directory where the 7zip got extracted and run FlashTool as super user
For e.g I did this
cd Downloads/FlashTool/
sudo su
./FlashTool
It should look like this
I choose to install a firmware to my Xperia phone and Flashtool in action
space by default This is not a ...
New way to stop
or start gdm/X
server in Ubuntu
Karmic 9.10 using
service command
Today I was trying to install
nvidia drivers manually on Ubuntu
Karmic 9.10 (got installed using
daily build of Ubuntu) as version
190.42 a...
Custom 64 bit
Ubuntu Kernel 3.1
optimized for i3, i5
and i7
Kernel 3.1 I built
the 64bit kernel 3.1 for my
Kubuntu 11.10 desktop optimized
for i7. Here is the screenshot of
the kernel in actio...
KDE over ssh
OMG OMG,
unbelievable I am
stunned, KDE is
running over ssh
See the below screenshot You can
see ubuntu's violet terminals,
ubun...
Enterprise Kernel 6
has SSD TRIM
support
Today morning I
successfully
compiled Red Hat Enterprise
Kernel 6 from source into a deb.
The kernel is running excellently
in Ubuntu. As a...
FOLLOW BY EMAIL
Email address... Submit
SUBSCRIBE TO
Posts
Comments
at 2:00 PM Posted by Sankaran Raman
Labels: Flashtool 0.9.0 Linux, Flashtool Xperia S Ubuntu
After installing new Firmware my phone screen looks as below
+6 Recommend this on Google
34 comments:
Sankaran Raman October 20, 2012 at 12:53 AM
I rooted my phone with latest flashtool 0.9.8
and what a difference it made to ICS, I removed power saver app as I suspected it is keeping my screen awake
always. Till now I could not reproduce screen wakeup issue after freezing power saver app
I have disabled google+,facebook, twitter, all extensions to album app and unplug charger reminder earlier in ICS
Replies
Reply
Replies
Reply
Replies
without rooting (before rooting to check if they were causing screen wake up issue)
Now I left all the disabled apps as is, I have browser to check facebook, no need for a battery gobbler service
running in background
Reply
Sankaran Raman October 20, 2012 at 12:55 AM
bah, screen awake issue is back ...
Johan December 5, 2012 at 1:43 AM
I, for one, would appreciate if you updated this guide to work with the latest (0.9.9.0) version of FlashTool that
uses libusbx 1.0.14.
Right now I'm stuck at something like "libusbx 1.0.14 needed libusbx 1.0.12 found" or some such...
Reply
Sankaran Raman December 5, 2012 at 9:41 AM
Oh ok, will try it and update this guide. Meanwhile (you already know this I think) have multiple
flashtool folders so that there is a fallback when there is some problem
Sankaran Raman December 8, 2012 at 12:42 PM
I tested with 0.9.9 and it works, could you tell me which version of Ubuntu you used
I am using Ubuntu 12.04
m3n3chm0 December 14, 2012 at 2:51 AM
Hello Sankaran,
I've just install all and run Flashtool but is this version only for XPERIA devices ?
Reply
Sankaran Raman December 14, 2012 at 6:41 AM
This is only for Xperia devices
m3n3chm0 December 14, 2012 at 5:43 PM
OK :) do you know if there is another app available for the rest of devices ??
Specially for MTK devices. I'm using MTK6577 :)
Sankaran Raman December 14, 2012 at 8:50 PM
Check this, http://forum.xda-developers.com/showthread.php?t=1846397
The thread explains about a program called TSsparky for rooting
For rooting any device, refere superoneclick,
Reply
Replies
Reply
Replies
Reply
http://www.xda-developers.com/android/do-everything-with-superoneclick-for-android/
and
http://www.xda-developers.com/android/superoneclick-updated-to-2-2-now-features-zergrush-
exploit/
Sankaran Raman December 14, 2012 at 8:51 PM
Just search for superoneclick and you could see thousands of results
m3n3chm0 December 14, 2012 at 10:05 PM
Thanks.. but it's already rooted. My intention is flashing cooked ROMS from LINUX Ubuntu or Debian without
use Windows.
I was thinking to change
SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="0fce", SYSFS{idProduct}=="*",
MODE="0777"
for my idvendor code.. but is not possible ?
Reply
Sankaran Raman December 15, 2012 at 8:13 PM
If superoneclick is written in java, we could move share adb from flashtool and try with other phone
as far as the idVendor, I guess
sudo lsusb
should help (or sudo lspci) to get the vendor id
utkarsh sethi January 11, 2013 at 4:03 PM
how to save that addition :/
SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="0fce", SYSFS{idProduct}=="*",
MODE="0777"
Reply
utkarsh sethi January 11, 2013 at 4:12 PM
i have xperia S
Sankaran Raman January 11, 2013 at 7:57 PM
if you don't know how to use vim, use nano or gedit
anyhow, to save in vi editor, use :wq (to come to command mode, use escape keystroke)
Replies
Reply
Replies
Reply
Replies
utkarsh sethi January 20, 2013 at 4:55 AM
no idea wat u said..
lol
i'm new to linux
Reply
Sankaran Raman January 20, 2013 at 10:36 AM
:)
Download the rules file from below link(I uploaded my rules file)
https://docs.google.com/file/d/0B_nTbpzPbbNJOExLbzVBTWhHSmc/edit
Copy this file into /etc/udev/rules.d/ from command line, say you downloaded the rules file into
Downloads folder, open terminal,
cd Downloads
sudo cp 80-persistent-usb.rules /etc/udev/rules.d/
the above command will ask your password, just key in and the rules will get copied
Nishant Shrivastava March 13, 2013 at 1:27 PM
Hi there,
I just tried installing Flash onto my system (Ubuntu 11), tried installing Libusb dev package - didn't worked, and
I tried doing it by compiling Libusbx from binary, but it didn't worked out.It gives me the same error when I try
to run Flash tool,
Libusb not found. Minimum libusb version is 1.0.14
It can be downloaded on http://www.libusbx.org
I can not figure what more to do, as I have bricked my phone very badly.
Hope to see you reply soon on this.
Reply
Sankaran Raman March 14, 2013 at 10:07 AM
Could you try flashtool from Ubuntu 12.04, libusb in Ubuntu 11 maynot be having recent versions of
libusb
prasad hegde June 11, 2013 at 2:21 AM
as soon as flashtool runs, it will not respond
Reply
Sankaran Raman June 11, 2013 at 7:20 AM
Be specific, your flashtool is hanging or Ubuntu,
I changed phone fw yesterday using flashtool without any probs
Reply
Replies
Reply
Replies
mahasiswa teladan August 28, 2013 at 10:02 AM
hi...Im student from Informatics engineering nice article,
thanks for sharing :)
Reply
Andres Lopez October 22, 2013 at 7:55 PM
Por cosas como estas odio cada vez mas a windows, gracias.
Reply
Mungo85 November 2, 2013 at 7:46 PM
My xperia ray keeps failing with the following message
02/054/2013 13:54:04 - ERROR - S1 Header checksum Error
02/054/2013 13:54:04 - ERROR - Error flashing. Aborted
Any ideas
Reply
Sankaran Raman November 2, 2013 at 10:47 PM
It could be due to corrupted download of firmware or flashtool. Try checking md5sum after
downloading to verify if the download was done properly
previouslysilent November 14, 2013 at 2:25 PM
thanks very much for this. I couldn't get windows to load the right device driver when running flashtool in
windows, flashtool couldn't find the device!
then I realised flashtool was available for linux, so got that and it worked first time.
the best way to add the udev.d rules and load them without needing an editor is as follows
$ sudo -i
--enter password--
# cd /etc/udev/rules.d
# echo 'SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="0fce", SYSFS{idProduct}=="*",
MODE="0777"' > 63-sonyxperia.rules
# ps -ef | grep udevd | grep -v grep | awk '{print $2}' | xargs kill -1
Reply
Ishfaque Jahan Rafee November 26, 2013 at 12:23 AM
In Ubuntu 13.10 ia32-libs is removed. So the corresponding libraries would be,
sudo apt-get -y install lib32ncurses5 lib32stdc++6. Rest of the tutorial works just fine
Reply
Sankaran Raman December 8, 2013 at 8:27 AM
Reply
Replies
Reply
Replies
Reply
Thanks, I have not yet tried it in latest Ubuntu
Abbas Zoher Attarwala December 7, 2013 at 7:28 PM
Hi Sankaran,
Thanks for this very informative article. With the help of this, I have been able to succesfully install Flashtool
version 0.9.13.0 on my Ubuntu 13.10. Further on, I would like to proceed with installing a Custom ROM on my
Xperia Ray. I am very new to this and would like to know how can one proceed with the installation of a
custom ROM on their Xperia phones. Referring other articles, I found out that I need to unlock the bootloader
and also install a kernel. But in this article, you have not mentioned any of this. Could you please advise in detail,
how can one proceed with the installation of a Custom ROM on their Xperia phones in very simple language for
naive users like me.
A speedy response will be appreciated.
Many Thanks!!
Abbas.
Reply
Sankaran Raman December 8, 2013 at 8:25 AM
Try this, it was written for Xperia S but should work for ray as well, once you unlock try firmwares
from xda for ray (do not cross flash different firmware by mistake)
http://duopetalflower.blogspot.in/2012/12/unlock-xperia-s-bootloader-from-ubuntu.html?m=0
December 12, 2013 at 12:32 PM
ubuntu 13.10 x64 , i confirm the flashtool is crap. you know why ? because it gives error that libusbx is
missing. libusb-dev doesnt do the trick. if we download to install the libusbx using the "./configure" "make"
"make install", it gives error that make file isnt there , but i can see with my eyes that its there.
so all these is crap.
is there any simple easy tool/script to root the xperia neo ? i also have lg optimus 4x and the root procedure was
only one click. i dont understand why we need to run a whole app and go through that to only root. thats lame.
neither the unlock i can understand. unlock is only one command in adb. we only need to change one little file
inside stock rom and press the oem unlock bootloader command. can we make things easier and more simple so
we dont have a problem in future ubuntu updates ?
Reply
Jakub Kasprzycki February 5, 2014 at 1:30 AM
Flashtool is not crap. In Ubuntu 13.10 x64 you should run the following commands in the Flashtool
folder:
cp /lib/x86_64-linux-gnu/libusb-1.0.so.0 ./x10flasher_lib/linux/lib32/libusbx-1.0.so
cp /lib/x86_64-linux-gnu/libusb-1.0.so.0 ./x10flasher_lib/linux/lib64/libusbx-1.0.so
Have a nice flashing :)
Jakub Kasprzycki February 5, 2014 at 1:33 AM
And you just don't need the libusbx anymore as it just fall back to the libusb.
"As of 2014.01.26, this project (libusbx) has been fully merged back into libusb and is being
discontinued."
Newer Post Older Post Home
Subscribe to: Post Comments (Atom)
Enter your comment...
Comment as:
Google Account
Publish

Preview
Create a Link
bumslayer December 31, 2013 at 7:31 AM
Very informative article. I hope I can make it to work on my Centos 6 desktop.
Reply
Links to this post
Flashtool in Ubuntu Linux
Everytime I wanted to change firmware for my Xperia phone, I used to reboot into Windows 7 Recently I feel lots of Blue Screen Of Death i...
Clearing cache memory in linux using sysctl
In linux, when we copy big files, the file's content gets cached in RAM for fast access eventhough we might not need it later in RAM. We...
How to migrate ext4 partitions to ext3
Introduction This article tries to help someone like me who want to migrate from one filesystem in linux to another filesystem. I converte...
Unlock Xperia S bootloader from Ubuntu 12.04
Introduction I tried to unlock bootloader from Windows 8 and in vain. Windows 8 installed some drivers for fastboot and never allowed an ...
Custom 64 bit Mint 13 or Ubuntu 12.04 Kernel 3.4.4 optimized for i3, i5 and i7
Introduction , ah it will be boring, skip below first screenshot to get the kernel compilation how to. But if you have time to r...
POPULAR POSTS (LAST 7 DAYS)
Enterprise Kernel 6 in Ubuntu
EL6 Kernel and SSD TRIM
Maverick Kernel Compilation
KERNEL ...
200 line patch backport 2.6.34.7
200 line patch backport 2.6.32 ubuntu
Ubuntu/Debian kernel compilation in ten steps
Debian Squeeze (old article)
64bit i7 kernel 3.0.1
Atom optimized 3.0.1 kernel
i7 optimized 3.0.3 Ubuntu kernel
Core2 optimized 3.0.3
--- Fresh ---
Ubuntu Oneiric Kernel Compilation
i3/i5/i7 optimized Kernel 3.1
2014 (1)
2013 (8)
2012 (18)
December (3)
November (3)
October (3)
August (3)
Installing Xperia S firmware from Windows 8 inside...
Custom Ubuntu 64 bit kernel 3.5.2 optimized for i7...
Flashtool in Ubuntu Linux
July (1)
May (2)
March (2)
January (1)
2011 (50)
2010 (50)
2009 (35)
2008 (1)
2007 (3)
BLOG ARCHIVE
Sankaran Raman
Follow
View my complete profile
ABOUT ME
Join this site
with Google Friend Connect
Members (18)
Already a member? Sign in
FOLLOWERS
Picture Window template. Template images by digi_guru. Powered by Blogger.

You might also like