Related
I just got the atrix from radio shack and trying to make my sd card from the epic work... all my files are in there including key files, backups etc...
well the atrix has a 'sdcard' folder and the epic's is now sdcard-ext
I need to make the current sdcard folder disappear and make the sdcard-ext the default sdcard folder...
how do I go about this?
Really? nobody has anything on this!?
The sdcard folder is hard coded into the stock atrix firmware. It may be possible to make the change by rooting and deodexing the firmware.
Easier option would be to just use the included file explorer or one from the market to copy the files over to the internal storage.
Sent from my MB860 using XDA App
I did that, which is PITA. and problem is, anything that stores data (like text logs, backing up data) is all going into sdcard, not sdcard-ext
so when I wipe data for whatever reason, I'm loosing everything everytime...
razorseal said:
I did that, which is PITA. and problem is, anything that stores data (like text logs, backing up data) is all going into sdcard, not sdcard-ext
so when I wipe data for whatever reason, I'm loosing everything everytime...
Click to expand...
Click to collapse
use the customized recovery to wipe out,
nothing in intermal memory card will be deleted
razorseal said:
I did that, which is PITA. and problem is, anything that stores data (like text logs, backing up data) is all going into sdcard, not sdcard-ext
so when I wipe data for whatever reason, I'm loosing everything everytime...
Click to expand...
Click to collapse
some apps will give you the option to save to a certain location but most are set to default to your sdcard(internal storage). its because android doesnt assume that you will be using a external sdcard. just backup the stuff you want to keep on your sdcard before you wipe it...what do you mean by making the sdcard folder disappear? sounds like you dont want to use the internal sdcard at all?
Hey, there is a possibility that may work for switching internal and external sdcards.
In /etc/udev folder, there are configuration files for naming the devices. If we can create a configuration file that will force the atrix to mount the external sdcard as if it is the internal card, then what you want will work.
I will experiment with doing this from the adb command line, but this might need to be requested under the development forum.
If I have any success in this, I will start a thread under development and see if we can create an automated method for doing this. Since some apps don't know about the external card, this could be quite handy.
Hey, so I have successfully swapped the internal and external sdcard mount points, the trick is to edit the file /system/etc/vold.fstab
There are two lines that set the mount point of the internal and external storage. Once these are swapped, the cards change mount points, and the external is now mounted on /sdcard instead of /sdcard-ext.
If you have experience changing /system files, you can make this change yourself.
root *DEFINITELY* required.
--- Changes made to lines 13-17 of /system/etc/vold.fstab ---
# external sd card
dev_mount sdcard_ext /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
# internal eMMC
dev_mount sdcard /mnt/sdcard-ext auto /devices/platform/tegra-sdhci.3/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p18
So many people have been wondering why thier internal sd is mounted in /mnt/emmc and that is because thats cm7 standard.
But what if you have games that have all the data on the internal sd and want to play them?
Well here is how to change it to stock.
Open Root Explorer.
Mount R/W (On Top)
Go to /etc
Open vold.fstab in text editor (Long Press)
Look for these 2 lines:
Code:
# external sd card
#dev_mount sdcard_ext /mnt/sdcard-ext:none:lun1 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
# internal eMMC
#dev_mount sdcard /mnt/sdcard 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
Remove the # in front of them.
Look for these 2 other lines:
Code:
dev_mount sdcard/mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount emmc /mnt/emmc 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
Add # in front of both lines
Should look like:
Code:
# external sd card
dev_mount sdcard_ext /mnt/sdcard-ext:none:lun1 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
# internal eMMC
dev_mount sdcard /mnt/sdcard 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
#dev_mount sdcard/mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
#dev_mount emmc /mnt/emmc 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
Reboot.
Do the opposite to return back.
You can also just copy the file from other roms like Ninja, Alien, etc.
Thanks to MobileHomeElf for telling us what to do.
I am not responsible if this bricks your phone, kills your cat, sleeps with your wife, eats a burrito, or lights your house on fire. Use at your own risk.
How do I open it in text editor and edit it?
Edit: nevermind the long press has scroll lol
Sent from my Motorola Atrix 4G MB860 using XDA App
In RootExplorer make sure you are r/w and long press on it and select open in text editor
Wait in your "what it should look like" you still have # in front of the first two things. Should they be there?
Sent from my Motorola Atrix 4G MB860 using XDA App
BMW completely disregard what I said
Sent from my Motorola Atrix 4G MB860 using XDA App
Very good!
Just do not know how to run sub。
frodriguez96 said:
So many people have been wondering why thier internal sd is mounted in /mnt/emmc and that is because thats cm7 standard.
But what if you have games that have all the data on the internal sd and want to play them?
Well here is how to change it to stock.
Open Root Explorer.
Mount R/W (On Top)
Go to /etc
Open vold.fstab in text editor (Long Press)
Look for these 2 lines:
Code:
# external sd card
#dev_mount sdcard_ext /mnt/sdcard-ext:none:lun1 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
# internal eMMC
#dev_mount sdcard /mnt/sdcard 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
Remove the # in front of them.
Look for these 2 other lines:
Code:
dev_mount sdcard/mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount emmc /mnt/emmc 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
Add # in front of both lines
Should look like:
Code:
# external sd card
dev_mount sdcard_ext /mnt/sdcard-ext:none:lun1 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
# internal eMMC
dev_mount sdcard /mnt/sdcard 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
#dev_mount sdcard/mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
#dev_mount emmc /mnt/emmc 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
Reboot.
Do the opposite to return back.
You can also just copy the file from other roms like Ninja, Alien, etc.
Thanks to MobileHomeElf for telling us what to do.
I am not responsible if this bricks your phone, kills your cat, sleeps with your wife, eats a burrito, or lights your house on fire. Use at your own risk.
Click to expand...
Click to collapse
Thank you. Thank you. Thank you.
Sent from my MB860 using XDA Premium App
Thank me by clicking thanks
Sent from my Motorola Atrix 4G MB860 using XDA Premium App
Good writeup. Thanks for the credit. Enjoy all that cm7 goodness.
Sent from my Motorola Atrix 4G MB860 using XDA Premium App
This slept with my wife... But I won't hold you responsible. Thanks for sharing.
Good post, I made this suggestion and had my head bitten off....
I've tried it both ways--editing the file and swapping it in from another ROM (setting permissions and ownership appropriately after the latter)--and the internal "card" is mounted as /sdcard, but the external card doesn't seem to be mounted at all. Is there another obvious step that I'm somehow missing?
Can this Mod be packaged as a CWM file?
AnalogXDA said:
I've tried it both ways--editing the file and swapping it in from another ROM (setting permissions and ownership appropriately after the latter)--and the internal "card" is mounted as /sdcard, but the external card doesn't seem to be mounted at all. Is there another obvious step that I'm somehow missing?
Click to expand...
Click to collapse
The same thing happened to me brother. You're not doing anything wrong. I tried editing the file 30 times and got the same result each time, it's nothing you're doing.
Can we mount internal as SD card and external as sdext?
Sent from my Motorola Atrix 4G MB860 using XDA Premium App
AnalogXDA said:
I've tried it both ways--editing the file and swapping it in from another ROM (setting permissions and ownership appropriately after the latter)--and the internal "card" is mounted as /sdcard, but the external card doesn't seem to be mounted at all. Is there another obvious step that I'm somehow missing?
Click to expand...
Click to collapse
CM works differently, using the method posted you won't be able to mount the sdcard. You will have to mount one as emmc. If you want to mount the sdcard as emmc, then you need to change:
Code:
dev_mount sdcard_ext /mnt/sdcard-ext:none:lun1 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
to
Code:
dev_mount emmc /mnt/emmc auto /devices/platform/tegra-sdhci.2/mmc_host/mmc2 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
oooohhhh emmmmmm geeeee.....while running thru the vold.fstab file i figured out how to automatically mount a usb powered device without the use of terminal emulator or a script... (sorry if i'm late with this "finding" lol) but all u have to do is go to "/mnt/" then create a folder named "usbdisk_1.0" and change the permissions to --xrwxr-x then plug in your external hard drive/flash drive and boom!!!
edit: seems u have to create the folder every time you restart the phone :/ anyone knows how to make the folder stay??
Lizzo said:
oooohhhh emmmmmm geeeee.....while running thru the vold.fstab file i figured out how to automatically mount a usb powered device without the use of terminal emulator or a script... (sorry if i'm late with this "finding" lol) but all u have to do is go to "/mnt/" then create a folder named "usbdisk_1.0" and change the permissions to --xrwxr-x then plug in your external hard drive/flash drive and boom!!!
edit: seems u have to create the folder every time you restart the phone :/ anyone knows how to make the folder stay??
Click to expand...
Click to collapse
Nice find and same here with the folder deleting itself on reboot.
Also to those who managed to get thier internal sdcard in /mnt/sdcard but cant find thier external sd, same happened to me, but if you go into settings , storage you can see it is saying that the external sd is the interal storage and the internal is external storage so if someone could help me figure out how to fix this and properly mount each sdcard, then thanks, until then to use your external sd you need to change it back to cm7 stock and to use the internal sd then change it back to moto stock.
frodriguez96 said:
Nice find and same here with the folder deleting itself on reboot.
Also to those who managed to get thier internal sdcard in /mnt/sdcard but cant find thier external sd, same happened to me, but if you go into settings , storage you can see it is saying that the external sd is the interal storage and the internal is external storage so if someone could help me figure out how to fix this and properly mount each sdcard, then thanks, until then to use your external sd you need to change it back to cm7 stock and to use the internal sd then change it back to moto stock.
Click to expand...
Click to collapse
the post above mines that u quoted shows u how to get the external sd card working, but mounted as emmc.
Can someone explain this feature of CM7 to me? From what I gathered, CM7 by default mounts the internal storage to emmc and the external SD card to sdcard. Apps use sdcard for storage, so all the data gets saved to your external SD card in CM7 by default. Can you just copy the folders from your internal card to your external card as a workaround?
From elocity about A7+:
The 4GB internal high speed flash memory can store up to 4 feature films, 40,000 photos, or 2,000 songs for countless hours of entertainment. Wireless & Bluetooth.... BLA bla bla.
.................................
Ok, I have been searching and finding related information but confusing me more.
I have an A7+
it came with a 8 gb card, I can't figure out how to save to card, downloads, apps etc.
It never gives choice. No options in settings > memory card or when downloading
Besides the external card issue, and because of my novice tech knowledge I don't under stand what takes up space and best way to manage with A7+ or if different then A7
The 8 gb card shows 7.39 gb available and has not changed since installed, card was new so I never formated it.
*I now have 39.62mb available user space (that's not a lot, is it?) thats after 4 gb factory and all systems use, that left me with 1.53 gb to work with?? (edit, I deleted about a dozen apps and a bunch of music. Now available internal memory is LESS, 39.61mb what's going on)?
I have downloaded a bunch of apps, I don't fully understand how this effects memory, I have about 250 songs, no movies and just a dozen or so photos
I'm guessing its the apps
Thanks in advance...
reply
well, this is more of an android topic and not A7.
anyway, to move apps to a card go to Settings/Applications and on some apps that aren't protected you will have the option to move to card. many file managers have an app backup option and will also allow you to copy/paste to/from your memory card. try Astro, it's very popular and works well.
saving downloads is sometimes done by the settings of which ever program you are using. as far as i can tell the default browser and firefox mobile only save to onboard.
Astra was not available for the A7+ that I could find, I found Es explorer app and yet to find area for my needs in it, I guess I need more time on it, it looks like much more then I need and more complicated then I can manage
I just need a easy way to manage basic downloads like photos, music, apps
the device comes with a file manager preinstalled, i can't recall the name because my A7+ is not functioning and no one replied to my post.
I think 'OI manager' is the factory manager on my A7+.
With OI manager I tried to transfer files, apps (or anything) into my 8 GB card with no success, also tried 4 or 5 apps that advertise "app to SD" type ability along with more 'astro' type apps that claim to be file managers that should do what I need all with no luck, its like my device is locked to not to allow moving files
related issue, tablet was down to about 39.62MB internal space, after removing many apps and mp3s, it always seems to effect internal storage randomly, after clearing space I would sometimes loose available space, sometimes gain space, whats going on?? Is this a quirk with Android system?
The big one is, I decided to take the 16GB sd card out of my Blackberry and try in A7+. after first installing card everything was fine, all 200 or so photos and some videos from BB card showed up as expected (with device showing the majority of the 16GB sd card available) ....I went on to do something else and left the A7+ to go into stand by, when I woke it up, it says 'sd card is full please clear space' I go check available space and it is 0 and I can no longer access any pics, internal or on the 16GB card ?? I swap back the empty 8 GB card and show a total available internal 4.33MB and system seems to work ok except low memory storage. Note, that I had 39.62MB internal user space one week ago then up to ~60.14MB as of 24 hrs ago after a lot of cleaning of music and apps, then installed & removed other BB sd card and now down to 4.33MB. Its like Android Alzheimers or something as I now have very little memory space available and a device that does erratic things.
*Last thing, could it be the music I downloaded directly into device is corrupt or not compressed correctly or just to many files "or something I don't understand"? (the mp3s are in the internal 4GB storage that really is 1.53GB usable)
I still have about 200 songs downloaded from app called "MP3 Music Download" that I got from one of the included app stores, apk or Getjar??
Anyway to transfer those mp3s to pc or thumb drive then delete them from device and check status
I have emails into eLocity now for a couple weeks with no response from previously helpful contact
~eLocity A7+ with no mods, factory settings~
over's tab said:
I think 'OI manager' is the factory manager on my A7+.
With OI manager I tried to transfer files, apps (or anything) into my 8 GB card with no success, also tried 4 or 5 apps that advertise "app to SD" type ability along with more 'astro' type apps that claim to be file managers that should do what I need all with no luck, its like my device is locked to not to allow moving files
related issue, tablet was down to about 39.62MB internal space, after removing many apps and mp3s, it always seems to effect internal storage randomly, after clearing space I would sometimes loose available space, sometimes gain space, whats going on?? Is this a quirk with Android system?
The big one is, I decided to take the 16GB sd card out of my Blackberry and try in A7+. after first installing card everything was fine, all 200 or so photos and some videos from BB card showed up as expected (with device showing the majority of the 16GB sd card available) ....I went on to do something else and left the A7+ to go into stand by, when I woke it up, it says 'sd card is full please clear space' I go check available space and it is 0 and I can no longer access any pics, internal or on the 16GB card ?? I swap back the empty 8 GB card and show a total available internal 4.33MB and system seems to work ok except low memory storage. Note, that I had 39.62MB internal user space one week ago then up to ~60.14MB as of 24 hrs ago after a lot of cleaning of music and apps, then installed & removed other BB sd card and now down to 4.33MB. Its like Android Alzheimers or something as I now have very little memory space available and a device that does erratic things.
*Last thing, could it be the music I downloaded directly into device is corrupt or not compressed correctly or just to many files "or something I don't understand"? (the mp3s are in the internal 4GB storage that really is 1.53GB usable)
I still have about 200 songs downloaded from app called "MP3 Music Download" that I got from one of the included app stores, apk or Getjar??
Anyway to transfer those mp3s to pc or thumb drive then delete them from device and check status
I have emails into eLocity now for a couple weeks with no response from previously helpful contact
~eLocity A7+ with no mods, factory settings~
Click to expand...
Click to collapse
I also have the same problem customer support was trying to help me but all I succeeded in doing was move an ebook to files and now I can't get it back or read it. I have never formatted my 8 gb card so I don't know if that is the step I missed. My stepdaughter printed out the manual but unfortunately it is more an overview than a step by step. It IS in the oi file manager. I also noted that when I tried to move the book that there was a thin strip that said move file and maybe that sucked me into loading the book to my files. My A7 also played youtube videos at first but now it don't. It will play other sites but if they go to youtube it comes and attacks the site. youtube has declared war on me and I don't know why or how to make them stop. bye for now frank
Thanks for input on this. I was never able to get issues resolved, the return period was almost up so I decided to return it 'no questions asked'
To many things building against it, lacking support online and from manufacturer, I will miss many aspects of the A7+, a nice little tablet with potential, but.....
I now have an Archos 80 G9 (8" 3.2 Honeycomb w/ 8GB) it also packs a lot for the money, so far so good
Edit: forgot to mention, on eLocity the 'HOME' key had stopped working completely
Dropped the ball
No matter what you do you cannot get the Elocity A7 or A7+ to load to the SD card.....we have been trying for months and no matter what we do nothing works. The damned thing has so much potential and is suck a powerful little machine that it is a shame that the bloody company dropped the ball. We did manage to to get it onto every market in the world and we changed the 4 Gig internal to a 32 Gig internal and reloaded the Titanium backup onto the card with the PC so there is more space and now the SD is primarily storage and a media file. To think that all they had to do was try a little harder and this would have been a monster in the market place last year. Oh well, maybe someone else will create a tablet that is fun and easy to use.
blooknight154 said:
No matter what you do you cannot get the Elocity A7 or A7+ to load to the SD card.....we have been trying for months and no matter what we do nothing works. The damned thing has so much potential and is suck a powerful little machine that it is a shame that the bloody company dropped the ball. We did manage to to get it onto every market in the world and we changed the 4 Gig internal to a 32 Gig internal and reloaded the Titanium backup onto the card with the PC so there is more space and now the SD is primarily storage and a media file. To think that all they had to do was try a little harder and this would have been a monster in the market place last year. Oh well, maybe someone else will create a tablet that is fun and easy to use.
Click to expand...
Click to collapse
i fixed the kernel in my A7CompPlus release, and apps can be installed on sdcard, and i think i updated it in the Cyanogen release as well.
it just took some kernel recompile and different framework, since elocity framework does not support this at all (it is removed from the firmware completely).
so you cannot get the feature unless you try a custom rom.
Dexter_nlb said:
i fixed the kernel in my A7CompPlus release, and apps can be installed on sdcard, and i think i updated it in the Cyanogen release as well.
it just took some kernel recompile and different framework, since elocity framework does not support this at all (it is removed from the firmware completely).
so you cannot get the feature unless you try a custom rom.
Click to expand...
Click to collapse
Dexter, Thank You for your work on A7+. I am enjoying your CM7 rom but can't get apps to load to SD. Tried every combination of settings. Are there any performance disadvantages to modding vold.fstab file ot make the SD card internal? Also please give update on your ICS mod work. I appreciate any suggestions.
denmichelson said:
Dexter, Thank You for your work on A7+. I am enjoying your CM7 rom but can't get apps to load to SD. Tried every combination of settings. Are there any performance disadvantages to modding vold.fstab file ot make the SD card internal? Also please give update on your ICS mod work. I appreciate any suggestions.
Click to expand...
Click to collapse
i believe that external sdcard should work. but maybe its just found on the /mnt/sdcard location or what vold.fstab says?
have you checked its mounted? i am sure it should have worked. let me see if i get a chance to confirm or check.
Dexter_nlb said:
i believe that external sdcard should work. but maybe its just found on the /mnt/sdcard location or what vold.fstab says?
have you checked its mounted? i am sure it should have worked. let me see if i get a chance to confirm or check.
Click to expand...
Click to collapse
Thanks for your quick reply. I checked and SD is mounted and shows up in storage. I found the following generic vold.fstab which is supposed to be set up to make the external SD act as internal storage. Please comment on any changes that might be needed.
# 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
denmichelson said:
Thanks for your quick reply. I checked and SD is mounted and shows up in storage. I found the following generic vold.fstab which is supposed to be set up to make the external SD act as internal storage. Please comment on any changes that might be needed.
# 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
The file above did not work. The CM7 vold is below. Do you know what commands need to be changed to make the external card the primary internal storage.
# Vold 2.0 Malata Harmony fstab
#######################
## 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
######################
dev_mount sdcard /mnt/sdcard 1 /devices/platform/tegra-sdhci.0/mmc_host/mmc0 /devices/platform/tegra-sdhci.1/mmc_host/mmc1
dev_mount emmc /mnt/emmc 6 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/tegra-ehci
you cannot make sdcard primary internal this happens in boot stage.
you can only switch internal storage card with external card.
just change the 2 first thing in 2 first lines /mnt/sdcard and /mnt/emmc and its done
Dexter_nlb said:
you cannot make sdcard primary internal this happens in boot stage.
you can only switch internal storage card with external card.
just change the 2 first thing in 2 first lines /mnt/sdcard and /mnt/emmc and its done
Click to expand...
Click to collapse
So it should now look like this. I tried it but storage seems same with external SD card showing my 8gb of storage and internal is still 1gb. Any other steps. Thanks for your patience. I really want to get more app storage.
dev_mount sdcard /mnt/emmc 1 /devices/platform/tegra-sdhci.0/mmc_host/mmc0 /devices/platform/tegra-sdhci.1/mmc_host/mmc1
dev_mount emmc /mnt/sdcard 6 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/tegra-ehci
denmichelson said:
So it should now look like this. I tried it but storage seems same with external SD card showing my 8gb of storage and internal is still 1gb. Any other steps. Thanks for your patience. I really want to get more app storage.
dev_mount sdcard /mnt/emmc 1 /devices/platform/tegra-sdhci.0/mmc_host/mmc0 /devices/platform/tegra-sdhci.1/mmc_host/mmc1
dev_mount emmc /mnt/sdcard 6 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/tegra-ehci
Click to expand...
Click to collapse
dev_mount emmc /mnt/emmc 6 /devices/platform/tegra-sdhci.0/mmc_host/mmc0 /devices/platform/tegra-sdhci.1/mmc_host/mmc1
dev_mount sdcard /mnt/sdcard 1 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
this is the correct way
Dexter_nlb said:
dev_mount emmc /mnt/emmc 6 /devices/platform/tegra-sdhci.0/mmc_host/mmc0 /devices/platform/tegra-sdhci.1/mmc_host/mmc1
dev_mount sdcard /mnt/sdcard 1 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
this is the correct way
Click to expand...
Click to collapse
Dexter, thanks for your continued help. I made the changes and everything looks and acts the same.Internal storage is 1g and external storage on Sd Card is 7.39 as it was before. My file card needed to be reformated before it was recognized. I rebooted after the changes anything else required?
denmichelson said:
Dexter, thanks for your continued help. I made the changes and everything looks and acts the same.Internal storage is 1g and external storage on Sd Card is 7.39 as it was before. My file card needed to be reformated before it was recognized. I rebooted after the changes anything else required?
Click to expand...
Click to collapse
i might actually have misunderstood, if i recall the A7 correct, internal storage is actually the /data partition that you cannot change, thats alot bigger process to fix.
you can only keep sdcard at the /mnt/sdcard location , the /mnt/emmc location was for USB connected devices in the CM rom.
Dexter_nlb said:
i might actually have misunderstood, if i recall the A7 correct, internal storage is actually the /data partition that you cannot change, thats alot bigger process to fix.
you can only keep sdcard at the /mnt/sdcard location , the /mnt/emmc location was for USB connected devices in the CM rom.
Click to expand...
Click to collapse
Dexter, I appreciate your timely responses and ongoing support for the A7+
This is a quick tutorial I want to write up based on a recent experience I've had recently with my micro sd-card. (More info on that below)
This how to shows how to switch between the internal sd card and the external sd cards mounting points (so the external is accessed via /sdcard, and the internal is accessed through /eemc)
The nuts and bolts how to:
0. Perform backups on System, i am not responsible for any damages or boot loops.
1. Download root explorer (or any other file explorer with root privileges)
2. Go to /system/etc, and mount R/W
3. Long press on vold.fstab and select Open With... , select Text Editor
4. You will find a line with sdcard in it a few times, change this section:
dev_mount sdcard /mnt/sdcard
Click to expand...
Click to collapse
To:
dev_mount emmc /mnt/emmc
Click to expand...
Click to collapse
5. Do the same thing with the emmc section:
dev_mount emmc /mnt/emmc
Click to expand...
Click to collapse
To:
dev_mount sdcard /mnt/sdcard
Click to expand...
Click to collapse
6. But you just flipped the first section around? Yes I did, this changes the mounting points. But not the original location of where it is being mounted......
7. Please don't change anything else in this file....
8. Reboot, enjoy!
I had to do this hax because the current nightly of CM9 doesn't support there being no external sd card, and mine got corrupt (eep!), it then continued to mount the internal sd card location to emmc instead (wtf?). So i did this quick hax so i could take pictures with the stock camera and use several applications which just default to the internal sdcard (and doesn't allow changing that).
Hope that helps some random Googlers......
Note: This has only been tested on CM9 Nightly apr-9th on SGSII, but i see no reason for this not work across all ROMs and devices( with ICS, the emmc thing wasn't on GB and below i don't think) as long as you don't do anything as foolish as change more than the lines specified above.
An example of a swapped file is (DO NOT COPY AND PASTE THIS, YOU PROBABLY WONT BE ABLE TO BOOT):
# internal sdcard
dev_mount emmc /mnt/emmc 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 encryptable_
# external sdcard
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
Click to expand...
Click to collapse
Please note that the latest CM9 nightlies lets you do this from the system menu! This was written pre that advancement. This is for the curious and other ROMs/phones.
Is it possible to use something in the lines of:
dev_mount emmc /mnt/external_sd ? To just bind the external sd to the stock location?
If I understood your question right, that's the default behavior in CM7/9 so you don't need to change anything.
(internal gets mounted as /sdcard and external as /emmc. At least that's how it always behaved on my device -takes a bit of getting used to but it's manageable once you know the trick)
edit : aw sawry, mistook /mnt/external_sd for /mnt/sdcard. But it changes nothing besides the name of the mountpoint, easily adjustable.. Although why you would want to have it named like that is beyond me, it makes for more keys to hit when typing it... xD
Zewsan said:
Is it possible to use something in the lines of:
dev_mount emmc /mnt/external_sd ? To just bind the external sd to the stock location?
Click to expand...
Click to collapse
same doubt raised here ...is it possible to mount external sdcard to /mnt/external_sd instead of mnt/emmc...???
please need solution
Zewsan said:
Is it possible to use something in the lines of:
dev_mount emmc /mnt/external_sd ? To just bind the external sd to the stock location?
Click to expand...
Click to collapse
Its the same technique....
So remember this:
Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
Click to expand...
Click to collapse
So <label> doesn't really matter, but we may as well keep it sane (and have it the same name as the mount point)! And <mount_point> is where its mounted. Make sure the folder exists first though! leave <part> and <sysfs_path*> alone and it will work correctly.
So if you were to create a folder /mnt/hammertime , then make a line look something like this (taken from my example in first post)
dev_mount hammertime /mnt/hammertime auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
Click to expand...
Click to collapse
That will work correctly.
Hope that helps!
mattisdada said:
Its the same technique....
So remember this:
So <label> doesn't really matter, but we may as well keep it sane (and have it the same name as the mount point)! And <mount_point> is where its mounted. Make sure the folder exists first though! leave <part> and <sysfs_path*> alone and it will work correctly.
So if you were to create a folder /mnt/hammertime , then make a line look something like this (taken from my example in first post)
That will work correctly.
Hope that helps!
Click to expand...
Click to collapse
is there no any requirement of changing build.prop file after doing this....?????
Ok I'll bite, late night tonight I'm going to flash back to AOKP....and give it a shot. It can't be that simple.....
Most certainly appreciate your effort...been looking for this for some time now.l!
HAvoktek said:
Ok I'll bite, late night tonight I'm going to flash back to AOKP....and give it a shot. It can't be that simple.....
Most certainly appreciate your effort...been looking for this for some time now.l!
Click to expand...
Click to collapse
I didn't think so either, but i had the problem, hoped it was like its Linux cousin and searched for fstab, i found it. Swapped the mounting destinations around. And voila, done.....
Swapped but CWM Recovery still the same
Hi, first of all nice guide you did here.
Here's the thing: somehow somewhere by flashing nightlies i ended up
with /sdcard being treated as my external SD while /emmc was for internal.
So I wanted to fix that and using your guide although the other way around
I was able to make it as such: /sdcard = internal storage; /emmc = external storage.
ALL IS GOOD however when i booted to CWM recovery:
CWM still mounts my internal storage as /emmc.
SO in recovery internal storage = /emmc while when in CM9 internal storage = /sdcard
Is there anyway i can change CWM so that internal storage = /sdcard? to be more uniform and not confusing
jeromepaez said:
Hi, first of all nice guide you did here.
Here's the thing: somehow somewhere by flashing nightlies i ended up
with /sdcard being treated as my external SD while /emmc was for internal.
So I wanted to fix that and using your guide although the other way around
I was able to make it as such: /sdcard = internal storage; /emmc = external storage.
ALL IS GOOD however when i booted to CWM recovery:
CWM still mounts my internal storage as /emmc.
SO in recovery internal storage = /emmc while when in CM9 internal storage = /sdcard
Is there anyway i can change CWM so that internal storage = /sdcard? to be more uniform and not confusing
Click to expand...
Click to collapse
Yeah CWM doesn't read the /system stuff, it has its own partition....
I've got no idea sorry, but its just a little inconvenient in CWM thats all.... But im sure you can check it out... Just search for fstab when you figure out how to explore the recovery partition (I've got no idea , short of modifying a flashable zip first and rekeying it.)
Forgot to post back with my results, Got HFS & AOKP to see the changes, however something broke when I did a PC mount. After playing with the lines "Experimentation" if you will, I ended up needing to rebuild my partitions! No fault of yours, I just wanted to see if I can have that functionality through the whole phones usage and features eg. mounting to the PC.
Thanks for the guide though, I'm seeing now that some devs are including the option to use the internal memory via a menu select, I wonder how there implementing that.
Probably something very similar but programmatically instead of the haxy file editing method I'm noting to use .
PC mounting is working as per normal for me here though...... (I don't have an external card right now so that may be a variable)
mattisdada said:
Probably something very similar but programmatically instead of the haxy file editing method I'm noting to use .
PC mounting is working as per normal for me here though...... (I don't have an external card right now so that may be a variable)
Click to expand...
Click to collapse
That it is, cause I can see my internal, but it doesn't mount the external.
Purpose
What is the purpose of this? Does it mount the EMMC so that the system thinks EMMC is actually an external sd card?
I am trying to figure out if there is a way to make the above mentioned happen. Or is there a way to re-partition it so that EMMC is used as system memory... or maybe even both? It seems that since ICS better integrates with on board memory, there would be a way to better integrate the internal memory of older devices with the system.
hfj00788 said:
What is the purpose of this? Does it mount the EMMC so that the system thinks EMMC is actually an external sd card?
I am trying to figure out if there is a way to make the above mentioned happen. Or is there a way to re-partition it so that EMMC is used as system memory... or maybe even both? It seems that since ICS better integrates with on board memory, there would be a way to better integrate the internal memory of older devices with the system.
Click to expand...
Click to collapse
This guide shows you how to "flip" the points. Several ROMs have it differently preconfigured. But if this is your current situation:
Code:
Emmc: External SD Card
SDcard: Internal SD Card
It will make it:
Code:
Emmc: Internal SD Card
SDcard: External SD Card
And vice versa obviously (its a flip).
This guide will do what your wishing it to do.
The folders sdcard and emmc (or there /mnt varient more closely) are just soft links, meaning they don't really exist, but just point to another location. We can modify which folder they are linked to in the fstab.void file.
so to make emmc to external_sd i change "dev_mount emmc /mnt/external_sd"?
Worked great on a Captivate running AOKP-36 right after a wipe data/factory.
lol you need no guide on cm9
you can switch them in storage settings by a simple checkbox
its mentioned in team hacksung's FAQ
Im on CM9. Can someone post the code so i can just do a simple copy and paste? I wanna switch emmc to external_sd
(there is no storage settings simple checkbox for me)
Sent from my SGH-I997 using xda premium
bradman117 said:
Im on CM9. Can someone post the code so i can just do a simple copy and paste? I wanna switch emmc to external_sd
(there is no storage settings simple checkbox for me)
Sent from my SGH-I997 using xda premium
Click to expand...
Click to collapse
Never use a copy and paste for the file in this operation. You only need to modify partially two lines (which you can copy and paste from the OP).
Your just swapping two words around really. Its fairly easy, just follow the steps and it will work, it looks daunting at first if your not used to doing this sort of thing, but its fairly easy.
If anyone wants to take a crack at it, here's the script that worked on the Galaxy S3 mini. I've tried switching around the addresses in /dev/block/vold with no success.
Might not be hard. I don't have a GS4 though.
Go to /system/etc in your favorite file explorer and open vold.fstab as text and post the contents in Pastebin and link here.
ChronoReverse said:
Might not be hard. I don't have a GS4 though.
Go to /system/etc in your favorite file explorer and open vold.fstab as text and post the contents in Pastebin and link here.
Click to expand...
Click to collapse
I'll do better than that. Here's my vold.fstab file.
OP,
what path to put in directory bind? cant wait to try games I used to play on NOTE 2 using data INT2EXT script.
blackknightavalon said:
I'll do better than that. Here's my vold.fstab file.
Click to expand...
Click to collapse
Hmm, it's different from previous devices like the Note 2 and GS3. No wonder the script doesn't work.
Could you look in /storage and see what folders are in there? And then do the same for /storage/extSdCard
If you're feeling brave, have root and have a custom recovery with working nandroid, you could try replacing this line (I TAKE NO RESPONSIBILITY FOR THIS):
Code:
dev_mount sdcard /storage/extSdCard auto /devices/platform/msm_sdcc.4/mmc_host/mmc2/ /devices/platform/msm_sdcc.2/mmc_host/mmc2/
with this:
Code:
dev_mount sdcard /storage/extSdCard auto /devices/platform/msm_sdcc.2/mmc_host/mmc2/ /devices/platform/msm_sdcc.4/mmc_host/mmc2/
after you backup your ROM first.
ChronoReverse said:
Hmm, it's different from previous devices like the Note 2 and GS3. No wonder the script doesn't work.
Could you look in /storage and see what folders are in there? And then do the same for /storage/extSdCard
If you're feeling brave, have root and have a custom recovery with working nandroid, you could try replacing this line (I TAKE NO RESPONSIBILITY FOR THIS):
Code:
dev_mount sdcard /storage/extSdCard auto /devices/platform/msm_sdcc.4/mmc_host/mmc2/ /devices/platform/msm_sdcc.2/mmc_host/mmc2/
with this:
Code:
dev_mount sdcard /storage/extSdCard auto /devices/platform/msm_sdcc.2/mmc_host/mmc2/ /devices/platform/msm_sdcc.4/mmc_host/mmc2/
after you backup your ROM first.
Click to expand...
Click to collapse
Under /storage, I have the following:
container
emulated
extSdCard
sdcard0
UsbDrive (lettered A through F)
Click to expand...
Click to collapse
extSdCard is just my SDcard, and the T-Mobile version doesn't have custom recovery yet.
Hello! Any updates??
BUMP!!! Any updates??
No, but I'm going to try to tweak the script again in a day or two.
Okay, this is the error I'm getting with a modified script. Anyone want to take a crack at it?
The script itself, functional or otherwise, needs to be dropped in /data and you'll need to chmod it to 777.
Working on It also
I've been working on it as well. Samsung has heavily modified the vold.fstab file. They no longer use vold.fstab to mount the internal sdcard storage. We need to find where the file that contains their mounting of the internal sdcard is. We won't be able to swap until we find that file. I am looking.... I strongly recommend not using the script for the Galaxy S3. I compared the S3 vold.fstab and S4 vold.fstab and they are significantly different!
I would be VERY interested to know if or when a swap script is out..
I have had my SGS4 i9505 for 2 days.. And it is almost out of internal card space
Any updates on this one yet ?
@OP.: buddy, what i thought is you must do changes in Vold.fstab file first. I know after changing your mobile be lilbit unstable due to system setting & storage crashing. But then you can provide the logcat. Then we can check the same.
BTW, I have successfully swapped the memories of Galaxy R CM version. But if you could do the changes then I can help you out..
Reply me then I can send you codes via PM.
The latest firmwares do allow you to place games on your sd card.
No need anymore for that script
Sent from my GT-I9505 using xda premium
Sammath said:
The latest firmwares do allow you to place games on your sd card.
No need anymore for that script
Sent from my GT-I9505 using xda premium
Click to expand...
Click to collapse
It can allow you to shift the application not the whole data.
* *
http://forum.xda-developers.com/showthread.php?t=1772234
Sent from my GT-I9500 using xda app-developers app