yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] Dodgexander:
wrong thread
[Nexus 7 Original Development] bobkoure:
no F2FS option in Advanced Wipe(?)

on a Nexus 7 2012 (grouper)

Downloaded /installed modified TWRP in OP (go-back arrows are red). In Recovery mode, selected "wipe", then "advanced wipe".

I don't see any option to change file system type, even when I select a folder and wipe it (just wanted to see if the option would pop up... and... nope)

I'm clearly going at this wrong - help?

Thanks!
[Nexus 7 Original Development] tanana27:
thank you!!!!! sr. running like new my nexus 7 wifi 2012 w/ cyanogen mod version of android 4.4.2

thanks a million you did excellent job
[Nexus 7 Original Development] mykey38:
This may be a stupid question but I will put it out there anyway. I have installed Slimkat 4.4.2 (F2FS vesion) on my nexus 7. Its now updating the apps etc and its offered me an update to 4.4.3. Is it safe to apply the update over an F2FS rom?
[Nexus 7 Original Development] Vale76:
Followed all the steps in the first post ... flash TWRP-2.7.0.0 went OK ... FormatPartitions.zip also OK but after flash SlimKat 4.4.2 and restart, the tablet is stuck in the flashing SlimKat logo.

I can enter in bootloader and select recovery but in this case the Teamwin logo start flashing and nothing more.

My computer recognize the Nexus like a MPT but I cannot open it (transfer file or do something with ADB).

I was trying to install SlimKat 4.4.2 for after flash AutoDroid 1.2 that is SlimKat 4.4.4.

In the previous post I saw similar cases but not solutions :(!

Hope somebody can help me.
[Nexus 7 Original Development] TheNec:
Don't know if it helps but I would use newer recovery. In SlimKat thread they use at least 2.8.x.x

grouper

tilapia
[Nexus 7 Original Development] Vale76:
I was able to flash a new recovery (last twrp-3.2.1-0-grouper) and the tablet can now go in recovery :)!

I wiped everything and tried to flash again SlimKat 4.4.2 ... nothing ... SlimKat logo stay flashing forever.

Repeat all the wipes and tried with AutoDroid 1.2 ... same story ... SlimKat logo stay flashing forever.

Edit

Just installed another rom SlimKat 4.4.2 (Slim-grouper-4.4.2.build.4.8-WEEKLY-3876-F2FS ... before I was trying with Slim-grouper-4.4.2.build.4.4-WEEKLY-3798-F2FS and finally this one is starting!

Now I want try again with AutoDroid 1.2.

Edit

Just flashed AutoDroid 1.2 without wipe nothing and this time it is starting ... I have the Power Event Manager (icon on the top left) but I don't see the volume icons on the bottom ... not sure if AutoDroid is correctly installed :confused:

Edit

Found out how to add the volume icons in the navigation bar (Setting>Navigation>Navigation bar>Bottons ... and clic +) .

I installed also Supersu and gave permission to Power Event Manager ... but still it is not charging via the Otg Y cable.

I'm going to ask in the Autodroid tread.
[Nexus 7 Original Development] SkOrPn:
Well that is good news. I sure hope to see AOSPAL modified, as that is by far the best ROM experience I have had so far on this device. AOSPAL and M-Kernel with ALL-F2FS, is my final goal I think. :good:

OmniROM is good, but I do not like having to root a custom ROM myself, it should be rooted by default.
[Nexus 7 Original Development] ronedogg:
I've never used omni, just the option is there so why not lol.

What is aospal? If your waiting for it... It must be good lol

I've been on slimkat + m kernel and love it. I'm glad the dev uses it as his daily driver so we can keep up to date.

Can't wait for mkernel and I'm set!
[Nexus 7 Original Development] SkOrPn:
About 6 months ago or so a few very talented CM developers left Cyanogen, and started their own project https://omnirom.org/

They felt that CM was becoming overly commercialized and felt it didn't serve the Android community's best interests. Some experts say this is THE TEAM to watch out for.

AOSPAL has some of the best absolute highest optimizations that can be used. It uses the SaberMod GCC, which is just a dream on my Nexus 7. The absolute smoothest trouble free ROM I have felt so far. During flashing, setting it up and using it for several days not one tiny bit of lag or trouble was ever seen. Just an epic build of ParanoidAndroid. Yes I love it. The kernel dev is working on figuring out this All-F2FS thing, and maybe here soon we will see it released.

http://xdaforums.com/showthread.php?t=2636893
[Nexus 7 Original Development] ronedogg:
I've been enlightened.

Thank you.
[Nexus 7 Original Development] SkOrPn:
By the way, my experience was with their 4.0 BETA6 build released March 5th. I had wanted to try 4.1 BETA, but I flashed the wrong zip and ended up with a very big smile on my face.... GO FIGURE! :D
[Nexus 7 Original Development] PrizmaticSmoke:
Question: Can anyone tell me If I've already formatted /data to F2FS, can i just update my recovery and format the other partitions using the zip in the OP without losing all of my data again? Then just flash All F2FS Slim+gapps and be good to go?

I would like to give this a shot, but would also like to avoid backup and restore of all my data again if possible.

I guess the real question is what partitions does the FormatPartitions zip format? Just /system and /cache, or also /data? The steps in the OP lead me to believe that the zip does not format /data, but this is not explicitly specified.
[Nexus 7 Original Development] adomol:
Yes, FormatPartions.zip only formats system and cache. TWRP can format the data part.
[Nexus 7 Original Development] CptKlink:
Here to hoping we get a AOSPAL All-F2FS ROM as it is my favourite as well.
[Nexus 7 Original Development] SkOrPn:
I would like to say that I tried exactly what you are wanting to do twice and both times I was left with a device that could not get past the Google logo. I was not able to boot up to the ROM until I formatted the /data a second time. It really was a pain and I have not seen any benefit from going to ALL-F2FS. AOSPAL with just /data partition formatted was faster and smoother than Slim is using ALL-F2FS, at least on my device.

YMMV
[Nexus 7 Original Development] PrizmaticSmoke:
Thanks for the info, I was also curious about the added benefits of this or if it would be minimal, since you're not typically writing to system or cache anyways.
[Nexus 7 Original Development] qu3becker:
You don't dirty flash a recovery. It just replaces it.

So yes you can flash the new TWRP.
[Nexus 7 Original Development] adomol:
I thought it is a dirty flash if you don't fastboot erase recovery first?
[Nexus 7 Original Development] nlabrad:
Can't we just have a /data and /cache f2fs conversion and leave /system intact? How many times during usage is system written?

By just formatting cache we could have a simple transition from already formatted data partitions. Or not?
[Nexus 7 Original Development] signumized:
So is anyone able just to take a screenshot in DiskUsage of the /data partition ?

Thanks!
[Nexus 7 Original Development] legolas93:
I think i will help them! Don't want to "steal" their work by making my version..

Yes FormatPartitions zip doesn't format your data. Yes your procedure is correct. Remember that after flashing FormatPartions a reboot of recovery may be necessary.

Some benefits may be seen even during reading.

See my reply to PrizmaticSmoke. He listed the correct procedure!
[Nexus 7 Original Development] legolas93:
Yes. I have too that "System data". I think it's related to F2FS. But there is an explanation..(I think):

Every filesystem reserve some space for own operations. F2FS is different only because you can see how much space it takes while others filesystem may hide this amount of space.
[Nexus 7 Original Development] adomol:
View attachment 2629997

Here's mine.
[Nexus 7 Original Development] signumized:
Thank you both for the information. Now I can rest assured that I haven't lost any disk space.

Thank you also for porting this interesting file system to our old and performance degrading grouper :)
[Nexus 7 Original Development] mchiass:
I want extend a huge thanks for this. I was worried that I would have to abandon my Nexus. The new file system and SlimKat is awesome. My tablet acts like the day I got it. Fast as ever, just now with KitKat. :D:D
[Nexus 7 Original Development] SkOrPn:
Not only that, but you don't need to be taking on too many projects, lol... People will be asking for OmniROM and SlimKat updates from you now, haha. I went a head and informed Team AOSPAL in their thread of your willingness to help them build a F2FS version of their ROM.

On a side note, SlimKat has been working great. At first it was kinda unstable, but it seems to have solved its own problems. Now all I need back is the Google News & Weather app that I am used to using every morning. Not sure if that is part of the CM Gapps or Pa Gapps I was using or part of their ROMs.
[Nexus 7 Original Development] adomol:
That's definitely part of the PA gapps. I had been using aospa for awhile but since I switched to SlimRom to try out f2fs, I have to say I'm really liking it a lot. I even switched my N7 2013 to the ext4 version of SR too.
[Nexus 7 Original Development] SkOrPn:
Thanks, I will try and figure out if I can somehow pull that apk from the gapps package. I assume I can...

What you said about SlimRom. You said your really liking SlimKat with F2FS, but instead decided to go back to ext4 version? Why exactly would you do that? lol

EDIT: Err wait, nvm you have both Nexus 7's, don't you? 2012 is on F2FS, and 2013 is on ext4 with Slim. Gotcha!

Edit 2: apparently it's called genie widget and I pulled it from the latest PA Gapps. It's working perfectly. Thanks for pointing me in the right direction.
[Nexus 7 Original Development] gonzalocav:
Problems...

Hi all! I got in trouble.

Tried to install SlimKat with F2FS, and got permanent SlimKat animation. Never started into Android Kit Kat.

So, I tried to get back. I could never push any files into /system. Fix Permissions (TWRP) didn't work. I can tell my Bootloader is unlocked, and Rooted my device again. When I try to flash RestorePartitions it fails ("Invalid Partition Name). I can't flash Google Factory Image... I could only flash standard TWRP 2.7.0.0. :crying:

Please help... any ideas?

Thanks in advance!

**SOLVED** Installing 4.2.2 Image factory and Bootloader 4.18 (Before I tried 4.4.2 and Bootloader 4.23 when I got stuck)
[Nexus 7 Original Development] T-Keith:
Sorry if this has been posted, but is there a f2fs cm11 build yet? I can't seem to find one.
[Nexus 7 Original Development] SkOrPn:
Can I flash restorepartitions.zip to make the system and cache back to ext4 but leave data as F2FS? I want to go back to AOSPAL + m-kernel OR faux123 + /data F2FS please. Do I need to also go back to the other TWRP? Thanks

---------- Post added at 03:36 PM ---------- Previous post was at 03:34 PM ----------

Not for ALL-F2FS. But you can use legokernel, m-kernel test1, or experience kernel to get F2FS for data only. Faux123 just released his F2FS kernel but I am not sure it works for /data only.
[Nexus 7 Original Development] tkelly0727:
after ive complete the installation, my tablet booted up and now its saying to enter password to decrypt storage. someone help?
[Nexus 7 Original Development] SkOrPn:
LOL,

do you know how many times people have already mentioned this, and how many times it has been mentioned on how to fix it? Did you wipe or format? You MUST format data, not wipe... Did you type YES, when it asked you to? Read the instructions and do it again. Sometimes it requires that you try several times to get it right... Good luck
[Nexus 7 Original Development] tkelly0727:
sorry ill check throught the recent threads next time. and ive tried about 4 times and yes i followed everything. and i went back to stock for the time being will try tomorrow. thanks
[Nexus 7 Original Development] SkOrPn:
No problems, I also had to do it twice to get it right. And I also went back to stock in between, even though I now realize I did not have to. Just going into the recovery and formatting /data using the format button and answering YES to the format question would have instantly fixed it.
[Nexus 7 Original Development] brizey:
Questions:

Can we use this recovery and NOT format system and cache to F2FS?

I already have data formatted as F2FS from the older recovery. So if I don't use the FormatPartitions.zip, will the system and cache partitions remain formatted ext4? TWRP by default does not really format, it just deletes all the files when wiping. Is that the case here?

Also, how do you NOT format data when changing ROMs?

How do you do the standard wipe where it does not delete /data/media? Just not use the button on the first screen? Can I use the swipe to factory reset? Can I use the wipe data check box in the advanced wipe menu?
[Nexus 7 Original Development] sukesh1090:
I tried both PA4.1 Beta and latest purity rom but both of them got stuck at boot animation.here is the steps i followed,

- installed the kernel with flashify

- flashed the formatpartitions.zip

- flashed the rom and PA gapps(full package)

-"format Data" and yes format not wipe

-reboot to system and stuck at boot animation everytime.

any help is appreciated.thank you.
[Nexus 7 Original Development] -Johannes-:
I keep getting this error then trying to flash gapps.

'Unable to Mount cache'

What should I do?

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 7 Original Development] EddieN:
Hey guys,

I followed all the steps in the OP to the letter and slimkat is just stuck in a bootloop. I've tried twice now, doing the exact same procedure and it just won't boot past the SlimKat logo. What am I doing wrong?

I noticed that going to Wipe -> Format Data erases everything off the internal SD (as stated in the OP) meaning i need to keep pushing the ROM/GApps/Formatpartitions.zip to the device through ADB and recovery..

Help guys!
[Nexus 7 Original Development] sukesh1090:
[MENTION=4938827]-Johannes-[/MENTION]

you are on normal TWRP recovery right?

then try flashing that "restorepartitions" in OP and and then format DATA to ext4 using "format data" option in wipe menu.it should do it.it worked for me.

ONLY DO IT IF YOU ARE ON NORMAL RECOVERY NOT THE MODIFIED ONE.
[Nexus 7 Original Development] EddieN:
Edit: Wrong post.
[Nexus 7 Original Development] SkOrPn:
Eddie you should get yourself a small otg cable off of eBay and use a flash drive. It is much easier than pushing files every time the data gets formatted. Just a suggestion.
[Nexus 7 Original Development] EddieN:
Thanks for the suggestion, I have been planning to buy it for some time now but haven't gotten around to it :) I can't figure out what's wrong with the install process though.. It keeps hanging on slimkat bootlogo.

1. Downloaded modified TWRP, flashed it via fastboot. (via link in OP)

2. Flashed Formatpartitions.zip (via link in OP)

3. Rebooted Recovery

4. Flashed SlimKat F2FS supported ROM (via link in OP)

5. Flashed SlimKat AiO GApps (via link in OP)

6. Wipe menu -> Format Data -> type "yes"

7. Reboot system

8. Bootloop??? :(

What am I doing wrong?
[Nexus 7 Original Development] SkOrPn:
Hmm I don't know. That looks like the perfect steps. It has not worked the first time around for me either but on second attempts it seems to work. Try it again but don't flash the gapps yet. Let it boot up first. If it boots then go back and try the gapps. Also download PA gapps and have it ready just in case it's the slim gapps.

---------- Post added at 09:38 AM ---------- Previous post was at 09:35 AM ----------

Oh wait, format data AFTER the format partitions zip. Then reboot TWRP. Then flash SlimKat. Do not bother about wiping anything or formatting after the ROM install.
[Nexus 7 Original Development] brizey:
So does this mean there is no way to wipe data and preserve /data/media at all with this recovery? I get you need to do a full partition format the first time you set up, but what about when you change ROMs?
[Nexus 7 Original Development] SkOrPn:
No if you stick with F2FS I see no reason to ever format again. I'm just saying having the tiny cable around has made my life much easier. Now I can format when needed and not worry about losing data or media because I have it on a fast dedicated flash drive.
[Nexus 7 Original Development] :
Soooo..I reformatted the partitions on my Nexus 7 with this, then flashed f2fs omnirom and now the Nexus thinks the data partition is encrypted even though it never has been. Anyone else had this?

Reformatting it hasn't worked.

Edit: Formatting for about the fifth time succeeded.
[Nexus 7 Original Development] EddieN:
Thanks man, this worked. I flashed the Formatpartitions.zip and then did a format data. After that I installed slimkat and gapps and everything works :)
[Nexus 7 Original Development] SkOrPn:
Yeah, just about everyone has had this happen.

---------- Post added at 10:52 AM ---------- Previous post was at 10:50 AM ----------

You are most welcome, glad my inexperience has helped someone out... ;)
[Nexus 7 Original Development] :
My bad, should've read the thread.
[Nexus 7 Original Development] SkOrPn:
Seems like one little mistake and you get that message, lol. Not sure why though, but after several attempts formatting, this message goes away. Took me three times, and I am pretty sure I did it correctly also... :D

EDIT: I guess its like shuffling cards, you have to do it several times to be considered thorough enough.
[Nexus 7 Original Development] brizey:
So how do you just wipe data between ROMs (clean flash)? Which button do you press to not delete /data/media? I have an otg cable, but there is no way I'm using that for all of my twrp backups, titanium backups, external game data, etc. every time I switch ROMs. It's just not worth it, and there should be

a way to do the delete like on regular twrp. Just my titanium backups are 2.5 GB.
[Nexus 7 Original Development] SkOrPn:
My backup on flash drive is about half the 32gb space, around 14 or so GB. I have nearly 7gb of mapping data alone. I do not wipe anything. When going to this f2fs setup I simply connected my flash drive and transferred the data over to it. When I was done formatting it, I put it all back. Done!. I never have to do that again now and if I do, its a simple process to do it again. I flash ROMs all the time and never wipe data unless of course your doing something extremely rare like formatting data to another filing system, ie f2fs or ext4. The only wipes you do ever so often is cache and dalvik, but never ever data. (UNLESS your formatting, which is another subject altogether)
[Nexus 7 Original Development] brizey:
So you always dirty flash? And never had any issues?
[Nexus 7 Original Development] SkOrPn:
No dirty flashing here, I factory reset as usual. Factory reset NEVER touches data. Everyone knows this...
[Nexus 7 Original Development] brizey:
Of course it does. That's why apps like Titanium backup exists. Your "downloaded" apps are stored in /data/app/ and their data is stored in /data/data/. When you factory reset they are deleted, so you use titanium backup to restore them. It doesn't touch just one part of the /data partition.../data/media...because that is where your virtual sdcard files are. You are confusing "data" as in "my stuff" with "/data" the partition.

Right now, I know that pressing the format data button in the modified TWRP formats the entire /data partition, including /data/media where my TWRP backups, Titanium backups, etc. stored.

So you are saying that swiping for factory reset does the partial wipe that leaves /data/media and therefore the sdcard contents? That's all I really want to know.
[Nexus 7 Original Development] SkOrPn:
LOL, Titanium Backups are located in your /data partition under another partition called /sdcard, that's why they are always still there after Factory Resetting. Factory Reset DOES NOT TOUCH this data. TWRP and CWM both tell you this in their menus. Factory Reset only wipes the roms Data, Cache, and Dalvik, which is different from what you are thinking. In my TWRP I have to physically select sdcard in order to wipe my data from this device.

I have been doing this since 2007 and never once after about 2000 Factory Resets has it ever touched my personal files. It just resets the device back to stock, but does not touch your media files or personal photos or Titanium Backups or Nandroid backups, or anything like that. FYI, the format /data button they are talking about formats the ENTIRE device including the internal sdcard. It even asked you to type the word YES, in order to complete it...

EDIT: Below is the difference between Factory Reset and Data Formatting. Factory Reset NEVER touches the users data (a.k.a Internal Storage), never has and never will. There would have been lawsuits if it did. lol

I want to rephrase what I said earlier, because somehow you think Factory Reseting removes user data and it does not. What I should have said is a Factory Reset NEVER touches the users data. A clean ROM install only requires a Factory Reset. All the user data is retained before AND after the clean install, which includes music, photos, media, Titanium Backups, Nandroid Backups, etc etc etc... Only formatting Data would remove this stuff and that's different from a simple Factory Reset. If you use both methods together, "Factory Reset" AND "Format Data", than you are putting the device back to like it came out of the retail box, which is not necessary UNLESS, A) You intend to sell the device. B) You are formatting the entire device for reasons like what this thread talks about, going to another file system like f2fs.

Hope this was clearer this time.... :good:
[Nexus 7 Original Development] LucentBirch:
If I want to use faux123's new kernel with /data f2fs support will I be able to just flash it in the original modified twrp without getting a boot loop?
[Nexus 7 Original Development] SkOrPn:
Lol, the only way users like us will ever find out is if users like you try it, and then report back your findings... I would further suggest, flashing the newer TWRP, not formatting system or cache, just leaving data as-is formatted to f2fs, and then flashing the new faux kernel... That is my best guess and I am sticking to it. Well at least until further notice...
[Nexus 7 Original Development] LucentBirch:
Yeah I know just thought I'd check if anyone had yet so as to avoid any unnecessary issues.
[Nexus 7 Original Development] SkOrPn:
What ROM are you running?
[Nexus 7 Original Development] LucentBirch:
I'm running vanir. I tried flashing the legokernel zip from the thread, it failed. Tried faux123 and it worked and it's up and running fine right now with the original modified twrp.
[Nexus 7 Original Development] SkOrPn:
Ok install Diskinfo from the market and check to see which partitions are formatted what. You got me curious now... lol
[Nexus 7 Original Development] LucentBirch:
/data is still f2fs. Ram is still 972, just like it was on lego kernel
[Nexus 7 Original Development] SkOrPn:
Well it should be running good then. Not sure but I had to use FauxClock to get it to 1.5ghz. If that matters to you.
[Nexus 7 Original Development] LucentBirch:
Yeah it's running fine, I just thought that the Lego kernel was supposed to free up more ram and it didn't rally for me that's all. But faux is working, so that's cool
[Nexus 7 Original Development] brizey:
I guess I just didn't resize that the button on the first wipe screen actually formated the partition. I never use it or the swipe to factory reset. I usually just go into advanced wipe and wipe system (in case install script doesn't wipe), data, and cache. The data wipe on the inside menu works as a non SD card wipe. I assumed the outside one did, too. So I was concerned that all of the data wiping was destructive, despite what it says (given this is a modified recovery).

Thanks for answering, though. I should have been clearer. I've flashed maybe 200-300 times on twrp...should have known that button was different, lol... just never pressed it until now. When twrp first came one of its selling points was having all the wipes on one menu, so I kind of stuck there.