[-]
Who's Online
There are currently 3416 online users. [Complete List]
» 3 Member(s) | 3413 Guest(s)
AvatarAvatarAvatar

[-]
Latest Threads
Need ROM for Q223_MB_V41
Last Post: aamm065065
2024-05-13 00:34
» Replies: 0
» Views: 907
K107-MB-V4.2
Last Post: Alby
2024-04-24 00:37
» Replies: 0
» Views: 508
[ROM] NEED ROM ZH960-MB-V5.0 MTK 6592
Last Post: sendycat2
2024-04-21 08:57
» Replies: 0
» Views: 596
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 14
» Views: 10305
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 961
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 633
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 14252
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4557
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 74
» Views: 34655
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 429
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2542
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22642
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 6204
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 9457
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1648
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 5107
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 2
» Views: 1571
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 471
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 8182
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 637
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 5053
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12829
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5233





Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[How-To] SP Flash Tool (UBUNTU)
#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


Messages In This Thread
SP Flash Tool (UBUNTU) - by Cleopatra - 2016-03-27, 23:01
RE: SP Flash Tool (UBUNTU) - by Cleopatra - 2017-02-07, 09:01
RE: SP Flash Tool (UBUNTU) - by geroffel - 2017-08-28, 02:48
RE: SP Flash Tool (UBUNTU) - by Cleopatra - 2017-10-22, 00:50
RE: SP Flash Tool (UBUNTU) - by Pleiadiano - 2017-10-27, 20:26
RE: SP Flash Tool (UBUNTU) - by Cleopatra - 2017-10-28, 00:16

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tutorial] How to backup MT6752 MT6732 MT6753 MT67xx (and others) SP Flash Tool compatible alexzap 15 65,780 2021-09-09, 22:51
Last Post: soldiaz
Thumbs Up [Tutorial] How to format your NAND Flash MT6589, MT6577, MT6582, MT6572 akwangwu 47 285,578 2019-03-18, 08:11
Last Post: abrahim
  [New flash method] MT6752 how to root & flash recovery MT67xx Ninja^F.U.B.A.R. 10 30,227 2018-02-15, 06:46
Last Post: milantic
  Flash CWM if other tutorials fail aus9 13 13,061 2016-10-06, 14:36
Last Post: daspallab
  [Open Thread] Fix SP Flash tool errors and problems GizBeat 42 245,162 2016-08-05, 22:04
Last Post: Ahmod

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] Enjoy Holiday Food without the Anxiety
Last Post: Scientific American
Today 11:05
» Replies: 0
» Views: 31
[Sci-Am] Climate Change Is Altering Animals’ Colors
Last Post: Scientific American
Yesterday 21:08
» Replies: 0
» Views: 22
[Sci-Am] Drought across the U.S., H5N1 in Canada and Uranus ...
Last Post: Scientific American
Yesterday 07:31
» Replies: 0
» Views: 36
[Sci-Am] Some Counties Voted for Trump and Approved Climate ...
Last Post: Scientific American
2024-11-23 17:36
» Replies: 0
» Views: 37
[Sci-Am] Fun Facts about Teeth across the Animal Kingdom
Last Post: Scientific American
2024-11-23 03:45
» Replies: 0
» Views: 55
[Sci-Am] The U.S. Must Lead the Global Fight against Superbu...
Last Post: Scientific American
2024-11-20 21:24
» Replies: 0
» Views: 130
[Sci-Am] Trump Administration Likely to Repeal Methane Leak ...
Last Post: Scientific American
2024-11-20 07:40
» Replies: 0
» Views: 53
[Harvard] Mars may have been habitable much more recently th...
Last Post: Harvard
2024-11-20 07:40
» Replies: 0
» Views: 34
[Sci-Am] Clean Energy Is Bringing Electricity to Many in the...
Last Post: Scientific American
2024-11-19 18:11
» Replies: 0
» Views: 37
[Sci-Am] The Law Must Respond When Science Changes
Last Post: Scientific American
2024-11-19 04:42
» Replies: 0
» Views: 36
[Harvard] What happened when a meteorite the size of four Mo...
Last Post: Harvard
2024-11-19 04:42
» Replies: 0
» Views: 19
[Sci-Am] Epic Gravity Lens Lines Up Seven-Galaxy View
Last Post: Scientific American
2024-11-18 01:54
» Replies: 0
» Views: 84
[Sci-Am] Voting Has Never Been More Secure Than It Is Right ...
Last Post: Scientific American
2024-11-17 10:52
» Replies: 0
» Views: 44
[Sci-Am] The Virus That Causes Mpox Keeps Getting Better at ...
Last Post: Scientific American
2024-11-16 20:14
» Replies: 0
» Views: 61
[Sci-Am] How to Calm Your Election Anxiety—Even after Polls ...
Last Post: Scientific American
2024-11-16 06:43
» Replies: 0
» Views: 110
[Harvard] When we say ‘smart,’ what do we mean?
Last Post: Harvard
2024-11-15 03:38
» Replies: 0
» Views: 135
[Sci-Am] Why Election Polling Has Become Less Reliable
Last Post: Scientific American
2024-11-14 14:18
» Replies: 0
» Views: 49
[Harvard] Big discovery about microscopic ‘water bears’
Last Post: Harvard
2024-11-14 14:18
» Replies: 0
» Views: 28
[Sci-Am] The Universe in 100 Colors Provides a Stunning Tour...
Last Post: Scientific American
2024-11-14 00:31
» Replies: 0
» Views: 71
[Sci-Am] One in Three Tree Species Is at Risk of Extinction
Last Post: Scientific American
2024-11-13 11:08
» Replies: 0
» Views: 57
[Sci-Am] A Bird Flu Vaccine Might Come Too Late to Save Us f...
Last Post: Scientific American
2024-11-12 20:46
» Replies: 0
» Views: 108
[Sci-Am] Why Are Close Elections So Common?
Last Post: Scientific American
2024-11-12 07:16
» Replies: 0
» Views: 99
[Sci-Am] More Men Are Getting Vasectomies Since Roe Was Over...
Last Post: Scientific American
2024-11-11 17:54
» Replies: 0
» Views: 76
[Sci-Am] Exploring the Science of Spookiness at the Recreati...
Last Post: Scientific American
2024-11-10 14:38
» Replies: 0
» Views: 131
[Sci-Am] Underwater Temple from ‘Indiana Jones Civilization’...
Last Post: Scientific American
2024-11-10 01:00
» Replies: 0
» Views: 150
[Sci-Am] Math and Puzzle Fans Find Magic in Martin Gardner’s...
Last Post: Scientific American
2024-11-09 11:01
» Replies: 0
» Views: 80
[Sci-Am] How Harris’s Medicare Plan Could Make At-Home Care ...
Last Post: Scientific American
2024-11-08 21:03
» Replies: 0
» Views: 76
[Sci-Am] Wildfires Are Moving Faster and Causing More Damage
Last Post: Scientific American
2024-11-08 07:40
» Replies: 0
» Views: 73
[Sci-Am] Climate Goal “Will Be Dead Within a Few Years” Unle...
Last Post: Scientific American
2024-11-07 04:40
» Replies: 0
» Views: 132
[Sci-Am] This Is Your Robot Brain on Mushrooms
Last Post: Scientific American
2024-11-06 15:00
» Replies: 0
» Views: 109
[Sci-Am] The Unsettled Science behind Weight-Loss Drugs for ...
Last Post: Scientific American
2024-11-06 01:19
» Replies: 0
» Views: 102
[Sci-Am] Treat or Trick? Astronomical Objects Are Beautiful—...
Last Post: Scientific American
2024-11-05 11:42
» Replies: 0
» Views: 82
[Sci-Am] Celebrating Spooky Lake Month with Its Creator Geo ...
Last Post: Scientific American
2024-11-04 20:46
» Replies: 0
» Views: 96
[Sci-Am] Hurricane Helene Disrupted Abortion Care in the Sou...
Last Post: Scientific American
2024-11-04 07:11
» Replies: 0
» Views: 118
[Sci-Am] These Hornets Can Thrive on Just Alcohol without Ge...
Last Post: Scientific American
2024-11-03 17:38
» Replies: 0
» Views: 81
[Sci-Am] Apples Have Never Tasted So Delicious. Here’s Why
Last Post: Scientific American
2024-11-03 03:45
» Replies: 0
» Views: 98
[Sci-Am] Climate Change Is Raising the Temperature on Global...
Last Post: Scientific American
2024-11-02 13:38
» Replies: 0
» Views: 93