[Q] Use a multi-partition sdcard ext4 - Samsung Galaxy 5 I5500

Hi everyone,
I have project in mind but all i did to realize it didn't work.
my project is: i want to use the sdcard with 1st primary partition for saving Roms and updates to work with cwm (fat or fat32), 2nd prim. part. for my data aka "/mnt/sdcard" (ext4), 3rd prim.part. for apps using Link2SD (ext4) and last, optionally, 4th prim. part as SWAP (swap).
this is because i want to use ext4 for /mnt/sdcard but cwm can not read ext4 to backup/restore roms. i tried something with vold.fstab, and init.local.rc, init.rc, /etc/init.d/ but i couldn't achieved the goal.
can anyone help me achieve this?
thx
i'm using CM7 (CyanogenMod-7.1.0-MADTEAM Gingerbread 2.3.7) SD 8GB
512 MB (FAT/FAT32)
6 GB (EXT4)
1GB (EXT4)
128MB (SWAP)

i found a manner to make the first primary partition visible only to cwm: i made it hidden fat.
so android looking for the first usable partition of my sd to mount as sdcard. also by a script i can make swapable the last partition, but this is an option as it is not always wise to have a swap partition.
but some problems remain:
-android forces mount in fat32 for sdcard
-link2sd forces to mount the 2nd partition for its purposes, and it cant because the partition is already mounted as sdcard in fat32. link2sd has to mount the third partition for linked apps.

Related

[Q] Mount more than two partitions

Hello,
I have the SD card with 3 partitions one FAT and two ext2. But the system only mount one FAT and one ext2. I would like to mount the third partition any time the system boot.
Is it possible?
Thanks

Cant mount sdcard

ok my sdcard is not seen on my device what made it unseenable is that i wanted to use ext3 so i deleted all partrion,wiped sdcard,made 3gb fat32,300 mb swap and 300 MB ext3 now my sdcard cannot be seen i went into mount in cwm and used mount on all options but still not on phone seen and root explorer says its not mounted i can see all my data on sd card on my pc using card reader and i use my fat32 partition primary and other 2 partitions logical please help me asap and thanks in advance
ALL partition should be PRIMARY - not LOGICAL.
Backup your data and format it in, then create those partitions in MiniTool Partition Wizard
- FAT32 (primary)
- EXT3 (primary)
- LINUX SWAP (primary)
but must warn you -> there is possibility that you will have troubles with automounting EXT3 or SWAP...
penthaler said:
ALL partition should be PRIMARY - not LOGICAL.
Backup your data and format it in, then create those partitions in MiniTool Partition Wizard
- FAT32 (primary)
- EXT3 (primary)
- LINUX SWAP (primary)
but must warn you -> there is possibility that you will have troubles with automounting EXT3 or SWAP...
Click to expand...
Click to collapse
swap is already mounted bt ext3 I can use A2SD IN settings right?
pic of what im gonna do in attachments plz see it
ok i did it what i didi is attached screenshot and im booting it up now

[Q] Mounting a third partition for use with Link2SD

So ran out of storage in /data partition, decided to create 2 partitions in my external SD and i created it using Gparted, one is ext4 and the other is fat32, now the phone refuses to mount the ext4 partition from Link2SD.
Looking at the vold.fstab file and sysfs paths(/devices/platform/mtk-msdc.0) , it seems that our phone can mount only 2 (+1 otg) partitions ? (or is it just 2 sd cards ?)
is it even possible to mount the second partiton ?? (No /devices/platform/msm_sdcc )
I do know of the EMMC method, i don't like it ;p
A block for the second partiton is present in /dev/block,(mmcblk1p2) gonna mount and see what happens
gowtham121 said:
So ran out of storage in /data partition, decided to create 2 partitions in my external SD and i created it using Gparted, one is ext4 and the other is fat32, now the phone refuses to mount the ext4 partition from Link2SD.
Looking at the vold.fstab file and sysfs paths(/devices/platform/mtk-msdc.0) , it seems that our phone can mount only 2 (+1 otg) partitions ? (or is it just 2 sd cards ?)
is it even possible to mount the second partiton ?? (No /devices/platform/msm_sdcc )
I do know of the EMMC method, i don't like it ;p
A block for the second partiton is present in /dev/block,(mmcblk1p2) gonna mount and see what happens
Click to expand...
Click to collapse
hi, gowtham121
ROOT your phone first,
create 2 partitions as fat32 on sdcard
its work on my chd:fingers-crossed:

Resizing sd card partitions

I partitioned my 32 gig sd card into 2 (fat32 and ext4). This was done for link2sd as I have my phone rooted n I use the 2nd partition for linking applications. But my second ext4 partition is of 12G n the rest is in the fat32 first partition. I also use foldermount to link large game data and obb to the sd card's 1st partition. Now I'm running out of space on the first partition. And the ext4 partition is all free (around 9G). Now I want to resize the first partition to increase its size n decrease the ext4 partition size. Windows doesn't recognize the second partition as usual.
So, how can I re-partition my SD card WITHOUT loosing data on either of the partitions? I'm not worried about the first partition as I can back it up but I cant back up the linked files present on the 2nd partition.
Any help is appreciated.

Properly formatting SD for Marshmallow

Hello,
OEM's rom doesn't handle ext4 for external storage and asks for reformatting to exfat, telling it is "corrupted".
Manually creating an exfat first partition and a second ext4 partition doesn't work to vold mount the partitions, but mounting manually works for using the filesystem, yet the system aggressively asks me to format the whole storage.
How should I proceed to format "correctly" my sdcard to make vold stop ask me to format, yet keeping a whole storage ext4 partition, or a small exfat partition and a big ext4 partition.
On device tools that touches /system are outright banned as it will break safetynet stuff. (But root is available)

Categories

Resources