yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] nibblet787:
(I know I'm quoting myself here...)

Turns out that, somehow, my data partition got corrupted during the process of converting /system to f2fs. I have no clue how, much less when, but it was barely enough corruption to disable my wifi and a couple other minor things. I was forced to reformat the entire /data partition. Factory reset wasn't good enough. Bizarre...
[Nexus 4 Original Android Development] mikaole:
I had the same when I went back to ext4. Only flashing stock via fasboot helped me.
[Nexus 4 Original Android Development] nibblet787:
There's an update to the Convert to F2FS app that was pushed sometime yesterday, but I can't download it. It keeps giving me an error (403), no matter how long I wait, or how often I try.

Sorry, I know this isn't the thread for app support, but I couldn't find any other place to mention this.
[Nexus 4 Original Android Development] ph37rd:
From AndroidPit:

One of the most common errors from the Google Play store is “Error 403”.

What does Error 403 mean? A 403 error means your request was "forbidden." It does not mean you did anything wrong, it just means that the Google Play store servers were programmed to deny the request you sent.

How to Fix Error 403: 1. Clear Proxy - Go to Settings -> Wireless and Networks -> Mobile Network then APN (Access Point Name) -> then Select Clear Proxy Option - After all these steps you can re-try downloading your material.

Get Internet Strength -Sometime your internet strength connectivity is low. To improve or get your internet strength there is a little trick that you have to follow. Turn on Airplane Mode Profile (Wait until the indicator turns into an image signal plane) then Turn OFF same way you have enable it. Then wait till your phone get signal and internet connectivity. If this method was not worked for you then for some other method.

Delete Search History -First open Google Play Store then press Menu Button then go for settings and finally select clear search history. But most of times this method doesn’t work but there is no harm to adopt it.

Alternate Google Account Maybe there is an issue that is associated with your Gmail Account so you can try this method: -Create a new Gmail Account -Then go for Google Play Store then Press Menu Button then go for Accounts and then finally select alternative Gmail account (the new one) -After these two steps try installing the app again.
[Nexus 4 Original Android Development] aosp:
You guys can modify these scripts for free

figue/f2fs-scripts · GitHub - http://goo.gl/FOK6LO
[Nexus 4 Original Android Development] nibblet787:
Thanks, I'll try these methods. Just so odd that I've downloaded and/or updated at least a dozen apps in the time that I've been struggling to update this one.
[Nexus 4 Original Android Development] alleyezondisromo:
your app isnt working
[Nexus 4 Original Android Development] :
Great post!

Some more info would be helpful. For me it works...
[Nexus 4 Original Android Development] Rohit02:
Has anyone really made CM Rom boot.. specially Crdroid. after converting with their app?
[Nexus 4 Original Android Development] aosp:
Add settings to enable/disable f2fs forcing mode so we can switch on …

…the fly. Force will force all wipe/format calls to use f2fs or ext4 depending on the selection. Also added code to ensure settings are re-written back to internal sd after a super wipe. Also removed fstab code to determine the mode since we now have a setting for it

http://goo.gl/NTamfl

Add code to analyze the fstab to determine whether we are in f2fs mod…

…e or ext4 mode

http://goo.gl/MJXQpE
[Nexus 4 Original Android Development] ph37rd:
[MENTION=4668017]NABENDU1[/MENTION]

Sent you a PM with a link to your request

---------- Post added at 06:45 PM ---------- Previous post was at 06:42 PM ----------

I sent the crDroid boot image over to be converted. Hopefully, [MENTION=4668017]NABENDU1[/MENTION] and his automagic script will work the wonders you desire.
[Nexus 4 Original Android Development] Rohit02:
Yes I am trying with him.. We didnt succeed.. Lets see. We have found another way.. Hope it works..
[Nexus 4 Original Android Development] alleyezondisromo:
I've been trying to use this app on spate phones and they all day the same thing "invalid file" at this point iid honestly like to ask for a refund, is rather just do it the normal way on my laptop

---------- Post added at 02:06 AM ---------- Previous post was at 02:04 AM ----------

Ugh auto correct is making me angry hah I meant to say that I've tried it on seperate phones and they all give me the same result
[Nexus 4 Original Android Development] legolas93:
See under:

.

Try another FileManager to select the ROM you want to convert. :D
[Nexus 4 Original Android Development] Rohit02:
FYI.. C - Rom is AOSP based I am talking about Cynogenmod based Roms like CrDroid. :) Never seen any one converting CM based Rom specifically Crdroid Rom successfully
[Nexus 4 Original Android Development] alleyezondisromo:
Ive tried es as well with the same result :/
[Nexus 4 Original Android Development] DontPushButtons:
Haven't done c-rom but vanir converted fine. I'll give crom a spin next flash.

Edit: Converted fine, gonna flash it once I back my stuff up.

I'm dumb, I was supposed to try crdroid..
[Nexus 4 Original Android Development] legolas93:
Sorry. I made a mistake reading. By the way..Just converted with the app and tested CrDroid. (Nexus 4 CAF ROM)

:D
[Nexus 4 Original Android Development] DontPushButtons:
Yup, can confirm that, just got around to flashing mine as well.
[Nexus 4 Original Android Development] Vogie:
What about Stock 4.4.2 ROM?

Dose F2FS works on stock?
[Nexus 4 Original Android Development] mikaole:
No, it doesn't because stock has no busybox.
[Nexus 4 Original Android Development] Vogie:
What if the stock rom rooted and busybox installed?!
[Nexus 4 Original Android Development] mikaole:
That should work, but may I ask why stock.

Most of the custom roms are much faster with the same stability and on top of that you get a better battery life. So what is so good at stock that you want that.

Anyway if you give me a link to the rom you like I can convert it and you can try, but I still don't know if it will work.
[Nexus 4 Original Android Development] InvalidCast:
cannot format data with f2fs

hi

i followed your instructions and manage to have a F2FS slimkat and a F2FS franco kernel, on a F2FS system.

i also managed to format cache in F2FS

BUT, i cannot manage to format data in F2FS

1) i tried "format data" menu, which says that it formats using mkfs.f2fs

while in twrp, in terminal, i can see that /dev/block/mmcblk0p23 on /data is F2FS (which is similar to system and cache, that are well F2FS formatted)

2) i tried to modify updater-script of formatpartitions.zip, to add a command for data.

i tried:

a) run_program("/sbin/mkfs.f2fs", "/dev/block/mmcblk0p23");

b) run_program("/sbin/mkfs.f2fs", "/dev/block/platform/msm_sdcc.1/by-name/data");

c) run_program("/sbin/mkfs.f2fs", "/dev/block/platform/msm_sdcc.1/by-name/userdata");

3) i tried to directly run the above commands in twrp terminal, for ex:

/sbin/mkfs.f2fs /dev/block/platform/msm_sdcc.1/by-name/userdata

i also tried many combinations of the 3 above point, with "reboot to recovery" or not between them.

if i remember well, commands on "/dev/block/platform/msm_sdcc.1/by-name/data" did not worked well but "/dev/block/platform/msm_sdcc.1/by-name/userdata" did work.

also, "format data" did not work the first time: data was not formatted at all, all files were still here.

and a time, don't know why, it formatted, but in ext4

when i go to "disk info" app or terminal app (not in twrp) after reboot, /data appears as ext4
[Nexus 4 Original Android Development] Vogie:
I tried velocity, cm11, psx, slimkat

But there wasn't stable like the stock.

What's your recommend?!

Stability is my important thing!
[Nexus 4 Original Android Development] mikaole:
Purity is stable and for me, I use velocity and never had a single reboot in more than a month. What was your problem with velocity. Even CM should be solid.
[Nexus 4 Original Android Development] NABENDU1:
Flash this zip in TWRP will format your data to F2FS !!

https://drive.google.com/file/d/0ByrfJAT1lgDFOUpCX294aExKSnM/edit?usp=sharing
[Nexus 4 Original Android Development] InvalidCast:
thank you for trying to help me, but this didn't work.

after flashing it and seeing it has no effect, i looked inside and that is was something i already tried:

run_program("/sbin/mkfs.f2fs", "/dev/block/mmcblk0p23");

i really don't understand why it does not work for data, whereas it works for system and cache.

and no errors, and in twrp terminal, mount command shows it's f2fs. but when rebooted, ext4 is back again.

i tried to flash anothjer f2fs kernel (hellsgod) but no change.

where does the "/sbin/mkfs.f2fs" file come from? kernel? rom?
[Nexus 4 Original Android Development] Vogie:
Velocity is not compatible with all apps (i think it's for ART)

What about Mahdi?! Is that stake and support F2FS?!
[Nexus 4 Original Android Development] mikaole:
There is no support for f2fs from any rom dev. I don't know Mahdi.
[Nexus 4 Original Android Development] Rohit02:
Can someone tell me the procedure to flash the cm f2fs rom.. i am on aosp and wen i flash cmf2fs based rom it fails.. the detailed procedure please.. Asap.. please..TIA.
[Nexus 4 Original Android Development] mikaole:
The only app I know not working on velocity is SwiftKey, but the beta version of it is working, so that problem is solved.
[Nexus 4 Original Android Development] Vogie:
1.What version of velocity you have currently?!

2. Is it possible to covert it ti F2FS without f2fs convertor app? (Cause I can't pay to market (government issue with Google) ?
[Nexus 4 Original Android Development] mikaole:
I am always running the latest, but I am not on f2fs anymore. Latest f2fs velocity is always in my drive.

https://drive.google.com/folderview?id=0B__yyNLq1EIRR2lVbmNIT3RBeU0&usp=sharing
[Nexus 4 Original Android Development] adamshumpisxxx:
Any chance we'll get a SlimROM 4.4.2 Build 5 F2FS version now that it's been released this past Monday?
[Nexus 4 Original Android Development] Rohit02:
Even you can make it with Nabendu's script in Android dev section. Its too easy. Or the app by the OP.
[Nexus 4 Original Android Development] adamshumpisxxx:
My only worry is flashing something I hand compile and it not working. This whole F2FS thing on Android mobile devices is new to me. I'm not sure of what I'm looking at to simply upgrade my current SlimROM 4.4.2 Build 4 to Build 5. Seeing as how it's F2FS can I just convert the ROM, boot to recovery,wipe Dalvik & Cache, flash it on top and the reboot? Do I have to Format Data again? If so, I'm not interested. I like to be able to just update the ROM I choose when it has updates and go. Thanks.
[Nexus 4 Original Android Development] joefso:
No need to format /data. I updated from build 4 to 5 a couple of days ago, you can just convert the rom and then follow the normal upgrading procedure through TWRP. Do not forget to reflash gapps, as it has major changes.
[Nexus 4 Original Android Development] blackbird5308:
same rules of EXT4 apply on F2FS, as long as you flash the converted version of the rom and kernel you still can dirty flash :)
[Nexus 4 Original Android Development] adamshumpisxxx:
Any chance I could get the ZIP you converted? Pretty please? :) Also, what pre-compiled F2FS compatible Kernel do you guys / gals recommend?

---------- Post added at 10:05 AM ---------- Previous post was at 09:15 AM ----------

So, I couldn't wait. Ran the script on SlimROM 4.4.2 Build 5, chose Nexus 4, unpacked the ROM, chose the AOSP boot image, repacked the ROM, booted to the custom TWRP, wiped Dalvik & Cache, flashed to F2FS converted ROM, rebooted and now my screen is black. I can still get to recovery but it will not boot beyond a black screen on normal boot. Great. So...now what?

---------- Post added at 10:21 AM ---------- Previous post was at 10:05 AM ----------

Used ADB Sideload and flashed the provided SlimROM 4.4.2 Build 4 provided in the OP. Everything seems to be back to the way it was before my attempted Build 5 flash. Not sure why it failed...
[Nexus 4 Original Android Development] joefso:
You should format /system manually before flashing the update and gapps has recieved major rework from slimroms devs so download the latest version from their website if you haven´t already. Slim-mako-4.4.2.build.5-OFFICIAL-4085-ALL-F2FS is uploaded here: http://speedy.sh/GMBTM/F2FS-ROM.zip

For the kernel I use hellcore: http://mirror.lnx.im/android/mako/hellsgod/JolieInHell-b46-t4-20140509-F2FS-auto.zip it has a excellent balance between performance and battery life.
[Nexus 4 Original Android Development] adamshumpisxxx:
Ah...I did not know about formatting the /system partition first. Thanks for the uploads. I will try them and report back. I assume I just format /system plainly with the custom TWRP already installed. Correct?

---------- Post added at 06:38 PM ---------- Previous post was at 06:26 PM ----------

Also, I already flashed the Build 5 GApps when I first followed the original process in the OP. Do I have to do it again after this flash?

---------- Post added at 06:54 PM ---------- Previous post was at 06:38 PM ----------

Couldn't wait again...haha. Downloaded your uploaded F2FS converted Build 5 and your suggested kernel. Rebooted into TWRP. Wiped dalvik, cache and system. Flashed ROM, kernel then the new Build 5 GApps (again for safe measure). Rebooted. Runs great! I "feel the power" haha. I will find and run an overall benchmark then post the results here to see if everything went well. Thanks again!
[Nexus 4 Original Android Development] akakitsu:
I've installed the TWRP recovery image from the OP and then flashed FormatPartitions.zip, a compatible rom + gapps, then formatted Data.

Upon reboot I notice that nothing has changed. All the partitions are still ext4 and nothing was wiped. The rom and gapps did flash, but neither /system or /cache was F2FS and /data was untouched and also not F2FS. I redownloaded and reflashed the recovery, but all the same. The recovery did flash properly because I see the red back arrow, but it seems something is going wrong somewhere.

Any help? I managed to convert my Nexus 7(Grouper) to all-F2FS no problem.
[Nexus 4 Original Android Development] joefso:
Did you restart recovery after flashing FormatPartitions ?
[Nexus 4 Original Android Development] akakitsu:
Just tried it. I restarted after flashing it, seemed to work because I couldn't boot into rom. Force reboot into recovery again, flash rom + gapps, reboot into rom: /system and /cache still ext4.
[Nexus 4 Original Android Development] joefso:
try manually wiping /system and /cache before flashing the rom and gapps or try from a clean install
[Nexus 4 Original Android Development] akakitsu:
On wiping /system I get

Formatting System using make_ext4fs function.

Same with /cache.

So yeah, recovery isn't working as it should, even though it flashed properly and shows the red back arrow.
[Nexus 4 Original Android Development] joefso:
The issue appears to be with formatpartitions.zip, please make sure its flashed proper. Whitout the reboot it will still use mkfs.ext4. I flashed a friends nexus 4 to slimkat all f2fs today, using these files and worked perfectly.
[Nexus 4 Original Android Development] akakitsu:
I've tried several combinations of flashing the zip and rebooting. What ended up working was flashing the zip twice without reboot.

Thanks for the help! Still weird that it doesn't do it the first time.
[Nexus 4 Original Android Development] ruicc:
Hi,

Is there any TOUCH CWM F2FS recovery available, instead of the TWRP?
[Nexus 4 Original Android Development] mikaole:
No
[Nexus 4 Original Android Development] ruicc:
when CMW Touch recovery became available, i'll moving to F2FS
[Nexus 4 Original Android Development] mikaole:
Then you will likely never move :)

Been on twrp for a long time now. What is so different on Cwm these days?

Or what do you don't like on twrp?
[Nexus 4 Original Android Development] ruicc:
I guess i'm used with CWM, but I dislike the interface in TWRP. Backups made with CMW aren't compatible with TWRP.

What are the real gains moving from EXT4 to F2FS?
[Nexus 4 Original Android Development] mikaole:
It's faster in some places.
[Nexus 4 Original Android Development] buru898:
It's like going from a hard drive to a solid state. Not nearly as dramatic, but you get the point.
[Nexus 4 Original Android Development] fr3quency:
If you dislike TWRP's interface, then you can install this theme: http://xdaforums.com/nexus-4/themes-apps/theme-twrp-holofied-black-dark-light-t2396687 and have both a beautiful UI in recovery and F2FS.
[Nexus 4 Original Android Development] ohcanada:
Here is the zip for slimkat latest official build 5 in f2fs format

https://mega.co.nz/#!CAYx0DyY!SSbHMYDs9uSksnSni5kRrXH2CF_KbL7Xr_0fEI5C33M

I converted myself with this tool, many thanks to the original author!

http://xdaforums.com/nexus-4/development/script-convert-rom-to-f2fs-t2731652
[Nexus 4 Original Android Development] mixtapes08:
Does dalvik and bionic tweaks compatible with f2fs roms?

Sent from my Nexus⁴
[Nexus 4 Original Android Development] Maibol:
yes there is a file on the davlik and bionic thread for it ;)
[Nexus 4 Original Android Development] mixtapes08:
I've checked the thread but I haven't find any zip that says it would work with f2fs.

Sent from my Nexus⁴
[Nexus 4 Original Android Development] Rohit02:
As far as I know bionic n dalvick patches are not tested on F2FS converted Roms.. but Adreno patches are tested and I have flashed them.. They are in general section F2FS repo thread.. flash them.
[MENTION=391290]mail[/MENTION]bol
[Nexus 4 Original Android Development] snak3ater:
I'm using Z2 Dalvik patch with F2FS... No issues at all

Sent from my rastakat powdered Nexus
[Nexus 4 Original Android Development] Jagdish84:
Where did you find those? Only thing I found was some reference on hammered forums...
[Nexus 4 Original Android Development] snak3ater:
No idea about Flashable Zip but these patches comes built-in with the rom..

If Z2 dalvik works properly then MotoX patches should work as well :good:
[Nexus 4 Original Android Development] joefso:
Grab tardis mod it contains patches for aosp, cm11 and slimkat.they work on all f2fs ROM. I tested both and can confirm it works.

If you want them separately for slimkat you have to extract them from the mod. For CyanogenMod I posted an extract in the dalvik/bionic patch thread.
[Nexus 4 Original Android Development] mixtapes08:
When dirty flashing a rom. Can we use the format system/dalvik/cache in this rrcovery? Or do I need to flash the zip in the op to make sure it's in f2fs?

Sent from my Nexus⁴
[Nexus 4 Original Android Development] mixtapes08:
Anyone know how to make the supersu zip compatible with f2fs.been having troubles acquiring root permission using the recovery installation zip but it work with installing it on playstore

Sent from my Nexus⁴
[Nexus 4 Original Android Development] Maibol:
thats another good option ty ;)

if your rom is rooted by default you just has tu download super su and let it update the binary and will be good to go ;)
[Nexus 4 Original Android Development] Rohit02:
Once you are on F2fs you dont need to flash that zip again, Dirty flashing is normal like for other roms.Flash rom and wipe cache and dalvik

I am using Supersuv1.94. No issues,

flash it after flashing the ROM. :)
[Nexus 4 Original Android Development] gummmi:
Beware. They're something wrong with this guide. I followed it VERY closely, and it corrupted my partition. I couldn't mount anything and the Google Logo bootlooped. Had to fastboot factory image to get my phone to work again.
[Nexus 4 Original Android Development] Rohit02:
Sorry?

Till date If I am not wrong more than 100 users are on F2FS and never moved back.

Its you who have done it in a wrong way. I bet on that.

Tell me the whole procedure you did I will try to help you.:)
[Nexus 4 Original Android Development] fr3quency:
Obviously you did something wrong. This doesn't work for CM11, but works 100% for ParanoidAndroid/Velocity/PSX etc.(I dont think it works with C-ROM but screw ROMs that need extra work) I have been following the same procedure for ParanoidAndroid for the last 2 months and works like a glove.
[Nexus 4 Original Android Development] NABENDU1:
See my thread in android development section !! A batch script to convert any ROM to full f2fs !! And ya now it does cm ROM conversion smoothly as well as with com.android.process phone fc roms !! So technically all Roms can be converted and flashed with my script !!
[Nexus 4 Original Android Development] Chrisblack757:
Can someone please post latest slim f2fs
[Nexus 4 Original Android Development] Rohit02:
Mate download it and convert it by yourself. Its very simple.. I would have done it but now I am in office. No way to upload it as many sites are blocked here. Use Nabendu1's script in android section. :)
[Nexus 4 Original Android Development] tarroyo:
Anyone tested this? https://play.google.com/store/apps/details?id=com.runnerway.converttof2fs
[Nexus 4 Original Android Development] Rohit02:
Yes.. All good. Perfectly working app.
[Nexus 4 Original Android Development] adamshumpisxxx:
Just checking back in to say everything is working great on SlimROM 4.4.2 Build 5 with JolieInHell 20140518 kernel. How should I go about making a fully complete, 100% flashable, 1:1 backup of how my phone is at this exact moment? I ask because I wanted to try another ROM back in the old FS to prove to myself the speed of F2FS. I also want to make sure that when I decide to return to the way I have it now later this week, I have the ability to just flash the backup I make using whatever and be on my way. Is any of this possible. Do I just use the provided custom TWRP normal backup? If so, can I use ANY 2.7.0.0 or newer TWRP to flash my backup and have it 1:1 as I have now? What do you recommend? Thank you.
[Nexus 4 Original Android Development] buru898:
It's called a nandroid for a reason. Just back it up. You don't need to make it a flashable zip.
[Nexus 4 Original Android Development] gharrrrrr:
So I just saw that TWRP multirom supports F2FS now. Does that mean full F2FS as well?
[Nexus 4 Original Android Development] Rohit02:
:WHAT: yes it came ages back.. waiting for 4.4.3 F2FS
[Nexus 4 Original Android Development] gharrrrrr:
Cool! After I install new TWRP multirom will I have to reformat partitions again or just install latest and go?
[Nexus 4 Original Android Development] Rohit02:
yes I read multirom twrphas the f2fs support so flash the Format parition .zip and then rest follow the instruction in the thread.
[Nexus 4 Original Android Development] jkyoho:
How can I backup the /data in ext4 and restore them after convert to f2fs?
[Nexus 4 Original Android Development] diogo.sena:
save your backups elsewhere,

rename where it says ext4 to f2fs,

format /data to f2fs

copy backup to phone (already renamed),

restore
[Nexus 4 Original Android Development] jkyoho:
Do you mean I only need to rename the backup files such as'' data.win.0.ext4'' to ''data.win.0.f2fs ''? ..(saved by TWRP)

No need to modify any contain inside the file?
[Nexus 4 Original Android Development] diogo.sena:
yes!
[Nexus 4 Original Android Development] jkyoho:
kinda weird when I use all f2fs recovery to format my /data, it shows done but after I reboot to system,everything comes back. The /data still in ext4. Seams like format data from TWRP f2fs mod doesn't work for me.

Can anyone modify op's FormatPartition.zip including format data system cache all partition?
[Nexus 4 Original Android Development] diogo.sena:
use twrp from multirom thread, there's an option to switch partitions format..
[Nexus 4 Original Android Development] jkyoho:
Got all partitions f2fs now, but another problem comes, my Titanium backup can not backup now. I have tried changing the backup location, it shows none of my folder in sdcard is writablw. Then I try fix platform.xml file in order to get sdcard writable, still nothing...