Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[RECOVERY][ROMs] Recovery and Rom for All-F2FS 08/06/14

OP legolas93

5th April 2014, 12:26 PM   |  #1  
legolas93's Avatar
OP Senior Member
Thanks Meter: 1,197
 
635 posts
Join Date:Joined: Jul 2010
Donate to Me
Recovery and Rom for All-F2FS

What is F2FS?

F2FS (Flash-Friendly File System) is a flash file system created by Kim Jaegeuk at Samsung for the Linux operating system kernel. The motive for F2FS was to build a file system that from the start takes into account the characteristics of NAND flash memory-based storage devices (such as solid-state disks, eMMC, and SD cards), which are widely used in computer systems ranging from mobile devices to servers.

What is All-F2FS?

We used F2FS only for /data. It was simply because we have only to flash a compatible Kernel and Format /data partition. With All-F2FS we use F2FS for all partitions and we need a compatible ROM


Instructions:

Compatible ROM:
(All credits to authors. I have only made them compatible with F2FS)
  • Download compatible ROM
  • Download FormatPartitions.zip
  • Download "special" TWRP for All-F2FS: openrecovery-twrp-2.7.1.0-mako-All-F2FS.img
    (This is different for that of simply F2FS)
  • Copy FormatPartitions.zip and ROM on Phone
  • Flash "special" TWRP with Fastboot
  • Flash FormatPartitions.zip with new Recovery
  • Reboot Recovery
  • Flash ROM with new Recovery
  • (Flash GApps with new Recovery)
  • Go to Wipe Menu and press Format Data (The Big BUTTON!) (You will LOSE all your Data! Music, Movies etc!!)
  • Reboot

(Recovery has a RED back button to remember you that you are using the F2FS recovery!)

If you get something like "Unable to mount '/cache'", Flash FormatPartitions.zip and reboot recovery.

Enjoy

Phone is snappy and smooth with All-F2FS.




To go back:
- Flash a "normal" recovery
- Format Data
- Reboot Recovery
- Flash RestorePartitions.zip (Untested)
- Reboot Recovery
- Flash your previous ROM

(Required commit)
Last edited by legolas93; 8th June 2014 at 09:58 AM.
The Following 31 Users Say Thank You to legolas93 For This Useful Post: [ View ]
5th April 2014, 02:20 PM   |  #2  
PatrickMac's Avatar
Senior Member
Thanks Meter: 115
 
339 posts
Join Date:Joined: May 2012
More
@legolas93 I didn't test it yet, but I took a look in your updater-script of the ROM. There is something like this: "dev/block/platform/sdhci-tegra.3/by-name/APP". Isn't that the nexus 7 partition name?
The Following 2 Users Say Thank You to PatrickMac For This Useful Post: [ View ]
5th April 2014, 03:21 PM   |  #3  
legolas93's Avatar
OP Senior Member
Thanks Meter: 1,197
 
635 posts
Join Date:Joined: Jul 2010
Donate to Me
Quote:
Originally Posted by PatrickMac

@legolas93 I didn't test it yet, but I took a look in your updater-script of the ROM. There is something like this: "dev/block/platform/sdhci-tegra.3/by-name/APP". Isn't that the nexus 7 partition name?

Thank you! You are right! It was not a big problem but it's better to correct it Done!
5th April 2014, 03:56 PM   |  #4  
PatrickMac's Avatar
Senior Member
Thanks Meter: 115
 
339 posts
Join Date:Joined: May 2012
More
Quote:
Originally Posted by legolas93

Thank you! You are right! It was not a big problem but it's better to correct it Done!

Just to be sure I have to ask this. The current F2FS kernels provided in your other F2FS thread won't work with this, right?
5th April 2014, 04:02 PM   |  #5  
Senior Member
Thanks Meter: 63
 
178 posts
Join Date:Joined: Aug 2010
Why you say Download "special" TWRP for All-F2FS if this is the same recovery you post in only data F2FS?
5th April 2014, 05:11 PM   |  #6  
jmtjr278's Avatar
Senior Member
Thanks Meter: 187
 
323 posts
Join Date:Joined: Mar 2012
Nope. It is different. Says so right under the DL link.

Sent from my Nexus 4 using Tapatalk 2
The Following User Says Thank You to jmtjr278 For This Useful Post: [ View ]
5th April 2014, 06:14 PM   |  #7  
Senior Member
Thanks Meter: 63
 
178 posts
Join Date:Joined: Aug 2010
Quote:
Originally Posted by jmtjr278

Nope. It is different. Says so right under the DL link.

Sent from my Nexus 4 using Tapatalk 2

Why you donīt look at the download from the 2 posts before talk!?

Open both and you will see the same link = The same recovery
Last edited by Medel-Silver; 5th April 2014 at 06:16 PM.
5th April 2014, 07:23 PM   |  #8  
andr4e's Avatar
Senior Member
Thanks Meter: 84
 
134 posts
Join Date:Joined: Apr 2012
Donate to Me
RestorePartitions.zip
does not work
5th April 2014, 07:34 PM   |  #9  
PatrickMac's Avatar
Senior Member
Thanks Meter: 115
 
339 posts
Join Date:Joined: May 2012
More
Quote:
Originally Posted by Medel-Silver

Why you donīt look at the download from the 2 posts before talk!?

Open both and you will see the same link = The same recovery

the important part is the formatpartitions.zip, as this formats the /cache and /system partition to f2fs. the recovery formats the /data partition to f2fs as far as I know
6th April 2014, 12:30 AM   |  #10  
legolas93's Avatar
OP Senior Member
Thanks Meter: 1,197
 
635 posts
Join Date:Joined: Jul 2010
Donate to Me
Quote:
Originally Posted by Medel-Silver

Why you donīt look at the download from the 2 posts before talk!?

Open both and you will see the same link = The same recovery

Sorry. Wrong link! Fixed now Thank you.

The Following User Says Thank You to legolas93 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes