FORUMS

Sunday Debate: Which Factors Caused HTC’s Woes?

Join us in a fun Sunday Debate on HTC’s situation. Come with your … more

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading … more

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a … more

HTC One M9 Developer Edition Android 5.1 OTA

The Developer Edition of the HTC One M9 is receiving an over-the-air update to Android 5.1. … more

F2FS-enabled Kernel and Recovery for JellyBean ROMs

1,507 posts
Thanks Meter: 739
 
By kcrudup, Senior Member on 21st July 2014, 11:12 PM
Post Reply Subscribe to Thread Email Thread
IF you are expert at ROMs and flashing you may find this helpful. I am really happy with the F2FS Filesystem on my OG Note; I've since bought the 2014 version, yet with F2FS the OG Note feels just as fast now. Samsung has put a lot of work into F2FS and reducing flash-based I/O waits is key for eliminating lag on Android.

I did the JB kernel first 'cause that's the source I had lying around. I'm going to build up a proper kernel source tree for KitKat for my 2014 Note in the next few days, then build one for the KitKat OG Note after that. The F2FS is from the tip of Linus' "master" branch, backported to the 3.0 kernel the OG Note uses.

I'm not going to do any newbie handholding- this is for experienced users- but the general way to use this is:

- Backup anything you'll want to save from your INTERNAL /sdcard, as it will be wiped
- Using an EXISTING TWRP (not the one here), make a backup of your /data (onto an external SD-Card)
- flash this recovery, then boot into it
- Wipe the /cache partition- it will reformat it as an F2FS partition
- "Advanced Wipe" the /data partition- use the "scary" wipe that says you'll lose EVERYTHING
- Do a /data (ONLY!) restore from the backup you'd just made from the previous (non-F2FS) recovery
- Wipe Dalvik Cache
- Shut down and go into Download (Odin) mode
- Flash the boot.img provided (it should work on any recent JB Samsung ROM)
- Reboot
- Restore any Internal /sdcard stuff you'd saved
- Enjoy speedy F2FS goodness (give it a minute after first-time booting so it can settle)

The boot.img is here.
The F2FS-enabled TWRP is here.

You know the rules- despite my testing and use, you may lose data, etc. etc. but if anyone uses this, be sure to let me know if it works for you, and especially if you have any issues with it. I'll put out the source to the kernel in time as well.
The Following 2 Users Say Thank You to kcrudup For This Useful Post: [ View ]
 
 
22nd July 2014, 01:36 AM |#2  
Airtioteclint's Avatar
Senior Member
Thanks Meter: 175
 
More
I've been thinking about going back to Jellybean, this might be the deciding factor.

Any chance on something for 4.4.4 aosp?
22nd July 2014, 01:41 AM |#3  
OP Senior Member
Flag San Francisco Bay Area
Thanks Meter: 739
 
More
Quote:
Originally Posted by Airtioteclint

Any chance on something for 4.4.4 aosp?

This is fairly easy to add to any ROM where you've got all the source code (i.e., AOSP and its variants like CM, etc.). I'm pretty sure I won't be making one though, as most non-Samsung ROMs are usually lacking some functionality so I never use one.
26th July 2014, 11:05 PM |#4  
RETIEF's Avatar
Senior Member
Thanks Meter: 13
 
More
Not working on 8013
I followed the instructions, but when I install the recovery, get a boot loop every time. But it was worth a try. Thanks for all your hard work.


Quote:
Originally Posted by kcrudup

IF you are expert at ROMs and flashing you may find this helpful. I am really happy with the F2FS Filesystem on my OG Note; I've since bought the 2014 version, yet with F2FS the OG Note feels just as fast now. Samsung has put a lot of work into F2FS and reducing flash-based I/O waits is key for eliminating lag on Android.

I did the JB kernel first 'cause that's the source I had lying around. I'm going to build up a proper kernel source tree for KitKat for my 2014 Note in the next few days, then build one for the KitKat OG Note after that. The F2FS is from the tip of Linus' "master" branch, backported to the 3.0 kernel the OG Note uses.

I'm not going to do any newbie handholding- this is for experienced users- but the general way to use this is:

- Backup anything you'll want to save from your INTERNAL /sdcard, as it will be wiped
- Using an EXISTING TWRP (not the one here), make a backup of your /data (onto an external SD-Card)
- flash this recovery, then boot into it
- Wipe the /cache partition- it will reformat it as an F2FS partition
- "Advanced Wipe" the /data partition- use the "scary" wipe that says you'll lose EVERYTHING
- Do a /data (ONLY!) restore from the backup you'd just made from the previous (non-F2FS) recovery
- Wipe Dalvik Cache
- Shut down and go into Download (Odin) mode
- Flash the boot.img provided (it should work on any recent JB Samsung ROM)
- Reboot
- Restore any Internal /sdcard stuff you'd saved
- Enjoy speedy F2FS goodness (give it a minute after first-time booting so it can settle)

The boot.img is here.
The F2FS-enabled TWRP is here.

You know the rules- despite my testing and use, you may lose data, etc. etc. but if anyone uses this, be sure to let me know if it works for you, and especially if you have any issues with it. I'll put out the source to the kernel in time as well.

27th July 2014, 02:03 AM |#5  
OP Senior Member
Flag San Francisco Bay Area
Thanks Meter: 739
 
More
It's probably the overclocking. Let me make up a non-OC set soon.
The Following User Says Thank You to kcrudup For This Useful Post: [ View ]
17th February 2015, 09:00 PM |#6  
OP Senior Member
Flag San Francisco Bay Area
Thanks Meter: 739
 
More
I just got a Notification from the "PM Bot" about this- if anyone's (still interested in?) using this, let me know.
31st March 2015, 08:18 AM |#7  
little_lerroyy's Avatar
Senior Member
Flag Sydney
Thanks Meter: 92
 
More
I'd love to use this if we could get F2FS with CM12! By i presume for jellybean only.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes