Possible solution for "ERROR: S_NOT_ENOUGH_STORAGE_SPACE (1011)"

Search This thread


New member
Aug 3, 2010

If you get an error "ERROR: S_NOT_ENOUGH_STORAGE_SPACE (1011)" while trying to flash the phone, try the following steps:

1) Make a complete (all checkboxes selected) memory test on the "Memory Test" tab, in my case the test produced the following data:

============ Memory Detection Report ===========

Internal RAM:

External RAM:

Type = DRAM

Size = 0x20000000 (512MB / 4096Mb)

NAND Flash:

ERROR: NAND Flash was not detected!


EMMC_PART_BOOT1 Size = 0x0000000000200000 (2MB)
EMMC_PART_BOOT2 Size = 0x0000000000200000 (2MB)
EMMC_PART_RPMB Size = 0x0000000000080000 (0MB)
EMMC_PART_GP1 Size = 0x0000000000000000 (0MB)
EMMC_PART_GP2 Size = 0x0000000000000000 (0MB)
EMMC_PART_GP3 Size = 0x0000000000000000 (0MB)
EMMC_PART_GP4 Size = 0x0000000000000000 (0MB)
EMMC_PART_USER Size = 0x00000000ec000000 (3776MB)


ERROR: UFS was not detected!

============ RAM Test ============

Data Bus Test:

OK !!

Address Bus Test:

OK !!

RAM Pattern Test:
Writing ...
OK !!

Increment / Decrement Test:
Writing ...
OK !!

The line with the maximum address "EMMC_PART_USER Size = 0x00000000ec000000 (3776MB)" is important here, for correct understanding, the leading zeros are deleted by translating to the normal form "0xEC000000", if there are several blocks with start addresses greater than "0xEC000000" in the file "scatter" "SP Flash Tool" produces the message "ERROR: S_NOT_ENOUGH_STORAGE_SPACE (1011)" and does not allow to flash.

2) Open the file "scatter" in a text editor (preferably in Notepad ++) and look for all the blocks "partition_index:" with "linear_start_addr:" more than "0xEC000000" and remove these blocks, except the "partition_name: BMTPOOL" block if it is not deleted it is possible to restore IMEI through the engineering menu. In my case at the end of the "scatter" there were two blocks with addresses greater than "0xEC000000":

- partition_index: SYS21
partition_name: RSV_OTP
file_name: NONE
is_download: false
type: NONE
linear_start_addr: 0xFFFF0200
physical_start_addr: 0xFEFF0200
partition_size: 0x2B00000
region: EMMC_USER
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00

- partition_index: SYS22
partition_name: BMTPOOL
file_name: NONE
is_download: false
type: NONE
linear_start_addr: 0xFFFF00A8
physical_start_addr: 0xFFFF00A8
partition_size: 0x1500000
region: EMMC_USER
boundary_check: false
is_reserved: true
operation_type: RESERVED
reserve: 0x00


3) I only deleted the "partition_name: RSV_OTP" block (although I do not know what it is for), I saved the file, rebooted it in the "SP Flash Tool" and sewed it
(If necessary with the "Format All + Download" option selected). At me all was made, after the firmware at once it was loaded in "Recovery"
Made all the "Wipe" and rebooted, after the load, it rebuilt IMEI through the engineering menu, checked everything seems to work.

Special thanks to sterbin29 for the tip on the problem.
Last edited:
  • Sad
Reactions: WunderWungiel