FORUMS

Which Lockscreen Security Type Do You Use?

From pattern locks to the controversial face unlock, there are a number of different ways you … more

Xposed 3.0 Alpha 3 Released

A new alpha for the Xposed framework is out and brings several bug fixes. You’ll only need to flash … more

XDA Recap: This Week In Android (Apr 18 – 25)

Here in the digital XDA newsroom, we spend our days pouring over an average of … more

Sunday Debate: Custom ROMs vs. Modular Tweaks

Join us in a fun Sunday Debate on Mods and ROMs. Come with your opinions and feel free to … more
Post Reply Subscribe to Thread Email Thread

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

5th April 2014, 11:26 AM |#1  
legolas93's Avatar
OP Senior Member
Thanks Meter: 1,204
 
Donate to Me
More
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 08:58 AM.
The Following 31 Users Say Thank You to legolas93 For This Useful Post: [ View ]
 
 
5th April 2014, 01:20 PM |#2  
PatrickMac's Avatar
Senior Member
Thanks Meter: 134
 
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, 02:21 PM |#3  
legolas93's Avatar
OP Senior Member
Thanks Meter: 1,204
 
Donate to Me
More
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, 02:56 PM |#4  
PatrickMac's Avatar
Senior Member
Thanks Meter: 134
 
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, 03:02 PM |#5  
Senior Member
Thanks Meter: 63
 
More
Why you say Download "special" TWRP for All-F2FS if this is the same recovery you post in only data F2FS?
5th April 2014, 04:11 PM |#6  
jmtjr278's Avatar
Senior Member
Thanks Meter: 229
 
More
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, 05:14 PM |#7  
Senior Member
Thanks Meter: 63
 
More
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 05:16 PM.
5th April 2014, 06:23 PM |#8  
andr4e's Avatar
Senior Member
Thanks Meter: 85
 
Donate to Me
More
RestorePartitions.zip
does not work
5th April 2014, 06:34 PM |#9  
PatrickMac's Avatar
Senior Member
Thanks Meter: 134
 
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
5th April 2014, 11:30 PM |#10  
legolas93's Avatar
OP Senior Member
Thanks Meter: 1,204
 
Donate to Me
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

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