sp flash tool scatter file loading error - Android Q&A, Help & Troubleshooting

Hey guys,
sorry to bother you but i'm sort of stuck in a loop which i'm tryin to get out.
short background story: (end question next paragraph)
i own a xiaomi redmi pro, with a "fake" xiaomi stable global rom on it. fake as xiaomi doesn't support this rom.
I wish for several reasons to flash to either a stable/dev china rom, or the .eu stable eu rom.
for this i read a lot on how to flash those on a winsdows pc. but i run ubuntu.
so no problem... both use sp flash tool. so i downloaded the tool opened perfectly and tried to load scatter file from the rom i downloaded.
rom page link: downloaded both the china stable and china dev rom for the redmi pro
question paragraph:
when loading the scatter file i recieve an error message: Error: Initializing scatter file failed. Please check the name of scatter file which you load is legal.
i looked up the error and found that this was caused by the use of not the latest sp flash tool.
But i just downloaded it from the sp flash tool site itself (https://spflashtool.com) as being the latest for linux 64 bit. (SP_Flash_Tool_exe_Linux_v5.1520.00.100)
true there are later versions (SP_Flash_Tool_exe_win_v5.1524 or SPFlash Tool 5.1628, but only for windows)
googled a bit further and founs this site from sp flash tools: http://spflashtools.com/linux/sp-flash-tool-v5-1724-linux via https://androidmtk.com/smart-phone-flash-tool
so i downloaded this version, made the flash_tool an executable with: chmod +x flash_tool and tried to run it with ./flash_tool, but now i get an error message:
error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory, which i indeed couldn't locate.
maybe it is a 64 bit /'32 bit version error? but in the http://spflashtools.com/linux, site i did not find any specifications to 64 bit vs 32 bit, while it was on the previous mentioned site.
since flashing a phone can be a hazardous thing to do i want to be sure i'm using the correct tools.
I hope someone here is willing to help me with getting the sp flash tools correct version up and running so i can indeed load the scatter file.
Kind regard
Matthieu

sorry,
found the error related to the libpng12-0 problem.. added the file to my system, and the latest version run as expected now.
although when i tried to flash i got an error message (and a blue thumb and index pinger because of pressing the two buttons)
ERROR : STATUS_EXT_RAM_EXCEPTION (-1073414139) , MSP ERROE CODE : 0x00.
but i expect this to be an phone (type) related issue, and i will aim my attention therefor back to the xioami forum.
none the less thanks.

Related

MT6572 XTouch PF73 Tab bricked....

I am new here so be patient with me.
I have downloaded 3 different ROMs so far of different sizes..
1 of them completes but it still fails to boot. (The ROM has *.txt scatter file)
With the other 2 it says S_NOT_ENOUGH_STORAGE_SPACE(1011) on both WiseLink Tool and SP Flash Tool. They have the ".sca" extention
I have tried researching on the error and what i have got so far is that either its the wrong ROM or there is a mismatch with the partition sizes.
Please Help.

Cant use SP FlashTools at all

I got the scatter file from CM thread. But I cannot use it in SP cuz "initializing scatter file failed please check the name of scatter p9000 is legal".
Name is MT6755_Android_scatter.txt
SP latest version 5.1520
Dont know whats wrong and what to do. I got this device for $10 on GearBest in a competition. Didnt know flashing MTK devices is so difficult. Will stick to snapdragon from now on.
Stop with Windows
Maybe not the answer you want to hear, but stop using Windows for this. Using SP Flash Tool within Linux is so much easier. No MTK drivers too install. Just run and flash.
A little notice is that my luck began with version 5.1648 of SP Flash. And use this link for your recovery http://forum.xda-developers.com/ele...ndroid-6-0-t3423518/post68357470#post68357470. All others didn't work for me.
Good luck.

Cant use SP FlashTools at all

I got the scatter file from CM thread. But I cannot use it in SP cuz "initializing scatter file failed please check the name of scatter p9000 is legal".
Name is MT6755_Android_scatter.txt
SP latest version 5.1520
Dont know whats wrong and what to do. I got this device for $10 on GearBest in a competition. Didnt know flashing MTK devices is so difficult. Will stick to snapdragon from now on.
lucasho23121 said:
I got the scatter file from CM thread. But I cannot use it in SP cuz "initializing scatter file failed please check the name of scatter p9000 is legal".
Name is MT6755_Android_scatter.txt
SP latest version 5.1520
Dont know whats wrong and what to do. I got this device for $10 on GearBest in a competition. Didnt know flashing MTK devices is so difficult. Will stick to snapdragon from now on.
Click to expand...
Click to collapse
try installing latest sp flash tools, flashing mtk devices is easy just make sure you have latest version, correct scatter file, correct drivers, and correct firmware..
Ruben Craveiro said:
try installing latest sp flash tools, flashing mtk devices is easy just make sure you have latest version, correct scatter file, correct drivers, and correct firmware..
Click to expand...
Click to collapse
Did you flash CM too? I followed the instruction but when I hit the download button, SP does not load at all. Its frustrating cuz I dont see why cant we use adb instead of this MTK-specific SP flash tool
lucasho23121 said:
Did you flash CM too? I followed the instruction but when I hit the download button, SP does not load at all. Its frustrating cuz I dont see why cant we use adb instead of this MTK-specific SP flash tool
Click to expand...
Click to collapse
adb is used for pushing files, adb shell and other stuff, not to flash roms..(except adb sideload) ive flashed Aerom, i havent tried cm13, make sure your not using wrong scatter file, i think p9000 and p9000 lite have different scatters
I have got past the scatter file problem by shortening its name but then when I hit the download button, nothing happened.
I have installed SP driver pack, disable digital signing but when I try to install the VCOM driver, the installer could not install because the program wasn't signed.
lucasho23121 said:
I have got past the scatter file problem by shortening its name but then when I hit the download button, nothing happened.
I have installed SP driver pack, disable digital signing but when I try to install the VCOM driver, the installer could not install because the program wasn't signed.
Click to expand...
Click to collapse
Which version of Windows do you use??
The VCOM-drivers cant be installed in the Windows 10 Anniversary Update...
Easy!
Use some other directory (folder), e.g. C: or C:\Flash\. this will work.

Incorrect Scatter File Format

This is my 3rd post, without any replies for the issue with my Blackview p10000 pro on my previous 2 threads
As such i find it hard that none of you is able to give me a hand... that's what forums are for right?! WRONG! Nobody cares!
And this will be the last thread i open with a disappointment from this community
I'm using a MediaTek SP MultiPort flashtool and, i selected my scatter file 'MT6763_Android_scatter.txt'
Unfortunately upon loading the file i get the error that's an incorrect scatter file format
I'm trying to reset my bootloader to stock firmware
Android 8.1.0

For users with hardbricked/system has destroyed redmi 9c

Well I'll be quick... So do what this video says with the files and you will have your redmi 9c alive again, I tried with hydra tool, mtk bypass and none worked but this video saved so try it.
If it works don't forget to say thanks haha
I also recommend that you don't use any kind of TWRP, they usually cause hardbricks, switch to fast boot and do everything there...
Even if it takes more work temporarily, it will cause you less headache.
It's really easy to root through fastboot and it's much safer, besides not having to format your phone, just patch the boot img through magisk, and use a vbmeta
1 -fastboot flash patched-magisk-boot.img (boot.img here)
2 -fastboot --disable-verification --disable-verification flash vbmeta (vbmeta.img here)
I'm not going to put the files, but if you look, you'll probably find it, and just follow this and it will work
Didn't work for me sadly. I have a redmi 9 activ (cattail), coudn't understand the video and the closed captions are unavailable so I tried following it visually. I downloaded the roms from xiaomi firmware updater website, all 3 available for this device, which are firmware, vendor and official. Tried to load the scatter file and on all 3 of them it keeps returning me the error STATUS_SCATTER_FILE_INVALID (-1073545215), MSP ERROE CODE: 0x00, and also tried using all 4 other flash tool versions provided on that website on the video description all of them failed.
simplydroiding said:
Didn't work for me sadly. I have a redmi 9 activ (cattail), coudn't understand the video and the closed captions are unavailable so I tried following it visually. I downloaded the roms from xiaomi firmware updater website, all 3 available for this device, which are firmware, vendor and official. Tried to load the scatter file and on all 3 of them it keeps returning me the error STATUS_SCATTER_FILE_INVALID (-1073545215), MSP ERROE CODE: 0x00, and also tried using all 4 other flash tool versions provided on that website on the video description all of them failed.
Click to expand...
Click to collapse
Are you sure that you downloaded the fastboot rom for cattail?
Here is the direct download link for the Fastboot rom for cattail - https://bigota.d.miui.com/V12.0.18....TINXM_20220826.0000.00_10.0_in_b1c7409a05.tgz
omg it was the tgz file... a format I've never seen before had no idea you could just decompress that like a .zip or .rar
I kept getting this error status_sec_img_too_large
some sources online said to disable cust
I did, it apparently flashed ok, but it still wont turn on or anything
simplydroiding said:
I kept getting this error status_sec_img_too_large
some sources online said to disable cust
I did, it apparently flashed ok, but it still wont turn on or anything
Click to expand...
Click to collapse
Can you go to fastboot mode?
Nope. No fastboot, no recovery, nothing. Only being recognized by the brom bypass and sp flash tools. Another topic on hovatek suggesting try every recovery image possible. Well, here I go try, then. Everyone available on xiaomi firmware updater website.
simplydroiding said:
Nope. No fastboot, no recovery, nothing. Only being recognized by the brom bypass and sp flash tools. Another topic on hovatek suggesting try every recovery image possible. Well, here I go try, then. Everyone available on xiaomi firmware updater website.
Click to expand...
Click to collapse
All the best
Imma sharing my experience, I recently got my cattail bricked, it came to a point where I had no choice but to believe that the device is merely dead (emmc is corrupted).
After a few days, I ended up at this post - https://www.hovatek.com/blog/my-experience-unbricking-a-dead-boot-lg-stylo-6/, and tried the command given by the OP, and my device BOOTED!
(You can get the preloader for your device by downloading the tgz file and then extracting it; inside the images/ folder)

Categories

Resources