./flash-tool is what i type; should I use sudo in front of it?
./flash-tool is what i type; should I use sudo in front of it?
For aSorry for your trouble...
First: which version of SP flash tool do you use?
For SP Flash tool error 4001 I find several approaches on the web.
Most of them advice to reconnect the battery once the red progress bar has reached 100 percent. It might do to hold the volume + or - button at that moment.
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.You shouldn't really be installing a package from an old repo on your system.
The script contains this:
Code:LD_LIBRARY_PATH=$dirname:$dirname/lib export LD_LIBRARY_PATH
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.
Code:dpkg -x libpng12-0_1.2.54-1ubuntu1.1_amd64.deb /tmp/libpng2 cp /tmp/libpng2/lib/x86_64-linux-gnu/libpng12.so.0.54.0 lib cd lib ln -s libpng12.so.0.54.0 libpng12.so.0
I have the same problem on Arch Linux - SP_Flash_Tool-5.1916_Linux.SP Flash Tool does not work with KDE neon. It does work with Elementary OS. Both are Ubuntu 16.04 based.
Code:$ ./flash_tool QMetaObject::connectSlotsByName: No matching signal for on_pushButton_browser_clicked() QObject::moveToThread: Cannot move objects with a parent comboTimeout index(3) saved. Application asked to unregister timer 0x2600000b which is not registered in this thread. Fix application. Application asked to unregister timer 0x70000009 which is not registered in this thread. Fix application. Application asked to unregister timer 0x7b00000a which is not registered in this thread. Fix application. Uncaught std::exception in main(): locale::facet::_S_create_c_locale name not valid
Tried it with SP_Flash_Tool_v5.1752_Linux.
adb reboot fastboot
adb devices
and fastboot devices
Btw I'm a newbie in android modding so please take it easy.Hi peeps! I hard bricked my infinix x551 and am trying to unbrick it.
Can someone please guide me?
I believe it was bricked by spflash tool because the issue started after I tried to use the tool to flash the stock rom
but I think I did it wrongly and now my phone is bricked.
SOMEONE HELP!!!
sudo apt-get update
sudo apt install libusb-dev
sudo apt install unrar
unrar x path_to_file
mv /home/username/Downloads/sp_flash_tool /home/username/...
sudo apt install libqtwebkit4
dpkg -x libpng12-0_1.2.54-1ubuntu1.1_amd64.deb /tmp/libpng2
cp /tmp/libpng2/lib/x86_64-linux-gnu/libpng12.so.0.54.0 lib
cd lib
ln -s libpng12.so.0.54.0 libpng12.so.0
cd /sp_flash_tool
chmod +x flash_tool
sudo adduser username dialout
gpasswd -a username uucp
newgrp - dialout
newgrp - uucp
./flash_tool
dmesg | grep usb
sudo gedit /etc/udev/rules.d/80-persistent-usb.rules
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0e8d", ATTR{idProduct}=="*"
sudo service udev restart
To put it in different words: The modem manager controls port /dev/ttyACM0 and disables the Flash Tool. So we blacklist it for the two MTK vendor IDs the flash tool uses:The “modemmanager” package integrated by default within Linux Ubuntu 14.04 and later is not compatible with the MTK Flash Tool for Linux
sudo gedit /etc/udev/rules.d/20-mm-blacklist-mtk.rules
ATTRS{idVendor}=="0e8d", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="6000", ENV{ID_MM_DEVICE_IGNORE}="1"
sudo service udev restart
./flash_tool
BROM ERROR : S_SECURITY_SF_CODE_FORMAT_FORBIDDEN (6012) , MSP ERROE CODE : 0x00
edent; BROM Exception! ( BROM ERROR : S_COM_PORT_OPEN_FAIL (1013) [COM said: