- Arch Linux User Repository
- Search Criteria
- Package Details: spflashtool-bin 6.2124-1
- Package Actions
- Dependencies (3)
- Required by (0)
- Sources (3)
- Latest Comments
- jasonbourne commented on 2020-05-21 03:56
- azurata commented on 2019-12-24 10:32
- RonnyD commented on 2019-10-10 20:43
- azurata commented on 2019-06-22 19:59
- Omar007 commented on 2019-06-22 19:32
- azurata commented on 2019-06-22 17:11
- Omar007 commented on 2019-06-22 13:01
- azurata commented on 2019-06-21 22:09
- Omar007 commented on 2019-06-21 09:47
- gsavchuk commented on 2019-06-18 19:33
- SP Flash Tool v5.1728 for Linux
- Download SP Flash Tool v5.1728 for Linux
- Устанавливаем Flash Tool в Linux для прошивки смартфонов
- Подготовительный этап
- Установка зависимостей и запуск FlashTool
- Заключение
- [TUTORIAL]How to setup SP_Flash_Tool_Linux (MTK/MediaTek Soc)
- Breadcrumb
- kanedagr
- kanedagr
- dragon788
- Linux — SP Flash Tool
- Windows — SP Flash Tool
- Download SP Flash Tool for Windows and Linux (MediaTek Flash Tool)
- Similar threads
- Breadcrumb
- Top Liked Posts
- Linux — SP Flash Tool
- Windows — SP Flash Tool
- Download SP Flash Tool for Windows and Linux (MediaTek Flash Tool)
Arch Linux User Repository
Search Criteria
Package Details: spflashtool-bin 6.2124-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/spflashtool-bin.git (read-only, click to copy) |
---|---|
Package Base: | spflashtool-bin |
Description: | SP Flash Tool is an application to flash your MediaTek (MTK) SmartPhone. |
Upstream URL: | http://spflashtools.com/category/linux |
Licenses: | unknown |
Conflicts: | spflashtool |
Provides: | spflashtool |
Submitter: | Omar007 |
Maintainer: | Omar007 |
Last Packager: | Omar007 |
Votes: | 29 |
Popularity: | 0.36 |
First Submitted: | 2016-05-21 15:48 |
Last Updated: | 2021-08-02 15:34 |
Dependencies (3)
Required by (0)
Sources (3)
Latest Comments
jasonbourne commented on 2020-05-21 03:56
==> Validating source files with sha256sums. SP_Flash_Tool_v5.1952_Linux.zip . 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
Made a package without qt dependencies «spflashtool-noqtdeps»
RonnyD commented on 2019-10-10 20:43
I am getting the following error:
Am I missing something?
azurata commented on 2019-06-22 19:59
@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
@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
@Omar007 What I did was replace the need of qtwebkit dependency by using the lib files libQtWebKit.so.4 and libphonon.so.4 already included in the file SP_Flash_Tool_v5.1916_Linux.zip
This is my patch:
Omar007 commented on 2019-06-22 13:01
@azurata: I have no idea what you’re trying to do there but it’s also completely unrelated to what gsavchuk is saying.
This has been build and run with qt4 4.8.7-30 and qtwebkit 2.3.4-7 in a clean chroot. It is running fine against these versions. If you’re doing other stuff on your system (overriding libraries, building dependencies with components disabled, bypassing pacman with make install , partial updates, . ), that’s up to you but so is fixing any problems you may have.
If you can reproduce this on a clean setup then please let me know and I’ll take another look at it.
azurata commented on 2019-06-21 22:09
@Omar007 I tested an alternative to the qtwebkit dependency and it works.
Omar007 commented on 2019-06-21 09:47
@gsavchuck: In qt4-4.8.7-30.
You might want to verify the integrity of your qt4 installation and ensure it isn’t broken.
gsavchuk commented on 2019-06-18 19:33
Installed this package alongside with qt4-4.8.7-30. When I try to launch it I get the error:
/opt/spflashtool/flash_tool: error while loading shared libraries: libQtXmlPatterns.so.4: cannot open shared object file: No such file or directory
I think this library was included in past releases of qt4. Where am I supposed to get the missing dependency now?
Copyright © 2004-2021 aurweb Development Team.
AUR packages are user produced content. Any use of the provided files is at your own risk.
Источник
SP Flash Tool v5.1728 for Linux
SP Flash Tool v5.1728 is a small application for Linux Computer which allows you to Flash or install the Stock Firmware on devices powered by MediaTek Chipset.
Here on this page, we have shared the official and tested version of SP Flash Tool, i.e., SP Flash Tool v5.1728 for Linux.
Download SP Flash Tool v5.1728 for Linux
SP Flash Tool allows you to flash or install the Scatter Based Stock Firmware (ROM) on devices powered by MediaTek Chipset, whether a smartphone, Tablet or a Feature Phone. It also allows you to flash or install the Custom Recovery (CWM/TWRP), Boot File, and remove the Factory Reset Protection (FRP) from the MediaTek Devices.
File Name: SP_Flash_Tool_v5.1728_Linux.zip
File Size: 65.8 MB
How to Use: See Instructions
How to Download: See Example
Compatible with: Linux Computer
[*] How to Use: If you want to learn to use SP Flash Tool to Flash or Install Firmware on Mediatek devices, then head over to How to use SP Flash Tool page.
[*] SP Flash Tool for Windows: If you are looking for the SP Flash Tool for Windows Computer, then head over to the Windows Section page.
[*] Download SP MDT Tool: If you are looking for the SP MDT Tool which allows you to flash or install Scatter Firmware on Mediatek Devices, then head over to SP MDT Tool page.
[*] Download SN Write Tool: If you are looking for the SN Write Tool which allows you to Write or Change IMEI on Mediatek Devices, then head over to SN Write Tool page.
[*] Download Mediatek Driver: If you are looking for the Mediatek Drivers compatible with the SP Flash Tool, then head over to Mediatek Driver page.
[*] Download Firmware: If you are looking for the Stock Firmware compatible with SP Flash Tool, then head over to the FirmwareFile website.
[*] Hot-linking Not Allowed: If you are willing to share the above tool with your friends or on any website, forums, then use the page URL. Do not use the direct file link, as it will be re-directed to the homepage of this website.
Источник
Устанавливаем Flash Tool в Linux для прошивки смартфонов
Некоторые пользователи своих девайсов предпочитают перепрошить свой смартфон на Android кастомной прошивкой, самая популярная прошивка – LineageOS. В подавляющем большинстве прошиваются смартфоны в Windows, но, сегодня мы разберемся как прошить ваш девайс в Linux с помощью утилиты Flash Tool. Данная утилита прошивает Android смартфоны работающие на процессоре MTK. Утилита Flash Tool является одной из самых популярных утилит в своем роде, установить ее можно так же и в операционной системе Linux, все действия мы будем выполнять в Ubuntu 20.04, но, инструкция подойдет и для всех производных от Ubuntu, как вариант Pop OS, Linux Mint и так далее. Насчет Fedora и других RPM ориентированных систем, ничего сказать не могу, так как не проверял.
P.S. Все действия которые вы совершаете с телефоном, выполняются на ваш страх и риск. За не рабочий аппарат, в результате всех описанных действий в данной статье автор ответственности не несет. Данная инструкция проверена на телефоне Blackview BV5800, прошивался сей девайс в Ubuntu 20.04, а точнее в Kubuntu.
Подготовительный этап
Первым делом необходимо скачать саму утилиту Flash Tools для Linux, рекомендую скачивать именно с 4pda, а не с левых сайтов. Так же, если вдруг по какой-то причине 4pda не доступен, то Flash Tool версий 5.2020, 5.2016, 5.2012 вы можете скачать по ссылке ниже:
И так, после того как вы скачали архив с утилитой Flash Tool, его необходимо распаковать, предполагается, что вы его скачали в директорию загрузки и туда же распаковали.
Установка зависимостей и запуск FlashTool
Теперь необходимо открыть терминал, перейти в директорию с распакованным FlashTool и дать права на исполнение файлам flash_tool, flash_tool.sh, выполнив команды:
Как перемещаться по директория в терминале вы можете прочесть в этой статье.
Следующим шагом добавляем вашего пользователя в группу uucp, это делается для получения прав на запись в виртуальный COM-порт. Я буду добавлять пользователя “cyber-x”, вы же замените данное имя на имя вашего пользователя:
Когда все выше описанные действия сделаны, необходимо выйти из системы и снова зайти, либо, как вариант, перезагрузить компьютер. Следующем этапом будет установка пакета “51-android.rules”, данный пакет можно получить с GitHub. Это делается для того, что бы ваш Android девайс определился в системе Linux COM-порту. Для получения с GitHub мы воспользуемся утилитой git и клонируем данный репозиторий, предварительно сменив директорию на домашнюю, выполнив команду “cd”:
Если вдруг у вас не установлена утилита “git”, то выполните команду “sudo apt install git”.
Заходим в директорию “android-udev-rules” и тут нам нужно скопировать файл под названием “51-android.rules” в директорию вашей системы “/etc/udev/rules.d/”, копировать мы будем командой “cp”, о которой вы можете прочесть тут. И так, переходим в директорию и копируем данный файл, копировать необходимо с правами root пользователя:
Далее перезагружаем правила udev командой:
Выключаем ваш Android девайс и в выключенном состоянии подключаем его к компьютеру под управлением Linux. Нам необходимо, что бы телефон определился в системе, для этого выполним команду:
В конце вывода полученных данных должно быть примерно следующее, тут главное ttyACM0, если это значение имеется, значит все OK:
Возвращаемся к Flash Tool и запускаем из терминала скрипт от имени root пользователя выполнив команду:
Перед началом прошивки в утилите необходимо выставить настройки, заходим в Options- Download и ставим галочки напротив всех 2-х пунктов:
В строке “Scatter-loading File” указываем путь к scatter файлу, который прилагается к прошивкам. Выбираем один из режимов – Download Only или Firmware Upgrade и нажимаем кнопку Download:
Режим Download Only (прошивка без потери данных) – снимаем галочки с Preloader и Userdata в Flash Tool, при этом произойдёт обычное обновление прошивки. Если оставить галочку на пункте Userdata – все пользовательские данные будут стерты.
Режим Firmware Upgrade (прошивка всех разделов), при этом IMEI не слетает, используется в случае, если хотите получить чистый Android смартфон с новой прошивкой.
Заключение
Прошивка телефонов – рисковое занятие, при неправильно выбранной прошивке можно получить неработоспособный телефон. Зачем вообще прошивают телефоны? Хотя бы для того, что бы получить кастомную прошивку, или получить root права на телефоне.
Данная инструкция лишь воссоздает все действия, которые я проделывал прошивая свой Android смартфон в Linux, основана она на инструкции взятой с 4pda. Более подробно о работе с утилитой Flash Tool читайте все на том же форуме перейдя по ссылке.
Что касаемо остальных дистрибутивов Linux, то вероятней всего данную инструкцию придется адаптировать, в зависимости от вашего дистрибутива Linux. А так как я пользуюсь Kubuntu и Pop OS, то с уверенностью могу сказать, что все описанные действия работоспособны.
В любом случае читайте внимательно инструкцию которая прилагается к прошивке, так как в данной статье основной упор был сделан исключительно на установку Flash Tool в операционной системе Linux. Безусловно, перепрошить телефон в Linux можно и без Flash Tool, но, с ней это сделать намного удобней.
А на этом сегодня все, надеюсь, данная статья будет вам полезна.
Хотелось бы выразить огромную благодарность тем, кто принимает активное участие в жизни и развитии журнала, огромное спасибо вам за это.
Журнал Cyber-X
Источник
[TUTORIAL]How to setup SP_Flash_Tool_Linux (MTK/MediaTek Soc)
Breadcrumb
kanedagr
Senior Member
kanedagr
Senior Member
dragon788
Member
You shouldn’t really be installing a package from an old repo on your system.
The script contains this:
This means that it looks in the lib dir for any extra dependencies.
Therefore, you should be able to extract the libpng12.so.0.54.0 out of the deb and copy it to the lib dir without affecting the rest of the system.
Miss Montage this is pretty late to the game, but the newest versions of the SP Flash Tool for Linux have fixed the QT4-libpng12 dependency issues. I’d suggest iinking their download pages and recommending higher than v5.2020, I»m not sure where exactly it got fixed but the latest versions (v5 and v6) both work without error in a Debian Buster environment (and probably on Ubuntu 20.x) where libpng12 is LONG gone.
Linux — SP Flash Tool
Windows — SP Flash Tool
Download SP Flash Tool for Windows and Linux (MediaTek Flash Tool)
Similar threads
Breadcrumb
Top Liked Posts
You shouldn’t really be installing a package from an old repo on your system.
The script contains this:
This means that it looks in the lib dir for any extra dependencies.
Therefore, you should be able to extract the libpng12.so.0.54.0 out of the deb and copy it to the lib dir without affecting the rest of the system.
Miss Montage this is pretty late to the game, but the newest versions of the SP Flash Tool for Linux have fixed the QT4-libpng12 dependency issues. I’d suggest iinking their download pages and recommending higher than v5.2020, I»m not sure where exactly it got fixed but the latest versions (v5 and v6) both work without error in a Debian Buster environment (and probably on Ubuntu 20.x) where libpng12 is LONG gone.
Linux — SP Flash Tool
Windows — SP Flash Tool
Download SP Flash Tool for Windows and Linux (MediaTek Flash Tool)
This works only on Linux 64-bit
DISCLAIMER: It is always risky to flash your mobile device. I do not and will not take any responsibility for bootloops and bricks.
Please check carefully that the ROM or recovery.img you want to flash is suitable for your specific device and for the sp_flash_tool. The firmware directory should neither contain meta-inf nor system folder, but something_with_a_scatter.txt and a system.img
Backup your phone before flashing!
Your phone’s battery should be at least half charged (50 percent) before you start this.
I successfully ran these steps on my UMI Hammer with Linux Ubuntu 14.04 and 16.04. I do not have other devices or Linux derivates and do not plan to buy/install any.
CREDITS and a zillion thanks to Sergio Rivero for his excellent tutorial on mibqyyo.com.
Also many thanks to N2K1 for giving me some more background information!
Step 1:
If you haven’t done so before, install the Linux generic usb-drivers package:
Источник