17
Guide Formatting EXT4 to F2FS without losing internal storage & data

  1. niTe_RiDeR_Pro
    Ice Cream Sandwich Apr 13, 2016

    niTe_RiDeR_Pro , Apr 13, 2016 :
    Actually its /sdcard, I have written like that in the thread, but he mistakenly read it as \sdcard. Both will work, /sdcard & sdcard will work.
     

    #21
  2. myworld122
    Eclair Apr 14, 2016

    myworld122 , Apr 14, 2016 :
    But this is what i see in your guide, i merely copy paste it...

    Capture.PNG
     

    #22
  3. niTe_RiDeR_Pro
    Ice Cream Sandwich Apr 14, 2016

    niTe_RiDeR_Pro , Apr 14, 2016 :
    Uh Sorry bro... I accidently typed it as \sdcard in adb pull, but in adb push I typed correctly as /sdcard (thats what I was accidentally talking about in my previous post)... I have now fixed it. ;) :)
     

    #23
  4. myworld122
    Eclair Apr 14, 2016

    myworld122 , Apr 14, 2016 :
    Ok, still doesnt work either with "/" or without.. now i got this error "remote object 'sdcard' not a file or directory" or remote object '/sdcard' not a file or directory"... getting weirder...
     

    #24
  5. niTe_RiDeR_Pro
    Ice Cream Sandwich Apr 14, 2016

    niTe_RiDeR_Pro , Apr 14, 2016 :
    Thats weird, everything was working for me. o_O
    Now replace "/sdcard" with "/storage/emulated/0" and run the commands. If that also doesnt work, then replace "/sdcard" with "/data/media/0" (whichever path worked for you, use that path for the adb push as well). :)

    If that too doesnt work, then do the MTP method: Go to TWRP Home > Mount > Enable MTP (If there is not button called enabled mtp & instead it is 'disable mtp', then mtp is already enabled) > Now connect your OPO to Computer > Go to This PC/My Computer > Open A0001>internal storage > Select everything (Press Ctrl+A) then copy all the files to some folder in your PC. After formatting, copy back the files on to your opo. :)
     

    #25
  6. myworld122
    Eclair Apr 14, 2016

    myworld122 , Apr 14, 2016 :
    Hey thanks, i've actually went ahead with MTP already but when I formatted Data partition, my internal storage doesnt get wiped out.. the old files are still there... does that mean my Data partition is already f2fs? how do i check the partition is f2fs or ext4?
     

    #26
  7. niTe_RiDeR_Pro
    Ice Cream Sandwich Apr 14, 2016

    niTe_RiDeR_Pro , Apr 14, 2016 :
    Go to twrp > wipe > tick data> change file system > at the middle of the screen it shoud show "Filesystem: f2fs". Check.
     

    #27
  8. myworld122
    Eclair Apr 15, 2016

    myworld122 , Apr 15, 2016 :
    Thanks. My data partition is in fact f2fs already. But my system partition is not, after wiping it says the partition is f2fs but after installing released version of CM13 its back to ext4. Im guessing CM13 does not support f2fs.
     

    #28
  9. gaster
    Lollipop Moderator Apr 15, 2016

    gaster , Apr 15, 2016 :
    If this works without losing any data at all, then it's cool. Thanks for sharing
     

    #29
    niTe_RiDeR_Pro likes this.
  10. niTe_RiDeR_Pro
    Ice Cream Sandwich Apr 15, 2016

    niTe_RiDeR_Pro , Apr 15, 2016 :
    yes, it works without losing ANY, ANY data & internal storagr (if the steps are followed carefully & correctly). :)
     

    #30
    gaster likes this.
  11. niTe_RiDeR_Pro
    Ice Cream Sandwich Apr 15, 2016

    niTe_RiDeR_Pro , Apr 15, 2016 :
    Yes, Cm13 doesn't support system as f2fs. Even for me, when I installed Sultanxda's CM13, it reformatted the system back to ext4. ;):)
     

    #31
  12. gaster
    Lollipop Moderator Apr 15, 2016

    gaster , Apr 15, 2016 :
    Thanks for the info pal
     

    #32
  13. myworld122
    Eclair Apr 18, 2016

    myworld122 , Apr 18, 2016 :
    Hey thanks. I've changed to Tuga Power ROM and f2fs is fantastic!
     

    #33
    niTe_RiDeR_Pro likes this.
  14. Abdel-1993
    Froyo Apr 23, 2016

    Abdel-1993 , Apr 23, 2016 :
    Data and Cache worked for me in F2FS. Also I converted System to F2FS. You have to edit the boot.img to let the System partition work with F2FS. Only problem is that I can't install updates (Ota/Signed flashable zips) anymore because it will reformat the System partition back to EXT4 and my OPO won't boot anymore because the boot.img file is then modified and set back to EXT4.

    @niTe_RiDeR_Pro
     
    Last edited: Apr 23, 2016

    #34
    niTe_RiDeR_Pro likes this.
  15. minecabla
    Honeycomb Apr 23, 2016

    minecabla , Apr 23, 2016 :
    Great guide! I already did this a few weeks ago but still this should clear things up for others!
    One suggestion: maybe add a list with supported ROMs and which partitions f2fs they support.

    Yes, ATM I'm running Exodus with data and cache formatted to f2fs.
    Not sure but I don't think that it supports system as f2fs.
    This ain't a problem because AFAIK f2fs does only improve the writing speed which is not needed on the system partition.
     

    #35
    niTe_RiDeR_Pro likes this.
  16. Luongsonft
    Cupcake Apr 27, 2016


    #36
  17. niTe_RiDeR_Pro
    Ice Cream Sandwich May 21, 2016

    niTe_RiDeR_Pro , May 21, 2016 :
    Nope. You won't.
     

    #37
  18. forid-786
    Ice Cream Sandwich Jul 5, 2016

    forid-786 , Jul 5, 2016 :
    This thread is as useless as it gets. In other words, just connect your device to the PC. Backup before f2fs formatting, format to f2fs then restore. No need to use ADB and try to make things complicated for the community.
     

    #38
  19. F_Slavomír_Scharfschüt
    Cupcake Jul 14, 2016


    #39
  20. niTe_RiDeR_Pro
    Ice Cream Sandwich Jul 21, 2016

    niTe_RiDeR_Pro , Jul 21, 2016 :
    Please mind your language. First of all, a 100% system backup is only possible in a recovery like TWRP. And, the TWRP Nandroid Backup doesn't include the internal storage files (music, pics, downloads, docs etc.). And while copying in the casual slow-mo MTP mode (in which you connect the device to PC, a new device comes up & you have to select all & copy it to some folder), sometimes all the files are not copied, and sometimes an '
     

    #40
    remedy likes this.