Data partition shows 0mb. Help.

Search This thread

tesiz22

Senior Member
May 8, 2021
101
12
I flashed a stock rom (replaced the stock recovery with twrp though), it was stuck at the Alcatel screen, so I went into twrp. I tried reparing, resizing, changing file system of data, system, and cache (which all showed 0 mb), then cache and system got fixed and it said ext4. However, data still shows 0 mb and despite trying all kinds of fixes (like wiping, doing a factory reset, changing file system to ext2, ext3, ext4, fat etc. which all fail) I found online it's still the same. When I tried flashing userdata using SP Flash Tool, it said "not enough space". I found two scatter files (attached to this post) but they seem to differ.

What should I do?
 

Attachments

  • pixi3-10-scatter.txt
    9.1 KB · Views: 14
  • MT8127_Android_scatter.txt
    9.2 KB · Views: 19
Solution
Looks like there's a problem with userdata
You have to format it, and then reflash the stock rom
Open sp flash tool
Load your scatter file
Go to the format section at the top of spflash tool
Select manual format flash
Select emmc user.
As the begin address of userdata is
0xABD80000
Input it in begin address box
As the size of userdata is
0x124D80000
Input this is the format length box
Click start
Flash the stock rom and reboot


I got these values form your scatter file

tesiz22

Senior Member
May 8, 2021
101
12
My guess is /data got encrypted by TWRP, hence it actually can't get mounted. But I may err ...
That makes sense, I'll try adding the tag. Do you have any idea how I can check that or decrypt the partition? It looks like not only data but many other partitions aren't visible as well like /system.
...
It looks like I can't edit tags afterwards.
 

Tab E

Senior Member
Mar 29, 2020
204
1
58
Mumbai India
Looks like there's a problem with userdata
You have to format it, and then reflash the stock rom
Open sp flash tool
Load your scatter file
Go to the format section at the top of spflash tool
Select manual format flash
Select emmc user.
As the begin address of userdata is
0xABD80000
Input it in begin address box
As the size of userdata is
0x124D80000
Input this is the format length box
Click start
Flash the stock rom and reboot


I got these values form your scatter file
 
Solution

tesiz22

Senior Member
May 8, 2021
101
12
Looks like there's a problem with userdata
You have to format it, and then reflash the stock rom
Open sp flash tool
Load your scatter file
Go to the format section at the top of spflash tool
Select manual format flash
Select emmc user.
As the begin address of userdata is
0xABD80000
Input it in begin address box
As the size of userdata is
0x124D80000
Input this is the format length box
Click start
Flash the stock rom and reboot


I got these values form your scatter file
Thank you! Which scatter did you use? I uploaded two different ones for the same device but I used the one named "mt8127_android_scatter.txt" to flash the stock rom.