[DEV] Voodoo expert. RFS to EXT4 conversion. HELP! - Galaxy S I9000 Q&A, Help & Troubleshooting

Hi all... Here there're many dev so maybe i'm so lucky to find someone that can help me....
I'm going to convert my phone's partition to ext4 but i have problem with /data. This because the phone has 4 gb of internal memory that Samsung push under /dev/block/mmcblk0. This memory is partitioned in three part /dev/block/mmcblkop1 (internal SD) /dev/block/mmcblkop3 (/data) and /dev/block/mmcblk0p2 (empty).
How can i format /data into ext4? I tryed different way but the phone doesn't boot. What is the correct way to make it?
My Phone (GT-I9003)

UPDATE: recovery can mount it without issue.... init.rc not.... why???

Related

[Q] how to mount ext2 partition on external sdcard ?

I managed to format my old ext4 1gb partition
(ex mimocam lagfix) to ext2. Something to try with...
It's done, but i can't see it by making a df -h via adb shell.
am i missing something ?
note : froyo jpc with froyo stock kernel
ext4 partition was mounted at boot using mimocam ext4 kernel
is froyo from spc kernel able to mount ext2
(i think so, RyanZa lagfix use it..)
Thanks

[Q] Can't convert /system to ext4?

As of last night I'm running CF Root 3 JVK on Gingerbread 2.3.3.
When I tried using the ext4 App to convert the file systems to ext4, it was successful for:
/dbdata
/data and
/cache
However for /system, it says:
Code:
Using: internal sdcard
Converting /system
- Backing up files ...
- Creating ext4 filesystem ...
- Restoring files ...
- Restore failed ! Not enough space ?
- Performing rollback ...
- Creating rfs filesystem ...
- Restoring files...
- Rollback success!
I cleared up some space on my phone and now I have 1.87GB available space on the sd card, and 13.26GB Available space on the USB storage.
and 1.75GB Available Space on System storage.
However I still can't convert /system to ext4.
Any ideas why this might be the case?
You need to free some space on /system to be able to successfully convert it to ext4. Apparently, ext4 needs some extra space for the conversion.
This is explained in the CF-Root main post, or in the CF-3.0 release information.
Okay thanks for that!
All the answers were in the original thread. I was just searching for the wrong terms.
I eventually downloaded Super Manager, activated its root mode and deleted the Aldiko eBook app from /system/app
That freed up enough space to convert /system to the ext4 filesystem!
mercifulhop said:
Okay thanks for that!
All the answers were in the original thread. I was just searching for the wrong terms.
I eventually downloaded Super Manager, activated its root mode and deleted the Aldiko eBook app from /system/app
That freed up enough space to convert /system to the ext4 filesystem!
Click to expand...
Click to collapse
you're right.
that works.
greetings
andcooper
mercifulhop said:
As of last night I'm running CF Root 3 JVK on Gingerbread 2.3.3.
When I tried using the ext4 App to convert the file systems to ext4, it was successful for:
/dbdata
/data and
/cache
However for /system, it says:
Code:
Using: internal sdcard
Converting /system
- Backing up files ...
- Creating ext4 filesystem ...
- Restoring files ...
- Restore failed ! Not enough space ?
- Performing rollback ...
- Creating rfs filesystem ...
- Restoring files...
- Rollback success!
I cleared up some space on my phone and now I have 1.87GB available space on the sd card, and 13.26GB Available space on the USB storage.
and 1.75GB Available Space on System storage.
However I still can't convert /system to ext4.
Any ideas why this might be the case?
Click to expand...
Click to collapse
Tell me pls where can i find the ext4 tool, for download.
kunacs said:
Tell me pls where can i find the ext4 tool, for download.
Click to expand...
Click to collapse
It is attached on the first page of the CF-Root thread.

[Q] CM7 COMPLETELY substitute damaged internal SD for external?

I've got an i9000M from Bell with a dead internal SD. I managed to get CM7 to boot on the device even though Samsung and Samsung based roms will just simply loop. JPY, JL2, JVQ all loop at the GT-i9000 screen.
My phone can fully boot to ADW and even make phone calls. However, settings are not saved and text messages are rejected because there is no space on the device.
I edited vold.fstab and fstab so that the first partition of my SD mounts to /sdcard instead of /emmc. (One problem cleared)
The second partition of the card is formatted as ext4 and that's what I'm trying to mount to /data. My problem, I edited the fstab to mount mmcblk0p2 (the ext4 partition) to /data, but won't automatically during bootup. If I try to mount manually via ADB, the device loops at the CM7 animation
Here is my fstab:
Code:
/dev/block/mtdblock3 /cache yaffs2 rw
/dev/block/mmcblk0p2 /data ext4 rw
/dev/block/mtdblock6 /datadata yaffs2 rw
/dev/block/mtdblock2 /system yaffs2 rw
/dev/block/mmcblk0p1 /sdcard vfat rw
P.S. My card is a SanDisk 8GB class 6. 7GB for /sdcard; 1GB for /data.
I have the same problem with my old phone, i can boot using custom kernel like ultimate kernel (froyo) and stock rom.
Still no luck replacing damaged data partition
Sent from my GT-I9100 using XDA App
Finally found a way. I recompiled cm 7 and altered data & sdcard refs to external sdcard.
The phone works ok with class 10 card.
Sent from my Xperia Ray using XDA Premium 4 mobile app

Why my ACE does not mount SD-EXT at boot??

Hi there,
I have a Galaxy ACE with Stock KTM Rom , CWM5 , and rooted with CFRoot b83 (b84+b84fix does not work on my KTM rom...dont know why)
I partitioned my 4Gb SD with CWM: 512 for Ext , 0 for Swap and rest for Fat32
I have even tried to format with Mini Partition Tool: Fat32 Primary and EXT2 or EXT3 Primary (4kb cluster size)
I can mount /sd-ext on recovery , even format it, etc.
But.. I have many problems with **2SD scripts, and I think that I found the reason: SD-Ext is not mounted.
I have installed Terminal Emulator, and I get this:
# mount | grep sd-ext -> nothing happens (it should show information)
# df -> /sd-ext is not shown
What can I do??
I know that Link2sd app works with Fat32 + Fat32 partitioned cards, but I need sd-ext to work , so Link2Sd is not a solution for me.
THANKS A LOT!!
You should repartition your sd-ext with cwm...it will auto partition it into ext4...dta2sd works with that...since you are using cf-root...your have a tweaks manager right?try to enable auto start dta2sd at boot...for a sd card, the one for general storage should b in FAT32, sd-ext should be in ext4 (although certaim scripts can work with other formats, but this is working better and faster, so why not?)...Hope it helps...
Ryuinferno said:
You should repartition your sd-ext with cwm...it will auto partition it into ext4...dta2sd works with that...since you are using cf-root...your have a tweaks manager right?try to enable auto start dta2sd at boot...for a sd card, the one for general storage should b in FAT32, sd-ext should be in ext4 (although certaim scripts can work with other formats, but this is working better and faster, so why not?)...Hope it helps...
Click to expand...
Click to collapse
I have tried to make the repartition with CWM , into EXT4, and I have enabled auto start dta2sd at boot ...
But sd-ext is still not there.
I think that CFRoot is not enabling init.d support on my stock Rom.
Thanks for your reply..
Any suggestion will be welcomed!!

[Q] How to format the Internal SD?

Hello folks!
Can someone tell me how to format the Internal SD of this phone?
And, while we're at it, is it possible to format it as ext2 or f2fs?
TIA!
Ookay. I did a lot of research, and to answer my own question:
The Internal SD can NOT be formatted, because it's not a separate device, but merely a directory under /data. /data/media, to be precise. But it can be ERASED/wiped.
Wiping /data now no longer format the /data partition; rather, it simply deletes everything under /data except /data/media.
CWM (or other recovery) should have a separate command to erase/wipe the /data/media directory.
And to find out what filesystems are supported, one should do cat /proc/filesystems
Thanks for reading! I hope this information can be useful to you, too.
forever alone

Categories

Resources