[Q] flash factoryfs.rfs as ext4 - Galaxy 3 General

I was wondering if it is possible to format /system partition in ext4/ext2 and then make an image using dd, which could be flashed through odin.

Related

Nandroid won't backup my ext4 partition?

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

[Q] EXT4

Why is it not possible to RUN stock ROMS on EXT4 system file??
and
Since we have .50GB ROM
why cant v repartition it and increase out internal storage??
is it poss??
You can run stock rom on ext4 system partition - you just need to use a kernel that can support ext4 system partition - stock kernel cannot

[Q] Recovery to format /cache and /data ONLY as F2FS?

The recovery at http://forum.xda-developers.com/showthread.php?t=2678140 only lets me format /data or all partitions as F2FS. I want to format only /cache and /data as F2FS, leaving /system as ext4. Is there a recovery or script that makes this possible?
TWRP 2.7.1.1 (the official one) will let you do this.
Works. Thanks.

question about re-partition

several days ago I try to re-partition my XT1575 with CM13.0 in recovery mode using "parted".
before re-partitioning I backuped the /data and /system partitions in recovery.
then using "parted" tool I reduced the size of /system from 4G to 1.5G, and increased /data from about 9G to 11.5G.
then I tried to restore the backup to restore my data, but the size of /system and /data were restored either.
I'm wondering if I re-partitioned /system and /data first and then install a new .zip, will the size of partitions restore to original size?

[j500nlte] Can you change PIT without data loss?

Can you re-partition J500FN without data loss and/or damaging eMMC? How to do it properly?
What I need to do:
- extend /data
- shrink /system and /hidden
What I tried:
- using REPIT (errors running from TWRP, nor /tmp)
- manually using parted tool (doesn't support ext4)
What I have:
- Odin
- PIT Magic
- official firmware J500FNXXS1BQG2
- PIT file extracted from firmware
- full eMMC backup as .img
Another idea - will it work?
- shrink backed up /system with resize2fs (this will work - tried on /hidden)
- modify PIT file with PIT Magic
- flash it all with ODIN
PIT Magic shows that PIT is in partition #29. This partition is not visible in parted, it's free space there. Any other way to modify it other than Odin?

Categories

Resources