Package Details: spflashtool5-bin 5.2228-1

Git Clone URL: https://aur.archlinux.org/spflashtool5-bin.git (read-only, click to copy)
Package Base: spflashtool5-bin
Description: SP Flash Tool is an application to flash your MediaTek (MTK) SmartPhone. Version 5 variant.
Upstream URL: http://spflashtools.com/category/linux
Licenses: unknown
Conflicts: spflashtool5
Provides: spflashtool5
Submitter: Omar007
Maintainer: Omar007
Last Packager: Omar007
Votes: 2
Popularity: 0.000140
First Submitted: 2021-10-22 18:26 (UTC)
Last Updated: 2023-04-29 01:03 (UTC)

Latest Comments

1 2 Next › Last »

Omar007 commented on 2023-10-19 19:20 (UTC)

Then they should not be merged. Update the description of this one, to "Application to flash your MediaTek (MTK) SmartPhone. Using bundled QT binaries." or something.

dakataca commented on 2023-10-19 18:50 (UTC)

@Omar007 I've created it so that it doesn't need to compile qtwebkit (very time-consuming), since the package itself contains the necessary libraries. If you notice, the installation times are very different.

Omar007 commented on 2023-10-19 18:14 (UTC)

@dakataca; why exactly was this created? This package was created way after/later and I don't understand why it exists. The more logical thing seems to be a deletion of this one as a duplicate.

dakataca commented on 2023-10-19 17:05 (UTC) (edited on 2023-10-19 17:06 (UTC) by dakataca)

Change to the Made Icon. I also made a merge request with spflashtool5-bin.

dakataca commented on 2023-10-19 15:30 (UTC) (edited on 2023-10-19 15:31 (UTC) by dakataca)

[dakataca@elitebook tmp]$ git clone https://aur.archlinux.org/spflashtool5.git
Clonando en 'spflashtool5'...
remote: Enumerating objects: 20, done.
remote: Counting objects: 100% (20/20), done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 20 (delta 1), reused 20 (delta 1), pack-reused 0
Recibiendo objetos: 100% (20/20), 14.39 KiB | 14.39 MiB/s, listo.
Resolviendo deltas: 100% (1/1), listo.
[dakataca@elitebook tmp]$ cd spflashtool5/
[dakataca@elitebook spflashtool5]$ ls
icon.png  PKGBUILD
[dakataca@elitebook spflashtool5]$ makepkg -sfi
==> Creando el paquete: spflashtool5 5.2228-1 (jue 19 oct 2023 10:27:28)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> Recibiendo las fuentes...
  -> Descargando SP_Flash_Tool_v5.2228_Linux.zip...

10/19 10:27:28 [NOTICE] Downloading 1 item(s)
[#dbf2c2 74MiB/75MiB(98%) CN:1 DL:1.6MiB]
10/19 10:28:13 [NOTICE] Descarga completa: /tmp/spflashtool5/SP_Flash_Tool_v5.2228_Linux.zip.part

Resultados de la descarga:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
dbf2c2|OK  |   1.6MiB/s|/tmp/spflashtool5/SP_Flash_Tool_v5.2228_Linux.zip.part

Leyenda:
(OK):descarga completada.
==> Validando los archivos source con sha256sums...
    SP_Flash_Tool_v5.2228_Linux.zip ... Aprobado
==> Extrayendo las fuentes...
  -> Extrayendo SP_Flash_Tool_v5.2228_Linux.zip con bsdtar
==> Iniciando prepare()...
[spflashtool5]                    Generating desktop file... ok
==> Entrando en entorno fakeroot...
==> Iniciando package()...
install: creando el directorio '/tmp/spflashtool5/pkg/spflashtool5/usr'
install: creando el directorio '/tmp/spflashtool5/pkg/spflashtool5/usr/bin'
'/dev/fd/63' -> '/tmp/spflashtool5/pkg/spflashtool5/usr/bin/spflashtool5'
install: creando el directorio '/tmp/spflashtool5/pkg/spflashtool5/usr/share'
install: creando el directorio '/tmp/spflashtool5/pkg/spflashtool5/usr/share/applications'
'spflashtool5.desktop' -> '/tmp/spflashtool5/pkg/spflashtool5/usr/share/applications/spflashtool5.desktop'
install: creando el directorio '/tmp/spflashtool5/pkg/spflashtool5/usr/share/pixmaps'
'../icon.png' -> '/tmp/spflashtool5/pkg/spflashtool5/usr/share/pixmaps/spflashtool5.png'
==> Depurando la instalación...
  -> Quitando los archivos libtool...
  -> Purgando los archivos innecesarios...
  -> Quitando los archivos de las bibliotecas estáticas...
  -> Despojando los símbolos innecesarios de los binarios y de las bibliotecas...
  -> Comprimiendo las páginas del manual y de información...
==> Buscando problemas de empaquetado...
==> Creando el paquete «spflashtool5»...
  -> Generando el archivo .PKGINFO...
  -> Generando el archivo .BUILDINFO...
  -> Generando el archivo .MTREE...
  -> Comprimiendo el paquete...
==> Abandonando el entorno fakeroot.
==> Compilación terminada: spflashtool5 5.2228-1 (jue 19 oct 2023 10:28:18)
==> Instalando el paquete spflashtool5 con pacman -U...
cargando los paquetes...
resolviendo dependencias...
buscando conflictos entre paquetes...

Paquetes (1) spflashtool5-5.2228-1

Tamaño total de la instalación:  141,75 MiB

:: ¿Continuar con la instalación? [S/n]
(1/1) comprobando las claves del depósito                                         [-----------------------------------------------] 100%
(1/1) verificando la integridad de los paquetes                                   [-----------------------------------------------] 100%
(1/1) cargando los archivos de los paquetes                                       [-----------------------------------------------] 100%
(1/1) comprobando conflictos entre archivos                                       [-----------------------------------------------] 100%
(1/1) comprobando el espacio disponible en el disco                               [-----------------------------------------------] 100%
:: Ejecutando los «hooks» de preinstalación...
(1/1) Performing snapper pre snapshots for the following configurations...
:: Procesando los cambios de los paquetes...
(1/1) instalando spflashtool5                                                     [-----------------------------------------------] 100%
:: Ejecutando los «hooks» de posinstalación...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating the desktop file MIME type cache...
(3/3) Performing snapper post snapshots for the following configurations...
[dakataca@elitebook spflashtool5]$ namcap PKGBUILD
[dakataca@elitebook spflashtool5]$

dreieck commented on 2023-10-19 11:07 (UTC) (edited on 2023-10-19 11:24 (UTC) by dreieck)

package() fails for me:

install: cannot stat '../icon.png': No such file or directory

Turns out that you have icon.png not listed in the source array, and you assume that it is present at $srcdir/...
But this assumption is flawed. It is not guaranteed to be true, e.g. if $SRCDEST has been set.

Please include icon.png in the source array and use ${srcdir}/icon.png.

Regards and thanks for maintaining!

dreieck commented on 2023-10-19 08:43 (UTC) (edited on 2023-10-19 10:57 (UTC) by dreieck)

How does this package differ from spflashtool5-bin?

It seems duplicate; both download prebuilt binaries, so I think this here should be deleted as duplicate of spflashtool5-bin (the -bin suffix is correct when prebuilt binaries are used).
If this package fixes some issues with spflashtool5-bin, then those fixes should be suggested there.
If this package has some other features, it should be renamed like spflashtool5-<feature>-bin (and have added appropriate provides and conflicts entries).

What do you think?

Regards and thanks for the package!

Omar007 commented on 2022-07-21 08:31 (UTC) (edited on 2022-07-21 08:33 (UTC) by Omar007)

@mizzunet: That seems to suggest it fails to connect to the download agent or fails to send a command to it. Assuming you're using the right files (if not, use/get the right ones, there's several DA files included), maybe make sure the device is in download mode and just try again?

mizzunet commented on 2022-07-21 02:26 (UTC)

Any idea that I'm having BROM Exception! ( ERROR : STATUS_BROM_CMD_SEND_DA_FAIL (-1073348605) , MSP ERROE CODE : 0x00. error?

Full log:

Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
sysname:Linux
 nodename:archie
 release:5.18.12-zen1-1-zen
 version:#1 ZEN SMP PREEMPT_DYNAMIC Fri, 15 Jul 2022 15:33:04 +0000
 machine:x86_64

  domainame:(none)
 cur_kernel_version = 5.18.12
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
Connecting to BROM...
Scanning USB port...
Search usb, timeout set as 3600000 ms
change@/devices/platform/regulatory.0

change@/devices/platform/regulatory.0

add@/devices/pci0000:00/0000:00:14.0/usb2/2-2

add@/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0

add@/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.1

bind@/devices/pci0000:00/0000:00:14.0/usb2/2-2

add@/module/usb_wwan

bind@/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.1

add@/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/tty/ttyACM0

vid is 0e8d

device vid = 0e8d

pid is 0003

device pid = 0003

com portName is: /dev/ttyACM0

Total wait time = -1658389968.000000
USB port is obtained. path name(/dev/ttyACM0), port name(/dev/ttyACM0)
USB port detected: /dev/ttyACM0
BROM connected
Downloading & Connecting to DA...
connect DA end stage: 2, enable DRAM in 1st DA: 0
Failed to Connect DA: STATUS_BROM_CMD_SEND_DA_FAIL(-1073348605)
Disconnect!
BROM Exception! ( ERROR : STATUS_BROM_CMD_SEND_DA_FAIL (-1073348605) , MSP ERROE CODE : 0x00. 


[HINT]:
)((ConnectDA,../../../flashtool/Conn/Connection.cpp,147))
Connecting to BROM...
Scanning USB port...
Search usb, timeout set as 3600000 ms
SearchUSBPortPool failed!
Failed to find USB port
Connect BROM failed: S_TIMEOUT(1042)
Disconnect!
User stopped.
Connecting to BROM...
Scanning USB port...
Search usb, timeout set as 3600000 ms
add@/devices/pci0000:00/0000:00:14.0/usb2/2-2

add@/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0

add@/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/tty/ttyACM0

vid is 0e8d

device vid = 0e8d

pid is 0003

device pid = 0003

com portName is: /dev/ttyACM0

Total wait time = -1658389994.000000
USB port is obtained. path name(/dev/ttyACM0), port name(/dev/ttyACM0)
USB port detected: /dev/ttyACM0
BROM connected
Downloading & Connecting to DA...
connect DA end stage: 2, enable DRAM in 1st DA: 0
Failed to Connect DA: STATUS_BROM_CMD_SEND_DA_FAIL(-1073348605)
Disconnect!
BROM Exception! ( ERROR : STATUS_BROM_CMD_SEND_DA_FAIL (-1073348605) , MSP ERROE CODE : 0x00. 


[HINT]:
)((ConnectDA,../../../flashtool/Conn/Connection.cpp,147))
Connecting to BROM...
Scanning USB port...
Search usb, timeout set as 3600000 ms
add@/devices/pci0000:00/0000:00:14.0/usb2/2-2

add@/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0

add@/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/tty/ttyACM0

vid is 0e8d

device vid = 0e8d

pid is 0003

device pid = 0003

com portName is: /dev/ttyACM0

Total wait time = -1658390016.000000
USB port is obtained. path name(/dev/ttyACM0), port name(/dev/ttyACM0)
USB port detected: /dev/ttyACM0
BROM connected
Downloading & Connecting to DA...
connect DA end stage: 2, enable DRAM in 1st DA: 0
Failed to Connect DA: STATUS_BROM_CMD_SEND_DA_FAIL(-1073348605)
Disconnect!
BROM Exception! ( ERROR : STATUS_BROM_CMD_SEND_DA_FAIL (-1073348605) , MSP ERROE CODE : 0x00. 


[HINT]:
)((ConnectDA,../../../flashtool/Conn/Connection.cpp,147))
Connecting to BROM...
Scanning USB port...
Search usb, timeout set as 3600000 ms
change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

change@/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

remove@/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/tty/ttyACM0

open VID device failed!

unbind@/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.1

unbind@/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0

remove@/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0

remove@/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.1

unbind@/devices/pci0000:00/0000:00:14.0/usb2/2-2

remove@/devices/pci0000:00/0000:00:14.0/usb2/2-2

add@/devices/pci0000:00/0000:00:14.0/usb2/2-2

add@/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0

bind@/devices/pci0000:00/0000:00:14.0/usb2/2-2