After installing TWRP, root can be achieved without formatting /data ( sideload or use new version of TWRP )
Since formatting is not mandatory
for root, it brings this question.
To format or not??
I search on Google , and find that
format /data result in faster speed and performance (maybe power-saving) but
reduced data safety .
Which one is better?
Related
Hay.
how i can format my nexus one or clear its all earlier data . I also have 8gb sd card
waiting for reply. Thanks
Uh... do you mean a factory reset cause that is pretty easy just go to settings -> privacy -> factory reset this will wipe everything from your internal storage except the ROM and updates so you will stay on the same version that you are running now. This will not delete anything on the SD card so if you want to do that just put it in your computer and format it from there.
storage
Hay
can u more define.
is factory rest bracke my root
If by that you mean will it unroot you, then no you will stay rooted even if you factory reset.
There are two different main partitions in the phone (for partitions, think different drives under windows). The first being the /system partition. Everything in the /system partition is readable only. You are not able to modify anything in there (with a standard setup... we will delve a bit into this later). The other partition is the /data partition, which is read/write. This is where every app that you install is located (with a few exceptions which I will note below). When you do a factory reset/data wipe, it will just wipe out that /data partition so all your apps and data are gone (including any system settings.
The exception to the rules are for rooting, and certain flashable zips that put apps in the /system partition (like the google apps zip if you are running a custom ROM). So when you rooted, it put everything required for root into the /system partition (by changing it to read/write using root permissions). So if you do the factory reset, it will wipe the /data directory along with the .android_secure folder on the root of the sdcard (which is where all your apps are stored when you store apps on the sdcard).
Since the factory reset doesn't include the /system partition (otherwise you would be left without an OS to boot into), your root will remain, and otherwise, it will be just like it was when you first started up the phone.
If you want to remove root, you will have to flash a ROM (most likely a stock Android version) that doesn't include root/superuser permissions.
Hi all,
After reading some posts on Samsung S3 mini forum. Many problems could be fixed by doing a real format.
Many people aren't understanding a real format.
!!! A REAL FORMAT IS NOT THE SAME as WIPE DATA/FACTORY RESET.!!!
Real format = Format the whole data partition ( Rom, photo's, numbers, downlads,...)
wipe data = delete's your personal settings ( wallpapers , Gapps settings ,...)
It will not delete your external SD card
When doing a real format?
Installing a new rom ( from stock to custom rom)
When your rom isn't working ( bootloop) after a perfect download
When flashing from an other rom ( Carbon to CM and others)
When data partition is corrupted ( bootloop, troubles when starting up the rom)
After doing alot of flashing different Roms ( Not necessary , but it's Recommended)
When the developer brings updates from a rom, a real format isn't necessary. You can flash it over your excisting Rom
A real format is necessary in an update when the developer says it.
So here is the little guide for ClockworkmMod Recovery.
Power in Recovery mode by pressing Volume up, home and power buttom at the same time.
When in Recovery go to:
Mounts and storage --> "format /data and /data/media"
After this, you have a clean Phone and you can start flashing.
Tips:
When i do a real format, i format my system partition also.
!!!Have a Rom ready on your External SD card when doing a Real format !!!
That's all.
I hope this will help new users :highfive:
Greetz DjWacko
Hi,
I made this guideline for those who want to convert filesystem from EXT3 / EXT4 to F2FS on lavendar, for amazing speed & performance.
I already had MIUI EU beta working on my phone.
Note: Internal data storage will be wiped. Make sure to have a backup.
Steps:
1. Install Orange Fox Recovery (latest one)
2. Reboot to recovery
3. Go to Manage Partition
4. Select "Cache" and click orange tick button, then choose F2FS as the file
system and proceed.
5. Again, select "Data" and click orange tick button, then choose F2FS as the file
system and proceed.
6. Reboot to Recovery again.
7. Install a custom kernel which support F2FS (i.e Evira)
8. Install Universal F2FS support patch file. (otherwise causing boot loop)
9. Reboot
Enjoy the speed.>>>>>>>>>>>
Hi! Filesystem F2FS keeps always even if you make full wipes + format data? For example, if i do the process but later i want to change my device's ROM, system will still have F2FS after wipes and format data? Sorry i've never changed my device's Kernel so i don't know if the system keep the new kernel (and the F2FS support patch file mentioned in this post) after a wipe + format data or they have to be re-flashed. Thank you in advance.
Did as instructed. got a boot loop : (
Are you sure that fstab flags are properly set? I don't see 'nofail' option or maybe there's some other option that substitutes?
I use miui eu 9.8.9
I reformatted back to EXT4 and it boots again.
If you are not so sure (neither am I, I will go research mount command options) then I recommend 3 separate zips
One that's F2FS only for cache and data
One that's all EXT4 for cache and data in case someone needed to revert without reflashing rom
And one that's F2FS cache and EXT4 data because migrating data partition can be a lengthy process for some people. But formatting cache is always easy.
Plast0000 said:
Did as instructed. got a boot loop : (
Are you sure that fstab flags are properly set? I don't see 'nofail' option or maybe there's some other option that substitutes?
I use miui eu 9.8.9
I reformatted back to EXT4 and it boots again.
If you are not so sure (neither am I, I will go research mount command options) then I recommend 3 separate zips
One that's F2FS only for cache and data
One that's all EXT4 for cache and data in case someone needed to revert without reflashing rom
And one that's F2FS cache and EXT4 data because migrating data partition can be a lengthy process for some people. But formatting cache is always easy.
Click to expand...
Click to collapse
I had the same problem, to solve it do the partitions process, flash first evira, reboot to recovery again and flash the patch. It worked for me and booted succesfully into the rom. I use xiaomi eu 9.8.9 too.
jalzate94 said:
I had the same problem, to solve it do the partitions process, flash first evira, reboot to recovery again and flash the patch. It worked for me and booted succesfully into the rom. I use xiaomi eu 9.8.9 too.
Click to expand...
Click to collapse
So I do it like this?
1- change partition fs
2- reboot into recovery
3- flash evira
4- reboot into recovery
5- flash fstab.zip
6- reboot into rom
Is there actually any benefit at all in using F2FS on Lavender since the flash type is not one of ones supported by F2FS?
Sent from my Note 5 / 5 Plus using XDA Labs
gardiol said:
Is there actually any benefit at all in using F2FS on Lavender since the flash type is not one of ones supported by F2FS?
Sent from my Note 5 / 5 Plus using XDA Labs
Click to expand...
Click to collapse
What do you mean when you say that its flash type is not supported by F2FS?
also see these posts:
https://forums.oneplus.com/threads/...o-perfomance-after-formatting-to-f2fs.441177/
https://forum.xda-developers.com/showthread.php?t=2697069
Plast0000 said:
What do you mean when you say that its flash type is not supported by F2FS?
also see these posts:
https://forums.oneplus.com/threads/...o-perfomance-after-formatting-to-f2fs.441177/
https://forum.xda-developers.com/showthread.php?t=2697069
Click to expand...
Click to collapse
See, F2FS works on NAND flash memories.... Lavender ilis NOT a NAND flash, so there is no advantage in using it. At least this is the rationale if I am not wrong.
As speed goes, F2FS is no benefit as your link said, but also for the wear and tear there is not much benefit
Sent from my Note 5 / 5 Plus using XDA Labs
gardiol said:
See, F2FS works on NAND flash memories.... Lavender ilis NOT a NAND flash, so there is no advantage in using it. At least this is the rationale if I am not wrong.
As speed goes, F2FS is no benefit as your link said, but also for the wear and tear there is not much benefit
Sent from my Note 5 / 5 Plus using XDA Labs
Click to expand...
Click to collapse
Hmm? according to mi website and wikipedia it uses eMMC 5.1 which is a NAND storage. why wouldn't it work?
As for my link they all agree that F2FS is a bit slower for read but hellalot faster for write. overall gain is considerable.
Plast0000 said:
Hmm? according to mi website and wikipedia it uses eMMC 5.1 which is a NAND storage. why wouldn't it work?
As for my link they all agree that F2FS is a bit slower for read but hellalot faster for write. overall gain is considerable.
Click to expand...
Click to collapse
... Well, my info is wrong then... In this case it would be useful
Sent from my Note 5 / 5 Plus using XDA Labs
White_Lion said:
Hi! Filesystem F2FS keeps always even if you make full wipes + format data? For example, if i do the process but later i want to change my device's ROM, system will still have F2FS after wipes and format data? Sorry i've never changed my device's Kernel so i don't know if the system keep the new kernel (and the F2FS support patch file mentioned in this post) after a wipe + format data or they have to be re-flashed. Thank you in advance.
Click to expand...
Click to collapse
No, the data partition will be converted back to ext4 everytime you do "format data".
Not formatting your data could keep the f2fs status, but it's risky to not formatting data when changing ROM in lavender due to it's strict encryption issue.
Plast0000 said:
Did as instructed. got a boot loop : (
Are you sure that fstab flags are properly set? I don't see 'nofail' option or maybe there's some other option that substitutes?
I use miui eu 9.8.9
I reformatted back to EXT4 and it boots again.
Click to expand...
Click to collapse
Miui.eu ROMs doesn't fully support F2FS. The rom does, but the kernel doesn't.
You need to make sure both the ROM and kernel has F2FS support.
if one of them don't, you'll get bootloop.
Plast0000 said:
So I do it like this?
1- change partition fs
2- reboot into recovery
3- flash evira
4- reboot into recovery
5- flash fstab.zip
6- reboot into rom
Click to expand...
Click to collapse
I've been on F2FS since.. April I think, and I've installed and tried so many roms without any problem.
here's what I normally do and it works all the time:
- Make sure data & cache are ext4
- format data
- reboot recovery,
- wipe cache, dalvik, system, data, internal,
- flash firmware
- flash ROM
- flash gapps (optional)
- flash magisk
- flash kernel that has f2fs support (optional, if the rom's kernel doesn't support F2FS)
- reboot system
————————————————————————
it's necessary to install the rom in EXT4 because automatic encryption doesn't work in f2fs partition (I think... based on my experience). granted, you can do the encryption manually from settings, but it's require to have 80%++ battery and the more stuff you have in your internal, the longer it'd take to manually encrypt the device. automatic encryption is just easier to do. You can leave your internal decrypted as well, but you won't be able to use your fingerprint or any screen lock methods. That's just how redmi 7 family works.
————————————————————————
- once you get into system, reboot to recovery once again
- convert cache & data to f2fs
- flash magisk
- flash universal f2fs patch
- reboot
now your /data and /cache are in f2fs.
If you're already on a rom and kernel that support f2fs, you can just do the later half of this tutorial without the need to reinstall rom and everything, but you'd lose all your data. good luck!
What's the benefit of changing cache into F2FS?
begging
Seeking flash tutorial videos
Thanks
thx for guide.
Which custom rom that support f2fs?
So I was trying to install viper4arise using their own tutorial [https://forum.xda-developers.com/t/...ditory-research-in-sound-enhancement.3379709/] using Orange Fox Recovery. Also, since I can't access the /sdcard partition using the recovery, I used adb push to transfer the zip file to be flashed.
Then while flashing the zip, it requires access to /system and hence while flashing, it shows "ERROR:1, unable to mount /system."
I've heard that data is some kind of encrypted and to remove it I have to do "Format Data".
1 - Is there any other way to decrypt than doing a format data?
2 - Also once i do format data can i keep my storage unencrypted someway?
3 - And most importantly, what exactly does "Format Data" do? Which files does it remove and will I have to reinstall my stock ROM after doing it.
Thanks a lot and I'd love if you answer my questions part-by-part.
doughnut9 said:
So I was trying to install viper4arise using their own tutorial [https://forum.xda-developers.com/t/...ditory-research-in-sound-enhancement.3379709/] using Orange Fox Recovery. Also, since I can't access the /sdcard partition using the recovery, I used adb push to transfer the zip file to be flashed.
Then while flashing the zip, it requires access to /system and hence while flashing, it shows "ERROR:1, unable to mount /system."
I've heard that data is some kind of encrypted and to remove it I have to do "Format Data".
1 - Is there any other way to decrypt than doing a format data?
2 - Also once i do format data can i keep my storage unencrypted someway?
3 - And most importantly, what exactly does "Format Data" do? Which files does it remove and will I have to reinstall my stock ROM after doing it.
Thanks a lot and I'd love if you answer my questions part-by-part.
Click to expand...
Click to collapse
Probably needs to root the device.
1 - Is there any other way to decrypt than doing a format data?
Remove all lock screen security
2 - Also once i do format data can i keep my storage unencrypted someway?
Once you have installed a rom and added a security on the lock screen.
3 - And most importantly, what exactly does "Format Data" do?
Format data delete all your content and create a new partition if necessary.
will I have to reinstall my stock ROM after doing it?
yes.
NOSS8 said:
Probably needs to root the device.
1 - Is there any other way to decrypt than doing a format data?
Remove all lock screen security
2 - Also once i do format data can i keep my storage unencrypted someway?
Once you have installed a rom and added a security on the lock screen.
3 - And most importantly, what exactly does "Format Data" do?
Format data delete all your content and create a new partition if necessary.
will I have to reinstall my stock ROM after doing it?
yes.
Click to expand...
Click to collapse
Thanks a lot!
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)