Make external memory be internal - LG Optimus 2x

Hi i have an o2x with cm10.1 and everything works just great...i just want to have more internal memory...i have a 32gb external memory and i understand that you can turn that in internal...can somebody tell me how? I'm noob at this...so a really long tutorial with all would be just great.

Well, not a loooooong tutorial, but I think this should be sufficient
If you are on new bootloader then replace this in /system/etc/vold.fstab
dev_mount sdcard /storage/sdcard1 auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
dev_mount emmc /storage/sdcard 11 /devices/platform/sdhci-tegra.3/mmc_host/mmc0
with this :
dev_mount sdcard /storage/sdcard auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
dev_mount emmc /storage/sdcard1 11 /devices/platform/sdhci-tegra.3/mmc_host/mmc0
If you are on old bootloader then you should have 9 instead of 11 in emmc line and keep it same. Don't make a mistake of changing it to 11. The rest of the changes will be same as above

owais40 said:
Well, not a loooooong tutorial, but I think this should be sufficient
If you are on new bootloader then replace this in /system/etc/vold.fstab
dev_mount sdcard /storage/sdcard1 auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
dev_mount emmc /storage/sdcard 11 /devices/platform/sdhci-tegra.3/mmc_host/mmc0
with this :
dev_mount sdcard /storage/sdcard auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
dev_mount emmc /storage/sdcard1 11 /devices/platform/sdhci-tegra.3/mmc_host/mmc0
If you are on old bootloader then you should have 9 instead of 11 in emmc line and keep it same. Don't make a mistake of changing it to 11. The rest of the changes will be same as above
Click to expand...
Click to collapse
Thanks a lot...works great

Related

[Q][ICS]Can we change path or name of emmc?

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

[Q] Problem with EXTERNAL SD CARD

I have try many things and lost many hours and can't find a answear to my Problem.
I have rooted my Optimus 2X and have installed the rom:
[ROM][JB] [4.2.2] Avatar ROM for LG Optimus 2X (p990) - Updated[Feb 28, 2013]
I want to use my 32GB SD Card for all my Apps but the internal memory of 8 GB is splitet into 2 Partitions
The First 1,48 GB this use the Phone to install apps
And a Second with 4,64 GB this is shown in every App as the SD Card but it isn't.
The 32 GB SD Card is listened but i can't move any Apps into it.
I have tryed many programs like Link2SD, Mounts2SD, Root All 2SD and have formated 2 Partitions 1 in ext4 the other in fat32 but nothing works.
Is there a way to made the internal Memory to one Partition and the Extern to the other?
In Root All 2 SD can i say that the App saves everything on the External SD but it thinks the Second 4,64 GB Partition of the Internal Memory is the External SD Card.
Can someone please help me? i try since 10 hours or more.
Sorry my bad english.
i have found a way now and it was very easy to do:
i have edited in the internal memory in the "etc" folder the file called "vold.fstab"
i have changed this:
#######################
## 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
######################
dev_mount sdcard /storage/sdcard1 auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
dev_mount emmc /storage/sdcard 11 /devices/platform/sdhci-tegra.3/mmc_host/mmc0
into this
#######################
## 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
######################
dev_mount sdcard /storage/sdcard auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
dev_mount emmc /storage/sdcard1 11 /devices/platform/sdhci-tegra.3/mmc_host/mmc0
maybe have someone the same problem with this and can fix it like the way i do.
And all thanks only goes to God :good:
Source:
http://www.android-hilfe.de/root-cu...go/319802-interne-sd-externe-sd-tauschen.html
Thank you
Thank you so much Heima77, I had exactly the same issue and I could fix it thanks to you.
Best wishes !

[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

[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