09-01-2018, 11:46 AM
This is a step by step guide showing how to format a single partition of a Mediatek (MTK) android device using SP flash tool.
Why would i want to format one single partition on my MTK device?
There are several reasons why one might want to format a single partition on an MTK device. One such example is when your device is FRP locked, all you need do is to format only FRP partition OR maybe you need to perform a factory reset but you are unable to boot into recovery mode for some weird unknown reasons (userdata and cache) OR you need to remove privacy protection password (nvdata) OR relock bootloader (seccfg) e.t.c then all you need is to format a particular partition(s). The procedure below will show how we can achieve this.
Requirements
- Download latest SP flash tool
- Manually install Mediatek VCOM drivers
- Download Notepad++
- Scatter file for your device. You can extract this from the stock rom / firmware of your device (you may check our android firmware collection ) OR backup from your device using Wwr_MTK or using a hardware box / dongle software e.g Miracle box, CM2mtk, NCK box
How to Format a Single Partition of a Mediatek (MTK) device using SP Flash Tool
The steps below explain how to format a single partition of a mediatek (MTK) device using SP flash tool
See the video tutorial below or at https://youtu.be/3DrMuPBLW-I- Extract the content of the SP flash tool zip file and Launch SP flash tool
- Select the scatter file for your device by clicking choose beside the scatter-loading file's dropdown bar
- In the windows that appears next, navigate to and select the scatter file
- You should now be taken back to SP flash tool window, Click on the Format tab
- Tick the checkbox beside "Manual format flash"
- Open windows explore and navigate to the location of the scatter file you selected earlier on then open it using Notepad++
- Scroll down the contents of the scatter file till you get to the partition you wish to format [in my case, i'm trying to format FRP partition]
- Input the values of Linear_start addr and partition_size into SP flash tool then Click on Start
Code:Linear_start addr = Begin Address
partition_size = Format Length
- Power off the phone (with battery in) then connect to the PC via a USB cord. Once successful, you should get a green tick
- Boot up the device
Important Notice
- Once SP flash tool has detected your device, avoid disconnecting till the task is complete as this might cause the phone to go dead
- If you accidentally interrupted the process and the phone went dead, follow this guide to revive the phone
- If your device has secure boot, then check out our secure boot DA collection section and how to use secure boot DA files
- If you accidentally selected "Auto format - Format all", your device will go dead and you'll need to flash full stock rom to revive the phone
- Avoid using a random scatter file (even though its for your chipset) in Sp flash tool. Just because a scatter file is for your chipset doesn't mean it contains the same partition info. Formatting with a wrong scatter file could result in more problems than you initially intended to fix.
- SP flash tool was created by MediaTek Inc. so credits to them for the tool
Video Transcript
Quote:In this tutorial, I'll be showing You how to format a single partition of an MTK device using SP Flash tool. The purpose of this tutorial is for example, Your device is FRP locked. All You need is to format FRP partition or maybe You need to perform a factory reset but You're unable to boot into recovery mode for some reason. All You need is to format userdata & cache partitions, that's for factory reset For the requirements of this tutorial, all You need is SP Flash tool, the scatter file which will help You obtain the values of the partitions(s) You need to format and Notepad++ to open the scatter file and obtain the values.
You can get Your phone's scatter file either from the phone's firmware or You can download from our Forum under collection of scatter files for Mediatek phone chipsets. Browse Your phone's exact CPU There are a lot of CPUs You can grab the one for Your phone. Say You're using a Tecno phone, You can go to our Tecno individual files firmware map and browse Your phone model. There are a lot of models under Tecno. You can choose your phone model and download the scatter file for Your exact Build Number. Once You obtain the scatter file, open SP Flash tool and wait for SP Flash tool to load. Once SP Flash tool is loaded, under Scatter-loading, You click Choose to select the scatter file which You've obtained (this is the scatter file I'll be using) and click Open.
The next things is go to the Format tab. Under the Format tab, tick Manual Format Flash to help me insert the partition address I'll be formatting. This is the Begin Address and this the Format Length. The next thing to do is open my scatter file to get the values. I'll use Notepad++ to obtain the values. Say for example You're flashing any other partition. You can see there's a partition name in Your scatter file. You can format any partition You like, there are a lot of partitions In this tutorial, I'm particularly working on FRP partition so I'll go look for FRP.
This is FRP. What I need here is the Start Address. I'll copy Then I'll go back to SP Flash tool and paste my Start Address here I'll then copy the partition size and then go back to SP Flash tool and paste it under Format Length. The next thing to do is click on Format. You need to connect the phone using USB cable and make sure its charged & switched off and make sure the battery is inserted then connect the USB cable. My phone is connected. Wait for it to finish formatting You need to wait for it to show that format is successful. Now, format is successful.
Disconnect then boot up Your phone. Thanks for watching.