yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] radink:
I followed the directions using the Slimkat 4.8 and the matching Gapps. Once all done, I did the reboot and it just sits there at the flashing slimkat logo. Any ideas what is wrong?
[Nexus 7 Original Development] TheDudeAbides:
Carbon is stellar with F2FS.
[Nexus 7 Original Development] HeadKase:
The new TWRP 2.7.1.1 has the ability to format your system to F2FS. I goofed up after I copied Carbon and GApps by formatting everything and switching to F2FS. I copied Carbon and GApps to the data folder in the WugFresh installation directory and used adb sideload and everything works great. Let me know if you have any questions or need any help.
[Nexus 7 Original Development] jscarano:
Can we use Adblockers after applying f2fs? Im having issues with adblockers not working
[Nexus 7 Original Development] aircooledbusses:
Jrummy's adbocker works for me N7 flo f2fs data/cache
[Nexus 7 Original Development] jscarano:
Is it in the JRummy ROM Toolbox Pro? thanks
[Nexus 7 Original Development] aircooledbusses:
My mistake, I don't think it is a jrummy Ap, and I couldn't find it in the play store.

https://www.dropbox.com/s/iipppvr2lecue38/Adaway.apk

Hit the button if I helped
[Nexus 7 Original Development] Lo4eath:
Anyone tried this with the OnePlus One?
[Nexus 7 Original Development] Silverbrain:
Hi all! Took the plunge today, and not having success with it so far, hoping someone can point me in the right direction (searched thread = yes)

*edit* posted this in the wrong thread, left the pertinent information about twrp intact though. Mod can delete if not relevant or helpful.

No mounting errors noticed this time. Boot up again not completing, flashing SlimKat logo

Read earlier in this thread to format several times, so head to TWRP to try that....but...

TWRP starts to load, blinks, and loops start screen, never getting into TWRP.

Power of tablet for 5 minutes. -Same TWRP issue.

Reflash twrp from OP - Same

Flash twrp 2.7.1.1 - Same

*Edit2* Flashed Twrp 2.7.0.0 standard which worked. Copied files to my thumb drive and loaded twrp with an otg-cable. installed restorepartitions.zip, rebooted recovery, formatted data ala yes. I am at least back to where I started, now do I try again......

*Edit3* started over from the top (*of getting a custom rom with f2fs on it), more reboots and formated a total of 3 times, rebooted in between each one. SlimKat loaded quickly and I am off. I hope my ramblings are of use to someone in the future who runs into this.
[Nexus 7 Original Development] AhmedFaiz:
.. - mob pm pm

Oneplus one/PA 4.5 beta 4/AK
[Nexus 7 Original Development] Kewjoe:
Do you have a link to 2.7.1.1? I can't seem to find it
[Nexus 7 Original Development] scotte9999:
http://techerrata.com/browse/twrp2/grouper

(There's also now a 2.8.0.0)
[Nexus 7 Original Development] frangall:
Is it safe to flash 2.8.0.1 TWRP recovery on this SlimKat with All-F2FS rom? Any compability issues? I´m on TWRP 2.7.00 Thankyou for your opinion

http://techerrata.com/browse/twrp2/grouper
[Nexus 7 Original Development] tronmech:
Well, I'm not sure that's a good idea since the latest version seems to not have the ability to convert to f2fs.
[Nexus 7 Original Development] mkdr:
I had a few freezes so far after using this, one was cant read from /system or something and the kernel rebooted. Others included that Play store didnt install stuff and was just showing "..." in a loop or I wasnt able to uninstall an app with just "...". Is this f2fs really safe? Is there a newer kernel maybe? Device shows 3.1.10-LegoKernel-4.4.2-1.0+

Also the device was really faster after install, and after installing all my apps still it was much faster. However it happens at some random time, that the device suddenly becomes really slow and just a reboot makes it fast again.
[Nexus 7 Original Development] contesauce:
Stuck

Ok I'm stuck completely now. I had this working the first time I did it several weeks back, I wanted to try out the new kali linux nethunter on nexus so i did that and decided I wanted to get my slimkat back. So I wiped, reflashed this recovery and followed the instructions again to a T.

Now I'm stuck at either flashing slimkat screen, or if I try to use carbon it sticks at google screen. I've tried every thing i've come across as the fixes for other people in this thread and nothing works. My pc doesnt recognize it as an adb device, wug doesn't recognize it either, I do have an otg cable which is how I'm trying to flash roms, but I'm coming up bust. Suggestions? (when i get home today I'll try a different cable and then a different computer as well to see if i can make some progress)
[Nexus 7 Original Development] contesauce:
Tried on my other machine that was a known good with my nexus 7, same result, doesn't recognize in adb devices or wug root toolkit, however I can reboot via fastboot. Gonna give it a rest unless someone comes up with something else and I'll give it a shot.
[Nexus 7 Original Development] contesauce:
Still failing

Ok, so I was unable to do anything even from my other pc and different cables. Today I'm going to try flashing an older 4.3 rom that I saw someone mention worked for them, and then I'll try any suggestions. So far I was able to fastboot this morning and use fastboot commands, but when it comes to flashing the new recovery through fastboot I receive a signature mismatch on my device. Maybe progress I don't know. PS I'm trying to flash twrp 2.8.0.1 for grouper.

Edit: also in the terminal it says Failed <remote: InvalidState>>
[Nexus 7 Original Development] contesauce:
Holy mother of Jesus I finally got it. Oh the joys of finally fixing something after numerous tries and methods. Ok so for anyone who may come across this issue for whatever reason, if you have any of the preceding posts I made happen to you this is what I did to get it to work.

1. If you can still fastboot you should be golden, if you can adb I'm sure there are easier methods, but i was unable to adb only fastboot.

2. Download the factory image file for your device from here https://developers.google.com/android/nexus/images?hl=FR

unzip all the contents into your fastboot directory on your machine PC/MAC/Linux

3. Wipe the partitions with the following commands

fastboot erase system

fastboot erase recovery

fastboot erase boot

fastboot erase userdata

fastboot erase cache

4. Then install your new OS with the following commands:

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img :(here people gen. get stuck

fastboot flash userdata userdata.img

fastboot reboot

It should then reboot. The first time mine got stuck on the google screen and had to reboot again, then I got to the boot img and it took a long time about 2-3 minutes and it finally started up.
[Nexus 7 Original Development] octavious19:
Thanks!!

Rock on contesauce!!!! Totally saved me! :good::good::laugh:
[Nexus 7 Original Development] contesauce:
No problem I'm glad my folly could help someone lol. That's what these forums are about.
[Nexus 7 Original Development] mkdr:
I have a big problem, hope someone can help. I wanted to convert my friends Nexus7 (2012) to allf2fs, after my own one is working for weeks very well. I did the following:

- flashed TWRP 2.8.0.0

- flashed SlimRom 8.0 for having root

- copied converted SlimRom 8.0 zip to internal storage via ftp (converted it before in my own Nexus 7 where I bought the convert tool)

- flashed the custom allf2fs TWRP img via Flashify

- flashed FormatPartitions.zip in TWRP

- restarted TWRP

- flashed converted SlimRom8.zip

- flashed Googleapps.zip

- wiped data

- rebooted

And now I get a Google logo boot loop. And I wont get into recovery anymore too, after the TWRP logo I get a Google loop logo too. I pushed a normal TWRP 2.8.0.0 via ADB to it again, and now I can get into recovery again, but it cant mount anything because it doesnt support the fs I guess. What do I do now? What happened, why did it fail :( If I push the edited TWRP 2.7.0.0 (openrecovery-twrp-2.7.0.0-grouper-AllF2FS.img) to it via ADB again, I get the loop logo. I also cannot push any files to it via ADB just get an error, mostly because the file system isnt working with ADB.

I have flashed TWRP 2.8.0.0 again so I have recovery access, and I formated /data to ext4, and now I can boot (SlimKat boot logo) but when it enters Android I get a message: Type password to decrypt storage. ??? Whats going on :(
[Nexus 7 Original Development] mkdr:
Ive fixed it by doing the following:

- flashed TWRP 2.8.0.0

- formated /data to ext4

- flashed TWRP 2.7.0.0 (edited one)

- formated /data to f2fs

Now it worked... It seems theres some kind of rare bug in the TWRP 2.7.0.0 one which is offered here. Would be nice seeing the newest version edited to support allf2fs. Is the author still here anyway?
[Nexus 7 Original Development] claudio8:
hello everybody,

I read all threads but I am not sure how to restore a nandroid-backup. (app and data)

Actually my tablet is configured with all app and the F2FS partition but i would like to restore the data app from my backup.

thank a lot and good evening.
[Nexus 7 Original Development] s0ulreaver:
The guys behind MultiROM have compiled TWRP v2.8.0.0 with F2FS support, here:

http://xdaforums.com/showthread.php?t=2011403

I used Flashify (search it on Play Store) to update from this version, on my Nexus 7 and it worked just fine.

I'm pretty sure this info might be handy to some, took me a while to find the right answers :)

Cheers!
[Nexus 7 Original Development] adomol:
Has anyone tried the 2.8.1.0 twrp release to test the functionality of ext4/f2fs formatting? Does it work properly?
[Nexus 7 Original Development] adomol:
Well first one question, do you have titanium backup or a custom recovery like twrp installed?
[Nexus 7 Original Development] play541:
Hi sorry did not provide better info.

N7 grouper rooted, custom ROM Temasek CM11, just updated to TWRP 2711, yes Titanium back up PRO.

to back up APPS should not be no problem, but thinking about once doing the Format data, means all will be gone?
[Nexus 7 Original Development] adomol:
You should make a twrp backup if you want to go back to ext4 for any reason and back up your app data with Titanium then move all that over to your PC or flash drive. Because, yes, everything will be wiped from your n7 when you format. Then if you follow the directions from the OP you will be all f2fs in no time. After, just pick an f2fs rom to install. There are quite a few to choose from on the forums here. Slim, carbon, and liquid smooth to name a few. I'm pretty sure I've seen cm floating around as well. Then you can move your titanium backup data back over and restore or start fresh.
[Nexus 7 Original Development] play541:
Great! many thanks!
[Nexus 7 Original Development] GreyCelt:
OK, I'm at a total loss...

I tried to switch my N7 2012 over to f2fs a couple months back and could never get it to work so I gave-up. Now that LP 5.0 is out and I've sideloaded it onto my N7 I want f2fs now more than ever!

However, I can't seem to get it to work.

I have TWRP 2.8.1.0 and I'm unlocked, rooted and all that. I've converted System, cache, and Data to f2fs in TWRP.

The part I don't get is how do you flash the f2fs ROM and Gapps after you've converted everything to f2fs because it wipes everything off your device.

I've tried to adb sideload the ROM and Gapps through TWRP (advanced tab in TWRP --> ADB Sideload) but my computer doesn't recognize that I'm connected when trying to run the adb sideload command through the cmd window.

I keep getting "error: device not detected" or it gives me a long list of commands and such that can be used while in adb.

Is using an OTG cable the only way to do this properly because I don't have one? I suppose I should get one but it seems like people are able to do this without one so I'm confused.

Please give me some better understanding of how this works.

I have read this ENTIRE thread and other threads on f2fs ROMs and Kernels hoping to gain some insight with no luck. I have tried this method and others several times over with no luck. I have Googled this over and over and over...

EDIT: I just found a OTG cable at local retailer and did it that way and it worked like a charm! So...nevermind.
[Nexus 7 Original Development] JohnBonchie:
so they are asking for a password now? what should i do ?
[Nexus 7 Original Development] exeleon:
Delete
[Nexus 7 Original Development] fonnae:
Unable to mount /data [RESOLVED]

I had to do this as well when I ended up stuck on the loading screen with a Slimkat logo. After flashing the 2.8 recovery, I was able to mount /data and transfer the files over. Then after flashing the 2.7 recovery, I had to flash the slimkat rom and gapps. Then I formatted /data to f2fs. :good:
[Nexus 7 Original Development] TeamSlayr:
Do i still need to follow this guide if i flash the latest TWRP? Doesnt it have f2sf support?

Also shouldnt one wipe the system BEFORE flashing the rom etc? To avoid a bootloop.
[Nexus 7 Original Development] filipathtc:
So I flashed a new rom with f2fs support and everything went great. But then I tried to flash the gapps and got the Error message "set_metadata_recursive: some changes failed". I searched for it and found out that the current recovery is to old for it (2.7.0.0). Is there an newer recovery with f2fs support that will allow me to flash my 5.0 gapps?
[Nexus 7 Original Development] dbenyakar:
Same question. Current version 2.8.3.0 doesn't support All F2FS?
[Nexus 7 Original Development] ~wolverine~:
The latest version of TWRP is 2.8.4.1 and it supports F2FS.
[Nexus 7 Original Development] !crazy:
2.8.3.0 supports, 2.8.4.0 doesn't, 2.8.4.1 again supports f2fs.
[Nexus 7 Original Development] Anjey_1983:
Same question.

I flashed everything according to this thread and when the device booted on it asks me a password to decrypt storage. What is that? I've never had a password and I do not know what to enter. Any help? Did I miss something?

All procedures were done on Nexus 7 WiFi.
[Nexus 7 Original Development] Anjey_1983:
did u format cache and other after u flashed new rom? When I did it, everything went smoothly and that password massage disappeared.
[Nexus 7 Original Development] b4b4.4l1:
I'm now using 2.8.4.1 but I noticed when formatting it, it's still showing ext4 instead of f2fs. I'm running CM 12 which support f2fs out of the box. Did I do anything wrong?_?
[Nexus 7 Original Development] suku_patel_22:
I want data and cache to be f2fs. If I take a nandroid backup before formatting them, will it stay f2fs on restoring the backup?

Sent from the sixth dimension.
[Nexus 7 Original Development] adomol:
Only if you change the ext4 part of the backup files extensions to f2fs and you are using an up to date version of twrp... 2.8.6.0.
[Nexus 7 Original Development] wiredwrx:
Confirm these steps

Can someone confirm the steps to install as

Copy a ROM with "All-F2FS" support to your N7

Copy GApps to your N7

Copy FormatPartitions.zip to your N7

Reboot in bootloader

Flash this recovery with Fastboot (Maybe Flashify works too)

Reboot in new recovery

Flash FormatPartitions.zip

Reboot recovery (It's needed for some reasons..)

Flash ROM

Flash GApps

Go to Wipe Menu and Format Data (Not a simple wipe)

Reboot

Done.

I tried these, and it borked. I am, I guess, confused about installing the ROM and GAPPS, and THEN, doing a format of everything to F2FS. Doesn't the Format wipe everything off the tablet? Why doesn't the format come before Flashing the ROM and GAPPS?

Thanks
[Nexus 7 Original Development] Harpratap:
You could also use the official TWRP 2.8.x.x recoveries, it supports f2fs now.

goto Wipe>Advance Wipe> Change File system>f2fs

Do this for all the partitions you want.

Flash your ROM, Gapps ,etc and reboot :good:
[Nexus 7 Original Development] minifig:
Delete please
[Nexus 7 Original Development] wiredwrx:
Thanks. Worked a charm using TWRP
[Nexus 7 Original Development] !crazy:
You gave the answer in your first question. Because it wipes everything, actually that format wipes (formats) data partition, including internal sdcard. You can also do it before, but you will lose your ROM (zip) file, and won't have anything to flash.

Actually there should be a way of doing it by mounting USB stick, but previous option is more reliable IMO.
[Nexus 7 Original Development] skooter32:
Can't download twrp from mediafire won't let me
[Nexus 7 Original Development] deathfalls:
Ive tried the method and flash purity rom f2fs version but when it booted my n7 is asking for decyption storage password.. Pls help!!!! :(
[Nexus 7 Original Development] nex86:
Flashing the OpenGapps Slim package causes TWRP to restart.

Is that suppose to happen?
[Nexus 7 Original Development] WoodyTX:
Formatting Data Question

I'm following the process, using the latest TWRP (2.8.7.0) and the latest Slim build (4.4.2.build.4.8-weekly-3876-f2fs). I'm getting the "Enter Password" issue on boot into the System.

I have noticed that when I go to Format Data step, one of the log entries is "Formatting Data using make_ext4fs function", and when I go to the Wipe Partition function (just to check), the Data partition is EXT4.

I'm kind of new to this process. Can someone tell me what I'm doing wrong, and how to fix it? I'm on the verge of starting over with the builds from January, but there's been a year's worth of development on this since then, and I'd like to take advantage of that.

EDIT: I went back and used Legolas' TWRP, and it worked just fine. Here's to a responsive tablet.

Thanks, Legolas!
[Nexus 7 Original Development] lolobarjo:
I have try with Flashify and my device don't want boot in recovery anymore but with Fastboot it works like a charm. My N7 feels better :D

Thanks for this amazing work you're an awesome man ;)

Sorry for my bad English :)

Envoyé depuis mon Nexus 4 décollant avec CM11 -> Tapatalk
[Nexus 7 Original Development] adomol:
Since we're all about F2FS in here, I figured I'd ask this question here. I've used fastboot before to format my partions before a

factory image install (just cause I'm neurotic.) Now I'm assuming that if I were to go through that process again for some

reason, I'd be left with ext4 partions. My question is, does anyone know what it would take to get fastboot to format the

partions with F2FS?
[Nexus 7 Original Development] SkOrPn:
Well, just learned something very interesting. This setup does not allow you to flash other F2FS kernels. After setting it all up, I flashed M-kernel a68 F2FS Test1 (which works great on AOSPAL and OnmiROM), and it would not boot, just sits there at the Google logo. That made me realize that M-Kernel is not compatible with Slim, however when I go to flash back LegoKernel (I assume that is the stock kernel for this modified SlimKat) it to does NOT boot either, tried flashing it twice and it will not boot. So both LegoKernel (f2fs) and M-kernel (f2fs) can not be flashed and used by this setup? Is it the fault of this modifed TWRP maybe?

[MENTION=367999]Legolas[/MENTION], do you have an idea why other f2fs kernels will not work by chance? Thank you... :good:
[Nexus 7 Original Development] qu3becker:
I flashed alternate kernel with the same results.

I was running regular SlimKat with data in F2FS so it's not a problem with the rom. My only guess is that it needs a kernel with all-f2fs support.
[Nexus 7 Original Development] SkOrPn:
Ahh, yes that is probably why. OP did not mention this I do not think. Or I missed it, I just though kernel had to have f2fs support, lol...
[Nexus 7 Original Development] adomol:
Did you try taking the kernel out of the modified Slimrom zip that legolas posted and flashing that?
[Nexus 7 Original Development] qu3becker:
Dirty flashing the rom is easier.
[Nexus 7 Original Development] adomol:
True, I was just thinking of flashing the kernel from inside legolas' Slimrom zip to narrow down the reasons why the other 2 f2fs kernels didn't work. Since it seems that are different levels of f2fs support within the kernel itself.
[Nexus 7 Original Development] SkOrPn:
No, that did not cross my mind. I just dirty flashed the rom and was put back the way it was before I tried the 3rd party kernel. The dirty flash was unusually fast which surprised me but all was well when I booted.

I guess all-f2fs is now required on all parts of the device, recovery, rom and kernel...
[Nexus 7 Original Development] adomol:
An official twrp release with f2fs formatting support would be very handy. Hope that happens sometime in the near future.
[Nexus 7 Original Development] LLy_BosHi:
So it does require kernel to fully support F2FS and modified ROM that support it?

I really want to use purity rom with all fsfs because that's my daily driver :D

but well I sent a tip and it's has been featured in portal

so I hope other devs will bring all f2fs support too :D
[Nexus 7 Original Development] Erovia:
That's right, you need a compatible recovery to be able to format/wipe/flash and a compatible kernel to use the filesystem.
[Nexus 7 Original Development] ronedogg:
Sweet. Can't wait for multirom support, and I'm sold!

Thanks for all your hard work.
[Nexus 7 Original Development] signumized:
I have one question to those who have F2FS formatted the /data partition.

I have the 32 GB version and I have a non accessible "System data" of about 1707 MB. I have looked carefully using file managers and I couldn't find anywhere where could that data be used.

Could you please post a screenshot taken with DiskUsage https://play.google.com/store/apps/details?id=com.google.android.diskusage on /data partition ?

Thanks.
[Nexus 7 Original Development] ronedogg:
perhaps someone can explain what im doing wrong here.

i was on the newest multi rom before trying to flash this recovery with fastboot. i successfully flashed the recovery with fastboot.

but when i try to reboot into recovery to flash formatpartitions.zip it just goes back to bootloader..... cannot get into recovery at all.

if i just try to boot normally. it brings me to the multirom select rom boot splash page and my old rom boots normally.

edit. nvm i see now. damn recovery image is 88kb. download must have got screwed.
[Nexus 7 Original Development] SkOrPn:
Even if you had MultiRom support for ALL-F2FS you could not use but only one ROM. Until there are more than one ALL-F2FS ROM available MultiRom support is useless.
[Nexus 7 Original Development] ronedogg:
Isn't there 2 ROMs out with allf2fs? Slimkat and omni?
[Nexus 7 Original Development] adomol:
One more update on my conversion, I've noticed an appreciable increase in battery life. Not sure if this is due to the new file system or one of the few other rather modest tweaks to the kernel. I'm leaning towards the former, since I've used other kernels in the past with battery saving optimizations and never really noticed much difference.
[Nexus 7 Original Development] SkOrPn:
Hmm, I am only aware of SlimKat at the moment. Who has modified OmniROM? If its true, glad to see it happening already.
[Nexus 7 Original Development] ronedogg:
http://xdaforums.com/showthread.php?t=2679478

This dude ain't messing around. Lol
[Nexus 7 Original Development] jlazkano:
Thanks for the post,

In the last reboot I have a loop with SlimKAT logo.

I am missing something?

Regards.
[Nexus 7 Original Development] rocada:
I have the same problem.

I followed all the steps and after reboot the tablet loop after SlimKAT with logo.

I can not enter the bootloader.

I see the current load but fails logo with SlimKAT.

Recovery can enter there but I do not know what to do.

I tried to fix it with software NRT but without the tablet in bootloader mode, I can not do anything.

Please help.
[Nexus 7 Original Development] hungupdown:
Accesss to f2fs storage from Windows

Just trying out a few ROMs with f2fs, and have been noticing than access to device storage from Windows is a bit iffy! New file added at one end not appearing at the other, sometimes not even after f5 (Win exp) or refresh (ES-file exp).

I wondered if Windows has the right f2fs drivers, but don't know how to check this. I''m running Windows 7.
[Nexus 7 Original Development] skooter32:
Am stuck at slimkat flashing won't go past it followed legolas instructions to the letter anyone could help would be great cheers