FORUMS

Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more

LG G4 First Impressions and Unboxing – XDA TV

The latest in LG’s signature line of “G phones” has been released. … more

Galaxy S6 Weekly Shooting Challenge

Over in our forums this weekend, XDA Forum member DevonSloan has started a thread for talented … more
Post Reply Subscribe to Thread Email Thread

F2FS-enabled Kernel and Recovery for JellyBean ROMs

21st July 2014, 11:12 PM |#1  
OP Senior Member
Flag San Francisco Bay Area
Thanks Meter: 737
 
More
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: 160
 
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: 737
 
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: 12
 
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: 737
 
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: 737
 
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: 90
 
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