Related
hello
Im going to flash cyanogen 7.1 rc1 on my nexus one
till now with stock gingerbread I used link2sd and I'm very satisfied with it. unless A2SD it allows me to choose which apps to move to my ext partition.
Now I found out that s2ext, and as far as I realized, it should do the same of link2sd but should allow me to move all the apps (link2sd doesn't allow to move some system apps like maps) and to move data to ext
am I right?
Moreover which are the drawback of moving an app's the data folder to ext?
thx for the replies
manolone
I believe S2E will let you move dalvik, which is a big bonus...
s2e - will move all to ext partition...
link2sd - u can choose which app to move.
both have an option to move dalvik cache and even /data/data
hey guys
wazzzzzzzup
so, I'm on CM7 and wanna download Pocket legends from the Market but it says that I don't have sufficient space. I've tried deleting dalvik cashe and no good.
the game size is 28mb.
Any Ideas???
themohd said:
Any Ideas???
Click to expand...
Click to collapse
Delete the files /cache/download*apk in order to get some more space for the downloads. Maybe that's sufficient. If not you can move the cache to a virtual disk. Try searching in the forum.
It's a market 3.* problem. The downloads shouldn't go to /cache and should also be cleaned up after succesful installation.
Thnx for the rep.
deleting downloadfile.apk wasn't enough, I remeber using a virtual cache didn't work for me before, imma try that again .
thanx again dude
Do this in CWM (recovery):
- wipe cache partition
- wipe dalvik cache
If it doesn't work and you have very little internal space left, uninstall 2 or 3 bigger games so that there's enough space again.
How much free space do you have in /datadata? (Use Root Explorer to check, etc.)
If it's less than 28mb (or however big the game is), you need to either: 1) delete some apps, or 2) move apps to sdcard.
Thanx guys,
But I solved the problem without deletin' anything, by moving the cache to /Data/Cache
if anyone need it, here is it how:
in the terminator write this:
mkdir /data/cache
busybox rm -rf /cache
busybox ln -s /data/cache /cache
and thats all
GuYWith a deodexed and de-bloated Samsung Rom we have 500mb plus of free space on System partition which is wasted space.
I just tried something to free up some space for shared data/sdcard partition by moving Dalvik Cache from /data to /system then creating a folder link back in data to keep original location settings.
Took 30 seconds and freed up 260mb! This is what you do:
1. Using root explorer or similar. Go to /Data.
2. Navigate to "Dalvik-Cache" directory. Long press on it and select "move".
3. Navigate back to root directory and then to /System.
4. Paste the directory you must select rw first top right hand corner. It will take a minute to copy.
5. Now long press on the moved Dalvik-Cache directory in /System and select "Link to this folder" option.
6. Navigate back to /Data and paste the link.
7. Done! You now have moved the Dalvik-Cache location to unused space on System partition and left a sym-linked directory so Android thinks nothing has changed!
Note!: If you wipe Dalvik Cache from recovery a new directory will be recreated in Data and your moved directory in System will no longer be used it will just sit in System taking up space.
AFTER A DALVIK CACHE WIPE FROM RECOVERY YOU MUST DELETE THE DIRECTORY YOU CREATED IN SYSTEM AS IT IS NO LONGER USED. SIMPLY REPEAT THE ABOVE STEPS TO ACTIVATE THE MOD AGAIN.
Good luck. A REAL Dev could you please turn this into a CMW zip with the reverse undo counterpart to be flashed before a Rom upgrade.
UPDATE: looking at the link posted by a helpful person below (thanks!) I think we need to make /system mount as rw for this to work. Please help develop this idea more if anyone can help thanks
Sent from my GT-I9300 using xda premium
Is it work on cm10? I have over 1gb free on system partition
jnr21 said:
Is it work on cm10? I have over 1gb free on system partition
Click to expand...
Click to collapse
I'M not sure haven't used cm10 yet but it should do. Just discovered a Dalvik Cache wipe from recovery recreates the directory in Data to the MOD needs to be repeated after this... makes it very safe to try on cm10!
I'm hoping a real Dev can take this idea and bake it into to custom Rom's and find more data we can move to free up more space
Sent from my GT-I9300 using xda premium
Hi,
Maybe it's possible to do this via init.d script? It will be more convenient.
It's possible via init.d script to move dalvik-cache to /cache for example... so...
Just a thought or simply move it to /cache.
EDIT:found this: http://petermolnar.eu/linux-tech-coding/how-to-move-dalvik-cache-to-system-partition-in-android/
Is this similar to the function "Integrate sys Dalvik into ROM" from Titanium Backup?
[email protected] said:
Is this similar to the function "Integrate sys Dalvik into ROM" from Titanium Backup?
Click to expand...
Click to collapse
Yeah I guess it is but if you do it through titanium the Dalvik Cache files are put with their apk files so wipe Dalvik Cache in recovery no longer works... Not 100% sure this is right tho
Sent from my GT-I9300 using xda premium
viking37 said:
Hi,
Maybe it's possible to do this via init.d script? It will be more convenient.
It's possible via init.d script to move dalvik-cache to /cache for example... so...
Just a thought or simply move it to /cache.
EDIT:found this: http://petermolnar.eu/linux-tech-coding/how-to-move-dalvik-cache-to-system-partition-in-android/
Click to expand...
Click to collapse
Yeah should be possible. I think a CWM zip would be best along with an undo version. I now have /Data/app directory moved so before a Rom update or nandroid backup it will be necessary to undo the move. I'll see if I can work out how to do this. Hopefully someone could help out. I'M not code literate yet lol!
Sent from my GT-I9300 using xda premium
if u wanna free up the /data partition, it is a good and proper way to move the dalvik-cache elsewhere. but IMHO, the /system partition is not a good place to move to since by design the system partition is not suppose to have any frequent or unnecessary read write and thus it is ro by default. the other reason is its importance since it is the core part of the system. you can afford to pay for a corrupted data or cache partition but not the system partition since as long as the system files are save the whole system can be rebuilt in case of data loss etc
i am not against this trick and i only want to tell you my opinions. so if possible i would recommend u to put the dalvik cache somewhere else like the cache partition
ykk_five said:
if u wanna free up the /data partition, it is a good and proper way to move the dalvik-cache elsewhere. but IMHO, the /system partition is not a good place to move to since by design the system partition is not suppose to have any frequent or unnecessary read write and thus it is ro by default. the other reason is its importance since it is the core part of the system. you can afford to pay for a corrupted data or cache partition but not the system partition since as long as the system files are save the whole system can be rebuilt in case of data loss etc
i am not against this trick and i only want to tell you my opinions. so if possible i would recommend u to put the dalvik cache somewhere else like the cache partition
Click to expand...
Click to collapse
Yes I've discovered that it's prob not a good idea to leave System rw.... all that wasted space tho
Sent from my GT-I9300 using xda premium
rlorange said:
Yes I've discovered that it's prob not a good idea to leave System rw.... all that wasted space tho
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
u can resize the system partition, and then reassign the disk space freed up to other partitions
NOTE: this is risky and may brick your phone
if you r interested, you can get some more info in my blog posts (based on I9000)
Free more available disk space from NAND - PART I
Free more available disk space from NAND - PART II
freeNANDmod - get more space from NAND - PART III
freeNANDmod - get more space from NAND - PART IV
- symbolic linked dalvik-cache directory may cause issues in some application, use the bind mount instead of this
- titanium backup feature (integrate dalvik-cache to rom) is not mean what you think. it is not for moving dalvik-cache to the system partition
edit: i writed a script what can do exactly what we need.
auto check the dalvik-cache already moved to the cache directory, if yes bind mount the directory. if not, moved the cache then bind mount
you can adjust the cache and the data partition in the beginning of the file, dont touch anything else! default is defined for the SGS3
log file is /cache/dalvik_mover.log
after a full cache wipe the script will be move the dalvik cache after the next reboot
just unzip and put this file to the /system/etc/init.d/ folder
then set the permission to 0755
reboot
this script is not using the system partition, so no need to remount the system as r/w. its used the cache partition what have more free space anyway and always writeable.
and the bind mount method is compatible with everything.
rlorange said:
GuYWith a deodexed and de-bloated Samsung Rom we have 500mb plus of free space on System partition which is wasted space.
I just tried something to free up some space for shared data/sdcard partition by moving Dalvik Cache from /data to /system then creating a folder link back in data to keep original location settings.
Took 30 seconds and freed up 260mb! This is what you do:
1. Using root explorer or similar. Go to /Data.
2. Navigate to "Dalvik-Cache" directory. Long press on it and select "move".
3. Navigate back to root directory and then to /System.
4. Paste the directory you must select rw first top right hand corner. It will take a minute to copy.
5. Now long press on the moved Dalvik-Cache directory in /System and select "Link to this folder" option.
6. Navigate back to /Data and paste the link.
7. Done! You now have moved the Dalvik-Cache location to unused space on System partition and left a sym-linked directory so Android thinks nothing has changed!
Note!: If you wipe Dalvik Cache from recovery a new directory will be recreated in Data and your moved directory in System will no longer be used it will just sit in System taking up space.
AFTER A DALVIK CACHE WIPE FROM RECOVERY YOU MUST DELETE THE DIRECTORY YOU CREATED IN SYSTEM AS IT IS NO LONGER USED. SIMPLY REPEAT THE ABOVE STEPS TO ACTIVATE THE MOD AGAIN.
Good luck. A REAL Dev could you please turn this into a CMW zip with the reverse undo counterpart to be flashed before a Rom upgrade.
UPDATE: looking at the link posted by a helpful person below (thanks!) I think we need to make /system mount as rw for this to work. Please help develop this idea more if anyone can help thanks
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Yes, to get this working you need a system mounted Always in r/w.
So i suggest you to move dalvik on cache partition.
And it's better to do the mod inside ramdisk
vadonka said:
- symbolic linked dalvik-cache directory may cause issues in some application, use the bind mount instead of this
- titanium backup feature (integrate dalvik-cache to rom) is not mean what you think. it is not for moving dalvik-cache to the system partition
edit: i writed a script what can do exactly what we need.
auto check the dalvik-cache already moved to the cache directory, if yes bind mount the directory. if not, moved the cache then bind mount
you can adjust the cache and the data partition in the beginning of the file, dont touch anything else! default is defined for the SGS3
log file is /cache/dalvik_mover.log
after a full cache wipe the script will be move the dalvik cache after the next reboot
just unzip and put this file to the /system/etc/init.d/ folder
then set the permission to 0755
reboot
this script is not using the system partition, so no need to remount the system as r/w. its used the cache partition what have more free space anyway and always writeable.
and the bind mount method is compatible with everything.
Click to expand...
Click to collapse
thank you very much works perfect
Hi,
I've noticed that even after I move apps to sd-card partition ,the apps data is still saved on the internal memory.
can I move the data to the sd-card ?
That's normal. Even link2sd leaves data in internal memory.
Sent from my GT-S5830
eliranko said:
Hi,
I've noticed that even after I move apps to sd-card partition ,the apps data is still saved on the internal memory.
can I move the data to the sd-card ?
Click to expand...
Click to collapse
Have wiped completely after partition ? Did u wipe dalvik cache too ?
Then apps2sd wont creat a link and link2sd too !
U need to create a new partition
delete the first one
And whenever u change rom donot wipe dalvik cache !
rahul93 said:
Have wiped completely after partition ? Did u wipe dalvik cache too ?
Then apps2sd wont creat a link and link2sd too !
U need to create a new partition
delete the first one
And whenever u change rom donot wipe dalvik cache !
Click to expand...
Click to collapse
wiped completely and wiped dalvik too.
link2sd does create a link .
why shouldn't I wipe dalvik ?
*link2sd links only app,dex,libs to the partition. I wanted to know if there's a way to link the app's data too
eliranko said:
wiped completely and wiped dalvik too.
link2sd does create a link .
why shouldn't I wipe dalvik ?
*link2sd links only app,dex,libs to the partition. I wanted to know if there's a way to link the app's data too
Click to expand...
Click to collapse
Link2sd cannot link the app's data.
Other apps like s2e for cyanogenmod roms can, but s2e isn't compatible with link2sd.
Also there is an option in titanium backup to move the app's data to sd card. I don't know if this option causes conflicts with link2sd.
dxppxd said:
Link2sd cannot link the app's data.
Other apps like s2e for cyanogenmod roms can, but s2e isn't compatible with link2sd.
Also there is an option in titanium backup to move the app's data to sd card. I don't know if this option causes conflicts with link2sd.
Click to expand...
Click to collapse
Thnx!
2 questions:
1. moving the app's data to partition would slow it significantly?
2.would I need to format my parition to use s2e, or just uninstall link2sd?
I'm on CM7 and the system is mounted rw. This allows me to link data to system and use otherwise dead space. Also doesn't slow anything down. I done this using root explorer.
Sent from my GT-S5830
mitchst2 said:
I'm on CM7 and the system is mounted rw. This allows me to link data to system and use otherwise dead space. Also doesn't slow anything down. I done this using root explorer.
Sent from my GT-S5830
Click to expand...
Click to collapse
how do you move the data to sd after mounting as rw?
eliranko said:
how do you move the data to sd after mounting as rw?
Click to expand...
Click to collapse
Is your system mounted rw?
Sent from my GT-S5830
mitchst2 said:
Is your system mounted rw?
Sent from my GT-S5830
Click to expand...
Click to collapse
yes. now what?
Is there free space on your system?
Do you use link2sd?
Sent from my GT-S5830
mitchst2 said:
Is there free space on your system?
Do you use link2sd?
Sent from my GT-S5830
Click to expand...
Click to collapse
90mb on internal
1.8GB on partition(ext4)
yes,I use link2sd
Don't recommend sd.
Just done this guide
http://forum.xda-developers.com/showthread.php?t=2022521
Sent from my GT-S5830
I'm looking for the best way to move /cache partition which is at 210mb to micro sd card. I'm having freezes when apps access that cache partition. While some apps are working fine, i could gain a bit of stability if i pull this out.
Looked on google for link2sd, and formating the sd card to a specific file type. So there could be a work around for cache, too.
It'd help me a lot to find a solution for this problem.
someone try this:https://play.google.com/store/apps/details?id=com.spazedog.mounts2sd
That's not it, that moves the APP (all of it) to a 2nd EXT4 partition on the SDcard and creates a symlink.
To move the /cache partition, would require a little tweaking. You're still needing the 2nd partition, /cache cannot be on FAT32.
neier24 said:
I'm looking for the best way to move /cache partition which is at 210mb to micro sd card. I'm having freezes when apps access that cache partition. While some apps are working fine, i could gain a bit of stability if i pull this out.
Looked on google for link2sd, and formating the sd card to a specific file type. So there could be a work around for cache, too.
It'd help me a lot to find a solution for this problem.
Click to expand...
Click to collapse
Sent from my GT-N7000 using xda app-developers app
I got sick of trying to fix. I'll see what i can do in a couple of months when i get back to this... after a "short" break.