Package Details: xperia-flashtool-git master-1

Git Clone URL: (read-only, click to copy)
Package Base: xperia-flashtool-git
Description: A S1 protocol flashing software for Sony Xperia phones
Upstream URL:
Licenses: GPL3+
Submitter: gouster4
Maintainer: gouster4
Last Packager: gouster4
Votes: 2
Popularity: 0.000000
First Submitted: 2020-07-11 09:27 (UTC)
Last Updated: 2021-02-21 06:19 (UTC)

Dependencies (12)

Required by (0)

Sources (2)

Latest Comments

azrdev commented on 2022-08-31 21:25 (UTC)

The PKGBUILD would need to set JAVA_HOME like this, then there's no problem with multiple JREs installed:

 export JAVA_HOME=/usr/lib/jvm/$(archlinux-java get)

However it tries to build the software with ant, which is removed upstream in favor of gradle, so the PKGBUILD would need to invoke that. I couldn't get it to work.

dreieck commented on 2022-02-23 13:31 (UTC)

Can you re-upload this package with a $pkgver set to a number which follows the current versioning scheme (instead of master)? A set version number in the AUR makes it better compatible for automatic updates e.g. with yay.

Thaodan commented on 2021-12-10 10:57 (UTC)

git is missing in makedepends. Same for a jre, depends are wrong, the package doesn't depend on libselinux or systemd or glib2 (not directly at least in the case of the latter). Mono should be in optdepend.

r08 commented on 2021-11-18 08:31 (UTC)

If you're having problems building this package due to Java path errors - this cannot be build with multiple Java version packages installed, you must temporarily remove all other java versions and just keep ONE package. Otherwise the build will not start.

dreieck commented on 2021-03-16 13:00 (UTC)

An info:

java-call fails for me:

==> Starting build()...
We cannot run Java, please ensure you have Java installed.
  We have tried to execute /usr/lib/jvm/java-11-jdk
/usr/lib/jvm/java-15-openjdk/bin/java but failed.
If you have installed Java in a unusual place you can set JAVA_HOME
to the directory containing the Java installation.

java -version gives for me

openjdk version "15.0.2" 2021-01-19
OpenJDK Runtime Environment (build 15.0.2+7)
OpenJDK 64-Bit Server VM (build 15.0.2+7, mixed mode)

$JAVA_HOME is not set.

The build() output states /usr/lib/jvm/java-11-jdk and /usr/lib/jvm/java-15-openjdk/bin/java; the first is an existing directory (and thus cannot be executed as a programme); the second is an existing executable.

Removing the package which has installed /usr/lib/jvm/java-11-jdk makes the build process to work.

astro commented on 2021-01-18 15:27 (UTC)

Hi, I have error on build :

compile: [delete] Deleting directory /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/bin [mkdir] Created dir: /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/bin [copy] Copying 43 files to /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/bin [copy] Copied 51 empty directories to 39 empty directories under /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/bin [javac] /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/ant/deploy-release.xml:89: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 256 source files to /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/bin [javac] /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/src/gui/ error: cannot access FormToolkit [javac] import org.eclipse.ui.forms.widgets.FormToolkit; [javac] ^ [javac] bad class file: /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/libs/eclipse/org.eclipse.ui.forms_3.11.0.v20201025-0656.jar(org/eclipse/ui/forms/widgets/FormToolkit.class) [javac] class file has wrong version 55.0, should be 52.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath.

BUILD FAILED /tmp/pamac-build-user/xperia-flashtool-git/src/Flashtool/ant/deploy-release.xml:89: Compile failed; see the compiler error output for details.

Total time: 6 seconds

zynex commented on 2020-07-26 15:14 (UTC) (edited on 2020-07-26 15:18 (UTC) by zynex)

Not sure if there is a problem with the FlashTool source from here. FlashTool detects the phone but can't connect to it, and XperiFirm won't start at all. Downloading the same version manually (from and running it from the extracted folder works without issue.