Package Details: spflashtool-bin 6.2228-1

Git Clone URL: (read-only, click to copy)
Package Base: spflashtool-bin
Description: SP Flash Tool is an application to flash your MediaTek (MTK) SmartPhone.
Upstream URL:
Licenses: unknown
Conflicts: spflashtool
Provides: spflashtool
Submitter: Omar007
Maintainer: Omar007
Last Packager: Omar007
Votes: 32
Popularity: 0.26
First Submitted: 2016-05-21 15:48 (UTC)
Last Updated: 2023-04-29 01:05 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

Omar007 commented on 2023-10-19 15:30 (UTC)

@dreieck; that is not the case. You're misreading the file. It only applies to MediaTek MT65xx Preloader devices, it does not touch any other devices.

dreieck commented on 2023-10-19 08:27 (UTC)

Please do not install 60-spflashtool.rules by default, or please modify it.

Reason: What you do now makes all /dev/ttyACM[0-9] devices read- and writable by all.

But there might be /dev/ttyACM[0-9] devices which come from other hardware present onboard the machine or connected. You open a potential big security hole.

Better: Leave it alone and install 60-spflashtool.rules into /usr/share/doc/spflashtool/ and print a notification via the $install script.

Never automatically mess with stuff that can also belong to other use cases!

Regards and thanks for maintaining.

jasonbourne commented on 2020-05-21 03:56 (UTC) (edited on 2020-05-21 03:58 (UTC) by jasonbourne)

==> Validating source files with sha256sums... ... FAILED spflashtool.png ... Passed 60-spflashtool.rules ... Passed ==> ERROR: One or more files did not pass the validity check! /

azurata commented on 2019-12-24 10:32 (UTC)

Made a package without qt dependencies "spflashtool-noqtdeps"

RonnyD commented on 2019-10-10 20:43 (UTC)

I am getting the following error:

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::moveToThread: Cannot move objects with a parent
support_dl_cert_to_storage: 0
comboTimeout index(3) saved.
/usr/bin/spflashtool: line 3:  3133 Segmentation fault      (core dumped) /opt/spflashtool/flash_tool "${@}"

Am I missing something?

azurata commented on 2019-06-22 19:59 (UTC) (edited on 2019-06-22 20:00 (UTC) by azurata)

@Omar007 I'm doing this way so I don't need to compile/install qtwebkit. Program works the same way, why compile qtwebkit from source ¯\_(ツ)_/¯

Omar007 commented on 2019-06-22 19:32 (UTC) (edited on 2019-06-22 19:33 (UTC) by Omar007)

@azurata; I could already see that. But I can't see why you would do so in the first place? For what reason are you doing this?

azurata commented on 2019-06-22 17:11 (UTC) (edited on 2019-06-22 18:07 (UTC) by azurata)

@Omar007 What I did was replace the need of qtwebkit dependency by using the lib files and already included in the file

This is my patch:

@@ -8,7 +8,7 @@
@@ -45,6 +45,9 @@
 package() {
    local folderName="SP_Flash_Tool_v${pkgver}_Linux"

+   # qtwebkit libraries
+   install -Dm644 "${srcdir}/${folderName}/lib/lib"{QtWebKit,phonon}.so.4 -t "${pkgdir}/opt/${_pkgname}/"
    # Clean files we do not need
    rm "${srcdir}/${folderName}/"
    rm -r "${srcdir}/${folderName}/bin"
@@ -52,7 +55,7 @@
    rm -r "${srcdir}/${folderName}/plugins"

    # Install remaining files
-   install -Dm644 -t "${pkgdir}/opt/${_pkgname}/" "${srcdir}/${folderName}/"*
+   install -Dm644 "${srcdir}/${folderName}/"* "${pkgdir}/opt/${_pkgname}/"

    # Mark the binary as executable and install the shell file created in prepare()
    chmod +x "${pkgdir}/opt/${_pkgname}/flash_tool"