Related
Hey everyone.
I installed a leaked version of Froyo on my Galaxy 3 I5800. I'm using the hack to always install the apps on the memory card. However, only the main apks of the apps are being stored on the memory card. Any application data is still being stored on the internal memory. For example, installing Angry Birds takes 10 MB on the memory card, but also takes about 2 MB on the internal phone memory..
Apps2SD is a huge improvement, but still, if the data's being stored on the internal memory, I'm gonna run out of space some time or the other.
Is there a hack or something to make the phone keep even the data on the memory card? I've heard about Apps2Ext but not sure if that can be installed on my phone and whether it stores the app data on the EXT partition too.
Any ideas?
Android documentation says that even when app. is installed on SD card,
"The .apk file is saved on the external storage, but all private user data, databases, optimized .dex files, and extracted native code are saved on the internal device memory."
TekkenLaw said:
Android documentation says that even when app. is installed on SD card,
"The .apk file is saved on the external storage, but all private user data, databases, optimized .dex files, and extracted native code are saved on the internal device memory."
Click to expand...
Click to collapse
May be that's better because program can run faster.. anyway you can solve it by creating of ext2 partition on your SD card and virtualy enlarge internal storage.
But I haven't found any manual how to do it on i5800.
Are there ext2 capabilities in the i5800's Froyo? I'm asking because 2.1 lacks them, much to my dismay. A Linuxish device with a closed file system (rfs) with no tools available (and FAT), erm...
addicted2088 said:
Hey everyone.
I installed a leaked version of Froyo on my Galaxy 3 I5800. I'm using the hack to always install the apps on the memory card. However, only the main apks of the apps are being stored on the memory card. Any application data is still being stored on the internal memory. For example, installing Angry Birds takes 10 MB on the memory card, but also takes about 2 MB on the internal phone memory..
Apps2SD is a huge improvement, but still, if the data's being stored on the internal memory, I'm gonna run out of space some time or the other.
Is there a hack or something to make the phone keep even the data on the memory card? I've heard about Apps2Ext but not sure if that can be installed on my phone and whether it stores the app data on the EXT partition too.
Any ideas?
Click to expand...
Click to collapse
install move to SD first then choose the option Exteral SD.Anything you install from now on will be installed to the SDCARD but aware the widgets and programs that require root doesn't work well in the SDCARD together with home replacement program.Unless of course the app itself support installing to SD.
banahaw said:
install move to SD first then choose the option Exteral SD.Anything you install from now on will be installed to the SDCARD but aware the widgets and programs that require root doesn't work well in the SDCARD together with home replacement program.Unless of course the app itself support installing to SD.
Click to expand...
Click to collapse
this is what he did. But not everything will be saved to SD. This is the what he says.
nastyba said:
this is what he did. But not everything will be saved to SD. This is the what he says.
Click to expand...
Click to collapse
Yeah, the APK file, that is the main package, is installed on the SD card. However, all the data that the application actually saves are usually on the internal device memory.
I have enabled Move to SD and set the install path to external, but it will still save application data on the phone memory. That is how Android is designed to work
banahaw said:
install move to SD first then choose the option Exteral SD.Anything you install from now on will be installed to the SDCARD but aware the widgets and programs that require root doesn't work well in the SDCARD together with home replacement program.Unless of course the app itself support installing to SD.
Click to expand...
Click to collapse
Oh yes, I'm aware of all this. But still wanted to mention the point that the internal memory will always get used..
addicted2088 said:
Oh yes, I'm aware of all this. But still wanted to mention the point that the internal memory will always get used..
Click to expand...
Click to collapse
you can extend your internal storage with your SD card, but you need to create ext2 partition on your SD card first and then <i>and this is the problem</i> explain to your i5800 to use this partion on SD card.
I've red many articles about it on HTC / SE phones where this method work. They say that the ROM must be customized, which haven't been done yet with our phone. The problem is, that the good programmers have Desire / or SGS and they do not care about the i5800
nastyba said:
you can extend your internal storage with your SD card, but you need to create ext2 partition on your SD card first
Click to expand...
Click to collapse
And this is where the problem starts: The i5800 cannot handle ext2, at least not with its stock roms. You're stuck with an exotic proprietary file system (rfs) for which no tools are available.
mizch said:
And this is where the problem starts: The i5800 cannot handle ext2, at least not with its stock roms. You're stuck with an exotic proprietary file system (rfs) for which no tools are available.
Click to expand...
Click to collapse
may be one day there will be a custom rom which will allows it
nastyba said:
may be one day there will be a custom rom which will allows it
Click to expand...
Click to collapse
mizch said:
And this is where the problem starts: The i5800 cannot handle ext2, at least not with its stock roms. You're stuck with an exotic proprietary file system (rfs) for which no tools are available.
Click to expand...
Click to collapse
Is this problem allready solved?
Because my bro has problems with the little internal space.
(•.•) said:
Is this problem allready solved?
Because my bro has problems with the little internal space.
Click to expand...
Click to collapse
Yes. For that you need to first flash a fugumod kernel. Then you can use Kyrillos' apptosd script from here. You need to use apptosd script v3 if you want your /data/data to be transferred to your SD. But script v3 works good only with class 6 SD card or higher.
Oh yes. You need to convert your data partition to ext4 and create an ext4 partition in SD card also.
ok formating...
seems that i have here a class 4 sd card 8gb... damn it!
I am currently on Kyrillos 6.1. If i create an EXT4 partition in my SD card, via CWM recovery, how can i move the apps which are already installed in my phone memory to that partition? Like if i use Titanium backup, then would moving the apps would go to FAT partition or the newly created EXT4 partition?
mrn123 said:
I am currently on Kyrillos 6.1. If i create an EXT4 partition in my SD card, via CWM recovery, how can i move the apps which are already installed in my phone memory to that partition? Like if i use Titanium backup, then would moving the apps would go to FAT partition or the newly created EXT4 partition?
Click to expand...
Click to collapse
First backup your apps using titanuim backup. It will get backed up in SD card. Then copy the backed up apps and the rest of the stuff in your SD card to your PC. Then goto recovery, advanced, partition SD card. Create the required partitions. All data in SD card will be erased. Then in recovery only, wipe data. Then reboot. After that all the apps which you install will goto the ext partition that you created.
Thanks Dhiren!!! I was just wondering whether there was any way to directly move the apps to the EXT4 partition which are already installed on phone memory..I shall try out as you said...
Hello again, I need clarification with this subject...
I had a difficult time in rooting my android, thinking I failed. so for many times I rooted, installed xrecovery, then most importantly apps2sd. but I don't think it works, then I found all about Links2sd. I installed it, and each time after installing I always select the "link2sd" option, and I check the include davlik cache, but my phone memory is continually decreasing... is this normal or not? could there be a conflict with apps2sd and link2sd since I don't know if I have deleted apps2sd. sorry I'm an android newbie. Thanks..
Well... if you had app2sd link2sd would monit about it and asked you to uninstall it first.
If you don't know if your phone is rooted, look through apps - if you have a superuser app - you're rooted
As for link2sd working or not: connect your phone to the computer and open minitool partition wizard home. It will see your ext2 partition along with free and occupied space. If there are any apps on ext2 partition of your SD card - apps are installing there and the slight decrease of space is due to the existing shortcut files. Because you have created ext2 partition, haven't you?...
I did what you said and yes I found files on the other partition I created. but problem is, some files still go to the phone memory, for example the game app "ninjump" has 15mb installed on the phone memory while on links2sd it shows that it is linked to the sd card.
also, I tried removing the memory card, and when I turned on my x8 the programs were missing, so I suppose links2sd is working.
only problem is now is that some chunks are still installed to the phone memory. is there a way of totally redirecting everything to the sd card?
link2sd: Leave data files in Internal Memory, and you can choose the apps to SD
app2sd: Copy all data from the application to the SD, It's all automatic
nowonanx8 said:
I did what you said and yes I found files on the other partition I created. but problem is, some files still go to the phone memory, for example the game app "ninjump" has 15mb installed on the phone memory while on links2sd it shows that it is linked to the sd card.
also, I tried removing the memory card, and when I turned on my x8 the programs were missing, so I suppose links2sd is working.
only problem is now is that some chunks are still installed to the phone memory. is there a way of totally redirecting everything to the sd card?
Click to expand...
Click to collapse
Ok, here's the deal - how many times did you install ninjump in the past? If more then once, and meanwhile you moved it to or from ext2 it might have (though the probability is very slight) that you have two apps - one in internal storage and one in ext2 storage.
So, navigate into ext2 partition (it's a folder in root directory - sdext or so) and look for this app. It might be hard, as names of linked apps are somewhat messed up, but there should be icons If there is no app on ext2, try switching it back to internal mode and then onto ext2 again - perhaps without linking dalvik cache.
chequebo1 said:
link2sd: Leave data files in Internal Memory, and you can choose the apps to SD
app2sd: Copy all data from the application to the SD, It's all automatic
Click to expand...
Click to collapse
Thank you, that was sooooo relevant!
APP2SD
I having problem with the app2sd too..i dunno whether it works...This is what i had done..I had busybox, superuser, and xrecovery installed and rooted. But when come to partitioning the sd card, i partitioned it into 3 parts : FAt, ext2 and ext3...after that i installed the update.zip and custom zip of app2sd...the phone starts not recognizing the sd partition...anyone can help here??
I use titanium backup to see app2sd works or not. if a2sd decrease, so it work.
if internal still decrease, I guess some file or even some app just can't work with app2sd.
one question too, how or can I move games data from fat sdcard to ext2 partition? like gameloft data. I need my fat space for other file
Graveir said:
Ok, here's the deal - how many times did you install ninjump in the past? If more then once, and meanwhile you moved it to or from ext2 it might have (though the probability is very slight) that you have two apps - one in internal storage and one in ext2 storage.
So, navigate into ext2 partition (it's a folder in root directory - sdext or so) and look for this app. It might be hard, as names of linked apps are somewhat messed up, but there should be icons If there is no app on ext2, try switching it back to internal mode and then onto ext2 again - perhaps without linking dalvik cache.
Click to expand...
Click to collapse
I tried navigating to the ext2 partition using minitool partition wizard, and I indeed saw files that I have installed there. so do you mean that apps2sd is better than links2sd? thanks..
Well... I'm not saying anything is better, though I used both solutions in three different ways.
For stock SE ROM link2sd is better, since you only need to partition SD card into primary fat32 and primary ext2 - nothing more. Then you install an app and all works fine.
With custom ROM you cannot use link2sd, since they all have app2sd hack preinstalled (well, you can always modify files, but what for?). Problem occurs when you have this hack AND ext2 partition. The hack then moves automatically all your apps to ext2 memory along with dalvik cache if you install them in internal storage. If you install in external storage, the app goes to fat32 secure folder and dalvik cache remains in ext2. If you don't have any ext on custom ROM, dalvik cache is always in internal storage, while you can move any non-system app onto fat32 sd card.
The ext2 solution in custom ROMs may seem convinient, but for me it was not. When you use apps like phone locator, they should always dwell in internal memory, since SD card can be easily taken out, while deleting such an app from a remotely locked down phone would require flashing, otherwise the device is useless for the thief
Well actually both app2sd and link2sd are typically similliar. I've tried app2sd before and it still leave some files in internal memory. So will link2sd. But link2sd is much more easier to use because once your phone is rooted you just need to install it on your phone without going through the adb shell thing. Easy for newbie for sure. But you just have to manually link new installed applications and games. That's what differ link2sd with app2sd. Now I'm using link2sd. If you want to make sure, why don't you try those froyo phone. Try to use the app2sd stuff on those phone. They still install some applications on their internal as well although they have built in app2sd.
Sent from my E15i using XDA Premium App
Hello everyone
First at all want thanks the valious information in this forum. For a newbie like me is superb.
Now I´m needing here some tips please.
I have a IDEOS S7 tablet rooted (with SuperOneClick), working in full with the SuperUser, I have root access through with Root Explorer.
I use Link2SD to change the apps from the internal memory to the internal SD card.
I have no partitions on internal SD (do not know how to do).
The question: When i install an application this one goes to the /data/app folder, but also some additional files of this application goes to the /data/data folder.
With Link2sd when I move an app to the SD internal card, only the file in data/app moves and the files/folders in the data/data remain´s there!
For example when I install an application with 11MB (adobe flash for example) and move it with the link2sd to the internal SD card never copies all the 11MB (only about 3MB are copied )..... I conclude that any app that I install, and moved to SDcard, I can never keep in the same internal memory free "measurement" of bytes!
Example, I have 136MB free before installing Adobe. After installation I get 125MB. I move the app to the internal SD and are moved only 3MB! The remaining (8MB) stay in the internal memory. So, i never stay again with the 136MB that I had before, but +- 128MB.
What is wrong? Can I move all files of an application or not? What am I doing wrong or is this just like that!!? Any suggestion please?
By the way how can I create a partition on the InternalSD card and what is the advantage of doing this?
Thank you for your attention
regards
pedro
Can close/delete this topic please, solved and done.
Thanks
pedro
Hello.
I'm using the latest aurora and I'd like to discuss an idea I had.
Since the U8800 has plenty internal memory and it's quite fast comparing to an average sd card, it'd be great if we could use the internal memory for the tasks that need "speed" instead of "space".
Running apps from the sd card is the perfect example!
So the idea would be, while keeping the external sdcard mounted on /mnt/sdcard, having /mnt/sdcard/Android/data, for instance, point to the «internal sdcard path»/Android/data.
What do you think would be the best solution:
- hacking the mount points?
- using links?
- other solution?
Any developer or filesystem savvy user can point the advantages or dangers of using this solution?
- e.g.: the system or some apps may check if the external sd-card is mounted before trying to read/write to /mnt/sdcard/Android/data... that would mean the system/those apss may think that path isn't reachable with the ext-sdcard unmounted, altough they can be read.
Suggestions? Rants? Ideas?
Regards!
I have wondered if the /data/app or maybe the whole /data partition could be mounted in the internal storage partition. That would give 2gb space for apps and associated files instead of 3-400 ish and would mean no need to move apps to sd card which would mean faster loads at startup due to internal memory being faster.
VuDuCuRSe said:
Hello.
I'm using the latest aurora and I'd like to discuss an idea I had.
Since the U8800 has plenty internal memory and it's quite fast comparing to an average sd card, it'd be great if we could use the internal memory for the tasks that need "speed" instead of "space".
Running apps from the sd card is the perfect example!
So the idea would be, while keeping the external sdcard mounted on /mnt/sdcard, having /mnt/sdcard/Android/data, for instance, point to the «internal sdcard path»/Android/data.
What do you think would be the best solution:
- hacking the mount points?
- using links?
- other solution?
Any developer or filesystem savvy user can point the advantages or dangers of using this solution?
- e.g.: the system or some apps may check if the external sd-card is mounted before trying to read/write to /mnt/sdcard/Android/data... that would mean the system/those apss may think that path isn't reachable with the ext-sdcard unmounted, altough they can be read.
Suggestions? Rants? Ideas?
Regards!
Click to expand...
Click to collapse
Well this is known for a while now . Quoted from my thread here:
vold.fstab - CHANGE THE DEFAULT SDCARD: -thanks to julle131
There is this file named vold.fstab at your /system/etc/ folder, which controls which of your sdcards (Internal/External) will be mounted when you connect your phone to the PC. The last 2 lines are the only that matter. These are the two possibilities:
EXTERNAL SDCARD MOUNTED (DEFAULT):
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.4/mmc_host
dev_mount emmc /mnt/sdcard1 14 /devices/platform/msm_sdcc.2/mmc_host
INTERNAL SDCARD MOUNTED:
dev_mount sdcard /mnt/sdcard 14 /devices/platform/msm_sdcc.2/mmc_host
dev_mount emmc /mnt/sdcard1 auto /devices/platform/msm_sdcc.4/mmc_host
change them as you wish with a root explorer or before flashing.
Click to expand...
Click to collapse
Make this change and every app will use the internal sdcard. Gallery works ok with images to external sdcard, it just might take a while for the first refresh. But I don't know if you'll notice any difference in terms of speed....
Cheers
spirosbond said:
Well this is known for a while now . Quoted from my thread here:
Make this change and every app will use the internal sdcard. Gallery works ok with images to external sdcard, it just might take a while for the first refresh. But I don't know if you'll notice any difference in terms of speed....
Cheers
Click to expand...
Click to collapse
That's not what he talked, I think. He said that the apparel would be installed on the external sd card, but the data would be moved to the internal one. And we have speed, but the main card would be the external one.
I think its a great idea if I understood it right!
Sent from my U8800 using xda premium
mrasquinho said:
That's not what he talked, I think. He said that the apparel would be installed on the external sd card, but the data would be moved to the internal one. And we have speed, but the main card would be the external one.
I think its a great idea if I understood it right!
Sent from my U8800 using xda premium
Click to expand...
Click to collapse
Oh I see! Sorry about that. As far as I know apps are not choosing were to put their data. They just say to the OS "I want these things to be at the sdcard" and the OS puts them at the correct place. So you can't "hack" the app to "see" at somewhere else. On the other hand the OS initialises on boot which card is the primary and which is the secondary. So my knowledge stops there and I can't imagine a way to make this separation between app data and the rest...
I hope for someone else's help!
PaulMilbank said:
I have wondered if the /data/app or maybe the whole /data partition could be mounted in the internal storage partition. That would give 2gb space for apps and associated files instead of 3-400 ish and would mean no need to move apps to sd card which would mean faster loads at startup due to internal memory being faster.
Click to expand...
Click to collapse
Maybe this cannot be done, because I think that the mapping of the partitions and mounts comes from the bootloader, but there is already the solution of resizing the data partition using the space of internal storage.
PaulMilbank said:
I have wondered if the /data/app or maybe the whole /data partition could be mounted in the internal storage partition. That would give 2gb space for apps and associated files instead of 3-400 ish and would mean no need to move apps to sd card which would mean faster loads at startup due to internal memory being faster.
Click to expand...
Click to collapse
That's a great idea!
I almost don't use the so called "internal sd card", therefor I have 2GB of fast empty space being wasted.
Why not simply mounting the internal sd-card partition in the data folder and the data partition on the internal sd card folder?
I only use the internal sd card to hold ringtones and other small stuff that I need to be in accessible 100% of the time, so a few hundred MB are enough!
Me gusta!
Every ROM flashes it's own fstab, right?
So all we'd need to do would be, editing the fstab before flashing it.
-----------------
Regarding the my first idea... I don't think one can simply mount a path on another path. We'd need a "virtual" device pointing to /mnt/sdcard-internal/data/ then mount that virtual device on /mnt/sdcard-external/data/.
My knowledge of unix mount/filesystems is not much more than what's explained here: https://help.ubuntu.com/community/Mount
OK, just found this:
http://askubuntu.com/questions/11079/mount-a-directory-to-look-like-a-drive
there is a FUSE filesystem named bindfs that probably does exactly what you want. For example the following:
bindfs -n /media/USB-HDD-01/ISO/ /home/johnc/ISO-images
Click to expand...
Click to collapse
would result in ISO-images to show up as a mounted filesystem in the Places sidepanel in Nautilus. The -n is required because otherwise bindfs tries to use the allow_other FUSE option, which by default is not allowed for regular users (if you use bindfs in /etc/fstab this is not a problem).
The first directory you give is the existing one, the second directory you give is an empty directory under which the contents of the existing one will appear.
Click to expand...
Click to collapse
So, bindfs depends on FUSE... and there's a port of fuse to android: https://github.com/seth-hg/fuse-android but looking at the README I get the feeling that it's not really working. The last step would be having a kernel with FUSE support... and regarding that, I have no idea, how easy it is to get a kernel like that for our U8800 :\
Finding such a solution to expand the DATA partition indirectly would be great!
I used to apply genokolar's custom partition method as "1.2G DATA + 1.46G INTERNAL SD" before, but i found out that it has some issues with Official 2.3 Roms. One of them -the most important IMHO- is the BOOTLOOP problem occurring in some specific situations!!!
See the details in my post here:
http://forum.xda-developers.com/showpost.php?p=25853141&postcount=134
(Seems that I don't encounter the bootloops on Custom Roms, but i'm not %100 sure and never will be )
So i unfortunately gave up using it, and revert to the stock partition .
I will be grateful to the one who will find a better and reliable solution. Hope to see it soon...
I still have to gather more information on the official update "modus operandi".
My goal is to simply reformat both partitions and then swap their mount points.
If the official update formats the partitions before applying the flashing official ROM files, then partitioning changes shouldn't cause any failure on the official update.
But like I said, I'm still yet to confirm that info.
Gen's idea was great (I learned a lot just by looking at his scripts) but resizing partitions has its dangers.
Since "no one" really uses the internal memory, why not simply exchange its room with /data, right?
This would be awesome! I would love to have 2gb for apps, instead of cluttering my phone.. plus the 2gb of internal storage are just a waste for me.. I never use them.. so this would be great!
I have the 7" Tab 4 and am running rooted stock ROM. Have Titanium Backup pro, but there's no option to "move to SD" for any application, even ones I know can be moved to SD. Also, using the regular Android interface to move apps, sometimes they fail with an unhelpful error of "Unable to move app to SD".
Also, I tried to move my Titanium Backup folder from internal storage to the external storage. Moved it using ES File explorer to /storage/extSDCard/TitaniumBackup but TB doesn't detect it, and if I browse to it and set it as the folder, it tells me the folder is not writeable.
Have you applied the kitkat sd patch/fix and reformatted your sd? I cant remember what you need to format sd to as mine worked striaght out of its package on my tab s.
DUHAsianSKILLZ said:
Have you applied the kitkat sd patch/fix and reformatted your sd? I cant remember what you need to format sd to as mine worked striaght out of its package on my tab s.
Click to expand...
Click to collapse
Applying the patch fixed part of the problem - TB can now write to the SD card. I didn't reformat - SD card was working otherwise and worked straight out of the box too.
Still no "move to SD" option (or the reverse) though.
Try folder mount from the play store
http://www.devasque.com/foldermount/index.html
That's has the download and has the [How to] and tips
You can use an app like rom toolbox or link2sd and it should let you move the majority to your sd card. Now some apps do not allow this period. Its how the dev had coded their app to work but if you try these it may help a bunch. I myself use the rom toolbox lite and have no problems at all!
Sent from my SM-T230NU using XDA Premium 4 mobile app