Posted 16 Apr 2016 | by anythingultimate
How to install stock rom through spflashtool on Linux OS.(Tested on ubuntu 14.04)



First Time Setup:

1) Download spflashtool from below link :

2)Extract downloaded spflashtool on desktop.

Open terminal and type the below commands :

sudo apt-get install libusb-dev
Give your password.


3) Type “cd” on terminal then give a space and dragg“SP_Flash_Tool_exe_Linux_v5.1604.00.100” folder to the terminal,press enter.


4)Run these commands:

chmod +x flash_tool.sh
chmod +x flash_tool

Then run below commands:
sudo adduser rajaul dialout (change rajaul with your login name)
newgrp – dialout


Then
sudo -i
Give your password


Then below command:
gedit /etc/udev/rules.d/80-persistent-usb.rules
Copy the below string in the text file opened automatically by gedit ,then save and close it:

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

Then this command:

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

Copy below 2 strings in the text file opened automatically by gedit , then save and close it :

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

Then run below commands:

sudo service udev restart

So,now setup complete,from next time you have to follow onlybelow steps:
ROM flashing method

Open terminal and type “cd” then give space and drag“SP_Flash_Tool_exe_Linux_v5.1604.00.100 to the terminal”

then

sudo ./flash_tool
Give password

Copy ROM and extract in a folder on Desktop.

Click on the scatter-loading and locate the scatter file from extracted ROM folder.

Click on the "Download" button .

Switch off device and connect to PC/Laptop through usb cable.

Wait till a green pop-up appears and you will see"Download Ok" message :

Disconnect phone and press power button to reboot.


tags:
Liked This Page. Spare a while to share it.

About The Admin Of This Blog:

Author Of This Article

I am a passionate and experienced Full Stack Web Developer having 4+ years of experience in Web Development using Laravel, React, WordPress, Angular, Vue, Bootstrap, Tailwind CSS, Saas, ES6, etc. I like to explore and learn about new technologies whenever I get any chance.

Stay Connected With Me On GooglePlus, Facebook And Twitter

Calculator

C
±
x ²
%
7
8
9
*
(
4
5
6
/
)
1
2
3
-
+
0
.
=
x ²
x^
sin
cos
tan
x !
π
C
log
ln
e
rad
7
8
9
*
(
4
5
6
/
)
1
2
3
-
+
0
.
%
±
=

Calender

Sa
Su
Mo
Tu
We
Th
Fr

Total Blog Views