Need help modifying VOLD.fstab - Samsung Galaxy W I8150

Hi guys, i need help modifying my vold.fstab file to swap my internal storage with my external storage.. I've searched high and low for similar threads but it turns out, most, if not all their vold.fstab are different. Attached is my vold file. Thx in advance

robertkanie said:
Hi guys, i need help modifying my vold.fstab file to swap my internal storage with my external storage.. I've searched high and low for similar threads but it turns out, most, if not all their vold.fstab are different. Attached is my vold file. Thx in advance
Click to expand...
Click to collapse
Why bother? grab the vold.fstab in the said threads and try it on your work. You don't need to modify yours. Just use what others have shared in their thread(s). You can always save a copy of your original vold if you want. And a nandroid backup too.

bbmadzky said:
Why bother? grab the vold.fstab in the said threads and try it on your work. You don't need to modify yours. Just use what others have shared in their thread(s). You can always save a copy of your original vold if you want. And a nandroid backup too.
Click to expand...
Click to collapse
I've tried, it caused my hp to go into a loop.. Good thing i did a nandroid backup. Anyone can help me here? Or at least link me to a vold file that is compatible with mine..I'm using the [ROM] [ICS 4.0.4] [AOKP] InDroiD REMICS V3 btw.

robertkanie said:
I've tried, it caused my hp to go into a loop.. Good thing i did a nandroid backup. Anyone can help me here? Or at least link me to a vold file that is compatible with mine..I'm using the [ROM] [ICS 4.0.4] [AOKP] InDroiD REMICS V3 btw.
Click to expand...
Click to collapse
modified vold can only be used in gingerbread. You can have the sd-swap option built-in when you use CM9 (arco's) or any custom rom based with Arco's.

robertkanie said:
Hi guys, i need help modifying my vold.fstab file to swap my internal storage with my external storage.. I've searched high and low for similar threads but it turns out, most, if not all their vold.fstab are different. Attached is my vold file. Thx in advance
Click to expand...
Click to collapse
do you mean swap internal sd card and external sd card..?? if that so, maybe you can use my modded vold file..my original vold file is similar to your vold file...copy my modded vold file to etc/ (using Root explorer), delete the original, rename the modded vold file and change permission (if i'm right, its rx-r--r--). Don't forget to copy/move your file from internal sd card to external sd card before swapping...
good luck :good:

bbmadzky said:
modified vold can only be used in gingerbread. You can have the sd-swap option built-in when you use CM9 (arco's) or any custom rom based with Arco's.
Click to expand...
Click to collapse
LOL, so easy! i just found out.
nasseer said:
do you mean swap internal sd card and external sd card..?? if that so, maybe you can use my modded vold file..my original vold file is similar to your vold file...copy my modded vold file to etc/ (using Root explorer), delete the original, rename the modded vold file and change permission (if i'm right, its rx-r--r--). Don't forget to copy/move your file from internal sd card to external sd card before swapping...
good luck :good:
Click to expand...
Click to collapse
Thx

similar issue
I modded my VOLD.fstab from this site, (latgale.co.uk/?p=70).on a factory rooted galaxy W. I over wrote the original file before changing rw/ro in my excitement and noobness, now my phone has no access to usb or sd internally or externally. it works fine but says 0.00B on both usb and sd storage. I backed up the original on the memory stick but now I have no access. I have not installed clockwork mod yet because it seemed like a lot of reading, and was going to circle back later for it. when I check the file VOLD.fstab and give it the right permissions and restart it there is still nothing, when I open it with note pad the script is all there. What am i missing? how do I connect to internal storage to flash the original file back or a working one?
*(edit) I turned rw on the file and then renamed it twice once to some thing elts then back again pulled the battery for a few min and it worked.

Related

[How to] Alternative solutions to swapping for GAMERS!!

Hi all,
I found that some of the SGW users are wondering whether they should swap internal/external sd card as their internal sd card is full with awesome GAMES data.
Here i will provide three ways to give ur SGW more space for gaming. Strictly for root users only.
Internal/External swapping
This mod will swap ur internal sd with external sd. Before swapping, backup the data on both sd cards to ur pc and manually "swap" the data from each other.
Then download and extract the vold.fstab from the attachment replace the one under /system/etc by using root explorer. Then reboot and enjoy.
Mounting script
If u want to store and run game data from external sd without swapping. Mounting script is a good solution to it.
This script will mount the game data path to your external sd. In other word, it tricked ur device for redirecting the games to load data from external sd instead of internal sd.
What u need are
Script Manager - download from market for free [https://play.google.com/store/apps/details?id=os.tools.scriptmanager&feature=search_result#?t=W251bGwsMSwxLDEsIm9zLnRvb2xzLnNjcmlwdG1hbmFnZXIiXQ..
mounting script
Create a new script file in Script manager and type the following:
(I used the Android folder as example)
Code:
mount -o bind sdcard/external_sd/Android sdcard/Android
This is for gameloft
Code:
mount -o bind sdcard/external_sd/gameloft sdcard/gameloft
After creating these, u need to cut the files in Android or gameloft from internal sdcard and paste them to the new location on external sd. Leave the original folders empty.
Remember to set them "boot" and "su" and SAVE in script manager. Reboot.
Alternatively, u can use the one I provided or create it by ur own. Extract the MOUNT external.zip and put it into ur sd card. Open it in script manager and select "boot" and "su" then save. Reboot.
If ur ROM is init.d autorun supported, just simply put the mounting script into the /system/etc/init.d folder.
Directory Bind tool
This is an apk created by one of our forum members, slig. This is based on the the same mounting script method. U can use it for simplicity. All credits go to the creator.
Link: http://forum.xda-developers.com/showpost.php?p=20668905&postcount=1
GL to SD
This apps created by tnslf2k is similar to the script I made and it is user-friendly. U can download it from https://play.google.com/store/apps/details?id=com.slf.ListglApp&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5zbGYuTGlzdGdsQXBwIl0.
For more details, see http://forum.xda-developers.com/showpost.php?p=18949753&postcount=1
That's all. Choose a way and play ur games~~!!
i made an second partition on my sd card with easeus (ext2) primary.
Now i use link2sd and everything i download is automaticly linked to my sd card.
So my internal space never get's full.
diederikmo said:
i made an second partition on my sd card with easeus (ext2) primary.
Now i use link2sd and everything i download is automaticly linked to my sd card.
So my internal space never get's full.
Click to expand...
Click to collapse
Yup, the option 2 (mounting script) gives the same effect.
regarding option 2, where should i place the script? thanks
vanir29 said:
regarding option 2, where should i place the script? thanks
Click to expand...
Click to collapse
U can put in under ur internal sd card.
yewsiong said:
U can put in under ur internal sd card.
Click to expand...
Click to collapse
thanks , i thought it should be placed in the folder where u cut the files , btw does this only work for files (saved files) what about apk? i mean in \data\app folder all the apk of the apps that i installed is there, can i use this script so that i can move my apk files? or this script only works with saved files? thanks again
vanir29 said:
thanks , i thought it should be placed in the folder where u cut the files , btw does this only work for files (saved files) what about apk? i mean in \data\app folder all the apk of the apps that i installed is there, can i use this script so that i can move my apk files? or this script only works with saved files? thanks again
Click to expand...
Click to collapse
Theoretically, it should work but I have never tried before. If u don't mind doing this experiment, please tell me the result. I am not very free to play with SGW now. Dealing with galaxy ACE at this moment.
i used the "Directory Bind" tools since 3 days ago, and it's works like a charm in my SGW untill now..
http://forum.xda-developers.com/showthread.php?t=1410262&highlight=directory+bind
yewsiong said:
Theoretically, it should work but I have never tried before. If u don't mind doing this experiment, please tell me the result. I am not very free to play with SGW now. Dealing with galaxy ACE at this moment.
Click to expand...
Click to collapse
ive tried it, but it didnt work, im using bionic2 so my internal/external is already swapped, but i want my system storage to have more free space that's why i want to move the apk's of my installed apps, here the script i made: "mount -o bind sdcard/data_app data/app" (without the quote), i moved all my apk files from data/app to sdcard/data_app after i moved it all, obviously my root explorer and script manager wont open that's why reinstalled them, ive set the script to root and boot, but before i reboot, ive ran the script and try to open some apps, it opened so i think it work, after i reboot all the apps that i moved are gone but when i go to data/app i can see all the apk files of my apps there (looks like the script works), but i dont know what the problem is, can u help me on this? or it isnt possible? and let me ask some question, in application menu, there is an option that says "move to sd card", after i press it, when i go to data/app folder, the apk of the app that i moved is not there (obviously) and it can be found in mnt/asec folder, but i cant find it in my sdcard (which is the 1.7gb because its swap), can u tell me where can i find it? many THANKS
bengonk said:
i used the "Directory Bind" tools since 3 days ago, and it's works like a charm in my SGW untill now..
http://forum.xda-developers.com/showthread.php?t=1410262&highlight=directory+bind
Click to expand...
Click to collapse
It is using the same working principle, i.e. bind command.
vanir29 said:
ive tried it, but it didnt work, im using bionic2 so my internal/external is already swapped, but i want my system storage to have more free space that's why i want to move the apk's of my installed apps, here the script i made: "mount -o bind sdcard/data_app data/app" (without the quote), i moved all my apk files from data/app to sdcard/data_app after i moved it all, obviously my root explorer and script manager wont open that's why reinstalled them, ive set the script to root and boot, but before i reboot, ive ran the script and try to open some apps, it opened so i think it work, after i reboot all the apps that i moved are gone but when i go to data/app i can see all the apk files of my apps there (looks like the script works), but i dont know what the problem is, can u help me on this? or it isnt possible? and let me ask some question, in application menu, there is an option that says "move to sd card", after i press it, when i go to data/app folder, the apk of the app that i moved is not there (obviously) and it can be found in mnt/asec folder, but i cant find it in my sdcard (which is the 1.7gb because its swap), can u tell me where can i find it? many THANKS
Click to expand...
Click to collapse
Code:
"mount -o bind sdcard/data_app data/app"
May I know the location of data/app? if it is on ur external sd, it should be
Code:
"mount -o bind sdcard/data_app sdcard/external_sd/data/app"
If u got swapped ur internal/external sd, this script is not needed since all the apps+data u installed into "phone memory" will be in ur external sd. If u try to move the apps to sd card again, it should go back to ur 1.7gb internal sd card.
FYI, system storage is where ur ROM stored and it is fixed (~550Mb) as it can't be swapped. So all system apps will be kept there.
For normal non-swapped ROM, APP to SD can serve the purpose of moving apps from system storage to internal sd (1.7Gb)
yewsiong said:
Code:
"mount -o bind sdcard/data_app data/app"
May I know the location of data/app? if it is on ur external sd, it should be
Code:
"mount -o bind sdcard/data_app sdcard/external_sd/data/app"
If u got swapped ur internal/external sd, this script is not needed since all the apps+data u installed into "phone memory" will be in ur external sd. If u try to move the apps to sd card again, it should go back to ur 1.7gb internal sd card.
FYI, system storage is where ur ROM stored and it is fixed (~550Mb) as it can't be swapped. So all system apps will be kept there.
For normal non-swapped ROM, APP to SD can serve the purpose of moving apps from system storage to internal sd (1.7Gb)
Click to expand...
Click to collapse
data/app folder is in the root of the phone, that's why i use this script "mount -o bind sdcard/data_app data/app" what im trying to do is to get more space for system storage, and i think it is 1.07GB, when u go to task manager under storage tab, thanks for ur patience
vanir29 said:
data/app folder is in the root of the phone, that's why i use this script "mount -o bind sdcard/data_app data/app" what im trying to do is to get more space for system storage, and i think it is 1.07GB, when u go to task manager under storage tab, thanks for ur patience
Click to expand...
Click to collapse
Ok~ I got it. data/app is under system storage. Maybe u can try APP2SD to move them into ur external_sd (which is ur sdcard in this case)
yewsiong said:
Ok~ I got it. data/app is under system storage. Maybe u can try APP2SD to move them into ur external_sd (which is ur sdcard in this case)
Click to expand...
Click to collapse
ok, thanks
is the 1st option safe for SGW with rio saputro blacknotes gen2 ?
chocolemon said:
is the 1st option safe for SGW with rio saputro blacknotes gen2 ?
Click to expand...
Click to collapse
Not try yet. It works with Cow V7 so it should be working with Hybrid 2nd gen too.
how about option 3? i think its the easiest way...
anyone tried GL to SD app?
Hi Me can ask a newbie question > , < what if my galaxy W internal storage is full.? the apk or something will install direct to SD card ,? and also > . < why my galaxy W having only 350mb+ RAM ( i seen on my task manager ) it must be 512mb right.? > , < thanks and srry for newbie question.
jomz878 said:
Hi Me can ask a newbie question > , < what if my galaxy W internal storage is full.? the apk or something will install direct to SD card ,?
Click to expand...
Click to collapse
no, in option 2&3, the apk and sd files are automatically saved first to usb storage or internal sd. Option 2&3 is for moving the games only saved at usb storage.
jomz878 said:
Hi Me can ask a newbie question > , < what if my galaxy W internal storage is full.? the apk or something will install direct to SD card ,? and also > . < why my galaxy W having only 350mb+ RAM ( i seen on my task manager ) it must be 512mb right.? > , < thanks and srry for newbie question.
Click to expand...
Click to collapse
First thing, ur sgw must be rooted to use these. To move apps from internal storage to external sd, u can use app2sd.
Secondly, 512mb is the total ram for our device. but part of it will be reserved for running the android system. 350mb is the available ram for u to use.

External SD CWM backup?

Hi guys,
I have my clockwork mod folder on my external SanDisk 16gb sdhc...does anyone know how to be able to restore this way? Does the backup have to be on internal storage? I don't see a "mount ext sd" option in mounts...
While I'm asking this..
When you move apps to external do they no longer show up in your app drawer...? I'm using go launcher but it seems they disappear when I move them to external sd card.
Sent from my SAMSUNG-SGH-I927R using xda premium
I would like to know about using the external sd card for cwm instead of internal as well....
by default from what I read CWM uses the internal SD card but I believe I heard some people mentioning on the forums that you can modify something in the kernel or a config file somewhere to change this. Unfortunately I do not know how sorry.
dudejb said:
by default from what I read CWM uses the internal SD card but I believe I heard some people mentioning on the forums that you can modify something in the kernel or a config file somewhere to change this. Unfortunately I do not know how sorry.
Click to expand...
Click to collapse
Ive looked through every kernel thread and just about every rom thread and dont see anything about being able to switch it over to using your external sd card for backups....it sux but guess its not possible yet
There is a few posts in the CWM thread that talk about swapping the internal SD for the External SD.
romanr said:
Can you please mount external sdcard instead of internal one.
/etc/fstab:
Code:
#/dev/block/mmcblk0p4 /sdcard vfat rw
/dev/block/mmcblk1p1 /sdcard vfat rw
Click to expand...
Click to collapse
then he says he did it like this below:
romanr said:
Thanks, but not needed. I swapped my internal/external storage and this recovery now perfectly fits for me - my .android_secure is backed up by backup tool now - that's only why I asked.
How about adding
Code:
/dev/block/mmcblk1p1 /sdcard/external_sd vfat rw
/dev/block/mmcblk1p2 /sd-ext ext4 rw
to the fstab ?
Click to expand...
Click to collapse
This may do what you want?
dudejb said:
There is a few posts in the CWM thread that talk about swapping the internal SD for the External SD.
then he says he did it like this below:
This may do what you want?
Click to expand...
Click to collapse
Ill have to give it a try, kinda scared too cuz im a noob at that kinda stuff but i appreciate the help!
ok so im using root explorer, opened up the fstab file to edit and am stuck there, not really sure where to add those commands at...i think it would just be easier to leave it on internal storage lol
Yes it would be easier to leave it as it is. Lol. I have modified the fstab in Linux but not on my phone. If it is the same type of file you need to make sure you are opening it as root and there should already be a line with your current file system being mapped and simply replace it with the new line.

[Q] File System Management

Hey there!
After being "diligent" and flashing over like 100 roms.. I noticed that some of these ROMS have changed my File management system.. so CWM can no longer restore my backups. Some of the ROMS added new folders.. so instead of my files being in the STORAGE folder then are now in 0/STORAGE.
Any way to reformat the file system to its original settings?
DustinD1986 said:
Hey there!
After being "diligent" and flashing over like 100 roms.. I noticed that some of these ROMS have changed my File management system.. so CWM can no longer restore my backups. Some of the ROMS added new folders.. so instead of my files being in the STORAGE folder then are now in 0/STORAGE.
Any way to reformat the file system to its original settings?
Click to expand...
Click to collapse
sure bud, mounts and storage in recovery and format sd card :good: :highfive: backup on your PC first
Danvdh said:
sure bud, mounts and storage in recovery and format sd card :good: :highfive: backup on your PC first
Click to expand...
Click to collapse
Cheers! Nothing to back up anymore.. ROM fried my ExternalSD .. nothing important on my internal SD. Appreciate your help
Going back to stock ROM until i figure out which one i want again. Was running AOKP. Went to flash the update with OTA and i lost everything. Oh well! Good thing nothing important is on there.. besides contact
That's what happens on 4.2 Roms. Your internal card is emulated in a folder , 0, for multi user support. If you use a root explorer, you will find your internal sd files in /data/media.

[Q] How to swap internal and external sdcard?

Is there any way to swap the tab 3 7.0 internal and external sd directory? (Not like folder mount or anything like that- complete swapping sdcard)
by modifying sdcard fuse tool?
Just A Post
Have to post 10 times before posting in developer threads, using old threads to make random posts.
swap storage
bensonhsu2008 said:
Is there any way to swap the tab 3 7.0 internal and external sd directory? (Not like folder mount or anything like that- complete swapping sdcard)
by modifying sdcard fuse tool?
Click to expand...
Click to collapse
b,
i tried editing mountpoints in init.*.rc files as experiment.
the short of it is backup your daily driver to your normal extSdCard then
install/flash a clean rom pref stock rooted, and insert new extSdCard then
flash your modified boot.img then
reboot and you'll see an error about data/sdcard encryption fail with a recommend for fix/repair.
at this point i stopped for lack of an extra/spare extsdcard to potentially ruin [or not]
but if your feeling adventurous you could try it. if i understand it after that process your new extsdcard
should be sorted.
alternately you could through adb dump your userdata block and dd write it to an extsdcard
then do the modified boot.img [with new card inserted] and see if it catches.
note- for adb shell on gt-p52xx you must #enable_houdini first as most bin-utils are arm.
m

Mounting SDCARD as sdcard0

Is it possible to swap the sdcard-mounts?
ext-sdcard = sdcard0
internal storage = sdcard1
It's annoying coming from an older device and all images aren't loaded -.-
Already tried some steps via adb, but it's impossible to umount sdcard1, but I am working on it. Maybe I make a script.
Any cool ideas?
kony1994 said:
Is it possible to swap the sdcard-mounts?
ext-sdcard = sdcard0
internal storage = sdcard1
It's annoying coming from an older device and all images aren't loaded -.-
Already tried some steps via adb, but it's impossible to umount sdcard1, but I am working on it. Maybe I make a script.
Any cool ideas?
Click to expand...
Click to collapse
if u r having xperia M ...then there is already two types of swapping for it..search in Xperia M android Development
one has the swapping like u said and another has swapping with data from playstore saved in sdcard1 [default it will go to sdcard0]
but if u r using M dual..i think u need to find a way..

Categories

Resources