Hi friends, i installed carbon rom 4.4.2 on my galaxy grand gt-i9082....i have a ext4 formatted 32GB sd card and contains only one primary partition........Carbon ROM detects ext4 card successfully and mounts it at /storage/sdcard1 , but i am not able to copy and write files onto the sd card using an explorer like root explorer or ex file explorer......Now, Carbon rom also mounts it at /mnt/media_rw/sdcard1...but here i am able to copy an write files onto the sd card...But the downside is that When i use MTP to transfer files between my mobile and windows pc, i can see only the sdcard mounted at /storage/sdcard1 from which i cant copy or paste the files.....So how do i make MTP to show the real mounted partition /mnt/media_rw/sdcard1 so that i can transfer files between my computer and mobile.
NOTE: I just found out using mount command that it uses /dev/fuse to mount the sdcard at /storage/sdcard1 but uses the real device i.e. /dev/block/mmcblk1p1 to mount the sdcard at /storage/media_rw/sdcard1.......
Please Help........Any ideas or suggestions to make this work are welcome....
Related
This article is a google translate from my article in Greek from here: http://fwlia.k0uk0s.gr/2011/07/mount-ext4-formated-sd-android.html
Sorry for any language mistakes
Well, quick and dirty way to mount ext4 file system on the external sd.
1) We need external sd and kernel with ext4 support (Overcome has)
2) Format from a Linux machine the sd to ext4. The best way is to format the sd from a card reader. If you want fat32 partition, put it first and then the ext4
3) Put the card into the device and do boot. The android will grumble that there is a problem with sd, ignore it. If you have the first partition fat32, it will not say anything
4) In the internal sd (the fat32 which has the device from factory) you make a folder called external_sd. Most of you must have the directory
5) You install on android the http://market.android.com/details?id=os.tools.scriptmanager
6) you make a folder in the internal sd named scripts and there you make a text file named mount.ext4 and this content:
#! / System / bin / sh
mount-t ext4 / dev/block/mmcblk1p1 / sdcard / external_sd
7) If you put the first fat32 partition, then change mmcblk1p1 mmcblk1p2
8) Finally, in the Script Manager we installed before, pick the mount.ext4 and tick run as root and run at boot
Reboot and complete.
I have yet to find a way to become the ext4 unmount when the device connect to usb.
Now you can put that hd movies in sd whithout the 4gb per file fat32 limitation. You just need a linux machine to copy them in sd.
Have a nice day
Thanks Alot!
Dude, you are my hero! Hate FAT32 like the plague. Now I can rid myself of it once and for all!
yeah! it's done, good job. but i have some bug to report can not use Mass storage to connect to PC , can be connect by Samsung Kies only.
pisit99 said:
yeah! it's done, good job. but i have some bug to report can not use Mass storage to connect to PC , can be connect by Samsung Kies only.
Click to expand...
Click to collapse
A normal Win PC doesn't know about ext4... As the OP states you'll need a Linux-machine to work with.
I am running CM7 on SD card that has a storage partition of about 6 gig.
When I run stock Nook Color USB, it's easy to set up folders in My Files and fill them with magazines, ebooks, pdf files, videos, etc. on the EMMC.
Then under CM7, I have been using File Manager to move the files one by one to the SD card.... a tedious process.
Or I have been able to use DropBox to export the files one by one to the SD card .... even slower and more tedious
I've tried to get EASEUS Partition Master to activate the storage partition so I could just drop files in there, but all I can ever see is the boot partition on my PC.
There has to be an easier way, right ?
Just plug the Nook in via USB and then you need to open your status bar and mount as USB. You will then have two new drives on your PC, one for EMMC and one for your SD card.
Sent from space
THATS more like it. Working great now and thanks!
edit /system/etc/vold.fstab on stock and change first auto for SDCARD to 4 and you can use the same partition for stock and sd ROM for the SDCARD
in your CM7...
either use terminal app or adb shell:
mkdir /sdcard/tmp
mount /dev/block/mmcblk0p1 /sdcard/tmp
Then edit /sdcard/tmp/etc/vold.fstab to make the following change:
Code:
dev_mount sdcard /mnt/sdcard auto auto /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
CHANGE TO
dev_mount sdcard /mnt/sdcard 4 auto /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
Hio
I wanted to ask gently, if someone is in a position to build a kernel that allows the SD card to be formatted in ext(2,3,4)?
I've pushed a 32GiB card into the tablet, and it would be very nice to move more than 4GiB sized data on the sd card.
Other file systems would of course possible
I have the P6810.
I don't think you need a custom kernel. The internal flash memory is already formatted with ext4 and supports files larger than 4GB. The problem is with the Samsung automatic sd-card mounting which forces fat32 only.
Is it possible to manually unmount/remount the external sd card with ext4 file support via shell or custom app/script?
The kernel's got ext4 support.
To mount the SD card, run the following in a terminal (as root):
mkdir /mnt/sdcard/ext
mount -t ext4 /dev/block/mmcblk1p1 /mnt/sdcard/ext
Your SD card will then be mounted in the ext directory on your Internal drive.
I donĀ“t know if this has been posted here,
it does work on my N7105 stock rom, rootet with perseus kernel.
External SD card is mounted in / mnt / exdSdCard and for any file manager this is visible but the apps do not see the SD card
install ICS SD Binder vom Play Store: https://play.google.com/store/apps/details?id=pl.qbanin.binder
install the app open it
original mountpoint: / mnt / extSdCard
new mountpoint: select external_sd
check in SD Bind to the new mountpoint and unmount original mountpoint
Save & Reboot
leave the folder as mentioned above no changes... believe me ;o)
Not a bug, but who cares, that by this ICS SD workaround leaves only the internal memory displayed on the PC
You can still get your data lby going to the subfolder 'external_sd'
I hope this helped you.
ciao
mancman
Thx
So with this method am I able to transfer applications to sd card?
Sent From my Samsung Note 2 GT-N7100
Resolved: by switching to the custom ROM Buttered AOKP 4.2.2 [+Aroma] and using its the default kernel. The OTG connected SDCards formatted as either ext4 or FAT32 was automatically mounted with RW accessable. Stickmount was not required. It seems odd that the neither the popular SentinelROM/KTManta nor Tasker650/Trinity Ten custom ROM/kernels would mount the same ext4 formatted SD cards.
I am running custom ROM/Kernel combination Tasker650 TX34 and Trinity Ten. Using gparted I can format an external SD card with FAT32 or NTFS and the SD card is automatically mounted by the N10. Settings->Storage can mount and unmount the OTG connected storage without issue.
If I reformat the SD card as ext4 it is not auto mounted but Settings->Storage does show a "Mount USB" button. Unfortunately clicking on it causes the SD card reader's light to flash but the file structure never show up in "/usbdisk". Note: I have the same problem with "SentinelROM and KTManta".
What is strange is that TWRP can see and mount the ext4 formatted SD card without issue from a "/usb-otg" mount point. File browsing the SD card also works but only in TWRP.
I tried from a terminal session to mount it manually:
> busybox mount -t ext4 -o nosuid,nodev /dev/block/mmcblk1p1 /storage/usbdisk
but it always return the error that "/dev/block/mmcblk1p1" does not exist which is true.
From everything I've read ext2,3,4 formatted SD cards should all be recognized. I am looking to load files greater than 4GB and have full RW access to the SD card. NTFS can accommodate the file size but is limited to Read-Only access.
Maybe the mount point is different for ext4 formatted SD cards but I can't find that mount point. If anyone can shed some light on this issue I would appreciate it.
Thanks
Doug