CM7 ext4 - EVO 4G Q&A, Help & Troubleshooting

Quick question, search did no good...
When running gingerbread cm7 is the file system formatted to ext4 as with the Nexus S? If no does the cm7 rom for the Nexus S use ext4?
Thanks

CM7 uses ext 4, so I believe the answer is yes. I believe it is formatted.

teh roxxorz said:
CM7 uses ext 4, so I believe the answer is yes. I believe it is formatted.
Click to expand...
Click to collapse
I actually am not sure if it defaults to ext4. I found this thread when I was about to post the same thing asking in the Dinc forums. I run CM7 RC4 and a simple mount command from the terminal shows ext3 instead of ext4.
For me /system and /data are yaffs2 and /data/data is ext3.
EDIT: Looked at it again, /system and /data/data are yaffs2 and /data and /cache are ext3. Anyone know how to format in CWM?

Related

ext4 to ext3 script ?

Is it possible for someone to create a script to convert ext3 to ext4 and backwards.
I'v flashed my recovery menu with unrevoked, and clockmodwork doesn't support ext partitions in their recovery image.
http://forum.xda-developers.com/showthread.php?t=689778&highlight=AMon
This recovery allows you to convert your ext3 partition to ext4 (not backwards)
But you can easily do it within Linux using GParted
I've tried that.
When i start gparted it indeed can let me format back to ext3, only when i format back to ext3 i will lose my data on the ext4 partition.
I thought maybe there was a option to create a GScript script, so i can run it on my phone.
Have you try to mount ext4 as ext3?
http://en.wikipedia.org/wiki/Ext4
The ext3 file system is partially forward compatible with ext4, that is, an ext4 filesystem can be mounted as an ext3 partition (using "ext3" as the filesystem type when mounting). However, if the ext4 partition uses extents (a major new feature of ext4), then the ability to mount the file system as ext3 is lost.
peewster said:
I've tried that.
When i start gparted it indeed can let me format back to ext3, only when i format back to ext3 i will lose my data on the ext4 partition.
I thought maybe there was a option to create a GScript script, so i can run it on my phone.
Click to expand...
Click to collapse
PULL the files from the ext4 partition, then format it to ext3 and PUSH them back.
globalm said:
PULL the files from the ext4 partition, then format it to ext3 and PUSH them back.
Click to expand...
Click to collapse
i should had figured that out myself

Oxygen 2.0 and ext4

Hello all. Was wondering if Oxygen 2.0 final supports ext4 partition, or do i have to go back to ext3?
Thanks!
Sent from my HTC Desire using XDA App
No, it doesn't, if you want to use ap2sd, you should convert ext4 to ext3
I just installed Oxygen 2.0.1 and my ext4 partition works.
Yes it does support ext4
it works with ext4 partition, but when I run mount in terminal it shows ext2. Is ext4 features working then?

How to tell what filesystem?

Hi all, I just used CW Recovery to make a 1gb extra partition but don't know which version ext it made. Can someone provide me with some code to write in my terminal to line up my sd-card partition. Thanks.
Sent from my HTC Desire using Tapatalk
Afaik cwm makes ext2 by default, check with 'mount' from terminal, look for sd-ext and if will say ext2/3/4 next to it.
Thanks man.
It seems that the cvm provided in the [Nightly]CM7 thread made ext4 filesystem, atleast that's what I have but it could be the data2ext mod I flashed that converted the ext2 to ext4, I don't know.
More chance that the data2ext mod formated your partition with ext4

[Q] Ext4 on CM7

I did a search on this as I was curious. I remember seeing in the merges about ext4 being supported for CM7 and a google search and forum search came with nothing. I was able to find information about ext4 replacement for Samsung phones such as Galaxy S and Nexus S.
I posted this on the EVO forum as someone there had a similar question:
tiny4579 said:
teh roxxorz said:
CM7 uses ext 4, so I believe the answer is yes. I believe it is formatted.
Click to expand...
Click to collapse
I actually am not sure if it defaults to ext4. I found this thread when I was about to post the same thing asking in the Dinc forums. I run CM7 RC4 and a simple mount command from the terminal shows ext3 instead of ext4.
For me /system and /data are yaffs2 and /data/data is ext3.
EDIT: Looked at it again, /system and /data/data are yaffs2 and /data and /cache are ext3. Anyone know how to format in CWM?
Click to expand...
Click to collapse
I'm thinking if I could nandroid backup, reformat ext3 as ext4 and then restore, it should work for me. I know at least the Tiamat kernel currently supports ext4.
Any ideas?
Anyone? I'm curious if at least doing this could help performance as I believe ext4 is definitely faster than ext3.
Sent from my ADR6300 using Tapatalk
So I tried a nandroid backup then formatting /system /data and /cache using CWM 3.0.0.8 and restoring backup but no change. /system and /data/data are still yaffs2 and /data and /cache are still ext3. I think if I use mke2fs with the correct options it might work. I remember seeing support in CM7 for it and the kernel I'm using definitely supports it.
EDIT: So this is more of a because-I-want-to project than because I think significant improvements will be made. Next step would be to see if I can use a command line format using adb in recovery.
I converted ext3 to ext4 for /data and /cache as follows but when I reboot it mounts as ext3 (maybe I have to reflash rom?):
From adb shell:
Code:
tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p1
e2fsck -fpDC0 /dev/block/mmcblk0p1
tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2
e2fsck -fpDC0 /dev/block/mmcblk0p2
The best post for this is:
http://forum.xda-developers.com/showthread.php?t=534714
Still trying to convert /system and /data/data to ext4.
For anyone reading, the file to be edited is /init.inc.rc which is part of the ramdisk so the actually ramdisk needs to be modified or any changes will not stick on a reboot. It proves quite challenging. Maybe the rom or kernel do not prefer ext4 over ext3.
tiny4579 said:
For anyone reading, the file to be edited is /init.inc.rc which is part of the ramdisk so the actually ramdisk needs to be modified or any changes will not stick on a reboot. It proves quite challenging. Maybe the rom or kernel do not prefer ext4 over ext3.
Click to expand...
Click to collapse
Can you provide instruction on how to change /init.inc.rc ? Thanks !
vikstk said:
Can you provide instruction on how to change /init.inc.rc ? Thanks !
Click to expand...
Click to collapse
I can actually do something a little simpler than that.
Basically I took Chad's 4/19 kernel and extracted the file and edited it and put it back in. It took a bit of work to figure it out. Thanks to Chad and Conap I got it working. If I missed anyone else I apologize.
The prerequisite for this to do anything is to make sure you have actually converted the current ext3 partitions to ext4. You can check by running mount from adb or terminal emulator.
Then flash the below zip which will load Chad's 4/19/11 kernel and also allow mounting as ext4. If you want a different kernel you can just flash over it and it should still be ext4. If you want to undo it just wipe and reinstall any ROM.
http://dl.dropbox.com/u/31805083/2.6.37.6-incredikernel-gb-4192011-ext4.zip

[(KERNEL)] A dumb question about EXT4

[(KERNEL)] A dumb question about EXT4
a)Flashed CWM Kernel + EXT4 tools app. Converted system to EXT4.
b)Flashed Speedmod Kernel K15H. Convert RFS to EXT4 via recovery
c)Flashed Talon Dev 0.2.2. Automatic Convert system partition to EXT4.
1)Are there various type of EXT4?
2)Do I need to convert system into EXT4 each time I flashed a kernel?
3)Why each kernel could not recognize the system already EXT4 converted?
How do I verify the system is in EXT4? CWM EXT4 tool could not recognize ETX4 if you flashed with others kernel.
Can someone explain? many thanks
1) Ext4 or Ext4nj (nj stands for non-journalized), using Ext4nj is only for non critical data.
2) No, the new Kernel must try to know if you're already in Ext4, if it doesn't, it's stupid.
3) use the "mount" command in a terminal or via adb, if you see Ext4 in line with /system, /data, etc. etc., you're under Ext4 Lagfix.
No, there is no different kind of ext4. If you flashed stock rom with odin between each kernel transition, know that this reformat the file system to RFS. Ususally, i use chainfire ext4 tool to know if my FS is in ext4. Also, you should not haveto worry about changing FS to ext4 again after changing as you only change the kernel and not the FS. Next time can you post your question in question & answer sub-forum plz.
.Slane. said:
1) Ext4 or Ext4nj (nj stands for non-journalized), using Ext4nj is only for non critical data.
2) No, the new Kernel must try to know if you're already in Ext4, if it doesn't, it's stupid.
3) use the "mount" command in a terminal or via adb, if you see Ext4 in line with /system, /data, etc. etc., you're under Ext4 Lagfix.
Click to expand...
Click to collapse
true that there is journalised and non-journalised, but both can be mount the same way and are seen the same way by the system.
.Slane. said:
1) Ext4 or Ext4nj (nj stands for non-journalized), using Ext4nj is only for non critical data.
2) No, the new Kernel must try to know if you're already in Ext4, if it doesn't, it's stupid.
3) use the "mount" command in a terminal or via adb, if you see Ext4 in line with /system, /data, etc. etc., you're under Ext4 Lagfix.
Click to expand...
Click to collapse
Thanks man. I would strongly agree that each kernel should try to reconize the EXT4. Somehow, this not the case.
chadouming said:
No, there is no different kind of ext4. If you flashed stock rom with odin between each kernel transition, know that this reformat the file system to RFS. Ususally, i use chainfire ext4 tool to know if my FS is in ext4. Also, you should not haveto worry about changing FS to ext4 again after changing as you only change the kernel and not the FS.
Click to expand...
Click to collapse
Hi. As i said. Once you flashed another kernel, chainfire ext4 would not able to identify wheather your system is in Ext4. I'm using custom rom not stock.
Just to add on, frequent converting from/to Ext4 would cause some app to be force close. You have to reinstall the apps. What the hack!

Categories

Resources