stickyimage

Felici is packed with a cool notification manager, alert your visitors the smart way.

Learn More Close

LG Optimus X2 CyanogenMod emmc to sdcard mount problem

After I Flashed my Android device with the CyanogenMod the mounts were not correctly configured.

Because Android is Linux I thought that the mounting should be configured in a textfile somewhere in the root/system area. After a small research on the device I found a file names vold.fstab in the /system/etc/ directory.  After I opened the file I saw all the mount paths of my device and you know what…, IT WAS THE RIGHT FILE TO OPEN!! WOHOOW!

If you you want fix the problem  you can read the whole article.

In order to fix this you need to put your device in Debug Mode.

Open the command shell of your computer and follow the steps below.

C:\adb shell
#mount -o remount,rw -t ext3 /dev/block/mmcblk0p25 /system

This step makes the read only system folder writeable and remov

Type exit so you exit the shell mode and pull the file with adb from your device

C:\adb pull /system/etc/vold.fstab

After you have pulled the file from your device you can open it with your editor (e.g. Notepad)

Overwrite the content with the following data:


#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label        - Label for the volum
## 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
######################
## dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
## dev_mount emmc /mnt/emmc 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc
# internal sdcard as sdcard
dev_mount sdcard /mnt/sdcard 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
# external sdcard as emmc
dev_mount emmc /mnt/emmc auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
# usbdisk as usbdisk
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/tegra-ehci
C:\adb shell #cd /system/etc/ #rm vold.fstab #exit C:\adb push vold.fstab /system/etc/vold.fstab

After this you need to reboot your device, if you followed these steps successfully you should see your emmc as the default sdcard. (It worked for me)

(P.S. I AM NOT RESPONSIBLE FOR ANY DAMAGES THAT YOU CAUSE ON YOUR DEVICE USE THIS STEPS AT YOUR OWN RISK)

724 days ago by in Howto. You can follow any responses to this entry through the | RSS feed. You can leave a response, or trackback from your own site.
About

Just a man in Linux and Windows!

One Comment to LG Optimus X2 CyanogenMod emmc to sdcard mount problem

Leave A Response

Required


*

Spam Protection by WP-SpamFree