Introduction to Flashtool * 0.9.10.1 - 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 :
|
|||||
|
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://github.com/Androxyde/Flashtool.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
From here you can go to the deploy folder and run the deployed Flashtool out of eclipse as when you install FT
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 (
Then click Apply and then Run button
You are done
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.
No comments:
Post a Comment