Related
Sorry if this has been asked before, but is there a way to mount microSD as /sdcard and Internal Storage as /sdcard/_InternalSD or something similar (I don't really care if Internal is mounted at all to be honest). I'm really sick of the limitation where all apps use internal storage and I quickly run out of it.
You can edit /system/etc/vold.fstab to swap the mount points so that the micro SD card becomes /mnt/sdcard and then the internal memory becomes /mnt/sdcard/_ExternalSD ... I've tried changing the name of the internal memorys mount point to anything other than _ExternalSD but it gets changed back when I reboot. But at least this way they both stay mounted and the microsd is where u want it. Just a little confusing with the mount point of the internal being named "external" lol
Hey thanks. I swaped them. My intrernal sd doesnt mount at all tho. Not that i care abt though
Sent from my LG-P999 using xda premium
How do you edit it? I keep trying using the File Editor (getting to it via Astro) and when I edit it, the save button won't appear, then when I hit close, it says save or discard, I save but it doesn't actually save it. I'd like to cut it open and swap external and internal cards, but I can't find any info like that anywhere.
drewgalyen said:
How do you edit it? I keep trying using the File Editor (getting to it via Astro) and when I edit it, the save button won't appear, then when I hit close, it says save or discard, I save but it doesn't actually save it. I'd like to cut it open and swap external and internal cards, but I can't find any info like that anywhere.
Click to expand...
Click to collapse
I used Root Explorer. You need root access to save the changes.
If someone would please post a tutorial on what to edit in the vold file as this would greatly improve the start up of my device.
Hey sorry if this is posted somewhere else but I dont know where to look and I looked on google for you guys who want to post that google thing.
Anyways, after installing roms from CM7 or even eagle, my internal sd card does not show up in file or root explorer. Its shown in the storage sections but not where i can access the information on there from the phone's file system.
When i restore back to stock (but rooted) rom its back to normal!
Its there, just hidden and named emmc. This is why root explorer is a must own app, it allows to see tons of hidden files you would otherwise not see. I'm sure there's other free apps that can do the same but root explorer has saved me from so many headaches it was an instant buy in market.
The 1 major gripe I ever had with this phone was the way they partitioned the internal storage, whoever decided that was a complete moron!
Edit:
Look under mnt/emmc with root explorer
Sent from my LG-P999 using xda premium
Thanks but how do I use it for normal everyday stuff? I guess i cant with CM7?
Sure you can, just move stuff from sdcard to mnt/emmc with root explorer. I know its a pain and one of the reasons I started a request thread to see if there was a way to bind/combine both partitions into 1 so we'd all have more internal space for installing apps/games.
Sent from my LG-P999 using xda premium
Hey thanks for the insight, I will just keep my reg ota with root until a much better version comes out.
jetbruceli said:
Hey thanks for the insight, I will just keep my reg ota with root until a much better version comes out.
Click to expand...
Click to collapse
Do you use an external sdcard with your g2x, or do you use only the internal? There is a potentially easy solution if you want to use CM7 and keep the internal card as your primary. I'll tell you how step by step, but depending on if you use an external card and what you use it for, more or less steps will be involved. So I'll wait for your answer so I can give you the right response.
Sent from my LG-P999 using XDA App
Well I have a 32 gb SD installed but like having the internal for apps and clockwork roms
sent from my anti IPhone device
jetbruceli said:
Well I have a 32 gb SD installed but like having the internal for apps and clockwork roms
sent from my anti IPhone device
Click to expand...
Click to collapse
I personally prefer to keep my backups and personal data on an external/removable sdcard. Its safer that way in case anything happens to the phones internal memory, all my documents and backups are safe and I can put my sdcard into my computer or another phone to retrieve it. Also, I'd much rather have 32gb of storage for all that rather than the 5gb you'll have with the internal card.
That said, its personal preference and always good to have options. Here's how I have mine setup with CM7 (I'll explain how to achieve the setup you want in a moment):
- My external removable card is mounted at /mnt/sdcard. This is the default setup of CM7.
- My internal sdcard (emmc) is mounted at /mnt/sdcard/_OtherSD. CM7 default is to mount it at /mnt/emmc, which means if I have photos, music and movies stored there they wont show up in some of my apps. By having it mounted to a directory inside my /mnt/sdcard directory, any app that looks at my external sdcard will also see what's stored on the internal sdcard. This is similar to the stock setup, except that with stock the external card is mounted as /mnt/sdcard/_ExternalSD.
But if you want the internal to be your primary sdcard then here are a couple of fixes for you. The quickest fix is this:
- Go to Settings > Cyanogenmod settings > Application
- Select "Use internal storage"
- Reboot phone
- Now your internal card will be mounted at /mnt/sdcard and your external card at /mnt/emmc
- This makes your internal card your main sdcard but leaves you external card mostly unusable because of its mount point.
So if you are like me and you like for things to be labeled properly and usable then continue reading. This works with CM7 (it wont work with stock), and I also recommend having root explorer (from the Market). My instructions will be specific to root explorer, although you can use any root text editor you want. You will need to edit 2 files (/system/build.prop and /system/etc/vold.fstab):
- Using root explorer navigate to your /system directory.
- At the top of the screen select "Mount R/W"
- Scroll down and find the /system/build.prop file. Long-press on it and select to open in text editor.
- Scroll about halfway down the file and find the section that says "
# Mount the internal SD card, too
- Where it says "ro.additionalmounts=" specify a directory by typing its full path. I use /mnt/sdcard/_OtherSD. This is the mount point you will use in the vold.fstab file (which you'll edit in a moment)
- The very next line says "ro.vold.switchablepair=" .. These are the mount points that get swapped when you enable that setting in CM7. Change the options to match the mount points you will want to use. So for me it says "/mnt/sdcard,/mnt/sdcard/_OtherSD" ... of course no quotation marks.
- Select Menu > Save & Exit. One nice feature of root explorer is that it automatically saves your original file as a backup in case there are any problems.
- Now navigate to /system/etc
- Make sure the directory is still mounted as R/W, scroll down and open the file /system/etc/vold.fstab. This file specifies where both the external and internal sdcards are actually mounted. Each drive/device has its own entry.
- Find the line that starts with dev_mount emmc /mnt/emmc" and change it to match the mount point you created in the build.prop file. So for me I change it to "dev_mount emmc /mnt/sdcard/_OtherSD"
- Select Menu > Save & Exit
- Reboot phone
Now when you use the CM7 settings option to use internal storage, it will swap them but still keep one mounted within the other so any music, pics, videos you have will be usable by all your apps.
****PLEASE NOTE**** -- These changes will be overwritten if you flash a new nightly.
Sent from my LG-P999 using XDA App
Thanks a million! I will try just having access is good.
I have root explorer and I use file expert.
You said ur on cm7? Or are u on a custom version like eagle? I keep flipping between reg stock, cm7, miui and eagle. Just can't tell which is the best for everyday use.
But really thanks for all the info!
sent from my anti IPhone device
jetbruceli said:
Thanks a million! I will try just having access is good.
I have root explorer and I use file expert.
You said ur on cm7? Or are u on a custom version like eagle? I keep flipping between reg stock, cm7, miui and eagle. Just can't tell which is the best for everyday use.
But really thanks for all the info!
sent from my anti IPhone device
Click to expand...
Click to collapse
Just plain CM7. I think I'm using nightly 144. The method should be the same or similar on other cm7-based roms. It just won't work on stock-based roms because the changes to the files get overwritten when you reboot.
Sent from my LG-P999 using XDA App
d12unk13astard said:
Its there, just hidden and named emmc. This is why root explorer is a must own app, it allows to see tons of hidden files you would otherwise not see. I'm sure there's other free apps that can do the same but root explorer has saved me from so many headaches it was an instant buy in market.
The 1 major gripe I ever had with this phone was the way they partitioned the internal storage, whoever decided that was a complete moron!
Edit:
Look under mnt/emmc with root explorer
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
I've been trying to edit the vold.stab etc on my phone forever trying to get that to work and I haven't gotten it figured out (still a Linux noob, probably always will be). I realize most people seem to prefer the already available options to remount it inside the external SD card or vice versa, but honestly I really just want it combined with the internal memory. Others say that is pointless because 1.5GB should be plenty of space, but honestly if I were to install all the apps on my Transformer onto my phone, my phone would almost immediately run out of internal space.
JaiaV said:
I've been trying to edit the vold.stab etc on my phone forever trying to get that to work and I haven't gotten it figured out (still a Linux noob, probably always will be). I realize most people seem to prefer the already available options to remount it inside the external SD card or vice versa, but honestly I really just want it combined with the internal memory. Others say that is pointless because 1.5GB should be plenty of space, but honestly if I were to install all the apps on my Transformer onto my phone, my phone would almost immediately run out of internal space.
Click to expand...
Click to collapse
I wonder what would happen if the phone was physically repartitioned ... I don't know enough of how Android works to know what effects that would have. Obviously the disk is just a disk and you can create whatever partition sizes you want. Is the OS designed to look for a certain number of partitions and partition sizes on each phone? Or will it just use what's there?
Sent from my LG-P999 using XDA App
JaiaV said:
I've been trying to edit the vold.stab etc on my phone forever trying to get that to work and I haven't gotten it figured out (still a Linux noob, probably always will be). I realize most people seem to prefer the already available options to remount it inside the external SD card or vice versa, but honestly I really just want it combined with the internal memory. Others say that is pointless because 1.5GB should be plenty of space, but honestly if I were to install all the apps on my Transformer onto my phone, my phone would almost immediately run out of internal space.
Click to expand...
Click to collapse
I found an app that has made the 1.5gb internal storage manageable, look in the market for link2sd. Basicly it allows you to move any app/game to the extra partition on your sdcard(I made a 4gb partition) I'm amazed how stable it runs! After trying numerous apps2sd programs and them being unstable plus running out of internal space too quickly, link2sd is a godsend! It allows even dalvik cache moving to SD extra and batch selecting/deselecting for ultra quick installs. I can't reccommend this app enough for people having internal storage space problems.
As for the internal SD card being combined with the 1.5gb storage I put up a request thread on it hoping a Dev would know how to.. until that happens tho link2sd has made me proud.
http://forum.xda-developers.com/showthread.php?t=1265540
Internal storage partition
Some of the asshats on that thread made me laugh with their ignorance.
Sent from my LG-P999 using xda premium
d12unk13astard said:
I found an app that has made the 1.5gb internal storage manageable, look in the market for link2sd. Basicly it allows you to move any app/game to the extra partition on your sdcard(I made a 4gb partition) I'm amazed how stable it runs! After trying numerous apps2sd programs and them being unstable plus running out of internal space too quickly, link2sd is a godsend! It allows even dalvik cache moving to SD extra and batch selecting/deselecting for ultra quick installs. I can't reccommend this app enough for people having internal storage space problems.
As for the internal SD card being combined with the 1.5gb storage I put up a request thread on it hoping a Dev would know how to.. until that happens tho link2sd has made me proud.
http://forum.xda-developers.com/showthread.php?t=1265540
Internal storage partition
Some of the asshats on that thread made me laugh with their ignorance.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
I can move apps to external storage by default with CM7. This is not the solution I am looking for , but thank you for trying.
JaiaV said:
I can move apps to external storage by default with CM7. This is not the solution I am looking for , but thank you for trying.
Click to expand...
Click to collapse
The difference between apps2sd which your using and link2sd which i'm using is that with apps2sd your internal memory will run out much faster then if using link2sd which can also move dalvikcache to sd ext. I've already moved 300 apps/games to sd ext with link2sd and still have over 1gb of internal storage, try doing that with apps2sd
Edit: forgot to mention link2sd is a free app in market.
CyanogenMod 7 sdcard Switcharoo tweak/mod/fix!
When i first got CM7 on my Infuse I immediately came across an annoying problem (at least for me). Like all AT&T customers, my phone came with an external SD card with 2gb of storage and the phone itself has 16gb of internal storage. So i noticed that by default, my 2gb external sdcard was the mnt/sdcard directory that all my apps use and mnt\emmc was my internal 16gb. For me that sucked because all my Titanium Backups were in my internal sdcard and I coudnt move it to my external because of memory insufficiency. So i decided i would mod the ROM to switch these sdcard directories and have 16gb instead of 2gb in my mnt\sdcard directory.
So, to make this simpler for me and you, suppose:
----------------------------
Internal sdcard (16gb) = A
External sdcard (2gb) = B
----------------------------
A is by default in mnt\emmc
B is by default in mnt\sdcard
----------------------------
The problem with the above statements is that 2gb is not enough to make it my default sdcard. Apps like Titanium Backup, Dropbox, Camera and tons of others (like games) always store things in mnt\sdcard and they can rarely be configured to store elsewhere (at least to my knowledge).
So to solve the problem i edited the mnt\system\etc\vold.fstab file. This file just contains some random gibberish about where the sdcards mount to. So i switched the mounting directories of the two sdcards A and B. So far all i had to do is copy over the apps stored in my external to the new external mount (mnt\emmc).
So in short the only thing this changes is: (the before and after pic)
Before:
mnt\emmc is internal 16gb
mnt\sdcard is external 2gb
After:
mnt\emmc is external 2gb
mnt\sdcard is internal 16gb
Now, if lets say you had your apps stored in A and used my tweak. You would have to copy your apps over to B because thats the new A. Confusing i know...im trying. lol
So here is the procedure:
0. Download the attachment below and unzip it in your phone somewhere
1. Make sure you have root explorer or similar app
2. Using your explorer app mount mnt\system\ R/W
3. Navigate to vold.fstab file in mnt\system\etc
4. Rename the file to vold.fstab.bak (to keep it backed up)
5. Now find the directory where you downloaded and put my new vold.fstab file
6. Copy my new vold.fstab file to mnt\system\etc and paste
7. Reboot phone.
If you encounter difficulties, then undo the process by first deleting my modded vold.fstab and then renaming your old vold.fstab.bak to vold.fstab and then rebooting.
Also, Keep in mind that this is for CM7 users. Don't use it if you don't know what CM7 is or don't use CM7 port. Cheers, hope this helps someone.
A much easier solution:
Go to Settings -> CyanogenMod settings -> Application
Uncheck "Use internal storage"
Reboot.
PVD04 said:
A much easier solution:
Go to Settings -> CyanogenMod settings -> Application
Uncheck "Use internal storage"
Reboot.
Click to expand...
Click to collapse
No, i understand what you are saying. But you, like others dont get what im after. i dont care where my apps go. i want my mnt\sdcard to be 16gb not 2gb. end of story.
Mohammad_Adib said:
No, i understand what you are saying. But you, like others dont get what im after. i dont care where my apps go. i want my mnt\sdcard to be 16gb not 2gb. end of story.
Click to expand...
Click to collapse
I understand exactly what you are after. Unchecking "Use internal storage" mounts the internal storage as mnt\sdcard. There is no reason to do it any other way.
My /mnt/sdcard is the internal memory and my 4GB microsd is my external storage been like that from stock and I have all of my important stuff on the external for obvious reasons. Don't know why you would need this am I missing something?
Infused with Android DNA
PVD04 said:
I understand exactly what you are after. Unchecking "Use internal storage" mounts the internal storage as mnt\sdcard. There is no reason to do it any other way.
Click to expand...
Click to collapse
This is exactly right - unchecking internal storage does exactly what your tweak does.
I have a 16 gig SD internal and external and I prefer using external which is default, when my phone had to be redone due to bad flash, I loss everything on my internal. Even if I checked something wrong it still feels safer using external last I checked 16gig cards are like 25 bux. I want 32gig next. Sounds to me like a poor attempt to get status here. Try on a group less educated then xda. I feel offended by this trick.
Sent from my SGH-I997 using xda premium
This might be useless for CM7 users but what about MIUI users, don't CM7 and MIUI use the same kernel?
Sent from my SGH-I997 using xda premium
i just got a 16gb external card to replace the OEM supplied 2gb sdcard.
Also Titanium allows you to change the backup folder location.
Cool. thanks for telling me. but that never worked for me. so this did and i dont care how u guys do it as long as the results are the same.
I thought that emmc was the external memory card? Because I have a 16 GB external and CM7 reads it as EMMC
Sent from my SAMSUNG-SGH-I997 using xda premium
Cm7 switchs external and internal so it is like every phone since not all phones have 16gb internal. I don't really use internal.
Sent from my SGH-I997 using xda premium
If you are like me and bought the 16GB version of our beloved SG3, thinking you could always move apps to the external sd card, then this mod is for you. It swaps the internal and external sd cards so apps install on your external card, because your phone is fooled into thinking the external card is the internal card.
I suggest that if you are going to do this, you should probably do it right after installing a new ROM, and before you install any apps. That way everything will get installed onto the external SD card.
I didn't invent this, Zedomax adapted in from mattiadj. But most people haven't been able to get it fully working, probably due to variations in the init.d function of various ROMS. They'd be able to see the External SD card as the internal SD, but the internal SD would disappear. This method avoids using init.d, and instead uses the app Script Manager to load the script on boot.
After much fooling around, I figured out how to do it so the External SD card and the internal cards are swapped, but you can see both with any file Explorer. I got it working on CleanROM 2.0, but it should work on Beans 10 as well.
Here's how to do it: Warning, if you do not understand the following instructions, or don’t have experience doing these things, you probably don’t want to do this hack. I am not responsible if you a) brick your phone, b) delete your data, or c) get very frustrated. That being said, the most likely failure will be that you only see the one card (the External card).
Back everything up that you care about first!!!!
1. First, I'd recommend making a Nandroid backup of your phone.
2. Next, just to be extra safe, I would backup your internal SD card to your PC. While you are doing that, if you have data on the external SD card, back that up too.
3. Next, I would format your external SD card to fat 32. (You could probably use Ext format too, but I didn’t test that.)If you already have it in that format, and have content on it, this won't affect the content, but back it up just to be safe. It’s probably better to have the Ext SD blank to begin with, you can always copy back its content from your pc.
4. Next copy the contents of the internal SD to the External SD card. This is to avoid confusion about apps and such.
5. Next install script manager free from the play store:
https://play.google.com/store/apps/...anager&feature=nav_result#?t=W251bGwsMSwyLDNd
It will show up on your phone as S manager ads.
6. Download the mod from here: http://downloadandroidrom.com/file/...ternalsd_gs3_fat32orextfat_US_ZEDOMAXv0.2.zip
7. You’ll see a folder called: 11extsd2internalsd_gs3_fat32orextfat_US_ZEDOMAXv0.2.zip
You need to unzip the folder, then go to System/etc/init.d and copy the 11extsd2internalsd file from there to your phone. Put it into the /data directory. Use Root Explorer, and your phone will need to be rooted.
(https://dl.dropbox.com/u/6305/SD Card Hack SG3/11ext file in data directory.png)
Or you can get just the 11extsd2internalsd file here: https://dl.dropbox.com/u/6305/SD Card Hack SG3/11extsd2internalsd
8. Using Root Explorer, navigate to that file in the /data directory. Press and hold the file name until the menu pops up, and click on permissions.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Permissions.png
(Unix geeks set them to 777, and everyone else copy the picture below. Click OK.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Permission settings 777.png
9. Open the script manager app, and select Browse as Root in the config screen. Tell it to remember this setting.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Script manager browse as root and save.png
10. Navigate to the /data directory and choose the 11extsd2internalsd file that is located in /data and click on it. Click on the “Is script” button.
11. Now tap on the buttons that say Su, Boot, and Save. The file name will come up in yellow after the save.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Script manager setting after save.png
12. Reboot your phone and you should see the swap working and be able to access both internal and external SD cards. The external card will show up as sdcard, and the internal card will show up as extSDCard. Your apps should now install to the external card, since your phone will think it's the internal card. Is that confusing? It was to me too!
Good luck and please share your experiences specifying which ROM you used, so that others can avoid frustration.
Thank you’s always appreciated.
Wonder if this works on asop roms as well.
Please excuse my Galaxy S III, it's a bit Paranoid.
On my X2, this same mod was done via a flashable zip...not sure how it worked, but it was worked perfectly. At some point the roms incorporated the flip flop as part of the Rom. I like the feature because I wouldnt need to move certain app data to my external sd card. Also, I wouldn't have to show tibu where to look for my backups.
Sent from my SCH-I535 using Tapatalk
Clienterror said:
Wonder if this works on asop roms as well.
Please excuse my Galaxy S III, it's a bit Paranoid.
Click to expand...
Click to collapse
What's the consensus on this? Can this mod as posted above be applied to AOSP/CM9/CM10?
Just flashed this on aokp and both sdcard and external_sd are my physical sd card. The internal card is not showing.
Op, can we get an cm10 ver?
Did a little playing around. Below seems to work on cm10 aokp. Can op confirm this is good?
mount -t vfat -o umask=0000 /dev/block/vold/179:97 /storage/sdcard0
mount -o bind /data/media /storage/sdcard1
maniac2k said:
Just flashed this on aokp and both sdcard and external_sd are my physical sd card. The internal card is not showing.
Op, can we get an cm10 ver?
Click to expand...
Click to collapse
Are you actually flashing it, or using the Script Manager? As far as I know, only the Script Manager approach works.
maniac2k said:
Did a little playing around. Below seems to work on cm10 aokp. Can op confirm this is good?
mount -t vfat -o umask=0000 /dev/block/vold/179:97 /storage/sdcard0
mount -o bind /data/media /storage/sdcard1
Click to expand...
Click to collapse
Not sure, but take a look at the code from 11ext2internalsd file. If it works, and you can see both sd cards, then you've nailed it.
Yeah sorry, im running the script apk. It seems to work. I just dont understand the exacts of the vold/179:97 or if it should be vold/197:96?
When i go into settings/storage, should my physical sdcard stats be showing under internal memory?
Thanks I got mines to work now. Thanks to your suggestions.
Sent from my SCH-R530U using Xparent SkyBlue Tapatalk 2
Update: ive been using the script below for a littlw while and it is working great on cm10. It is best to enable it after a fresh rom install.
mount -t vfat -o umask=0000 /dev/block/vold/179:97 /storage/sdcard0
mount -o bind /data/media /storage/sdcard1
I need to do this.
MODERATOR.
This is not a Q&A Thread. Needs to be moved to appropriate location.
Apps Did Not Move After Internal / External SD Swap for GS3
Well I thought everything went perfectly because as mentioned, when I go to storage my internal shows my 64g card and internal of 12g now shows as external. However the apps are still on my internal which is now called my external and when I go to app manager it shows remaining space 5.9g. So I am not sure what I did wrong because I have reviewed this several times and started right after I installed a fresh rom . I am hoping someone can help me correct this because basically all it did was change the name of the two drives but apps are still getting installed to original location. Thanks in advance for any help you can give me
Swapping internal>external did not work
i followed all steps as stated above but when I go to File Manager (default), long pressing Internal SD>Details show 1.2 MB and External SD shows 1.8 GB which is not true. I have external SD of 8 GB and internal is 2 GB in my micromax a110 phone.
The steps above did not work to swap the memory but it now shows even incorrect size. I installed Root Browser lite but got no way to chck the size of the SD cards.. Please help
Does this work with the new Verizon Jelly Bean which they are now sending out via OTA? Are there other Verizon S3 Jelly Bean Roms that are known to work with this method? Thanks
Its works on the leak so i dont see why it wouldnt work on the actual vz rom
not working
This is not working with my samsung s duos please help
Any cm 10.1 updates for this?
I am unable to change the file permissions to -rwx-rwx-rwx- whenever I try to change it I get an error that the phone is unable to change permissions.
EDIT:
Successfully changed permissions and followed the instructions as given. Still not working on the international S3, my internal memory is still 16 GB and external 32GB
Hey guys, I'm sure this is a fairly common problem that us "Blaze" users are having issues with but I haven't figured out a way around it. As we all know, Blaze only came with about 1.5g of "Internal SD" memory while the "External SD" memory could be expended. This becomes a problem as the "Internal SD" is the default storage for apps, especially when you are trying to download a game that is more than 1.5g. I've looked into "Directory Bind" app but that's only really to move the app files from internal into external, AFTER it has been downloaded and install on the phone and point to its new location. Ive heard about Internal/External reverse mount tweaks, but haven't found one specifically for our phone. Does anyone know if there is a way around this? So what I'm basically asking is this: Can we use the External SD as the default storage for apps and games? And have the apps/games installed to the external SD location?
Sent from my SGH-T769 using xda app-developers app
+1 on this, would love to see something
I have the same question if you find something let me know.
Sent from my SGH-T769 using xda premium
Desertstorm00 said:
Hey guys, I'm sure this is a fairly common problem that us "Blaze" users are having issues with but I haven't figured out a way around it. As we all know, Blaze only came with about 1.5g of "Internal SD" memory while the "External SD" memory could be expended. This becomes a problem as the "Internal SD" is the default storage for apps, especially when you are trying to download a game that is more than 1.5g. I've looked into "Directory Bind" app but that's only really to move the app files from internal into external, AFTER it has been downloaded and install on the phone and point to its new location. Ive heard about Internal/External reverse mount tweaks, but haven't found one specifically for our phone. Does anyone know if there is a way around this? So what I'm basically asking is this: Can we use the External SD as the default storage for apps and games? And have the apps/games installed to the external SD location?
Sent from my SGH-T769 using xda app-developers app
Click to expand...
Click to collapse
as a matter of fact, I have found a way to switch the internal/external sd mount points. You need to go into /etc/ using Script Manager and edit the vold.fstab file. Inside, you will find this:
Originally Posted by crazydrummer95 View Post
okay so heres what it looks like:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = enable
format_option = -r 2272
}
dev_mount sdcard /mnt/sdcard 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
#external sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
#otg sdcard
{
ums_path = /dev/zero
asec = disable
}
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/msm_hsusb_host.0
#end line
you need to change the lines :
dev_mount sdcard /mnt/sdcard 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
and make it look like this:
dev_mount sdcard /mnt/sdcard/external_sd 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
Thanks! I will give it a try.
Sent from my SGH-T769 using xda app-developers app
Desertstorm00 said:
Thanks! I will give it a try.
Sent from my SGH-T769 using xda app-developers app
Click to expand...
Click to collapse
Just for future reference, Make sure you do a little research about the question you are asking. There is a thread exactly like this one in the dev section.
crazydrummer95 said:
Just for future reference, Make sure you do a little research about the question you are asking. There is a thread exactly like this one in the dev section.
Click to expand...
Click to collapse
Oh. Right. You started it.
Sent from my SGH-T769 using xda app-developers app
crazydrummer95 said:
as a matter of fact, I have found a way to switch the internal/external sd mount points. You need to go into /etc/ using Script Manager and edit the vold.fstab file. Inside, you will find this:
Originally Posted by crazydrummer95 View Post
okay so heres what it looks like:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = enable
format_option = -r 2272
}
dev_mount sdcard /mnt/sdcard 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
#external sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
#otg sdcard
{
ums_path = /dev/zero
asec = disable
}
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/msm_hsusb_host.0
#end line
you need to change the lines :
dev_mount sdcard /mnt/sdcard 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
and make it look like this:
dev_mount sdcard /mnt/sdcard/external_sd 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
Click to expand...
Click to collapse
I tried to do this in script manager and it said i was opening a read only file. Tried to open directly, wouldn't let me save. Tried to open a local copy and script manager force closed. Then tried Root Explorer. Still wouldn't let me save. Even tried copying vold.fstab to my sd card, editing it, deleting the copy inside /etc and pasting the edited version, operation failed.
am i missing something?
jparnell8839 said:
I tried to do this in script manager and it said i was opening a read only file. Tried to open directly, wouldn't let me save. Tried to open a local copy and script manager force closed. Then tried Root Explorer. Still wouldn't let me save. Even tried copying vold.fstab to my sd card, editing it, deleting the copy inside /etc and pasting the edited version, operation failed.
am i missing something?
Click to expand...
Click to collapse
did you mount the directory as r/w, in root explorer its a gray button at the top
masterofthedamned said:
did you mount the directory as r/w, in root explorer its a gray button at the top
Click to expand...
Click to collapse
I meant root browser. But, I even downloaded Droid Explorer to run it on my computer, no go. Eventually, Root Explorer did allow me to edit but upon reboot, the process android.process.media kept force closing.
Does this vold thing work?
jparnell8839 said:
I meant root browser. But, I even downloaded Droid Explorer to run it on my computer, no go. Eventually, Root Explorer did allow me to edit but upon reboot, the process android.process.media kept force closing.
Click to expand...
Click to collapse
Download Script Manager from the Play Store
I'm going to implement this into my next build of pa...
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
For those running some iteration of the stock Touchwiz-skinned ICS rom (whether custom or just stock rooted), you can always try flashing this (md5 829584F66F2F13419639A0F77AEC2033) in whatever non-stock recovery you happen to be using. This replaces the vold.fstab with one merwinski tweaked (so the internal/external sd swap stuff happens), and includes a script I put together that moves some relevant files from one to the other for you (in other words - anything you selected to move to SD via Settings > Applications should still be there and usable after flashing this). All usual disclaimers apply (i.e. I'm not responsible for breaking blah blah etc.), but if for whatever reason you want to go back to how it was before you can flash this (md5 A38CD198B5DB73209441D4A6250D33C4) and that will undo everything (including the file moving) that was done with the first one.
Hope this helps folks, and just because it bears repeating - THIS HAS ONLY BEEN TESTED ON STOCK ROMS, NOT ANY OF THE AOSP/CM BASED ONES! IT WILL VERY LIKELY NOT WORK ON THOSE!
thomas.raines said:
I'm going to implement this into my next build of pa...
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Patiently waiting!!!
paranoidandroidpoweredBLAZE!!
I thought it worked...
Alright, So i'm running CWM and I used your VOLDSwap. Now, It worked from the look. my phone storage is 3gb now and my SD is 1.2gb. so when I look at all my storages at the same time, I see my phone storage (1.2gb) my USB storage, which is now my SD card. It was 1.2 gb now its 3.8 gb. and my SD card which is now my USB storage at 1.2gb.
here is my problem, in theory I should be able to install to the "USB directory" because that is now my actual SD card, however; when I do this, i still bypasses my USB storage (my actual SD card) and still installs it to my actual USB storage (1.2gb and also being recognized right now as my SD card) so what can I do to fix this? I love that my USB storage says 3.8 gb, but it's pointless if it still uses my Sudo USB storage of 1.2 gb? is there anyway to rewrite the install directory. because It still installs to my phone but instead of going to the USB storage like it used to, because my USB and SD are swapped now, it instead heads to my USB which is labled as my SD... it's like.. no matter what I do I can't get it to install to my higher gb storage location.. any help would be beyond appreciated.
hollow2318 said:
Alright, So i'm running CWM and I used your VOLDSwap. Now, It worked from the look. my phone storage is 3gb now and my SD is 1.2gb. so when I look at all my storages at the same time, I see my phone storage (1.2gb) my USB storage, which is now my SD card. It was 1.2 gb now its 3.8 gb. and my SD card which is now my USB storage at 1.2gb.
here is my problem, in theory I should be able to install to the "USB directory" because that is now my actual SD card, however; when I do this, i still bypasses my USB storage (my actual SD card) and still installs it to my actual USB storage (1.2gb and also being recognized right now as my SD card) so what can I do to fix this? I love that my USB storage says 3.8 gb, but it's pointless if it still uses my Sudo USB storage of 1.2 gb? is there anyway to rewrite the install directory. because It still installs to my phone but instead of going to the USB storage like it used to, because my USB and SD are swapped now, it instead heads to my USB which is labled as my SD... it's like.. no matter what I do I can't get it to install to my higher gb storage location.. any help would be beyond appreciated.
Click to expand...
Click to collapse
I've had the same problem someone I forget who posted this vold change(don't feel like reading hundreds of posts to find who but thanks lol) and has worked wonders for me with no issues so far. Switch it out and make sure permissions are set correctly.
http://db.tt/byVnF6Cc
Here the outcome
## 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
dev_mount sdcard /storage/sdcard1 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
# external sdcard
dev_mount external_sd /storage/sdcard0 auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
#otg sdcard
dev_mount sda /mnt/usbdisk auto /devices/platform/msm_hsusb_host.0
Sent from my AOKP Blaze
set right RW-RW-RW and change strings
dev_mount sdcard /mnt/sdcard 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
to:
dev_mount sdcard /mnt/sdcard/external_sd 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
main my question: if now unroot device will it work?
On root device i have big trouble to connect GSM NETWORK