I'm on zenity rr latest build with render kernel eas, I'd like to know how i can change file system to f2fs and what it will erase...And then... Is it worth changing to f2fs? Probably this question has been asked many times, but if i found it i wouldn't have written noob in title
eraser3000 said:
I'm on zenity rr latest build with render kernel eas, I'd like to know how i can change file system to f2fs and what it will erase...And then... Is it worth changing to f2fs? Probably this question has been asked many times, but if i found it i wouldn't have written noob in title
Click to expand...
Click to collapse
f2fs is for good benchmarks in real life ext4 >> f2fs
and when you change the FS the data will be lost .
f2fs makes twrp very slow as well .
I was using f2fs for a month and reverted it back .
Didnt like it
Its very easy brother although formatting data to f2fs will erase everything like your download's/pictures, so the steps.
BACK UP YOUR SD CARD FOLDER.
1 - Reboot to twrp
2 - select wipe and then select advanced wipe/change filesystem.
3 - select data
4 - select change filesystem or format ( forgot which word it actually says )
5 - select f2fs and swipe to confirm flash
6 - reboot and restore data folder
People will say its not worth it but if you write to your data a lot and install apps you notice faster install times over EXT4
daviss101 said:
Its very easy brother although formatting data to f2fs will erase everything like your download's/pictures, so the steps.
BACK UP YOUR SD CARD FOLDER.
1 - Reboot to twrp
2 - select wipe and then select advanced wipe/change filesystem.
3 - select data
4 - select change filesystem or format ( forgot which word it actually says )
5 - select f2fs and swipe to confirm flash
6 - reboot and restore data folder
People will say its not worth it but if you write to your data a lot and install apps you notice faster install times over EXT4
Click to expand...
Click to collapse
Will it wipe even other partitions like /system? do I have to flash again something?
eraser3000 said:
Will it wipe even other partitions like /system? do I have to flash again something?
Click to expand...
Click to collapse
No just data so you won't have to flash ROM again
daviss101 said:
No just data so you won't have to flash ROM again
Click to expand...
Click to collapse
Ok thanks, i thought i had to flash rom again:silly:
daviss101 said:
No just data so you won't have to flash ROM again
Click to expand...
Click to collapse
Does supersu work with f2fs?
Format data in recovery WIPE ALL in youre phone.
Recovery > Wipe > Format Data > Yes.
null0seven said:
Format data in recovery WIPE ALL in youre phone.
Recovery > Wipe > Format Data > Yes.
Click to expand...
Click to collapse
yes but...It will wipe only internal not system partition right?
Mate, format data erase ALL.
You only have a empty TWRP directory in internal memory. It's healty for the phone, but if you like to keep data...
null0seven said:
Mate, format data erase ALL.
You only have a empty TWRP directory in internal memory. It's healty for the phone, but if you like to keep data...
Click to expand...
Click to collapse
Lol, now i only became more confused. If i format data all my internal storage will be wiped, right? But my other partitions will be kept? such as system? after formatting and clicking on reboot system it will boot or stay in boot loop?
eraser3000 said:
Lol, now i only became more confused. If i format data all my internal storage will be wiped, right? But my other partitions will be kept? such as system? after formatting and clicking on reboot system it will boot or stay in boot loop?
Click to expand...
Click to collapse
There's no major difference you will see in changing the filesystem to F2FS. I am using F2FS on Data Partition on Sultan CM & there is no major difference in real life.
qasimtb said:
There's no major difference you will see in changing the filesystem to F2FS. I am using F2FS on Data Partition on Sultan CM & there is no major difference in real life.
Click to expand...
Click to collapse
I want to give it a try, if I don't see any noticeable difference I could come back to ext4
eraser3000 said:
yes but...It will wipe only internal not system partition right?
Click to expand...
Click to collapse
There are a few partitions on your phone, just like a hard drive. Think of your /system partition as your C: drive. Your /data partition would then be D: Your apps, the data for the apps, your dalvik/art cache, and your "Internal storage" are all on /data.
Changing your file system is literally formatting the drive, which initializes a new file system. For Windows, it's NTFS, for Linux it's normally ext4. You are basically going to format D:
Got it? Your Rom is on C:, data and apps on D:
Sent from my ONEPLUS A3000 using Tapatalk
About F2FS some users sad that it's better on gaming. And benchmarks (this it's useless).
Other than that recovery open slowly comparing with ext4.
Le
You will see that youre internal memory it's smaller on F2FS.
uudruid74 said:
There are a few partitions on your phone, just like a hard drive. Think of your /system partition as your C: drive. Your /data partition would then be D: Your apps, the data for the apps, your dalvik/art cache, and your "Internal storage" are all on /data.
Changing your file system is literally formatting the drive, which initializes a new file system. For Windows, it's NTFS, for Linux it's normally ext4. You are basically going to format D:
Got it? Your Rom is on C:, data and apps on D:
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
Ok, now things are clear!
Related
From my understanding formatting the /system partition through CWM will remove the android OS completely from your device and you would have to flash a new one to replace it. Found the following information on the below website:
http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/
/system
This partition basically contains the entire operating system, other than the kernel and the ramdisk. This includes the Android user interface as well as all the system applications that come pre-installed on the device. Wiping this partition will remove Android from the device without rendering it unbootable, and you will still be able to put the phone into recovery or bootloader mode to install a new ROM.
My question is, if I format the /system partition, does it remove all my currently saved pictures and videos on my internal memory? When I install a new ROM I typically wipe data /factory reset, then perform TDJs super wipe before installing the new ROM.
However, the instructions for installing the newest CM10 ROM also says to wipe /system partition. I know this will remove the OS, but will this also remove my pics and videos or should I back them up first before performing this step? Thanks.
Chochiwpg said:
From my understanding formatting the /system partition through CWM will remove the android OS completely from your device and you would have to flash a new one to replace it. Found the following information on the below website:
http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/
/system
This partition basically contains the entire operating system, other than the kernel and the ramdisk. This includes the Android user interface as well as all the system applications that come pre-installed on the device. Wiping this partition will remove Android from the device without rendering it unbootable, and you will still be able to put the phone into recovery or bootloader mode to install a new ROM.
My question is, if I format the /system partition, does it remove all my currently saved pictures and videos on my internal memory? When I install a new ROM I typically wipe data /factory reset, then perform TDJs super wipe before installing the new ROM.
However, the instructions for installing the newest CM10 ROM also says to wipe /system partition. I know this will remove the OS, but will this also remove my pics and videos or should I back them up first before performing this step? Thanks.
Click to expand...
Click to collapse
Now i could be wrong as i am no Dev by any means but i do not think it will wipe your emmc as well. Reason i think it will be fine if you wipe /system is if you go in with root explorer and go to your /system folder your emmc is not located there so therefore if you were to wipe your /system patition it sould leave the emmc partition in tact.
But as always i would backup your emmc to your pc and give it a try. Hope this helps :good:
sinfulgray said:
Now i could be wrong as i am no Dev by any means but i do not think it will wipe your emmc as well. Reason i think it will be fine if you wipe /system is if you go in with root explorer and go to your /system folder your emmc is not located there so therefore if you were to wipe your /system patition it sould leave the emmc partition in tact.
But as always i would backup your emmc to your pc and give it a try. Hope this helps :good:
Click to expand...
Click to collapse
I was thinking the same thing as well but just had to ask because I have never processed the format /system action before. I am currently running a TW ROM ATM and looking through ES File Explorer my sdcard (which is the same as emmc on AOSP ROMs) isn't located located in the /system folder either.
Thanks for your reply, I tried to give you a thanks but I have reached my limit today
sinfulgray said:
Now i could be wrong as i am no Dev by any means but i do not think it will wipe your emmc as well. Reason i think it will be fine if you wipe /system is if you go in with root explorer and go to your /system folder your emmc is not located there so therefore if you were to wipe your /system patition it sould leave the emmc partition in tact.
But as always i would backup your emmc to your pc and give it a try. Hope this helps :good:
Click to expand...
Click to collapse
I'm no Dev either, but your right. Formatting system will not touch your emmc or sd cards. If you format system when flashing a new nightly (which I do every 3rd flash), you won't lose any user data at all. Only ROM and system apps, this is why you need to reflash Gapps as well if you format system.
When you use TDJ's wipe script, it formats everything (including system) except emmc and external sd cards.
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
RikkKeith said:
I'm no Dev either, but your right. Formatting system will not touch your emmc or sd cards. If you format system when flashing a new nightly (which I do every 3rd flash), you won't lose any user data at all. Only ROM and system apps, this is why you need to reflash Gapps as well if you format system.
When you use TDJ's wipe script, it formats everything (including system) except emmc and external sd cards.
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
Click to expand...
Click to collapse
Thanks so much, I run TDJ's wipe script with each install of a new ROM and completely didn't realize that is also wipes the /system partition. I just re-read his Superwipe thread and right in the OP it says
"This exceeds anything that CWM is capable of from the menu options. This will format and erase EVERYTHING on your /system, /data, /cache partions with EXT4 file system. It WILL NOT wipe SD CARD or EMMC... After it is complete with format and e****, it will align all disks partitions properly."
I was up extra early this morning, forgive me, I need to learn how to read better as well :laugh:
Thanks again.
Remember guys, wiping doesn't wipe everything. However, not wiping everything can bring its own issues.
Sorry for bumping up an old thread but it was very relevant to this topic. If I wipe the system before flashing a new ROM will my apps remain intact with their data? I know system apps will be gone but they will come back anyway so it doesn't matter.
Chochiwpg said:
From my understanding formatting the /system partition through CWM will remove the android OS completely from your device and you would have to flash a new one to replace it. Found the following information on the below website:
http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/
/system
This partition basically contains the entire operating system, other than the kernel and the ramdisk. This includes the Android user interface as well as all the system applications that come pre-installed on the device. Wiping this partition will remove Android from the device without rendering it unbootable, and you will still be able to put the phone into recovery or bootloader mode to install a new ROM.
My question is, if I format the /system partition, does it remove all my currently saved pictures and videos on my internal memory? When I install a new ROM I typically wipe data /factory reset, then perform TDJs super wipe before installing the new ROM.
However, the instructions for installing the newest CM10 ROM also says to wipe /system partition. I know this will remove the OS, but will this also remove my pics and videos or should I back them up first before performing this step? Thanks.
Click to expand...
Click to collapse
No, I flash all the time and always format system, you will not lose your internal or SD memory
Inagalaxyfaraway said:
Sorry for bumping up an old thread but it was very relevant to this topic. If I wipe the system before flashing a new ROM will my apps remain intact with their data? I know system apps will be gone but they will come back anyway so it doesn't matter.
Click to expand...
Click to collapse
Yes, they will stay intact with a /system wipe. However, with a factory reset or /data wipe, your apps will be gone.
Sent from my Nexus 7 using xda app-developers app
Sorry to bump old thread. I just deleted system, data, cache etc everything. Now when i attempt to
Reboot it warns that no OS installed. I m using TWRP. is it safe to power off the device? Will i be able to get back to recovery to flash a new rom afterwards, as i dont have one ready now??
Btw i hav nexus 7 , but didnt find this discussion there so i am posting here.
Thanks in advance for help....
I accidentally formatted system on my HTC desire HD. but i'm unable to install rom in it. If anyone can help me make it working(instruct how to install ROM in it) i'd be grateful.
Sawrose said:
I accidentally formatted system on my HTC desire HD. but i'm unable to install rom in it. If anyone can help me make it working(instruct how to install ROM in it) i'd be grateful.
Click to expand...
Click to collapse
You might want to post your question here : http://forum.xda-developers.com/forumdisplay.php?f=754
Careful with that with new versions of TWRP and CWM! http://forum.xda-developers.com/showthread.php?t=1966887
I format my system through xrecovery but after that first it stuck in sony ericsson logo.. sometimes it doesnt boot and the red light flashes
Accelerator00000 said:
I format my system through xrecovery but after that first it stuck in sony ericsson logo.. sometimes it doesnt boot and the red light flashes
Click to expand...
Click to collapse
I think you're lost friend. LOL.
Sent from my Moto X cellular telephone...
kj2112 said:
I think you're lost friend. LOL.
Sent from my Moto X cellular telephone...
Click to expand...
Click to collapse
it stucks at the sony ericsson and i cant enter the xrecovery sorry it just low battery thats why red light flash.. LOL
Accelerator00000 said:
it stucks at the sony ericsson and i cant enter the xrecovery sorry it just low battery thats why red light flash.. LOL
Click to expand...
Click to collapse
Buttttt...this is the t989 S2 forum.
Sent from my Moto X cellular telephone...
I am using like 4 gigs on my main sd. It says I only have a gig left. I doubt my system is hitting 5 or 6 gigs. I'm using the Avatar rom. I attached a picture of my storage overview. I also formatted cache. Any ideas?
Batmat rank
You are most like affected by the emulated storage bug. How to fix:
Have a card reader, and MicroSD to SD adapter
Back up all of you data to your computer
Update to the latest CWM or TWRP
Wipe Data \ Factory Reset
Wipe Cache
Wipe Dalvik Cache
Format /system
Copy a ROM and gapps to the external SD with the card reader
Flash ROM
Flash gapps
Profit!
Lemme get other people's opinions before I get drastic.
Get disk usage from the market. Run that and see what it shows you.
Sent from my SGH-I747 using xda premium
corey103 said:
Lemme get other people's opinions before I get drastic.
Click to expand...
Click to collapse
You without a doubt have the emulated storage bug.
MistaBojangles said:
You without a doubt have the emulated storage bug.
Click to expand...
Click to collapse
Agreed. OP, formatting /system and /data will resolve this issue.
Thanks, I'll give it a try and report back. Can I use the same rom?
Yes sir. Wipe data, wipe cache. Wipe dalvik. Format /system. Format /data. Flash rom. Flash gapps. Reboot. All this is done, of course, assuming you have the rom, gapps and perhaps a band road all on a micro sd card. Cheers
xBeerdroiDx said:
Yes sir. Wipe data, wipe cache. Wipe dalvik. Format /system. Format /data. Flash rom. Flash gapps. Reboot. All this is done, of course, assuming you have the rom, gapps and perhaps a band road all on a micro sd card. Cheers
Click to expand...
Click to collapse
Band road?
corey103 said:
Band road?
Click to expand...
Click to collapse
Nandroid
xBeerdroiDx said:
Nandroid
Click to expand...
Click to collapse
Ah, got it. I'm starting it now. I'm backing up all my user apps and making a nandroid backup. I'll report results. Thanks.
xBeerdroiDx said:
Yes sir. Wipe data, wipe cache. Wipe dalvik. Format /system. Format /data. Flash rom. Flash gapps. Reboot. All this is done, of course, assuming you have the rom, gapps and perhaps a band road all on a micro sd card. Cheers
Click to expand...
Click to collapse
I wiped the data, /system, cleared the cache/dalvik and such. Flashed both and rebooted. It shows 12 gigs total space, 2.13 available. All my files are still there. Are they supposed to be?
No. There's wipe data and format /data in cwm. Did you do both? You need to.
Or are you twrp?
xBeerdroiDx said:
No. There's wipe data and format /data in cwm. Did you do both? You need to.
Or are you twrp?
Click to expand...
Click to collapse
I'll try now. I attempted both. I'll do both and flash again and such.
xBeerdroiDx said:
No. There's wipe data and format /data in cwm. Did you do both? You need to.
Or are you twrp?
Click to expand...
Click to collapse
Fixed! This time, I formated /data, did a user data format, and wiped my /sdcard. It's all good now, thanks!
corey103 said:
Fixed! This time, I formated /data, did a user data format, and wiped my /sdcard. It's all good now, thanks!
Click to expand...
Click to collapse
Sounds like you followed exactly what I posted...
MistaBojangles said:
Sounds like you followed exactly what I posted...
Click to expand...
Click to collapse
Well the thing that did it was wiping the /sdcard. I might have accidentally skipped over that, either way. Thanks for the help! I got everything back to the way it used to (with more space of course).
I just rooted my phone and flash cyanogen mod. I went to storage and it says 4gb is used, I found a extra 0 folder. I think it contains the touchwiz things before I installed cyanogen mod. Is it safe to delete the extra 0 folder?
cyanogenm said:
I just rooted my phone and flash cyanogen mod. I went to storage and it says 4gb is used, I found a extra 0 folder. I think it contains the touchwiz things before I installed cyanogen mod. Is it safe to delete the extra 0 folder?
Click to expand...
Click to collapse
The 0 folder is part of JellyBean's file structure, and it seems that you have the emulated storage bug
Redo everything:
Update the Recovery if needed
Wipe Data \ Factory Reset
Wipe Cache
Wipe Dalvik Cache
Format /system
Format /data
Format /internal
Flash ROM and gapps
Craptain Krunch said:
The 0 folder is part of JellyBean's file structure, and it seems that you have the emulated storage bug
Redo everything:
Update the Recovery if needed
Wipe Data \ Factory Reset
Wipe Cache
Wipe Dalvik Cache
Format /system
Format /data
Format /internal
Flash ROM and gapps
Click to expand...
Click to collapse
I can't find Format /internal
cyanogenm said:
I can't find Format /internal
Click to expand...
Click to collapse
It's only in CWM based recoveries, in Mounts and Storage. If you are on TWRP, there isn't a format /internal anymore, so just skip that step.
Craptain Krunch said:
It's only in CWM based recoveries, in Mounts and Storage. If you are on TWRP, there isn't a format /internal anymore, so just skip that step.
Click to expand...
Click to collapse
I followed all your steps and the extra 0 folder is still there
cyanogenm said:
I followed all your steps and the extra 0 folder is still there
Click to expand...
Click to collapse
The format internal would have solved that. Which recovery are you using? And what is in that folder? What you have is the emulated storage bug, where the internal duplicates itself. It's probably an exact replica of you Internal SD in that folder. Go ahead and delete it, or switch to a CWM-based recovery that has a format /internal option.
Craptain Krunch said:
The format internal would have solved that. Which recovery are you using? And what is in that folder? What you have is the emulated storage bug, where the internal duplicates itself. It's probably an exact replica of you Internal SD in that folder. Go ahead and delete it, or switch to a CWM-based recovery that has a format /internal option.
Click to expand...
Click to collapse
Thanks. I just deleted the extra 0 folder and everything is fine
cyanogenm said:
Thanks. I just deleted the extra 0 folder and everything is fine
Click to expand...
Click to collapse
The bug can happen from having an older recovery that isn't patched for JellyBean's file structure. Make sure your recovery is up-to-date.
Hello,
My first gen Kindle Fire has been setup in the OtterX format and has been running well on the CM STG7 ROM. I decided to update to the latest version last week and since then, my OtterX has not recognized the SDCard.
TWRP does see the SDcard and will view it's contents when browsing the file manager, but it won't mount the SDcard to my computer desktop. Nothing happens when I click the mount button.
When the OtterX boots, the System > Storage sees the SDcard and contents, but when I try to browse to it with a file manager, it says the path is invalid.
ADB shell sees the /sdcard/ directory and I can browse it from the shell as well.
I've tried formatting the entire device, including wiping the internal storage and formatting data (where you have to type in "yes") and nothing has resolved this issue.
Any idea what's going on?
I have had similar problem, rebooting a couple of this times seemed to fix.
But may need to reformat in twrp or do otter x partitions in bootloader
sd_shadow said:
I have had similar problem, rebooting a couple of this times seemed to fix.
But may need to reformat in twrp or do otter x partitions in bootloader
Click to expand...
Click to collapse
I'll try reformatting again.
My partitions became corrupted a couple years ago and I had to rebuild them manually, following a tutorial. OtterX partitions in the bootloader doesn't work on my device. I'm guessing it's because the partitions are spot-on with the sizing.
Do you know of a way to rebuild the partitions manually so they match the stock specs - maybe that way the bootloader partitioning would work?
Just restore amazon partitions in bootloader, reboot, restore otter x partitions.
sd_shadow said:
Just restore amazon partitions in bootloader, reboot, restore otter x partitions.
Click to expand...
Click to collapse
Bingo! That seemed to fix it. CM11 is seeing the SDcard just fine now. Thank you!
sd_shadow said:
Just restore amazon partitions in bootloader, reboot, restore otter x partitions.
Click to expand...
Click to collapse
For some reason after trying a different ROM (can't remember which one), I lost my SD card again and I can't seem to get it back. I even reverted the bootloader to FFF and did the "OEM Format", then followed the steps back to OtterX.
Attached is my partition table. I don't see a 'media' table, which is the SDcard, correct?
Any idea what else to do?
Otterx utilizes space that was already there, but reserved for the system. In order to better use available space for user data, the storage is placed elsewhere on the tree. The sd card should be located under storage on the otterx tree.
Ixthusdan said:
Otterx utilizes space that was already there, but reserved for the system. In order to better use available space for user data, the storage is placed elsewhere on the tree. The sd card should be located under storage on the otterx tree.
Click to expand...
Click to collapse
The strange thing is TWRP sees and accesses the SD card just fine.
I have a feeling the SD card isn't formatted in the correct format. Any idea how to format (or check/change format type) of the SD card through ADB?
Did you try the Repair file system in TWRP?
In OtterX Twrp 2.7.1.0 not 2.7.0.1
Wipe>advanced wipe
check data>current file system should be f2fs
tap Repair or change file system if you want to change back to ext4
sd_shadow said:
Did you try the Repair file system in TWRP?
In OtterX Twrp 2.7.1.0 not 2.7.0.1
Wipe>advanced wipe
check data>current file system should be f2fs
tap Repair or change file system if you want to change back to ext4
Click to expand...
Click to collapse
Just checked the partitions with TWRP 2.7.1.0...
Dalvik Cache - Invalid partition selection
Data - f2fs
Internal Storage - Invalid partition selection
Cache - f2fs
System - ext4
I then formatted data as ext4 and the ROM still doesn't see the SD partition.
MrBrady said:
Just checked the partitions with TWRP 2.7.1.0...
Dalvik Cache - Invalid partition selection
Data - f2fs
Internal Storage - Invalid partition selection
Cache - f2fs
System - ext4
I then formatted data as ext4 and the ROM still doesn't see the SD partition.
Click to expand...
Click to collapse
did you try the repair option?
sd_shadow said:
did you try the repair option?
Click to expand...
Click to collapse
Yup! Didn't seem to fix the issue.
Is there a way to put the Kindle back to 100% factory specs, like SBF for the Droid X or Odin for Galaxy S3?
VZW SGSIII
Is this what you used to re-partition the system, data, and cache partitions?
[HOW TO] Fix "Failure to mount" sdcard, system, data or cache
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.