Posible idea para "arreglar" el lío de sdcard y sdcard2

@chaskaman Sorry!!!!!! Dicen que la intencion es lo que cuenta, jejeje. Una preguntita, que clase de tarjeta tendriamos que usar para hacer eso?
 
Última edición:
@chaskaman Sorry!!!!!! Dicen que la intencion es lo que cuenta, jejeje. Una preguntita, que clase de tarjeta tendriamos que usar para hacer eso?

en ese hilo y en este se esta hablando de la memoria interna que traen muchos MT6575, en unos esa memoria interna cuando metemos una microsd la marca como sdcard1 y en otros como sdcard2.

Lo suyo es que la memoria interna quede como sdcard2. Para que fotos, datos de las aplicaciones etc se instalen en nuestra microsd.

En la segunda parte de este hilo lo que hemos hecho es aprovechar la memoria interna del telefono para instalar las aplicaciones, en vez de como una sdcard interna

Meite GT-G70 patrocinado por Lightake.com
 
@chaskaman, cómo quedan montadas siguiendo el tutorial?
mnt/sdcard (microSD, externa)
/sdcard (interna) ??
 
Última edición por un moderador:
@chaskaman, cómo quedan montadas siguiendo el tutorial?
mnt/sdcard (microSD, externa)
/sdcard (interna) ??

Como lo tenia.

MicroSD - mnt/sdcard
Memoria interna - mnt/sdcard2

Enviado desde mi U20i usando Tapatalk
 
Última edición por un moderador:
Vale...
Es para optimizar la memoria interna para aplicaciones.

Lo preguntaba en relación a este otro hilo, pensando que tu tutorial también servía para cambiar la manera de montar las memorias.

Definitívamente, para evitar problemas en las aplicaciones (tal y como decían también los foreros @jman0 y @zen_usuario), las memorias deben ir montadas como tú las tienes:
MicroSD - mnt/sdcard
Memoria interna - mnt/sdcard2

Y dará problemas si la EXTERNA viene montada como /mnt/sdcard2
 
Última edición por un moderador:
El vold.fstab debe ser uno de estos 3.
Donde la externa (microSD) nunca se monte como sdcard2




<label><mount_point><sysfs_path1...><sysfs_path><label><mount_point>
<sysfs_path1...><sysfs_path>## Vold 2.0 Generic fstab
## - San Mehat (san@android.com)
##

#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point>
<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
######################

## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard2 emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2

## Example of specifying a specific partition for mounts# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1




X310E ICS (Android 4.0.9) de Jman0
## Vold 2.0 Generic fstab
## - San Mehat (san@android.com)
##

#######################
## Regular device mount
##
## Format: dev_mount

## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## - List of sysfs paths to source devices
######################

## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
#dev_mount sdcard /mnt/sdcard emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2

## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1



G70 ICS (Android 4.0!!) de Chaskaman:

## Vold 2.0 Generic fstab
## - San Mehat (san@
android.com)
##

#######################
## Regular device mount
##
## Format: dev_mount

<label style="color: rgb(51, 51, 51); background-color: rgb(250, 250, 250); "><mount_point>
<sysfs_path1...>## label
## mount_point - Where the volume will be mounted
## part based), or 'auto' for first usable partition.
## <sysfs_path>- List of sysfs paths to source devices
######################

## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard emmc@fat /devices/platform/goldfish_mmc.0
/devices/platform/mtk-sd.0/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host/mmc1
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2

## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0
/devices/platform/msm_sdcc.2/mmc_host/mmc1
</sysfs_path></sysfs_path1...></mount_point></label></sysfs_path></sysfs_path1...></mount_point></label></sysfs_path></sysfs_path1...></mount_point></label></sysfs_path></sysfs_path1...></mount_point></label>
 
Última edición por un moderador:
Oye chaskaman, tu archivo es rarísimo!! Faltan cosas respecto de los otros 2
 
Pues ese es (creo) lo revisare y lo recuelgo

Meite GT-G70 patrocinado por Lightake
 
Pues ese es (creo) lo revisare y lo recuelgo

Es raro porque falta alguna línea.
P.e. en los dos primeros después de Label viene esto: ## label - Label for the volume

Y en cambio, también hay otras líneas de más.
En las líneas fundamentales, la terminación q pongo en rojo:

dev_mount sdcard /mnt/sdcard emmc@fat /devices/platform/goldfish_mmc.0/devices/platform/mtk-sd.0/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host/mmc1


Quizá sea distinto.
 
Última edición:
Menudo puto jaleo. Era para subir todos los posibles archivos válidos, a fin de reemplazar el original por alguno de ellos en /etc

Si se tiene CWM recovery, mejor aplicar los parches de @zen_usuario o tu tutorial, y acabas antes.

Y si no, con Root Explorer probar una de estas 3 opciones alternativamente (en ppio. deberían funcionar las 3): http://www.mediafire.com/?xa9bypqzl0qdpe0

Root Explorer: http://www.mediafire.com/?y3bkxa09ck7f5y4

Al final @chaskaman he optado por reemplazar todo este párrafo:

## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard emmc@fat /devices/platform/goldfish_mmc.0
/devices/platform/mtk-sd.0/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host/mmc1

## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2

Lo demás debería ser idéntico.

De hecho, creo que lo único que realmente varía es lo que he marcado en rojo.

Y que como decía en el Zopo100 con la mod de cactuz.net queda así:
dev_mount sdcard /mnt/sdcard2 emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host

En el X310E a Jman0 le vino así de China:
#dev_mount sdcard /mnt/sdcard emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host

Y en el tuyo así:
dev_mount sdcard /mnt/sdcard emmc@fat /devices/platform/goldfish_mmc.0
/devices/platform/mtk-sd.0/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host/mmc1
 
Última edición por un moderador:
Por si te sirve de consuelo en el mio va perfecto desde el primer dia :wink:

Enviado desde mi U20i usando Tapatalk
 

Del blog

Es tendencia

¿Ha terminado la locura de añadir tantas cámaras a los móviles?

  • Si

  • No

  • No lo se

  • Ya me gustaría...

  • Ya te gustaría...


Los resultados solo son visibles tras votar.
Atrás
Arriba