Is it necessary to move dalvik cache to sd? If it is, what should i do to it with terminal emulator? Or should i delete them in the custom recovery?
Im very active in downloading apps and games and i realized my phone memory is decreasing eventhough my app2sd space is 300+ left.
Sent from my LG-P500 using XDA Premium App
it isn't necessary but it is reccomended
this option is available in all Rom because it helps to save memory...
shotgun32 said:
Is it necessary to move dalvik cache to sd? If it is, what should i do to it with terminal emulator? Or should i delete them in the custom recovery?
Im very active in downloading apps and games and i realized my phone memory is decreasing eventhough my app2sd space is 300+ left.
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
if you have a2sd in your rom, acquire root shell '#' in terminal emulator by typing 'su' and pressing enter. then enter the command 'a2sd cachesd' without quotes. reboot phone afterwards.
Thanks... but what if i move it to sd card, my sd card will keep decreasing too right due to the dalvik cache added. What happen if finally my sd card turns to 0mb due to full of dalvik cache saved and moved to sd card?
Sent from my LG-P500 using XDA Premium App
victortangocharlie said:
if you have a2sd in your rom, acquire root shell '#' in terminal emulator by typing 'su' and pressing enter. then enter the command 'a2sd cachesd' without quotes. reboot phone afterwards.
Click to expand...
Click to collapse
Hey i have tried do what u said in the terminal emulator im not pretty good with this app so i type app2sd cachesd then i press enter. Then it says permission denied and literally all my apps keep force close and i have to reboot. It tooks a while than the usual then it finally boot up. Then i checked in settings, my phone memory increasing only 2mb?
Sent from my LG-P500 using XDA Premium App
Lol i typed 'app2d' no wonder it went wrong. So i try it again but this no mistake and then it said darktremor bla bla bla then my phone reboot. Then i checked in my settings my phone memory are still the same like before??!
Sent from my LG-P500 using XDA Premium App
There is no way you will get to have no space on the EXTx(2,3 or 4) partition. I have moved everything on the SDCard (class 6) and it didn't even get to 100MB used (from 512MB). Anyway, I can't imagine aynbody installing 300-400 apps on the phone.
So in any case I would recommend to put everything on the SDCard (class6 or higher is recommended).
After you flash the A2SD darktremor scripts from whatever custom recovery you have I would recommend to do:
1. adb shell
2. su
3. a2sd cachesdreset -->the phone will reboot
1. and 2. again after reboot
4. a2sd datasd -->the phone will reboot
You should be fine afterwards.
marioemp2k7 said:
There is no way you will get to have no space on the EXTx(2,3 or 4) partition. I have moved everything on the SDCard (class 6) and it didn't even get to 100MB used (from 512MB). Anyway, I can't imagine aynbody installing 300-400 apps on the phone.
So in any case I would recommend to put everything on the SDCard (class6 or higher is recommended).
After you flash the A2SD darktremor scripts from whatever custom recovery you have I would recommend to do:
1. adb shell
2. su
3. a2sd cachesdreset -->the phone will reboot
1. and 2. again after reboot
4. a2sd datasd -->the phone will reboot
You should be fine afterwards.
Click to expand...
Click to collapse
Hey i have done what you said in the terminal emulator. The command a2sd cachereset and a2sd datasd. But after my phone reboots i checked again in settings that my phone memory are sill the same like before??? And the Low On Space message are still appearing in m notification bar. Wtf??!!
Sent from my LG-P500 using XDA Premium App
No, and I wouldn't recommend it.
Related
So i use megatron rom with app2sd. I install so many apps and without i notice my phone memory decreasing to 15mb. But my app2sd space are 350mb. And 'text message memory full' appear in my notification bar means i cant receive a new text message. And after i reboot my phone, some of my apps and games in the menu are gone. And when i trt to uninstall things it took forever same as if i try to install apps from the market.
Of course i know how to fix this, just format my phone. BUT i need to backup all my pictures, music and things and backup my apps using titanium back. But the problem is like i said some of my apps are gone and i cant backup them all!
I plan to wipe my dalvik cache in the custom recovery to free my phone memory. Is it ok? Will my apps get deleted if i do that?
Help!
Sent from my LG-P500 using XDA App
I recommend u back up ur music and pictures in a pc and flash void rom
ccdreadcc said:
I recommend u back up ur music and pictures in a pc and flash void rom
Click to expand...
Click to collapse
The problem is, i cant connect my phone to pc using the usb. When i check the 'mass storage only', it stay like that forever. There is no 'turn on usb storage' message appear.
Sent from my LG-P500 using XDA App
use a card reader
try reflashing megatron ,might work.
try entering this in terminal a2sd cachesd
Note: If you apply Darktremor Apps2SD and still notice internal storage is decreasing, this is due to the dalvik-cache not being moved. By default, Darktremor Apps2SD will not move the dalvik-cache on boot.
If you want to move the dalvik-cache to the sd card, type:
a2sd cachesd (move dalvik to sd card)
a2sd cachesdreset (move dalvik to sd card and clears contents of dalvik-cache)
a2sd cachepart (move dalvik to cache partition)
a2sd cachepartreset (move dalvik to cache partition and clears contents of dalvik-cache)
Make sure your SD card is at least a class 4 before doing this, otherwise you may run into performance issues, unless you move the dalvik to the cache partition.
You still have other caches (i.e. Browser caches) and other data being stored and updated in internal storage, so the number of free space will continue to drop, but at a slower rate (unless you are engage in heavy web surfing, tweeting or facebook socializing.)
ccdreadcc said:
use a card reader
Click to expand...
Click to collapse
my card reader cant read my sd card. sad
mathew3184 said:
try reflashing megatron ,might work.
Click to expand...
Click to collapse
hmm do you think so? i will try this but i will do a nandroid backup first.
mathew3184 said:
Note: If you apply Darktremor Apps2SD and still notice internal storage is decreasing, this is due to the dalvik-cache not being moved. By default, Darktremor Apps2SD will not move the dalvik-cache on boot.
If you want to move the dalvik-cache to the sd card, type:
a2sd cachesd (move dalvik to sd card)
a2sd cachesdreset (move dalvik to sd card and clears contents of dalvik-cache)
a2sd cachepart (move dalvik to cache partition)
a2sd cachepartreset (move dalvik to cache partition and clears contents of dalvik-cache)
Make sure your SD card is at least a class 4 before doing this, otherwise you may run into performance issues, unless you move the dalvik to the cache partition.
You still have other caches (i.e. Browser caches) and other data being stored and updated in internal storage, so the number of free space will continue to drop, but at a slower rate (unless you are engage in heavy web surfing, tweeting or facebook socializing.)
Click to expand...
Click to collapse
sadly, like i said, i cant install any more app. i havent install terminal emulator. ohh i wish i had terminal emulator installed before i encounter this problem
shotgun32 said:
my card reader cant read my sd card. sad
Click to expand...
Click to collapse
try using a linux system.. its prob because ur system doesn't read the funky ext partitions
shotgun32 said:
sadly, like i said, i cant install any more app. i havent install terminal emulator. ohh i wish i had terminal emulator installed before i encounter this problem
Click to expand...
Click to collapse
sorry for doubling, but use ADB - its like terminal emulator but it runs on pc and has nothing to do with the phone
dongimin2 said:
try using a linux system.. its prob because ur system doesn't read the funky ext partitions
Click to expand...
Click to collapse
How to use the linux system?
Sent from my LG-P500 using XDA App
dongimin2 said:
sorry for doubling, but use ADB - its like terminal emulator but it runs on pc and has nothing to do with the phone
Click to expand...
Click to collapse
And how to use the ADB?
Sent from my LG-P500 using XDA App
Following from this thread, I finally partitioned my sd card and had link2sd installed in my ace.
http://forum.xda-developers.com/showthread.php?t=919326
I moved my apps using apps2sd. I found out there are some remaining data in the phone. Are those data : dalvik-cache (.dex) file and lib files (.so) ? Or those are the game saves data. So, if i use Link2SD, i can completely move those data to sd?
It shows an error when I try to start it.. I could not link any of the apps.
Mount Script Error
Mount script cannot be created.
mount: mounting /dev/block/vold/179:2 on data/sdext2 failed: Device or resource busy
Click to expand...
Click to collapse
my 2nd partition is on fat32
did u create both partition as primary?
btw i still think link2sd is buggy and annoying. at least in my experience. sometimes it fails to mount partition during booting and just prompt to reboot, or the moved app wouldnt even show in app drawer.
A2SD works perfectly for me.. There aren't many functions as Link2SD but it does the job..
an0nym0us_ said:
did u create both partition as primary?
btw i still think link2sd is buggy and annoying. at least in my experience. sometimes it fails to mount partition during booting and just prompt to reboot, or the moved app wouldnt even show in app drawer.
Click to expand...
Click to collapse
Yes, both are primary as guided from the thread. :S
So any other than link2sd that can fully move an apps including it's data etc. My internal memory getting full soon.
Pahan88, is App2SD free same thing as A2SD?
here if we said a2sd or app2sd it generally means dartremore a2sd. u need to be rooted, and if ur on gingerbread u need to use kernel which support init.d script which is ketut's cfroot kernel. darktremore a2sd can move apps, data and dalvik cache to sdcard
edited: sorry, just realize ur thread title said cm7 kang. ur already rooted and using cfroot. u just need to flash darktremore a2sd via recovery
Thanks.. Do you mind showing me the right thread? I did a search and there are so many threads about it.. I dont even know which one is the right one.
partition ur sdcard with two partition, both primary. 1st partition as fat32 and 2nd partition as ext2/ext3/ext4
get the flashable zip file from its thread here
put it in sdcard, boot into cwm and choose to mount system and mount data.
choose to install zip from sdcard and flash the earlier zip file.
get terminal emulator from market, open it and do
Code:
su
a2sd reinstall
and ur phone will reboot.
when it boot up, open terminal again and do
Code:
su
a2sd cachesdreset
to move dalvik cache to sdcard, or
Code:
su
a2sd datasd
to move data to sdcard
Hi, I got a new sd card 4gb. But I partitioned using CWM. I checked through MiniTool Partition Wizard, it didnt show any 2nd partition but it did shows reduced MB. Partition via CWM is ok?
And no-one points the poor guy to s2e
Hi there. I saw the information there. Sounds so simple.. Is there anything I should know before I try it? And im not a guy btw.. THanks ^^
WishFinder` said:
Hi there. I saw the information there. Sounds so simple.. Is there anything I should know before I try it? And im not a guy btw.. THanks ^^
Click to expand...
Click to collapse
Sorry, but Yea its that simple But if your a frequent backup/restorer kind of person, using advanced mode may get very confusing and you will get force closes as it brings anything you moved to SD-EXT. Don't worry about the Cache size and ext4 journaling in the settings.
to use link2sd with CM7 KANG rom .just mount the second partition as ext3 format.link2sd will work.
scoffyburito said:
Sorry, but Yea its that simple But if your a frequent backup/restorer kind of person, using advanced mode may get very confusing and you will get force closes as it brings anything you moved to SD-EXT. Don't worry about the Cache size and ext4 journaling in the settings.
Click to expand...
Click to collapse
mm when i run the s2e, I cant click on anything except the "Download cache" part. The others, I cant tap on it. Cant move my apps..
nt working on cm7....
phone rooted
script flashed
n ext3 made....
Have you installed link2sd out anything like that?
Sent from my GT-S5830 using xda premium
For cm 7 I suggest to use s2e from Market. It's is special for CyanogenMod, much simpler to use and install and gives the same effect as a2sd.
Its working
Follow this step :
1. In CWM go to 'mount and stroage' then select 'mount data' and 'mount system'
2. Partition your SD card e.g. takes 1GB
3. Install zip SD card (a2sd darktremor script)
4. Reboot after success
5. Use Terminal Emulator or Better Terminal, if ypu don't have one download it in Market
6. In Better Terminal or Terminal Emulator, start typing 'su' (without quote')
7. Then type 'a2sd install' it will reboot when done
8. Go to Terminal again, type 'a2sd datasd'. When finish it will reboot next
9. Go to Terminal again, type 'a2sd cachesd' if success it will reboot again
10. Finally open Titanium Backup and you see the storage
Note: you need partition your SD with EXT3
Sent from my GT-S5830 using xda premium
[LINK BACK]
While installing rom people often ask for link2sd or s2e support
As of enabling Dark tremor app2sd is difficult for them....
I did an extensive research and came up successful in using and applying it....
I would like to share it here....
####
Before beginning it is assumed that you have a custom clockwork mod recovery and a custom rom is installed on your device. Alternatively, if you are in a stock firmware/rom and want to partition your sd card please Install Clock Work Mod Recovery and Flash a Custom Rom on your device. Also since partitioning your sd card will erase all your data stored in sd card, it is recommended that you backup your data to your computer. Now that you have backed up your data please follow these simple instructions to partition your sd card and install Darktremor App2sd script on your android smart phone.
PARTITIONING SD CARD
_________________________________
1. Reboot your device into Clockwork Mod Recovery.
2. Go to Advance>>Partition SD Card option on your recovery and select a size (for ext 3 partition). This will create an ext 3 file system partition on your sd card called sd-ext. The size of your sd-ext partition should be determined on the basis of how much apps and games you are going to install on your device.
i have 1 Gb sd-ext on 8 gb memory ...
3. Also, select swap partition size as 0 Mb (select 64 or more for gaming purpose)
4. [Optional] Format your sd-ext from mounts and storage>>fromat /sd-ext option in CWM recovery.
5. Reboot your device and open a terminal emulator or shell commander and type in the following command to make sure that your second partition (aka sd-ext partition) is mounted at boot.
mount | grep sd-ext
You should see the following code:
/dev/block/mmcblk0p2 on /sd-ext type ext3 (rw,noatime,nodiratime,barrier=1,nodelalloc,data=ordered)
INSTALLING DTAPPS2SD
___________________________________________
6. Now download Darktremor Apps2SD (link bottom) and copy it to your sdcard.
7. Reboot your device in CWM recovery and then mount your data and system by going to mounts and storage>>mount /data and mounts and storage>>mount /system options respectively.
8. Now go back to main menu and go to install zip from sd>>choose zip from sdcard option and select the dtapps2sd-2.7.5.3-beta04-signed.zip file you downloaded from above.
9. After the script is installed reboot your device.
That’s all. You have successfully installed Darktremor Apps2SD on your device .
Note that the device will reboot again after you reboot your device. This is just to move all your apps to the second partition (sd-ext partition) and is normal.
Also if you want to manage your Apps2SD settings you can either use commands in terminal emulator or download the APPS2SDGUI application from market and manage everything from there. One of the useful command can be a2sd help. Try it on any terminal to see the help file that comes with Darktremor A2SD.
How to check if Apps2SD has been installed correctly...
________________________________________
The following information is for those who are still unsure of whether Apps2SD has been installed and if it is working correctly after root.
Open a Terminal Editor on your phone
When you have the client open, type "su" to gain super user access, and then hit enter. Now type "ls -l /data" and hit enter. You should see a few lines, a couple of which should read on the far right column:
dalvik-cache -> /system/sd/dalvik-cache
app-private -> /system/sd/app-private
app -> /system/sd/app
Notice the -> indicating symlinks and the 'sd'
You can also run: busybox df -h to check the /system/sd that the folder is being used
If this output is visible to you, then Apps2SD is working properly and you have installed it correctly. You will notice that by checking Menu > Settings > SD & phone storage, there is still some internal memory going down due to cache, other data, etc, but the main apps all go on the SD card given the above result. I currently have 29 apps installed (including Google Earth, which is 22.1 MB in size itself) and my internal memory currently shows 119MB of available space.
You can perform more extensive checks by executing the following command:
ls /system/sd/app (this will list all the apps which you have installed to the SD card)
CONFIGURING APPS2D
_________________________________________________________
open terminal emulator,, and type the following:
• a2sd check : Checks a2sd status; displays information incl. where your apps, cahce and data are stored.
• a2sd cachesd : Moves dalvik cache to sd-ext partition.
• a2sd nocache : Moves dalvik cache back to internal storage.
• a2sd data2sd : Move /data/data to /sd-ext/data .
• a2sd nodata : Move /sd-ext/data back to internal storage.
• a2sd remove : Moves apps back to internal storage and sets no a2sd flag.
or u can simply use app2sdgui to do things.. a help is given in app just proceed on installing the app and go to help menu
PRECAUTIONS: tips you should take in mind
________________________________________
After installing Darktremor Apps2SD don’t move your apps to sdcard either from Manage Applications Settings or by using app2sd pro or similar applications because it will ruin all your settings and your script will not work .
Also you may notice that your used space in internal storage shown in Manage Applications Setting is not decreasing even after you install Apps2SD and you may think that the script is not working. But remember if you followed all the instructions from above and got the same results as explained above then the script is working. It is shown so because system is fooled to believe that the apps are in internal storage but in reality they are stored in the secondary partition we created (i.e. in /sd-ext/app folder) on your device.
HAPPY INSTALLING APP2SD script...
A2SDGUI link: https://play.google.com/store/apps/details?id=com.elgubbo.a2sdGUI&hl=en
DT A2SD Version 2.7.5.3 Beta 04 - http://www.darktremor.info/files/a2sd/dtapps2sd-2.7.5.3-beta04-signed.zip
DT A2SD thread on xda : http://forum.xda-developers.com/showthread.php?t=715940
///// HIT ""THANKS"" if i helped u //////
Thanks a lot very clear instruccions.
i used this in themyth rom and it works fine
OPERATIONBUKOL said:
i used this in themyth rom and it works fine
Click to expand...
Click to collapse
yup i camer to know abt it after the myth only...
pressing thanks button is a better way of thanking ...
Link are not working lol....
Sent from my GT-S5830 using xda premium
We recommend using data2sd in the ace?
Enviado desde mi GT-S5830L usando Tapatalk
makalolo said:
Link are not working lol....
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
LINKS are back.....................
e.artillery said:
We recommend using data2sd in the ace?
Enviado desde mi GT-S5830L usando Tapatalk
Click to expand...
Click to collapse
i would personally recommend the LINK2sd ...........next S2E...... and at last DTa2sd..........
as i get reboots on the myth when i connect my phone in mass storage mode........
Thx
Hey Aj.GaLaxY aCE,
very nice work, this made my actual rom being useable, thx!
Could you please tell the advantages and disadvantages of dt-app2sd over link2sd or s2e??
Sent from my GT-S5830 using XDA
unable to swap.
tried from terminal emulator too.
"Swap partion found"
function not implemented..!!"
Aj.GaLaxY aCE said:
i would personally recommend the LINK2sd ...........next S2E...... and at last DTa2sd..........
Hello dude, I installed Link2Sd and also use Manage Applications to move app to SD card. Would there be any problem or how should I correct it??? Please advice.... Thanks button hit.
Click to expand...
Click to collapse
In fact, Darktremor A2SD is very buggy. I personally use S2E. :good:
is this going to effect on my sd card ? it will be format ??
the command for the data moving is : a2sd datasd , n thanx a million for this help cuz i was going outta my mind the last few days ,
How do i move an app to the internal memory using app2sd ? like flash player!
thanks for the great tutorial
sabah98 said:
Aj.GaLaxY aCE said:
i would personally recommend the LINK2sd ...........next S2E...... and at last DTa2sd..........
Hello dude, I installed Link2Sd and also use Manage Applications to move app to SD card. Would there be any problem or how should I correct it??? Please advice.... Thanks button hit.
Click to expand...
Click to collapse
dont use manage applications to move apps.. ..... just use the commands or better download the a2sd gui app(easy to use than using terminal emulator) from playstore.. dta2sd itself moves ur app to sd card.... ... rest can be read from the post
Click to expand...
Click to collapse
dredremon said:
is this going to effect on my sd card ? it will be format ??
Click to expand...
Click to collapse
yep it will affect ur sd-card somewhat...the effect is after long duration and for good quality sd-cards is very low......4-6 years time........ as the applications try to continuosly use the data sector on the sd-card..........
BUT ITS practical to use... so dont worry
chanito88 said:
How do i move an app to the internal memory using app2sd ? like flash player!
thanks for the great tutorial
Click to expand...
Click to collapse
as the name suggest the app is DARKTREMOR app 2 "SD" ......so use mange applications in your ace to move the app to internal memory
SORRY to every one who posted a querry,,, was out of xda for months
Im using GingerBlurB Shreyas rom, which includes A2SD support and Dalvik 2 SD....I know it's Darktremors from using Titanium Backup, my only problem now is I get stuck at splash screen when partitioning sdcard on a 32 swap 512 mb after flashing the rom...My question is how do I activate a2sd scripts when roms like these have the script included...With a few themed roms, there was a terminal emulator command "a2sd" or something like that, that you would type into TE after first boot. I could easily delete the associated script than repackage the zip and flash without the script but I really dont want to....I doubt the script is automatic after first boot considering the sdcard needs to be partitioned right ? I even tried flashing rom without partitioning the sdcard than using s2e I clicked the associated boxes and did a reboot but was stuck on splash screen
Ive always partitioned the sdcard, either installed Ungaze or Darktremors, than after booting I would install Link2Sd for Ungaze and S2E/A2SDGUI for Darktremors...Im not sure if Im doing this all correctly, my aim is to free up as much space on my phone as possible, so that is why ive always used a2sd scripts, to allow me to install as many applications as I can and still have descent performance for the phone...So could someone point me in the right direction of a thread that gives me a full breakdown of a2sd scripts, how to correctly install them ?
The command for darktremor a2sd is 'a2sd install' (without quotes). Type in terminal after su. If that doesn't work you can also try 'a2sd reinstall'
Sent from my LG-P500 using XDA