How to switch partitions to F2FS filesystem? - Nexus 6P Q&A, Help & Troubleshooting

Title says it all!
I know that this should be done trough TWRP recovery but, what i need?
Backups?
Kernel with F2FS support?
ROM with F2FS support?
SuperSU can cause any problems?
Thanks in the advance for your time!

UP!
No one interested?

Ok this how i do it. It works out well for me but some get asked for an encryption pw.
Go into twrp recovery that supports f2fs
Wipe everything, format normally
Flash rom compatible with f2fs
Flash GApps
Flash kernel compatible with f2fs
Flash SuperSU
Wipe cache/dalvic
Boot into android startup screen
Reboot into recovery
Make a nandroid backup
Trasnfer nandroid backup to pc
Wipe/format again normally
Select data, then change file system, then change data to f2fs
Transfer nandroid backup back to phone
Restore nandroid backup
factory reset wipe
Reboot
Profit.

Related

[Q]Motorola Defy(MB525)/data and /cache partition problem (corrupted?)

I found my data and cache partition corrupted, and i dont know why.
I don't know anyway to fix it but do SBF flash (so far I am doing the THIRD SBF flash today, really frustrating)
[edit] why i think data and cache partition corrupted:
1. I couldn't mount data and cache and psd partition in recovery, but i can mount sdcard (and can't unmount system partition, is it supposed that system can't be unmounted?)
2. when i booted up the system(Kayant's AOKP), the size of internal memory is 0.0B, as shown in the settings->storage
[/edit]
Is there any to fix without doing SBF flash?
another question:
How to prevent it/any precaution so that the partition wont mess up? (I probably did some wrong thats why the partition was messed up, but I have no idea what I had done wrong)
here is what i did:
I had had this problem before so I do a SBF flash and the problem is gone.(I installed Kayant's AOKP rom -4.1jb)
Yesterday I decided to flash another rom (that was Quarx's cm10.1 rom) i did a nandroid backup first, then installed the rom and installed some apps, after that I installed Kayant's Slim rom(from the new aokp paradise), i found some bug and at last decide to return to Kayant's AOKP rom. I installed the 2nd Init boot menu(coz i did the nandroid backup with CWMrecovery, not TWRP), and problems came while restoring it. It failed to restore /data partition, I tried more times but couldn't fix this. So at last I turned to SBF flashing.
I flashed and rooted it with SuperOneClick and installed 2nd Init boot menu then install the AOKP rom(didn't restore the nandroid this time) then factory reset-ed it with stock recovery, and I found the /data and /cache partition messed up again(obviously the partition isn't messed up right after SBF flashing because i can install the 2nd Init app).
Now I am doing the third SBF flash.
You shouldn't have formatted data and cache with stock recovery. That was a mistake in your second attempt.
hotdog125 said:
You shouldn't have formatted data and cache with stock recovery. That was a mistake in your second attempt.
Click to expand...
Click to collapse
should I use aroma wiper and do a ext4 wipe if i am going to flash jb roms (like cm10/android 4.1 or higher), to prevent messing it up?
is it necessary to do wipe before or after install a new rom?
besides, any idea why the partition messed up/ failed to restore data when i do a nandroid restore, when i tried to restore with cwm recovery within 2nd Init boot menu installed on Kayant's Slim rom?
dicksonlok said:
besides, any idea why the partition messed up/ failed to restore data when i do a nandroid restore, when i tried to restore with cwm recovery within 2nd Init boot menu installed on Kayant's Slim rom?
Click to expand...
Click to collapse
Yes, format to ext4 for JB ROMs. Full wipe not necessary but recommended.
Start afresh, install the ROM and restore data.
Plus, you shouldn't have installed 2ndinit again. You should have installed dual recovery and tried.
Got same problem, data and cache partition corrupted.
Fortunately I have TWRP installed so I went to File System utility and format data and cache (I choose ext3).
Then restored previous backup and everything worked like before!

[SOLVED] Rooted Nexus 4 All F2FS Stuck at Boot Animation After Flashing Custom ROM

Hi guys! I need a bit of help. I was using PA 4.42 with FK r209 on my N4 with all F2FS (/system, /data, /cache). Yesterday I flashed Nexus_5_Experience_cm11_Nexus4_Release8.5 which claimed in its features that it has F2FS support. so I made a Nandroid backup with TWRP, wiped system, data, cache, dalvik cache and flashed the ROM. Installer did the job apparently fine and showed installation as successful. I then rebooted but ROM could not make it. It was stuck on decryption password screen and did not go past even by giving the password. Then I got back to TWRP Recovery mode and tried to restore my Nandroid backup but it was also stuck at PA boot animation prior to decryption password screen. Then I again went back to Recovey, wiped system, cache, data and dalvik cache again and then restored the Nandroid backup again but it stuck at PA boot animation again.
Is there any way I can restore my backup or would I need to fastboot flash a factory image to make the phone alive again? If so, would it be ok to flash factory image while having all partitions converted to F2FS? Will it do the job or add up in the issue?
Any suggestions would be appreciated please.
EDIT:
ISSUE SOLVED BY FASTBOOT FLASHING 4.4.4 FACTORY IMAGE WHICH HAD NO CLASH WITH F2FS PARTITIONS AND RE-WROTE ALL PARTITIONS TO EXT4 FORMAT.

Formatting f2fs with TWRP 2.8.7.0

I've been using TWRP for ....ever on my N900T (Note 3). Today I thought to format System/Data/cached to f2fs. TWRP 2.8.7.0 would only format system and cache, and only offered "Error =1" when trying to format data. By dropping down to 2.8.1.0 I was able to format data. All seemed well until I found the system and cache reverted back to ext4...probably after restoring the rom. I DID check the -rf box in settings before restoring the backup, but ...oh well.
After updating TWRP to 2.8.7.0 I went to backup the rom again, but data was not accessible. I tried repairing the file, but that was in vain also. I went BACK down to 2.8.1.0 and formatted the data back to ext4, but left system and cache f2fs. The phone seem to work fine like this, but I would REALLY like to format the data f2fs. Is there anyway of doing this with success?
The Fix.
kcohen67 said:
I've been using TWRP for ....ever on my N900T (Note 3). Today I thought to format System/Data/cached to f2fs. TWRP 2.8.7.0 would only format system and cache, and only offered "Error =1" when trying to format data. By dropping down to 2.8.1.0 I was able to format data. All seemed well until I found the system and cache reverted back to ext4...probably after restoring the rom. I DID check the -rf box in settings before restoring the backup, but ...oh well.
After updating TWRP to 2.8.7.0 I went to backup the rom again, but data was not accessible. I tried repairing the file, but that was in vain also. I went BACK down to 2.8.1.0 and formatted the data back to ext4, but left system and cache f2fs. The phone seem to work fine like this, but I would REALLY like to format the data f2fs. Is there anyway of doing this with success?
Click to expand...
Click to collapse
Okay...I found that by downgrading TWRP to 2.8.1.0 I was able to format all to f2fs, restore the backup, and create a new backup. So...I'm going to stay on 2.8.1.0 until someone can assure me 2.8.7.0 or another version can perform the format and maintain the stability..

Help n910c bootloop after trying to revert from cm 12 to stock via odin

I dont have a backup on my computer only in the internal storage a nandroid backup but i can t acces it. i messed up PLEASE HELP
Just flash again cm12 (make sure you don't wipe internal storage), get your backup and re-try?
Reboot in download mode, flash custom recovery.
Reboot into recovery restore nandroid.
The bootloop might be because you didn't wipe data.
Don't wipe data in stock recovery or it will wipe your internal storage.

Backup TWRP

Guys, do TWRP backups work well? I still have the stock and I made a backup of the rom with TWRP, if you install a custom and if you want to go back to the stock, just format data and do the wipes cache date and system, and install the backup?

Categories

Resources