[-]
Who's online
There are currently 2622 online users.
» 40 Member(s) | 2582 Guest(s)
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarAvatar
AvatarAvatarAvatar

[-]
Science & Tech news
[BBC] Humanoid 'rescue robot' learns par...
Last Post: Discover
Today 08:16
» Replies: 0
» Views: 11
[ScienceD] Scientists call for microbial...
Last Post: SDTech
Yesterday 16:49
» Replies: 0
» Views: 20
[ScienceD] A new cancer weapon: Antibodi...
Last Post: SDTech
Yesterday 15:10
» Replies: 0
» Views: 17
[BBC] Click News: A ladder-climbing robo...
Last Post: Discover
Yesterday 08:50
» Replies: 0
» Views: 23
[ScienceD] Astronomers discover sonic bo...
Last Post: SDTech
2018-10-16 15:48
» Replies: 0
» Views: 25
[ScienceD] A break from the buzz: Bees g...
Last Post: SDTech
2018-10-16 12:26
» Replies: 0
» Views: 35
[BBC] Call of Duty: Why we put 'own twis...
Last Post: Discover
2018-10-16 09:30
» Replies: 0
» Views: 38
[ScienceD] Mountaintop observatory sees ...
Last Post: SDTech
2018-10-15 14:47
» Replies: 0
» Views: 45
[BBC] Virtual lives: Could VR change how...
Last Post: Discover
2018-10-15 10:06
» Replies: 0
» Views: 38
[ScienceD] Supercomputer predicts optica...
Last Post: SDTech
2018-10-15 09:46
» Replies: 0
» Views: 42

[-]
Tech news
ALLVIEW - REFUSE TO RELEASE MTK 64BIT OF...
Last Post: lobid
2018-08-05 01:13
» Replies: 14
» Views: 4685
[Update] OnePlus 6 camera review low lig...
Last Post: GizBot
2018-06-27 00:43
» Replies: 0
» Views: 877
[Update] OnePlus 6 sunny daylight shots
Last Post: GizBot
2018-06-26 18:20
» Replies: 0
» Views: 715
[Update] OnePlus 6 portrait mode bokeh c...
Last Post: GizBot
2018-06-25 16:15
» Replies: 0
» Views: 678
[Update] OnePlus 6 camera review of Sony...
Last Post: GizBot
2018-06-25 06:02
» Replies: 0
» Views: 927

[-]
Latest threads
Graphical Easy Root MTK6589 MTK6575 MTK6...
Last Post: madanand21
Today 01:40
» Replies: 84
» Views: 80155
The coupon of the Efox-shop
Last Post: www.efox-shop.com
Yesterday 20:12
» Replies: 0
» Views: 16
Need ROM for Mediateck MT6581V ZH960-MB-...
Last Post: sifokis
2018-10-16 21:22
» Replies: 54
» Views: 29103
Efox-shop GIVEAWAY -Elephone Soldier
Last Post: www.efox-shop.com
2018-10-16 17:00
» Replies: 0
» Views: 29
Complete backup for Mi 6
Last Post: uamler
2018-10-16 10:29
» Replies: 2
» Views: 302
modding internal storage on newer mediat...
Last Post: cfa
2018-10-16 01:14
» Replies: 12
» Views: 19323
Efox-shop 11th Anniversary Carnival-More...
Last Post: www.efox-shop.com
2018-10-15 17:54
» Replies: 0
» Views: 39
Leagoo m9 pro - low incall volume
Last Post: Andy72
2018-10-15 17:01
» Replies: 0
» Views: 37
MTK6737
Last Post: alexsis
2018-10-15 02:58
» Replies: 0
» Views: 40
Help recover my tablet
Last Post: bonkel
2018-10-14 19:01
» Replies: 0
» Views: 58
Status Preloader Error 0xC0030004 Vernee...
Last Post: philippepras1975
2018-10-12 21:22
» Replies: 0
» Views: 66
USB drive
Last Post: theresavfields
2018-10-12 15:15
» Replies: 2
» Views: 546
Rom for Jiake M10plus
Last Post: Gerard2307
2018-10-11 20:43
» Replies: 0
» Views: 75
SP Flash Tool for Windows OS
Last Post: Gerard2307
2018-10-11 19:37
» Replies: 11
» Views: 7663
Homtom HT17 Pro - ROMS and TWRP
Last Post: Cleopatra
2018-10-06 21:22
» Replies: 18
» Views: 15813
Framaroot MTK6592/MTK6582/MTK6572/ MTK65...
Last Post: PhantomPrime9
2018-10-05 00:39
» Replies: 74
» Views: 98501
[Oukitel-K3] How to remove 'swipe' on th...
Last Post: ldm
2018-10-03 02:15
» Replies: 0
» Views: 129
Koobee Halo 7 mod stock for Pepsi P1S
Last Post: d4bcha
2018-10-02 02:15
» Replies: 416
» Views: 162158
Rom for JLINKSZ k960
Last Post: krzysio2268
2018-09-30 20:42
» Replies: 24
» Views: 20591
Mediatek MT8176 brick , no recovery , no...
Last Post: Prk
2018-09-30 19:37
» Replies: 1
» Views: 1476
QS PDA-401 root and ROM needed
Last Post: MauroStefancic
2018-09-30 04:45
» Replies: 0
» Views: 160
JLINKSZ ZH960_MB.V4.0 FIRMWARE NEEDED! (...
Last Post: krzysio2268
2018-09-29 23:49
» Replies: 0
» Views: 188
Oukitel U7 Plus - Nougat TWRP and stock ...
Last Post: Merida901
2018-09-29 04:01
» Replies: 85
» Views: 25983
HOW TO PORT TWRP MT6735, MT6752, MT6753,...
Last Post: Cleopatra
2018-09-28 18:07
» Replies: 477
» Views: 186655
[newbie] "boot error!!!" on start screen...
Last Post: lispercat
2018-09-27 06:17
» Replies: 2
» Views: 189
intensity 702 need firmware
Last Post: thelalos
2018-09-26 12:05
» Replies: 3
» Views: 3527
How to fix an iphone clone ??
Last Post: h4x0rAL
2018-09-24 06:13
» Replies: 0
» Views: 211
TWRP for Oukitel U7 Max
Last Post: Cleopatra
2018-09-20 01:31
» Replies: 1
» Views: 261
JLinksz K960 'Device is not certified by...
Last Post: GertJL
2018-09-18 15:43
» Replies: 4
» Views: 306
Need MIUI custom rom for Oukitel U22
Last Post: Akere Mukhtar Abiodun
2018-09-18 11:27
» Replies: 0
» Views: 299
a825e_v1.0
Last Post: burnutec
2018-09-12 04:24
» Replies: 1
» Views: 989
need Rom of my Samsung Galaxy J7 Pro MT6...
Last Post: Abhidada
2018-09-11 22:01
» Replies: 1
» Views: 1432
Need Rom for fake iphone X
Last Post: maeg
2018-09-10 02:47
» Replies: 0
» Views: 289
Root Vernee X1
Last Post: Hash?SHA1
2018-09-09 01:33
» Replies: 0
» Views: 533
meiigoo s8
Last Post: djpsycho7
2018-09-08 22:44
» Replies: 3
» Views: 371
What firmware do I have?
Last Post: GabrielT
2018-09-06 02:26
» Replies: 0
» Views: 401
need system.img file
Last Post: gaurang
2018-09-04 19:24
» Replies: 0
» Views: 264
[Tools] Ultimate ADB USB VCOM MediaTek D...
Last Post: adex100
2018-09-01 13:20
» Replies: 80
» Views: 170026
Vernee Thor E MT6753 - TWRP and Stock Ro...
Last Post: pawel542
2018-08-29 00:51
» Replies: 202
» Views: 60543
Coolpad 8675 flash issues
Last Post: adex100
2018-08-28 11:15
» Replies: 0
» Views: 292


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[How-To] SP Flash Tool (UBUNTU)
#1
OLD METHOD

It is essential respect the steps given on post number two.



1) ABOVE ALL you have to install rar & unrar (it is because many roms are in rar archives). Open terminal and type the next commands :

- sudo apt-get install rar
- sudo apt-get install unrar

2) SP Flash Tool steps

Download SP_Flash_Tool_exe_Linux_64Bit_v5.1604.00.100 from the next link :

[Only registered and activated users can see links Click here to register]

Open terminal and type the next commands :

- sudo apt-get install libusb-dev

- cd Downloads

- unzip SP_Flash_Tool_*.zip

- mv /home/cleopatra81/Downloads/SP_Flash_Tool_e e_Linux_v5.1604.00.100 /home/cleopatra81/Desktop (change cleopatra81 with your login name)

- cd Desktop

- cd SP_Flash_Tool_exe_Linux_v5.1604.00.100

- chmod +x flash_tool

- chmod +x flash_tool.sh

- sudo adduser cleopatra81 dialout (change cleopatra81 with your login name)

- newgrp - dialout

- sudo gedit /etc/udev/rules.d/80-persistent-usb.rules

Copy the next string in the txt ... then save and close :

SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0e8d", ATTR{idProduct}=="*"

- sudo gedit /etc/udev/rules.d/20-mm-blacklist-mtk.rules

Copy the next 2 strings in the txt ... then save and close :

ATTRS{idVendor}=="0e8d", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="6000", ENV{ID_MM_DEVICE_IGNORE}="1"

- sudo service udev restart

3) How to flash a rom

Turn off your device and remove the battery.
Open terminal and type the next commands :

- cd Desktop

- cd SP_Flash_Tool_exe_Linux_v5.1604.00.100

- sudo ./flash_tool

Click on the scatter-loading button and locate the scatter file of the rom.
Click on the Download button (in my case Firmware Upgrade).
Connect your device to your pc/notebook with usb cable.
Insert the battery.
Wait until the yellow bar will be 100% and the pop-up "Download Ok" ... like in the next screenshot :

[Image: 6ggakl.jpg]

That's all ... for now Big Grin
You and NexusTrix like this post
Reply
#2
UPDATED

Please forget about all the steps at the first post.
I strongly recommend you to follow carefully the next steps.

Above all, download the iso of "Ubuntu 14.04.5 LTS (Trusty Tahr)" :

[Only registered and activated users can see links Click here to register]

And of course, install it on your pc.

Before to install Sp Flash Tool, we have to set the environment.


Step 1 - Installing rar/unrar and 7-zip

Above all you have to install rar & unrar and 7-zip.
It is because many roms are in rar or zip archives.
To install rar & unrar, open terminal and type the next commands :

sudo apt-get install rar

sudo apt-get install unrar

To install 7zip, open terminal and type the next commands :

sudo apt-get install p7zip-full

The full 7zip package that supports a lot of archive formats.
To extract a compress file :
just right click on archive file and then click on Extract Here from the menu.
To compress a file :
just right-click on the file, click on Compress option.
Then, select the .7z, or .zip, or .rar and click Create button.


Step 2 - Installing Java 8

At first, you need to add Java webupd8team PPA repository on Ubuntu.
Then, install Oracle Java 8.
Open the terminal and type the following commands :

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java8-installer

To check if Oracle Java 8 has been properly installed,
execute the following command :

java -version

Click on the next pic to enlarge :

[Image: 2953bxu.jpg]


Step 3 - Install ADB and Fastboot

Open the terminal and type the following commands :

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386

sudo apt-get install Android-tools-adb-fastboot android-tools

To check if the ADB version installed on Ubuntu, type the following command :

adb version

If you see the following version :

Android Debug Bridge version 1.0.31

Then it comes to the old one, so I suggest you type the following commands :
warning : between https and : there is a space. Please delete the space.

# wget -O - https ://skia.googlesource.com/skia/+archive/cd048d18e0b81338c1a04b9749a00444597df394/platform_tools/android/bin/linux.tar.gz | tar -zxvf - adb

# sudo mv adb /usr/bin/adb

# sudo chmod +x /usr/bin/adb

After doing that, you will have to re-check the adb version installed.
Please type the following command :

adb version

You should see the next writing : Android Debug Bridge version 1.0.32
Click on the next pic to enlarge :

[Image: v6hqh5.jpg]


Step 4 - Solve problems within device not recognized

If, by opening a terminal and typing the following command :

adb devices

It will return this :

List of devices attached
? ? ? ? ? no permissions

Then, it is necessary to intervene on the 51-android.rules.
Open the terminal and type the following command :

sudo gedit /etc/udev/rules.d/51-android.rules

It will appears a file similar to a txt; copy and paste the following text :

#MediaTek

SUBSYSTEM=="usb", ATTR{idVendor}=="0e8d", MODE="0666"

Then, save and close the file.
If it will does not works, open the terminal and type the following command :

sudo nano /etc/udev/rules.d/51-android.rules

You will see a file like a txt; copy and paste the following text :

# udev rule to detect android devices
# These rules refer to http: //developer.android.com/tools/device.html

# Acer
SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0666", GROUP="plugdev"
# Archos
SUBSYSTEM=="usb", ATTR{idVendor}=="0e79", MODE="0666", GROUP="plugdev"
# Asus
SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0666", GROUP="plugdev"
# Azpen Onda
SUBSYSTEM=="usb", ATTR{idVendor}=="1f3a", MODE="0666", GROUP="plugdev"
# BQ
SUBSYSTEM=="usb", ATTR{idVendor}=="2a47", MODE="0666", GROUP="plugdev"
# Dell
SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0666", GROUP="plugdev"
# Fairphone
SUBSYSTEM=="usb", ATTR{idVendor}=="2ae5", MODE="0666", GROUP="plugdev"
# Foxconn
SUBSYSTEM=="usb", ATTR{idVendor}=="0489", MODE="0666", GROUP="plugdev"
# Fujitsu Toshiba
SUBSYSTEM=="usb", ATTR{idVendor}=="04c5", MODE="0666", GROUP="plugdev"
# Garmin-Asus
SUBSYSTEM=="usb", ATTR{idVendor}=="091e", MODE="0666", GROUP="plugdev"
# Google
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"
# Haier
SUBSYSTEM=="usb", ATTR{idVendor}=="201e", MODE="0666", GROUP="plugdev"
# Hisense
SUBSYSTEM=="usb", ATTR{idVendor}=="109b", MODE="0666", GROUP="plugdev"
# HTC, Wiko
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"
# Huawei
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0666", GROUP="plugdev"
# Intel
SUBSYSTEM=="usb", ATTR{idVendor}=="8087", MODE="0666", GROUP="plugdev"
# K-Touch
SUBSYSTEM=="usb", ATTR{idVendor}=="24e3", MODE="0666", GROUP="plugdev"
# KT Tech
SUBSYSTEM=="usb", ATTR{idVendor}=="2116", MODE="0666", GROUP="plugdev"
# Kyocera
SUBSYSTEM=="usb", ATTR{idVendor}=="0482", MODE="0666", GROUP="plugdev"
# Lab126
SUBSYSTEM=="usb", ATTR{idVendor}=="1949", MODE="0666", GROUP="plugdev"
# Lenovo
SUBSYSTEM=="usb", ATTR{idVendor}=="17ef", MODE="0666", GROUP="plugdev"
# LG
SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666", GROUP="plugdev"
# Meizu
SUBSYSTEM=="usb", ATTR{idVendor}=="2a45", MODE="0666", GROUP="plugdev"
# Micromax
SUBSYSTEM=="usb", ATTR{idVendor}=="1ebf", MODE="0666", GROUP="plugdev"
# Motorola
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666", GROUP="plugdev"
# MTK
SUBSYSTEM=="usb", ATTR{idVendor}=="0e8d", MODE="0666", GROUP="plugdev"
# NEC
SUBSYSTEM=="usb", ATTR{idVendor}=="0409", MODE="0666", GROUP="plugdev"
# Nook
SUBSYSTEM=="usb", ATTR{idVendor}=="2080", MODE="0666", GROUP="plugdev"
# Nvidia
SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0666", GROUP="plugdev"
# OnePlus Two (unknown vendor's name)
SUBSYSTEM=="usb", ATTR{idVendor}=="2a70", MODE="0666", GROUP="plugdev"
# Oppo
SUBSYSTEM=="usb", ATTR{idVendor}=="22d9", MODE="0666", GROUP="plugdev"
# OTGV
SUBSYSTEM=="usb", ATTR{idVendor}=="2257", MODE="0666", GROUP="plugdev"
# Pantech
SUBSYSTEM=="usb", ATTR{idVendor}=="10a9", MODE="0666", GROUP="plugdev"
# Pegatron
SUBSYSTEM=="usb", ATTR{idVendor}=="1d4d", MODE="0666", GROUP="plugdev"
# Philips
SUBSYSTEM=="usb", ATTR{idVendor}=="0471", MODE="0666", GROUP="plugdev"
# PMC-Sierra
SUBSYSTEM=="usb", ATTR{idVendor}=="04da", MODE="0666", GROUP="plugdev"
# Qualcomm
SUBSYSTEM=="usb", ATTR{idVendor}=="05c6", MODE="0666", GROUP="plugdev"
# Rockcwell Electronics
SUBSYSTEM=="usb", ATTR{idVendor}=="2207", MODE="0666", GROUP="plugdev"
# SK Telesys
SUBSYSTEM=="usb", ATTR{idVendor}=="1f53", MODE="0666", GROUP="plugdev"
# Samsung
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="plugdev"
# Sharp
SUBSYSTEM=="usb", ATTR{idVendor}=="04dd", MODE="0666", GROUP="plugdev"
# Sony
SUBSYSTEM=="usb", ATTR{idVendor}=="054c", MODE="0666", GROUP="plugdev"
# Sony Ericsson
SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", MODE="0666", GROUP="plugdev"
# Spreadtrum
SUBSYSTEM=="usb", ATTR{idVendor}=="1782", MODE="0666", GROUP="plugdev"
# T & A Mobile Phones
SUBSYSTEM=="usb", ATTR{idVendor}=="1bbb", MODE="0666", GROUP="plugdev"
# Teleepoch
SUBSYSTEM=="usb", ATTR{idVendor}=="2340", MODE="0666", GROUP="plugdev"
# Texas Instruments UsbBoot
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", MODE="0666", GROUP="plugdev"
# Toshiba
SUBSYSTEM=="usb", ATTR{idVendor}=="0930", MODE="0666", GROUP="plugdev"
# Wearners
SUBSYSTEM=="usb", ATTR{idVendor}=="05c6", MODE="0666", GROUP="plugdev"
# Wileyfox
SUBSYSTEM=="usb", ATTR{idVendor}=="2970", MODE="0666", GROUP="plugdev"
# XiaoMi
SUBSYSTEM=="usb", ATTR{idVendor}=="2717", MODE="0666", GROUP="plugdev"
# YU
SUBSYSTEM=="usb", ATTR{idVendor}=="1ebf", MODE="0666", GROUP="plugdev"
# Zebra
SUBSYSTEM=="usb", ATTR{idVendor}=="05e0", MODE="0666", GROUP="plugdev"
# ZTE
SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", MODE="0666", GROUP="plugdev"
# ZUK
SUBSYSTEM=="usb", ATTR{idVendor}=="2b4c", MODE="0666", GROUP="plugdev"

Then, you need to change the permissions on the files.
Please type the following command :

sudo chmod a+r /etc/udev/rules.d/51-android.rules

Now you need to recharge the rules.
Please type the following commands :

sudo udevadm control --reload-rules

sudo service udev restart

sudo udevadm trigger

To create the plugdev group and added your name to the group,
please enter the following commands :

groupadd plugdev

useradd -G plugdev cleopatra81 (change my name with your)

sudo service udev restart

Then restart the udev by typing the following commands :

sudo udevadm control --reload-rules

sudo service udev restart

Then, connect your phone to Ubuntu with usb cable.
Open the terminal and type the next command :

lsusb

You should see "Mediatek Inc." (Bus 00X Device 00X: ID).

Click on the next pic to enlarge :

[Image: a1hikn.jpg]


Step 5 - Installing SP Flash Tool

Download "SP_Flash_Tool_exe_Linux_v5.1716.00.100.zip" at the next link :

[Only registered and activated users can see links Click here to register]

Open the terminal and type the following commands :

sudo apt-get install libusb-dev

Unzip "SP_Flash_Tool_exe_Linux_v5.1716.00.100.zip" onto Desktop

Now type the following commands :

cd Desktop

cd SP_Flash_Tool_exe_Linux_v5.1716.00.100

chmod + x flash_tool

chmod + x flash_tool.sh

Now type the next command :

sudo gedit /etc/udev/rules.d/80-persistent-usb.rules

In the file that will open copy the following lines :

SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0e8d", ATTR{idProduct}=="*"

Save the file and close it.

Now type the next command :

sudo gedit /etc/udev/rules.d/20-mm-blacklist-mtk.rules

In the file that will open copy the following lines :

ATTRS{idVendor}=="0e8d", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="6000", ENV{ID_MM_DEVICE_IGNORE}="1"

Save the file and close it.

Now type the next command :

sudo service udev restart


Step 6 - How to flash a ROM

Now we are ready to run SP Flash Tools with the next commands :

cd Desktop

cd SP_Flash_Tool_exe_Linux_v5.1716.00.100

sudo ./flash_tool


From this point forward, the method is the same like on Windows OS.

[Image: 2yoz4p4.jpg]

DO NOT UPDATE UBUNTU OS TO THE LATEST VERSION !

Smiling
Artemisia (Eva Green) on "300: Rise of an Empire"
Reply
#3
I did try to run the flash_tool for Opensuse Tumbleweed and was able to do so.

Steps:
Code:
> sudo zypper in android-tools
> sudo zypper in libusb-1_0-devel libusb-1_0-devel-32bit

> adb version
Android Debug Bridge version 1.0.32

> java -version
openjdk version "1.8.0_144"
OpenJDK Runtime Environment (IcedTea 3.5.1) (suse-1.2-x86_64)
OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode)

>  sudo vi /etc/udev/rules.d/80-android.rules

SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0e8d", ATTR{idProduct}=="*"

>  sudo vi /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 udevadm control --reload-rules
>  sudo udevadm trigger

Connect phone and switch it to USB debug mode

> unzip SP_Flash_Tool_exe_Linux_v5.1716.00.100.bin
> cd SP_Flash_Tool_exe_Linux_v5.1716.00.100/
> ./flash_tool

Now the next steps ;-)
Cleopatra likes this post
Reply
#4
UPDATE 01


SP Flash Tool version 5.1728.00.100


Step 1 - Installing SP Flash Tool

Download "SP_Flash_Tool_Linux_v5.1728.00.100.rar" at the next link :

[Only registered and activated users can see links Click here to register]

Open the terminal and type the following commands :

sudo apt-get install libusb-dev

Unrar "SP_Flash_Tool_Linux_v5.1728.00.100.rar" onto Desktop

Open the terminal and type the following commands :

sudo apt-get install nautilus-open-terminal


Now double click on the folder called "SP_Flash_Tool_Linux_v5.1728.00.100".

Then, open the folder called "SP_Flash_Tool_exe_Linux_v5.1728.00.100".

Now right click on an empty space inside this folder.

Select "Open in Terminal" from the menù.

Type the following commands :

chmod + x flash_tool

chmod + x flash_tool.sh


Then, close the terminal inside the folder "SP_Flash_Tool_exe_Linux_v5.1728.00.100".

Come back on your desktop.

Open the terminal and type the following commands :

sudo gedit /etc/udev/rules.d/80-persistent-usb.rules

In the file that will open copy the following lines :

SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0e8d", ATTR{idProduct}=="*"

Save the file and close it.

Now type the next command :

sudo gedit /etc/udev/rules.d/20-mm-blacklist-mtk.rules

In the file that will open copy the following lines :

ATTRS{idVendor}=="0e8d", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="6000", ENV{ID_MM_DEVICE_IGNORE}="1"

Save the file and close it.

Now type the next command :

sudo service udev restart


Step 2 - How to flash a ROM


Double click on the folder called "SP_Flash_Tool_Linux_v5.1728.00.100".

Then, open the folder called "SP_Flash_Tool_exe_Linux_v5.1728.00.100".

Now right click on an empty space inside this folder.

Select "Open in Terminal" from the menù.

Then, type the following command :

sudo ./flash_tool


From this point forward, the method is the same like on Windows OS.

[Image: efjo8k.jpg]

Smiling
Artemisia (Eva Green) on "300: Rise of an Empire"
Reply
#5
(2017-10-22, 00:50)Cleopatra Wrote: [Only registered and activated users can see links Click here to register]

Open the terminal and type the following commands :

sudo apt-get install libusb-dev

Unrar "SP_Flash_Tool_Linux_v5.1728.00.100.rar" onto Desktop

Open the terminal and type the following commands :

sudo apt-get install nautilus-open-terminal


Now double click on the folder called "SP_Flash_Tool_Linux_v5.1728.00.100".

Then, open the folder called "SP_Flash_Tool_exe_Linux_v5.1728.00.100".

Now right click on an empty space inside this folder.

Select "Open in Terminal" from the menù.

Type the following commands :

chmod + x flash_tool

chmod + x flash_tool.sh


Then, close the terminal inside the folder "SP_Flash_Tool_exe_Linux_v5.1728.00.100".

Come back on your desktop.

Open the terminal and type the following commands :

sudo gedit /etc/udev/rules.d/80-persistent-usb.rules

In the file that will open copy the following lines :

SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0e8d", ATTR{idProduct}=="*"

Save the file and close it.

Now type the next command :

sudo gedit /etc/udev/rules.d/20-mm-blacklist-mtk.rules

In the file that will open copy the following lines :

ATTRS{idVendor}=="0e8d", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="6000", ENV{ID_MM_DEVICE_IGNORE}="1"

Save the file and close it.

Now type the next command :

sudo service udev restart


Step 2 - How to flash a ROM


Double click on the folder called "SP_Flash_Tool_Linux_v5.1728.00.100".

Then, open the folder called "SP_Flash_Tool_exe_Linux_v5.1728.00.100".

Now right click on an empty space inside this folder.

Select "Open in Terminal" from the menù.

Then, type the following command :

sudo ./flash_tool


From this point forward, the method is the same like on Windows OS.

[Image: efjo8k.jpg]

Smiling



Hello! I performed everything exactly as described in the tutorial. When I run the last command that is: sudo ./flash_tool writing error occurs in the terminal. The command is not supported by ubuntu. What can be the solution?


Attached Files Thumbnail(s)
   
Reply
#6
@Pleiadiano :

Hello.

You are currently using an old version of SP Flash Tool for Linux.
In your screenshot i can see the version 5.1716.00.100

Please download the version 5.1728.00.100

Please follow carefully all the installation steps at post number four.

Regards
Artemisia (Eva Green) on "300: Rise of an Empire"
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Thumbs Up [Tutorial] How to format your NAND Flash MT6589, MT6577, MT6582, MT6572 akwangwu 46 251,705 2018-07-23, 12:22
Last Post: pj7
  [New flash method] MT6752 how to root & flash recovery MT67xx Ninja^F.U.B.A.R. 10 23,561 2018-02-15, 06:46
Last Post: milantic
  [Tutorial] How to backup MT6752 MT6732 MT6753 MT67xx (and others) SP Flash Tool compatible alexzap 12 47,345 2016-12-21, 08:58
Last Post: kngharv
  Flash CWM if other tutorials fail aus9 13 10,305 2016-10-06, 14:36
Last Post: daspallab
  [Open Thread] Fix SP Flash tool errors and problems GizBeat 42 223,437 2016-08-05, 22:04
Last Post: Ahmod

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Sponsor deals
【ATTENTION】Coupons&Deals Of Today
Last Post: www.banggood.com
Yesterday 17:32
» Replies: 168
» Views: 10857
Syllable D900P Earbuds Let You Free To D...
Last Post: www.GearVita.com
Yesterday 10:35
» Replies: 0
» Views: 16
Vkworld plan to release a flip phone for...
Last Post: www.vkworld.cc
2018-10-16 14:41
» Replies: 1
» Views: 79
Scishion Model X TV Box Brings You to Ex...
Last Post: www.GearVita.com
2018-10-16 11:09
» Replies: 0
» Views: 29
OVEVO X9 Earphones, Also A MP3 Player, D...
Last Post: www.GearVita.com
2018-10-15 17:42
» Replies: 0
» Views: 36
The Vkworld K1 with triple camera goes o...
Last Post: www.vkworld.cc
2018-10-15 11:22
» Replies: 3
» Views: 183
With Xiaomi Mijia IR Sensor Night Light,...
Last Post: www.GearVita.com
2018-10-15 10:32
» Replies: 0
» Views: 35
Ultra-low Discount Price of $158 for Xia...
Last Post: www.GearVita.com
2018-10-13 16:05
» Replies: 0
» Views: 53
Chuwi GBox Windows 10 Mini PC Supports D...
Last Post: www.GearVita.com
2018-10-12 18:35
» Replies: 0
» Views: 69
SCISHION AI ONE Android 8.1 TV Box with ...
Last Post: www.GearVita.com
2018-10-11 16:58
» Replies: 0
» Views: 87
UIISII U7 Earphones of $4.99 Shock Your ...
Last Post: www.GearVita.com
2018-10-11 11:30
» Replies: 0
» Views: 65
UMIDIGI Z2 Pro Flagship with Current Pop...
Last Post: www.GearVita.com
2018-10-10 17:48
» Replies: 0
» Views: 70
Scishion RX4B TV Box Gives You The Same ...
Last Post: www.GearVita.com
2018-10-10 14:01
» Replies: 0
» Views: 72
Own Motospeed ​​CK88 Mechanical Keyboard...
Last Post: www.GearVita.com
2018-10-09 10:51
» Replies: 0
» Views: 72
No.1 smart watch big sale on Banggood
Last Post: Official No.1
2018-10-08 18:40
» Replies: 0
» Views: 77
Meizu EP52 Lite - So Light That You Almo...
Last Post: www.GearVita.com
2018-09-30 17:33
» Replies: 0
» Views: 137
No.1 smart watch best deal of this month
Last Post: Official No.1
2018-09-30 16:30
» Replies: 0
» Views: 144
【Promotion】15% Off for iPhone Accessorie...
Last Post: www.GearVita.com
2018-09-30 14:42
» Replies: 0
» Views: 142
KZ ZSA Earphones Redefined Sound Quality
Last Post: www.GearVita.com
2018-09-29 16:23
» Replies: 0
» Views: 157
【Coupon】Huawei Honor 8X Max - Super Scre...
Last Post: www.GearVita.com
2018-09-29 13:18
» Replies: 0
» Views: 133
MECOOL M8S PLUS L TV Box Makes You Free ...
Last Post: www.GearVita.com
2018-09-28 17:15
» Replies: 0
» Views: 157
Huawei Honor Band 4 Running Edition Can ...
Last Post: www.GearVita.com
2018-09-28 13:19
» Replies: 0
» Views: 119
KZ ZSR - Professional Six Unit Hybrid Ea...
Last Post: www.GearVita.com
2018-09-28 10:34
» Replies: 0
» Views: 132
Beelink Gemini X55 Ultimate - The Best O...
Last Post: www.GearVita.com
2018-09-27 17:26
» Replies: 0
» Views: 161
Huawei MediaPad M5, Built for Entertainm...
Last Post: www.GearVita.com
2018-09-27 15:16
» Replies: 0
» Views: 128

[-]
Science & Tech news
[BBC] Humanoid 'rescue robot' learns par...
Last Post: Discover
Today 08:16
» Replies: 0
» Views: 11
[ScienceD] Scientists call for microbial...
Last Post: SDTech
Yesterday 16:49
» Replies: 0
» Views: 20
[ScienceD] A new cancer weapon: Antibodi...
Last Post: SDTech
Yesterday 15:10
» Replies: 0
» Views: 17
[BBC] Click News: A ladder-climbing robo...
Last Post: Discover
Yesterday 08:50
» Replies: 0
» Views: 23
[ScienceD] Astronomers discover sonic bo...
Last Post: SDTech
2018-10-16 15:48
» Replies: 0
» Views: 25
[ScienceD] A break from the buzz: Bees g...
Last Post: SDTech
2018-10-16 12:26
» Replies: 0
» Views: 35
[BBC] Call of Duty: Why we put 'own twis...
Last Post: Discover
2018-10-16 09:30
» Replies: 0
» Views: 38
[ScienceD] Mountaintop observatory sees ...
Last Post: SDTech
2018-10-15 14:47
» Replies: 0
» Views: 45
[BBC] Virtual lives: Could VR change how...
Last Post: Discover
2018-10-15 10:06
» Replies: 0
» Views: 38
[ScienceD] Supercomputer predicts optica...
Last Post: SDTech
2018-10-15 09:46
» Replies: 0
» Views: 42
[BBC] The fall of Nokia: How this Finnis...
Last Post: Discover
2018-10-14 10:38
» Replies: 0
» Views: 49
[ScienceD] The many structures of the li...
Last Post: SDTech
2018-10-14 07:05
» Replies: 0
» Views: 39
[ScienceD] Even light drinking increases...
Last Post: SDTech
2018-10-13 12:41
» Replies: 0
» Views: 49
[BBC] Amsterdam's canal boats go electri...
Last Post: Discover
2018-10-13 11:14
» Replies: 0
» Views: 61
[ScienceD] Icy warning for space mission...
Last Post: SDTech
2018-10-13 04:18
» Replies: 0
» Views: 68
[BBC] Facebook Portal: Hands-on with new...
Last Post: Discover
2018-10-12 11:52
» Replies: 0
» Views: 84
[ScienceD] Black holes ruled out as univ...
Last Post: SDTech
2018-10-12 11:40
» Replies: 0
» Views: 67
[BBC] 'People ask me where the doctor is...
Last Post: Discover
2018-10-11 12:31
» Replies: 0
» Views: 72
[ScienceD] 'Spacesuits' protect microbes...
Last Post: SDTech
2018-10-11 10:38
» Replies: 0
» Views: 78
[BBC] The robot that can perform DIY and...
Last Post: Discover
2018-10-10 13:11
» Replies: 0
» Views: 98
[ScienceD] Did key building blocks for l...
Last Post: SDTech
2018-10-10 09:36
» Replies: 0
» Views: 88
[ScienceD] Major step toward printed ani...
Last Post: SDTech
2018-10-09 20:06
» Replies: 0
» Views: 110
[BBC] How coding is helping young Gazans...
Last Post: Discover
2018-10-09 13:48
» Replies: 0
» Views: 86
[ScienceD] Engineers study hovering bats...
Last Post: SDTech
2018-10-09 08:34
» Replies: 0
» Views: 81
[ScienceD] Robot masters human balancing...
Last Post: SDTech
2018-10-08 17:21
» Replies: 0
» Views: 117
[BBC] Meet Moxi - the hospital robot hel...
Last Post: Discover
2018-10-08 14:27
» Replies: 0
» Views: 89
[ScienceD] Unlocking the secret of how t...
Last Post: SDTech
2018-10-08 07:15
» Replies: 0
» Views: 97
[BBC] US phone users get national messag...
Last Post: Discover
2018-10-07 15:04
» Replies: 0
» Views: 120
[ScienceD] Breaking supersymmetry
Last Post: SDTech
2018-10-07 14:38
» Replies: 0
» Views: 94
[BBC] Would you want an AI version of yo...
Last Post: Discover
2018-10-06 15:35
» Replies: 0
» Views: 112
[ScienceD] Imaging accumulated charges a...
Last Post: SDTech
2018-10-06 11:56
» Replies: 0
» Views: 103
[ScienceD] A self-powered heart monitor ...
Last Post: SDTech
2018-10-06 05:12
» Replies: 0
» Views: 110
[BBC] How I survived a month without soc...
Last Post: Discover
2018-10-05 16:12
» Replies: 0
» Views: 118
[ScienceD] How a tiny Curiosity motor id...
Last Post: SDTech
2018-10-05 04:03
» Replies: 0
» Views: 123
[BBC] World's biggest battery: a look ar...
Last Post: Discover
2018-10-04 16:51
» Replies: 0
» Views: 125
[ScienceD] Eco-friendly nanoparticles fo...
Last Post: SDTech
2018-10-04 06:26
» Replies: 0
» Views: 136

[-]
Tech news
[BBC] Humanoid 'rescue robot' learns par...
Last Post: Discover
Today 08:16
» Replies: 0
» Views: 11
[ScienceD] Scientists call for microbial...
Last Post: SDTech
Yesterday 16:49
» Replies: 0
» Views: 20
[ScienceD] A new cancer weapon: Antibodi...
Last Post: SDTech
Yesterday 15:10
» Replies: 0
» Views: 17
[BBC] Click News: A ladder-climbing robo...
Last Post: Discover
Yesterday 08:50
» Replies: 0
» Views: 23
[ScienceD] Astronomers discover sonic bo...
Last Post: SDTech
2018-10-16 15:48
» Replies: 0
» Views: 25