Showing posts with label Sony Ericsson Xperia flasher (Android) * Show all posts
Showing posts with label Sony Ericsson Xperia flasher (Android) * Show all posts

Monday, May 6, 2013

Sony Ericsson Xperia flasher (Android) *

Introduction to Flashtool

* - Resolved a serious bug leading to a softbrick (reported on LT26 devices) - Added a more complete german translation (thanks papayayoghurt)

Flashtool is a flashing software that can be used to :
  1. Flash original Images (Android 1.6, 2.1, 2.3 Images)
  2. Root your phone
  3. Install Recovery, Busybox, custom kernels
  4. Clean your Rom (remove /system/apps apps of your choice) (Be careful, unless you really know what you do, do not modify the default list. This can make your phone stuck at the SE Logo)
  5. Clear dalvik cache
  6. Optimize (install of JIT v2) (Disabled in 0.4, will readd it as a plugin for 2.1 phones only)
  7. Customize (installs apps found in the custom/apps folder of the flashtool)
  8. Clean uninstalled (remove any references to system apps removed in the Clean (root needed) step)
  9. Edit any text file on the device
  10. Rebrand your device

Click here to enlarge

Before downloading and even installing, disable your antivirus. The package is virus free. Antivirus complains about psneuter and zergRush root exploits and I still haven't found how to fool the antivirus.
Installation of Flashtool
To install the Flashtool, follow the steps below:
  1. Windows version :
  2. Install the full install Flashtool package
  3. Apply the latest update (each update is cumulative)
    Updates will not be functionnal if full is not installed

  1. Linux version :
  2. Unpack the tar.7z package
  3. Check that libusb-1.0 is installed. On 64bits system, both 64bit and 32bit should be installed.
  4. Add these rules to /etc/udev :
    SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="*", MODE="0777"
  5. Apply the latest update (each update is cumulative)
    Updates will not be functionnal if full is not installed

  1. Mac version :
  2. Open the dmg package
  3. Copy the Flashtool App to Applications folder. It will not run right from the dmg package
  4. Apply the latest update (each update is cumulative)
    Updates will not be functionnal if full is not installed
Full install :
  1. Windows Edition - v0.9.10.1 (MD5 : F5F14804F28009E76F0A3F7B841FDCE8)


    1. hotfile

    1. Depositfiles

    1. rapidgator

  1. Linux Edition - v0.9.10.1 (MD5 : 7310B5CA80E077EE04A17F332D2D19EC)


    1. hotfile

    1. Depositfiles

    1. rapidgator

  1. Mac Edition - v0.9.10.1 (MD5 : 175678D5E43DC2FABD818DB0C611C875)


    1. Depositfiles

    1. rapidgator

by Androxyde

org link

Run Flashtool in a dev environment

Here is a small howto to setup eclipse with Flashtool and have it running from Eclipse.

First download Eclipse flashtool ready here

Eclipse configuration :

1 - At first launch : Choose a workspace location and check
the box "Use this as the default and do not ask again"

2 - Click on the Workbench icon

3 - Close the Task List pane

4 - Close the Outline pane

5 - Go to Windows -> Preferences
6 - Unfold Java treenode
7 - Go to Installed JREs node
8 - Click the Add button
9 - Choose Standard VM
10 - JRE Home : point to a valid JRE 1.7 root folder (C:\Program Files (x86)\Java\Jre7 for example). A jre installation package is included in the Eclipse flashtool ready package.
11 - For JRE name, enter jre7 (important)
12 - Default VM arguments: leave blank
13 - Click on Finish button
14 - Chek jre7 VM and click OK button

Now we are ready to import the Flashtool project :

15 - Go to File -> Import
16 - Unfold Git and choose Projects from Git then click Next
17 - Choose URI then click Next
18 - for URI enter : git:// then click Next
19 - Choose only master branch, uncheck 0.6.5 and gh-pages branches then click Next
20 - Take note of git folder as it will be used in few steps and leave all defaults on this page. Just click Next. Here it will clone the github repository and will take more or less time depending on your connection speed.
21 - Once cloning finished, choose the Import existing projects radiobutton and click Next then click Finish
22 - Go to Window -> Show vew - Ant
23 - Drag and drop deploy-release.xml from Package Explorer pane to Ant pane
24 - In the ant pane, unfold Deploy Flashtool and double click on "all" entry.
It will deploy the whole flashtool solution to \Deploy\FlashTool

From here you can go to the deploy folder and run the deployed Flashtool out of eclipse as when you install FT Click here to enlarge

Now to run it from Eclipse, we will have to build a run configuration :

25 - Go to run menu -> Run configurations
26 - Double click on Java Application it will create a new configuration under Java Application
27 - Main class : Search and select FlasherGUI
28 - Go to Arguments Tab
29 - Working directory : click Other and select the one where FT is deployed (\Deploy\FlashTool)

Then click Apply and then Run button

You are done Click here to enlarge

Warning, you can't run FT from Eclipse without deploying it first. (step 24)

If you make a modification in the java code, no need to deploy before running it
If you make a modification to a part out of X10Flash->src folder in the package manager then you will have to deploy the whole solution before beeing able to run it from Eclipse. Click here to enlarge