Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,721 Members 39,917 Now Online
XDA Developers Android and Mobile Development Forum

F2FS-enabled Kernel and Recovery for JellyBean ROMs

Tip us?
 
kcrudup
Old
#1  
Senior Member - OP
Thanks Meter 716
Posts: 1,478
Join Date: Mar 2007
Location: San Francisco Bay Area
Default F2FS-enabled Kernel and Recovery for JellyBean ROMs

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.
Samsung Galaxy Note 10.1 3G (GT-N8000) on AT&T
Samsung Galaxy Note 10.1 2014 LTE (SM-P607T) on AT&T (and T-Mo/VZW)
HTC First on Net10/AT&T
(Save your "Thanks"; couldn't care less)
The Following 2 Users Say Thank You to kcrudup For This Useful Post: [ Click to Expand ]
 
Airtioteclint
Old
#2  
Airtioteclint's Avatar
Senior Member
Thanks Meter 74
Posts: 285
Join Date: Nov 2012
I've been thinking about going back to Jellybean, this might be the deciding factor.

Any chance on something for 4.4.4 aosp?
Note 10.1 tethered to an AT&T S4 powered by a T-mobile's sim card.
 
kcrudup
Old
#3  
Senior Member - OP
Thanks Meter 716
Posts: 1,478
Join Date: Mar 2007
Location: San Francisco Bay Area
Quote:
Originally Posted by Airtioteclint View Post
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.
Samsung Galaxy Note 10.1 3G (GT-N8000) on AT&T
Samsung Galaxy Note 10.1 2014 LTE (SM-P607T) on AT&T (and T-Mo/VZW)
HTC First on Net10/AT&T
(Save your "Thanks"; couldn't care less)
 
RETIEF
Old
#4  
RETIEF's Avatar
Senior Member
Thanks Meter 11
Posts: 123
Join Date: Sep 2007
Default 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 View Post
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.
Retired: T-Mobile MDA (HTC Wizard)
Motorola Droid
Samsung Charge (cause it always needed to be on one)
Motorola Razr Maxx
Current: Samsung Galaxy Note 3
Samsung Galaxy Note 10.1
 
kcrudup
Old
#5  
Senior Member - OP
Thanks Meter 716
Posts: 1,478
Join Date: Mar 2007
Location: San Francisco Bay Area
It's probably the overclocking. Let me make up a non-OC set soon.
Samsung Galaxy Note 10.1 3G (GT-N8000) on AT&T
Samsung Galaxy Note 10.1 2014 LTE (SM-P607T) on AT&T (and T-Mo/VZW)
HTC First on Net10/AT&T
(Save your "Thanks"; couldn't care less)
The Following User Says Thank You to kcrudup For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes