How to install apps to SD card - Android Q&A, Help & Troubleshooting

Okay, well I posted this thread in the wrong place.. so im wondering if it can be moved to here or not.. but here is my original thread.. http://forum.xda-developers.com/showthread.php?t=2738172
Help would be appreciated please..

really? no one can help me make it so my apps start to install to my sd card from now on? Ive tried using adb to change the install directory.. not seem to be working, idk.. please help though :/

Moved to Q and A, and request OP not to bump threads within twenty four hours, and probably best to be humble in your bumps too, you are asking for help from others, so be nice

no one? :/

bewpy said:
really? no one can help me make it so my apps start to install to my sd card from now on? Ive tried using adb to change the install directory.. not seem to be working, idk.. please help though :/
Click to expand...
Click to collapse
use move2sd app

Vaibhav Chauhan said:
use move2sd app
Click to expand...
Click to collapse
Ive tried it.. it says my external or internal memory is emulatted or something and that my sd card shares the same disk with os? idk what this mean.. i was told to use Link2SD or something instead of move2sd.. and I tried that as well, and couldnt seem to get it to work.. I used Aparted and partitioned my sd card, before hand as well.. maybe im doing something wrong? Anyone know of a tutorial for using aparted/link2sd?

bewpy said:
Ive tried it.. it says my external or internal memory is emulatted or something and that my sd card shares the same disk with os? idk what this mean.. i was told to use Link2SD or something instead of move2sd.. and I tried that as well, and couldnt seem to get it to work.. I used Aparted and partitioned my sd card, before hand as well.. maybe im doing something wrong? Anyone know of a tutorial for using aparted/link2sd?
Click to expand...
Click to collapse
Looks like you got an lg phone which has an sd card emulated by your system. Try rom toolbox lite to change install location.
Sent from my LG-P760 using XDA Free mobile app

AshIndigo said:
Looks like you got an lg phone which has an sd card emulated by your system. Try rom toolbox lite to change install location.
Sent from my LG-P760 using XDA Free mobile app
Click to expand...
Click to collapse
does doing it through rom toolbox work better then doing it through adb? cause I used adb to set install location to external, but that didnt seem to work , unless i did it wrong. but I checked the install location after and it said it was set to external

Okay i set it to external through rom tool box, but when i install an app, my sd card is still empty.

Okay, well I figured out how to get my problem fixed using ROM Toolbox.. I didnt change the default install destination. I made a script that runs on boot that just basically uses my SD card for internal and external both. So now my apps install to my external.
Code:
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
mount -o bind /data/media /mnt/sdcard/external_sd
chmod 777 /mnt/sdcard/external_sd
This works for the LG Optimus L9 LGMS769

Related

[APP] Root All to SD

Has anyone tried this app for Data2SD?
I stumbled upon this app while taking a stroll in the Market. And wanted to share it with y'all.
And, NO, I am not the dev of the app.
☞ The Dev is WindowsNT. ★
I would've tried it myself, but I already have Data2SD on my phone. It might help those who need Data2SD.
Root All to SD -
http://market.android.com/details?id=rappsd.v1
Sent From My Galaxy 3.
I 'm the dev.
I 'd be happy to answer any questions. The app simply creates and formats a storage in the SD, then links data from apps to that partition.
WindowsNT said:
I 'm the dev.
I 'd be happy to answer any questions. The app simply creates and formats a storage in the SD, then links data from apps to that partition.
Click to expand...
Click to collapse
Does it do all this automatically.. I mean is there any special script or kernel required..?
Sent from my GT-I5800 using XDA Premium App
1. You first use the "storage" menu to create a storage file (default 500MB) to be used as a partition. This partition is then automatically formatted to ext2 and mounted on the device startup.
2. From the "apps" menu you select an application and you have a list of the movable files.
3. You move/restore the files you wish.
Of course, don't do it for applications that start on boot, because the storage won't be mounted until the sd card is visible.
WindowsNT said:
1. You first use the "storage" menu to create a storage file (default 500MB) to be used as a partition. This partition is then automatically formatted to ext2 and mounted on the device startup.
2. From the "apps" menu you select an application and you have a list of the movable files.
3. You move/restore the files you wish.
Of course, don't do it for applications that start on boot, because the storage won't be mounted until the sd card is visible.
Click to expand...
Click to collapse
Is this only for 2.2 or can it be used for 2.1?
It can be used with 2.1 as it doesn't move the app itself (as the 2.2 system does), it moves the internal data in /data/data/<package>.
(requires root).
Glad to see the Dev himself here.
Hope many people benefit from this App.
Sent From My Galaxy 3.
Hell mate. I tried this with 500mb.
It stuck at 25mb which is like 5%
Then i formatted my sd card and tried with 50mb and again it stuck at 25mb.
Why is this problem occuring ? Also i have a 16gb sdhc which is class2
Hm, perhaps a problem with your SD card ?
Try this from shell:
dd if=/dev/zero of=/mnt/sdcard/rallsd/storage bs=1024 count=102400 (for 100MB).
this is similar to the command used by my app. If it also stucks, then it seems that there's an error with your SD card (chkdsk ?)
If it works, notify me and I 'll take a look.
WindowsNT said:
Hm, perhaps a problem with your SD card ?
Try this from shell:
dd if=/dev/zero of=/mnt/sdcard/rallsd/storage bs=1024 count=102400 (for 100MB).
this is similar to the command used by my app. If it also stucks, then it seems that there's an error with your SD card (chkdsk ?)
If it works, notify me and I 'll take a look.
Click to expand...
Click to collapse
This dint work too
Then, a storage card issue.
Perhaps a chkdsk would help.
hi,
i installed the app n also created the storage file of (1024) n it successfully finished,but it says that storage is not mounted n when i try to mount it, it says mount attempt n nothin happens.
please help.
sinahidden said:
hi,
i installed the app n also created the storage file of (1024) n it successfully finished,but it says that storage is not mounted n when i try to mount it, it says mount attempt n nothin happens.
please help.
Click to expand...
Click to collapse
I got the same issue also, thought it would be nice if the app was more transparent
SmallWalrus said:
I got the same issue also, thought it would be nice if the app was more transparent
Click to expand...
Click to collapse
Heh, reply to self, but I managed to work around the initial problem by simply deleting off the storage file, and creating a smaller (128mb) one
hi, i have 2 questions before ill give it a try.
is the app able to allocate free space from the sd card to create the partition
or do i have to wipe the sd completely before ?
will the app interfere in any way with already installed and normal moved apps ?
thanx in advanced, stavro
Doesn't work on my Archos 7ob eReader (Eclair 2.1). Once the second part created by Root All to SD, it doesn't recognize its job ! Worse, Windows can't at all read the SD Card.
WindowsNT said:
I 'm the dev.
I 'd be happy to answer any questions. The app simply creates and formats a storage in the SD, then links data from apps to that partition.
Click to expand...
Click to collapse
no answeres on my question ???
Sent from my HTC Wildfire using Tapatalk
in the meantime i am using link2sd on my rooted stock rom.
works perfect. i just had to create a second partition on my sd card
(no need to wipe the sd) and start the application. no "not enough memory" problems anymore
SmallWalrus said:
Heh, reply to self, but I managed to work around the initial problem by simply deleting off the storage file, and creating a smaller (128mb) one
Click to expand...
Click to collapse
i used 340mb and it work perfect!
Three questions
I have three questions:
1) How can I reduce size of allocated memory space (I have mount 2 GB but now I see that is to much for my needs)
2) What happens with files that are on mounted partition if I uninstall Root all to SD app? How can I move it back to the original place?
Thanks in advance!

[Q] [SOLVED az mi kutas stanal] Problem with LINK2SD:(

I`m running MiniCM7 2.1.1 with unlocked bootloader and nAn`s kernel installed. but whem I`m trying to mount a second partition for LINK2SD, programme can not see the second partition. It`s saying "Mount script cannot be created. mount:mounting /dev/blocks/vold/179:2 on /data/sdext2 failed: No such device" i made an ext3 partition and choose it in Link2SD app, but it`s still not working any solutions fot this?
As I can see a lot of people have this problem with another phones but nobody except me with our lovely x10 Mini??
I found that it's better to use 2 fat32 partitions with Link2SD
Sent from my U20i using xda premium
Thanks for tip will try it now
edit:still not working this time "Device or resource busy"
edit 2: after restart i need to make a script, but after making a script and restarting message with creating script shows again and again everything was fine before updating MiniCM7 2.0.7>2.1.1
anyone any ideas?? i really need 2nd partiton and be able to move applications there
I *think* it could be because gingerbread roms have native app2sd support which could conflict with link2sd as both look for 2nd partition?
Sent from my U20i using xda premium
but on older version of the CM7 this feature was working. i think it`s not because of this
why r u trying to use link2sd when gingerbread roms actually have builtin app2sd?
taufiiqqq said:
why r u trying to use link2sd when gingerbread roms actually have builtin app2sd?
Click to expand...
Click to collapse
because if I will use native app2sd and mount SD Card to PC or my home audio via USB every application that is moved to SD will stop work. so I want to move them to 2nd partition and then I will not have this problem. but I can`t mount 2nd partition
if you just want to move app to sdcard then you should try my step.
i'm using Paul's Mini CM7Pro which already including native app2sd. So all i have to do is making all three partitions (fat32 5,65 GB--ext2 1,4 GB--the rest for linux swap). Now if you install any apps, they won't taking internal storage as much as before.
sorry if i have bad english
rizkywingrove said:
if you just want to move app to sdcard then you should try my step.
i'm using Paul's Mini CM7Pro which already including native app2sd. So all i have to do is making all three partitions (fat32 5,65 GB--ext2 1,4 GB--the rest for linux swap). Now if you install any apps, they won't taking internal storage as much as before.
sorry if i have bad english
Click to expand...
Click to collapse
yeah, but if you move them to the FAT32 partition then they will stop working if you mount SD Card to PC. but I need them work everytime.
gallardo5 said:
yeah, but if you move them to the FAT32 partition then they will stop working if you mount SD Card to PC. but I need them work everytime.
Click to expand...
Click to collapse
really ? never happen to me before
gallardo5 said:
I`m running MiniCM7 2.1.1 with unlocked bootloader and nAn`s kernel installed. but whem I`m trying to mount a second partition for LINK2SD, programme can not see the second partition. It`s saying "Mount script cannot be created. mount:mounting /dev/blocks/vold/179:2 on /data/sdext2 failed: No such device" i made an ext3 partition and choose it in Link2SD app, but it`s still not working any solutions fot this?
As I can see a lot of people have this problem with another phones but nobody except me with our lovely x10 Mini??
Click to expand...
Click to collapse
Ooops accidentally pressed thanks button
i am using MiniCM 2.1.1 with Link2Sd and have no problems, try updating Link2Sd
and which format is your second partition and is it primary
i made and Ext2 primary partition and clicked ext2 on mounting script it is not having any problems any of it yet
ahub1988 said:
Ooops accidentally pressed thanks button
i am using MiniCM 2.1.1 with Link2Sd and have no problems, try updating Link2Sd
and which format is your second partition and is it primary
i made and Ext2 primary partition and clicked ext2 on mounting script it is not having any problems any of it yet
Click to expand...
Click to collapse
haha my first "thanks" so, thanks fot this and I will try this right now
edit: YEAH!!!!!! FINALLY I GOT THIS WORK ON MiniCM 7!!!!! THANKS AHUB!!!!!! i`ve made a new ext2 partition and reinstalled link2sd and then it started to work
Welcome
this may help you :
rogeliodh&chicco's fix
---------- Post added at 10:23 AM ---------- Previous post was at 10:21 AM ----------
EDIT :
since your problem is solved, please add a big [SOLVED] in the title so that people can see
awwww............ my problem WAS SOLVED since i restarted my phone. after that link2sd shows "mounting error" and wont mount 2nd partition anymore
edit: and problem is finally.............SOLVED!!!!!! i`ve used the method that matmutant posted and it`s finally works thanks matmutant
edit2: technology doesn`t like me...... maybe it`s a little off-topic but how to change the title to SOLVED??
gallardo5 said:
How to change the title to SOLVED??
Click to expand...
Click to collapse
just edit the main post, then press "go advance" and edit the title
Iva also found that multi-mount sd lite does the trick, you dont have to unmount the card from andorid in order to use it (fat32 disk) and so you can access and use the disk as usual from your pc and from you phone at the same time. It for free on the market and is much quicker than mounting using the system tray app!!
adoneill said:
Iva also found that multi-mount sd lite does the trick, you dont have to unmount the card from andorid in order to use it (fat32 disk) and so you can access and use the disk as usual from your pc and from you phone at the same time. It for free on the market and is much quicker than mounting using the system tray app!!
Click to expand...
Click to collapse
I`ve tried this method but it wasn`t working for me but right now i`m using ES File Explorer and copying files wirelessly that`s the best way to copy music and another files between PC and phone

[MOD]External SD as Primary/Internal

This is a simple mod to make the external SDcard mount as the primary/internal (/sdcard)
and the internal is mounted as the secondary (/sdcard-ext)
This should work on most (all?) roms but is only tested on MIUIv4 with a GSM RAZR
Just flash the switchSD.zip
To revert the effect, flash reswitchSD.zip
Requested by lukas77 external sd mounted in folder of internal (/sdcard/sdcard-ext)
Some problems though, after each boot you will have to remove and insert SD for it to mounts.
It is safe to remove SD because it isn't mounted but it's a bit of a hazzle.
Flash SDinFolder.zip to revert, just flash reswitchSD.zip as above.
make shore before flashing that you don't have any file or folder named sdcard-ext on internal sdcard.
EDIT:
I have been away for a while and came back to a thread full of pproblems and a bunch of PMs.
Unfortuneatly I don't have time to ivestigate the problems or fix for newer builds.
My recomendations for everyone is: Do Not Use It unless you'r realy know what your doing and can fix it for your build.
work perfect eclipce 1.3 via GSM
Sent from my XT910 using Tapatalk
what is the advantage of doing this?
therazrguy said:
what is the advantage of doing this?
Click to expand...
Click to collapse
Some apps doesn't support external SD (Very noticeable on MIUI as music can't find music on external and file explorer only browses internal).
Some people (me) prefer a storage that is easily movable.
If you always have a larger SD inserted you'll probably find yourself a bit limited with the original mounting options.
pajn said:
Some apps doesn't support external SD (Very noticeable on MIUI as music can't find music on external and file explorer only browses internal).
Some people (me) prefer a storage that is easily movable.
If you always have a larger SD inserted you'll probably find yourself a bit limited with the original mounting options.
Click to expand...
Click to collapse
Can this be done without damaging currently installed programs?
And what does this do? Symbolic links?
sletta said:
Can this be done without damaging currently installed programs?
And what does this do? Symbolic links?
Click to expand...
Click to collapse
If you have programs (or games, mostly games) that is installed on your internal SD they will break. I guess games that download extra data to SD just will have to download it again though...
The good thing is that you can test and then just flash reswitchSD.zip if it didn't work.
This tells vold (the program responsible for mounting the storages) to mount external on /mnt/sdcard and internal on /mnt/sdcard-ext instead of the reverse.
No links.
pajn said:
If you have programs (or games, mostly games) that is installed on your internal SD they will break. I guess games that download extra data to SD just will have to download it again though...
The good thing is that you can test and then just flash reswitchSD.zip if it didn't work.
This tells vold (the program responsible for mounting the storages) to mount external on /mnt/sdcard and internal on /mnt/sdcard-ext instead of the reverse.
No links.
Click to expand...
Click to collapse
Works great! Thanks!
it this just a edited vold.fstab file? or is there more to it?
Boomer187um said:
it this just a edited vold.fstab file? or is there more to it?
Click to expand...
Click to collapse
Just vold.fstab. That is all that is needed
Will we need to reflash this after flashing any roms or are we all set until we undo it manually?
qoncept said:
Will we need to reflash this after flashing any roms or are we all set until we undo it manually?
Click to expand...
Click to collapse
You will for a ROM that erases the whole system partition but won't for a patch. But it doesn't seem like there are that many ROMs that provides patches so you probably will.
can we mount external sdcard as folder inside /sdcard/? (phone memory)
Wysłane z mojego XT910 za pomocą Tapatalk
lukas77 said:
can we mount external sdcard as folder inside /sdcard/? (phone memory)
Wysłane z mojego XT910 za pomocą Tapatalk
Click to expand...
Click to collapse
Great idea! However my testing found out that it wasn't the easiest thing to do as vold will try to mount the external SD before the internal is mounted and the folder present.
It works but after every boot you will have to remove SD (safe as it isn't mounted) and reinsert it. May work better on other ROMs (did some Googeling and found that CM7 on O2X did have problem while stock didn't whit exactly the same thing)
Adding to first post now!
Would it be possible to mount SD as an expansion of your internal? i.e., treating them as the same memory unity?
Haloman800 said:
Would it be possible to mount SD as an expansion of your internal? i.e., treating them as the same memory unity?
Click to expand...
Click to collapse
No, if so we would have to raid them but I have never heard of some raid utilities built for Android.
Even if it's theoretically possible to build the Linux utilities for ARM and run them on Android it would probably be loads of work and customization for each ROM as Android have very bad possibilities of running scripts at boot.
Anyone tried this on stock 2.3.6 ROM?
Szadzik said:
Anyone tried this on stock 2.3.6 ROM?
Click to expand...
Click to collapse
Not tried but should work.
Szadzik said:
Anyone tried this on stock 2.3.6 ROM?
Click to expand...
Click to collapse
I have it working on stock 2.3.6.
pajn said:
Just vold.fstab. That is all that is needed
Click to expand...
Click to collapse
Hey would it be possible for you to edit this vold from a epic 4g touch so i can do this on my phone? Heres the link to my vold file if you can thanks... http://db.tt/2E1QAqVe
iUseJuGGZz said:
Hey would it be possible for you to edit this vold from a epic 4g touch so i can do this on my phone? Heres the link to my vold file if you can thanks... http://db.tt/2E1QAqVe
Click to expand...
Click to collapse
It's actually really simple.
Ofc. this isn't tested so if it doesn't work just let me know.
If you want to push it manually just extract the vold.fstab from the zip.

Reformatted internal storage, now sdcard not detected

Hey guys, so my galaxy s2 has been running on RR 3.0.5 with the latest siyah kernel. A problem I've been having is frequent media corruptions, and to solve that, I thought reformatting the internal storage would help. After doing so, it doesn't recognize my sdcard. What can I do to fix this?
Sent from my GT-I9100 using xda app-developers app
How did you reformat?
Sent from my GT-N7000 using Xparent SkyBlue Tapatalk 2
I reformatted using cwm, the "reformat internal storage" option.
Ah, then it is not possible to format from within the phone under Settings>Storage>Format USB card?
The phone should be able to format it.
If not, plug the microSD into the computer and format it as FAT32.
If still does not work, try to format it via another phone.
As of right now, the problem is in the phone because it won't recognize my sd card. I have swapped sd cards with another one, and again, it doesn't recognize.
Guess: You don't have the mount point any more after the reformat. Recreate it. Hope you know what's it called.
I.e. create the directory /sdcard/external_sd or what it's supposed to be called.
Check in /etc/vold.fstab, it should be found there, the name of the mount point.
kuisma said:
Guess: You don't have the mount point any more after the reformat. Recreate it. Hope you know what's it called.
I.e. create the directory /sdcard/external_sd or what it's supposed to be called.
Check in /etc/vold.fstab, it should be found there, the name of the mount point.
Click to expand...
Click to collapse
Not exactly sure how to do that...
richcity64 said:
Not exactly sure how to do that...
Click to expand...
Click to collapse
So in non Samsung Android phones we don't have an internal SD card. Using root explorer, we see /sdcard/ and that is our microSD. For Samsung devices, /sdcard/ is actually the internal sd card, and what kuisma is saying is that the folder of the external sd card must be in /sdcard/something.
He is trying to say that the /sdcard/something was erased, and you have to create the folder which the external sd card is in (mount point). And instead of "something" the folder should be named something else (unknown right now) but you should be able to find the correct name in /etc/vold.fstab
Sent from my DROID2 using xda premium
richcity64 said:
Not exactly sure how to do that...
Click to expand...
Click to collapse
Create an empty directory /mnt/sdcard/external_sd using your favourite tool (file explorer, mkdir or whatever ...). Restart the phone. See if it works now.

My Backup Pro externalSD path

Hi folks, I have spent the last hour or so searching the net on how to set my backup pro to use the external SD card for backups, have used the NextApp SDfix app to make the external SD card writeable & tested it by making a folder called test using Solid Explorer file manager. In the My Backup Pro app I have tried all the suggestions online for changing it to do the backups to the external SD but keep getting incorrect path change cancelled.
Does anyone know the correct path for example /mnt/storage/sdcard1
Many thanks in advance.
For ext sdcard
/Sdcard1/
Or
/Storage/sdcard1/
For internal
/Sdcard/
Or
/Storage/sdcard0/
For usb stick
/Storage/usbdisk/
WARNING
Make sure everything is lowercase
Sent from my D6503 using XDA Premium 4 mobile app
Envious_Data you are a legend among men good sir
It was the second one you mentioned /storage/sdcard1 I spent ages trying all combinations lol
Also wanted to let you know I used your All you need to know guide for unlocking bootloader & rooting with no issues at all so many virtual pints of beers or Sake for you mate
I can't get this to work either. Tried /storage/sdcard1 & /storage/sdcard. Any other suggestions?
Thanks
welshlad said:
I can't get this to work either. Tried /storage/sdcard1 & /storage/sdcard. Any other suggestions?
Thanks
Click to expand...
Click to collapse
mKe sure its /storage/sdcard1/ <- there needs to be that extra slash and all lower case
Envious_Data said:
mKe sure its /storage/sdcard1/ <- there needs to be that extra slash and all lower case
Click to expand...
Click to collapse
Thanks for that but unfortunately that didn't work either. I managed to restore my backup by copying it to the internal memory but it still won't recognise the SD. Do you think a format might help?
Thanks again

Categories

Resources