Phone memory disappeared after installing TWRP & custom ROM - Xiaomi Mi 5 Questions & Answers

Please Help,
I recently rooted my phone and flashed it with TWRP 3.0.0 recovery where I instilled Ressurection Remix Rom
Before flashing ROM, i followed these steps:
1 Unlock the bootloader
2 Flash custom recovery TWRP 3.0.0
3 Select ‘wipe data / format to delete encryption
4 Subsequently Install ZIP with Custom ROM
5 Subsequently Install GAPPS
The installation completed succesfully and after reboot i face following problems:
1. the internal Memory became much less I have 53 GB instead original 64.
That seems really weird to me since custom ROM is about 500MB and GAPPS are only 150 MB.
If I go to the file Manager on the Phone, PC or TWRP recovery I see that the total available space is only 53GB (((
Tried to put ORIGIAL ROM through TWRP recovery - although ROM space stays at 53GB(((
Tried to Flash ORIGINAL ROM through MI-FLASH-MODULE - however I cannot - gives me a fault ...
One more thing i have noticed is when i'm in TWRP recovery and try to install a new zip, I can see all the folders which my phone memory had; however I cannot see those files through any file manager. Why is it visible at that time? - could these files take extra 11GB? how to delete them?
Please HELP it is the first phone I rooted in my life and I really don't know it further

You have to format data in twrp

giardux91 said:
You have to format data in twrp
Click to expand...
Click to collapse
1. Just went to FASTBOOT where I did the following:
fastboot erase misc
fastboot erase recovery
fastboot erase boot
fastboot erase system
fastboot erase cache
fastboot erase userdata
2. Secondly through FASTBOOT I flashed TWRP recovery again
3. Thirdly in TWRP recovery went to WIPE and formated disc, but still my memory is only 53 GB.....(((
Where am I loosing 11 GB or ROM memory?
Please help

dual system partition ??

d.lnk said:
1. Just went to FASTBOOT where I did the following:
fastboot erase misc
fastboot erase recovery
fastboot erase boot
fastboot erase system
fastboot erase cache
fastboot erase userdata
2. Secondly through FASTBOOT I flashed TWRP recovery again
3. Thirdly in TWRP recovery went to WIPE and formated disc, but still my memory is only 53 GB.....(((
Where am I loosing 11 GB or ROM memory?
Please help
Click to expand...
Click to collapse
What 11 GB? On the official global stable I have 57.84 GB in total. You probably never going to have more than 53 GB on a custom rom.

abyssq said:
What 11 GB? On the official global stable I have 57.84 GB in total. You probably never going to have more than 53 GB on a custom rom.
Click to expand...
Click to collapse
Hi all,
since It is the first root - could you explain it to me why do I have 53GB instead 64GB?
Is there any option to have 64GB rom instead 53GB?
I guess 500 MB custom rom is smaller than 1.2GB Xiaomi stock.
thanks

Related

Bootloops with Medroid 1.3 CM9

ok. so i was running medroid 6.1 on my nexus fine, then i went to go update it to medroidmodremix 1.2.1 and i wiped dalvic cache but not user data.. first it would not even turn on, then i booted into recovery and i fully wiped everything cache, dalvic, system data, user data etc.. then i got boot loops on the medroid boot logo. it would restart after 10 mins and boot loop again. i then booted into recovery and deleted everything and wiped dalvic cache and updated to medroid 1.3. and it still is boot looping..
please help
ps: it gets pass the x logo but loops at the medroid logo and reboots.
Normally, it would reboot three times at the X logo after wiping dalvik since it has to move it back to sd-ext, but since it's looping at the medroid logo, something else is amiss.
My first guess would be that you might have to repartition your sdcard. There shouldn't be any problems with your hboot partition scheme as it would have looped at the X logo if that was the problem.
Thanks for the reply.
and im kinda a n00b at this stuff.. How would I partition my sd card. I tried doing it with the recovery in my nexus but it always fails.. im running windows 7.
harjnijh said:
and im kinda a n00b at this stuff.. How would I partition my sd card. I tried doing it with the recovery in my nexus but it always fails.. im running windows 7.
Click to expand...
Click to collapse
Do like this:
1. Download and flash 4ext recovery. It's pretty much the only recovery to actually make good partitions.
2. Boot into the recovery.
3. Mount USB storage and connect your phone to your PC
4. Copy-paste everything from your sdcard to your PC
5. Unmount the USB storage and enter the partition menu and partition to ext2. Choose 512mb for the first partition, 0mb for swap and 0mb for the second partition and leave the rest for fat (or fat 32)
6. Now mount USB storage again and this time copy-paste everything back to your sdcard.
That should do it.
Oh, and download and install this .apk to automatically download 4ext recovery and future versions of it. It's the free and somewhat limited version. There is a paid version in the market for all features.
http://www.4ext.net/get.php?apk
how do i flash 4ext recovery when my nexus doesnt turn on?
how do i flash 4ext recovery my nexus doesnt get past medroid logo.
harjnijh said:
how do i flash 4ext recovery my nexus doesnt get past medroid logo.
Click to expand...
Click to collapse
Ah, worry not! Simply reboot your phone into fastboot mode and plug your phone to your computer. Make sure you have ADB set up correctly and fastboot drivers installed.
Then go to the folder where you have a fastboot.exe and shift-right click and select open command windowd here. Then make sure you have your recovery in that folder and the type:
fastboot flash recovery name-of-recovery.img
fastboot reboot-bootloader
where to download
where can i download the recovery from. 4ext is a .apk. please provide link
harjnijh said:
where can i download the recovery from. 4ext is a .apk. please provide link
Click to expand...
Click to collapse
http://nexusone-medroid-ics.googlecode.com/files/4ext-recovery-RC3.img
thanks man !!!
thanks man you the best!!!!!!!!
it worked!!
harjnijh said:
thanks man you the best!!!!!!!!
it worked!!
Click to expand...
Click to collapse
You're very welcome!

How to Completely Wipe for a Clean Install

I want to wipe as much as possible before clean installing a ROM. I've been using this guide.
Basically what I do is format data in TWRP and then:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
then:
fastboot flash bootloader
fastboot flash radio
fastboot flash recovery
after that:
reboot into TWRP and flash the ROM's zip
Is this a good method of wiping everything before a clean install?
enginuity2 said:
I want to wipe as much as possible before clean installing a ROM. I've been using this guide.
Basically what I do is format data in TWRP and then:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
then:
fastboot flash bootloader
fastboot flash radio
fastboot flash recovery
after that:
reboot into TWRP and flash the ROM's zip
Is this a good method of wiping everything before a clean install?
Click to expand...
Click to collapse
It's much easier to just wipe everything but internal storage in TWRP and then flash zip. No need for fastboot.
RatchetPanda said:
It's much easier to just wipe everything but internal storage in TWRP and then flash zip. No need for fastboot.
Click to expand...
Click to collapse
What would that leave behind? Apps?
enginuity2 said:
What would that leave behind? Apps?
Click to expand...
Click to collapse
It leaves behind absolutely nothing except your internal storage. I will go over the partitions in TWRP.
system - all the system stuff - wipe this
data - all your apps, wipe this
internal storage - things in your SD card ie. your pictures you don't want to wipe this. it has no effect on a ROM.
cache dalvik&ART- you want to wipe this

Fastboot vs TWRP

I've found two ways of wiping and reinstalling my rom. One way uses fastboot and the other TWRP recovery. I'd like to find out how they correlate with each other.
Method 1: Fastboot
Format data
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
Transfer rom zip files and install them
Method 2: TWRP
Simply format data and wipe every checkbox
Transfer rom zip files and install
What are you specifically looking to find? TWRP probably just issues the fastboot commands.
You don't need to flash the bootloader, modem, or recovery unless their are new ones available. Flashing them again is just redundant and a waste of time. Personally I only use fastboot to flash my bootloader,modem, or new version of TWRP. I use TWRP for literally everything else. You can wipe the partitions easier and quicker than using fastboot, or you can format data and completely nuke the phone and disable encryption. I'm not sure why you're asking how they correlate, I'm pretty sure it's common sense. If you erase a partition in fastboot, it's the exact same thing as wiping the partition in TWRP.
Also if you want to reinstall your ROM why are you wiping your whole internal storage? This is pretty much never required unless you want to free up space or decrypt the device. If you just wipe every partition but internal storage, you can keep local files (like Titanium Backup, pictures, music, any files you have on there, etc..). Then when you flash the ROM, it's still a clean flash because your system, data, cache, and boot partitions are already wiped.
The most important thing for me is that with Twrp-recovery, there is no other device needed; PC etc.

TWRP Internal storage unable to Mount (internal 0mb) redmi note 4 (mido)

There is an akward situation, whenever i try to go into TWRP for flash any zip aur img file , TWRP does not show any such file. It is 100% sure that i transfer the flasheable zip file to the mido. But TWRP does not show. It shows 0mb internal storage. And i tried to wipe delvik cashe data system but it gives a message and error in red color that data not mount.
So for this i just formate the phone by twrp... It get easly formate by typing YES and delete all the internal storage, after that i can wipe all the stuff under advanced wipe by selecting all the options system data delvik cashe.... Etc.
After doing this i just power off the phone by twrp, and again boot the phone into twrp recovery by pressing volume up+ power button
And then twrp shows 52 gb aprx internal , so i transfer the custom rom zip file and gapps zip to the phone using computer.
After that i had flash the rom and reboot the phone into system..
The phone get started and work awsome.
Now after an hour latter , i had again reboot the device to recovery ... To flash magisk manager ... Guys i am shoked the internal storage shows 0 mb instead of actual memory.
Again does not shows any zip file, img file.
So i have to follow all the steps that i performed before formate the phone and reboot to recovery then transfer magisk and then flash it.
The problem is why twrp again and again shows 0mb error ...
So i also flash the miui using fastboot method (clear all) clean flash, then flash the twrp after that flash the custom rom.
After flashing rom , Now again reboot to recovery it shows 0 mb internal and data unable to mount.
Twrp fix temporary not permanent.
Please tell me if you find any solution for this for permanant fix twrp 0 mb error....
dheerajsinghal said:
Please tell me if you find any solution for this for permanant fix twrp 0 mb error....
Click to expand...
Click to collapse
Wrong section here.
https://forum.xda-developers.com/redmi-note-4
Hi! actually i had similar issue after restoring all partitions (not just boot data and system, but all the 10 or more partitons) on my redmi 4x. i couldnt mount the data partition it got corrupted somehow. I couldnt format it in twrp too. Reflashing everything in my flash solved the problem, just dont forget to NOT choose the option with RELOCK, or you will lock the bootloader.

Question TWRP and MIUI V13.0.12

I just did a full flash and erase with sweet_global_images_V13.0.12.0.SKFMIXM_20220801.0000.00_12.0_global ROM.
after a quick rom setup with no sim and no wifi, I went back to TWRP and the data partition can't be mounted.
I tried then the usual advanced wipe, setting the partition to ext2 then to ext4 and the rom does not boot and goes back to recovery.
If from recovery I do a wipe, then the rom starts, but after setup, going back to TWRP gives agaion the same problem and the data partition can't be mounted.
Any Idea?
which TWRP version you use?
Zibri said:
....Any Idea?
Click to expand...
Click to collapse
Have you format data partition before starting the new rom?
Format is neccesary to remove the encryption of the formal rom.
Wipe data isn't enough for that.
yes I did... but I think MIUI reformats it.
which twrp are you using?
Maybe the twrp you're using doesn't support encryption yet
it worked with MIUI 12.5.9.. but MIUI 13.0.12 reformats the userdata partition if it is formatted with twrp.
maybe because of dm-verity but I am not sure.
I just did this:
FULL FLASH from EDL or FASTBOOT without relock and including userdata.
Then fastboot boot twrp-3.6.2_11-0-sweet.img
Form TWRP I reformatted userdata as EXT4.
Then booted the system... after booting for the first time the system, userdasta is again encrypted.
Yes, seems u are using twrp which not support decryption yet, change ur twrp/ofox then (there is 1 that already support android 13)

Categories

Resources