[Q] Will the S4 use the F2FS filesystem? - Galaxy S 4 Q&A, Help & Troubleshooting

Does anyone know if the Galaxy S4 will be using Samsung's new F2FS filesystem? It seems to perform quite well on flash based storage when compared to ext4 (http://www.phoronix.com/scan.php?page=article&item=linux_39_fs&num=1)

Interesting. I recall seeing articles on it few months back when it was launched.
With the way Samsung's marketing team is working, they won't be bothered with giving the details. We will probably get the details only after we get the phone in hand.
Being a Samsung developed filesystem, they should be the first to implement it. Also it makes sense in mobile industry as the filesystem has been developed specifically for flash-based storages.
But I believe that we are still away from commercial implementation as of now.

Darn, I completely missed your reply
I read in some thread (maybe the one with the system dump?) that the S4 still uses ext4. I guess it makes sense though. They'd need a perfectly working fsck tool to recover from filesystem corruption from, say, pulling out the battery. I don't know, but that may already exist.
I'm also not sure if F2FS supports extended attributes, which is needed for SELinux in Android 4.2.
I do agree with you that there's still a lot of testing that needs to be done.

AW: [Q] Will the S4 use the F2FS filesystem?
AFAIK a Linux kernel 3.8+ is required for F2FS.
I could imagine that it comes with KLP.
Just guessing...
Sent from my GT I9300

harise100 said:
AFAIK a Linux kernel 3.8+ is required for F2FS.
I could imagine that it comes with KLP.
Just guessing...
Sent from my GT I9300
Click to expand...
Click to collapse
Interesting. Did a quick google search. F2FS was first introduced in Linux 3.8.
http://www.phoronix.com/scan.php?page=news_item&px=MTI1OTU
http://www.phoronix.com/scan.php?page=news_item&px=MTMxMTU

Related

Xubuntop - A full XFCE4 desktop

The stock Webtop sucks in my opinion. A outstanding concept, but poorly executed.
I'm working right now in a "revamped version" of the stock one. I call it Xubuntop - A full XFCE4 desktop.
Xubuntu is originally a Ubuntu with XFCE4 environment and some optimizations. Check the original Xubuntu project (Google it)
I'm thinking in two versions: Lightweight and Full
Lightweight: flashed in Osh and ready to go!
Full: flashed in Osh and uses Webtop2sd to expand the internal disk space.
I know that many tried to do this and I warn you guys, I'm not rediscovering the wheel. It's just a "easy way" to get those extra applications using the Xubuntu as a base.
It will feature optimizations to make the environment as lightweight as possible, giving the CPU more room to process whatever you want to execute.
I'm working two weeks on this and maybe this will be ready Saturday, but I can't promise nothing
Maybe I'll need help to make the zip to use in CWM.
So... let's go back to work
I have a questions.
Is Xubuntop for cm7/9 roms or blur/stock roms ?
Will it be dependent on the broken/outdated Motorola packages?
By this I mean, will we be able to make full use of the repos to install newer versions of software that are dependent on newer versions these packages. (E.g. the latest verision of Chromium that I can get working now is version 4 due to its dependencies breaking webtop, even when apt-get has been fixed.)
xateeq said:
I have a questions.
Is Xubuntop for cm7/9 roms or blur/stock roms ?
Click to expand...
Click to collapse
Xubuntop should work fine with the Blur and Stock roms.
CM7/9 boots the Webtop from the Webtop2sd? If yes, then I guess the "full" version can work.
Ollonk said:
Will it be dependent on the broken/outdated Motorola packages?
By this I mean, will we be able to make full use of the repos to install newer versions of software that are dependent on newer versions these packages. (E.g. the latest verision of Chromium that I can get working now is version 4 due to its dependencies breaking webtop, even when apt-get has been fixed.)
Click to expand...
Click to collapse
In some parts, yes, it will be dependant.
My intention is to hold the core packages and add the lastest (and functional) repository with Arm support, 10.10 I guess.
The other alternative is get the source code and rebuild them in Arm architeture. This demmands a lot of work and I can't do it all by myself. But with more time and people, it can be done.
If it will run the latest available version of Chromium from the repositories (It was version 14 last time I checked) that's all I'm really concerned about. Good luck!
I guess it's impossible to squeeze a light version to fit inside the 0.8gb osh reserved space. Crap!
By the way, the system is more fluid than before. I'm trying to remove all non-essential packages right now.
With AT&T stock kernel (1Ghz) GtkPerf test run now in 13s. A huge difference.
Please give WebTop2SD a try to have a much bigger osh partition .
qaplus said:
Please give WebTop2SD a try to have a much bigger osh partition .
Click to expand...
Click to collapse
I'm using it since yesterday, only OSH it's impossible =(
The system have ~1gb right now
Edit:
I'm having a hard time trying to port the lastest Chromium-browser. I need to re-install ArchLinux in my desktop first and see if I can make it work there. I'll delay Xubuntop a bit trying to port it.
I did installed xfce4 after using webtop2sd. But i ended up with a lot of stuff laying around not used, i'd like some more integrated!
Night Walker! said:
I did installed xfce4 after using webtop2sd. But i ended up with a lot of stuff laying around not used, i'd like some more integrated!
Click to expand...
Click to collapse
Like what? aumix? Did you installed xfce4 or xfce4-desktop or even xubuntu-desktop?
I'm manually installing each software from the 'original' xubuntu distro to make sure we don't end with useless software. Is that what you want?
I'm a experienced C++ developer and I have some experience with Linux. Please let me know if you want some help.
Sent from my MB860 using XDA
mfragoso said:
I'm a experienced C++ developer and I have some experience with Linux. Please let me know if you want some help.
Sent from my MB860 using XDA
Click to expand...
Click to collapse
Oh, that would be great! I'm trying to port the latest Chromium to ARM.
Do you have experience in cross compiling? I'm stucked on this...
Would this run any faster than the current webtop with xfce4 interface? My webtop functions, buts slow as hell off my sd card sometimes. Its a class 10 pny card.
Only on windows (we use windows CE and its variants at work) but let me know how we can work.
Sent from my MB860 using XDA
teeth_03 said:
Would this run any faster than the current webtop with xfce4 interface? My webtop functions, buts slow as hell off my sd card sometimes. Its a class 10 pny card.
Click to expand...
Click to collapse
Hmm, it should run a little bit faster, but not too much. I'm trying to implement swap.
mfragoso said:
Only on windows (we use windows CE and its variants at work) but let me know how we can work.
Sent from my MB860 using XDA
Click to expand...
Click to collapse
Ok, I will =)
---
I'm working very hard to port the Chromium-browser 18.0.1025 (latest official), I've just bricked the webtop attempting to upgrade some core files... Not a problem... I was expecting this.
I'll not give up.
I broke my webtop so many times trying to get newer software to work that I just made a disk dump of a working partition that was configured how I want it. If I ever have problems, I just restore the disk dump, and within a few minutes I have everything working again.
this has me VERY excited, but XFCE still isn't lightweight enough IMHO.
What are your thoughts about Fluxbox? I remember having DamnSmallLinux on a 200mhz machine with 128MB of RAM, that was very responsive...
That said, we don't have a webtop subforum.
Which we really need, to collaborate efficiently.
Any ideas? This forum is way to frickin busy.

Any 4.2 ROMs that eliminate multi-user?

Really don't like the file system changes and the multi-user function of 4.2.x. Was wondering if anyone has seen developement of custom ROMs based on 4.2 that have "removed" that "new feature"
Would be interested in trying it out.
Why? What's so bad about the new file system? Why would a dev want to reinvent a wheel that works fine the way it is. It's backward compatible to apps already installed (with just a few exceptions, most fixed by now) and supports a feature many people want. It is the future file system for better or worse.
If you don't want to use multi-user don't create any users and you will only have the '0' file system. Want something that was on /sdcard? It's in /sdcard/0 what is so hard about that.
But wouldn't the simple solution be to just stay on one of the many very good 4.1.x ROMs?
But I guess there is no harm in asking. It would be cool if a dev responded with what the challenges would be in doing something like that.
Sent from my Nexus 7 using xda premium

ROM Dev for Ara??

How would ROM deving work for this type of phone where people choose their own specs?
now that i think of it, how would there be updates either? its like a one and done process. so if you buy the phone, you'll stay on the Android version that comes preloaded
I am thinking towards windows kind of update model but free this time.
Only thing is can we modify Linux kernel for enough flexibility.
NaveenKumarXDA said:
I am thinking towards windows kind of update model but free this time.
Only thing is can we modify Linux kernel for enough flexibility.
Click to expand...
Click to collapse
Might be able to work if the MDK enforces a unified modular structure. And extra parts of ROM's would target some v heavy/popular modules.
I think you ubuntu may be the way to go.
Since my knowledge is really limited, if Google and manufacturers cooperate for open-hardware and open-source environment, it will be like installing drivers on a new OS. So everyone can use latest version of Android. Am I right or really really wrong?
Sent from my GT-I8190 using XDA Premium 4 mobile app
I could imagine an official update method in which the used modules are recognized and the update fits perfect to that phone or the modules have anyhow universal usable drivers stored on themselves while you can change them without re-flashing the entire rom.. what do you think?
Surely if all the componets are made by the same manufacter the roms would be universal but with some roms being heavier for the powerfuller phones and lighter for cheaper phones
It will be harder. There will be bloated kernels that account for unused modules. Likely to be devs that tune to a specific hardware set [their's], etc. But w/ a diy modular phone, they'll probably be no shortage of developers.
A cooler way would be to enable more run as module on kernel and have each module self-load its drivers [like plug-n-play]. This could avoid the kernel bloat I aluded to earlier.
Rob
insink71 said:
A cooler way would be to enable more run as module on kernel and have each module self-load its drivers [like plug-n-play]. This could avoid the kernel bloat I aluded to earlier.
Rob
Click to expand...
Click to collapse
I agree with this, or maybe if the system can build the driver files on startup or installation. but then you will be looking at stall's and system freeze if it's interrupted. (just mentioned something similar in another post lol!):fingers-crossed:
If the bootloader can report the serial/models of the components, the kernel can turn on and off what's needed or not. From there yes, there will be a ****ton of modules to compile even if half aren't used. We can also expect to see hybrid kernel drivers doing different things based on some data returned by the actual component (e.g. 16GB vs 32GB storage) -- assuming those components work the same.
Maybe they'll make a new OS for this, kinda like Windows OS. It's supposed to be universal, no matter what kind of parts are installed.
The rom devs can list the minimum specs for the rom so the user has at least the minimum for the rom
Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app
Nope, it is said that you can change modules on the fly. Maybe there are just drivers in the plug in that are loaded first...
Maybe the compatibility to drivers coves with android 5.0?
Regards
Gesendet von meinem C6503 mit Tapatalk
as people have said this wont be common outside the custom pc type market and if it don't support android in some from whether that be via a custom rom and recovery like cwm/twrp it will be a massive flop
i cant see why it cant come with a option that has cwm installed with a rom,them its attractive to coders
I really hope that they have the option for sales of just the outer shell. Then, people like me can custom select whatever they want without having to waste the stock modules which would then be rendered useless.
i hope they make a rolling system similar to how its done by Arch Linux where you start with just a base and let the owner select his own modules or let the user make their own module. that would be fantastic! i mean perfect!
pandasa123 said:
How would ROM deving work for this type of phone where people choose their own specs?
now that i think of it, how would there be updates either? its like a one and done process. so if you buy the phone, you'll stay on the Android version that comes preloaded
Click to expand...
Click to collapse
I think there will only be ROMs for certain phone combinations
Sent from my ultimately bumped up LG-P700 running CM11
The modularity will be programmed into the OS. Wether that part goes open source or not is another question.
Gesendet von meinem XT1039 mit Tapatalk
all parts will be class compliant iirc, meaning each new OS/rom only needs have generic drivers, anything that isn't class compliant needs to carry its own drivers, i could be wrong but im sure thats what he said in the interview with the first working spiral 1
I may be a bit crazy in thinking this.
But I'd LOVE project ARA and Cyanogenmod to partner and have their CM OS on the ARA modular phones. Imagine we could have theme chooser on the device. And customise it exactly to our liking.
inside and out in this case.
But alas it's only a pipe dream.

[Q] In pursuit of smooth experience with my Nexus 7 .. (currently on CynogenMod)

Hi,
I've been meaning to find a smooth Android experience with a 2012 "grouper" Nexus 7, which is apparently too much to ask.
I got this device second handed and it was on 5.0 Lolipop and was laggy. I flashed CM 11 and was still laggy. Upgraded via OTA to latest build, which I believe was M12 snapshop, and got worse.
After a week o Googling around, I wiped all partitions (except my internal SD Card), mounted them and "fstrim"-ed partitions to fix any fragmented empty space, even though it was fixed in 4.2. I tried LagFix with no luck. Also removed apps to free up space, no luck. Disabled Google Currents (which is obsolete now), disabled location services, whatever I could find on the net, done with no result.
Finally I flashed "cm-11-20141112-SNAPSHOT-M12-grouper" and "gapps-kk-20140606-signed" and restored my backups with Titanium Backup and still have lag.
I have several questions but I keep it simple for now:
1) Since I backed up my apps from the laggy roms, are they defective? At least their "user data"?
2) I just want a smooth android experience so I can safely test my games on it. Am I on a wrong foot with CM? Is there "better" ROMs for my need?
(I know it's unholy to talk about pros and cons of roms, at least in other forums is, but I'm on the verge of my sanity)
Thanks.
Honestly, the stock lollipop 5.0.2 is pretty smooth. Not totally 100% lag free, but much better than any Rom I've tried in the last few months. I'm enjoying it.
Well, the standard advice is "switch to F2FS", and it helped me a lot. Lollipop lags only rarely now, if the uptime gets to long.
---------- Post added at 04:41 PM ---------- Previous post was at 04:38 PM ----------
Regarding your second point: CM should be okay, as most other "original" roms. I've only had problems with roms who combine many features from different sources.
What is switch to f2fs?
funkpod said:
What is switch to f2fs?
Click to expand...
Click to collapse
F2FS is a filesystem that is optimized for flash storage. It's much faster than the standard ext4, which was developed with magnetic drives in mind.
luckyrumo said:
Well, the standard advice is "switch to F2FS", and it helped me a lot. Lollipop lags only rarely now, if the uptime gets to long.
---------- Post added at 04:41 PM ---------- Previous post was at 04:38 PM ----------
Regarding your second point: CM should be okay, as most other "original" roms. I've only had problems with roms who combine many features from different sources.
Click to expand...
Click to collapse
Is it possible to change stock 5.0.2 of Nexus 2012's firmware to F2FS (or anyhing that does that) or I should go with custom roms? If custom rom, which one would you recommend to achieve F2FS?
Thanks.
test84 said:
Is it possible to change stock 5.0.2 of Nexus 2012's firmware to F2FS (or anyhing that does that) or I should go with custom roms? If custom rom, which one would you recommend to achieve F2FS?
Thanks.
Click to expand...
Click to collapse
I honestly don't know if stock works with F2FS, but I'm pretty sure you would have to flash a custom kernel (like phantom kernel).
For custom roms, you must distinguish those which offer "All-F2FS", which means that all partitions (including /system) are on F2FS, from the possibility on almost any rom to have only cache and data on F2FS (after flashing an f2fs-compatible kernel). IMHO the latter is fast enough, since the content of /system doesn't change while running.
There's a lot of roms now, so try for yourself. I don't have time to try out a lot at the moment (exams...), the one I use currently (see my signature) is okay, but not perfect. (but maybe the current release is better, I haven't updated for a while now.)
This rom has an All-F2FS-version and is very close to stock, so too few features for me, but maybe you'll like it I used it directly after lollipop release. Here's a related post from me, the links in there are a bit outdated, but the rest should be correct.
One important thing: Formatting to F2FS will wipe everything, including /sdcard, so do a BACKUP on your PC or USB drive first!
luckyrumo said:
I honestly don't know if stock works with F2FS, but I'm pretty sure you would have to flash a custom kernel (like phantom kernel).
For custom roms, you must distinguish those which offer "All-F2FS", which means that all partitions (including /system) are on F2FS, from the possibility on almost any rom to have only cache and data on F2FS (after flashing an f2fs-compatible kernel). IMHO the latter is fast enough, since the content of /system doesn't change while running.
There's a lot of roms now, so try for yourself. I don't have time to try out a lot at the moment (exams...), the one I use currently (see my signature) is okay, but not perfect. (but maybe the current release is better, I haven't updated for a while now.)
This rom has an All-F2FS-version and is very close to stock, so too few features for me, but maybe you'll like it I used it directly after lollipop release. Here's a related post from me, the links in there are a bit outdated, but the rest should be correct.
One important thing: Formatting to F2FS will wipe everything, including /sdcard, so do a BACKUP on your PC or USB drive first!
Click to expand...
Click to collapse
Thanks, your post was fantastic and I changed my device's file system to F2FS and installed SlimKat on it and it solved the problem (there is still a bit of lag, but the device is usable now).
I followed your advice and tried to find other ROMs that support F2FS or All-F2FS but could not understand the descriptions in ROM threads completely. Would someone please help me on how I can find other ROMs that are F2FS OR can be turned into one?
This led me to want to try to build ROMs myself as well ;o)
test84 said:
Thanks, your post was fantastic and I changed my device's file system to F2FS and installed SlimKat on it and it solved the problem (there is still a bit of lag, but the device is usable now).
Click to expand...
Click to collapse
You're welcome.
test84 said:
I followed your advice and tried to find other ROMs that support F2FS or All-F2FS but could not understand the descriptions in ROM threads completely. Would someone please help me on how I can find other ROMs that are F2FS OR can be turned into one?
This led me to want to try to build ROMs myself as well ;o)
Click to expand...
Click to collapse
The All-F2FS roms usually have [F2FS] written in their thread's title, and if you don't care if /system is f2fs, you can use any rom with an f2fs-kernel. Simply flash it directly after the rom itself (without rebooting first).
For Kitkat, this thread seems to be a list of f2fs-roms and -kernels.
For Lollipop, there's at least BSZAOSP and SlimLP as roms, and Phantom and M-Kernel as kernels.
Thanks. Is there CyanogenMod newer than M9 with F2FS for Nexus7?
I don't know, but you could try to convert it yourself. There are apps for this on the play store (search for F2FS), and I've heard they work fine, at least for KitKat (they discussed it somewhere in the BSZAOSP thread I linked above).
Thanks.
after several days of usage, I still find the "mmcqd/0" process is causing lags on my device. I've installed SlimKat and have plenty of free space on my device and not too many apps installed, and also disabled their auto start on boot with Clean Master.
Any other thing I can do?
Delete
Sent from my nexus 7 using XDA Free mobile app
Delete?!
test84 said:
Delete?!
Click to expand...
Click to collapse
what a definite advice!
He/She probably misposted and "deleted" the post by editing it like this.
I'm sorry but I can't help you any further. I'd be interested if you figure something out, though, maybe it'll help me, too. Good luck
Thanks, you already helped me a lot.
I installed my 3rd ROM, "Vanilla-ish AOSP 5.0.1_r1 ROM (LRX22C) for WiFi Nexus 7 (2012) Grouper" and it still lags. Will it work butter smooth if I go back to first stock ROM?
I mean, the slow NAND was the problem from the start, why recently people opt to F2FS?

[DISCUSSION] ExFAT file system driver

Hi! So this is rather a request or a brainstorming on a certain subject but I've been testing with the available roms and kernels. For some reason most roms do not support the well known and widely used exfat file system. Even when it is supported in their kernel the system still won't see any partition that runs under exfat. No big name kernels were able to detect my exfat partition. Pixel Experience, Lineage OS, dotOS, miracle DROID, AOSP etc. None. Not even after flashing Electra Blue, Franco, Inferno and such famous kernels that said to have support. KudKernel is the only one that allows their users exfat file system usage. I dig deep into the subject and even tried to inject exfat support via sudo and scrips to certain kernels but I failed miserably. Do you think it is possible to make any kernel support exfat or just those kernels that use the latest Linaro toolchain?
greenys' said:
KudKernel is the only one that allows their users exfat file system usage.
Click to expand...
Click to collapse
The trick is to discover how KudKernel does it.
https://github.com/cryptomilk/kernel-sdfat
This is what's done in kudkernel
DarthJabba9 said:
The trick is to discover how KudKernel does it.
Click to expand...
Click to collapse
Whether or not I find out what's done in kud kernel and how does it support exfat sd card I can't do a thing about it since it'd need me to recompile and rebuild any other kernel that does not support exfat. Which is rather problematic for me, a non-ubuntu/Linux user who knows nothing about coding in that area. Ergo I'm still in the same situation I started from . -.
By the way I only get know of it today that I can't rebuild a kernel on Windows.
greenys' said:
Whether or not I find out what's done in kud kernel and how does it support exfat sd card I can't do a thing about it since it'd need me to recompile and rebuild any other kernel that does not support exfat. Which is rather problematic for me, a non-ubuntu/Linux user who knows nothing about coding in that area. Ergo I'm still in the same situation I started from
Click to expand...
Click to collapse
You are correct - you will need to build the kernel yourself. Or you can ask the developers of your favourite kernels (or ROMs) to add sdfat support. It is a fairly painless process, which would take a developer less than 5 minutes to do. Of course, they might not be interested in doing it.
By the way I only get know of it today that I can't rebuild a kernel on Windows.
Click to expand...
Click to collapse
Technically, yes. But you can install VirtualBox on your Windows PC, and create a Linux Virtual Machine (VM) under VirtualBox. When you boot up the VM, you are running full-blown Linux - alongside all your other Windows stuff.
DarthJabba9 said:
You are correct - you will need to build the kernel yourself. Or you can ask the developers of your favourite kernels (or ROMs) to add sdfat support. It is a fairly painless process, which would take a developer less than 5 minutes to do. Of course, they might not be interested in doing it.
Technically, yes. But you can install VirtualBox on your Windows PC, and create a Linux Virtual Machine (VM) under VirtualBox. When you boot up the VM, you are running full-blown Linux - alongside all your other Windows stuff.
Click to expand...
Click to collapse
Oh my. Sure will look into that. But that will take some (tremendous) time and till then I still can't use my sd card properly -_- Anyways, thanks.
greenys' said:
Oh my. Sure will look into that. But that will take some (tremendous) time and till then I still can't use my sd card properly -_- Anyways, thanks.
Click to expand...
Click to collapse
Official LineageOS received support for exfat this week
Noter2017 said:
Official LineageOS received support for exfat this week
Click to expand...
Click to collapse
Oh my, that's some wonderful news! Been waiting for this so long I can't explain. Thanks for the info!

Categories

Resources