ace move dalvik cache to sd card without partitioning on stock rom - Galaxy Ace S5830 General

1. enable app2sd
2. it stores all apps in folders in mnt/asec which are mounted asec files, and they are in .android secure folder on sd card
3. dalvik cache files are in data/dalvik cache folder
4. from data/dalvik cache move [email protected]@app name file to mnt/asec/ app name folder
5. rename dalvik file to pkg.odex
in every asec app folder is cca 1.5mb of free space, so it only works for dalvik cache files under cca 1.5mb size.
how to enlarge space in asec folders?

What ya just said?
___________XDA Premium__________
Don't be a noob. Be a newbie..!!
Details here.
____________________________________

Is it just me, or did I not understand a word this guy said.
Sent from my GT-S5830 using Tapatalk 2

what you don't understand?
most app2sd instructions tells you how to do it on partitioned sd card
this is a method od moving dalvik cache files to single partition sd card
apk files are in mnt/asec folder compressed in .asec
so this is the way to move dalvik cache files manually to sd card to free up internal memory
this way you can install zillion apps to ace.
what you don't understand?

sjurics said:
what you don't understand?
most app2sd instructions tells you how to do it on partitioned sd card
this is a method od moving dalvik cache files to single partition sd card
apk files are in mnt/asec folder compressed in .asec
so this is the way to move dalvik cache files manually to sd card to free up internal memory
this way you can install zillion apps to ace.
what you don't understand?
Click to expand...
Click to collapse
In the first step you said enable a2sd. And afaik, a2sd itself requires an ext partition to function! So how is it possible?
___________XDA Premium__________
Don't be a noob. Be a newbie..!!
Details here.
____________________________________

sjurics said:
what you don't understand?
most app2sd instructions tells you how to do it on partitioned sd card
this is a method od moving dalvik cache files to single partition sd card
apk files are in mnt/asec folder compressed in .asec
so this is the way to move dalvik cache files manually to sd card to free up internal memory
this way you can install zillion apps to ace.
what you don't understand?
Click to expand...
Click to collapse
Mnt/asec is not on sd-ext partition. I think it is on the main partition.
Sent from my GT-S5830 using xda premium

shaaan said:
In the first step you said enable a2sd. And afaik, a2sd itself requires an ext partition to function! So how is it possible?
___________XDA Premium__________
Don't be a noob. Be a newbie..!!
Details here.
____________________________________
Click to expand...
Click to collapse
no it doesn't. sams stock rom have built in option to move apps to sd. you only have to enable it. you can do it with app2sd or some similar application. on ace go to settings-applications-manage applications-and choose any aplication. you will see move to sd card option.
so:
1. enable app2sd
2. it stores all apps in folders in mnt/asec which are mounted asec files, and they are in .android secure folder on sd card
you don't have to partition sd card or istall custom rom.

Kakashi Hatake said:
Mnt/asec is not on sd-ext partition. I think it is on the main partition.
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
2. it stores all apps in folders in mnt/asec which are mounted asec files, and they are in .android secure folder on sd card
at one and only fat32 system partition on sd card.
how to enlarge space in asec folders?

dalvik cache files of system apps are labeled [email protected]@apk name. you can do similar thing here:
1. free up space on system/app folder
2. move system apps from data/app to system/app with link2sd (convert to system apps) or some file manager
3. set permissions to be the same as other apk in system/app folder
4. move dalvik cache files and rename it to apk name but extension must be .odex instead of .dex
5. set permissions for .odex files you created
6. reboot

wow..!!It works..Thanks OP:thumbup:

how to enlarge space in asec folders?

I didn't know this, it's very usefull, manually do stuff that link2sd and titanium do.
You can really odex apps just by renaming dalvik cache and putting it in the same address as the app!? I wonder if it works for all apps.

dxppxd said:
I didn't know this, it's very usefull, manually do stuff that link2sd and titanium do.
You can really odex apps just by renaming dalvik cache and putting it in the same address as the app!? I wonder if it works for all apps.
Click to expand...
Click to collapse
yes. works for all afaik. the only problem is:
in every asec app folder is cca 1.5mb of free space, so it only works for dalvik cache files under cca 1.5mb size
so the problem is in asec files, not in apps.

I'm closing this thread. Everything is here http://forum.xda-developers.com/showthread.php?p=30508236#post30508236

Related

Apps 2 sd,darktremor,ungaze.....

We all know there's about what 200mb of internal memory while some higher end models have up to 10gb internal space....i want to move all of my apps to exclude widgets/launchers...unless there is a way to move everything on my phone to sd card...i currently have a scandisk 8gb memory card, what partitions would ya'll recommend for a 8gb memory card, what script could I use and how could I tell that my phone was being ran from the sd card
Sent from my LG-P500 using XDA App
If you want to install a lot of apps, then I think you will want a 1GB or even a 2GB partition. And I suggest that you move apps and Dalvik cache to your SD card, basically leaving only application data on the internal memory. I'm using S2E for this; I don't have experience with anything else. You won't be able to choose which apps to move with this method; you will have to move them all. But they will work fine.
Did you partition ext3 or ext4 or just stay with ext2...im guessing my first move would be to backup my data from sdcard than partition a size, what about your swap ? Did you set it to 0...i just downloaded s2e, the only option I see is download cache, but I know this because I have no ext partition on the sdcard
Sent from my LG-P500 using XDA App
I used ClockworkMod to create my ext partition. It creates an ext3, so I just used that. I did set swap to 0. I think these were the steps involved:
- Backup SD card
- Enter ClockworkMod Recovery and choose to partition the SD card
- Select a size for the ext partition and choose 0MB for swap
- Reboot phone and copy data back to the SD card
- Use S2E app to choose what gets moved to the SD card (applications and Dalvik cache)
I appreciate it mech, I figured those were right around the right steps
Sent from my LG-P500 using XDA App

Link2SD Apps/Games Files

In Link2SD, when I move apps/games to SD card, does that go to the main one or the second partition ext3?
Is it good to store apps/games in main one or ext3?
You use link2sd to free up internal storage.
You must link apk, dalvik cache, and libs to ext3 or ext2/4 depending how you have formated your partition. Dont move launcher because of performance.
In the end, yes its safe.
gengi said:
You use link2sd to free up internal storage.
You must link apk, dalvik cache, and libs to ext3 or ext2/4 depending how you have formated your partition. Dont move launcher because of performance.
In the end, yes its safe.
Click to expand...
Click to collapse
Where do I store my apps/games? In main SD card or ext3 partition?
For storing you use the sd card (fat32 partition). For using with link2sd you must use the ext partition.
gengi said:
For storing you use the sd card (fat32 partition). For using with link2sd you must use the ext partition.
Click to expand...
Click to collapse
So Music/Image files can be stored in SD card (FAT32 partition) and install apps/games in ext3 partition?
I thought ext3 partition was to store dalvik cache and libs files
The ext partition stores the apk, dex and lib files when you create a link. If moved normally to SD Card, then it's moved to the 'normal' fat partition where you store music and stuffs.
Sent from the other side... of the screen
Conclusion said:
In Link2SD, when I move apps/games to SD card, does that go to the main one or the second partition ext3?
Is it good to store apps/games in main one or ext3?
Click to expand...
Click to collapse
if u configure the link2sd .. there is an option where to store the linked apps.. external or internal... choose external...
## some times the apps get stored on SD card and arent linked to sd-ext as in case of stock custom roms,.... so u have to manualluy multi select and just press.. actions-- create link ...
u can check where the roms are installed by slecting from the drop down menu -- linked ,, on internal .. on sd card ,, system etc..
dxppxd said:
The ext partition stores the apk, dex and lib files when you create a link. If moved normally to SD Card, then it's moved to the 'normal' fat partition where you store music and stuffs.
Sent from the other side... of the screen
Click to expand...
Click to collapse
So ext3 partition stores apps .APK, dex and lib files in and the main partition is for music/images file
Aj.GaLaxY aCE said:
if u configure the link2sd .. there is an option where to store the linked apps.. external or internal... choose external...
## some times the apps get stored on SD card and arent linked to sd-ext as in case of stock custom roms,.... so u have to manualluy multi select and just press.. actions-- create link ...
u can check where the roms are installed by slecting from the drop down menu -- linked ,, on internal .. on sd card ,, system etc..
Click to expand...
Click to collapse
Apps APK, dex and lib files aren't suppose to be stored in the main SD?
Conclusion said:
So ext3 partition stores apps .APK, dex and lib files in and the main partition is for music/images file
Apps APK, dex and lib files aren't suppose to be stored in the main SD?
Click to expand...
Click to collapse
Is this correct?

[Q] I need clarification about android storage

Hi to all.
I need some clarification about Android storage, please.
How many storage units Android OS have? Including a possible microSD external Card.
Internal Storage, internal memory?! Whats the difference and location in file system folders?
When an app is installed from market where does it go?
In application manager, in most apps there is an option "Move to SD card"...
If I have an external micro SD Card and choose this apps option "Move to SD card" where the heck is suppose to going the app or some part of it? (Data? Apk? Cache?) It's not in external microSD Card! So what is "Move to SD Card".
I'm confused here need some expert (but simple) explanations.
Thanks.
sammmurai said:
Hi to all.
I need some clarification about Android storage, please.
How many storage units Android OS have? Including a possible microSD external Card.
Internal Storage, internal memory?! Whats the difference and location in file system folders?
When an app is installed from market where does it go?
In application manager, in most apps there is an option "Move to SD card"...
If I have an external micro SD Card and choose this apps option "Move to SD card" where the heck is suppose to going the app or some part of it? (Data? Apk? Cache?) It's not in external microSD Card! So what is "Move to SD Card".
I'm confused here need some expert (but simple) explanations.
Thanks.
Click to expand...
Click to collapse
Well in Android you have a couple of partitions. When you install apps from the market their apk files are most commonly found in /data/app/ folder. Their data goes to /data/data/ .You also have the /system/partition where core system files are found along with the system apps. You also have a /cache/ partition and /dalvik-cache one I think. As for moving to SD it moves most of the data and cache I think.
Sent from my LG-P350 using xda premium
Commonly, android phones have 3 storage places:
-internal system space (/system)
-internal user space (/data)
-external space (/sdcard and /mnt/asec)
Apps have 4 parts:
-application file (.apk)
-libraries (.so)
-dalvik-cache (.dex)
-data (gane saves, data bases, xml files, text, etc, that the app stores as additional data)
dalvik-cache and data of apps always remain on internal user space (/data).
The application file and libraries are stored on the memory the app is installed to (if moved to sd card, the are stored in the android secure sd partition /mnt/asec)
When dealing with system apps:
-in deodexed systems, application files go to internal system space system/app. dalvik-cache, libraries and data to internal user space (/data).
-in odexed systems, application files and dalvik-cache go to internal system space /system/app. Libraries and data to internal user space (/data).
Thanks for the replies now its more clear.
When you referer external space /sdcard and /mnt/asec are these in the device or in external micro sd card?
Where do micro sdcard enters here?
Thanks
sammmurai said:
Thanks for the replies now its more clear.
When you referer external space /sdcard and /mnt/asec are these in the device or in external micro sd card?
Where do micro sdcard enters here?
Thanks
Click to expand...
Click to collapse
Micro SD card is located in /mnt/sdcard/
Sent from my LG-P350 using xda premium

move data files

Hi all
q: how i can move data files like ( facebook data files not only app ) from internl memory to sd ??
When moving some apps like facebook,Whatsapp by link2sd app method, data is also moved to sd card with app. If you running any big games, game data is movable to sd card.
Hit thanks if I help
Sent from cooperve.
Raxit k. Tandel said:
When moving some apps like facebook,Whatsapp by link2sd app method, data is also moved to sd card with app. If you running any big games, game data is movable to sd card.
Hit thanks if I help
Sent from cooperve.
Click to expand...
Click to collapse
Ohh no data files not moving , it still internal memory , iam using link2sd with root it moving (lib,app,cach) only ...
up up
open link2sd -> click an app u want to move-> click move to sd -> press OK
or you can back it up using titanium backup
note: dont move widgets on ur sd also system app
As said earlier, link2SD won't move the data folder of the application to the SD card.
The "Move to SD" action moves the .apk file to the SD card (in /mnt/asec), but leaves the data folder and the dalvik cache (the name_of_the_app.dex which is in /data/dalvik cache).
The best way to free internal memory with Link2SD is to move the application in internal storage, then to link the .apk, the dalvik cache and the libraries to the 2nd partition of the SD card.
Example : an application has a 3Mb apk file, a 1Mb dalvik cache file and an 5 Mb data folder including 3Mb libraries.
All in internal storage : 9 Mb
Action "Move to SD card" : 3 Mb on the SD card (the .apk file), but 6Mb remain in internal storage (dalvik cache and data folder)
Action "link to 2nd partition" with everything checked (apk file, dalvik cache and libraries) : 3 + 1 + 3 = 7 Mb on the 2nd partition of the SD Card, 2Mb only in internal storage (the data folder without libraries).
To answer the first question of the thread : I don't know if it's possible to move the entire data folder to the SD card. I never found a way to do, it may not be allowed by the Android system.
Thanx all

[Q] moving specific app's data to SD-EXT(or SDCard)

i want to move specific app data(/data/data/klb.android.lovelive and subdirectories) to sd-ext partition(/data/sdext2/)
Directory Bind or FolderMount are moving data in /mnt/sdcard/Android/data and obb files to external sdcard, which for devices with internal storage.
i'm not trying to move obb files or data in sdcard.
is there any way to move one app data to sd-ext? i don't want to move hole /data/data to sd-ext(data2ext)
I have a similar problem,can't download or move apps to sd...will keep checking this thread
Sent from my N9510 using Tapatalk
Setting...storage...sdcard...new sdcard now I have sd0 internal...sd1 external
Sent from my N9510 using xda app-developers app
HI
to move the data to sdcard you can go to settings/apps/manage apps (it might be different for you just go where you usually manage your downloaded apps) after that select the app you want and click on the button "move to sdcard" or you can use appmgr or other app to sd like apps : https://play.google.com/store/apps/details?id=com.a0soft.gphone.app2sd
i guess directory bind can bind any directory even data (it's been a long time since i didn't use it though )
and sd card partition is not in data/sdext2 because data is an independent partition , it might be found in mnt/sd-ext or something like that though , just investigate your root directorry with a root explorer
sorry, but app at your link doesn't move data app, only app... I'm wrong?

Categories

Resources