hello!
it seems like my I9000 has a defect internal sd.
after i flash with odin a stockrom (with PIT and re-partition), this appears after automatical reboot:
i.imgur.com/smwxxWw.jpg
i got myself a new micro-sd card (8GB class4) and partitioned it to 2GB Ext4 and rest FAT32, both primary partitions, like shown in this video.
youtube.com/watch?v=zdMhYYdMB08
i was hoping that, when i insert this new microsd and flash stockrom with PIT and re-partition again, it would recognize the external sd as internal and install android there. but apparantly the internal sd is not "broken enough" and it still flashes on internal sd, which leads to the same error as shown above.
what i find strange: through cwm i can mount usb storage and access all files on internal sd. i can even delete and add files, but after reboot of the device, all changes on the internal sd are gone back (deleted files are there again, added files are gone).
i also tried to wipe and re-partition the internal sd with adb. adb showed an error after re-partitioning and in the end there were again no changes.
my last attempt to resurrect this phone was to edit the void.fstab (via adb pull and push), in order to switch the external with the internal sd card. by this,
so this was the old vold.fstab:
## 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 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
#end line ## keep this line
and i changed it to this
## 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 = enable
asec = disable
}
dev_mount sdcard1 /mnt/sdcard/external_sd 4 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = disable
}
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
#end line ## keep this line
then i rebooted to recovery and tried to install a rom. didnt work, same errors like usually (status 0)
any ideas what i did wrong?
or any other ideas how i can rescue this phone?
thanks a lot in advance
Related
Hello,
i tried to swap my external memory with the internal, with replace the vold.fstab in /system/etc and it doen't work, and it give me all the time crash report from media app, i can t start camera. I root it again after tring a factory reset, but the vold.fstab is already the bad one, not the factory one. Does somebody can give me all the line from this file pls ?
i've got it :
## 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
######################
# /sys/devices/platform/usb_mass_storage/lun0/file
# sdcard mount for the GT-I8160
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = enable
}
dev_mount sdcard /mnt/sdcard auto /devices/sdi0/mmc_host/mmc1/mmc1
# Partion 8 of mmc0 is Internal sdcard
# external sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
discard = enable
}
dev_mount sdcard1 /mnt/sdcard/external_sd 8 /devices/sdi2/mmc_host/mmc0/mmc0
# otg sdcard - Need to define path for /sys/devices/platform/musb_hdrc when it supports USB OTG
#{
# ums_path = /dev/zero
# asec = disable
#}
#usb_mount sdcard2 /mnt/sdcard/usbStorage auto <Need to define path for USB OTG>
#end line ## keep this line
Thks.
or just link me the file if you can upload it
please.
fix it alone. Juste copy the file from my xperia Z smartphone and all is alright now.
hello i was wondering if you have an idea on how to swap external for internal?
on my device I have a simple line:
dev_mount sdcard /storage/extSdCard auto /devices/platform/msm_sdcc.3/mmc_host
what I must find to change it and swap memories?
I have 2 memories:
SdCard1
extSdCard
I wanna swap too but I cant.
I've seen forums for other devices on this topic but none for this!
Swap memory for Xperia ZL
Please mod swap for xperia zl in android 4.4.2
I'm running CM 10.1.3 stable. This is the original vold.fstab :
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
######################
# internal sdcard
dev_mount sdcard0 /storage/sdcard0 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 nonremovable,encryptable
# external sdcard
dev_mount sdcard1 /storage/sdcard1 auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# USB storage device
dev_mount usbdisk /storage/usbdisk auto /devices/platform/s3c_otghcd/usb
I've created a second exFAT partition on my SD card and have modded my vold.fstab to :
Code:
# internal sdcard
dev_mount sdcard0 /storage/sdcard0 2 /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# external sdcard
dev_mount sdcard1 /storage/sdcard1 1 /devices/platform/s3c-sdhci.2/mmc_host/mmc1
My intention is to mount the second exFAT SD card partition in place of the emmc. The second exFAT partition is successfully mounted as sdcard0 but the first partition (the regular sdcard1) is not mounted anymore.
If I swap the partition numbers 2 & 1 then the first SD card partition is successfully mounted as sdcard0. So it looks like if multiple entries use the same sysfs device then only the first one is taking effect.
same sh*t :crying:
Hey I need some help I have a tablet(one of those china tablet)that mount the external sdcard on the internal it looks like this sdcard0/external_sdcard I don't want it to be like this because I want to play game from sdcard but since has my external sdcard mounted as a sub folder in internal sdcard it is not possible to play game from my external.Any way I was wandering if anybody could help me mount them separately like this:sdcard0/
extsdcard
Here is something I found in the system directory if it helps
## Vold 2.0 fstab
#######################
## 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
## flags - (optional) Comma separated list of flags, must not contain '/' character
######################
# Mounts the first usable partition of the specified device
#use this line to support VIRTUAL CDROM.And you can define the directory where you want to mount
loop_mount loop /mnt/VIRTUAL_CDROM
dev_mount sdcard /storage/sdcard0/external_sdcard auto /devices/platform/AMLOGIC_CARD/card_host/memorycard0 /devices/platform/aml_sd_mmc.0
#dev_mount sdcard /storage/sdcard0 3 /devices/platform/s3c-sdhci.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0 nonremovable,encryptable
dev_mount flash /storage/sdcard0 auto /devices/virtual/mtd/mtd8/avnftl8 /devices/platform/mtd/mtd8/avnftli nonremovable
asec flash
I am not sure but maybe it's file explorer issue, try another file explorer.
Hire is vold what I need to change , I tried before but no success.
## Vold 2.0 fstab
#######################
## 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
## flags - (optional) Comma separated list of flags, must not contain '/' character
######################
# Mounts the first usable partition of the specified device
#use this line to support VIRTUAL CDROM.And you can define the directory where you want to mount
loop_mount loop /mnt/VIRTUAL_CDROM
#[M]Modify sd card path to fix settings crash issue,xmyyb,20130403
dev_mount sdcard /mnt/external_sdcard auto /devices/platform/AMLOGIC_CARD/card_host/memorycard0 /devices/platform/aml_sd_mmc.0
#END xmyyb, 20130403, Bug-Id 5698
#dev_mount sdcard /storage/sdcard0 3 /devices/platform/s3c-sdhci.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0 nonremovable,encryptable
dev_mount flash /storage/sdcard0 auto /devices/virtual/mtd/mtd8/avnftl8 /devices/platform/mtd/mtd8/avnftli /devices/platform/mtd/mtd8/media nonremovable
asec flash
sometimes it is in the init.rc
Hi Guys/Gals My Device is GameStick Running 4.1.2 android semi-Custom Firmware (which is stock minus bloat)
but because the device has only 8GB internal i wanted to swap my External Sdcard (32GB) to my internal Memory/Sdcard
however the vold.fstab is a little odd with the mount points as you'll see...
Code:
## Vold 2.0 fstab
#######################
## 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
## flags - (optional) Comma separated list of flags, must not contain '/' character
######################
# Mounts the first usable partition of the specified device
#use this line to support VIRTUAL CDROM.And you can define the directory where you want to mount
loop_mount loop /mnt/VIRTUAL_CDROM
dev_mount sdcard /storage/sdcard0/external_sdcard auto /devices/platform/AMLOGIC_CARD/card_host/memorycard0 /devices/platform/aml_sd_mmc.0 <---This is odd to me
dev_mount flash /storage/sdcard0 auto /devices/platform/mtd/mtd6/avnftlg /devices/virtual/mtd/mtd6/avnftlg <--And This
asec flash
#dev_mount sata /mnt/sata auto /devices/lm2
#media_mount usb /mnt/usb 4 /devices/lm0/usb1/
It seems the dang thing is hell bent on mounting external sd like this:
Code:
/storage/sdcard0/external_sdcard which ends up like this from root (symlinked i guess) /sdcard/external_sdcard or /mnt/sdcard/external_sdcard
im not sure why its mounted in this way but i cant get link2sd to even work in the current state as it cant find my external sd correctly i hope someone might have so ideas on how to fix this mess and how i can swap the sd card storage
so what do i change/edit to do the swap
anyone? any ideas? though this would be an easy question for xda ppl. :laugh: