Hello everyone.
I lost 8GB of internal storage after a bad flash. I tried installing a custom ROM but flashing got stuck for a few hours, so I powered off the phone.
After re-downloading the ROM and reinstalling in TWRP, my phone now only shows 24GB of internal storage, even in TWRP.
Wiping the phone (advanced wipe with everything checked, format Data or Factory Reset) didn't solve the problem. Neither did flashing an original Xiaomi fastboot ROM.
Any ideas what else I could try?
Noter2017 said:
Hello everyone.
I lost 8GB of internal storage after a bad flash. I tried installing a custom ROM but flashing got stuck for a few hours, so I powered off the phone.
After re-downloading the ROM and reinstalling in TWRP, my phone now only shows 24GB of internal storage, even in TWRP.
Wiping the phone (advanced wipe with everything checked, format Data or Factory Reset) didn't solve the problem. Neither did flashing an original Xiaomi fastboot ROM.
Any ideas what else I could try?
Click to expand...
Click to collapse
8 gb is used by system partition.
Nothing to worry
MyNameIsRage said:
8 gb is used by system partition.
Nothing to worry
Click to expand...
Click to collapse
This is what I get in Settings and using DiskInfo
Noter2017 said:
This is what I get in Settings and using DiskInfo
Click to expand...
Click to collapse
Same with me.
In a 32 gb model the 8 gb is used for internal partitioning. 3 gb for system files. 1 gb for cust partition (used by miui only which the dev was able to use for treble support) and the remaining 3 to 4 gb is being used by internal scripting and blob files. (The files used to run android in the first place, such as boot partition and other things)
Thank you.
I flashed Lineage 14.1 and my phone now shows 29 GB of internal storage.
Was trying to install Lineage 14.1 a few moments ago, from my internal storage. Opened TWRP and noticed that the ROM zip wasn't showing up, so when I tried to switch storage, I noticed that the Internal Storage is showing as 0 MB.
Also when I opened the TWRP log (or whatever it's called), it shows something like 'Unable to mount /data'
I've heard this sort of thing happening when one's device is encrypted but mine isn't, so I'm at my wit's end so as to what's happening with my phone.
Any help would be greatly appreciated. Thank you.
Edit 1: Thank you for the replies, guys. I was able to solve the issue by flashing the custom TWRP linked on the ROM thread.
I had this problem recently too.
This is TWRP problem and new ROMs. To solve it I had installed OrangeFox R6-beta.
Unfortunately, I don't know version original TWRP where it fixed.
laneofmagic said:
Was trying to install Lineage 14.1 a few moments ago, from my internal storage. Opened TWRP and noticed that the ROM zip wasn't showing up, so when I tried to switch storage, I noticed that the Internal Storage is showing as 0 MB.
Also when I opened the TWRP log (or whatever it's called), it shows something like 'Unable to mount /data'
I've heard this sort of thing happening when one's device is encrypted but mine isn't, so I'm at my wit's end so as to what's happening with my phone.
Any help would be greatly appreciated. Thank you.
Click to expand...
Click to collapse
It is due to TWRP not handling encrypted storage properly. OrangeFox TWRP (R6 beta) fixes the problem. Get a copy here: https://sourceforge.net/projects/orangefox/files/mido/
laneofmagic said:
Was trying to install Lineage 14.1 a few moments ago, from my internal storage. Opened TWRP and noticed that the ROM zip wasn't showing up, so when I tried to switch storage, I noticed that the Internal Storage is showing as 0 MB.
Also when I opened the TWRP log (or whatever it's called), it shows something like 'Unable to mount /data'
I've heard this sort of thing happening when one's device is encrypted but mine isn't, so I'm at my wit's end so as to what's happening with my phone.
Any help would be greatly appreciated. Thank you.
Click to expand...
Click to collapse
From twrp. Go to wipe. Advance. Then select data and tap "change or repair filesystem" at the bottom of screen. Then tap repair filesystem. After it's done. Format data
tank4k said:
Hi, I am also facing this problem after flashing latest cardinal AOSP. but i am not able to flash orangefox recery as my internal storage shows 0mb in TWRP so cant select any file
Click to expand...
Click to collapse
If you have the necessary usb drivers installed on your PC, you can use fastboot to install the OrangeFox recovery image - extract recovery.img from the OrangeFox zip file, and run these commands
Code:
fastboot flash recovery recovery.img
fastboot boot recovery.img
After that, you can install the full OrangeFox zip installer, using OrangeFox itself.
Fastboot wipe kr do bhai thk ho jyga .. mere sath v 1 ya 2 din phle aysa hua tha jb maine Linega Os 15.1 Install kiya tha tb.
fastboot devices
fastboot -w
Then Reboot recovery.
kRishNa mahLi said:
Fastboot wipe kr do bhai thk ho jyga .. mere sath v 1 ya 2 din phle aysa hua tha jb maine Linega Os 15.1 Install kiya tha tb.
fastboot devices
fastboot -w
Then Reboot recovery.
Click to expand...
Click to collapse
English only or else you may be banned.
DarthJabba9 said:
If you have the necessary usb drivers installed on your PC, you can use fastboot to install the OrangeFox recovery image - extract recovery.img from the OrangeFox zip file, and run these commands
Code:
fastboot flash recovery recovery.img
fastboot boot recovery.img
After that, you can install the full OrangeFox zip installer, using OrangeFox itself.
Click to expand...
Click to collapse
It isn't working for me. When I try this method it says OK but when using boot recovery.img it shutdowns my phone.
Jpz777 said:
It isn't working for me. When I try this method it says OK but when using boot recovery.img it shutdowns my phone.
Click to expand...
Click to collapse
Use a external storage
You copy *.IMG file and you flash IMG with twrp
Envoyé de mon Redmi Note 4 en utilisant Tapatalk
Yup. As others said too, it's a bug of newer treble roms such as Lineage or Pixel Experience. Also the fault of twrp which I'm not sure what causes the issue. Formatting /data/solved it temporarily. Flashing Orange Fox R6 beta solved the issue permanently. Although you will need an external storage with the flashable zip of the recovery on it. Get a 1-2 gb external sr card for dirt cheap, put the recovery on it then flash it via your current twrp. It's your best shot.
tank4k said:
Hi, I am also facing this problem after flashing latest cardinal AOSP. but i am not able to flash orangefox recery as my internal storage shows 0mb in TWRP so cant select any file
Click to expand...
Click to collapse
I think flashify app has the option to flash zip files as well.
greenys' said:
Yup. As others said too, it's a bug of newer treble roms such as Lineage or Pixel Experience. Also the fault of twrp which I'm not sure what causes the issue. Formatting /data/solved it temporarily. Flashing Orange Fox R6 beta solved the issue permanently. Although you will need an external storage with the flashable zip of the recovery on it. Get a 1-2 gb external sr card for dirt cheap, put the recovery on it then flash it via your current twrp. It's your best shot.
Click to expand...
Click to collapse
Or you can flashtool flash recovery recovery.img
Envoyé de mon Redmi Note 4 en utilisant Tapatalk
billouetaudrey said:
Or you can flashtool flash recovery recovery.img
Envoyé de mon Redmi Note 4 en utilisant Tapatalk
Click to expand...
Click to collapse
Op said the pc won't detect the phone but that's already insignificant since op solved the problem.
greenys' said:
Op said the pc won't detect the phone but that's already insignificant since op solved the problem.
Click to expand...
Click to collapse
Oh ok sorry. So yes need external storage (USB otg or SD card) [emoji106]
Envoyé de mon Redmi Note 4 en utilisant Tapatalk
billouetaudrey said:
Oh ok sorry. So yes need external storage (USB otg or SD card) [emoji106]
Envoyé de mon Redmi Note 4 en utilisant Tapatalk
Click to expand...
Click to collapse
Yup. I'm just glad op solved the problem. I tend to flash new os every week so I know it's rather troublesome if something is wrong with your /data/ or internal storage :/
greenys' said:
Yup. I'm just glad op solved the problem. I tend to flash new os every week so I know it's rather troublesome if something is wrong with your /data/ or internal storage :/
Click to expand...
Click to collapse
Yes, I was have the same issue, and it's not funny for everyone like change rom
Envoyé de mon Redmi Note 4 en utilisant Tapatalk
use SD card still cant flash orangefox
greenys' said:
Yup. As others said too, it's a bug of newer treble roms such as Lineage or Pixel Experience. Also the fault of twrp which I'm not sure what causes the issue. Formatting /data/solved it temporarily. Flashing Orange Fox R6 beta solved the issue permanently. Although you will need an external storage with the flashable zip of the recovery on it. Get a 1-2 gb external sr card for dirt cheap, put the recovery on it then flash it via your current twrp. It's your best shot.
Click to expand...
Click to collapse
i bought a SD card
i copy orangefox recovery in it
but even though when i tried to flash it shows failed to mount data
plz help
kanishk2512 said:
i bought a SD card
i copy orangefox recovery in it
but even though when i tried to flash it shows failed to mount data
plz help
Click to expand...
Click to collapse
If you made sure your SD card is legit and bought it from trusted vendor then tested it with various tools so you can tell for sure it's working fine then make sure to save all of your important stuff to your micro SD card. Wipe your system/data/vendor/internal storage partitions in regular Twrp then do a factory reset or format data, they're the same.
Flashing order:
1) ROM
2) Open Gapps Package
3) Magisk (if required)
4) Kernel (if required)
5) Orange Fox
6) Reboot
7) If everything is fine reboot to recovery
Data should be mounted now.
Clean wipe, flash solves 99% of mounting / encryption / storage problems. If not it's likely that your problem is Hardware related.
only Orange Fox is not flashing on redmi note 4
greenys' said:
If you made sure your SD card is legit and bought it from trusted vendor then tested it with various tools so you can tell for sure it's working fine then make sure to save all of your important stuff to your micro SD card. Wipe your system/data/vendor/internal storage partitions in regular Twrp then do a factory reset or format data, they're the same.
Flashing order:
1) ROM
2) Open Gapps Package
3) Magisk (if required)
4) Kernel (if required)
5) Orange Fox
6) Reboot
7) If everything is fine reboot to recovery
Data should be mounted now.
Clean wipe, flash solves 99% of mounting / encryption / storage problems. If not it's likely that your problem is Hardware related.
Click to expand...
Click to collapse
Sir ROM and Gapps are successfully flashed (but showing failed to mount data) but orange is not flashing and also showing failed to mount data and storage
in Advance wipe out -> data -> showing 0 MB
Also tried change file system on ext4 but is also shows failed to mount data
I want to upload some images to show what exactly the error is but i cant find anywhere the option for attachment
and the image insert option is asking for an image link
kanishk2512 said:
Sir ROM and Gapps are successfully flashed (but showing failed to mount data) but orange is not flashing and also showing failed to mount data and storage
in Advance wipe out -> data -> showing 0 MB
Also tried change file system on ext4 but is also shows failed to mount data
I want to upload some images to show what exactly the error is but i cant find anywhere the option for attachment
and the image insert option is asking for an image link
Click to expand...
Click to collapse
WoW... I have no idea what to do further on. Did you try formatting data? Or just did a basic factory wipe?
hello smart guys ?
I have a problem with TWRP
don't mount internal storage.. I tried to format data to EXT4
But it works for only one time
After reboot it returned to not mount the internal storage
Who can help
Xiaomi redmi 5 rosy
Miui pro ROM
(Sorry for my English:silly
Which twrp did you install?
mido4ever2000 said:
hello smart guys
I have a problem with TWRP
don't mount internal storage.. I tried to format data to EXT4
But it works for only one time
After reboot it returned to not mount the internal storage
Who can help
Xiaomi redmi 5 rosy
Miui pro ROM
(Sorry for my English:silly
Click to expand...
Click to collapse
There's a bit of a bug regarding this. MIUI encrypts your internal storage so that it cannot be accessed through other means (e.g. the way you are trying to do)
Why do you want to mount internal storage in twrp? There might be a workaround to your problem?
3.2.1
Because now i can't add any magisk module or xposed or flashing any zip file ?
Have you got now Oreo ROM?
You have old TWRP....
You must have Oreo TWRP!
Try this [emoji3504] https://forum.xda-developers.com/redmi-5/help/twrp-oreo-xiaomi-eu-rom-t3871165
Or this [emoji3504] https://forum.xda-developers.com/redmi-5/development/recovery-twrp-t3877630
I have last miui rom and have the TWRP from First link and no problem [emoji6]
Sent from my Redmi 5
solved
:fingers-crossed:Thank you my friend
it solved
u r the best :good:
hello,
As I face some issues with my rom thought to do a fresh start by resetting the data partition via orange fox recovery which bases on twrp and try to flash another rom. but once I wiped the data partition recovery could not decrypt the internal storage data on the next boot. honestly, this issue happens to me several times, and thus thought to start a thread for some helping hands for this issue. if anybody faces this please let me know the solution. thanks
somehow I got the data partition decrypted by re-flashing the same rom
fayis002 said:
somehow I got the data partition decrypted by re-flashing the same rom
Click to expand...
Click to collapse
You didn't get it decrypted. It's still encrypted but since you flashed the same rom that was there, the encrypted data partition is readable again. If you try to install a different rom you must FORMAT data partition to decrypt it. Wiping is different from formatting.
Sent from my curtana using XDA Labs
Well Me too faced this with "Curtana"
I forced to use SD card to copy the rom to phone and install it.
( I will test today Pixel experience Recovery to make sure )
Recovery tested:
-Pitch black recovery project
-twrp by mauronofrio
You could have sideloaded the ROM from your computer. No need to use separate SD card for ROM installation and it's also faster.
kalehrl said:
You could have sideloaded the ROM from your computer. No need to use separate SD card for ROM installation and it's also faster.
Click to expand...
Click to collapse
my adb sideload is not working. it's goes on then say failed. what to do?
So, I've been using crdroid 7.7 A11 based rom but i don't think it's about the rom anyway, I've tried rr remix a10, evo x unofficial A11 but for some reason whenever i boot to twrp it shows me 0mb internal storage but i can still flash any zip file though sdcard and after flashing it shows my internal storage too and yeah only for that moment. Also my device isn't encrypted. I just wanna solve this problem man. I've tried flashing miui back though fastboot but still it's the same. Any fix ?
Are you using the latest TWRP? It's a strange issue as the 0mb error I think only comes when the recovery is unable to decrypt the data partition.