yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] asilentcivilian:
Among others haha
[Nexus 7 Original Development] Fishwithadeagle:
n00b help?

Hello,

Was trying to convert the stock factory image to a f2fs with the app. Whenever I have tried to convert the initial zip file after I have extracted it from the tgz, the files in the folder for the f2fs app delete. Can someone help me with this.
[Nexus 7 Original Development] lotherius:
The stock factory image works with data-F2FS, but not All-F2FS. Nobody (that I know of) has gotten it to work. Don't know why.
[Nexus 7 Original Development] Fishwithadeagle:
Don't take this the wrong way, but how different/worse is slimkat than stock? Also, still kind of irritated that the app I bought doesn't work but oh well, I'm being charitable. Also, I do have the right files, right? The .zip inside the .tgz?
[Nexus 7 Original Development] Natakranta:
The zip inside the tgz from factory image?

This is not a custom recovery flashable zip.

The app is design to concert certain custom rooms in their custom recovery flashable zip format.
[Nexus 7 Original Development] SkOrPn:
The app works perfectly every time I use it.
[Nexus 7 Original Development] metalblaster:
How did you remove the file size check? Not really familiar with the way they format the Gapps zips.

---------- Post added at 12:02 PM ---------- Previous post was at 11:36 AM ----------

converted the latest PA rom as well as modified the Gapps to work, however, when I connect via a USB port, on my desktop it shows files as "local disk" with no name or anything associated with them. Its rather wierd. Anyone know what this is about? Its almost as though windows cant read the partition.
[Nexus 7 Original Development] el_venga:
For anyone stuck with the cant mount /cache while reverting to ext4, reboot to fastboot and type fastboot erase cache or any other partition that cannot be mounted.
[Nexus 7 Original Development] hanschke:
do I lost my data if I do an update ot the filesystem?
[Nexus 7 Original Development] junxracr:
Yes. Remove all important from phone. It will be wiped.
[Nexus 7 Original Development] !crazy:
Hi, sorry if this has already been answered, any anytime can flash TWRP with heimdall. Only issue I had is that something has to be written with capital letters, I think the partition name (RECOVERY), but I'm actually not sure any more is it capital or small letters. You can try both :), and see. The thing is heimdall is case sensitive, and it matters which letters were used for partition names. I was going this issue because. I was following a tutorial where small letters (IIRC) were being used, and obviously Samsung changed the way of naming the recovery partition. It looks like they were using small letters before and it the last time, at least since S4 capital ones.
[Nexus 7 Original Development] Spectcrono:
Hey guys!

I've trying to get this to work. Bought the app, converted the latest OMNIrom. Placed everything in the device and flashed the modified recovery through fastboot. Rebooted and then flashed the FormatPartitions.zip and rebooted again. TWRP asked whether I wanted to install SuperSU since, apparently it wasn't installed in my device, which is odd since I was running a stock rooted rom. Thought maybe flashing the zip might have lead to losing root, so I told it to install it (mistake?). Rebooted and lo, bootloop. Got into fastboot after sometime (it keppt on restarting the first few times) and tried flashing the rom and it started showing 'couldn't mount cache' errors and that the rom was for tilapia and my device is grouper (its not).

I flashed the factory image and am back to normal TWRP. So here's something I should've probably asked before I started all this, this recovery IS compatible with Nexus 7 3G (tilapia), right? And if so, where did I go wrong?
[Nexus 7 Original Development] Ticiano:
Weird... I came from completly stock and did everything as told in the OP, but when I reboot I'm asked for a password to decrypt storage...
[Nexus 7 Original Development] brooker88:
Hi i followed everything you said but i get stuck on google screen, nothing happens just stays there.

---------- Post added at 10:14 AM ---------- Previous post was at 09:29 AM ----------

Exact same happend to me, no matter what i do it always says im not rooted. Can anyone help?
[Nexus 7 Original Development] minifig:
Regarding the cache: you should format this manually. I had that problem also.

And I didn't install the supersu.
[Nexus 7 Original Development] Doward:
FWIW, make SURE you run FormatPartitions BEFORE flashing the ROM.

All is well, here :)
[Nexus 7 Original Development] Goose306:
Legolas can you point me in the direction of your commits to make the modified TWRP? I'm interested in what you did to create it as I'd like to see about putting F2FS on other devices (particularly my S3) to see if there is tangible benefits.
[Nexus 7 Original Development] D-m-x:
The newest Version of TWRP 2.7.10 actually supports Changing the File System for every Partition. I dont know if this Option is available for every Device, but on the Grouper and Hammerhead it is available so i think we don't need a modified Version anymore. If you happen to have a Device with the newest TWRP Version where this Option isn't available, simply write the TWRP Team, they will take care of it.
[Nexus 7 Original Development] brizey:
I ran into some issues with it, but I need to try a few more tests to make sure it was the recovery and not the zip I was trying to flash.
[Nexus 7 Original Development] nsyncfan:
Revert Back

Once i flash the custom recovery and the F2FS/All F2FS roms, how would i restore the stock partition type ?? :confused:

And just to be on the safe side...are there any possibilities of getting my device bricked using such a thing ?? :confused:
[Nexus 7 Original Development] Eckyx:
Edited.

@OP, is it safe to take Slim updates if I've used the version linked in your post?
[Nexus 7 Original Development] lotherius:
Nope, you'd need to convert them to include All-F2FS support. Otherwise your partitions would be unreadable, which is generally considered a Bad Thing™.
[Nexus 7 Original Development] superuser.pm:
I want flash file .img from sdcard by app Terminal emulator.

What the code to flash recovery by app Terminal emulator?
[Nexus 7 Original Development] hasanmissy:
help

can i restore partition without PC with only USB OTG cable
[Nexus 7 Original Development] Grizzly6117:
download the new twrp it flashes both f2fs and ext 4 now, when you go to wipe and advanced it give you the option to repair or change a partition or partitions, no need for this recovery anymore
[Nexus 7 Original Development] LucentBirch:
Okay I need some help. I was on vanir 4.2.2 with /data only and I wanted to update to the 4.4.3 nightly...I wanted it to be a clean install so I did a standard wipe, flashed rom, flashed gapps, wipe cache and dalvik, reboot recovery and install f2fs compatible kernel (faux123), reboot. got the encrypt page. I got to the point where i flashed everything and then did the format data that everyone always said would fix it...but guess what? Still appears...I don't know what to do. Now I have no backups to flash and no zips to flash either...I am so frustrated with how twitchy this filesystem is...

Update: I am stuck, I have no where to go. All zip files are gone and my tablet won't communicate through any of the toolkits that I have used in the past...not recognized in fastboot and stuff. I don't know how to do it manually or anything like that, but I need to be able to transfer zip files to my tablet so I can go back to the version I was using before, or at least transfer the files to go all-f2fs and not just /data.
[Nexus 7 Original Development] frescagod:
after sitting on stock rooted 4.1.2 for the longest time, i finally bit the bullet and went F2FS with SlimKat 4.8, 4.4.2.

It.

Is.

FANTASTIC.

it seriously breathes new life into my Nexus 7. i used to just use the tablet to save battery life on my Galaxy SIII, but now, i prefer using the tablet for a lot of things.

F2FS = amazing. totally worth the hour of screwing around to reformat, flash the new ROM, and reinstall apps.
[Nexus 7 Original Development] bodega1968:
Procedure for ALL F2FS

dear lego,

first of all, great work and development on f2fs. i actually accidentally encountered your page and was intrigued that the 'home structure' of flash devices is f2fs. given this idea, i felt i had no other reasons but to shift to f2fs from the ext4. thanks for the clear step-by-step procedure. there were some glitches that gave me a 'brick-scare', but i know as long as recovery (especially twrp due to the OTG capabilities) is there, i was still far from being bricked.

second, i chance again on this post of yours. i didn't have time to read and realize that ALL f2fs meant that system and data would be formatted in this file system structure. so what was i waiting for. i had a slight boot loop with slimkat. i think this was because i was installing the gapps 4.4.3, when slimkat was 4.4.2. but i don't know technically if this was the reason. anyways, i got around this by wiping cache (which at first wouldn't allow itself to be wiped), then the system, etc. then i installed slimkat, then gapps 4.4.2 and booting up went smoothly.

the ONLY part of your procedure that I DIDN'T FOLLOW was to format data after installing the ZIP files. i thought that if i had already previously formatted that in the f2fs structure, then there was no need to carry out this procedure. i rebooted, and crossed my toes and YAHOO, i'm now in ALL f2fs with my nexus 7 (2012).

thanks so much and i will be updating you about what i may further observe with this new and more stable environment.

p.s. i was tempted to flash omnirom, but since i read that it doesn't have superuser features, i rectified.

bod:laugh:
[Nexus 7 Original Development] GreyCelt:
Quick stupid question.

I know I'm setting myself up with a title like that but here goes...

What is the preferred method for backing-up everything on my N7 before I proceed with this venture?

I thought I read somewhere that a nandroid back-up done with a non-f2fs recovery may not be compatable with the f2fs recovery that I'll be flashing during this process. So, how am I supposed to back-up my stuff if the back-up I make prior to doing this can't be restored once I'm done formatting and flashing everything?

Am I missing something? Should I make a Nandroid back-up after flashing the new recovery image but before flashing the FormatPartitions.zip?

Please, if you would, point out the obvious to me. :p
[Nexus 7 Original Development] 1990clb:
How do you remove the size check? I'm having the same problem...
[Nexus 7 Original Development] Natakranta:
I did a Titanium backup of all my (or rather my wife's, as N7 is hers) apps and copied it to PC. I copied to PC as well all pictures, music, videos, PDFs, basically everything relevant from SD card.

After the whole F2FS process was finished, with fresh SlimKat installed, I copied everything back from PC to tablet. Then I restored in Titanium just data of user apps previously auto downloaded from Play Store. And few apps which were not from Play, like LMT.

Before all this I made as well a nandroid and copied it to PC in case the whole process fails and I have to flash factory images to save the device and then copy back nandroid and restore it in custom recovery. Just in case.
[Nexus 7 Original Development] fidoedidoe:
With regards to the your device not being identified when in the bootloader ("...not recognized in fastboot...") I had a similar issues when connecting my Nexus 7 (tilapia) to my Win7 x64 workstation. ADB (and I'm guessing toolkits) worked fine, except when in the bootloader. When in the bootloader windows reported the Nexus 7 was an unknown device.

if this is your scenario, you may need to modify the usb driver inf file...take a look at these instructions
[Nexus 7 Original Development] Carlyle_f:
You download URLs are blocked. Please fix. Or can anyone else upload the recovery image please, its urgent.
[Nexus 7 Original Development] neilrl79:
I tried downloading the recovery but I'm only getting a 38kb file, anyone have a better link?
[Nexus 7 Original Development] 1990clb:
Try this https://docs.google.com/file/d/0B9eGfqh_e2ZUQ2NBNXVpODdXdzA/edit?usp=docslist_api

---------- Post added at 10:13 PM ---------- Previous post was at 10:11 PM ----------

It's not blocked for me, but I have posted my drive link in the previous post. Good luck!
[Nexus 7 Original Development] Finner42:
Just got a few quick questions;

1. I am currently on an older modded version of TWRP that I use for data-f2fs. I think this recovery version was different to the all-f2fs version, but this updated one is all-f2fs only? Am I right in thinking that I can't use it for data-f2fs only?

2. If not, is there a data-f2fs version of TWRP available (my search returned nothing), or am I going to have to just go all-f2fs? (I liked data only because I could easily use any rom..)

3. If I do switch to all-f2fs, and I've already formatted data, will I have to do this step again (and loose my ext-sd data again..)?

Thanks for your help! :)
[Nexus 7 Original Development] badogg:
Just curious, I followed the instructions to convert and flashed the stock with f2fs and it has been sitting at the stock bootanimation for 15 minutes. Should I just let it sit there as long as it isn't bootlooping or should I reflash the ROM? Never had a Rom take this long to get through the boot animation.

Thanks a lot!
[Nexus 7 Original Development] SkOrPn:
No, you need to do it again. It does not take that long, in fact you should already know how long it takes if you have flashed roms before. Try it again because something did not take, or you missed a step like so many others....
[Nexus 7 Original Development] 1990clb:
I don't see why you should have to format data, since you've technically already done it.

I would try it and see what happens, but that's just me [emoji1]
[Nexus 7 Original Development] badogg:
Wierd. I did it again, two more times and it did the same thing. I flashed Carbon and it is working fine though. I think I'll stick with Carbon as it is VERY nice.

Thanks for the help..
[Nexus 7 Original Development] SkOrPn:
Yeah maybe there is another step your missing with the stock ROM. I run SlimKat and it is so easy to flash a cave man could do it. lol
[Nexus 7 Original Development] supermario3:
Is this worth the effort?

Are there any side-effects?

Can somebody share their experience?

Thanks :cowboy:
[Nexus 7 Original Development] 1990clb:
I have been running this for about three weeks, and I can't say I have noticed much difference.... there are no negative side effects on the ROM I am using though so I can't complain!
[Nexus 7 Original Development] PwnCakes193:
So I ****ed up real bad... Can't even get into recovery anymore and now with F2FS the stock ROM won't even recognize the tablet. So now I'm stuck in this insane bootloop and literally can't do anything. How can I reformat to ext4 without anything else on the tablet? No recovery, nothin.
[Nexus 7 Original Development] 1990clb:
You can't even get into fastboot?
[Nexus 7 Original Development] pjcanales:
Getting this error when using full gapps does this mean we can only use minimum one or is there a way to use full?
[Nexus 7 Original Development] droid_1989:
delete
[Nexus 7 Original Development] PwnCakes193:
I can get into fastboot but it won't flash recovery for some reason
[Nexus 7 Original Development] 1990clb:
Is there an error message or anything when you try and flash recovery?
[Nexus 7 Original Development] 1990clb:
Looks like the latest TWRP can format f2fs now! Using it on my device now, but thanks for all your hard work!
[Nexus 7 Original Development] martikung:
I'm confused with the official twrp, to convert to f2fs. Can you tell me what to do??
[Nexus 7 Original Development] 1990clb:
I got this error too, so I just used the mini gapps.

---------- Post added at 08:20 AM ---------- Previous post was at 08:17 AM ----------

Go to wipe > advanced > change partitions. Then just choose which partitions you want to be f2fs
[Nexus 7 Original Development] pjcanales:
So does this mean you can convert ext4 ROM to full f2fs ROM with this?
[Nexus 7 Original Development] 1990clb:
No, it means you can convert the file system on your device to f2fs. You would need to then flash a ROM that has been converted to work with F2FS.
[Nexus 7 Original Development] jamesking420:
Hi,

I've done something wrong and really screwed this up.

I have a working recovery (this one) and a working bootloader. Previously I tried to do everything but had a problem and I got the screen where you need to decrypt with a password. Recovery wouldn't work at that point, but I've managed to get myself to a stage where I now have this recovery back.

I have no zips on my device, but I can apparently push them using ADB push when I'm in recovery.

When I do that, I copy over FormatPartitions.zip but I can't flash it. It just fails. A lot.

Can anyone help?

EDIT - it appears I may have managed it, though I have no idea what it is that I did! I just kept trying again and then one time it "accepted" the formatpartitions.zip flash. After that it was pretty plain sailing. I tihink it's OK now. It's booting Slimkat, and hasn't yet asked me for a password!
[Nexus 7 Original Development] nexuses:
I did everything in OP latterly, but it seemed like my N7 will still booting forever!! and now, after so many tries the device interned the custom recovery.. and guess what?? TWRP skipped formatting Catch and gaivin me ( can't mount catch).. believe that or not! but after all did it manually, and thanks god the rom booting normally:o and it's fabulous :good:

Here is my benchmark 16298 | carbon/ ART/ F2FS
[Nexus 7 Original Development] shane.kelly55:
Well guys i really did it this time. My Nexus 7 is bricked big time.

Here is where i am at:

TWRP 2.7.1.1 installed and working

No ROM installed at all

No Backup

I think i am rooted

Unable to mount the USB-OTG

I have done so many things to try to fix this its hard to explain what happened. I installed TWRP 2.7.1.1 without F2FS by accident. Then i tried to reinstall with the 2.7.0.0 All F2FS version. THings seemed ok. I got to the part where i install the FormatPartition file. Thats when it told me i was SU'd so i went ahead and did that. Thats when problems started. It just hung so i went back into TWRP and picked up where i left off. Installed ROM, Gapps and booted into Slimkat. But thats where it told me to enter a password to decrypt. But i havent encrypted. So i went back into TWRP and did a <hangs head in shame> format Data. Now it seems all i have on the device is TWRP.

Whats worse, i cannot mount USB-OTG so my lappy top cant see the device to reflash to stock. In TWRP Device Manager sees it as the Google Nexus device but i cnt access the device from WugFresh. I dont think i can ADB into it either.

i'm at a loss and hope i can get this thing back. I have an empty inaccessible device it seems.

Thoughts?
[Nexus 7 Original Development] aircooledbusses:
Don't think I can adb either....are you sure??? If you are in recovery, plug it up to computer and type adb devices, if it shows a number and says recovery you should be able to side load. I'm assuming you have adb and fast boot installed correctly
[Nexus 7 Original Development] shane.kelly55:
ok trying ADB now, shows my device. Not as familiar with that but hoping i can re-flash this thing.

Kinda panicky here now.
[Nexus 7 Original Development] aircooledbusses:
Relax, its going to be okay. Put what you want in the platform tools folder, or minimal adb and fastboot if you're using that. Then you can type adb sideload part of the file name and tab- it should complete the name. activate sideload and press enter on the computer.......you'll see a percentage rise and when it is sent it will flash. Good luck and use a stock USB cable
[Nexus 7 Original Development] shane.kelly55:
Thanks for the support....

Ok so from TWRP i am trying to get it on Sideload Mode but its just stuck on "Staring ADB sideoad feature..." Wugfresh sees the ADB but cant push anything over becuse it doesnt see Fastboot enabled.

i'm not sure if i want to push my Slimkat F2FS rom over or not. How can i tell if i am on F2FS or EXT within TWRP?

regrdless, whatever zip i choose, i get *cannot read <whatever zip i choose> *
[Nexus 7 Original Development] aircooledbusses:
Others know better than I, but I've been where you're at and come out of it okay.

1. I had problems with wug since it doesn't like the modified twrp......or least that is what I think. I had to manually send adb commands myself. Can not read means either the file is in the wrong folder, try platform......it needs to be where adb is located, or your cable is faulting out

2. In twrp you can go wipe, advance wipe (choose say system) and repair......it will show your current file type and give option to reformat ext2, ext4.........

If it were me I'd flash a known ROM through adb, just for the security of having an os. Then you can work your way back from there. For what its worth, my n7 is f2fs data and cache only.
[Nexus 7 Original Development] shane.kelly55:
Ok, so i managed to switch back to EXT4 and load an EXT4 ROM. i am back up and running but really wanna do the F2FS deal because they say it runs so much faster.

I'll make one more run at this....

Thanks again....
[Nexus 7 Original Development] aircooledbusses:
You are well on your way. Might I recommend carbon nightly and glitch kernel. Pretty easy out of the box install. Format, flash ROM, flash kernel. Boot. Then go back and flash gapps and whatever else you need. Thing is, once you format, you're in that blank state again with no os, so you'll have to sideload. And sys is ext4, not f2fs.

Nice job getting out of it, I know it can be nerve wracking.
[Nexus 7 Original Development] shane.kelly55:
I dont get it. When i flash Flash FormatPartitions.zip everything goes to hell. When i install it it says successful then i need to reboot as per the instructions. when i do it tells me the SU is not installed (it is) i have tried to install SU and not and both ways leave me with a hung tablet t the "Google" boot screen.
[Nexus 7 Original Development] aircooledbusses:
Haven't read the directions, so maybe I shouldn't even say anything...... But you need to reboot RECOVERY after flashing the partition zip.. If you reboot at that point there is nothing but clean formatted partitions to boot from and they ain't got nothing on em.

Format partitions

Reboot recovery

Flash rom

Flash kernel

Then reboot.. Again I didn't read the directions but I like to reboot to let the device do its thing, after solid boot, then I go back to recovery and flash Gapps, supersu, and any of the flashables I need to be productive.

Best luck, you got persitance and that's the key. Hit the thanks button if I helped.
[Nexus 7 Original Development] siggers:
Disregard, the supersu is not installed (it's expected, you just formatted the partitions). Reboot directly back into recovery and flash your ROM ( Your ROM should have supersu)
[Nexus 7 Original Development] shane.kelly55:
I'm going bloody well batty. I've followed everything by the book.

All i get is the Google screen hung.

Maybe i have to forgo ALL-F2FS.

Sucks man.

EDIT: Here is where i am....

1. TWRP 2.7.0.0 (red arrow on bottom right hand corner so i am good)

2. I flash the formatpartitions.zip then boot into recovery

3. Install ROM

4. Install Gapps

5. Format Data

6. Reboot

7. Google Screen and nothing more

When i go back into recovery, there is no OS again.

If i try to wipe anything, Cache, System and Data all say F2FS so i think i am good as far as that goes. But i have tried 2 different ROM's and 2 different cables but it just doesnt matter. I boot into the Google screen and there it stays. Wont boot the ROM.

What the heck am i doing wrong?

EDIT 2:

Ok i got it working using Slimkat 4.4.2 and Gapps 4.4.2. I couldnt get it working on 4.4.4. Just wouldnt work.

Does anyone have a 4.4.4 F2FS that works ok? Couldnt get liquidsmooth running at all.