yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] dude2k5:
Seems to work well! I'm on the 3-19 build of CM11. Had really major IO issues with the device, nothing would make it even remotely usable, even on the performance CPU profile in both the cpu govenor and the asus cpu changer. It was always slow and laggy, it would not handle multiple things well, you basically had to single task. However, flashing this, doing my usual modifications, and it's making this baby fly again. I can open multiple apps and actually navigate without too much lag. Not sure if it's a placebo effect, but so far, it seems great, I'm able to install multiple things at once. I'll see how long this lasts (Wiping the SD can have some beneficial effects too) and I'll try to give an update later, it usually slows down after a few weeks. But this could be "settling" still, it's a fresh flash, even so, I'm happy it's usable again!
[Asus Transformer TF700] yew123:
Hey is there any method available yet for this to work with rom2sd? Just imagining F2FS, rom2d, cromix 5.4 and hunds ET :p
[Asus Transformer TF700] _that:
In theory it should work like any ROM2SD installation:

* install rom2sd1 to switch the device nodes to the external card

* format data to f2fs

* install your ROM and a kernel with f2fs-enabled fstab in the ramdisk, don't reboot

* install rom2sd2 to move the ramdisk files to the external /system and modify mount points

Disclaimer: Not tested, there may be issues with the CROMI-X installer trying to be too clever, ...
[Asus Transformer TF700] sbdags:
Well as long as you only do the data partition it should be OK. I'll look into f2fs support this week.
[Asus Transformer TF700] yew123:
Thanks [MENTION=4878287]_that[/MENTION], when i've got some free time i'll give it a go
[Asus Transformer TF700] Alexander_rekaX:
CM10 kernel?

Have a request for you, guys. Can someone make f2fs kernel for CM10?

Because I really don't want update my TF700 to 4.4, and stock-based roms isn't my choice...
[Asus Transformer TF700] sbdags:
I made 2 kernels for CM11 for data2sd setup with f2fs (sorry I know not CM10). But here they are if anyone wants to test them.

_thatv9 cm11 data2sd f2fs

DOWNLOAD

md5 sum : 8c340aca96c50ed734b0c903b80d8312

Hunds 3.4.5 cm11 data2sd f2fs

DOWNLOAD

md5 sum : 92cbf93223c07410758feb9921694353
[Asus Transformer TF700] Frostbiter:
These Kernels will work on all CM based roms not just cromi-kk?
[Asus Transformer TF700] Ozark_8125:
delete please
[Asus Transformer TF700] Ozark_8125:
I end up with encryption unsucessful error on boot using the _that/sbdags kernel then reboots and twrp runs an open recovery script, reformatting cache with the mk_ext4 (IIRC), then same error on boot.

The CM kernel runs smoothly for me, but cannot get the touchscreen to respond from a deep sleep. The screen will turn on / off with power button press, but unable to get past the reboot screen or slide to wake screen because there isn't a response with touch. Fully charged the screen reads 'connect your charger' and will not connect to adb so I could not get a log for you.
[Asus Transformer TF700] sbdags:
Yes reflash the rom - you won't lose anything - just install over the top but choose _that kernel each time.
[Asus Transformer TF700] johnlgalt:
Question - when you flash the ROM twice, once for internal and once for external, how do you 'choose' which to boot into?
[Asus Transformer TF700] sbdags:
Boot with Micro SD Card in = External

Boot with Micro SD Card out = Internal

;)
[Asus Transformer TF700] johnlgalt:
lmfao - oh.

I'm such a tard - sorry about that, I thought it was something else.
[Asus Transformer TF700] sbdags:
I shouldn't laugh when people use that term, but I do! :D
[Asus Transformer TF700] Tek_No:
Still a no-go for me: whenever I flash _thatv9 (from within the ROM reflash) I'm stuck in a bootloop: whenever flashing the CM11 specific kernel it's working (from internal)...
[Asus Transformer TF700] sbdags:
This is on the latest version I released yesterday? Remind me again as I lose track of who has what installed... You are using data2sd with f2fs on int and ext?
[Asus Transformer TF700] Alexander_rekaX:
CM10 F2FS, again...

Guys, I need your help. I'm tried firs time to compile Linux kernel and now I'm out of ideas...

So... What I did is: I'm download CM10 kernel source, apply patch, make zImage with that9_f2fs kernel config file then I've stuck...

I cannot find appropriate ramdisk, I've even tried to modify CM10 ramdisk. Once it booted to bootanimation when I've tried to combine my zImage with that9_f2fs kernel ramdisk. If needed I think I can recreate this situation again and dump last_klog file, but that time I don't do that.

I don't have anyone to help me with, so I've managed to write here. I think I did something wrong, but I don't know what... Have anyone any ideas? D:
[Asus Transformer TF700] sbdags:
You need to combine _that's zimage with the cm10 ramdisk. But why are you using such an old source. At least go for cm10.2 or better cm11 as I know cm11 works with _that's kernel.

You can't do it the other way around unless you are trying to boot a stock based rom which you are not.
[Asus Transformer TF700] Alexander_rekaX:
Yeah, I've used CM10.2.

But is it OK to use stock-based zImage with cm10.2 ramdisk? Will it be stable? And do I need to change data partition to f2fs in ramdisk?

And thanks for helping :3

Update: I've tried to combine _that zImage (with modules)+bryce09 CM10.2 (http://xdaforums.com/showpost.php?p=47394979&postcount=286) ramdisk and it still doesn't boot D:
[Asus Transformer TF700] sbdags:
All kernels are based off stock for our devices ;)

You just need to edit the fstab.cardhu file in the ramdisk so the mount points are f2fs instead of ext4. That simple.

Use the ramdisk that comes with cm11 - you said you compiled it?
[Asus Transformer TF700] Alexander_rekaX:
Hm... Yeah, thats definitely easier than what I did :D

Yeah, I've compiled zImage from CM10.2 source+f2fs patch support. And I have to say, it was pretty hard... And I've read a pretty large piece of English literature, especially when I don't know English perfectly D:

And I think I've found what's problem... Either my boot unpacker isn't quite working (not cutting ramdisk.gz binary properly), or blob unpacker. But it's late night for me, and I'm little frustrated, so I'm continue tomorrow D:
[Asus Transformer TF700] zabolots:
I tried this mod with CROMi-X using the repackaged _that kernel that sbdags posted. I have to say that so far I'm impressed with the performance.

I was ready to ditch this tablet because the performance was so poor ("<APP> is not responding"). I tried Data2SD with multiple cards (a Class 10 and a Class 4) but performance still stunk. Moving back to internal with F2FS resulted in better benchmarks than my Data2SD setups and, although it's only been a few days, the usability of the tablet is much improved. Thanks to all who worked to put this together.
[Asus Transformer TF700] lyrelai:
Trim and f2fs

Thanks for the special f2fs version of TWRP and instruction. I have succesfully installed sdbags CROMi-X 5.4 . It has been running good for about 6 hours now. I might just keep this configuration until sdbags next iteration of CROMi-X.

One question I have is that I have been running lagfix fstrim on a daily basis when data partition was still on ext4. Should I still keep this practice even after data partition gets converted to f2fs now?

Lyre
[Asus Transformer TF700] LetMeKnow:
The answer is YES. Check your fstab.cardhu to see if it has the Discard option for your data partition.. If it does, then you don't need to run the lagfix.. Otherwise, you still need to run it but not every day because it takes a while for all blocks getting dirty..;)
[Asus Transformer TF700] sbdags:
Be careful with discard as it causes issues as I have found recently. Specifically it only seems to work reliably on internal partitions and it can cause freezes as it can interfere with trim. I don't think it is needed on f2fs.
[Asus Transformer TF700] LetMeKnow:
Thanks for the information...:) I have a very good luck with it on the data2sd with f2fs on my setting for almost 4 months. I hope that it is not going to give me problem in the near future but so far everything is working perfect with Cromi X v5.4....:)

Edit: I have 6 testers with the f2fs on data2sd and one with f2fs on the internal sd. All 7 of them with the "discard" option enable. Four came back with the positive feed back and three never give me any feedback at all. I guess that no news is a good news, haha...
[Asus Transformer TF700] sbdags:
I can't get anything to boot off external with the discard option when used with f2fs.

Another user on the tf201 forums put up a useful post of why you shouldn't use discard with f2fs and it made sense to me. :)
[Asus Transformer TF700] LetMeKnow:
I just checked the tf201 forum but couldn't find any post talking about the discard option...:o Could you please link me to that useful post so I can hear and learn from that user, thanks..:)
[Asus Transformer TF700] sbdags:
Sure:

http://xdaforums.com/showpost.php?p=52708085&postcount=1461
[Asus Transformer TF700] zabolots:
I just used the defaults that came with flashing the F2FS-enabled TWRP and the modded _that9 with F2FS support that sbdags posted. I just checked with terminal emulator by typing 'mount' to see my mount points and my internal F2FS /data partition does show the "discard" option. Am I supposed to manually remove that somehow?
[Asus Transformer TF700] lyrelai:
I did not used the re-packaged sdbags kernel. I used the OP's _that kernel. That kernel does not configure fstab.cardhu to use discard mount option.

Reading sdbags mentioned tf201 user post and also read up on the f2fs information from kernel.org. It seems that f2fs has implemented kernel thread that does background cleanup work already. Adhoc fstrim might not be needed after all. Yeh!

Lyre
[Asus Transformer TF700] LetMeKnow:
Thanks for the link...;)

I believed that the user made a little misleading on the fsTRIM..:) This is my share, the clean up is done according to the priority. The TRIM is used when the load is light and not right after the block is marked as unused.. Yes, it will conume some CPUs resources but only if the CPUs are available...:) I hope that _that could shread some light on this fsTRIM..;)

[MENTION=1864343]lyrelai[/MENTION]

The background cleaning up garbages that you mentioned is supposed to clean up the old and unused proccesses in the background. So the device can get back the available RAM for other useful proccesses to use. It is not for cleaning up the dirty blocks... Just my two cents..:)
[Asus Transformer TF700] norkle:
Using That_F2FS kernel with CROMi-X internal and CROMBi-kk ROM2SD

Was prep'ing to use F2FS on my TF700 with CROMi-X 5.4 on internal and CROMBi-kk on microSD using ROM2SD.

After installing That_F2FS kernel, but before converting any filesystems to F2FS, then attempting to boot to CROMi-X 5.4 internally, it came to an error stating encryption had failed and I should perform a reset. I powered off instead, and tried booting to CROMBi-kk on ROM2SD which worked fine.

I installed back to _that8 and CROMi-X/internal boot was happy again.

Does the F2FS kernel REQUIRE a F2FS /data ? If so, how is it working on CROMBi-kk on EXT4 ROM2SD.
[Asus Transformer TF700] zabolots:
Any consensus on whether I need to do something to remove the "discard" option on my internal /data F2FS partition?
[Asus Transformer TF700] LetMeKnow:
This is my opinion since you are asking...:)

I see it as a more advantage for a long run than disadvantage if you don't have any issue with the "discard' option. I am using it on ext4 for almost a year and f2fs for almost four months and don't have any issue with it. However, sbdags and some others users are experiencing some issues with it when they using it as a ROM2SD....:crying: If you don't have the "discard" mounting option, you will see the degradations of your device depending on how frequently you are writing to your /data partition. To prevent wear and tear on your SD, the eMMC controller will write to the new blocks so all the blocks have the same numbers of erases and writes. As soon as your sd are used up, this is where you start to see the degradation of performance on your device. However, you will loose some CPUs resources when you are using the "discard" option. You can not get it all...:crying: That is how I understand about this "discard" option and I could be totally wrong...Good luck...:fingers-crossed:

BTW, you could use lagfix or other apps to manually do the cleaning task for you too as an option...:)
[Asus Transformer TF700] lyrelai:
I did try torun lagfix fstrim on /data partition and got an error. I guess I will have to switch to use "discard" mount option in fstab.cardhu soon.

Lyre
[Asus Transformer TF700] LetMeKnow:
Oops, I guessed that lagfix doesn't work on the f2fs, sorry...:o I have not use it for a long time...

[MENTION=5488343]zabolots[/MENTION]

Please discard the comment using lagfix...:)
[Asus Transformer TF700] lyrelai:
Now that I am looking into to modifying fstab.cardhu, how do I go about doing that? I was trying to modify fstab.cardhu on the root file system and find out that once the tf700t is rebooted, the file is "magically" replaced back to original copy. I guess there is some process, maybe some sort of boot scripts, doing this as part of boot process. Will appreciate any pointer here.

Lyre
[Asus Transformer TF700] LetMeKnow:
You can not modify the fstab.cardhu in your system because the ramdisk will replace it when you reboot...:( You need to modify it inside the ramdisk of your kernel or use the init-boot script to load it for you, good luck and _that can give you a better explanations on his script...:)
[Asus Transformer TF700] lyrelai:
Thanks for the pointer. I instead took this as a learning opportunity to see how far I can go by myself. Here is the interesting trek I took.

* I think I finally understand how android boot on high level. The ramdisk is actually mounted at boot. And it is still mounted passing the boot phase. That explains the reason why modifying them when tablet is running is not going to do any good since the next boot, it will read off from the ramdisk that is embedded inside the kernel blob again.

* Start researching on how to dissemble blob and find out the chains of tools like blobunpack, extract-kernel.pl, extract-ramdisk.pl, repack-kernel.pl and trying to gather all the tool set I need to modify the ramdisk. I finally get almost everything except mkbootfs. I have trouble finding/compiling a version of mkbootfs on my 32bit Ubuntu 12.04 linux server.

* Start downloading Android source code using repo and git with the goal to use its mkbootfs version. Setup build environment and realize that it needs openjdk.

* Install openjdk-7

* rerun and find out that the prebuilt binaries are all in 64bit and I will need to find out how to get 64bit binaries running on my linux box.

* the adventure continues.......

Lyre
[Asus Transformer TF700] pmgnet:
I'm at this step, Go to Wipe and press Format Data (this will format your external data partition to F2FS) - if is failing check the Mount option again

and it says it's using "make_ext4fs".

That doesn't seem right if it's supposed to be formatting to f2fs.

Did I do something wrong?
[Asus Transformer TF700] loner.:
TWRP

What's new in 2.7.1.0:

Add GUI option to change or repair file systems on individual partitions. The change is destructive so backup your data including internal sdcard first. This option should make it a little easier to migrate a device from ext4 -> f2fs, for instance. You will find this option under Wipe -> Advanced Wipe, then select only one partition and then press the Repair or Change File System button. If a developer has added f2fs support for your device and we don't have it in TWRP, please contact me via PM to arrange for it to be added.Various bugfixes to backup and restore improvements to USB storage handling added a class to search for files to make finding the correct brightness file automatic in most casesVarious other bugfixes and tweaks

Sent from my K00C
[Asus Transformer TF700] pmgnet:
I'm installing Crombi-kk 20140517.

I'm going through the aroma installer and selecting "f2fs for internal and external..."

It seems to be running through and also it says it did formatting of system at least. Is the installer formatting to f2fs? Or

Can I just use the aroma installer to get to f2fs? Somewhere I think I missed the instructions to format specifically "internal" or "external".

---------- Post added at 09:26 PM ---------- Previous post was at 09:04 PM ----------

I have the twrp263 that 3 recovery. Am I using the right one? All I can get is spinning boot logo. Do I need to also flash an f2fs kernel if I'm installing the latest cromi kk?

I also can no longer boot into what was my working 64g external sd.

What have I broken?
[Asus Transformer TF700] LetMeKnow:
You need to use the Modded TWRP recovery on the page #2 (twrp_f2fs.blob) to format your internal /data partition and use gparted for your external /data partition. You could also use rom2sd.zip to switch your internal to your external and format your external /data partition with the Modded twrp...:)

The reason that it is not working because your /data partition is formatted in ext4 with _that Modded TWRP and you have the f2fs ramdisk, guessing...:fingers-crossed: You need to format your /data partition with a f2fs and use the kernel that supports f2fs including f2fs ramdisk. I hope that I am not confusing you, good luck...:fingers-crossed:

Edit: Oops, I did not read the post above your post. TeamWin is releasing TWRP v2.7.1.0 supporting the f2fs. You can use this version instead of the Modded TWRP from this original post...;) Let us know how the new TWRP is treating you, thanks in advance...
[Asus Transformer TF700] awilson77584:
How long should I expect the trwp.blob file to load using: fastboot -i 0x0B05 flash recovery twrp.blob ?

Minutes, 10s of minutes, or an hr?

I'm using a mac and I'm able to reboot into fastboot mode using adb reboot bootloader. The software is seeing the device.

It just seems to sit there with no indication that anything is happening.

Do the flashify and twrp manager apps work? I saw the admonition that if we can't use the "tried and true" methods, stay away //smile

Thanks
[Asus Transformer TF700] sbdags:
Takes 10 secs approx. I know nothing about macs but may be easier to use a windows or linux box.
[Asus Transformer TF700] LetMeKnow:
I am going to create a flashable zip for a friend so he can flash in the recovery. If you can wait until next week, I will put together a zip for twrp v2.7.1.1... Just a thought if you can wait...:)
[Asus Transformer TF700] awilson77584:
//smile
[Asus Transformer TF700] steve0.adams:
@ LetMeKnow I have tried every way I know how to install twrp including twerp manager (new to me). Everything I have done says it has flashed correctly. But doesn't change the recovery at all. So I will gladly wait a week for a zip.
[Asus Transformer TF700] LetMeKnow:
I am on the road ATM and can't access to my PC so I can't do anything ATM. I will be back home in another 3 days. I will test the script on my device instead of fastboot to see if it works and will send you the link for it....:)
[Asus Transformer TF700] berndblb:
I can test it for you if you like.

Have fun!
[Asus Transformer TF700] LetMeKnow:
Sure my friend...:D you will be the first tester when I am back home...;)
[Asus Transformer TF700] johnlgalt:
I can test it as well.

I tried to use the AIO .zip that is in the first post to test a quickly made one, but since it wants to mount data, and TWRP 2.6.1.0 cannot mount F2FS data, it broke.

I'll try to see if I can install TWRP 2.6.3 modified for F2FS by _that and then see if the one I made works, and if it does, I'll let you take a look, LMK.
[Asus Transformer TF700] kski:
I have crombi kk installed internally with nothing fancy. I just set up f2fs and I was wondering if there are more kernels that would work other than the ones listed in the OP?
[Asus Transformer TF700] sbdags:
The kernels have to be modded to work with f2fs.

I will be adding more kernels to cormbi-kk in the future but for now you have a choice of _that, CM11 and hunds (f2fs)
[Asus Transformer TF700] kski:
Awesome! Since im on CROMBi-kk only the CM11 kernel in the OP would work, correct?
[Asus Transformer TF700] awilson77584:
Does this mean that all I have to do is:

Format the internal /data (/dev/block/mmcbkl0p2) to f2fs [Check]

Do a twrp backup of the internal data (deselect other partitions) [?]

Flash rom2sd1.zip [?]

Use twrp 2.7.1.0 to format the redirected /data to f2fs [?]

Restore the /data backup [?]

Reboot into the brave new world of rom2sd with f2fs on external [?]

I see a reference to rom2sd_f2fs.zip in the [MOD] [All ROMS] F2FS for TF700T topic. Is that OBE because of the recent changes to the Cromib-KK ROM?

Thanks!
[Asus Transformer TF700] kski:
When you Format the internal/data to f2fs it erases everything. I think you need to swap steps 1 and 2, or else your kind of defeating the purpose of recovering your data.
[Asus Transformer TF700] jokapo:
Somewhere along the way something goes wrong bu i dont know what.

I started out with the first part in the OP

1) Install twrp_f2fs recovery using one of the methods below

2) Reboot to recovery (if the recovery was installed you will see the 4 linux penguins after pressing the RCK button)

3) Enter the WIPE menu and select Format DATA ( warning all your personal data will be lost )

4) Wait until the format is complete then reboot to recovery again (if previous step was succefull your DATA partition is now F2FS )

5) Wipe Cache (Wipe Menu --> Advanced --> select only Cache partition and go)

6) ROM installation ( you can choose several methods to get your system back and running)

7) Install one of the F2FS kernels (based on the ROM you have) and REBOOT SYSTEM

Remember that everytime you install a new ROM you have to Reboot to Recovery and install an F2FS kernel.

This part did go fine

Part 2

**** Install steps ****

Download all the files from Rom2SD section in the Download page ( post #2) and save them on MicroSD

Download a Kernel from the Download page ( choose the correct one depending on your favorite ROM base) and save it to MicroSD

Boot your device in Recovery

Install Rom2SD_F2fs.zip

Install Rom2SD1.zip

Go to Mount option and make sure Data partition is unchecked ,if not,uncheck it and press Home icon to go back to the Main menu (don't press back)

Go to Wipe and press Format Data (this will format your external data partition to F2FS) - if is failing check the Mount option again

Install your favorite ROM (don't reboot)

Install an F2FS Kernel (don't reboot)

Install Rom2SD2.zip

Reboot and enjoy Rom2SD_F2FS

I followed above steps but at the format part i get the message data format complete Failed
[Asus Transformer TF700] kski:
In recovery go to mount and make sure your external data is mounted then go to advanced wipe and select data.
[Asus Transformer TF700] sbdags:
The only way I could get the format to work was format first in gparted (f2fs)
[Asus Transformer TF700] jokapo:
Ok will have a go with that :)

If i follow youre gparted guide then the 2nd and 3rd partition can be formatted as f2fs or just the data partition?
[Asus Transformer TF700] sbdags:
Just the data. No point in formatting system as f2fs as a) my installer formats it back to ext4 and b) f2fs optimises writes and you never write anything to the system partition ;)
[Asus Transformer TF700] jokapo:
Ok data it is piece of cake :)
[Asus Transformer TF700] kski:
I have CROMBi-kk installed internally with F2FS and everything is working great. What I would like to do is install Data2SD with F2FS on CROMBi-kk. I think I have the procedure down correctly? I went ahead and partitioned my MicroSD with FAT32 and F2FS using Gparted, it just seemed easier that way. I already have twrp_f2fs installed since my internal DATA is setup for F2FS. From here would I just install CROMBi-kk and select DATA2SD and choose the CM11 kernel?
[Asus Transformer TF700] sbdags:
Yes that looks good.You can install _that's kernel as well which offers more.