[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. [How-To] Enable Native Tethering on I337_OC3 - 5.0.1 (4/10/2015) topic
  2. [How-To] Enable Native Tethering on G900A_OC4 - 5.0 (4/10/2015) topic
  3. [How-To] Sideload the 5.0 OTA topic
  4. [How-To] Go Back To Stock 5.0.2 Motorola Lollipop from GPE 5.1 & More! topic
  5. [How-To] Unbrick or Flash Back to Stock(NCE) - G900A Only topic
  6. [How-To] Update to G900A_OC4 - 5.0 and KeepRoot (4/8/2015) topic
  7. [Q] Howto create a prerooted rom topic
  8. [How-To] Update to I337_OC3 - 5.0.1 and KeepRoot (4/7/2015) topic
  9. Is root required to roll back to KitKat? topic
  10. [REQ] Multi DPI Stock Camera topic
  11. May be this is it for Xperia J topic
  12. [Q] No IMEI and baseband anymore. So back to stock rom for repair! topic
  13. [Q] New to phone - on 24A rooted - where to go from here? topic
  14. Htc desire 816 official lollipop update video review topic
  15. [Q] Galaxy S6 Edge T-Mobile Unlock by SIM code topic
  16. How to roll back to KK topic
  17. What is this in Greenify settings topic
  18. [Q] How to update? topic
  19. OTA 5.1 Update Fails on my Unrooted Nexus 5 topic
  20. Can the nexus 5 turn on without a power button? topic

0 commentaires:

Enregistrer un commentaire