Question Do I need to format internal storage? - Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40

Hey everyone
I'm currently on Xiaomi eu rom and I have a love hate relationship with it... I wanna try arrow os 11 and flash it via twrp but I don't want to format my internal storage.
Am I able to flash a different rom without wiping internal storage, only data?

You have to clean flash going from any one rom to another.
If you are on xiaomi.eu and install arrow 11, you must clean flash.

Clean flash as in format data (internal storage) or clean flash as in wipe data without internal storage?

Sorry, by clean flash I meant doing a format data including internal storage.
What should I wipe in TWRP?
If you are switching ROMs (changing from one ROM to a completely different one) then you should perform a factory reset. A factory reset wipes data and cache...
twrp.me

every time i dit it on a poco F 3 i bricked it

Related

? Does phone staorage get deleted on full wipe with custom Rom

Having come from a Samsung S2 with the MicroSD card, I am a little concerned that with the HTC One X having internal Phone storage It may get wiped when installing a full wipe custom Rom. The manual says if you factory set it gives you the option of wiping the phone storage, I have no idea if that will happen if you install a custom Rom and perform a full wipe.
Anyone know for a fact please
doing a full wipe b4 flashing a rom will not wipe ur internal sd card.

Unsure how to properly wipe without wiping internal storage

Hello all,
Sorry for this semi-noob question. I have had many android phones and rooted all of them but this is my first Nexus device. I've unlocked my bootloader and have TWRP installed and I'm ready to install a ROM. Unfortunately I am unsure of how I can do a full wipe without wiping my internal storage too.
On every other phone I have had, I would go to advanced wipe and then wipe system, data, cache and dalvik cache but I just did that and it wiped my internal storage :/
I had to flash the stock system image through ADB because ADB sideload wasn't working. Now I'm afraid to wipe system again before trying again because I feel like it will wipe my internal storage again. How can I wipe system properly before installing a new ROM?
Thanks!
Now the interesting question here is: What is internal storage?
You seem to think it is the entire emmc, including your system, cache and data partitions but that is not how that term is used.
As far as I have been able to figure this out "Internal Storage" in Android refers to the entire /data partition which in itself again is divided into a user accessible part where your photos, videos, files are stored ( /data/media and mounted as /sdcard/0 ) and the rest of the /data partition which is used for apps you install and their data. That part is not accessible to the user unless you have root.
Now, for 99% of all wipe operations all you need to do when installing a new rom is to wipe the data partition of all user installed apps and their data, dalvik and cache - also called a 'clean install'.
Any rom installer worth a damn will format /system before installing a new rom, so wiping /system is redundant.
TWRP made this very easy: Enter the Wipe menu and swipe the button. Default is to wipe /data (without wiping /data/media), cache and Dalvik. Flash the rom - done.
berndblb said:
Now the interesting question here is: What is internal storage?
You seem to think it is the entire emmc, including your system, cache and data partitions but that is not how that term is used.
As far as I have been able to figure this out "Internal Storage" in Android refers to the entire /data partition which in itself again is divided into a user accessible part where your photos, videos, files are stored ( /data/media and mounted as /sdcard/0 ) and the rest of the /data partition which is used for apps you install and their data. That part is not accessible to the user unless you have root.
Now, for 99% of all wipe operations all you need to do when installing a new rom is to wipe the data partition of all user installed apps and their data, dalvik and cache - also called a 'clean install'.
Any rom installer worth a damn will format /system before installing a new rom, so wiping /system is redundant.
TWRP made this very easy: Enter the Wipe menu and swipe the button. Default is to wipe /data (without wiping /data/media), cache and Dalvik. Flash the rom - done.
Click to expand...
Click to collapse
"Internal Storage" as I used the term refers to just the user accessible part of the data partition where (as you said) photos, files, etc are stored. On previous versions of TWRP for phones I have had, you could wipe system, date, cache, etc and it would always leave internal storage intact. Ergo, after wiping, you could navigate to your downloads folder and find the ROM you wanted to flash. The issue I had was that I wiped "system" using TWRP and it wiped my "internal storage", meaning my downloads and photos and everything - leaving me with no ROM to flash.
You answered my question perfectly toward the end with this
Any rom installer worth a damn will format /system before installing a new rom, so wiping /system is redundant.
Click to expand...
Click to collapse
I come from a series of phones where this was not standard behavior for ROM installers, so failing to wipe system would lead to a dirty flash and almost assuredly cause issues. Thanks for the input, I will just do a data wipe from now on.
You shouldn't count on roms wiping system automatically.
A well established rom like pure Nexus for instance does not wipe system at flashing, leaving it up to the user to clean or dirty flash.
Always read and follow the installation instructions that come with the rom and you should have little problems. If there aren't any instructions, stay away from the rom is my advice, especially of you are a new user.
As to your question: go to the wipe menu in twrp. Then do an advanced wipe. Check every box except internal storage and wipe. Then proceed to flash your rom.
peltus said:
You shouldn't count on roms wiping system automatically.
A well established rom like pure Nexus for instance does not wipe system at flashing, leaving it up to the user to clean or dirty flash.
Always read and follow the installation instructions that come with the rom and you should have little problems. If there aren't any instructions, stay away from the rom is my advice, especially of you are a new user.
As to your question: go to the wipe menu in twrp. Then do an advanced wipe. Check every box except internal storage and wipe. Then proceed to flash your rom.
Click to expand...
Click to collapse
Thanks, I'm not a new user by any stretch, just new to the Nexus 5x.
As to your question: go to the wipe menu in twrp. Then do an advanced wipe. Check every box except internal storage and wipe. Then proceed to flash your rom.
Click to expand...
Click to collapse
This is exactly what I did when it wiped the ROM file (and all photos/sms backups) from my internal storage. That's how I have always wiped before flashing a new ROM in TWRP and this is the first time it ever wiped my internal storage, hence my question. I think I'll just stick to ROM installers that perform a system wipe. I plan on running the odex stock based ROM I just installed for a while anyway.
The_mamba said:
Thanks, I'm not a new user by any stretch, just new to the Nexus 5x.
This is exactly what I did when it wiped the ROM file (and all photos/sms backups) from my internal storage. That's how I have always wiped before flashing a new ROM in TWRP and this is the first time it ever wiped my internal storage, hence my question. I think I'll just stick to ROM installers that perform a system wipe. I plan on running the odex stock based ROM I just installed for a while anyway.
Click to expand...
Click to collapse
Sorry for assuming you're a newby. Last time i wiped that way in twrp (June 2016) it left my SD card alone. Maybe you checked the wrong box?
peltus said:
Sorry for assuming you're a newby. Last time i wiped that way in twrp (June 2016) it left my SD card alone. Maybe you checked the wrong box?
Click to expand...
Click to collapse
No worries, I appreciate the help either way. I suppose it's possible I checked the wrong box but I am very diligent about that because I have REALLY screwed myself over with that in the past. I accidentally wiped internal storage once or twice on my HTC One and had to RUU back to stock, losing everything including root. Luckily recovery is quicker and easier on the 5x (and the phone is brand new so it had no pictures on it).
I'm afraid to try it again even with a nandroid since the recovery files or stored on internal storage so wiping that would leave me SOL too. Like I said, I'll probably just ride on this ROM until the Nougat or so and then make a full cloud backup before trying a full wipe again.
Wiping system did not erase your files. /system is read only, so you nor your apps can store anything there.
I respectfully disagree with @peltus. In those parts of XDA where I "grew up" a dirty flash is a rom flash without wiping data. And I would be grateful for a link to a rom where the installation script does not involve formatting or wiping /system.
I could be wrong but I believe TWRP's wipe of data is without data/media.
Internal Storage wipes the entire data partition.
One if these days with more time I'll give it a try
Sent from my Nexus 5X using Tapatalk
BONUS: What is a data/media device?
https://twrp.me/faq/datamedia.html
The relevant part:
Since /data/media is part of /data, we pretty much never actually format the data partition. Formatting data, of course, also removes the media folder that contains the internal sdcard. When you choose a factory reset [or wipe data], instead of formatting, we use rm -rf commands to remove all the folders except for the media folder so that we can remove all of your apps and settings while leaving your "sdcard" intact. In TWRP we also have a wipe internal storage option that rm -rf's the media folder and a "Format Data" option that formats to recreate the entire file system in case something goes completely wrong or to remove device encryption.
Click to expand...
Click to collapse
[ ] - added by me.

resize partition?

i apologize if these seems like stupid idea, but I come from having a Samsung S4 (sgh-i337) and would save my data to the SD card and wipe all of the internal memory when clean flashing new roms.
is there a way to do that for the 128gb storage space, to save 10-15gb for backups, roms, etc? assuming in TWRP
I got my 5T on Tuesday and already have installed TWRP and rooted my device
I just didnt want to configure it too much if i have to wipe it all to resize partitions
thanks for the feedback
No, u cannot save space on the internal memory that will not be touched. You do not have to wipe your internal memory though when flashing new ROMs. That is completely separate from the flashing process. When flashing you wipe cache, dalvik, boot, system, and data, not storage or internal memory. Flash the ROM, boot up, and everything on your internal storage will be present. Also, this should go in the questions and answers thread.

Can I wipe Internal Storage on Mi Max 3?

This might be an obvious question.. I just don't want to kill my Mi Max 3.
- on this device, can I safely wipe the Internal Storage to clean it up before flashing a custom ROM?
GEoMaNTiK said:
This might be an obvious question.. I just don't want to kill my Mi Max 3.
- on this device, can I safely wipe the Internal Storage to clean it up before flashing a custom ROM?
Click to expand...
Click to collapse
Yes, just make sure you have the flash files on SD Card or mount USB to PC to import the files in case you do not have an SD Card.
You can also go from rom to rom without wiping internal after wiping everything else except external of course. Its fine to wipe clean just to make sure.
With the exception of Miui EU Rom, which wipes everything when converting partitions EXT4 to F2FS (since its mandatory) before flashing the rom itself and etc.
Wmateria said:
Yes, just make sure you have the flash files on SD Card or mount USB to PC to import the files in case you do not have an SD Card.
You can also go from rom to rom without wiping internal after wiping everything else except external of course. Its fine to wipe clean just to make sure.
With the exception of Miui EU Rom, which wipes everything when converting partitions EXT4 to F2FS (since its mandatory) before flashing the rom itself and etc.
Click to expand...
Click to collapse
Nice one, thank you.
Just wiped internal to clean up from all the custom ROM's I've used and re-installed XtendedROM... working great.

Unable decrypt FBE device

I flash rom EU stable v12.0.3 on my redmi note 9 pro 5g, after time of used, i wiped dalvik, cache, data without sign out of my google account. The system reboot and show a notice that my decive was not certified by play protect.
I flash china rom v12.0.3 by miflash and flash twrp 3.5.2. But it cannot decrypt storage.
I flash china rom and twrp again, the same result. What's happen with my device and what can i do now. Thanks for your help so much.
Did you format data? This is different from wipe data
Format data is the option on the right next to advanced wipe option.
Formatting data removes encryption so backup anything on internal storage first
After formatting data reboot back to recovery
If all else fails flash stock firmware via fastboot and start again
TheFixItMan said:
Did you format data? This is different from wipe data
Format data is the option on the right next to advanced wipe option.
Formatting data removes encryption so backup anything on internal storage first
After formatting data reboot back to recovery
If all else fails flash stock firmware via fastboot and start again
Click to expand...
Click to collapse
After many times format data and try to connect with 3 pcs, i had an eu dev rom on my device. Because stable eu rom still notice about play protect. Hope that next eu stable rom will fix it.
Thanks bro alot!

Categories

Resources