yashsingh1/xdaforums huggingface dataset:
[Upgrading, Modifying and Unlocking] CVAngelo:
What is the error NUMBER?
[Upgrading, Modifying and Unlocking] edgcia:
Xperia xa f3113

Has anybody had succesfully connected XPERIA XA F3113 (33.2.A.70) to SP Flash or Maui META, i have read many forums and topics regarding MTK Drivers and i was not able in 2 different Laptops to get the phone recognized as META Mode. (none of the drivers mentioned for MT67xx only for MT65xx)

None of the tutorials found on internet gets the phone recognized.

What about any of you reading this? Any luck with Xperia XA?

Another question is regarding the Scatter File i was comparing one from a Meizu Note 3 which has same processor and found some big differences in between partitions tables.
[Upgrading, Modifying and Unlocking] Md anzar:
Broom error 1022 sp flash tool

:confused:When i was trying to unbrick my huawei y360 u61

Sp says unsupported version in its header?
[Upgrading, Modifying and Unlocking] bovirus:
[MENTION=8041304]Md anzar[/MENTION]

SP Flash Tools support only Mediatek (and not all Mediatek) devices.
[Upgrading, Modifying and Unlocking] CVAngelo:
Wellll...why not state what version of SPFT you are using???? Better yet, can you post a screenshot with the message? Also, what version of Android is running on your device? If it's Android 6 or higher, I don't believe SPFT is gonna work.
[Upgrading, Modifying and Unlocking] morfikov:
I have a simple question: How to create the scatter.txt file from scratch? Basically I have to create that file for my new phone, but unfortunately I don't really understand the options used in each of the partition index block. For instance, look at the example entry in the scatter.file:

- partition_index: SYS0
partition_name: preloader
file_name:
is_download: true
type: SV5_BL_BIN
linear_start_addr: 0x0
physical_start_addr: 0x0
partition_size: 0x40000
region: EMMC_BOOT_1
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: BOOTLOADERS
reserve: 0x00

Basically the file comprises of such blocks, and what I understand is this:

partition_index has a value of SYS and the next number, i.e. 0, 1, 2, etc.

partition_name -- it's some name, I'm using those which are in the partition table (names from the diskinfo app)

file_name -- it's just a path so the image can be read from disk

is_download -- if true it the partition will be showed on the SPFT list (in the download tab)

type -- I don't get the values of this option. I've usually seen EXT4_IMG or NORMAL_ROM and I just type the fist one in the case of all partitions that are formated with EXT4 filesystem. And I use the second type with the rest of the partitions. But there are other values. Does anyone know what other types can be used here and when?

linear_start_addr, physical_start_addr, partition_size -- they describe the start sector and size of each partition. This can be calculated or read from some /proc/ files if available. Is there a case when linear_start_addr and physical_start_addr have different values? I usually write the same values and I'm wondering if it's right to do such thing.

region -- it's some region of the flash, and the question is what values can be specified here? Basically EMMC_USER is used in the case of all of the partitions that are stored in the GPT partition table, right? What other regions can be set here and how to know which one to use?

storage -- any idea?

boundary_check -- what boundary does it check and when?

is_reserved -- any idea?

operation_type -- any idea?

reserve -- any idea?
[Upgrading, Modifying and Unlocking] CVAngelo:
It's a great question but definitely NOT a simple question. ?

I'd like to know the answers myself. I've been tempted to modify some random scatter file to create ones that I've needed in the past. But I've never done it.

And by the way, there is another format of scatter file that can be used with SPFT that does NOT require most of those details. I think it's the original format that was used in the earliest versions of SPFT. It required only the name of the partition and the linear starting address. Those partitions that were not to be flashed were named starting with the characters __NODL_ and so would not appear in the table on the Download tab. Finally, each line specifying a partition was separated by a line containing the symbol ( and a second line with the symbol ). So an example of the scatter would start as follows:

PRELOADER 0x0

(

)

MBR 0x880000

(

)

EBR1 0x884000

(

)

__NODL_NVRAM 0xC88000

(

)

(Aside: I'm sure you already know that a scatter.txt file is only useful for SPFT which in turn only works with MTK devices.)

Instead, there are other options for creating the scatter:

1. If you set USB Debugging to ON in Developer Options on your device, you can use MTK Droid Tools to automatically create the scatter.txt

2. I've sometimes relied on finding the scatter.txt that I need embedded in a relevant firmware download for the device I'm trying to flash. Sometimes I need to flash just recovery, but not the whole firmware. So it's a pain having to download the entire firmware just to get the scatter file.

3. There are some pros out there who can build the scatter from scratch, or who can point you to the info you seek. There is also an XDA thread called Create Scatter File. Search for it. Ask your question there if it is not already answered there.

4. Haven't seen it yet, but you would think developers like the guy who produced the DISKINFO app would offer a premium feature to create a scatter.txt for any MTK device on which his app is running. Geez. Lol

Hope this was helpful.
[Upgrading, Modifying and Unlocking] morfikov:
Here's the thread.
[Upgrading, Modifying and Unlocking] samK5:
Status_insufficient_buffer

Hi All! I have the phone K52e78 (3/32 GB Chinese version of K5 note with finger print sensor) and I received Android 5.1 with pre-installed virus (restoring factory settings didn't help). I decided to upgrade the firmware to a7020a48 ROW (Android 6.0) using this tutorial video on YouTube: Прошивка китайского Lenovo k5 note (k52e78)

In the video I couldn't see, but in SP Flash Tool I chose the Firmware Upgrade option then clicked Download. After that, I received the message: ERROR: STATUS_INSUFFICIENT_BUFFER (0xC0010007), and my phone is a "brick" now (I cannot switch it on and if I connect to a PC using USB it is reconnecting in every second).

Do you know, what is the reason of this error message and what should I try to make it alive again now? Thanks in advance!
[Upgrading, Modifying and Unlocking] bovirus:
[MENTION=8240201]samK5[/MENTION]

Could be various problems.

Could depend by driver (you didn't mentionrd which version you used) or a firmware version that seems not compatible with your device.

Before to flash a new ROM you should make a backup of original one.

But all requets are OT here because are related to a specifc device.

Please check if there is a specific thread for your decice.
[Upgrading, Modifying and Unlocking] samK5:
Thank you for your answer.

Version of SP Flash Tools is 5.1712 with MediaTek USB VCOM driver (version 1.1123.0). I have (had) exactly the same phone and firmware like presented in the video and used the files offered under the video...

OT: you are right, I just wanted to find an explanation of the error message since I didn't find anywhere.
[Upgrading, Modifying and Unlocking] samK5:
Now I asked somebody who did this upgrade several times with my phone, and he told me that the mistake was, that I used a newer version of SP Flash Tool (5.1712) instead of the older version in the video (5.1616). I don't see why can this be the problem, but we tried with the older version and we received a different error message: BROM ERROR: STATUS_SEC_IMGHDR_TYPE_MISMACH. We tried other firmware versions with the same result. With the newer SP Flash Tool version we got the STATUS_INSUFFICIENT_BUFFER message for all firmwares. Originally I used exactly the same firmware like others with the same type of phone.

Do you have any idea, where is the problem?

Can you imagine that the problem was that I used the newer Flash Tool version?

Do you have any idea, what should I try now?
[Upgrading, Modifying and Unlocking] bovirus:
Is not a problem of Flashtool.

Could be a firmware mismatch with your device or your device damaged.

But is not a problem of Flashtool that you can fix in any way in Flashtool.
[Upgrading, Modifying and Unlocking] Guizão BR:
Guys, whats is happenig with version 5.1712? I getting error from scatter file ( Partition[xxx] should NOT set "is_download" to true in scatter file

Please check) on older version the same scatter work very well
[Upgrading, Modifying and Unlocking] samK5:
It is a real surprise for me, but I tried SP Flash Tool version 5.1548 placed into the same folder where the firmware is (as somebody suggested), and worked perfectly. After all, the problem was somehow related to SP Flash Tool (and not to firmwares or phone damage).
[Upgrading, Modifying and Unlocking] bovirus:
[MENTION=8240201]samK5[/MENTION]

I always use latest versions of Falshtool and old version with the same result.

I'm surpise that your firmware works with old version of flashtool and not with latest version.
[Upgrading, Modifying and Unlocking] CVAngelo:
Well it is probably giving you a message that makes sense and is for the casual user's own protection. One probably should NOT casually flash one's NVRAM partition. It won't brick your phone, but there's a strong possibility that the phone will never make a call after you flash nvram with a bad file. If you're gonna flash nvram, it should be intentional and direct via the Write Memory tab. That's just my opinion. So I'm not seeing anything wrong with v5.1712.
[Upgrading, Modifying and Unlocking] SHIN-SHIN:
I'm facing same situation as of samK5.

and with me, I tried to write one be one partition(not all partitions at once), and find out I can write several partitions but others.

anyway my phone is still bricked.
[Upgrading, Modifying and Unlocking] Kurajmo:
Very nice. Today I almost throw this stupid phone from htc.

I tried flash stock Rom from Desire 320 310 too.

I installed needed drivers for MediaTek vcom USB etc.

I start flash 320 stock in sp flastool. Flash start. But stop on da with 4008 error. Always i tried reinstall drivers etc. Nothing works. I do this on Windows 10 64 bit.

Yes I unchecked driver verification in system. Driver install correctly.

When I tried flash Russian desire 310 stock sp flastool give me this scatter file isn't legal.

Screw this. For me this htc is dead already. Tomorrow I throw this phone with box etc to trash.

My patience has been abused.

Luckily i have other normal Android phone old Galaxy Ace 2 with cm11

I don't buy anything from HTC anymore.
[Upgrading, Modifying and Unlocking] tareco60:
Hi, I have all the versions of sp flash tool, but I do not work in windows 7 pro, I click it as administrator and it does not run, I give it double click and neither, I need help, I reinstalled to reinstall in clean the windos And nothing, even try on windows 7 ultimate, thanks
[Upgrading, Modifying and Unlocking] bovirus:
I believe that your problem is about PC and not about Flashtool.

All latest versions of Flashtool works fine in Windows 7/8/10

What does mean "Not run"?

Please plain with details what are you doing.
[Upgrading, Modifying and Unlocking] tareco60:
Hi, thanks for replying, on windows xp you double click on flash_tool.exe and it runs, but when I do it on windows 7 it does nothing, I thought that win 7 had problems and it reinstalled clean, install win 7 pro I give it to "run as administrator" and nothing, I give you double click and nothing, forgive my English but my language is Spanish and I'm using a translator, my pc is a dell optiplex 3020, thanks
[Upgrading, Modifying and Unlocking] #Lazarus001:
Does sp flash tool require internet????

Does it download the room once again....

:confused::confused:
[Upgrading, Modifying and Unlocking] CVAngelo:
No and No. If you want to flash a ROM, you have to download that ROM yourself and save it to a folder. Then you have to run SPFT and select the scatter.txt file that appears in the folder where you unzipped the ROM. You can then flash the ROM to your device once you connect the device to your computer via a USB cable. Did you watch the video?
[Upgrading, Modifying and Unlocking] bovirus:
SP Flash Tools don't require internet connection.
[Upgrading, Modifying and Unlocking] ju1cy:
Hi,

I ad a lot of different errors but at the end i have only one 2004...

Any ideas about 2004 error? :( I've tried everything:

- three different PC's with IN 7; WIN8; WIN10

- three different usb cables (including original cable)

- flash tool versions: 5.1720.00.000 to 5.1348.01_SEC and also up to 3.1344

- all types of downloades types

- alternative preloader.bin file

- starting APP with admin rights

- starting APP from C: with no spaces in address

- two different types of firmware to my phone

- and also giving Flash Tool dedicated CPU core

But no matter what i'm doing it stoppes on 2004 error :( Anyone had same problem???
[Upgrading, Modifying and Unlocking] CVAngelo:
Have you tried using the Upgrade option instead of the Download option? Have you tried using the Format and Download option?

Are you sure your battery is fully charged? You may have to use a universal external charger. If your battery is fully 100% charged and you still get the error 2004, try flashing your device WITHOUT THE BATTERY! There are some devices which require that the battery be completely removed from the device in order to start and complete the flash.

By the way, you never said what brand and model of device you have!
[Upgrading, Modifying and Unlocking] ju1cy:
I've tried all options, in case i've choosed format & flash, it formats device & then goves error on flashing... so now it's empty brick :(

HTC Desire 310 Dual Sim

I've tried it with & without battery ... both times 2004 :(
[Upgrading, Modifying and Unlocking] razes:
I have edited vold.fstab to enable SD card recognition in my MTK6572. My phone unable to boot right now (it stuck on Logo screen). I would like to re-flash a stock ROM using SP Flash tool. I noticed there is no recovery and uboot when I've loaded the scatter file. I do have these files in my Backup folder ( factory_NONmodified recovery.img; LOGIC-X1_150702__boot_patched_170620-174531.img; LOGIC-X1_150702__recovery_170620-174531.img ; uboot.bin.

Can I safely flash my phone if SP flash tool unable to identify the recovery and uboot?

Also should I use Download only, Format All + Download or Firmware upgrade mode for flashing? [IMG="SP FlashTool MTK6572"]file:///C:/Users/MaratG/Pictures/SP%20Flash%20MTK6572.PNG[/IMG]
[Upgrading, Modifying and Unlocking] razes:
Here is I show the part of my scatter file with uboot and recovery data that SP FlashTool unable to identify.

- partition_index: SYS8

partition_name: UBOOT

file_name: lk.bin

is_download: true

type: NORMAL_ROM

linear_start_addr: 0x3120000

physical_start_addr: 0x1D20000

partition_size: 0x60000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: UPDATE

reserve: 0x00

- partition_index: SYS10

partition_name: RECOVERY

file_name: recovery.img

is_download: true

type: NORMAL_ROM

linear_start_addr: 0x3780000

physical_start_addr: 0x2380000

partition_size: 0x600000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: UPDATE

reserve: 0x00

On other hand, SP FlashTool does recognize the Android partition from the Scatter file:

- partition_index: SYS15

partition_name: ANDROID

file_name: system.img

is_download: true

type: YAFFS_IMG

linear_start_addr: 0x4B40000

physical_start_addr: 0x3740000

partition_size: 0x28A00000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: UPDATE

reserve: 0x00
[Upgrading, Modifying and Unlocking] razes:
OK. It seems I found way how to manually load the recovery and uboot. Some manual recommend to use Ik.bin instead of uboot. I have only uboot.bin file in my backup folder. Should I look for IK.bin? Also, should I rename the factory_NONmodified_recovery.img to recovery.img or just enough to give the pathway to the file? Finally, should I flash the whole Rom or enough to flash the system (or Android?) ? I'll go to download mode and shall uncheck the preloader
[Upgrading, Modifying and Unlocking] CVAngelo:
The image for the uboot partition is sometimes named lk.bin and its sometimes named uboot.bin. Look, it does not matter what it's called, you can always select the file manually. It is only selected automatically for you if the file name in the scatter file is the same as what it is named on the hard drive in the folder containing the scatter file. Even it is selected automatically, you can always choose a different file if you you wish!

Same goes for ANY partition. Just pick the file you want manually!

You don't need to flash the entire ROM. It depends on what you're trying to do. But if your phone is bricked, you may not know which partition is causing the problem. In that case, you should flash the entire ROM (excluding cache and userdata)....then boot into recovery and do a factory reset from recovery.

Yes, always uncheck the preloader partition, unless you are selecting Uograde, or Format and Download (last resort).
[Upgrading, Modifying and Unlocking] razes:
Thank you, Praia.

I have to say that I've tried to use factory reset. Surprisingly, I didn't find it in that phone set. Vol- and Power combination gives you Factory Mode screen with some tests (Auto test, Manual test, Item test, Test Report, Debug test), eMMC and Reboot(Vol UP and Power combination just initiates the booting). Choosing eMMC resulted in formating /data. After reboot, phone still stuck on booting logo (soft brick?). So, would I reflash it with SP FlashTool how to make then a factory reset from the stock recovery?
[Upgrading, Modifying and Unlocking] razes:
OK. I have successfully restored my ROM, and it is pre-rooted. However, phone still showing 0 bytes of SD card (which is 16GB). It recognizes the card as mounted but for some reason showing all space is used (i.e 0 bytes is avail). I believe the problem is in vold.fstab file but have no idea how to edit it. My internal storage is very low 1.2GB.

Thank you CVAngelo for your help. How important is to make a factory reset from the recovery after ROM flshing ?
[Upgrading, Modifying and Unlocking] bovirus:
[MENTION=7728949]razes[/MENTION]s

Please avoid to continue to discuss about OffTopis (OT) issues.

This thread is just only about SP Flashtool question & answer

Any other request that is not about Flashtool

here is OT

.
[Upgrading, Modifying and Unlocking] CVAngelo:
Use MTK Droid Tools (use Google to find it) to automatically make a CWM recovery for your device. Make sure to turn on USB Debugging first. In some cases, it doesn't work. But you may have luck.

Once you have the custom recovery, or if you find one for your specific device online, you can use SPFT to flash just the recovery. Once you have a custom recovery, you can boot into recovery with full functionality including factory reset.

It's not critically necessary to do a factory reset after flashing a ROM. It depends on what caused your phone to brick. But if after flashing your ROM, you were able to boot normally, then the factory reset doesn't matter.
[Upgrading, Modifying and Unlocking] razes:
I have flashed factory recovery (factory_NONmodified_recovery.img) using SP Flash tool. Can I flash additionally the CWM custom (I believe it is this file LOGIC-X1_150702__recovery_170620-174531.img from my Readback ) recovery? And if so, which one will start when I'll get into the recovery mode, or I'll mess everything up?
[Upgrading, Modifying and Unlocking] bovirus:
The latest recovery flashed overwrite previous recovery version (You can have one recovery at time).
[Upgrading, Modifying and Unlocking] parjapat:
when i flashing the phone then occur the problem b.rom error how can solve this problem
[Upgrading, Modifying and Unlocking] CVAngelo:
There are dozens of brom errors! What is the NUMBER of the error you received?
[Upgrading, Modifying and Unlocking] Kiro73:
Hi, i accidentielly formatted my bootblock with the sp flash tool (done format all instead of format all except boot block) and my phone wont start anymore. :( Is it bricked now, or is there a chance to flash it manually? I cant connect the phone to the SP Flash Tool :(
[Upgrading, Modifying and Unlocking] bovirus:
[MENTION=1567797]Kiro73[/MENTION]

It's absolute un-necessary both options FIRMAT ALL or FORMATA LL EXCEPT BOOTLOADER.

There is no way that you need to sue them.

Now I believe that you cannot do nothing.
[Upgrading, Modifying and Unlocking] CVAngelo:
Yes [MENTION=637263]bovirus[/MENTION] is right. You hard bricked your phone.

There's a way to recover phones when you format the bootloader. BUT, it involves hard wiring the motherboard to force a bootloader copy stored on the motherboard back into its partition so you can flash with SPFT again. Of course, ordinary users like us can't do that. It's a factory tech job.

Bottom line is that you destroyed your phone. You've learned a valuable lesson though. I'm sure you'll never do that again.
[Upgrading, Modifying and Unlocking] gerhardmlzr:
i need a sp5 flash tool for linux 32 bit on a Atom N270 Prozessor anybody have a downloadlink for this.

thanks in foreward.

gerhard
[Upgrading, Modifying and Unlocking] kingofparadox:
Hey guys,

wanted to flash my stock rom back on my panasonic T31 with SP flash tools.

but it is showing an error that its is secure chip,

and need an authencation file.

where can i find this file.

P.S. - It runs on MTK 6572M processor.

and i also tried to use sugar mtk it gives an error that can't read db file;either wrecked or removed db file.
[Upgrading, Modifying and Unlocking] Miss Montage:
There simply is no mtk flash tool for linux 32 bit available.
[Upgrading, Modifying and Unlocking] CVAngelo:
Not that I'm aware of.
[Upgrading, Modifying and Unlocking] gerhardmlzr:
SP5 Flash tool 32 bit Linux

what kind of people offer such download links for

SP_Flash_Tool_Linux_32Bit_v5.xxxxxxxx..zip

the result is always the same

flash_tool: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, BuildID[sha1]=1b06b3c40a370cfbb76fe62b5b9b61f6856f8bd2, not stripped

these people waste only time and traffic.

did anyone have the source or a real 32 bit version?
[Upgrading, Modifying and Unlocking] mano2:
Selection problem

Hello everyone!

I'm running Windows 10 - 64-bit on my laptop, installed the drivers successfully, downloaded SP Flash tools 5.1640.00 but when I add the scatter file and have to select the recovery (I would like to flash TWRP on my P9000) I can't select anything because when I click on the box near the recovery, nothing happens.

Is this an incompatibility with Windows 10?

I have an old Windows XP laptop, maybe I'll try it there but any help would be appreciated!

Thank you!
[Upgrading, Modifying and Unlocking] CVAngelo:
Instead of clicking on the box to the leff of the recovery, have you tried clicking to the right of the recovery so you can first select the recovery image you wish to flash?
[Upgrading, Modifying and Unlocking] kyle12345109876:
Hi can anyone please help me??

I have made a mistake and I selected format all + download and now my phone won't boot. I read that it had something to do with the nvram partition being wiped or something and the imei is now gone and stuff but I can't find anything guiding me to fix it. Can anyone help me get my phone working again? Thanks.