When I'm using ext4 it is absolutely fine but when I use f2fs apps start to crash, everything freezes and eventually nothing responds, what could be the problem? (I have reverted back to ext4 for the time being)
Before telling me, I am using a ROM and Kernel which support f2fs.
The partitions were /data and /cache
Bump
Reformat everything and flash again I am using f2fs too no such probs
Androbots said:
Reformat everything and flash again I am using f2fs too no such probs
Click to expand...
Click to collapse
That is how I set it up, it works fine for about 5 minutes until the crashes happen
Hmmm something is wrong which rom are u using and and the kernel??
Androbots said:
Hmmm something is wrong which rom are u using and and the kernel??
Click to expand...
Click to collapse
The ROM I am using (and still am) is Nexus Experience on 11.1 and the Kernel is AGNi r10.1r2 (as of now) or Radon 5.4 (I switch between them to see what's best)
Androbots said:
Reformat everything and flash again I am using f2fs too no such probs
Click to expand...
Click to collapse
Hi,.did f2sf used too much cache right?
I am on f2sf and eat a lot of cache @@, i know that cache is very usefull but in my case it consume a lot of internal storgage
jack_hunter97 said:
Hi,.did f2sf used too much cache right?
I am on f2sf and eat a lot of cache @@, i know that cache is very usefull but in my case it consume a lot of internal storgage
Click to expand...
Click to collapse
Something like that shouldn't happen
Related
Hi
Should AOKP or CM roms have the preload partition. I am using rootbox and i have a preload partition on 500mb which is not being used. The folders are empty also i cannot delete them. I think it is wasting space or am i wrong. i seem to be running out of space now and then. Should the partition be there. If so why is it empty and not being used and occupying 500mb..If it is not needed how can i delete it.
Thanks
Also using rootbox, I have the preload folder but there's nothing in it. Did you come onto rootbox from the stock (or stock based) ROM? If you did, I'm assuming you didn't wipe the preload folder?
There may be a better way to do this, if anyone has one please shout out. Otherwise:
Flash a stock ROM (using mobile Odin pro you can root it on the fly).
Flash philz kernel. From philz recovery, wipe data, dalvik cache, cache, and format /preload and /system. Immediately after doing that, flash rootbox again.
Sent from a galaxy far, far away
Hopper8 said:
Also using rootbox, I have the preload folder but there's nothing in it. Did you come onto rootbox from the stock (or stock based) ROM? If you did, I'm assuming you didn't wipe the preload folder?
There may be a better way to do this, if anyone has one please shout out. Otherwise:
Flash a stock ROM (using mobile Odin pro you can root it on the fly).
Flash philz kernel. From philz recovery, wipe data, dalvik cache, cache, and format /preload and /system. Immediately after doing that, flash rootbox again.
Sent from a galaxy far, far away
Click to expand...
Click to collapse
what is the size of your preload folder/partition .. i use partition manager and it tell me its 500mb .. and its not getting used..if i uses philz kernel wont it create the preload partition again ??
Mine says 0bytes. Yes philz/stock will create the preload folder again, but will allow you to wipe it before the flash. I don't know how to wipe it from rootbox.
Sent from my GT-P7510 using Tapatalk 4 Beta
Attached screenshot....using partition table...are u able to provide urs using same app.
Rhx
Sent from my GT-I9100 using Tapatalk 2
Hopper8 said:
Mine says 0bytes. Yes philz/stock will create the preload folder again, but will allow you to wipe it before the flash. I don't know how to wipe it from rootbox.
Sent from my GT-P7510 using Tapatalk 4 Beta
Click to expand...
Click to collapse
see post above .. thx
Mine looks the same in the same app, no need for me to post mine. I just interpreted it that it was saying that I wasn't using the space, as it's only 8 MB. I didn't see it as a problem
Sent from my GT-P7510 using Tapatalk 4 Beta
Hopper8 said:
Mine looks the same in the same app, no need for me to post mine. I just interpreted it that it was saying that I wasn't using the space, as it's only 8 MB. I didn't see it as a problem
Sent from my GT-P7510 using Tapatalk 4 Beta
Click to expand...
Click to collapse
ok ..thx
The Nexus 7, Nexus 5, Moto G, and Moto X all have f2fs support in some kind. It has made a fast improvement on my N7. Was wondering if any devs want to form a team to build up f2fs support for our device.
Would be willing to help.
Sent from my KFTHWI using xda app-developers app
Dude, come into #lg-g2 and ask. Hours of activity are pretty similar to how #lg-optimus-g were back this time last year.
Sent from my LG Optimus G using XDA Premium 4 mobile app
http://forum.xda-developers.com/showthread.php?t=2764480
Looks like they got F2FS working on the E975. No idea if its possible to take this and monkeywrench it for the E970, but its nice progress!
I hope the F2FS interest for this device doesn't die here. I've tested it out on the Nexus 7 and it basically made the device a whole new, usable experience. I would love to see the benefits that our aging geebs can get from it to extend their lifespan and usability.
nygfan760 said:
The Nexus 7, Nexus 5, Moto G, and Moto X all have f2fs support in some kind. It has made a fast improvement on my N7. Was wondering if any devs want to form a team to build up f2fs support for our device.
Click to expand...
Click to collapse
My TWRP build and AK kernel both support it. I've tried it and I think it worked.
Sent from my LG Optimus G using Tapatalk
brothaedhung said:
My TWRP build and AK kernel both support it. I've tried it and I think it worked.
Sent from my LG Optimus G using Tapatalk
Click to expand...
Click to collapse
I had no idea. That's awesome! I checked the TWRP and, sure enough, it can format f2fs. Any chance you can build a version of your PAC rom that does f2fs-all (except, of course, external sd)? I'd be happy to test it!
Level99 said:
I had no idea. That's awesome! I checked the TWRP and, sure enough, it can format f2fs. Any chance you can build a version of your PAC rom that does f2fs-all (except, of course, external sd)? I'd be happy to test it!
Click to expand...
Click to collapse
For the ROM, I think you just have to edit the updater-script to format system as F2FS instead of ext4. Haven't tried it yet, but I will tonight if I have time.
There's playstore apps that will do it too.
I've successfully formatted system F2FS, but haven't tried data yet since I think you lose everything when you format?
brothaedhung said:
For the ROM, I think you just have to edit the updater-script to format system as F2FS instead of ext4. Haven't tried it yet, but I will tonight if I have time.
There's playstore apps that will do it too.
I've successfully formatted system F2FS, but haven't tried data yet since I think you lose everything when you format?
Click to expand...
Click to collapse
Yeah, it does. I tried your rom with system as ext4 and data as f2fs and it popped up with the encrypted storage dialog and there was no way to get around it. I figure the kernel may only support f2fs for system right now.
I'll try manually changing the updater script for f2fs for system. I got one of the apps for f2fs conversion but it only currently supports nexus 4, 5, and 7. I emailed to request support be added for e970.
Sent from my LG Optimus G using XDA Premium 4 mobile app
Level99 said:
Yeah, it does. I tried your rom with system as ext4 and data as f2fs and it popped up with the encrypted storage dialog and there was no way to get around it. I figure the kernel may only support f2fs for system right now.
I'll try manually changing the updater script for f2fs for system. I got one of the apps for f2fs conversion but it only currently supports nexus 4, 5, and 7. I emailed to request support be added for e970.
Sent from my LG Optimus G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
also let me try making an updated TWRP build. I read somewhere about issues with data f2fs on early 2.7.1 builds.
brothaedhung said:
also let me try making an updated TWRP build. I read somewhere about issues with data f2fs on early 2.7.1 builds.
Click to expand...
Click to collapse
Alright, thanks. I tried changing the ext4 to f2fs and it failed to flash. Will keep tinkering but I did see another method that involved backing up the system, data, and cache partitions, and then restoring while enabling a TWRP option forcing the restores to restore as f2fs. Don't know if that's also something that can be added when you make the new TWRP build.
Level99 said:
Alright, thanks. I tried changing the ext4 to f2fs and it failed to flash. Will keep tinkering but I did see another method that involved backing up the system, data, and cache partitions, and then restoring while enabling a TWRP option forcing the restores to restore as f2fs. Don't know if that's also something that can be added when you make the new TWRP build.
Click to expand...
Click to collapse
Did you ever attempt this? Is there some roadblock that prevents our geeb from utilizing F2FS? I feel as though the interest in F2FS died down almost immediately lol
topdawg7793 said:
Did you ever attempt this? Is there some roadblock that prevents our geeb from utilizing F2FS? I feel as though the interest in F2FS died down almost immediately lol
Click to expand...
Click to collapse
The latest TWRP I had access to on the geeb did not have an option to force restore to F2FS. We'd need an update to the recovery that adds it, and even then, not sure it will work.
My main these days is a Moto G 4G LTE and, considering the specs, it should not be as snappy and responsive as it is. F2FS really does seem to add new life to middling device hardware, so I can't imagine what it would do to the geeb with its previous flagship specs.
Level99 said:
The latest TWRP I had access to on the geeb did not have an option to force restore to F2FS. We'd need an update to the recovery that adds it, and even then, not sure it will work.
My main these days is a Moto G 4G LTE and, considering the specs, it should not be as snappy and responsive as it is. F2FS really does seem to add new life to middling device hardware, so I can't imagine what it would do to the geeb with its previous flagship specs.
Click to expand...
Click to collapse
Ah, I see. The ramdisk needs to know what partitions are f2fs too right? All that stuff goes above what I'm capable of lol
topdawg7793 said:
Ah, I see. The ramdisk needs to know what partitions are f2fs too right? All that stuff goes above what I'm capable of lol
Click to expand...
Click to collapse
I built a ROM with a modified ramdisk and updater script. It flashes but doesn't get past the boot animation.
brothaedhung said:
I built a ROM with a modified ramdisk and updater script. It flashes but doesn't get past the boot animation.
Click to expand...
Click to collapse
Hmm..The only thing I can think of that could cause that is maybe the ROM didn't compile properly.
The key is to flash the rom, and kernel, and whatever, then afterwards format /data and /cache as f2fs using TWRP.
@brothaedhung do you have an F2FS kernel I can test?
nygfan760 said:
The key is to flash the rom, and kernel, and whatever, then afterwards format /data and /cache as f2fs using TWRP.
@brothaedhung do you have an F2FS kernel I can test?
Click to expand...
Click to collapse
http://review.cyanogenmod.org/#/c/61238/
brothaedhung said:
I built a ROM with a modified ramdisk and updater script. It flashes but doesn't get past the boot animation.
Click to expand...
Click to collapse
Have you tried this with the new TWRP?
topdawg7793 said:
Have you tried this with the new TWRP?
Click to expand...
Click to collapse
Not the one I built a couple of days ago, but I did with the fixed 2.7.1 that correctly formatted f2fs.
brothaedhung said:
Not the one I built a couple of days ago, but I did with the fixed 2.7.1 that correctly formatted f2fs.
Click to expand...
Click to collapse
Hmm okay. We'll only see a noticeable performance gain if the system partition is f2fs right? I doubt we'll gain much with just the data and cache being f2fs.
I used F2FS file system on data and cache partition and now its like i have a nexus 6p there is little to no UI lag or even any delay in opening apps.
Used to use F2FS on my previous devices(lg g2, Galaxy S2 and Xperia Z ultra) and man the effect was noticeable from day1, so tried it on this device and guess what it works flawlessly.
Here is a thread for comparition between F2FS vs EXT4(the default one).
So here is guide for you guys its Highly dangerous setup so please follow this if you know how to restore a SoftBrick status.
Caution:--
ONLY FOR CM13 and N based roms which support F2FS, If used on OOS3 or H2OS(mm) it will result in not converting the data/cache partition properly and will end up 0mb partition because of modified twrp used for these roms and you wont be able to be mount your internal memory too.
Backup backup backup. Make sure you take a backup and save it on your pc before performing the steps.
Things you can do to make your life easier:--
Clean flashing of rom is highly recommended but you can try dirty too as it does not touch the system partition but still clean is preferred.
Use ZipMe app to make a zip file for your apps so that installing all those apps becomes easier if coming from clean flash.
Full backup of your internal memory files as this setup formats even your internal memory even if you select only the data partion.
Best stay on stock kernel as there is no mention of any cm13 custom kernel to have f2fs support. They may have but in any thread of these i couldnt find f2fs word anywhere. So stay stock.
Rom compatibility/tried on:--
Exodus.
All cm13 based roms work flawlessly.
LineageOS14
Kernel compatibility:--
Darkbeast
Stock kernel or the one provided by default by the rom.
Yarpin's kernel.
Benschold kernel.
Note:- Please this method has worked on F2FS supported roms only before following any of it make sure your rom developer has incorporated f2fs support in his/her rom.
Steps:--
Use revert2lollipop to revert back to lollipop firmware if you are on OOS3/H2OS and wanna try f2fs.
Download and upgrade your twrp version to latest.
Copy the .img file to your root folder and reboot to twrp select--->Install-->Install images button-->select the new .img file you copied and reboot to recovery.
Format everything including your internal memory.
Go to advance wipe and select cache partition and select repair and change file system, once there select change file system and change it to f2fs and swipe. Images.
Repeat the above step for data partition.
Go to twrp settings and tick rm -rf, this will make your device retain your f2fs system after clean flash of some roms.
Reboot your recovery once and copy back all your data back to your internal memory.
Flash the required modem for your rom and clean flash your rom for the best bug free experience.
Benefit!
PS:- Please if someone daring does use this on another rom and if everything works flawlessly then please post about it, i will add it compatible roms/kernels.
Press thanks if it worked for you and do post about any improvements you saw.
Credits:-
@Androguide.fr
@ opt devs for awesome roms.
@ jrummy Apps for zipme app.
Seems rock solid for me! I'm running AICP Nightlies .... Running great! Getting it all set back up but no issues at all.
jbarcus81 said:
Seems rock solid for me! I'm running AICP Nightlies .... Running great! Getting it all set back up but no issues at all.
Click to expand...
Click to collapse
Ohhh great will add aicp in the compatible ROMs.
BTW are you on stock aicp kernel?
So we need stock kernel
isoladisegnata said:
So we need stock kernel
Click to expand...
Click to collapse
Yeah for now, since for f2fs roms to work properly the kernel also needs to support the file system and no custom kernel has f2fs as a feature mentioned in their list. I couldnt find anything related to f2fs even with the search function, will update the thread if f2fs support is confirmed by the devs of the respective kernels.
chintu1234 said:
Ohhh great will add aicp in the compatible ROMs.
BTW are you on stock aicp kernel?
Click to expand...
Click to collapse
Yeah.. Not using any kernel other than what's built into AICP from the OP.. :highfive:
Added yarpin's kernel to the compatible kernels.
Using AOKP with stock kernel perfectly! Thanks for this OP and also for sharing the ZipMe app! Which is amazing, Didnt work for me on CM13 though but love the idea! JRummy devs make the best apps
Can i use titanium backup to app+data?
isoladisegnata said:
Can i use titanium backup to app+data?
Click to expand...
Click to collapse
Yes you can.
A noob questions:
- How do I put my data in internal sd...?
. I save the internal memory sd on pc before
. will format everything including internal memory.
. change cache and data partition in F2FS...
when I reboot in twrp.. how do I put all data in sd card?..with ROM ..Modem etc..?
is it possible? if I connect the phone to usb..I'll see internal memory?
isoladisegnata said:
A noob questions:
- How do I put my data in internal sd...?
. I save the internal memory sd on pc before
. will format everything including internal memory.
. change cache and data partition in F2FS...
when I reboot in twrp.. how do I put all data in sd card?..with ROM ..Modem etc..?
is it possible? if I connect the phone to usb..I'll see internal memory?
Click to expand...
Click to collapse
Yeah if you connect to PC after conversion you will be able to access your memory as you used to with default system.
Just make sure to wipe system,data,cache,dalvic,internal before going any further for good measure.
f2fs for data and cache on 19/04 Unofficial Temasek's CM13 by Benschold and Benschold's Custom Kernel v3.3 working flawlessly here. So far haven't noticed anything yet, but will report back if anything happens!
boulder96 said:
f2fs for data and cache on 19/04 Unofficial Temasek's CM13 by Benschold and Benschold's Custom Kernel v3.3 working flawlessly here. So far haven't noticed anything yet, but will report back if anything happens!
Click to expand...
Click to collapse
how it compare with ext4? u see the different?
Sent from my ONE A2003 using XDA-Developers mobile app
Tatsuya_ said:
how it compare with ext4? u see the different?
Sent from my ONE A2003 using XDA-Developers mobile app
Click to expand...
Click to collapse
Honestly I wouldn't notice a difference unless you put 2 phones running ext4 and f2fs side by side for comparison. But if I were to really force an answer out from myself I would say that app opening and switching times are greatly reduced.
you really deserved more thanks for this guide.. keep it up and great work!
boulder96 said:
f2fs for data and cache on 19/04 Unofficial Temasek's CM13 by Benschold and Benschold's Custom Kernel v3.3 working flawlessly here. So far haven't noticed anything yet, but will report back if anything happens!
Click to expand...
Click to collapse
Nice! thanks for reporting, will add to OP.
Works great with Exodus ROM !!!
very good. Thank you very much. wonder why only cache and data? What about the system partition?
rakieta said:
very good. Thank you very much. wonder why only cache and data? What about the system partition?
Click to expand...
Click to collapse
It really isnt needed because in system partition most of the time only read function is done while data and cache constantly need read/write functions to be performed so you wont notice anything different if you format system to f2fs.
I am losing 8-10% charge when screen is off per hour and about 30-40% overnight when sleeping. I currently am on arrowOS 9.0...I tried changing rom but no luck. Please Help.
MHasan001 said:
I am losing 8-10% charge when screen is off per hour and about 30-40% overnight when sleeping. I currently am on arrowOS 9.0...I tried changing rom but no luck. Please Help.
Click to expand...
Click to collapse
Not possible. I m using arrow. Tell us more. What u are installing .
Magisk, modules, any mods, r u doing cleanflash or restoring previous backup from google cloud?
Or titanium backup.
Open ur book. Tell ur story
Try escrima kernel. Using any kernel manager app and set the governer to "ondemand". Enable adreno idler.
naik2902 said:
Not possible. I m using arrow. Tell us more. What u are installing .
Magisk, modules, any mods, r u doing cleanflash or restoring previous backup from google cloud?
Or titanium backup.
Open ur book. Tell ur story
Click to expand...
Click to collapse
I didn't install magisk, no modules...Did clean flash...No modification after rom installations
MHasan001 said:
I didn't install magisk, no modules...Did clean flash...No modification after rom installations
Click to expand...
Click to collapse
Did u format data in twrp ? Not wipe data.
naik2902 said:
Did u format data in twrp ? Not wipe data.
Click to expand...
Click to collapse
No, i did not format data?
MHasan001 said:
No, i did not format data?
Click to expand...
Click to collapse
Then go to twrp.
Go to wipe
Press format data
Type YES to format
This will decrypt and erase ur data partition and internal storage.
So take backup of internal sd if any before format data.
After format data u just reboot.
naik2902 said:
Then go to twrp.
Go to wipe
Press format data
Type YES to format
This will decrypt and erase ur data partition and internal storage.
So take backup of internal sd if any before format data.
After format data u just reboot.
Click to expand...
Click to collapse
Will it solve the problem? Or should i just flash the official fastboot rom first?
MHasan001 said:
Will it solve the problem? Or should i just flash the official fastboot rom first?
Click to expand...
Click to collapse
Have u ever tried format data command before?
If u never tried do it.
Format data and wipe data r 2 different things.
Why u want fastboot rom. No need.
Check this first.
naik2902 said:
Have u ever tried format data command before?
If u never tried do it.
Format data and wipe data r 2 different things.
Why u want fastboot rom. No need.
Check this first.
Click to expand...
Click to collapse
ok...Will try and let you know
naik2902 said:
Have u ever tried format data command before?
If u never tried do it.
Format data and wipe data r 2 different things.
Why u want fastboot rom. No need.
Check this first.
Click to expand...
Click to collapse
Did it...Formated data...But no luck...Off screen battery drain is huge.
MHasan001 said:
Did it...Formated data...But no luck...Off screen battery drain is huge.
Click to expand...
Click to collapse
Go to agni thread
download and flash agni 13.6 pie kernel.
naik2902 said:
Go to agni thread
download and flash agni 13.6 pie kernel.
Click to expand...
Click to collapse
Ok, Thank you.
Is it Still Possible to use F2FS in Android 13 ?
I tried in LineageOS with No Gravity Kernel but i get a Bootloop.
Now i switched to PixelOS but it reformats the data partition to ext4 every time at reboot. Can someone tell me how to use f2fs or why it isnt possible anymore ?
F2fs only works on certain roms, crdroid 9 works with f2fs on data and cache. You can flash f2fstab to insert the f2fs format table in to the rom so you can use it, but not sure if this works with encryption.
noah001 said:
Is it Still Possible to use F2FS in Android 13 ?
I tried in LineageOS with No Gravity Kernel but i get a Bootloop.
Now i switched to PixelOS but it reformats the data partition to ext4 every time at reboot. Can someone tell me how to use f2fs or why it isnt possible anymore ?
Click to expand...
Click to collapse
first_damned said:
F2fs only works on certain roms, crdroid 9 works with f2fs on data and cache. You can flash f2fstab to insert the f2fs format table in to the rom so you can use it, but not sure if this works with encryption.
Click to expand...
Click to collapse
Thank you very much, f2fstab did it for me for LineageOS.
Do i need to reflash it after every update ?
noah001 said:
Thank you very much, f2fstab did it for me for LineageOS.
Do i need to reflash it after every update ?
Click to expand...
Click to collapse
I'm not sure sorry