Mount ext4 formated sdcard with exec rights - Asus Eee Pad Transformer Prime

Hello all. I want to compile something on my tablet, but there are some problems. I can remount fat sdcard with umask=0000, to make awerything executable. But i want automatically mount ext4 formated card with exec rights? Is it possible? How to handle sdcard insertion?

Related

[Q] Link in /sdcard to /emmc or /mnt/emmc?

In order for Samba (SMB access to Android from Win) to be able to get to my external SD card I need to make a file system link within /sdcard (or /mnt/sdcard) to /emmc (or /mnt/emmc.)
How do I do that?
Thanks
If it is formatted as FAT, which it normally is, you can't AFAIK. If you format it as any Linux FS, you can just ln -s, but android might not recognize it as an sdcard. Maybe ICS would, or you could make an init script to mount it. ICS makes some use of ext4.

[Q] Possible to mount root file system in windows?

Currently when you plug in the S3 it mounts the internal sd partition /sdcard is it possible to change it to mount / ?
Cheers.

[Q+A] Mounting ext3 SD card

On my Archos 101IT I formatted the (removable) SD card as ext3. This was required for TitaniumBackup. When UrukDroid is booted, it mounts the file system as:
/dev/block/vold/179:17 on /mnt/storage/sdcard type ext3 (rw,nosuid,nodev,noexec,noatime,nodiratime,fmode=0 666,dmode=0777,errors=continue,data=ordered)
I do not want the fmode/dmode since these make it impossible to protect files on the storage (again, as required by TitaniumBackup).
Where can I change what to have this file system mounted with the right options on reboot?
ANSWER:
Urukdroid has a special script, /system/bin/mount_sdcard.sh, that mounts the SD card upon boot. This script understands (V)FAT and EXT4. Anything else is left to the vold automounter. Archos modded vold so it could do a bit more than stock A 2.1 vold, e.g., mount EXT3 file systems.
I upgraded the file system on the SD card to EXT4, and now mount_sdcard.sh mounts the SD card upon boot with the correct mount options.
Thanks to $aur0n for helping me solve this.
Upgrading an EXT2 or EXT3 file system to EXT4 is easy, see https://ext4.wiki.kernel.org/index.php/Ext4_Howto#Converting_an_ext3_filesystem_to_ext4 .

[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:

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