[Q][ICS]Can we change path or name of emmc? - Galaxy S I9000 Q&A, Help & Troubleshooting

My Galaxy S device is 8GB type then I have only 5.6 GB left for install application and data but it does not enough.
So I brought micro sd 32GB to hope that it will help this case but it's not because some game or application will keep data and information in /mnt/sdcard/Android/data
such as many kind of gameloft.
First I tried to use run script as following command below:
mount -o bind /mnt/emmc/data/ /mnt/sdcard/Android/data
and it does work but if you want to connect to PC you must to umount before mount with PC unless you will find some error and must reboot your phone.
My simple question is "Can we change name of emmc for micro sd to another name?"
such as /mnt/emmc to /mnt/sdcard/Android
Thank in advance.

Try this (flash by recovery):
http://dl.dropbox.com/u/63255192/AOKP/InvertedSDcards.zip
To revert in case of problems:
http://dl.dropbox.com/u/63255192/AOK...cardsMount.zip

Does it work?
I see your attachment file and it change vold.fstab
from
# internal sdcard
dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# external sdcard
dev_mount emmc /mnt/emmc auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
to
# internal sdcard
dev_mount emmc /mnt/emmc 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# external sdcard
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
Is this just swap internal sd and external sd?
But it's still not match my question so if i do this below can it work?
# internal sdcard
dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# external sdcard
dev_mount emmc /mnt/sdcard/Android auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
Thanks in advance

I don't try and reply

Related

Using SD card instead of internal corrupted memory

I have problem in internal memory , is there way to use external memory instead (SD Card)
the problem is that i cannot save anything or delete anything , i delete everything and after that i found that everything is still available , i use the recovery wipe , i format the interned SD via PC but the same problem , everything i do anything for the system , change language setting or take image nothing been saved , i try to change the ROM but the same problem !!! Help please
Help Please
There are a few ROM which uses external memory instead of internal
Did you search in development section?
Sent from my HTC One X using xda app-developers app
ramiab8 said:
I have problem in internal memory , is there way to use external memory instead (SD Card)
the problem is that i cannot save anything or delete anything , i delete everything and after that i found that everything is still available , i use the recovery wipe , i format the interned SD via PC but the same problem , everything i do anything for the system , change language setting or take image nothing been saved , i try to change the ROM but the same problem !!! Help please
Click to expand...
Click to collapse
I had a similar problem with my Galaxy S. I finally solved this problem by doing this following step :
Before all, phone must be rooted
1) I have installed SSHDroid
2) I connected to the phone with an SSH Client
3) check file /etc/vold.fstab, you must see that code (my android versio is 2.3) :
Code:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
discard = disable
asec = disable
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
4) Always in SSH client, type :
- "su" in order to be root
- "mount -o rw,remount -t rfs /dev/block/stl9 /system" for write modification
5) Make a backup of vold.fstab and modify original file by switch external and sdcard reference. In my example, modifications made this
Code:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
discard = disable
asec = disable
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.2/mmc_host/mmc2
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = enable
}
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.0/mmc_host/mmc0
6) Save modification and type "mount -o ro,remount -t rfs /dev/block/stl9 /system" for return system to read-only
7) Terminate SSH session and reboot your phone
This steps was sucessfull for me.
I hope that can help you.

[Q] SD card problem after JB update

Hi, I'm new here. I looked around for a similar problem to mine but haven't seen it. Please be kind if I have missed it.
I finally updated from GB last night to ICS and then to JB. I've got root again finally. Now the problem is that I don't have access to my SD card.
My system version is: 98.72.18.XT894.Verizon.en.US
Android version is 4.1.2
Before the update I had swapped the SD card with the internal storage through void.fstab. To avoid problems with the update I restored the original fstab file to swap them back. Now these are the symptoms I see:
When I go to Settings > Storage, it force closes and I get the error "Unfortunatly, Settings has stopped."
When I browse to /sdcard in Root Explorer it says "The SD card is not currently mounted"
When I browse to /sdcard-ext in Root Explorer it just shows an empty folder
When I stuck the SD card in my computer, I could see everything I had on there before the update
Currently I'm using the original void.fstab file, but even when I try to switch, nothing changes. This is the original void.fstab I am using right now:
Code:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point[:[asec_point]:[lun_point]]> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## asec_point - Whether asec mount is needed for this value, if not, use "none"
## Else, supply a folder name under /mnt/secure/
## If not supplied, "asec" will used by default
## If supplied, /mnt/secure/asec_point will be used
## This is for further extension, not needed now
## lun_point - The target lun device for this volume. If not supplied, will use
## /sys/devices/platform/usb_mass_storage/lun0/file
## else, will use /sys/devices/platform/usb_mass_storage/lun_point/file
## part - Partition # (1 based), or 'auto' for first usable partition.
## For a disk with only 1 partition, use '1' is different to 'auto'
## Using 1, will not re-write its partition table when formatting
## <sysfs_path> - List of sysfs paths to source devices
######################
# external sd card
dev_mount sdcard-ext /storage/sdcard1:none:lun1 auto /devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0
# internal eMMC
dev_mount sdcard /storage/sdcard0:: 25 /devices/platform/omap/omap_hsmmc.1/mmc_host/mmc1
## Example of a dual card setup
# dev_mount left_sdcard /sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# dev_mount right_sdcard /sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/msm_sdcc.3/mmc_host/mmc1
## Example of specifying a specific partition for mounts
# dev_mount sdcard /sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# flash drive connection through hub connected to USB3
dev_mount usbdisk_1.1.1 /storage/usbdisk_1.1.1 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb3/3-1/3-1.1.1
dev_mount usbdisk_1.1 /storage/usbdisk_1.1 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb3/3-1/3-1.1
dev_mount usbdisk_1.2 /storage/usbdisk_1.2 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb3/3-1/3-1.2
dev_mount usbdisk_1.3 /storage/usbdisk_1.3 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb3/3-1/3-1.3
dev_mount usbdisk_1.4 /storage/usbdisk_1.4 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb3/3-1/3-1.4
dev_mount usbdisk_1.5 /storage/usbdisk_1.5 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb3/3-1/3-1.5
dev_mount usbdisk_1.6 /storage/usbdisk_1.6 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb3/3-1/3-1.6
dev_mount usbdisk_1.7 /storage/usbdisk_1.7 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb3/3-1/3-1.7
Has anybody else had this problem? Does anybody have any suggestions on what to do here? Thank you for any help you can provide!
Yea!!
Actually I'm surprised that I'm not the only one, but it seems like this is a small problem. I can't mount internal or sd storage, and when I go into settings to mount, settings cashes. The phone WAS rooted when I updated from ICS.
jthree2001 said:
Actually I'm surprised that I'm not the only one, but it seems like this is a small problem. I can't mount internal or sd storage, and when I go into settings to mount, settings cashes. The phone WAS rooted when I updated from ICS.
Click to expand...
Click to collapse
So I got it to work, I re-flashed JB using the Matt's jb flash thingy without the SDcard, and it corrected itself. I should also note that I had an extra partition on my sdcard so I think it had something to do with it.
jthree2001 said:
So I got it to work, I re-flashed JB using the Matt's jb flash thingy without the SDcard, and it corrected itself. I should also note that I had an extra partition on my sdcard so I think it had something to do with it.
Click to expand...
Click to collapse
Ok, I just reset to factory default, but it still crashed when I tried to open up Storage in Settings right after the reset. What is this "Matt's jb flash thingy" and where can I get it?
*EDIT*: Are you possibly talking about the post on droidforums titled "DROID RAZR Utility XT912 Jellybean" by mattlgroff (can't link to it yet)? I think that's what I used originally. I'm going to try it again, but I've formatted my SD card and am no longer root after the factory reset. Hopefully it works this time.

[Q] extsd 2 intsd - sdcard path

Does anyone know the sdcard path that mount the internal sdcard
original vold.fstab:
dev_mount ext_card /storage/removable/sdcard1 auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount usbdisk /storage/removable/usbdisk auto /devices/platform/msm_hsusb_host
Result: sdcard1 = internal memory. sdcard0 = external memory
New vold.fstab:
dev_mount sdcard /storage/removable/sdcard1 auto /devices/platform/msm_sdcc.1/mmc_host
dev_mount ext_card /storage/removable/sdcard0 auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount usbdisk /storage/removable/usbdisk auto /devices/platform/msm_hsusb_host
Result: sdcard1 = still internal memory. sdcard0 = not mounted
So what should the red part be replaced??:silly:
Anybody knows?
external sd card as internal sd card
I'm a newbie,
Please help me all master how to change the vold.fstab at hisense EG98 external sd card as internal sd card
Original:
dev_mount sdcard /storage/sdcard0 auto /devices/platform/msm_sdcc.1/mmc_host
the script is only one line
thanx,
4djie

Internal/external memory

Hi guys, i have i9000 with gingerbread stock 2.3.3 with kernel cf root, i didn't understand the internal and external storage's directory :V, /mnt/sdcard0 is internal for example
Shying said:
Hi guys, i have i9000 with gingerbread stock 2.3.3 with kernel cf root, i didn't understand the internal and external storage's directory :V, /mnt/sdcard0 is internal for example
Click to expand...
Click to collapse
And /mnt/sdcard1 is external, what you cant you understand?
limnaln said:
And /mnt/sdcard1 is external, what you cant you understand?
Click to expand...
Click to collapse
my internal sd is corrupted (http://forum.xda-developers.com/showthread.php?t=1861294&page=2) so my external sd have ext4 partition and the rom runs only for this partition but i don't have external storage now, i tryed to modify the vold.fstab but nothing :V
PS:Sorry for my bad english xD
Code:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# sdcard mount for the P1
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
discard = disable
asec = disable
}
dev_mount [COLOR="Red"]sdcard /mnt/sdcard 1[/COLOR] /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount [COLOR="Cyan"]sdcard1 /mnt/sdcard/external_sd auto[/COLOR] /devices/platform/s3c-sdhci.2/mmc_host/mmc2
#end line ## keep this line
Modified the red line with blue line and vice versa and the second partition of external sd (FAT32) is the first internal sd, but the second internal storage doesn't exist
Shying said:
my internal sd is corrupted (http://forum.xda-developers.com/showthread.php?t=1861294&page=2) so my external sd have ext4 partition and the rom runs only for this partition but i don't have external storage now, i tryed to modify the vold.fstab but nothing :V
PS:Sorry for my bad english xD
Code:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# sdcard mount for the P1
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
discard = disable
asec = disable
}
dev_mount [COLOR="Red"]sdcard /mnt/sdcard 1[/COLOR] /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount [COLOR="Cyan"]sdcard1 /mnt/sdcard/external_sd auto[/COLOR] /devices/platform/s3c-sdhci.2/mmc_host/mmc2
#end line ## keep this line
Modified the red line with blue line and vice versa and the second partition of external sd (FAT32) is the first internal sd, but the second internal storage doesn't exist
Click to expand...
Click to collapse
I have had galaxy i9000 7-8 times in the past (because i switched occationally and sgs always fashinated me to buy)
the directory @limnaln said was the right directory but in 2-3 models, the directory for external sd card was mnt/sdcard/external_sd.
Rohitdahiya said:
I have had galaxy i9000 7-8 times in the past (because i switched occationally and sgs always fashinated me to buy)
the directory @limnaln said was the right directory but in 2-3 models, the directory for external sd card was mnt/sdcard/external_sd.
Click to expand...
Click to collapse
Yep, someplaces its sdcard1, someplaces external_sdcard.
ok guys it's work but when i use camera it's fine, but fast reboot when i want install app, tryed with root browse and whatsapp...what i have to do? tryed with 3Wipe and formatting sd but always reboot after downloading an app and during install
I think, you should change ROM to another (for example CyanogenMod) and try one more time.
jako_tako said:
I think, you should change ROM to another (for example CyanogenMod) and try one more time.
Click to expand...
Click to collapse
i can't because my internal sd is corrupted and when i tryed to install cm 10.2 it say "waiting sd mount 20s" :crying:
my sd card is /sdcard/external_sd auto....it isn't /mnt/sdcard/external_sd...and i don't know why...and this change can't find my internal sdcard any idea?
Maybe i can try this solution:
Code:
For i9000, Do the FULL wipes and factory reset first (formating the Internal SD card will greatly help, so safe all your contacts, images backups to PC or Ext SD card First) Use i9000 Rescue kit with heimdall or on linux , select files as follows...
primary boot > boot.bin
secondary boot > Sbl.bin
repartition > s1_odin_20100512.pit
factoryfs > factoryfs.rfs
cache > cache.rfs
dbdata > dbdata.rfs
param > param.lfs
modem > modem.bin
kernel > zImage
The reboot may request for "Confirm password", just enter any password about 5 times until prompted that, "this will wipe the card." Yes wipe, ..Should solve the problem
but only found hotfile's link that not working now

[Q] internal sd broken

Hi everybody...
My internal sd broken & i install cm 4.2.2 on micro sd ram by recovery.
All is ok , BUT must switch sdcard in vold.fstab file , becuase device not detect any sdcard for camera , galery,download &.,.....
Please edit for working it......
Sumsung galaxy s i9000
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label #
#FIXME: Swap again?
# internal sdcard
dev_mount emmc /storage/sdcard1 auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
# external sdcard
dev_mount sdcard /storage/sdcard0 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
-----------------------

Categories

Resources