Possible solution for "ERROR: S_NOT_ENOUGH_STORAGE_SPACE (1011)"

Search This thread

Sanjar77

New member
Aug 3, 2010
1
0
ERROR: S_NOT_ENOUGH_STORAGE_SPACE (1011)

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:

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)

UFS:

ERROR: UFS was not detected!

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

Data Bus Test:

[D0]
[D1]
[D2]
[D3]
[D4]
[D5]
[D6]
[D7]
[D8]
[D9]
[D10]
[D11]
[D12]
[D13]
[D14]
[D15]
[D16]
[D17]
[D18]
[D19]
[D20]
[D21]
[D22]
[D23]
[D24]
[D25]
[D26]
[D27]
[D28]
[D29]
[D30]
[D31]
OK !!

Address Bus Test:

[A1]
[A2]
[A3]
[A4]
[A5]
[A6]
[A7]
[A8]
[A9]
[A10]
[A11]
[A12]
[A13]
[A14]
[A15]
[A16]
[A17]
[A18]
[A19]
[A20]
[A21]
[A22]
[A23]
[A24]
[A25]
[A26]
[A27]
[A28]
OK !!

RAM Pattern Test:
Writing ...
0x44332211,
0xA5A5A5A5,
0xA5A5A500,
0xA500A500,
0xA5000000,
0x00000000,
0xFFFF0000,
0xFFFFFFFF,
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
storage: HW_STORAGE_EMMC
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
storage: HW_STORAGE_EMMC
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