[Q] How to swap internal/external sd on MIUI ICS? - Samsung Galaxy W I8150

I want to swap my external sd memory to internal sd... on custom ROM (MIUI).
I have already tried some tweaks, but only result that did I get was unlimited bootanimation.
I did not test these tweaks with stock ROM, btw.
Here is my currently installed ROM link
Here is the vold.fstab file:
## 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 sdcard /mnt/sdcard 28 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# externel sdcard
dev_mount external_sd /mnt/external_sd auto /devices/platform/msm_sdcc.4/mmc_host/mmc2
Click to expand...
Click to collapse
I tried to change the strings xD and I get no result
## 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 sdcard /mnt/external_sd auto /devices/platform/msm_sdcc.4/mmc_host/mmc2
# externel sdcard
dev_mount external_sd /mnt/sdcard 28 /devices/platform/msm_sdcc.2/mmc_host/mmc1
Click to expand...
Click to collapse
Any advices?
P.S. I'm from Russia, and I think that my English is awful, so please don't shout on me xD :laugh:

Is it not the same method as in original CM9? If it is, then...
Settings>>storage>>[menu]>>storage configuration and check the box for 'use internal storage'....then reboot your phone....done
From my Galaxy W on CM9 and CWM6 with Tapatalk 2

Thanks, but...
I don't have this option... It's sad, because this version of MIUI is based on CM9...
but thanks anyway!

same here :crying:
I can't find 'use internal storage' menu in MIUI..

You have to press the menu switch when in storage to see this option

I can't find it
Can you make some screenshots of this setting..? T_T

You should take a look to this thread
http://forum.xda-developers.com/showthread.php?t=1593615
it works on me!!

Vold.fstab
try this man..
hope it helps...use rootexplorer then mount to rw..then extract that zip file then copy..then paste/overwrite it in etc folder then reboot..

It doesn't works again
shanbhudz said:
try this man..
hope it helps...use rootexplorer then mount to rw..then extract that zip file then copy..then paste/overwrite it in etc folder then reboot..
Click to expand...
Click to collapse
It doesn't works for me again :Q

try this

thanks

reeeval said:
try this
Click to expand...
Click to collapse
ah... this file is actually the same

try this
You did the wrong thing you have to only change the sdcard and the external_sd and reboot that's it here is the screenshots.
Note: this works on every single rom for the sgw i have tried alot and all ended up with success, now i'm using the AOKP JB and it works.
And a tip: you'll lose your apps if they are on the sdcard so you should move them to phone memory==>swap==>then move to sdcard(external_sd)
and i personally like es file explorer as it is full of features and has root access, this is the vold in the /system/etc not the one in the /etc . i don't recommend messing up the one there just use the /system/etc for the moment

7amada100 said:
You did the wrong thing you have to only change the sdcard and the external_sd and reboot that's it here is the screenshots.
Note: this works on every single rom for the sgw i have tried alot and all ended up with success, now i'm using the AOKP JB and it works.
And a tip: you'll lose your apps if they are on the sdcard so you should move them to phone memory==>swap==>then move to sdcard(external_sd)
and i personally like es file explorer as it is full of features and has root access, this is the vold in the /system/etc not the one in the /etc . i don't recommend messing up the one there just use the /system/etc for the moment
Click to expand...
Click to collapse
WOW! Thank you very much, i have success!!! With ES explorer! or may be it's just because i did place it into the /system/etc Anyway, thank you very much!!!:cyclops:

razoranti said:
WOW! Thank you very much, i have success!!! With ES explorer! or may be it's just because i did place it into the /system/etc Anyway, thank you very much!!!:cyclops:
Click to expand...
Click to collapse
No problem, glad to help you and don't forget the thanks button
Sent from my GT-I8150 using Tapatalk 2

doesn't work on miui v5

7amada100 said:
No problem, glad to help you and don't forget the thanks button
Sent from my GT-I8150 using Tapatalk 2
Click to expand...
Click to collapse
Doesn't working for me...
tried swapping like follows in MIUI5 based on stock rom of Micromax Canvas HD:
dev_mount sdcard /storage/sdcard1
dev_mount sdcard2 /storage/sdcard0
// There is nothing like emms in my vold.fstab file.
So please help me. I am dying to swap. And if I am unable to swap then I have to switch back to stock ROM because I can't live without my games.

miui V5
gauravsuneja said:
doesn't work on miui v5
Click to expand...
Click to collapse
for those who wish to swap sdcard with internal memory in miui V5
use LBE App to grant root acess then with any file manager go to /system and them edit the file "build.prop"
look for the line where there is something like "change to 1 for swaping sd card"
for further information look at the discussion thread of CM10.1 is the same process since this rom was based on it
I just did this and it works for me

Related

Steal any file from unrooted phone

Since my old thread got moved to general I will re-post here - You can delete the one in general or I can.
Kies air allows alot of stealing of UNROOTed Android files.. so take what you want from the unrooted : )
<KIES IP>:8080 - before each
LIST any directory
/ws/content/files/<PATH>?startIndex=0
i.e. /ws/content/files/etc?startIndex=0
Lists /etc and all subfolders/files
GET any file
/www/apps/KiesAir/php/ws_send_file.php?mtype=application/octet-stream&contentDisposition=attachment&file=<FILE URL ENCODED>
i.e.
/www/apps/KiesAir/php/ws_send_file.php?mtype=application/octet-stream&contentDisposition=attachment&file=%2Fetc/%2Fhosts
GETs /etc/hosts
Good luck.. oh and if you want your battery status...
/ws/system/state/battery
---------- Post added at 05:57 AM ---------- Previous post was at 05:45 AM ----------
On the GO USB is in FSTAB! WOOT! If it wasn't /dev/zero???
## 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
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = enable
}
dev_mount sdcard /mnt/sdcard 11 /devices/platform/s3c-mshci.0/mmc_host/mmc0/mmc0
# external sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/virtual/block/cyasblkdevblk0
# otg sdcard
{
ums_path = /dev/zero
asec = disable
}
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/s3c_otghcd/usb
#end line ## keep this line
Moving this thread to General as it's not development, just a way to use an app to take things from an unrooted phone.
There is already a ROM dump - http://forum.xda-developers.com/showthread.php?t=1262697 - so that can be used to get the files you want/desire.
how to?

MIUI v4 2.8.10 Swap Internal & External Memory (for games)

Hi everyone, my bad english. My system Miui v4. I want to play games, but insufficient memory. Example GTA III or Six Guns. I want to install external memory. But i could not. Help me please, thank you.
i try vlod, but phone was a bootloop.
that's 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
######################
# sdcard mount for the P1
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = enable
}
dev_mount sdcard1 /mnt/sdcard/external_sd 28 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
discard = disable
asec = disable
}
#dev_mount sdcard1 /mnt/sdcard/external_sd 1 /devices/platform/msm_sdcc.4/mmc_host/mmc2
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.4/mmc_host/mmc2
#end line ## keep this line
Click to expand...
Click to collapse
Nobody dont know? Help me please :angel:

Make external storage the internal storage

For anybody who wants alot of internal space by switching your external sd to internal storage do the following: First find the vold.fstab file in system/etc. Once you find it you will need to edit it with an app like root explorer. Scroll down the file until you see the internal sd card line change the 0 to 1. Then in the line that says external sd change the 1 to 0. That's it very simple. Now your external sd will be your internal space. Make sure the vold.fstab file has r-w-.r-r or 644 permissions and owner is root. Now reboot and your done. You should now have switched your external space for internal space successfully!!!
Sent from my SGH-T989 using Tapatalk
Where do I make the edit
GSII T989
AOKP 3/22/13 NIGHTLY NOS'D UP
I was wondering if this was possible on the galaxy reverb. Here is the vold.fstab.
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.
## 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"
#storage_struct = parallel
{
supported_exfat = yes
}
dev_mount sdcard /mnt/extSdCard auto /devices/platform/msm_sdcc.4/mmc_host
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sda /mnt/UsbDriveA auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdb /mnt/UsbDriveB auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdc /mnt/UsbDriveC auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdd /mnt/UsbDriveD auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sde /mnt/UsbDriveE auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdf /mnt/UsbDriveF auto /devices/platform/msm_hsusb_host/usb
#EOF
Sent from my HTC One XL using xda premium
hatememarkz said:
Where do I make the edit
GSII T989
AOKP 3/22/13 NIGHTLY NOS'D UP
Click to expand...
Click to collapse
Where it says sdcard 0 change it to 1 and where it says external_sd 1 change it to 0. Reboot.
Sent from my SGH-T989 using Tapatalk
johnwayne007 said:
I was wondering if this was possible on the galaxy reverb. Here is the vold.fstab.
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.
## 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"
#storage_struct = parallel
{
supported_exfat = yes
}
dev_mount sdcard /mnt/extSdCard auto /devices/platform/msm_sdcc.4/mmc_host
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sda /mnt/UsbDriveA auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdb /mnt/UsbDriveB auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdc /mnt/UsbDriveC auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdd /mnt/UsbDriveD auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sde /mnt/UsbDriveE auto /devices/platform/msm_hsusb_host/usb
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdf /mnt/UsbDriveF auto /devices/platform/msm_hsusb_host/usb
#EOF
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
Not familiar with the phone but it looks like all you have to do for this is switch the dev mount sd card with ex sdcard just switch the order so it reads the mount differently. The s2 uses 0 and 1 but basically it should be the same except it uses the words sd and ex instead.
Sent from my SGH-T989 using Tapatalk
richardlibeau said:
Not familiar with the phone but it looks like all you have to do for this is switch the dev mount sd card with ex sdcard just switch the order so it reads the mount differently. The s2 uses 0 and 1 but basically it should be the same except it uses the words sd and ex instead.
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
CM9 actually have the option to do it. It was cool i actually swapped and work great. Anyway I am on P.A.C RoM 4.2.2 is it possible to do it with this rom?
FwaZ said:
CM9 actually have the option to do it. It was cool i actually swapped and work great. Anyway I am on P.A.C RoM 4.2.2 is it possible to do it with this rom?
Click to expand...
Click to collapse
Use this zip just unzip and take the file out and place it in system/etc. With 644 or r-w-r-r permissions and owner as root. Then reboot
How is this an app or theme?
Sent from my SAMSUNG-SGH-T989 using xda premium
Spastic909 said:
How is this an app or theme?
Sent from my SAMSUNG-SGH-T989 using xda premium
Click to expand...
Click to collapse
Just a file located in your system/etc that I modified to make your phone mount external sd as internal sd to give you way more space for apps and data files for games or music etc.
Sent from my SGH-T989 using Tapatalk
richardlibeau said:
Just a file located in your system/etc that I modified to make your phone mount external sd as internal sd to give you way more space for apps and data files for games or music etc.
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
What happens to the current data? Is it transferred to the external SD? Or just for new data that is written to the "internal memory"?
Damn, looks like I wasted money on FolderMount. Worked great and so simple. Now lets see if my TWRP backups stick to the 64GB now. Could never flash a backup from the external sd card before, always got a "failure".Worked fine from the internal card. Could never figure that one out.
I can't get it to work.
Sent from my SGH-T989 using xda app-developers app
TU Homer said:
I can't get it to work.
Sent from my SGH-T989 using xda app-developers app
Click to expand...
Click to collapse
Have to give the file 644 or r-w-r-r permissions and owner is root
Sent from my SGH-M919 using Tapatalk 2
---------- Post added at 06:04 PM ---------- Previous post was at 06:02 PM ----------
crz6662 said:
Damn, looks like I wasted money on FolderMount. Worked great and so simple. Now lets see if my TWRP backups stick to the 64GB now. Could never flash a backup from the external sd card before, always got a "failure".Worked fine from the internal card. Could never figure that one out.
Click to expand...
Click to collapse
It will flash backup from external sd no problem
Sent from my SGH-M919 using Tapatalk 2
Miami8906 said:
Have to give the file 644 or r-w-r-r permissions and owner is root
Sent from my SGH-M919 using Tapatalk 2
---------- Post added at 06:04 PM ---------- Previous post was at 06:02 PM ----------
It will flash backup from external sd no problem
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
I'll try it, but the problem with me is the actual syntax was not exactly the same. But I am to take your attached file, give it r-w-r-r and owner root, and replace with my existing file, correct?
Backin up now...
TU Homer said:
I'll try it, but the problem with me is the actual syntax was not exactly the same. But I am to take your attached file, give it r-w-r-r and owner root, and replace with my existing file, correct?
Backin up now...
Click to expand...
Click to collapse
Yes that's it should work fine after reboot.
Sent from my SGH-M919 using Tapatalk 2
Miami8906 said:
Yes that's it should work fine after reboot.
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
Thanks.
I'm using ES File Explorer File Manager, and I'm struggling with changing the new files permissions.
I went ahead and bought Root Explorer, and it handled my permissions. Hope running Infamous 3.0 will work fine. Fixed permissions and it's booting now.
richardlibeau said:
Just a file located in your system/etc that I modified to make your phone mount external sd as internal sd to give you way more space for apps and data files for games or music etc.
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
Hi can u help me will you modify my vold file please its from jb 4.2.2 S4 i9505
http://goo.gl/DsS0c
Thanks man
XDA Premium on GT-I9505
LyuboA said:
Hi can u help me will you modify my vold file please its from jb 4.2.2 S4 i9505
http://goo.gl/DsS0c
Thanks man
XDA Premium on GT-I9505
Click to expand...
Click to collapse
Having same issue on my s4 myself working on a fix to make it work like the s2 but it's set up differently. For now I have been using GL to SD Root to move game data to ex card and it works great. I freed up 7 gb's of internal space using the app until I figure the voldfstab file out.
Sent from my SGH-M919 using Tapatalk 2
TU Homer said:
Thanks.
I'm using ES File Explorer File Manager, and I'm struggling with changing the new files permissions.
I went ahead and bought Root Explorer, and it handled my permissions. Hope running Infamous 3.0 will work fine. Fixed permissions and it's booting now.
Click to expand...
Click to collapse
Just not booting up. Stuck at the boot screen for Infamous. Dang.
Any thoughts?
TU Homer said:
Just not booting up. Stuck at the boot screen for Infamous. Dang.
Any thoughts?
Click to expand...
Click to collapse
Should boot up fine unless you didn't change permissions or had owner as root incorrectly. I used this for almost a year when I hsd the s2. Try wiping dalvik and cache partition then reboot this should fix it.
Sent from my SGH-M919 using Tapatalk 2

[Request] Upload Vold.fstab from Galaxy Tab 3 8.0

Hello,
can anyone upload the Vold.fstab from the Galaxy Tab 3 8.0. I want to compare this to the Tab 3 7.0 one.
You can find it in /system/etc.
Thank you in advance.
tempdroid said:
Hello,
can anyone upload the Vold.fstab from the Galaxy Tab 3 8.0. I want to compare this to the Tab 3 7.0 one.
You can find it in /system/etc.
Thank you in advance.
Click to expand...
Click to collapse
Can you send me the Tab 7.0 vold.fstab?? Please i messed up mine trying to put apps to the ext sd card
now it doesn't recognize the ext sd card
P.S: Sorry for don't having the Tab 8.0 Vold.fstab, hope someone else can send it to you
MechanicWB said:
Can you send me the Tab 7.0 vold.fstab?? Please i messed up mine trying to put apps to the ext sd card
now it doesn't recognize the ext sd card
P.S: Sorry for don't having the Tab 8.0 Vold.fstab, hope someone else can send it to you
Click to expand...
Click to collapse
No problem, mate, here it is (could not attach it)
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.
## 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, "/storage/sdcard/extStorages"
#storage_struct = parallel
{
supported_exfat = yes
}
dev_mount sdcard /storage/extSdCard auto /devices/platform/sdhci-pxav3.0/mmc_host/mmc1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb1
#EOF
If you manage to put apps on external sdcard, you can drop me a pm
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 = series, "/storage/sdcard/extStorages"
#storage_struct = parallel
{
supported_exfat = yes
}
dev_mount sdcard /storage/extSdCard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1/
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/s5p-ehci
#usb host device
{
media_type = usb
supported_exfat = yes
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/s5p-ehci
#EOF
ketut.kumajaya said:
Code:
## Vold 2.0 Generic fstab
...
Click to expand...
Click to collapse
Thank you, Ketut. As far as I can see, they are identical, if I ignore the different devices.
Is moving apps to sd supported on your Tab? I heard, that Samsung put it in again on 4.2.2 devices...
tempdroid said:
Thank you, Ketut. As far as I can see, they are identical, if I ignore the different devices.
Is moving apps to sd supported on your Tab? I heard, that Samsung put it in again on 4.2.2 devices...
Click to expand...
Click to collapse
I have my own solution to swap internal - external storage using a modified sdcard binary. Internal storage mounted to /storage/.sdcard and then bind mount it to /storage/sdcard0 . When boot completed, after external storage mounted, my script will unmount both internal and external storage, and then bind mount internal storage to /storage/extSdCard and mount external storage to /storage/sdcard0 .
ketut.kumajaya said:
I have my own solution to swap internal - external storage using a modified sdcard binary. Internal storage mounted to /storage/.sdcard and then bind mount it to /storage/sdcard0 . When boot completed, after external storage mounted, my script will unmount both internal and external storage, and then bind mount internal storage to /storage/extSdCard and mount external storage to /storage/sdcard0 .
Click to expand...
Click to collapse
Could you send me your modified binary and script? I would try, if I can port this to the T210.
Thank you, mate.
Thank you so much tempdroid, you are a life save
I'll tell you if i find a way to put the apps on the ext sdcard, thanks you so much
Sent from my SM-T210 using XDA Premium 4 mobile app
---------- Post added at 01:10 PM ---------- Previous post was at 12:48 PM ----------
You sent me the one form /system/etc.
The one i need is from the origin source etc folder, where the system folder is too.
Can you send me that one please?
MechanicWB said:
Thank you so much tempdroid, you are a life save
I'll tell you if i find a way to put the apps on the ext sdcard, thanks you so much
Sent from my SM-T210 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If you manage you can try my ROM with extra game mod and enjoy GTA SA on your tab :thumbup:
Or try it anyway.
MechanicWB said:
You sent me the one form /system/etc.
The one i need is from the origin source etc folder, where the system folder is too.
Can you send me that one please?
Click to expand...
Click to collapse
What source do you mean by this?
tempdroid said:
What source do you mean by this?
Click to expand...
Click to collapse
In te same directory where the system folder is, there is one folder that is named etc.
(sorry for the bad english, i'm not english)
MechanicWB said:
In te same directory where the system folder is, there is one folder that is named etc.
(sorry for the bad english, i'm not english)
Click to expand...
Click to collapse
You mean fstab.pxa988?
Here are the contents of this:
Code:
## fstab has the following format:
##
## Any line starting with a # is a comment and ignored
##
## Any blank line is ignored
##
## All other lines must be in this format:
## <source> <mount_point> <fs_type> <mount_flags> <fs_options> <fs_mgr_options>
##
## <mount_flags> is a comma separated list of flags that can be passed to the
## mount command. The list includes noatime, nosuid, nodev, nodiratime,
## ro, rw, remount, defaults.
##
## <fs_options> is a comma separated list of options accepted by the filesystem being
## mounted. It is passed directly to mount without being parsed
##
## <fs_mgr_options> is a comma separated list of flags that control the operation of
## the fs_mgr program. The list includes "wait", which will wait till
## the <source> file exists, and "check", which requests that the fs_mgr
## run an fscheck program on the <source> before mounting the filesystem.
## If check is specifed on a read-only filesystem, it is ignored.
## Also, "encryptable" means that filesystem can be encrypted.
## The "encryptable" flag _MUST_ be followed by a : and a string which
## is the location of the encryption keys. I can either be a path
## to a file or partition which contains the keys, or the word "footer"
## which means the keys are in the last 16 Kbytes of the partition
## containing the filesystem.
##
## When the fs_mgr is requested to mount all filesystems, it will first mount all the
## filesystems that do _NOT_ specify check (including filesystems that are read-only and
## specify check, because check is ignored in that case) and then it will check and mount
## filesystem marked with check.
##
##
/dev/block/mmcblk0p14 /system ext4 ro,noatime wait
/dev/block/mmcblk0p6 /efs ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check
/dev/block/mmcblk0p15 /cache ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check
# data partition must be located at the bottom for supporting device encryption
/dev/block/mmcblk0p17 /data ext4 noatime,nosuid,nodev,noauto_da_alloc,journal_async_commit,discard,errors=panic wait,check,encryptable=footer
tempdroid said:
Could you send me your modified binary and script? I would try, if I can port this to the T210.
Thank you, mate.
Click to expand...
Click to collapse
Both binary and script in my kernel for Tab 2 http://forum.xda-developers.com/showthread.php?t=2285366 . I will upload blackhawk kernel for T21x with "setprop persist.customboot.sdcard external" support.
In the same directory as the system folder you have the etc folder, has you can see in the picture. In the etc folder you have the vold.fstab file, not in the system folder. Sorry for the trouble, please help me
Sent from my SM-T210 using XDA Premium 4 mobile app
MechanicWB said:
In the same directory as the system folder you have the etc folder, has you can see in the picture. In the etc folder you have the vold.fstab file, not in the system folder. Sorry for the trouble, please help me
Sent from my SM-T210 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I use solid explorer,I see etc under root, but this is just a link to /system/etc, so same file.
In mine its two seperated folders
Thanks for the help anyway mate
Sent from my SM-T210 using XDA Premium 4 mobile app
MechanicWB said:
In mine its two seperated folders
Thanks for the help anyway mate
Sent from my SM-T210 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hello @MechanicWB,
I had a look recently with Aroma File Manager in recovery and there was a different etc folder displayed.
If you were looking for the fstab file, here are it's contents.
Hope this will help you recover anything:
Code:
/dev/block/mmcblk0p15 /cache ext4 rw
/dev/block/mmcblk0p17 /data ext4 rw
/dev/block/mmcblk0p14 /system ext4 rw
/dev/block/mmcblk0p16 /preload ext4 rw
/dev/null /sdcard datamedia rw
/dev/block/mmcblk1p2 /sd-ext ext4 rw
/dev/block/mmcblk1p1 /external_sd auto rw
tempdroid said:
Hello @MechanicWB,
I had a look recently with Aroma File Manager in recovery and there was a different etc folder displayed.
If you were looking for the fstab file, here are it's contents.
Hope this will help you recover anything:
Code:
/dev/block/mmcblk0p15 /cache ext4 rw
/dev/block/mmcblk0p17 /data ext4 rw
/dev/block/mmcblk0p14 /system ext4 rw
/dev/block/mmcblk0p16 /preload ext4 rw
/dev/null /sdcard datamedia rw
/dev/block/mmcblk1p2 /sd-ext ext4 rw
/dev/block/mmcblk1p1 /external_sd auto rw
Click to expand...
Click to collapse
Still doesn't work Thanks for the help anyway I found a vold.fstab that stabled the tablet, now the only problem is that he doesn't recognize the ext sdcard :c
Thanks for all your help tempdroid.
I need help. D:
tempdroid said:
What source do you mean by this?
Click to expand...
Click to collapse
I want to change the internal storage to external in my Galaxy Tab 10.1 3 Using the method Vold.fstab. And I could spend the modified file or tell me how I should re-write it? greetings
Can anyone help me? how to swap external n internal on tab 3 lite 7.0 stock rom 4.2.2 rooted?

problem with memory zopo zp500s

Hello everyone, as the title zopo zp500s own one and I would make sure that the smartphone would recognize only the micro SD memory as I read some guides on changing the file system / etc / vold.fstab but without success, some of you may give me a hand?
if you want I can also post the rom
Thanks in advance
Gianni
I write the file directly vold.fstab:
## 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 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard2 /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1

Categories

Resources