[Q] I need to mount my systems root folder. - Android Q&A, Help & Troubleshooting

Is there a way to mount the system root to pc as a disk mount cause I want to recovery data from it that I wiped.

If you have clockworkmod recovery, it have an option to do it (recovery >mounts and storage >mount /system).

RoberGalarga said:
If you have clockworkmod recovery, it have an option to do it (recovery >mounts and storage >mount /system).
Click to expand...
Click to collapse
I select mount system and data but doesnt show up on pc.

Warrior1988 said:
I select mount system and data but doesnt show up on pc.
Click to expand...
Click to collapse
After you mount, copy files using
Code:
adb pull /system

lolet said:
After you mount, copy files using
Code:
adb pull /system
Click to expand...
Click to collapse
I want to mount as a drive on pc.

Warrior1988 said:
I want to mount as a drive on pc.
Click to expand...
Click to collapse
There isn't simple solution for that. I have one untested theory - you have to edit /etc/recovery.fstab or vold.fstab and replace sdcard mount with system one, so when you enable usb transfer, you should see system content instead of sdcard

lolet said:
There isn't simple solution for that. I have one untested theory - you have to edit /etc/recovery.fstab or vold.fstab and replace sdcard mount with system one, so when you enable usb transfer, you should see system content instead of sdcard
Click to expand...
Click to collapse
How would I edit this?
# Copyright (c) 2011, Code Aurora Forum. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of Code Aurora Forum, Inc. nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
## 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
######################
#storage_struct = series, "/mnt/sdcard/extStorages"
#storage_struct = parallel
{
supported_exfat = yes
}
dev_mount sdcard /storage/extSdCard auto /devices/platform/msm_sdcc.3/mmc_host/mmc1/
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/msm_hsusb_host/usb
#EOF

Related

[Q] Need vold.fstab file for LG-E400 (Optimus L3) -to swap internal & external memory

[Q] Need vold.fstab file for LG-E400 (Optimus L3) -to swap internal & external memory
Hello Guys,
I also want to change my vold.fstab file so that my internal memory will be switched with my external memory (sd card).
Like the process is described here: http://forum.xda-developers.com/showthread.php?t=1517974&page=8
However, my phone is a LG-E400 (optimus L3).
Does somebody have a costum vold.fstab file where the internal and external memory are swapped?
Or does somebody know what I have to change on my vold.fstab file to swap these two?
My vold is like this:
# Copyright (c) 2011, Code Aurora Forum. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of Code Aurora Forum, Inc. nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host
# LGE_CHANGE
# If sdcard isn't exist, mount emmc partition
# 2011-06-14, [email protected]
#dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host /devices/platform/msm_sdcc.3/mmc_host
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/msm_sdcc.1/mmc_host
lg optimus e400
Tjekken said:
Hello Guys,
I also want to change my vold.fstab file so that my internal memory will be switched with my external memory (sd card).
Like the process is described here: http://forum.xda-developers.com/showthread.php?t=1517974&page=8
However, my phone is a LG-E400 (optimus L3).
Does somebody have a costum vold.fstab file where the internal and external memory are swapped?
Or does somebody know what I have to change on my vold.fstab file to swap these two?
My vold is like this:
# Copyright (c) 2011, Code Aurora Forum. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of Code Aurora Forum, Inc. nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host
# LGE_CHANGE
# If sdcard isn't exist, mount emmc partition
# 2011-06-14, [email protected]
#dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host /devices/platform/msm_sdcc.3/mmc_host
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/msm_sdcc.1/mmc_host
Click to expand...
Click to collapse
hello, have you managed to swap internal sd to external sd.? I damn near brick my phone trying to do that.
hello
same here, any one can post an edited-working file to do that?
ARDV said:
hello
same here, any one can post an edited-working file to do that?
Click to expand...
Click to collapse
Okay, Hi! This is my first post and here please, check this one! Try at your own risk...
Code:
# Copyright (c) 2011, Code Aurora Forum. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of Code Aurora Forum, Inc. nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host
# LGE_CHANGE
# If sdcard isn't exist, mount emmc partition
# 2011-06-14, [email protected]
#dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host /devices/platform/msm_sdcc.3/mmc_host
dev_mount sdcard /mnt/sdcard/_ExternalSD auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount extsdcard /mnt/sdcard auto /devices/platform/msm_sdcc.1/mmc_host

how to change SDCard Mount Folder

Hello,
Im trying to change my mount point for my external sd card on my SIII from /mnt/extSdCard to /sdcard/external_sd. My reasons for doing this is some apps cant access the /mnt directory. So i did a little looking around and several posts suggested editing the /system/etc/vold.fstab and changing the lines in there to the correct directory.
I did this successfully and rebooted. It mounted correctly to this location but im getting a load of errors now saying things like "Unfortunatly, Factory Test has stopped", "...android.process.media has stopped", "...mtp has stopped", "...software update has stopped" I dont keep any apps on the external sd card.
Can someone help me with this please?
Thanks
Are you sure the folder /sdcard/external_sd/ exists.
Also, if you take your sdcard out do you still get these problems?
Sent from my GT-I9300 using xda premium
Ya i created the folder myself, it does actually mount correctly to this folder when i make the change but i get all those messages. It works ok if i change the mount folder back again to the original location
Any ideas guys, im really stuck with this.
When you start your phone withour the sdcard physically in, do you still get errors after you changed fstab?
Sent from my GT-I9300 using xda premium
Sorry, yes i still get the errors after i remove the SD card, i also get a message in the notification area saying "blank USB Storage" but im sure that doesnt matter.
Paste your fstab, you might have made an error.
Sent from my GT-I9300 using xda premium
Is this possibly caused by mounting the folder inside the internal sd (which is also mounted folder)
The line that im changing is:
Original: dev_mount sdcard /mnt/extSdCard auto /devices/
New: dev mount sdcard /sdcard/external_sd auto /devices/
Here ya go
## 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
######################
#storage_struct = series, /mnt/sdcard/extStorages
#storage_struct = parallel
{
supported_exfat = yes
}
dev_mount sdcard /sdcard/external_sd auto /devices/
platform/s3c-sdhci.2/mmc_host/mmc1/
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sda /mnt/UsbDriveA auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdb /mnt/UsbDriveB auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdc /mnt/UsbDriveC auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdd /mnt/UsbDriveD auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sde /mnt/UsbDriveE auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdf /mnt/UsbDriveF auto /devices/platform/s5p-ehci
#EOF
Click to expand...
Click to collapse
Why don't you just create a symbolic link from the old location to the new location? That way any requests to the original mount point are redirected to the new one. I'm sure the reason for all the errors is the original mount point is hard-coded into those APKs.
Product F(RED) said:
Why don't you just create a symbolic link from the old location to the new location? That way any requests to the original mount point are redirected to the new one. I'm sure the reason for all the errors is the original mount point is hard-coded into those APKs.
Click to expand...
Click to collapse
That sounds like a good idea. Would this actually mean that apks would be able to see these links and follow them without a problem.
How do I create a symbolic link?
Product F(RED) said:
Why don't you just create a symbolic link from the old location to the new location? That way any requests to the original mount point are redirected to the new one. I'm sure the reason for all the errors is the original mount point is hard-coded into those APKs.
Click to expand...
Click to collapse
Would that work? Most SD cards wont support symlinks.
I just tried to create one with Root explorer and it failed. Couldnt be bothered to try with terminal but assume the same result.
Ah, you might need to edit your build.prop and change
ro.removablemounts
So it equals /sdcard/external_sd
Sent from my GT-I9300 using xda premium
Zanith said:
Ah, you might need to edit your build.prop and change
ro.removablemounts
So it equals /sdcard/external_sd
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
If that works, that's a better solution. Symlinks are possible as far as I know; someone once made an app to be able to move and then symlink Gameloft game files to the memory card so that internal storage wouldn't have to be used. I'll try and find it.
ok i tried changing the line back to /extSdCard and im it mounted correctly but im still getting these errors. Ive posted my current void.fstab here. Crap, its very hard to do anything with this phone as those messages keep on popping up.
## 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
######################
#storage_struct = series, /mnt/sdcard/extStorages
#storage_struct = parallel
{
supported_exfat = yes
}
dev_mount sdcard /mnt/extSdCard auto /devices/
platform/s3c-sdhci.2/mmc_host/mmc1/
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sda /mnt/UsbDriveA auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdb /mnt/UsbDriveB auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdc /mnt/UsbDriveC auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdd /mnt/UsbDriveD auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sde /mnt/UsbDriveE auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdf /mnt/UsbDriveF auto /devices/platform/s5p-ehci
#EOF
Click to expand...
Click to collapse
Change it back to what you wanted, then change build.prop as I said.
Sent from my GT-I9300 using xda premium
I'm in the same boat as you.
After messing with vold.fstab too (before reading this thread), getting my S3 nearly impossible to use (because of the popups), and doing some research, I ran into this:
Is Google blocking apps writing to SD cards ?
http://www.chainfire.eu/articles/113/Is_Google_blocking_apps_writing_to_SD_cards_/
So, apparently, we've hit a deadend. The write permission to the ext. SD card might be gone from ICS 4.0.4 (or from ICS overall), and no 3rd-party apps will be able to write to it in a near future. Forget about app2sd too.
The path might be hardcoded in several parts of the framework, and that's whe we get so many errors after editing vold.fstab.
Damn you, Google!
Oh man I only edited one line and then changed it back. I did this Friday without problems, just did it today and getting all these messages. Didnt update my version of android either, dont understand why it wont go back.
All for the sake of just wanting another mount folder.
I'm sure google are aware of this issue, they were working on making android use the /mnt/sdcard0 notation to support multiple sdcards.
Is it the same with cm9 where somebody can change these reference.
Sent from my GT-I9300 using xda premium
OK figured out what i did wrong, of coarse it was stupid. Firstly i got an original untouched fstab file from someone i know who has another s3 and copied it to the /system/etc. Im not sure if it was because it was an untouched file or that i messed up but what i think i did was copy it to the location all along and edit an fstab file that was in /etc instead of /system/etc.
I don't know if the same thing happened to you but ive attached the untouched fstab file for you to copy and try and get your phone working. Hope this helps.
So guys back to point you were saying about linking?
https://rapidshare.com/files/3622250406/vold.fstab

[Q] modify vold.fstab to mount external sd

I will start by saying that I have searched through the threads, but my questions is a little bit more specific. More or less, each thread is related to a specific device, and I did not find mine.
The story:
after moving from 4.1.1 to 4.2.2, the external sd is not mounted anymore. or at least I see it grey in system/storage. I can access all its content via file manager, but thats it.
now, I have checked the 4.1.1 system, and there I have 2 fstab files, internal_sd and external_sd
the content (stripped of comments):
external_sd:
dev_mount sdcard /storage/sdcard0 auto /devices/platform/omap/omap_hsmmc.0/mmc_host/mmc1
dev_mount sdcard2 storage/sdcard1 fuse
internal_sd:
dev_mount sdcard storage/sdcard0 fuse
dev_mount sdcard2 /storage/sdcard1 auto /devices/platform/omap/omap_hsmmc.0/mmc_host/mmc1
on 4.2.2, the content of vold.fstab is:
dev_mount sdcard1 /storage/sdcard1 auto /devices/platform/omap/omap_hsmmc.0/mmc_host/mmc1
Questions:
1. what to add in vold.fstab so that both cards are mounted?
2. what to modify so that the default one is the external one (I somehow assume that is in the build.prop, but not sure)?
bump it!
am I missing some information that is required?!
+1 on this, I have the very same issue to handle... any hint how to edit the vold file for different and customized mounting point (also for testing the very few different customers external sd path) would be usefull.
best regards.
+1 same here
+1 same here
http://forum.xda-developers.com/showthread.php?t=2317661
bump
And no thanks!?
Gesendet von meinem Xperia SP
SD as internal storage
Could anyone help with editing vold.fstab to exchange storage to the SD card as an internal storage? :good:
# Copyright (C) 2009 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
## Vold 2.0 fstab for HTC Dream or Sapphire
#
## - 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
######################
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/ext_sdcard auto /devices/platform/hi_mci.0/mmc_host/mmc1
dev_mount usbotg /mnt/usb auto /devices/hisik3-usb-otg/usb1

[Q] Question About Swap Memories With vold.fstab

I'm running CM10.1 RC1, stock kernel and am interested in swapping memories. I can find threads about this for other phones but so far nothing for the i717. I have a class 10 sandisk 64gb card in fat32 currently and would LOVE to be able to use that as my phone storage for apps. So does anyone have experience editing vold.fstab for these phones? Any help is greatly appreciated.
inb4 16gb is plenty etc etc etc
Swap External w/ Internal. Success!!
LuckyStrike88 said:
I'm running CM10.1 RC1, stock kernel and am interested in swapping memories. I can find threads about this for other phones but so far nothing for the i717. I have a class 10 sandisk 64gb card in fat32 currently and would LOVE to be able to use that as my phone storage for apps. So does anyone have experience editing vold.fstab for these phones? Any help is greatly appreciated.
Click to expand...
Click to collapse
Just in case anyone else besides you reads this post: First, you need a rooted AT&T Galaxy Note I717, second you need the Root Explorer app (it's a couple of bucks in the market, but definitely worth it).
With Root Explorer, make back-ups of the following two files, system/etc/vold.fstab, and system/etc/vold.conf. Once backed up, then proceed to modified the code in red, see below:
vold.fstab original
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
## storage_struct - ex) series, "/mnt/sdcard/extStorages" / parallel
######################
# internal sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun/file
secure_format = enable
discard = enable
}
dev_mount [B][COLOR="Red"]sdcard[/COLOR][/B] /storage/[B][COLOR="Red"]sdcard0[/COLOR][/B] 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0 encryptable_nonremovable
# external sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun_ex/file
supported_exfat = yes
android_secure_containers = enable
}
dev_mount [B][COLOR="red"]sdcard1[/COLOR][/B] /storage/[B][COLOR="red"]extSdCard[/COLOR][/B] auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
#usb host device
{
media_type = usb
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/msm_hsusb_host.0
#EOF
vold.fstab modified
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
## storage_struct - ex) series, "/mnt/sdcard/extStorages" / parallel
######################
# internal sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun/file
secure_format = enable
discard = enable
}
dev_mount [B][COLOR="Blue"]sdcard1[/COLOR][/B] /storage/[B][COLOR="Blue"]extSdCard[/COLOR][/B] 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0 encryptable_nonremovable
# external sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun_ex/file
supported_exfat = yes
android_secure_containers = enable
}
dev_mount [B][COLOR="Blue"]sdcard[/COLOR][/B] /storage/[B][COLOR="Blue"]sdcard0[/COLOR][/B] auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
#usb host device
{
media_type = usb
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/msm_hsusb_host.0
#EOF
vold.conf original
Code:
## vold configuration file for the emulator/SDK
volume_sdcard {
## This is the direct uevent device path to the SD slot on the device
emu_media_path /devices/platform/goldfish_mmc.0/mmc_host/mmc0
media_type mmc
mount_point /[B][COLOR="Red"]sdcard[/COLOR][/B]
ums_path /devices/platform/usb_mass_storage/lun0
}
vold.conf modified
Code:
## vold configuration file for the emulator/SDK
volume_sdcard {
## This is the direct uevent device path to the SD slot on the device
emu_media_path /devices/platform/goldfish_mmc.0/mmc_host/mmc0
media_type mmc
mount_point /[B][COLOR="Blue"]extSdCard[/COLOR][/B]
ums_path /devices/platform/usb_mass_storage/lun0
}
Once the files are modified and saved, reboot your phone, and check your storage. It should look similar to mine (see attached thumbnails).
Now, if all went well, it's time to move all the files from the current extSdCard (the old sdcard) to the current sdcard (the old extSdCard). Again, open Root Explorer, transfer all the files, and if you feel like it now, you can format your new external SD Card and have more room for anything else.
I hope this is helpful.
Using root explorer I do not see vold.fstab in system/etc.
I'm currently running the latest carbon nightly (4.3)
Anyone?
LuckyStrike88 said:
Using root explorer I do not see vold.fstab in system/etc.
I'm currently running the latest carbon nightly (4.3)
Click to expand...
Click to collapse
I'm befuddled!? In Root Explorer go to the highest Parent folder, and perform a search for "vold". It will probably take about 5 minutes to search your entire phone, but those two files are bound to pop up somewhere.
Good luck!
sergio2007 said:
I'm befuddled!? In Root Explorer go to the highest Parent folder, and perform a search for "vold". It will probably take about 5 minutes to search your entire phone, but those two files are bound to pop up somewhere.
Good luck!
Click to expand...
Click to collapse
The only thing that comes up is system/bin/vold but no vold.fstab
I have the setting on which shows hidden files too, definitely odd.
https://github.com/CyanogenMod/andr...mmit/d63bd455f4ef664263dda0986bbfee3d3907de31
it was removed in 4.3 with this commit, removed in favor of the new minivold method or something along those lines. you wont see it again.
[Q]Where is Vold.Fstab on Android 4.3?
LuckyStrike88 said:
The only thing that comes up is system/bin/vold but no vold.fstab
I have the setting on which shows hidden files too, definitely odd.
Click to expand...
Click to collapse
...and the mystery thickens...I just found this. Hopefully, it works: http://forum.xda-developers.com/showthread.php?t=2426804
JamieD81 said:
https://github.com/CyanogenMod/andr...mmit/d63bd455f4ef664263dda0986bbfee3d3907de31
it was removed in 4.3 with this commit, removed in favor of the new minivold method or something along those lines. you wont see it again.
Click to expand...
Click to collapse
10-4, at least I'm not losing my mind
Not the end of the world at this point I'm most likely Note 3 bound anyway.
Thanks for clearing it up and to Sergio for the help as well.
Awesome
Would you happen to know if this is only for jb or might work for ics?

[Q]VOLD.FSTAB [/Q]

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

Categories

Resources