yashsingh1/xdaforums huggingface dataset:
[Upgrading, Modifying and Unlocking] DevilMind007:
I have Xiaomi Redmi Note 4 MTK 64GB ROM with Global MIUI 8.0.5.0

my phone has China Mobile 4G LTE logo at its back cover.

i want to Upgrade to STOCK MIUI 9.5 Global ROM with Fastboot on SP Flashtool...

But I always have the same error, and I never find anything about these on the Internet. When I try to do a Firmware Upgrade, the red bar stop at 100%, it's not moving for 3 minutes approximatly, and it say everytime

protect1 : failed to get PMT info

So I tried to do it with Download Only, and I got an another error, but always the same :

BROM ERROR : STATUS_DEVICE_CTRL_EXCEPTION (0xC0050001)

I don't know what to do... If someone have a solution... Thank you !
[Upgrading, Modifying and Unlocking] ranchu-panchu:
Hello,

I have a mismatch in userdata between SCATTER.txt file (MT6737m) and df result, does it make sense ??

df userdata shows 5.1G, while txt only 1.6M:

shell@H5:/ # df

Filesystem Size Used Free Blksize

/dev 466.0M 100.0K 465.9M 4096

/sys/fs/cgroup 466.0M 12.0K 466.0M 4096

/mnt 466.0M 0.0K 466.0M 4096

/system 1.4G 1.2G 246.8M 4096

/cache 387.4M 412.0K 387.0M 4096

/protect_f 5.8M 60.0K 5.8M 4096

/protect_s 5.8M 56.0K 5.8M 4096

/nvdata 27.5M 2.3M 25.2M 4096

/storage 466.0M 0.0K 466.0M 4096

/data 5.1G 2.0G 3.1G 4096

/sbin 466.0M 16.0K 466.0M 4096

/sbin/.core/mirror/system 1.4G 1.2G 246.8M 4096

/sbin/.core/img 59.0M 60.0K 58.9M 4096

/mnt/runtime/default/emulated 5.1G 2.0G 3.1G 4096

/storage/emulated 5.1G 2.0G 3.1G 4096

/mnt/runtime/read/emulated 5.1G 2.0G 3.1G 4096

/mnt/runtime/write/emulated 5.1G 2.0G 3.1G 4096

/sbin/.core/db-0/magisk.db 5.1G 2.0G 3.1G 4096

shell@H5:/ #

- partition_index: SYS23

partition_name: userdata

file_name: userdata.img

is_download: true

type: EXT4_IMG

linear_start_addr: 0x84000000

physical_start_addr: 0x84000000

partition_size: 0x60000000

region: EMMC_USER

storage: HW_STORAGE_EMMC

boundary_check: true

is_reserved: false

operation_type: UPDATE

empty_boot_needed: false

reserve: 0x00

Thank you for any idea,

ranran
[Upgrading, Modifying and Unlocking] CVAngelo:
What version of SPFT are you using? Try a newer version. I've had this problem many times with older versions of SPFT and it was solved with latest version.

Also try switching to different USB port.

Finally, try to flash without battery.
[Upgrading, Modifying and Unlocking] ranchu-panchu:
Hello,

I wanted to ask if anyone if familiar in case where it is problematic to restore the userdata with sp flash tool ?

I backed and restore userdata, but it then fails to boot ? With another different device it worked.

How can it be ? it's a byte-byte restore and backup, so how can it be that it fails ?

Thanks,
[Upgrading, Modifying and Unlocking] bovirus:
[MENTION=7865113]ranchu-panchu[/MENTION]

Please don't QUOTE an entire post just for a request.

Please post ONLY the request

Please edit your previous post and delete ALL QUOTED text. Thanks.

Flashtool is not a backup system.

It's a tool for flash a ROM.

Depend how to you make a backup of USERDATA partition.

Any request that is not about Flashtool is OT here.
[Upgrading, Modifying and Unlocking] ranchu-panchu:
Sorry, I've edited my message.

SP flash has readback tab.

Can't it be used to backup data ?

I need a way to backup data that I can later flash with sp flash.

If sp flash should not be used for back (as I described above) - is there any other way that I can backup partitions, which can be later used to flash back to device with SP flash ?

Thank you!

ranran
[Upgrading, Modifying and Unlocking] alvinprimo:
My phone got bootloop, I try to flash from sp flash tool. My device reconigse by device manager as mediatek preloader. Then flash with sp flash tool, the first red colour flash successfuly 100% after that stuck 0%. Then come pop up say brom error 4008.

I try different usb port, still same error. Any idea?
[Upgrading, Modifying and Unlocking] ranchu-panchu:
Hello,

Can someone please advise how to backup partitions that can be used for flashing with sp flash tool ?

I tried droid, but it is not supported with my device.

I also tried to backup userdata from sp flash (using readback), but it didn't work, and some said that sp flash should not be used for backup.

So, how can we backup a current state of partitions (including userdata), and use the image later with sp flash tool ?

Thank you,

ranran
[Upgrading, Modifying and Unlocking] bovirus:
[MENTION=7865113]ranchu-panchu[/MENTION]

Please read carefully first post.

Here you can ask here question ONLY about Flashtool. Nothing else. Thanks.
[Upgrading, Modifying and Unlocking] ranchu-panchu:
Thank you.

My question is only about sp flash tool,

Sp flash tool has readback capability, and I asked about readback capability (which is part of sp flash tool).

Anyway, if that is against the rules - then nevermind , please ignore.
[Upgrading, Modifying and Unlocking] bovirus:
[MENTION=7865113]ranchu-panchu[/MENTION]

In falshtool you have two option.

Definet step by step2 which start/end address size you need.

If you want a complete unique backup (single image fiel) you need scatter file (original by ROM).

If you want to divide a long backup in partition you need other tool (Like ROM Backup Splitter).
[Upgrading, Modifying and Unlocking] CVAngelo:
Who said SPFT should not be used for backup??? Yes, you CAN and SHOULD use the Readback tab to backup your entire ROM or even the partitions!

But obviously you will need the scatter.txt file to see the starting hex address and the hex length of each partition! How else will you know what the inputs should be?

If you backup the entire ROM then obviously the starting address will be 0x0. For the length, you should use the starting address of the Cache partition. This will EXCLUDE the cache and user_data partitions. You will have the pure ROM.

Some other things to note:

1. If you readback a partition, please note that it will also include ALL the empty space in the partition, not just the space occupied by data in the partition.

2. If you readback the entire ROM as a single file, called a ROM dump, you will need another tool, such as MTK Droid Tools (MTK devices only) to break it down into the separate partitions. But you can flash the ROM dump file directly to the device using the Write Memory tab (you will only need the preloader partition to flash via the Write Memory tab).

3. You should never save your data partition with a ROM dump (that's why I said to use the starting address of the Cache partition as the length of the readback). The reason is simple. If you share your ROM dump with someone else, they will then have access to ALL your personal data that you saved in your apps!

4. Save your User_data partition SEPARATELY from your ROM dump. Remember that your data is always changing, but your ROM never changes (so you only need ONE backup of your ROM that you should keep in a safe place).

5. ALWAYS make that first readback of your ROM (the ROM dump) the BEFORE you flash anything to your device. Most people fail to backup their ROM before they start flashing away. Then they brick their device and have no backup!

Hope this helps you get more use out of SPFT.
[Upgrading, Modifying and Unlocking] ranchu-panchu:
Thanks a lot for the detailed answer,

Still I have some issues:

1. I tried in one of my devices to backup userdata partition, and it seems to fail. I suspect that sp flash tool is limited to 4G per partition (though I didn't find any documentation on this), Do you think there is such limitation ?

Why I suspect on this ? becuase I see in /proc/paritition that userdata is 5.5G, while in scatter text file it is only 1.6G (0x60000000).

If that's correct - Is there a way to make spflash tool be able to readback more than 4G ?

I see this problem in microwear device MW-H5.

The interesting thing is that the manufacture firmware file for userdata is very small (much less than 1G)m how can that be ?

2. I would have backup and restored the complete ROM if that was possible completely with sp flash tool, but as I understand from your answer droid is required for restore, and seems that droid does not support android above 4.4, so that make me unable to backup ROM.

by the way, for my purpose, I don't mind to back my complete ROM including userdata ( I understand the problematic private stuff in userdata ), but since I can't restore the ROM with sp flash or with droid, than that won't help anyway.

Thank you very much,

ranran
[Upgrading, Modifying and Unlocking] dekannomad:
I need help with my mtk6737m phone which i bricked in a really dumb way

I need help flashing it with SP Flash Tool which gives an error that says:

S_FT_ENABLE_DRAM_FAIL (0xFC0)

Here is how i bricked it.

Today i decided that i want to flash a custom recovery on my phone, so i did and it didnt work.

For some reason when i tried to boot to the custom recovery it didnt work, it went to the stock one

For some reason i got stuck in a boot animation too...

So then decided that it was a good idea to flash to complete stock rom back to my phone,

but chose the format all + download option, so that the changes the custom recovery made

were deleted. Well, so i thought...

Is there any way to fix my bricked phone? Its the only one I have :crying::crying::crying:
[Upgrading, Modifying and Unlocking] bovirus:
[MENTION=9112905]dekannomad[/MENTION]

I believe that you should read carefully first post BEFORE to do anything.

In first post is explained clearly "never use FLASH ALL + DOWNLOAD". Use "FIRMWARE UPGARDE" mode.

Now you destroyed the contents of your phone and you lose the IMEI.

How to unbrick phone and recovery IMEI is not scope of this thread.

Please search on internet how to recovery the IMEI.

With Flashtool you can just flash a ROM that is specific for your hardware.
[Upgrading, Modifying and Unlocking] dekannomad:
Thing is, i already flashed several phones but not with this program, so i thought it would be similar and now i ended up destroying my phone

---------- Post added at 07:38 PM ---------- Previous post was at 07:33 PM ----------

Is there any threads were i can get help to bring back my phone to life?
[Upgrading, Modifying and Unlocking] Dvalin21:
No matter what I do I can't flash any mtk phones. When I connect the phone and yes its turned off and battery out. It will pick the device as it should but then disconnect
[Upgrading, Modifying and Unlocking] umang_ak:
HELP

Sir,

can i use this method for mtk 6589??

if yes then can u please post a link to download the same ??

also i have got a lenovo p780 in which the battery cannot be removed so owing to that cna i use sp flash tool as per ur post??
[Upgrading, Modifying and Unlocking] matheszabi:
set serial number?

[ro.boot.serialno] and [ro.serialno] lost after Format.

I would like to set it to the original one.

How to do it?

Official ? rom: W8s.JB2.FHD.EN.COM.16P256_MT6589TV1.0.3_20130815 for THL W8S phone
[Upgrading, Modifying and Unlocking] amirfida:
what does the format option do in SP Flash Tool?
[Upgrading, Modifying and Unlocking] matheszabi:
It will format NVRAM.

I lost: serial number, mac address, imei1, imei2. Searching methods how to put back, like crazzy.

It seems from other posts, when you flash a new rom you can loose the Serial number. And if yes, than unpacking a file and setting a serial number, repacking should be the solution for me. I have no idea where to search. Boot, recovery? there are many partitions, where I have no idea can't unpack img files even with unyaff

---------- Post added at 03:27 PM ---------- Previous post was at 03:10 PM ----------

That is meta mode.

For me (THL W8S) it was working, but not how it was described!!!

- pull out usb cable from phone

- start the Flash Tool

- pull out battery from phone, wait 5 sec

- press Power + Vol up, or just vol up? - forgot which one now

- insert usb cable to phone and PC

- now I was expecting to see some communication between phone and SP tool, since previously I have checked: without SP Tool started at Device manager I saw a new connection for a few second. At this point I couldn't see anything doing the software. Idid a few times but nothing.

As I remember I have tried with MKT Droid tools, but nothing.

I have disconnected the phone, insert battery and power on: what a surprise!

The phone started with some Asian letters, like a recovery. My first impression it was I have changed the recovery to some Chinese. I can't read Chinese, Taiwanese, Japanese and whatever letters are they, I couldn't enter in Google translate either, how to copy? make a phono?:)

Pressing randomly some menus I saw my accelerometer values too. It was some very low level engineering mode, but since I don't understand, cant translate... it is useless for me. Pulled out the battery again - because I didn't find the reboot / shut down menu.

After re inserting the battery the official rom was there :)
[Upgrading, Modifying and Unlocking] amirfida:
hey will that option will help me to recover my IMEI ? because at the moment when i try to recover it via SN Station it gives me METAAPP_readIMEIfromNVRAM_Ex3 fail

can i do that from SP Flash tool and then recover my IMEI and at the moment my baseband also says unavailable

Thank you
[Upgrading, Modifying and Unlocking] matheszabi:
Here is a video http://www.youtube.com/watch?v=8ZEVDwcCVzY which will make the phone to able to make calls (set IMEI ) but you will loose those settings after Factory reset.

Dial *#*#3646633#*#* and need to set the IMMEI at a menu point with a command

https://groups.google.com/forum/#!topic/android-kernel/tTKskpSfLgA

"In the android devices I have worked on, the serial number is

programmed into flash. The bootloader passes it to the kernel via the

kernel command line and this is then passed to the USB driver. See

arch/arm/mach-msm/devices-htc.c in the msm kernel for an example."

So somewhere in bootloader should be the permanent solution
[Upgrading, Modifying and Unlocking] amirfida:
i have tried that solution but all it says is AT command failed to send :(
[Upgrading, Modifying and Unlocking] LgGsm45:
Tool Limitations?

I was wondering what are the requirements or limitations to this tool? Can the tool be used with any MTK chipset and/or any Android OS? Thanks in advance
[Upgrading, Modifying and Unlocking] amirfida:
yes it can be used with any MTK Device but be aware that you need correct firmware for your device because if you flash wrong Pre-Loader then your device is dead it won't turn on it won't charge it won't detect on Computer nothing, so be careful
[Upgrading, Modifying and Unlocking] LgGsm45:
Awesome! I will be careful when I look for the ROMs...thank you very much for your help
[Upgrading, Modifying and Unlocking] amirfida:
you are welcome :)
[Upgrading, Modifying and Unlocking] xPOGOx:
hello, i got some problems with my phone (freezes and restarts, sometime doesnt even want to turn on), so i tought that i need to re-flash soft so i'v download spflash and installed drivers but problem is that my PC doesnt detect my phone when there is no battery inside. When i connect phone to PC by USB cable nothing happens - device manager doesnt show any new device connected, also flash tool cannot start "Download" operation.

My phone is chinese TSD A9300 based on MTK6575, please help me guys
[Upgrading, Modifying and Unlocking] amirfida:
first of all i would like to say double check the firmware that you have downloaded that it's for your phone only. Then turn off device start SP Flash tool load in scatter file and then press download when at the bottom it says searching for USB then connect your phone via USB Port to your PC, but remember first to turn off the phone no need to take out battery.
[Upgrading, Modifying and Unlocking] xPOGOx:
i cant even get to step where i should chose firmware, my windows system doesnt see any new device when i connect phone, and he should see something
[Upgrading, Modifying and Unlocking] amirfida:
hhmm well if you want i can help you via teamviewer
[Upgrading, Modifying and Unlocking] xPOGOx:
well, that would be awesome
[Upgrading, Modifying and Unlocking] iretex:
Good day sir!

Please I'll like to request your kind assistance in upgrading my stock firmware from 2.3.5 to either ICS or JB level. If I'll need to create a custom rom, is it possible to include API upgrade?

Thanks for your usual cooperation.
[Upgrading, Modifying and Unlocking] amirfida:
what do you mean by API upgrade?
[Upgrading, Modifying and Unlocking] iretex:
I've ported some custom rom prior to this time but I discovered I can't still install apps supported by Android 4.0+ device. They're only themed ics rom.
[Upgrading, Modifying and Unlocking] Chairmanempire:
I am trying to flash a stock rom of tecno cx, selected flash all + download, and after successful flash, i got dis ERROR: STATUS_DEVICE_CTRL_EXCEPTION (0xC0050001) please help me wat could be wrong
[Upgrading, Modifying and Unlocking] bovirus:
[MENTION=9126051]Chairmanempire[/MENTION]

Please read carefully first posts.

If you need an help you should post all details

- Device brand

- Device name

- ROM version and download link

- Flashtool version

- Mediatek USB driver version

Thanks.
[Upgrading, Modifying and Unlocking] Arnav9:
Can anyone help me??

i am not getting purple progress bar after red bar (Download DA 100%)

What to do?

Thanks..
[Upgrading, Modifying and Unlocking] CVAngelo:
This question has been discussed before. There are several possibilities which include: missing drivers; need to change USB port or cable; wrong ROM; your phone is bricked; use newer version of SPFT. Etc.
[Upgrading, Modifying and Unlocking] southpaw_scoundrel:
Problems With My Flash

[IMG="screen problem"]https://imgur.com/a/juCddeO[/IMG]

Anyway to fix this problem I am having with my phone. I'm not sure what the problem is. I tried flashing my phone with a stock rom because I was having bootloop issues now I have this problem where there is a yellow line running through the center when I power it on. I don't think the phone is completely dead because I could hear the startup sound. The phone is a Blu Studio J1 . If I could get some info as to what the problem is it would be appreciated.
[Upgrading, Modifying and Unlocking] CVAngelo:
Sounds like you flashed the wrong version of the ROM. For example, if the ROM in the phone was updated to KitKat but you're trying to flash Jellybean, this kind of issue can arise. Also, when you flash BLU devices, you need to use the Firmware Upgrade option in SPFT.
[Upgrading, Modifying and Unlocking] samaresh121:
please help me..

I was using a custom rom on my lenovo vibe k4 note [VoLTE] MIUI Pro 9.2.2.0 Extreme Edition By Rahul Baidya (MMR)[21.04.2018] but by mistake i installed a custom kernel [KERNEL]ZeroAddition Customised Kernel For Lenovo Vibe K4 Note[14/10/2017],so my device got bricked,not going into twrp recovery,not switchning on,stucking at boot loader.

I want to install stock rom on it again using sp flash tool,it will work or not,its a little bit confusion.Which mode should I go{download only,firmware upgrade,formate all+download.I am afraid my phone didn"t become dead.Please help me.Is any other option to get it on please suggest me.

thankyou
[Upgrading, Modifying and Unlocking] bovirus:
[MENTION=9190478]samaresh121[/MENTION]

Please read first posts. Your request is OT (Off Topics) here.

Please post the request in the thread of your device.
[Upgrading, Modifying and Unlocking] selberherr:
I am trying to flash with "SP_Flash_Tool_v5.1744_Win" a

"Unihertz Jelly Pro" which has an "MT6737M".

https://xdaforums.com/general/help/jelly-unihertz-smallest-4g-phone-t3662729

The port is properly recognized, however, the download stops with the red bar at 100%,

and then I receive the error message:

"ERROR: S_FT_ENABLE_DRAM_FAIL (4032)"

Any hint is highly appreciated.
[Upgrading, Modifying and Unlocking] CVAngelo:
Any chance you could read the earlier posts where your question has been asked and answered several times. For example, check just 5 to 6 posts earlier. Is that asking too much?
[Upgrading, Modifying and Unlocking] Sardaar ji:
When I click on download a message appears on the screen of computer that "please check at least one image check box to be checked before download" how I can solve this problem.
[Upgrading, Modifying and Unlocking] CVAngelo:
How can you solve this problem? The message told you what to do. You have to check at least one of the images! What are you trying to flash? Nothing?
[Upgrading, Modifying and Unlocking] ls wolf:
help whith STATUS_DEVICE_CTRL_EXCEPTION (0xC0050001)

Hi all!!

I'm trying to unbrick a le x626 (mt6797) but every time after the download of the DA it gives me this error:

STATUS_DEVICE_CTRL_EXCEPTION (0xC0050001)

I did try swithing the preloader drivers, up to 6 times now, to no solution.

I can't remove the batery and it is on the red light state.

Does anyone have an idea on how to fix this?

Before i forget i'm using windows 10 x64.
[Upgrading, Modifying and Unlocking] smart123123:
The sp flash tool version you are using is not compatible with your phone.... this error happened with me also... the sp flash tool you should use must be that one which packed in the flash file zip file... press THANKS
[Upgrading, Modifying and Unlocking] bovirus:
[MENTION=7392736]firmanation[/MENTION]

Please read first post.

Please use latest version of Flashtool (5.xxx).
[Upgrading, Modifying and Unlocking] Psy0ch:
I am currently trying to flash a custom recovery on a UMIDIGI Plus E but cannot select any checkbox to select any of those options available to me.

In the screenshot you can see what area is being selected if I press the checkbox for recovery. Ticking the "Tick all" Box at the top DOES tick the box itself but doesnt tick the options underneath at all.
[Upgrading, Modifying and Unlocking] narayananav:
I flashed a custom ROM but it got installed in the SD card. I need to install it in the internal memory. how do I do that?
[Upgrading, Modifying and Unlocking] Alex_16s:
Hello,

I have a mirror (Phisung E06) what is was playing with and format everything and can't fix it now I have the firmware but im missing the Preloader.....

I need this: preloader_cm10.bin

can anyone help me?
[Upgrading, Modifying and Unlocking] bovirus:
[MENTION=9499721]Alex_16s[/MENTION]

For all users!!!

Please read carefullty first posts

Please dont't make request HERE if is not related to SP Flashtool

.

Please make request about specific device in their specific thread. NOT HERE.

Thanks.
[Upgrading, Modifying and Unlocking] DragonFire1024:
Exact same issue on my MT8173
[Upgrading, Modifying and Unlocking] bovirus:
[MENTION=484058]psy[/MENTION]Dch [MENTION=8165603]DragonFire1024[/MENTION]

Probably the scatter is not right or the recovery file name mentioned in the scatter is not the same of recovery file.
[Upgrading, Modifying and Unlocking] DragonFire1024:
Will have to look when I get home.
[Upgrading, Modifying and Unlocking] CVAngelo:
An option is only ticked when the file name stated in the option matches the file name in the folder on the hard drive. So, either the scatter.txt is not the correct scatter OR you do not have the scatter.txt in the same folder where the files are located!
[Upgrading, Modifying and Unlocking] yudibanjar:
How to flash MT6771

iam always get error : status_brom_CMD_FAIL (0xc0060005)

i just want flash userdata because my phone paternlock.
[Upgrading, Modifying and Unlocking] bovirus:
[MENTION=877189]yudibanjar[/MENTION]

You can falsh in tehs ame way as other chispet.

Please post only with details.

OS version

Flashtool version

Mediatek USB driver version.

What are the steps that you are doing to flash the ROM.
[Upgrading, Modifying and Unlocking] neeraj797:
While flashing my Micromax canvas 2.2 A114, it gave error of dl pmr err no space. Since then phone is totally dead, not even led is glowing. What should i do now?
[Upgrading, Modifying and Unlocking] natostanco:
Can someone enlighten me why on some PCs sp flash tool gets stuck on 100% DA download?

Does it require a usb 2.0 PCI controller?
[Upgrading, Modifying and Unlocking] saitri:
how to fix not verify after flash MT6739 Oukitel c12 pro

[IMG="oukitel C12 Pro MT6739 Not Verify after flash"]https://cdn.pbrd.co/images/HTEFuAG.jpg[/IMG]