F2FS on modded firmware? - Galaxy Tab S Q&A, Help & Troubleshooting

Hi everyone!
I'm searching a way to install a modded firmware (like SelambA or IronRom) on a F2FS FileSystem.
I tried the SkyHigh kernel and changing the FS via TWRP (3.0.2-1), without results...
Anyone has experience with that?

Related

Enabling module loading support

Hi all,
I want to install a kernel module on Galaxy S. My kernel version is 2.6.35.7-I9000XXJVP. Am not sure if this is a stock kernel/ rom. Is it a stock?
I think the problem is module loading/ unloading is not enabled in the default kernel, how to enable this option? will puling the current .config, enabling module support option and pushing back will work? can this harm the device?
what is the best(easiest) way to achieve kernel module installing support?

[Q] F2FS Roms

Hey guys,
I was wondering if there any ROMs out there for the FLO that currently support f2fs. I know the ElementalX kernel already has support for it, and CWM also has support for it. Thanks in advance!
zeek459 said:
Hey guys,
I was wondering if there any ROMs out there for the FLO that currently support f2fs. I know the ElementalX kernel already has support for it, and CWM also has support for it. Thanks in advance!
Click to expand...
Click to collapse
I don't think you need rom support, just kernel support.
I tried to format the /data with f2fs, and then flashed the elementalx kernel. But the machine only asked me to type the password to decrypt the storage.
Sent from my Nexus 5 using XDA Premium 4 mobile app
lawman21c said:
I tried to format the /data with f2fs, and then flashed the elementalx kernel. But the machine only asked me to type the password to decrypt the storage.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If the kernel doesn't modify the ramdisk image also (some don't) then you might have to flash a kernel with the modded ramdisk first.
Haven't ever done the f2fs mod on my 2013 N7, since I don't see a need to go through the extra steps every time I update as the 2013 N7 is already fast.
My 2012 N7 though, I keep on F2FS forever since it makes a big difference on that tablet. Even though I use Faux123 that supports F2FS, I have to flash Legolas first as it gives the modded ramdisk necessary, then flash Faux123 over it.
Someone more familiar with F2FS on the N7 2013 might should respond.

what rom and kernal supports F2FS for the t700???

ok i have a samsung galaxy SM-T700 what rom and kernal has F2FS support i have searched the forms but nothing for this model came up with a answer.....
thanks very much in advance..
Monster212 said:
ok i have a samsung galaxy SM-T700 what rom and kernal has F2FS support i have searched the forms but nothing for this model came up with a answer.....
thanks very much in advance..
Click to expand...
Click to collapse
Probably none of them do. Developers usually only implement F2FS if the device has slow write speeds on its built in eMMC, such as the original Nexus 7 (and a few others). Some devices have native F2FS support such as the Nexus 9 (which is why it gets its extremely high bench scores). However for this device, it has plenty fast storage already, so the benefit would be almost impossible for the human senses to notice. With all that said, I too would love to use F2FS on at least the cache partition.
SkOrPn said:
Probably none of them do. Developers usually only implement F2FS if the device has slow write speeds on its built in eMMC, such as the original Nexus 7 (and a few others). Some devices have native F2FS support such as the Nexus 9 (which is why it gets its extremely high bench scores). However for this device, it has plenty fast storage already, so the benefit would be almost impossible for the human senses to notice. With all that said, I too would love to use F2FS on at least the cache partition.
Click to expand...
Click to collapse
thank you very much for the reply.. i learned something new...
Monster212 said:
thank you very much for the reply.. i learned something new...
Click to expand...
Click to collapse
Actually, if you install TWRP recovery from here http://forum.xda-developers.com/gal...p-2-8-6-1-unofficial-sm-t800-805-807-t3074633
Then you can have F2FS support. You then just need to look for a rom that supports F2FS, or a kernel that does. I'm still looking myself, so not sure if any ROMs actually do support F2FS yet, but at least you already have F2FS format support. :good:
SkOrPn said:
Actually, if you install TWRP recovery from here http://forum.xda-developers.com/gal...p-2-8-6-1-unofficial-sm-t800-805-807-t3074633
Then you can have F2FS support. You then just need to look for a rom that supports F2FS, or a kernel that does. I'm still looking myself, so not sure if any ROMs actually do support F2FS yet, but at least you already have F2FS format support. :good:
Click to expand...
Click to collapse
Thank you for the info, I will now be looking for a good rom or kernal.....
Sent from my SM-T700 using Tapatalk
You can test my kernel here: http://forum.xda-developers.com/showthread.php?t=3139716
ashyx said:
You can test my kernel here: http://forum.xda-developers.com/showthread.php?t=3139716
Click to expand...
Click to collapse
thank you i will install it now and see how it goes...
I would like to do benchmark test results for before and after F2FS. Curious how it compares to my Nexus 7. On cache it was a good performance increase, but on system it did nothing better. EXT4 seems to be the better file system for the system partition, at least on my Nexus 7.
Sent from my SM-T700 using Tapatalk
SkOrPn said:
I would like to do benchmark test results for before and after F2FS. Curious how it compares to my Nexus 7. On cache it was a good performance increase, but on system it did nothing better. EXT4 seems to be the better file system for the system partition, at least on my Nexus 7.
Sent from my SM-T700 using Tapatalk
Click to expand...
Click to collapse
The kernel I posted doesn't support f2fs on the system partition nor does my guide include it.
As you rightly stated the system partition does not benefit from f2fs as its read only. Ext4 is capable of high read speed.
ashyx said:
The kernel I posted doesn't support f2fs on the system partition nor does my guide include it.
As you rightly stated the system partition does not benefit from f2fs as its read only. Ext4 is capable of high read speed.
Click to expand...
Click to collapse
Yeah agreed, EXT4 is slightly faster at reading, but just by a hair on my N7. However, on partitions that have write permissions, it can "sometimes" be three times faster at random writes. I been using F2FS since feb 2014 "religiously" on my Nexus 7 (and wont run a non-f2fs setup on it), so I am very well versed in its use. Legolas was the first one to bring it to custom Android (I know because I was one of his support techs helping users convert to it, until he disappeared that is lol. Then I started helping USBhost with CarbonROM), and was the first to release a F2FS app in the play store. He was also the first, and only individual, to have a Conversion app to convert your ROM to f2fs, which gave new life to my N7 and any ROM I tried back in 2014 (it did not support 5.0 though). Without F2FS, sadly my Nexus 7 is almost worthless.
If only I can find the many screenshot test results we've done with F2FS, it would come in handy here too. On the N7 its a night and day difference, but here this device is already plenty fast. Id love to see some insane results though.... If only Jaegeuk would develop a Windows driver already. I would like to use it for my Linux box, Windows and Android tbh, and format the sdcards with it, and maybe even USB storage drives to try and pick up on the write speeds a bit. Well see I guess...
My SkyHigh TW LL 5.0.2 kernels support both EXT4 and F2FS for DATA and CACHE partitions.
Note: You need to have supported base firmware for successful flash.
Deathly Aosp Kernel supports Ext4 and f2fs on cache and data
Rom support for it is included on aicp, slim, carbon, liquid
deadman96385 said:
Deathly Aosp Kernel supports Ext4 and f2fs on cache and data
Rom support for it is included on aicp, slim, carbon, liquid
Click to expand...
Click to collapse
ANY ROM can support F2FS. Its just the Kernel that needs to be built with support.
It's possible to convert any partition using various scripts (adjusted to suit device) that are about. But the easiest way is to use ashyx F2FS recovery. It saves a lot of pain.
UpInTheAir said:
ANY ROM can support F2FS. Its just the Kernel that needs to be built with support.
It's possible to convert any partition using various scripts (adjusted to suit device) that are about. But the easiest way is to use ashyx F2FS recovery. It saves a lot of pain.
Click to expand...
Click to collapse
Yeah the roms i listed already have native support no scripts or anything because the f2fs lines have been added too the fstab. So all you need to do is format cache and data in twrp and your done.
deadman96385 said:
Yeah the roms i listed already have native support no scripts or anything because the f2fs lines have been added too the fstab. So all you need to do is format cache and data in twrp and your done.
Click to expand...
Click to collapse
Those ROMs probably use a kernel which has already been patched for F2FS and compiled in-line with the ROM.
Same goes for my SkyHigh kernel, but compiled on its own. All you need to do is format your relevant ROM partitions via script or supported F2FS TWRP. No difference to method except having to flash the kernel separately.
UpInTheAir said:
Those ROMs probably use a kernel which has already been patched for F2FS and compiled in-line with the ROM.
Same goes for my SkyHigh kernel, but compiled on its own. All you need to do is format your relevant ROM partitions via script or supported F2FS TWRP. No difference to method except having to flash the kernel separately.
Click to expand...
Click to collapse
Yep they include my deathly kernel which has f2fs, but without that fstab changes it wont boot on aosp if you convert it unless the tab s is different
deadman96385 said:
Yep they include my deathly kernel which has f2fs, but without that fstab changes it wont boot on aosp if you convert it unless the tab s is different
Click to expand...
Click to collapse
It's the same (similar) ramdisk fstab changes for Samsung based kernel as well, not just source. Edit: As I said, all you need to do to actual "ROM" is just format the relevant partitions.

[MultiROM]Dualbootpatcher for p8000

Dualbootpatcher for P8000
We have official support for dualbootpatcher.
How does it work?
Install app and patch flashable zip. Install zip via recovery. Now you can switch between 2 or more Roms.
link
!! Use only matching kernel and bootloader !!
LP Bootloader = 3.10 kernel
MM Bootloader = 3.18 kernel
Do not mix 3.10 kernel and 3.18 kernel !!!
Download: link
Source: link
walter79 said:
Dualbootpatcher for P8000
We have official support for dualbootpatcher.
How does it work?
Install app and patch flashable zip. Install zip via recovery. Now you can switch between 2 or more Roms.
link
!! Use only matching kernel and bootloader !!
LP Bootloader = 3.10 kernel
MM Bootloader = 3.18 kernel
Do not mix 3.10 kernel and 3.18 kernel !!!
Download: link
Source: link
Click to expand...
Click to collapse
Thx for that! If I'm on aosp7.1.1 what rom could i install as second rom?
stock MM
does this elephone support internet over mhl / micro-usb to ethernet adapter?
@walter79 if i want to install these ported roms from russian 4pda forum:
XOS_v2_6.0_Elephone P8000 https://drive.google.com/uc?id=0BzQtiGXzY6RHbnRHamc3ek1EY0E&export=download
Vibe_3.5_Elephone P8000_6.0 https://drive.google.com/uc?id=0BzQtiGXzY6RHaXVRd2xqSHF2bHM&export=download
as multiboot or primary rom it won't work
Roms are for first revision and based on android 6 with kernel 3.18
Could it be that the partitions of these roms are different to 7.1.1 and twrp can't flash it?
please post fstab from this rom
thx for fast reply! here you have the fstab from each rom if you need something please let me know!
Thank you!
remove the "verify" flag
walter79 said:
remove the "verify" flag
Click to expand...
Click to collapse
so i have to unpack the ramdisk and remove the "verify" flag from /fstab.qcom? Or am i wrong?
Thank you and have a nice day!
Is it possible to get this to work for our device?https://forum.xda-developers.com/showthread.php?t=2491299 so we could backup each rom separately cause twrp backs up both roms together
@walter79 i removed the verify from this line in fstab:
dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/system /system ext4 ro wait,verify
now it looks like this:
dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/system /system ext4 ro wait
did you mean it like this? if so it still does not work for me i allways get the same error
walter79 said:
stock MM
Click to expand...
Click to collapse
do you have a flashable stock mm rom? my wont work

f2fs!?

Sorry but I don't understand the situation in supporting this kind of formatting.
Which rom , kernel and magisk supported? And where ?
P2 supports and uses F2FS even in stock. The thing is that Lenovo (Moto) has older and buggy implementation of it which prevents you from using Magisk modules properly. Read about it here (This module is a temporary solution because your modules will disappear every reboot).
Probably every custom ROM posted on forums are using kernels with stock version of it. You can fix it using kernel which I compiled with necessary commit posted here which is working on LOS 15.1 and other treble ROMs or just wait for LOS 16 where the fix will be applied in official builds. You can also download LOS 16 testing build from 15.1 thread (latest pages) if you want.
I mean if that there are custom ROMs with working f2fs without any workaround ?
mysteres said:
I mean if that there are custom ROMs with working f2fs without any workaround ?
Click to expand...
Click to collapse
The current LOS 16.0 test build has F2FS working fine without the need to use any workaround to install modules.

Categories

Resources