Using TouchWiz apps in CM7 without messing up your SD access - Galaxy S II General

If you install one of the various TouchWiz ports for MIUI on CyanogenMod, you will end up loosing access to the internal SD in most apps. Here is how to fix it.
Using root explorer (or pulling the file in adb, editing it and pushing it back), open /etc/vold.fstab.
It should look like this:
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 emmc /mnt/emmc 11 /devices/platform/s3c-mshci.0/mmc_host/mmc0/mmc0
# external sdcard
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# USB storage device
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/s3c_otghcd/usb
In this file, do the following edits:
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 [B][COLOR="Red"]sdcard[/COLOR][/B] /mnt/[B][COLOR="red"]sdcard[/COLOR][/B] 11 /devices/platform/s3c-mshci.0/mmc_host/mmc0/mmc0
# external sdcard
dev_mount [B][COLOR="red"]emmc[/COLOR][/B] /mnt/[B][COLOR="red"]emmc[/COLOR][/B] auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# USB storage device
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/s3c_otghcd/usb
That is it. I still don't understand what in the TouchWiz framework causes this issue, but I don't have the need to dig deeper.
Download TouchWiz apps for miui (ported by langtheng?)

Thanks!
Does this port bring the touching camera to cm7?
Sent from my GT-I9100 using xda premium

xethor said:
Download TouchWiz apps for miui (ported by langtheng?)[/URL]
Click to expand...
Click to collapse
Nopes, It is amitmiz who did it!

Related

VOLD.FSTAB Edit Help

Ok i have a deivce with the same specs as the I9000 BUT the vold.fstab is different so help me please I only getting external sd as my sd
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
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
#dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
dev_mount flash /mnt/sdcard auto /devices/virtual/mtd/mtd9/mtdblock9
dev_mount sdcard /mnt/external_sd auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0
dev_mount udisk /mnt/usb_storage auto /devices/platform/usb20_host/usb /devices/platform/usb20_otg/
## 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

Swap internal storage and SD on Motoactv?

So I've swapped my internal and external storage before on my old phone, but when I tried it on my Actv, I only had one data source:
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
######################
dev_mount sdcard /mnt/sdcard 22 /devices/platform/goldfish_mmc.0 /devices/platform/mmci-omap-hs.1/mmc_host/mmc1
I'm on ClearDroid ROM, if that helps?
I really need to swap my internal and SD because I have 30mb internal left and 5GB external. Anyone ever gotten this to work? ClearD?
shusain93 said:
So I've swapped my internal and external storage before on my old phone, but when I tried it on my Actv, I only had one data source:
Code:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount
## 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
## - List of sysfs paths to source devices
######################
dev_mount sdcard /mnt/sdcard 22 /devices/platform/goldfish_mmc.0 /devices/platform/mmci-omap-hs.1/mmc_host/mmc1
I'm on ClearDroid ROM, if that helps?
I really need to swap my internal and SD because I have 30mb internal left and 5GB external. Anyone ever gotten this to work? ClearD?
Click to expand...
Click to collapse
I haven't played with this much before, but tine has done something a bit similar, I believe. You may wish to check out his thread as well. If you can't find it, I'll search for it and see if I can. I think he wrote a script that expands the internal memory.
Checked it out. He's tutorial simply doesn't work no matter how I flip it. I an unable to make an ext3 img.
Is it time to find my Ubuntu live CD again?
Sent from my XT1053 using xda app-developers app

[Q] ZTE Blade E / 956 How to edit the vold.fstab?

Hi Guys,
I have read that it is possible to edit the vold.fstab via root explorer or similiar to make the phone think internal memory is sd memory.
To do this people have suggested to swap the line via text editor for other phones.
But on my phone it looks very different, here an example on someone elses phone:
Code:
It looks like they sucessfully made this change on the Rezound (http://forum.xda-developers.com/show....php?t=1383330 by changing the following:
dev_mount sdcard /mnt/sdcard 37 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard2 /mnt/sdcard/ext_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
to this:
dev_mount sdcard2 /mnt/sdcard/ext_sd 37 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
I mirrored this change by making ours:
dev_mount sdcard /mnt/sdcard 36 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard2 /mnt/sdcard/ext_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
to this:
dev_mount sdcard2 /mnt/sdcard/ext_sd 36 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
BUT this is how it looks like on my phone in the vold.fstab file:
Code:
dev_mount sdcard /storage/sdcard0 auto /devices/platform/msm_sdcc.1/mmc_host
dev_mount emmc /storage/sdcard1 20 /devices/platform/msm_sdcc.3/mmc_host/mmc0
dev_mount emmc /storage/emmc 19 /devices/platform/msm_sdcc.3/mmc_host/mmc0
How can I edit it to swap the internal memory with the sd?
gamba66 said:
How can I edit it to swap the internal memory with the sd?
Click to expand...
Click to collapse
Like this:
Code:
dev_mount sdcard /storage/sdcard1 auto /devices/platform/msm_sdcc.1/mmc_host
dev_mount emmc /storage/sdcard0 20 /devices/platform/msm_sdcc.3/mmc_host/mmc0
dev_mount emmc /storage/emmc 19 /devices/platform/msm_sdcc.3/mmc_host/mmc0
Nandroid backup first and make sure you haven't moved any apps to the SD card before you make the change.

ZTE Blade V880 Questions on Gen2 and internal memory

Hi everyone,
My brother still uses his ZTE Blade 1 (The original one with the OLED Display) and is still very happy with it. But he has 2 concerns: 1. The phone got a little bit slower 2. internal is always full
So I checked it out and it still uses a custom rom called Japanese Jellyfish RLS 9 (Android 2.2) and it has Clockworkmod Recovery 2.5.1.8 installed.
My plan was to update to a stable and newer rom and to edit the vold.fstab to swap internal to external (a 16gb sdcard).
But I don't have any clue, it is very hard for me to find the correct resources. So I assume this Blade is still Gen1, what are the best steps to update to Gen2, while maintaining all the Data like whatsapp history and so??
Also which is the most stable, fastest and newest ROM for the Blade? It doesn't need fancy features, it should just be fast so he can keep on using it as his main phone
Also his current fstab looks like this:
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
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
#dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/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
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host/mmc0
How to edit it to swap internal with external?
Thank you very much and merry christmas!
No one?

help internal to external memory swap

any way to force change the system to recognise external sd card as internal and vice versa???? i dont want to use lind2sd doesnt work orfoldermount which works but is too demanding when you give this to a child who downloads everything.
the vold file is here
## 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
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
#dev_mount sdcard /mnt/sdcard auto /devices/platform/sdhci-pxav3.0/mmc_host/mmc1
dev_mount external_sdcard /mnt/external_sdcard auto /devices/platform/sdhci-pxav3.0/mmc_host/mmc1
dev_mount internal_sdcard /mnt/sdcard 15 /devices/platform/sdhci-pxav3.2/mmc_host/mmc0
## 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

Categories

Resources