Moving on to F2FS - G2 Q&A, Help & Troubleshooting

My Idea is to change the Filesystem on my d802.
Via adb I pulled the whole /data/media partion so that I can Push it back later.
I am not really Sure how this will work with the System partition.
I believe that flashing a cloudy G3 rom will Format the System partition back to ext4 (i think it's in the install Script).
So Would it be possible that I remove that "formating System" line to keep f2fs. Any other thoughts on this?

Related

Did I brake the webtop partition? :p

Hi,I installed topogigi's rom because it had webtop and everything seemed fine,and THEN I read this
"
you can simply use ext4 conversion directly from recovery(THE CWM ONE!) just go in advanced and upgrade to ext4 system;data;cache...
DON'T UPGRADE OSH TO EXT4(WEBTOP PARTITION) CAUSE IT WILL CAUSE THE OSH NOT TO BE MOUNTED (AKA DELETED!)...
I THINK THERE IS A BUG IN RECOVERY EXT4 SCRIPT CAUSE OSH SHOULD WORK EVEN WHEN EXT4"
But...of course I had already converted the file system even the osh...
What to do now people?
I don't have a clue,do I need to reflash something ,to convert the ext4 osh into something else? How?
I'm pretty lost ....
Sent from my ATRIX
Easiest is to reinstall the osh partition (I assume you likely have no files you really care about on it).
Find a webtop.zip for the ATT rom that top's stuff is based on (I assume it is a 2.3.6).
http://forum.xda-developers.com/showthread.php?t=1163009
Once you have that on your phone, just go to recovery and reformat the OSH partition (to put it back as EXT3) and install the zip.
If you really want to keep the webtop you have, it can be done but it more difficult and likely not worth the effort .
EDIT: If you are not certain if it is broken, take a look to see /osh has anything in it. If it is empty, it is broken (not being mounted). If you see a standard looking unix tree, it is fine. It actually can be mounted as an EXT4, but that would take some playing around with system files (see how "webtop to sdcard" gets around the mount problem).

Purity rom f2fs

I was considering attempting to use the f2fs filesystem that is discussed in original android development but I'm a bit confused with what to do to load a new rom. Can anyone explain if it will work with the purity rom and what I need to do to get it working? Or also let me know if its not possible.
Yes, I have used Purity with F2FS, but this filesystem is unstable because the system hangs usually (I have also tried with SlimKat and RastaKat with same hangs copying many files).
Basically:
- You must flash "twrp-unofficial-2.7.1.0-f2fs.img" as a normal recovery and change /data, /cache and /system (optional) to F2FS.
You will find this option under Wipe -> Advanced Wipe, then select only one partition and press the "Repair or Change File System" button for change to F2FS. Use Wipe -> Format Data also (you will lost data in /sdcard).
- Install Purity ROM (if /system is converted to F2FS, you must use "convert2F2FS.jar" for modify ROM zip and must install this new ROM).
- If /system is F2FS, install "KTManta_F2FS-26-06-2014-ALLF2FS.zip" Kernel or "KTManta_F2FS-26-06-2014_CACHE_DATA_PARTITIONS.zip" else.
patzzz said:
Yes, I have used Purity with F2FS, but this filesystem is unstable because the system hangs usually (I have also tried with SlimKat and RastaKat with same hangs copying many files).
Basically:
- You must flash "twrp-unofficial-2.7.1.0-f2fs.img" as a normal recovery and change /data, /cache and /system (optional) to F2FS.
You will find this option under Wipe -> Advanced Wipe, then select only one partition and press the "Repair or Change File System" button for change to F2FS. Use Wipe -> Format Data also (you will lost data in /sdcard).
- Install Purity ROM (if /system is converted to F2FS, you must use "convert2F2FS.jar" for modify ROM zip and must install this new ROM).
- If /system is F2FS, install "KTManta_F2FS-26-06-2014-ALLF2FS.zip" Kernel or "KTManta_F2FS-26-06-2014_CACHE_DATA_PARTITIONS.zip" else.
Click to expand...
Click to collapse
Where do you get convert2F2FS.jar?
Using f2fs with omnirom. All partition were formatted with f2fs. Having no issue with last update. You will find all resources in my thread

no F2FS support on /data for Oxygen OS 5 (Oreo)?

Previously on Oxygen OS 4.5.15 running your /data partition on F2FS had no problems.
However currently if you try running your /data partition with F2FS either you get an infinite boot loop or if you're decrypted you get an error message that says "Encryption unsuccessful" I'm assuming that's just the kernel being unable to mount the /data partition and just assuming it was a bad encryption or corrupted partition message.
Default partition layout for /data seems to be EXT4 and that works correctly just posting a new topic here to see if anyone else knows the status of F2FS was it removed form OxygenOS 5 kernel?
vortex-5 said:
Previously on Oxygen OS 4.5.15 running your /data partition on F2FS had no problems.
However currently if you try running your /data partition with F2FS either you get an infinite boot loop or if you're decrypted you get an error message that says "Encryption unsuccessful" I'm assuming that's just the kernel being unable to mount the /data partition and just assuming it was a bad encryption or corrupted partition message.
Default partition layout for /data seems to be EXT4 and that works correctly just posting a new topic here to see if anyone else knows the status of F2FS was it removed form OxygenOS 5 kernel?
Click to expand...
Click to collapse
By default, OxygenOS (OOS) comes with File Based Encryption (FBE) enabled. FBE, at present, is not compatible with F2FS and hence OnePlus has the /data partition defaulting to EXT4.
If you wish to use F2FS on /data, you'd need to be decrypted, a. and b. you'd need a kernel that supports booting with F2FS as well. Also, I'm not sure but I think the latest TWRPs for OP5 also don't have the necessary stuff to convert the filesystem to F2FS, but I haven't checked that myself, so can't say that with certainty.

/system stuck on VFAT file system

So I've been trying to do a lot of things and I must have messed up something along the way. I followed a video that tells you to change /system to vfat and then back to ext4 to fix it but now I cannot change it back to ext4 and I can't boot flash my phone since roms need system to be ext4.

DATA partition is on F2FS by default?

I've unlocked my new MI9T to install xiaomi.eu rom.
First of all, after unlock, i've installed the official TWRP and i've formatted (not wiped) the DATA partition.
I've noticed that TWRP logged that it was formatting the DATA partition with mkfs.f2fs ...... really strange...
So, i've rebooted to TWRP and changed the DATA partition type to EXT4 and formatted it... after a reboot i've tried to format it again and it was formatted again in F2FS (like F2FS was the default selection).
So i've tried to switch to OrangeFox recovery (i suspected a bug in TWRP)... but the same behaviour...seems that F2FS is the default partition type for my DATA partition.
I've installed the xiaomi.eu (the kernel in this rom is the official one, and i dont think that it supports F2FS) and the rom boot ok, without problems.
I've tried also to force ext4 on DATA, but with this partition type the rom never boot (it remains on the android bootanimation).
So right now, i see a f2fs partition type on my data partition, with original kernel.
I've tried also to change the cache partition to f2fs (by default this partition is formatted in ext4) but in this way, the rom boots, but i can't see the cache partition, seems that effectively the kernel can't mount the cache partition.
so i've unpacked the official miui_DAVINCIEEAGlobal_V11.0.4.0.QFJEUXM_5001481fbb_10.0 rom, and i've found that in the vendor partition, under (vendor)/etc/fstab.qcom there is this entry for DATA partition:
Code:
/dev/block/bootdevice/by-name/userdata /data [B]f2fs [/B]noatime,nosuid,nodev,nodiscard,fsync_mode=nobarrier,reserve_root=32768,resgid=1065 wait,check,fileencryption=ice,wrappedkey,quota,reservedsize=128M,latemount
So, this phone uses by default a F2FS partition type for DATA????
gulp79 said:
...so i've unpacked the official miui_DAVINCIEEAGlobal_V11.0.4.0.QFJEUXM_5001481fbb_10.0 rom, and i've found that in the vendor partition, under (vendor)/etc/fstab.qcom there is this entry for DATA partition:
So, this phone uses by default a F2FS partition type for DATA????
Click to expand...
Click to collapse
Yes - stock QFJEUXM 11.0.4, never formatted (or wiped) Data, see screenshot from /vendor/etc/fstab.qcom

Categories

Resources