CM 6.1 RFS or EXT2? - Vibrant General

Does anyone know if CM 6.1 will completely replace RFS with EXT2 or will it still run on RFS and we'll need to utilize various flavors of lag fixes?

CM 6.1 will most likely be yaffs2 not rfs

Related

How to convert EXT4 to EXT3?

As the title states, my SD currently runs an EXT4 partition, however after reading around on these forums not all roms support EXT4 yet and most want EXT3 in order to work properly.. Upgrading EXT is easy im using RA Recovery Image, however how do you go from an EXT4 back to an EXT3?
I would think you'd have to repartition the card, well thats how I went about it.
It's tricky. usually, once you upgrade to ext4 you can't go back to ext3 without repartitioning.. but there's a work around...
you can turn off the ext4 "features" from a ext4 partition and mount it as ext3....
"mount -t ext4 /dev/yourpartition /mnt"
that would be the basic command. Needs to be rewritten for your particular situation.
You're better off just repartitioning lol.

[Q] I/O Performance boost

Hy all!
I found a very interesting post over at samdroid.net
My question is its possible to port this mod for our hero?
Link:
http://forum.samdroid.net/f55/i-o-performance-boost-migrate-your-spica-ext2-2218/
Info:
What does it do?
Reformatting /data as ext4 (as it needs journaling for safety), and /system as ext2(as it is mounted ro all the time).
Thx for the answer.
Regards
Wenner
It gives performance boost on Samsung phones because Samsung has it's own filesystem which slows down whole system. Reformatting it to ext gives boost because ext is faster. HTC Android devices has ext partitions as default so it isn't needed.
Wrong, on all counts.
The storage partitions on the HTC Hero and other devices is nand memory, not a block device. ext filesystem is designed for block devices. The filesystems on /data /system /cache etc are all yaffs2, a filesystem designed specifically for Memory Technology Devices like the NAND in our phones.
Furthermore, even if you could format /data, /system etc as a filesystem other than yaffs2 you'd have to do it from outside the ROM, either via recovery or hboot somehow. A journalling filesystem is destructive to flash memory because flash memory has a finite number of writes before it fails. You'd also have to have a custom kernel if the default kernel doesn't support the filesystem you want to switch to.
If you use old style apps2sd and therefore have a partition for it on your sdcard, they're set up to emulate block devices and you should use ext2 for the reasons pointed out earlier. sdcards are still flash memory at heart and thus journalling is destructive.
Thanks for explanation, but i have question - why we don't use yaffs2 for app2sd (which is designed for flash memory)?
And which is faster - yaffs2 or ext2? On Samsung devices reformatting whole system to ext2 gives performance boost (in comparision to RFS).

Custom ROM converted to ext2 JPF based

Hi All!
I just made my first custom ROM:
It based on stock 2.2 JPF: only modification is rooting and converting to ext2 data system and cache partitions.
Flash it after flashing full stock JPF (My ROM don't contain bootloader, modem etc, so you must first flash stock JPF)
DON'T wipe after reboot, it will format you data and cache partitions back to RFS. I don't changed recovery binary, so please don't wipe if you want ext
ROM works OK for both rfs and ext2, so it will work, but no point to use my ROM with rfs
Any feedback is appreciated.
Update:
My JPM ROM converted to ext4
Stock firmware, only changes are rooted, busybox, fugutweak, (removed Layar and thinkfree for space, ext4 left less space for users ;( )
quadrant score is 470
Used apollo5801 kernel with modified initramfs to allow ext4 ext2 and rfs FS on all partitions, it use possibility to have data2sd
As for me, use ext4 for /system is has no much sense. Better use ext2 for /system and /cache, wile using ext4 for /data
/system normally is R/O, /cache has no vital information, so it better to use it with ext2 for performance
URL for ROMs:
My JPF ext2 ROM: http://www.multiupload.com/KQBT92RM0U
My JPM ext4 ROM: sorry, link removed, it has issue with WIFi
Interested in it. Give a detailed list of steps, please.
mumbozver said:
Hi All!
I just made my first custom ROM: sorry, I have no posts yet, and can't attach
It based on stock 2.2 JPF: only modification is rooting and converting to ext2 data system and cache partitions.
Flash it after flashing full stock JPF (My ROM don't contain bootloader, modem etc, so you must first flash stock JPF)
DON'T wipe after reboot, it will format you data and cache partitions back to RFS. I don't changed recovery binary, so please don't wipe if you want ext
ROM works OK for both rfs and ext2, so it will work, but no point to use my ROM with rfs
Any feedback is appreciated.
Click to expand...
Click to collapse
Hello,
I am interested in your ext2 ROM.
It's not quite clear for me how to flash it. I mean this: "DON'T wipe after reboot". Do you mean I should not do a factory reset? What about factory reset right after flashing stock JPF?
Would you write a detailed list of steps?
Thank you.
szabof1 said:
Would you write a detailed list of steps?
Click to expand...
Click to collapse
My ROM is kind of POC, it's not customized or so, main goal is try ext2 instead of rfs
1 - Flash stock JPF firmware.
2. - After flashing stock JPF you may do "wipe data/factory reset", or don't do factory reset.
3. - Flash my ROM.
4. - After reboot don't do "wipe data/factory reset" or "wipe cache partition", just choose "reboot system now"
If you do all right, you will get system data and cache partitions in ext2, only efs partition will stay in rfs.
mumbozver said:
Hi All!
I just made my first custom ROM: sorry, I have no posts yet, and can't attach
It based on stock 2.2 JPF: only modification is rooting and converting to ext2 data system and cache partitions.
Flash it after flashing full stock JPF (My ROM don't contain bootloader, modem etc, so you must first flash stock JPF)
DON'T wipe after reboot, it will format you data and cache partitions back to RFS. I don't changed recovery binary, so please don't wipe if you want ext
ROM works OK for both rfs and ext2, so it will work, but no point to use my ROM with rfs
Any feedback is appreciated.
Click to expand...
Click to collapse
hello. you converted the partitions /system /data and /cache to .ext2.
With a factory reset, the partitions will be converted back to .rfs?
kyrillos13 said:
hello. you converted the partitions /system /data and /cache to .ext2.
With a factory reset, the partitions will be converted back to .rfs?
Click to expand...
Click to collapse
Hello
system partition in any case will stay in ext2
"wipe data/factory reset' will reformat data and cache partition to rfs
"wipe cache partition" will reformat cache partition to rfs
Because of this don't do factory reset if you want test ext2 for data or cache partitions
P.S. looks like we need tweaked/custom recovery, if you know any - send me a link, pls
does it is working
I flashed your ROM
Hello,
I flashed your ext2 ROM just now.
Everything seems to be OK.
mount shows:
"/dev/block/stl6 /system ext2 rw,relatime,errors=continue 0 0
/dev/block/stl7 /data ext2 rw,nosuid,nodev,relatime,errors=continue 0 0
/dev/block/stl8 /cache ext2 rw,nosuid,nodev,relatime,errors=continue 0 0"
It is rooted and has busybox installed by default! Thanks.
Stock JPF upgraded by your ext2 ROM still workes well.
I also use Link2SD with 2nd (ext2) SD card partition for selected programs.
Is ext3 file system supported on SG3?
If yes, is it possible to convert /system, /data and /cache partitions to ext3 instead of ext2?
szabof1 said:
Is ext3 file system supported on SG3?
If yes, is it possible to convert /system, /data and /cache partitions to ext3 instead of ext2?
Click to expand...
Click to collapse
it isnt possible. When sammy release froyo kernel sources we will convert the partitions to ext4...
I do not know ext4. Why is ext4 better than rfs? What is the performance difference between ext2, ext4 and rfs?
szabof1 said:
I do not know ext4. Why is ext4 better than rfs? What is the performance difference between ext2, ext4 and rfs?
Click to expand...
Click to collapse
From my ext2 ROM: overall performance index by Quadrant increased from 325 to 520 after converting from rfs to ext2
ext4 is must be faster than ext2, but it uses more CPU, so need to get real user experience.
hi mumbozver,
what do you think about deodexing? does it make sence make ROM deodexed if this ROM is converted to ext2? i have heard some thoughts deodexed rom is not faster than non-deodexed... the higher performance is reached by ext2, not deodexing. is it true?
anly11 said:
hi mumbozver,
what do you think about deodexing? does it make sence make ROM deodexed if this ROM is converted to ext2? i have heard some thoughts deodexed rom is not faster than non-deodexed... the higher performance is reached by ext2, not deodexing. is it true?
Click to expand...
Click to collapse
Deodexing is increase first boot time after flashing and decrease available space in /data partition, but increase space in /system (you will get half of space, that you are wasting in /data. In deodexed ROM you need to store odexed "classes.dex" in /data/dalvik-cache and zipped deodexed "classes.dex: inside *.apk or *.jar files on /system).
So you will get lesser overall free space in you phone and slower first boot. Thats all about deodexing performance.
Main reason to get deodexed ROM is ability to change themes, and possibly put in /system some program of user choice, so programs will survive factory reset. But in my ROM factory reset will convert /data and /cache partitions back to rfs, so deodexing in my point is not needed.
i have flashed your rom, everything seems to be ok. quadrant score: over 500
mumbozver said:
Deodexing is increase first boot time after flashing and decrease available space in /data partition, but increase space in /system (you will get half of space, that you are wasting in /data. In deodexed ROM you need to store odexed "classes.dex" in /data/dalvik-cache and zipped deodexed "classes.dex: inside *.apk or *.jar files on /system).
So you will get lesser overall free space in you phone and slower first boot. Thats all about deodexing performance.
Main reason to get deodexed ROM is ability to change themes, and possibly put in /system some program of user choice, so programs will survive factory reset. But in my ROM factory reset will convert /data and /cache partitions back to rfs, so deodexing in my point is not needed.
Click to expand...
Click to collapse
Thanks for the ROM.... Just a question of how long the battery lasts...? Is it over a day...
Vishnu N S said:
Thanks for the ROM.... Just a question of how long the battery lasts...? Is it over a day...
Click to expand...
Click to collapse
It depend of usage pattern.
I use it lightly, just few minutes of call per day, but always on Wi-Fi or 3G connection, skype chats and email checks.
After Gallery3d removal it run something about 2 days.
mumbozver
I don't understand.
Yesterday was your explanation about deodexing.
Now i can't see this one
Why?
Is this a "postmoderating"?
Add.
Sorry.
It's very strange. I see it again!
kyrillos13 said:
it isnt possible. When sammy release froyo kernel sources we will convert the partitions to ext4...
Click to expand...
Click to collapse
Now we have sources
I did quick test for ext4 enabled kernel from here: http://forum.xda-developers.com/showthread.php?t=978823
Just flashed zImage to my ROM. everything looks OK for now, so I will make ext4 ROM in few days, probably based on JPL.

[Q] Best File System?

I know this has been asked a lot of times on this forum but i really can't understand the advantages of having an ext4,ext3 or ext2 file system over the standard rfs. Does this lead to faster r/w times? Also i googled this and found some articles explaining the advantages of using the ext4 file system on dual-core smartphones.
I'm a newbie to Android and don't really understand how it would help on the SG3.
Also needed to know about the differences in the variations of the ext4 and ext2 file systems such as stl6 ext4, stl7 ext4, stl8 ext2.
I am really confused and expecting a reply from someone. Please help.
gamerprithvi said:
I know this has been asked a lot of times on this forum but i really can't understand the advantages of having an ext4,ext3 or ext2 file system over the standard rfs. Does this lead to faster r/w times? Also i googled this and found some articles explaining the advantages of using the ext4 file system on dual-core smartphones.
I'm a newbie to Android and don't really understand how it would help on the SG3.
Also needed to know about the differences in the variations of the ext4 and ext2 file systems such as stl6 ext4, stl7 ext4, stl8 ext2.
Click to expand...
Click to collapse
system ext4/ext2
data ext4
cache ext2

/system stuck on VFAT file system

So I've been trying to do a lot of things and I must have messed up something along the way. I followed a video that tells you to change /system to vfat and then back to ext4 to fix it but now I cannot change it back to ext4 and I can't boot flash my phone since roms need system to be ext4.

Categories

Resources