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.
I'm currently using data2ext with B 0.8, and I have a 2gb ext4 partition. I tried performing a backup using BlaY0's "Customized CWM 3.0.1.3 fake-flash with ext4 support". However, I get a message saying something along the lines of "Couldn't mount sd-ext. Sd-ext backup may not be supported on this device."
Any ideas? Is it unable to backup a ext partition larger than 1gb? Is there any alternative to a nandroid backup?
EDIT: Damn, is this cause I cheated when partitioning the SD card?
I guess the problem is in ext4 feature huge_files. Even tho my customized CWM has ext4 support, it lacks huge files support (files over 2TB). This feature however is set by default when formatting ext4 partition. It can be turned off using tune2fs. Consult mr. Google on how to use tune2fs.
Sent from my HTC Legend
i tried turning off huge_file support but i still cant nandroid the ext4 partition created with the customised fake flash.
from adb shell in latest CWM recovery i tried:
tune2fs -O ^huge_file /dev/block/mmcblk0p2
/data/data/com.koushikdutta.rommanager/files/e2fsck -fpDC0 /dev/block/mmcblk0p2
Click to expand...
Click to collapse
then rebooted but still not love with nandroid mountind the ext4 partition
fixed my problem:
i had reverted to using CWM 2.5.0.7 gui / update.zip which does not support ext4
so going back to blay0's custom update.zip (3.0.1.3) I can now nandroid backup my ext4 partition. (i have still got huge_files turned off as per above)
Just dunno how to use blay0s version with rom recovery gui, but no biggie
Dear all,
I tried to use link2sd on my S6102, so first I rooted it using this tutorial (which is linked in the link2sd tutorial):
http://forum.xda-developers.com/showthread.php?t=1611830
After applying update.zip, link2sd reports 0.00b on /system, thus the error message when starting link2sd:
"Mount script cannot be created. write: No space left on device.
Before applying update.zip, it was 1.4Mb in /system.
What does it mean? Did I do anything wrong?
BTW in this state, I tried to install the 15toggles package, which resulted in boot loop - had to restore nandroid backup via cwm. Maybe the same reason?
Thanks a lot!
To create a mount script you need a 2nd ext partition on your sd card - nothing to do with /system although you do need space there to place the script which I think is your problem
if you have got /system problems wipe Dalvik cache in cwm
if you still have problems You will have to wipe system & data and install a custom rom that is pre rooted
Yes 2nd partition is there and yes I think it is the script itself which doesn't fit in /system
Wiping dalvik cache did not change anything...
Maybe I can find another root "package" and try with that...
I've unlocked my new MI9T to install xiaomi.eu rom.
First of all, after unlock, i've installed the official TWRP and i've formatted (not wiped) the DATA partition.
I've noticed that TWRP logged that it was formatting the DATA partition with mkfs.f2fs ...... really strange...
So, i've rebooted to TWRP and changed the DATA partition type to EXT4 and formatted it... after a reboot i've tried to format it again and it was formatted again in F2FS (like F2FS was the default selection).
So i've tried to switch to OrangeFox recovery (i suspected a bug in TWRP)... but the same behaviour...seems that F2FS is the default partition type for my DATA partition.
I've installed the xiaomi.eu (the kernel in this rom is the official one, and i dont think that it supports F2FS) and the rom boot ok, without problems.
I've tried also to force ext4 on DATA, but with this partition type the rom never boot (it remains on the android bootanimation).
So right now, i see a f2fs partition type on my data partition, with original kernel.
I've tried also to change the cache partition to f2fs (by default this partition is formatted in ext4) but in this way, the rom boots, but i can't see the cache partition, seems that effectively the kernel can't mount the cache partition.
so i've unpacked the official miui_DAVINCIEEAGlobal_V11.0.4.0.QFJEUXM_5001481fbb_10.0 rom, and i've found that in the vendor partition, under (vendor)/etc/fstab.qcom there is this entry for DATA partition:
Code:
/dev/block/bootdevice/by-name/userdata /data [B]f2fs [/B]noatime,nosuid,nodev,nodiscard,fsync_mode=nobarrier,reserve_root=32768,resgid=1065 wait,check,fileencryption=ice,wrappedkey,quota,reservedsize=128M,latemount
So, this phone uses by default a F2FS partition type for DATA????
gulp79 said:
...so i've unpacked the official miui_DAVINCIEEAGlobal_V11.0.4.0.QFJEUXM_5001481fbb_10.0 rom, and i've found that in the vendor partition, under (vendor)/etc/fstab.qcom there is this entry for DATA partition:
So, this phone uses by default a F2FS partition type for DATA????
Click to expand...
Click to collapse
Yes - stock QFJEUXM 11.0.4, never formatted (or wiped) Data, see screenshot from /vendor/etc/fstab.qcom