Post Reply

[Q] Question About Swap Memories With vold.fstab

OP LuckyStrike88

9th May 2013, 05:38 PM   |  #1  
OP Senior Member
Thanks Meter: 43
 
169 posts
Join Date:Joined: Oct 2012
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
6th September 2013, 08:00 AM   |  #2  
sergio2007's Avatar
Member
Thanks Meter: 9
 
89 posts
Join Date:Joined: Oct 2007
More
Swap External w/ Internal. Success!!
Quote:
Originally Posted by LuckyStrike88

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.

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 (san@android.com)
## 

#######################
## 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 sdcard /storage/sdcard0 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 sdcard1 /storage/extSdCard 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 (san@android.com)
## 

#######################
## 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 sdcard1 /storage/extSdCard 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 sdcard /storage/sdcard0 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    /sdcard
    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    /extSdCard
    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.
Attached Thumbnails
Click image for larger version

Name:	1_Storage.jpg
Views:	104
Size:	166.0 KB
ID:	2807519   Click image for larger version

Name:	2_Storage.jpg
Views:	76
Size:	195.8 KB
ID:	2807520  
Last edited by sergio2007; 19th June 2014 at 11:50 PM.
The Following 3 Users Say Thank You to sergio2007 For This Useful Post: [ View ]
8th September 2013, 01:45 AM   |  #3  
OP Senior Member
Thanks Meter: 43
 
169 posts
Join Date:Joined: Oct 2012
Using root explorer I do not see vold.fstab in system/etc.

I'm currently running the latest carbon nightly (4.3)
8th September 2013, 04:36 PM   |  #4  
OP Senior Member
Thanks Meter: 43
 
169 posts
Join Date:Joined: Oct 2012
Anyone?
10th September 2013, 07:08 PM   |  #5  
sergio2007's Avatar
Member
Thanks Meter: 9
 
89 posts
Join Date:Joined: Oct 2007
More
Quote:
Originally Posted by LuckyStrike88

Using root explorer I do not see vold.fstab in system/etc.

I'm currently running the latest carbon nightly (4.3)

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!
10th September 2013, 08:15 PM   |  #6  
OP Senior Member
Thanks Meter: 43
 
169 posts
Join Date:Joined: Oct 2012
Quote:
Originally Posted by sergio2007

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!

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.
11th September 2013, 05:36 AM   |  #7  
JamieD81's Avatar
Senior Member
Flag Duncan
Thanks Meter: 8,165
 
4,029 posts
Join Date:Joined: Nov 2009
Donate to Me
More
https://github.com/CyanogenMod/andro...bfee3d3907de31

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.
The Following User Says Thank You to JamieD81 For This Useful Post: [ View ]
11th September 2013, 06:52 AM   |  #8  
sergio2007's Avatar
Member
Thanks Meter: 9
 
89 posts
Join Date:Joined: Oct 2007
More
[Q]Where is Vold.Fstab on Android 4.3?
Quote:
Originally Posted by LuckyStrike88

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.

...and the mystery thickens...I just found this. Hopefully, it works: http://forum.xda-developers.com/show....php?t=2426804
11th September 2013, 06:20 PM   |  #9  
OP Senior Member
Thanks Meter: 43
 
169 posts
Join Date:Joined: Oct 2012
Quote:
Originally Posted by JamieD81

https://github.com/CyanogenMod/andro...bfee3d3907de31

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.

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.
20th June 2014, 04:21 AM   |  #10  
GT247's Avatar
Senior Member
Flag Beautiful California
Thanks Meter: 1,584
 
1,620 posts
Join Date:Joined: Jun 2010
More
Awesome

Would you happen to know if this is only for jb or might work for ics?

Post Reply Subscribe to Thread

Tags
vold.fstab
Previous Thread Next Thread
Thread Tools
Display Modes