[HOW-TO] Convert to F2FS on Nexus 6 (Any Rom) topic

SOCIALIZE IT ⇨

I didn't see anything about how to convert to f2fs for the nexus 6 so I thought i'd write something up as somebody requested me to do this.

What are the benefits of using f2fs over ext4?
Idk.

Should I do this
If you want to At your own risk

Pre-requisites
  • You need a recovery that supports f2fs in kernel and has the f2fs tools. Dhacker20 has provided one (TWRP 2.8.5.0) here: https://twitter.com/dhacker29/status/568070387306766336

  • You will need a kernel that supports f2fs for /cache and /data (Obviously I recommend zen kernel, but there are others)


How-To
1.) Back up everything you care about to your PC (everything will be erased, including sdcard)
2.) Install a kernel that supports f2fs. Get the boot.img and do "fastboot flash boot boot.img" in bootloader
3.) Install the recovery with f2fs support (fastboot flash recovery f2fs)
4.) In TWRP, go to Wipe
5.) Do a full wipe by swiping right
6.) Go to Wipe -> Advanced Wipe
7.) Choose /cache
8.) Choose "Change Filesystem"
9.) Pick f2fs, proceed
10.) Do the same thing for /data
11.) In TWRP, go to mount -> choose /system
12.) While still in recovery, plug phone into PC and do this:

Code:


# adb shell
# cp /sbin/*f2fs* /system/bin/
# chmod a+x /system/bin/*f2fs*


13.) Reboot and you are done.

I put this up because someone asked me to, it's really easy to do. But you should of course do it at your own risk.

xda-developers


  1. [Q] How to update? topic
  2. OTA 5.1 Update Fails on my Unrooted Nexus 5 topic
  3. Can the nexus 5 turn on without a power button? topic
  4. HTC Sense ROM Nexus 5 topic
  5. [Q] Text Messages Get Split Up - Nexus 6 on Verizon Wireless topic
  6. Nexus 5 shutting off randomly topic
  7. Nexus 6 SMS issues topic
  8. [Q] Nexus 4 Lollipop 5.1 How do I enable LTE 4G topic
  9. Sprint Nexus 6 no mobile data on CM 12.1. topic
  10. [Q] Lost Root on my nexus 5 topic
  11. [Q] Nexus 4 endless Bootloop. Help !! topic
  12. CM11 F2FS topic
  13. [Q] F2FS on CM12.1 nightlies + AK kernel topic
  14. [Q] Anyone using f2fs Partition in CM12 or CM12.1? topic
  15. [Q] F2FS to ext4 topic
  16. [Q] How to convert filesystem from ext4 to F2FS? topic
  17. New to F2FS & curious topic
  18. [GUIDE] Convert /data to f2fs with TWRP 2.8.+ [TF700T] topic
  19. [HOW-TO] Convert to F2FS on Nexus 6 (Any Rom) topic
  20. [ asus zenfone 6/5 ] xposed framework how-to topic

0 commentaires:

Enregistrer un commentaire