Related
Hallo guys,
I've created my ext partition with ROM Manager, but I couldn't choose the file system format (ext2, ext3, ext4).
How can I check witch file system is my partition? Eventually how can I change it?
thanks a lot!
Miniera77
[(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!
I tried searching for an answer to this question on Google but I haven't been able to find an exact answer. At this moment, I'd like to ask the folks at XDA Community to see what the actual differences are. Listing out Pros and Cons would be much appreciated.
Thank you in advance!!
I hope this helps
I think if you visit this thread you'll get a good understanding, please remember to thank AproSamurai for taking the time to put it together.
http://forum.xda-developers.com/showthread.php?t=1387334
Question Answered
Thanks!
So, I have gathered the following source from the link provided above.
What is a partition?
A partition is an area of allocated space, a division of the whole overall area of space. In this case our partitions on the Epic 4G are /System, /Data, as well as /Cache. All with set permanent sizes.
What is a partition map?
A partition map is the configuration of our partitions, it's what in a vagueness sets our required sizes for the divisions of our nand also known as flash memory. A partition or partition map should not be confused with a file system. An example would be BML and MTD.
What is a file system?
A file system resides on the partition map and governs the data being read/wrote/moved/etc by the Operating System, in this case Android. Changing a file system is less complex than an overall change in partition mapping. They again, are not the same thing.
What is MTD?
MTD is an Open Source Partition map. It allows those who are using it control over how their partitions are sized and how much space is allocated here and how much space is taken away from there. Currently on MTD we have 689 megabytes of space allocated to our /data partition allowing more to be downloaded from the market as an example. MTD as a partition config has YAFFS2 as a file system residing on it governing how data is transferred and the speed of which it is done. EXT2 through 4 aren't possible on the MTD platform, just as YAFFS2 may not be possible on the BML proprietary platform.
What is BML?
BML like MTD is a partition map, however it is proprietary in nature, Close Source if you will. The size for /System /Data /Cache is set and permanent and makes opening up space more of a task for Developers. Stock the Epic 4G comes on BML, and is running RFS as it's file system, once rooted you can leave RFS for EXT4 (Journaled or Un-Journaled) as long as the kernel you use allows for EXT4. But in the end, changing a file system on BML does not lessen or enhance the control you have over your partitions.
[Source/Credit: AproSamurai]
http://forum.xda-developers.com/showthread.php?t=1387334
It sounds like you've got it now! That's a pretty good writeup too, even if it is basically a repost.
Goodroid said:
Thanks!
Click to expand...
Click to collapse
You're welcome
Hello. I can see that Android use Kernel on SD but write NAND Partitions (Data/Cache/System). It is Possible to make fota BOOTING from zImage ,,pushed" into any of this tree partitions, without SD? Not LOOP or Emulated NAND. Three Partitions, NO BADA, No SD. Possible?
ghoslslender124 said:
Hello. I can see that Android use Kernel on SD but write NAND Partitions (Data/Cache/System). It is Possible to make fota BOOTING from zImage ,,pushed" into any of this tree partitions, without SD? Not LOOP or Emulated NAND. Three Partitions, NO BADA, No SD. Possible?
Click to expand...
Click to collapse
FOTA can't read zImage from ext4 partitions as far as i know
We still have no any way to flash zImage(boot.img) as RAW to Onenand via Multiloader, and then need changes to FOTA
@adfree maybe you know how to flash zImage this way by multiloader? Something like you did with LK_boot for wave3, but we need app_compressed.bin for our FOTA
@volk204
From ext4 NO
but FAT32 like SD YES
Maybe make 4'th partition (FAT32 where we copy zImage) next to data( Now /data /cache and /system ) like /boot or something? 10mb is all what we need, we can cut it from Data (about 1550mb)
ghoslslender124 said:
@volk204
From ext4 NO
but FAT32 like SD YES
Maybe make 4'th partition (FAT32 where we copy zImage) next to data( Now /data /cache and /system ) like /boot or something? 10mb is all what we need, we can cut it from Data (about 1550mb)
Click to expand...
Click to collapse
Yeah, or keep one bada fat16 partition and put /cache on img file on it. Or put /cache and /data in the same ext4 partition.
Problem : path for kernel change depending on partition layout.
ex :
Code:
kernelImage = L"/e/boot_2.img"
for 1st fat partition of SDcard
Code:
kernelImage = L"/g/boot_2.img"
for 2nd fat partition of internal memory
But what is path for 1st fat partition of internal memory ?
Maybe someone want to try all alphabet letters... not me
Maybe someone know how these partition are mounted and labelled...
Hello, I would like to know which are the correct partitions to change the file system to F2FS. Can I flash to cache, cache and dalvik, system, data, internal storage? Or could you please indicate me which the correct partitions to change the file system to F2FS. The rom stock are compatible with that F2FS file system? I think that from recovery (twrp latest version) it is possible to change the F2FS file system of the partition, thank for you help.
Note:my phone model is LG g3 d851
F2FS on stock requires a compatible kernel and modded ramdisk (fstab), btw you can format data and cache (correct partitions) to F2FS but your phone won't boot.
Loller79 said:
F2FS on stock requires a compatible kernel and modded ramdisk (fstab), btw you can format data and cache (correct partitions) to F2FS but your phone won't boot.
Click to expand...
Click to collapse
Hello,
Could you please tell me that I must modify of the ramdisk (fstab) to avoid problems of bootloop. I have read in several sites that brings advantages in writing data to modify the System and data partition. Thank for you answer.