No space left on device flashing ROM


ritsman

Members
Feb 1, 2022
4
3
Hi, yesterday I tried to flash xiaomi.eu ROM on my MI9T (davinci); coming from PE12.
When I typed
Code:
adb push ROM /sdcard
adb said that there was no space left on device to push it.
The ROM's size is 2.99GB.
I wrote df -h on TWRP's terminal, and it turned out that rootfs is only 2.6GB.
How can I resize it?
 

xMarvin732

Members
Aug 10, 2019
327
67
backup files,
do "adb push rom.zip /sdcard/rom" without "" while you are in the OS
then flash the zip and format data afterwards
 

xMarvin732

Members
Aug 10, 2019
327
67
no the problem is that the size of the partition where /sdcard is is 2.5GB
thats very odd...
It works for me being in the OS typing in adb push rom.zip sdcard
try without the slash
Otherwise try going back to stock rom with the normal rom and MiFlash tool and then flash TWRP and the xiaomi.eu ROM again
 

Igor Eisberg

Developer
Staff member
Oct 6, 2016
7,475
322
Hi, yesterday I tried to flash xiaomi.eu ROM on my MI9T (davinci); coming from PE12.
When I typed
Code:
adb push ROM /sdcard
adb said that there was no space left on device to push it.
The ROM's size is 2.99GB.
I wrote df -h on TWRP's terminal, and it turned out that rootfs is only 2.6GB.
How can I resize it?
You mix up stuff here that bare no relevance. Size of /sdcard is not related to rootfs size (basically, system partition).
First make sure internal storage is mounted.
Then push the ROM to /sdcard:
Code:
adb push ROM.zip /sdcard/ROM.zip
 

ritsman

Members
Feb 1, 2022
4
3
You mix up stuff here that bare no relevance. Size of /sdcard is not related to rootfs size (basically, system partition).
First make sure internal storage is mounted.
Then push the ROM to /sdcard:
Code:
adb push ROM.zip /sdcard/ROM.zip
still didn't work