yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] johnlgalt:
Awesome. I'd rather get F2FS working, so how do I modify the RAMdisk to work with F2FS? And shouldn't that have been done with the modified recovery already?
[Asus Transformer TF700] LetMeKnow:
The modified recovery is just patched with the f2fs binary so you can use it to format your partitions with f2fs. It does not touch your kernel at all..:) I don't know if sbdags modified the Crombi kk kernel to work with the f2fs or not because I don't have a chance to use it yet. Sbdags will be a person to answer that.

To modify your ramdisk, you will need a repack/unpack tool, cygwin, and kitchen to do the work for you in window. I don't know much about linux..:crying:

The second option is to use the prescript to load your fstab.cardhu. _that and sbdags will have a better knowledge in that area... I hope that will answer all your questions...;) Good luck...:fingers-crossed:
[Asus Transformer TF700] johnlgalt:
Bah. Too late for all that. I'm going back to what I had before. :p
[Asus Transformer TF700] LetMeKnow:
So does it fix your problem? ;)
[Asus Transformer TF700] johnlgalt:
Doing it right now.

---------- Post added at 12:24 AM ---------- Previous post was at 12:19 AM ----------

Booted into recovery, used recovery terminal to flash old TWRP 2.7 (non F2FS), rebooted, booted back into recovery, started data format function and it says:

. I think I'll be back in business as soon as this is done - 90 minutes give or take :p

Glad I thought about trying such a cockamamie idea lol.
[Asus Transformer TF700] LetMeKnow:
LOL, good luck my friend...:fingers-crossed:

BTW, did you have your Nvflash blobs? It is always be nice to have something to work around just in case..;)
[Asus Transformer TF700] johnlgalt:
Never had a chance to make nvflash blobs - As soon as I bought the tablet I upgraded to JB without realizing I couldn't NVFlash from a JB Bootloader.
[Asus Transformer TF700] LetMeKnow:
The flatline is working with the jb bootloader. I got mine with the jb version .8...;)

Edit: We are off topic on this thread and hope pretoriano80 does not kill me..:o I am sorry pretoriano80.

[MENTION=2155137]johnlgalt[/MENTION]

Let me know if you want to get Nvflash blobs, pm...;) I will talk with you more tomorrow..
[Asus Transformer TF700] _that:
The staging partition is not meant to be mounted as it doesn't contain a filesystem - ignore the error message, maybe the recovery fstab is slightly wrong.
[Asus Transformer TF700] Pretoriano80:
Maybe i misunderstood, but some of you guys are trying to use the kernels build by sbdags on internal storage but those were meant for Data2SD.

If you want F2FS on internal storage just stick to the directions on the OP, no need to modify ramdisk or other stuff.
[Asus Transformer TF700] Pretoriano80:
OP Updated

OP updated with a new CM11 kernel which should fix the device wake issue.
[Asus Transformer TF700] wnerw:
Ok, my mind was refreshed after the night. I think I got the problem, but I would be grateful if someone would look into my problems, as I may fail again :p

To clear things out - I'm trying to get a rom2sd setup, CROMi-X internal, CROMBi-kk external, both on Hunds 3.4.5 kernel, both data partitions formatted to f2fs.

Also, under each rom I want to have data and system from the other rom mounted as datai and systemi. Fat32 mounted under both ofc.

Here are my system/boot folders. At first sight I see that fstab.cardhu are incorrect for my setup. It's the only file to modify, right? Those "ext4" after data and datai lines need to be "f2fs"?

[MENTION=5313285]LetMeKnow[/MENTION] you asked for the folders, could you have a look?
[Asus Transformer TF700] Pretoriano80:
I'm testing Rom2SD right now and it's working fine,if all goes well i will update the OP later today.
[Asus Transformer TF700] JBT1:
Restore issue

Hi,

I'm facing an issue when trying to restore my backup. It failed and attached is a screen copy.

I followed the OP, at reboot time I see the 4 penguins, when I did the data wipe, I see that f2fs was mentioned, but during retore, it looks like it is trying to format in ext4 format ?

Any idea ? Any suggestions ?

Thanks
[Asus Transformer TF700] Pretoriano80:
Is using ext4 to format the /system,not the /data partition.For the /data partition the recovery it's using -rm to delete wipe it,using mkfs_f2fs would format data/media too and we don't want that,right?

The fail warning should only point that no /boot partition was restored and if you flash a F2fS kernel after the restore it's done then you should be fine,after rebooting the restored system should be up and running.
[Asus Transformer TF700] JBT1:
Well, I don"t know for the media. I'm not famillar with Backup/Restore.

I install That_F2FS.zip kernel and I reboot but I'm stuck at 1st line after the 4 penguins...

Gonna try to restore again.

Edit: Restore failed again on system... How to switch back to previous file system in order to try to restore in it ?
[Asus Transformer TF700] wnerw:
Flash non-f2fs twrp again and format data.
[Asus Transformer TF700] JBT1:
Sounds that I have to do a fresh install!

I think I undertood where the problem was coming from: I did a backup with TWRP 2.6.1.0 and it looks like there are some troubles with it! I try to re install old TWRP, but backup failed also. Going for a fresh install
[Asus Transformer TF700] johnlgalt:
So, then I can assume that hte kernel did, in fact, get installed at that point and reboot the machine to start playing?

I'm not. [MENTION=518363]sbdags[/MENTION] made 2 versions, one for DATA2SD and one not. Quoted below are the natural progression of his posts showing the difference in the kernels that he packaged.

And here is the verification of that kernel MD5:

View attachment 2660853
[Asus Transformer TF700] sbdags:
What's the issue you are having? - the unable to mount staging happens on every TWRP version I have seen and should not impact the flash process. Are you saying the kernel doesn't actually flash?
[Asus Transformer TF700] johnlgalt:
Whole host of issues. Upon rebooting into bootloader, I get a message written in the top left where it usually states the deice is unlocked that "Key driver not found.. Booting OS" - never noticed this before.

When I get to the last step of flashing the kernel, I got that error message, and it did not boot.

I'm going through the exact same steps again to see if it is just my tablet, or PEBKAC.
[Asus Transformer TF700] sbdags:
Well the key driver not found is normal and has been there for ever. What error message? Unable to mount staging. Again perfectly normal......
[Asus Transformer TF700] johnlgalt:
Yeah, just haven't been noticing either of them. It seems to work, am benchmarking it now to see how well it plays with some of my apps, making sure ART is still enabled, etc.

Definitely a PEBKAC issue - I was panicking over 'normal' things.
[Asus Transformer TF700] Essentrix:
Look forward to it.

After flashing F2FS on internal then numerous attempts I gave up on running ROM2SD; f2fs or otherwise. ROM2SD worked fine before installing f2fs but now living with CROMi 5.4 F2FS on internal as its so fast and smooth.

Would be nice to run ROM2SD and compare.
[Asus Transformer TF700] LetMeKnow:
I think that you will be benefit more with Data2sd than Rom2sd because your data and system are resided on two separated SSDs.... :) You may see improvement on multitasks if you are using Data2sd... It is just my two cents...
[Asus Transformer TF700] Essentrix:
Understood mate. Havent used data2sd before. From memory I'd reformat the SD card with 2 partitions to use data2sd?

I have CROMi-X 5.4 F2FS running on the internal and a SD card with 3 partitions for the ROM2SD setup. Could you run me through the process from here?
[Asus Transformer TF700] berndblb:
http://xdaforums.com/showthread.php?t=1962507
[Asus Transformer TF700] LetMeKnow:
You are correct about the data2sd. It is the same concept with rom2sd...:) For data2sd, you need 2 partitions. One is fat32 which is your storage data. Second is your f2fs for your app data. You could use gparted to create both partitions and set both as primary partitions. It is all for the preparation for the external sd. You need a data2sd using f2fs flashable zip to install in your custom recovery. Since you are running both f2fs on your internal and external, you may want to check the fstab.cardhu in the data2sd zip to have both set to f2fs.. If you need help with the flashable zip, I can modify one to work with your case. I need to know what kernel you are using so I can do it... good luck...:fingers-crossed:
[Asus Transformer TF700] Pretoriano80:
Honestly i'm having hard times to get Rom2SD working with F2FS.Somethimes the external rom doesn't even boot and when i manage to make it boot wifi and bluetooth doesn't work.Did so many tests yesterday that at some point fstab was even in my dreams last night. :D
[Asus Transformer TF700] wnerw:
Is there a way to check what is the file system of internal data? I want to make sure that it was formatted to f2fs correctly. With external there is no problem, I just shove microSD into my pc and open gparted, but with internal I have no idea.

Still fighting with rom2sd setup...

EDIT I tried messing with fstab.cardhu too... No success with setting up rom2sd with f2fs. I give up :(

EDIT2 I aslo failed with setting up data2sd. Some facts for anyone wanting to try getting this to work:

-.not mounting datai and systemi won't help

- internal rom won't boot after setting up external rom

- every kernel fails - _thatv9 and cm11 give same problems

I hope someone smarter than me will find out how to make rom2sd with f2fs happen.
[Asus Transformer TF700] Essentrix:
Hey thanks for the feedback and offer to assist. Currently using _thatv9 but flat out preparing to fly out on the weekend. Need this little sucker working for the trip so probably going to leave tinkering until I get home mid May.

Have to say I do love the transformation with F2FS; even using internal basically lag free. In fact a better experience IMHO than Crombi-kk ROM2SD. If I get a spot while away I might have some time to play with this some more. Always appreciate your input mate. Cheers.

---------- Post added at 10:03 PM ---------- Previous post was at 10:01 PM ----------

Glad someone with your expertise is working on making it happen. Hope the dreams are a little more pleasant tonight...:)
[Asus Transformer TF700] yew123:
Hey [MENTION=5313285]LetMeKnow[/MENTION], I would love to run F2FS Hunds 3.4.5 with your ET data2sd on Cromi-X 5.4. Do you think you could help me out by creating a flashable zip? I'd greatly appreciate it :)
[Asus Transformer TF700] wnerw:
It's already there.
[Asus Transformer TF700] yew123:
Is that just hunds kernel or does that include LMK's extreme tweaks as well?
[Asus Transformer TF700] wnerw:
None of that, this is a patch. Go for the guide in OP, choose normal CROMi-X as rom and Hund's latest kernel from 2nd post in this topic. After guide completion just flash this patch over the installation. Should work, at least for LMK it does.
[Asus Transformer TF700] LetMeKnow:
This is a data2sd for hund v3.4.5 script to work with f2fs and has a new ET to associate with this wonderful f2fs....:) So you need to have hund v3.4.5 and Cromi X as your normal setup on the internal sd. you need create two partitions on your external sd. The first one is fat32 and set it as primary in gparted. The second one is f2fs and set it as primary in gparted also. You need gparted version 0.17 or 0.18 to be able to format your sd with f2fs. The older versions are very buggy...:crying: After formatting, you may ignore the message that said unknow partition with f2fs. I think that it is a bug...:)

When you are done with the setup above, put your new created sd in your device and boot into your recovery. Flash it with the downloaded F2FS-Data2sd.zip. Reboot and done...:) Good luck and let me know if it works...;)

BTW, you can follow the link that [MENTION=3319937]wnerw[/MENTION] post and download my flashable zip..

---------- Post added at 09:29 AM ---------- Previous post was at 09:26 AM ----------

What is your issue now? I thought that you got it working. I don't know much about Rom2sd because I had a minimal time to play with it but the Data2sd is working good with this new file system, f2fs. Let me know if you need help setting up for the Data2sd...:)
[Asus Transformer TF700] graphdarnell:
Flashed F2FS with ROM2SD compatibility on internal and it booted ok. Try booting from SD card (ext4 ROM2SD) was a no go. So I reverted to _that 3's recovery, formatted back the internal to ext4, then installed CromiX 5.3 with R2SD compatibility. Booted up fine except at the penguin screen, it did not seem to recognize ROM2SD. Just one line "preinit...." Upped to That v9 kernel to no avail. This did happen to me once before, and I can't remember what I did to get it going again. How do I fix it?
[Asus Transformer TF700] sbdags:
Ah F2FS is not compatible with ROM2SD yes due to the old way I implemented ROM2SD on CROMi-X. You'll have to wipe you system/boot folder on internal and use _that's alternate method for installing rom2sd kernels.
[Asus Transformer TF700] graphdarnell:
I solved it just before seeing your reply. I re-flashed Crombi on another sd, booted it, shutdown and reinserted the old card. Works now. Many thanks for the info.
[Asus Transformer TF700] guliver365:
I would love to try F2FS with ROM2SD but even after reading this tread several time I get confuse how to proceed. Right now everything is on EXT4 got cromix on internal and crombi KK on external using optionROM2SD

So how do I get The internal F2FS + crombi KK ROM@SD onF2FS?

I hope somebody can give me some simple direction in order to achieve this.
[Asus Transformer TF700] graphdarnell:
You don't. That's what I tried to do, but internal F2FS don't do ROM2SD on the external. You can have F2FS on internal with possibly D2SD on external, except that really defeats the purpose if you only have a 16GB or 32GB sdcard. F2FS puts my tab on steroids though. Just that, as it is, it don't provide enough flexibility.
[Asus Transformer TF700] guliver365:
At least I can try the D2SD do you think it is possible with CROMBI_KK?

Can somebody post simple instruction for this?

so far I was just able to to have cromi5.4 on internal formatted toF2FS WiFi was ok but was unable to download anything from Playstore
[Asus Transformer TF700] _that:
That should be possible, but directions for doing that are only simple if you have basic knowledge of the Linux command line, editing files, and adb.

F2FS on internal with D2SD is highly pointless. :)
[Asus Transformer TF700] yew123:
Thanks for all your help! I'm up and running with data2sd f2fs and the performance is fantastic
[Asus Transformer TF700] berndblb:
Ok, decided to give f2fs a try this morning. And I'm in the dreaded "Encryption unsuccessful" loop now.

I am on the 3-22 CROMBi-KK build with _thatv9

Backed everything up,

flashed twrp_f2fs.blob in terminal

rebooted to TWRP

format data (checked the log, it said it was formatting to f2fs). This step took only a few minutes (if that - I wasn't watching it)

Rebooted

Pre-init scripts seem to run normally

CROMBi-KK boot animation runs, then the "Encryption unsuccessful" screen. Tapping 'reset tablet' reboots into TWRP but to a screen titled

"Running open recovery script"

I get:

Updating partition details

Full SELinux support is present

Processing AOSP recovery commands

Wiping data partition

Formatting cache using make_ext4fs function

It stays on this command for maybe a minute, the rest is too fast to catch, but I think it was "wiping data without wiping data/media". But that's gone in the blink of an eye. It then reboots to the same cycle.

I can access fastboot, but booting TWRP immediately starts the above cycle.

I have seen this encryption unsuccessful error a number of times lately and I wonder if anybody knows what is causing it??? I suspect TWRP 2.7 has a bug...

My next step would be to fastboot erase recovery and flash TWRP again, but I'm wondering if there's anything I could do to help illuminate this problem.

So for now I'm just going to leave it where it is until I get y'all wise counsel. :)
[Asus Transformer TF700] sbdags:
I can't see where you have flashed a kernel that is compatible with f2fs. Cos that is your problem.

Just got to 2014.04.03 release of CROMBi-kk, it's all built in for you.
[Asus Transformer TF700] berndblb:
Ahhh, installation instructions here state to flash the kernel after formatting to f2fs.

So you think I got into this loop because I rebooted system without a compatible kernel?

Should I have rebooted straight to recovery after the format to f2fs?
[Asus Transformer TF700] Pretoriano80:
Look at step 7 in OP mate,all the info it's there in the OP. ;)

[MENTION=518363]sbdags[/MENTION]: did you managed to get Rom2SD working with F2FS? Here it's always failing (with CrombiKK doesn't boot at all and with CM11 M4 release wifi doesn't work).

Sent from my Nexus 5
[Asus Transformer TF700] sbdags:
Try this,

Twrp-f2fs

Wipe data

a) install CROMBi-kk with f2fs option

Or

b) install rom and then install f2fs kernel

Reboot

---------- Post added at 07:21 PM ---------- Previous post was at 07:19 PM ----------

No I haven't implemented it yet... I goit data2sd working with it so rom2sd should be easy. I'm on hold for 3 weeks though now :) You just need to update the fstab in the data2sd ramdisk for mmcblk1p3 as system f2fs
[Asus Transformer TF700] berndblb:
That would be easy IF I could get into TWRP. If I boot into recovery it immediately starts the loop I described above. Meaning I cannot flash a rom or kernel right now.
[Asus Transformer TF700] Pretoriano80:
That's what i did, but still have issues (and afaik _that's Rom2SDpatch2 is modify the fstab on the fly when mmcblk1p3 is detected, or maybe i'm wrong?) and i get some errors (mostly about permission denied on /system) when [MENTION=4878287]_that[/MENTION] preinit script kicks in.

Sent from my Nexus 5
[Asus Transformer TF700] _that:
While it is formatting, run this on your computer:

adb shell dd if=/dev/zero of=/dev/block/mmblk0p3 bs=64 count=1

This should break the reboot-to-recovery cycle by erasing the 'reboot-to-recovery' command in the misc partition.
[Asus Transformer TF700] LetMeKnow:
Do you still remember a while back that we were talking about weird behavior when CM11 introduced to tf700t over transformer forum...:silly: Obviously, there is a issue with the recovery. You may try to flash the twrp again to see if it solves the problem...:)

[MENTION=507649]devs[/MENTION] or advanced users

EDIT: DELETE. Incorrect information.

---------- Post added at 11:42 AM ---------- Previous post was at 11:32 AM ----------

I am using TWRP 2.7 running with Cromi X 5.4 without any issue. Maybe, it is incompatible with KK.. FYI...:)
[Asus Transformer TF700] berndblb:
Thanks _that. I had the same idea but did it in fastboot: fastboot erase misc.

If finished successfully, but did not break the cycle. Couldn't try the dd command because I solved it now.

Not sure what eventually solved it and that bugs me, but it's running now.

I flashed TWRP, fastboot reboot-bootloader, entered TWRP - same cycle

Flashed TWRP, fastboot reboot, let it boot to rom boot animation - same cycle

Flashed TWRP, fastboot reboot and booted with Power and Volume Down to bootloader.

this time TWRP started normally
[Asus Transformer TF700] _that:
We don't - the recovery is a boot image, just like the kernel.

---------- Post added at 09:04 PM ---------- Previous post was at 08:59 PM ----------

OK, if you could enter fastboot then it was no forced reboot to recovery, or the recovery already cleared the command in misc. Maybe erasing cache would have worked.
[Asus Transformer TF700] berndblb:
I'll try that next time... ;)
[Asus Transformer TF700] LetMeKnow:
Thanks _that. I did go back and checked. It is not the recovery partition. I found it in the ramdisk of the CM11 and it is a staging partition with ext3. I hope that it is a not a mistake again... Sorry...:o
[Asus Transformer TF700] _that:
The staging partition is used for update blobs only - no filesystem there. Seems to be a bug in CM that can only affect CWM, but maybe it's totally harmless.
[Asus Transformer TF700] LetMeKnow:
Thanks again. I found ext3 a while back when playing with the Crombi kk. I just bring it up and remember it incorrectly.. I am an old man and my memory is useless, haha...:laugh:
[Asus Transformer TF700] loner.:
Does the positives outweigh the negatives using F2FS?
[Asus Transformer TF700] berndblb:
I take that warning seriously...and literally.
[Asus Transformer TF700] loner.:
If you can't risk anything of importance because there is nothing that can fix a f2fs corrupt partition at this time, then its to risky ATM unless you have a tablet just for beta testing and experimenting not a tablet you count on.
[Asus Transformer TF700] nevertells2:
Nice job. If you could add a twrpf2fs.zip to simplify replacing an existing recovery would help simplify this process. Thanks, NT
[Asus Transformer TF700] antabaka:
Or you could use Flashify

https://play.google.com/store/apps/details?id=com.cgollner.flashify
[Asus Transformer TF700] _that:
A zip installation is not simpler than fastboot. If you don't have a working fastboot and adb setup, you shouldn't go near experimental stuff like this anyway.
[Asus Transformer TF700] Pretoriano80:
This is the reason i didn’t added a flashable zip (and i will never add it),if it's to much for someone to flash a recovery using the good old methods then he/she should stay away from mods like F2FS.

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Asus Transformer TF700] Pretoriano80:
And still Motorola use it for their devices and after many research i didn't find anything info if Motorola managed to get a working f2fs error repair solution.Maybe this FS is much stable than how EXT4 was back in its early stage,who knows.

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Asus Transformer TF700] pakatus:
hey you guys..

been reading a lot however i find a doubt no one (at least that i could find)..answered.

What if after formatting internal on f2fs i want to revert to ext4? whats the procedure?
[Asus Transformer TF700] berndblb:
Install "normal" TWRP, format data.
[Asus Transformer TF700] LetMeKnow:
[MENTION=2642882]Pretoriano80[/MENTION]

Are all your kernels f2fs are for interrnal? Do you have anythhing for data2sd oor rom2sd? Is _that_F2FS v9? There are a few users would like to use f2fs for their data2sd and rom2sd but could find any instructions and zips available to use...:) Maybe you could help them out...;)
[Asus Transformer TF700] Pretoriano80:
Afaik sbdags already provided some F2FS_Data2SD kernels here in this thread.

As for F2FS_Rom2SD i'm having some issues and i still need to understand why it doesn't work correctly.

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Asus Transformer TF700] LetMeKnow:
Oh, I see.. I am a little busy lately and don't follow the development closely. I may miss it, thanks....:)
[Asus Transformer TF700] Pretoriano80:
Or if you have enough knowledge/confidence with terminal you could format to EXT from Recovery, once you do it you TWRP_f2fs will work as norma TWRP as long as you don't format your /data partition.

I will also try to provide a flashable zip that will format data to EXT4 from recovery.

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Asus Transformer TF700] berndblb:
twrp_f2fs can read/write/wipe an ext4 partition? As in: you could use it to make nandroids/restore if you formatted /data back to ext4?

_that mentioned in another thread that you need f2fs compatible recovery to be able to backup/restore/wipe f2fs partition.

That's not true the other way around?