hello guys,
id like to thank jf for making 1.5 the best experience ever.
ok so im running jf 1.5 and i used the apps2sd app to move my apps and dalvik-cache over,
but i noticed that when i moved the dalvik cache it made my menu super slow. and it takes like 10 seconds to reload all my icons and widgets..
can anyone point me to or help me out in moving the dalvik cache back to the internal memory?
can anyone help??
I would use adb tools for this since it's a lot quicker.
But, you need to use busybox
from terminal or adb shell
busybox cp -a /system/sd/data/dalvik-cache /system/data/data
I would boot into recovery mode after doing the copy.
Then in recovery, I'm pretty sure I did
busybox rm -rf /system/sd/data/dalvik-cache
I'm not giving you exacts, but I had the EXACT same problem, and it's not your Dalvik cache that's the problem, it's either other cache's you set up like browser (not sure) or for sure if you moved /data/data to the SD that's going to slow things down A LOT.
If you have a class 2 that may be a problem.
But I have apps, apps private, and dalvik-cache on my class 4 sd card. Everything is super snappy, with my system overclocked to 527 MHz.
Working great. Try that. Also look for move cache in recovery mode. That's how I put everything back. There's also a thread about moving cache back to internal memory. Or it's called undo cache.
yay bro thanks a lot!
now it doesnt lag as much.
btw i have a class 4 memory card.
i dont get why it was slow though?
i only moved the apps and the dalvik cache with the apps2sd app?
anyone???
Related
does any1 have any idea if moving the dalvik-cache to the sd card is a bad idea? i did it once and after that i did a nandroid backup and i believe it bricked my phone.
Does moving the dalvik-cache to your sdcard prevent you from doing a secure nandroid backup?
thx in advance for any helpful tips/advice
I moved it based on the instructions in the ADP1.5H Build thread, but it didn't work for me. My G1 just froze at the Tmobile G1 screen. Didn't even get to the updated ANDROID flash screen.
I had to do a wipe and reboot to get it working again.
A few people have reported getting it to work and freeing up the full 71MB of internal memory, but it didn't work for me.
Let me know if you find a solution.
kwigybo said:
I moved it based on the instructions in the ADP1.5H Build thread, but it didn't work for me. My G1 just froze at the Tmobile G1 screen. Didn't even get to the updated ANDROID flash screen.
I had to do a wipe and reboot to get it working again.
A few people have reported getting it to work and freeing up the full 71MB of internal memory, but it didn't work for me.
Let me know if you find a solution.
Click to expand...
Click to collapse
I'm in the same boat as you, I could never get it to work :/
I believe you must have a apps2sdcard build for this to work...
Yes you need an app2sd rom. I done mines on adp1h1.5
The first time I started the phone it took like 5mins so I rebooted it in the middle of the android screen then it took another 5mins then finaly booted with only using 12mb
Moving dalvik-cache works fine, I do it all the time. One thing to keep in mind is that after u moved it, nandroid backup will not back it up. So if you have multiple builds backed up like G H and adp builds and u put the dalvik cache in the same place on the sdcard you may run into problems when reverting back to other diffeeent builds. I always put them in different places on the card so I don't have problems with that.
I've been trying to movie dalvik-cache as well and I can't get past the G1 Loading screen. I was fine on 5.0.2Hr5-A2SD. I went from that to ADP1.5Hr2-A2SD last night and I couldn't get it to link with my apps on the sd. Did i have to start with r1 first or what? When i try to access my sd card from my pc while its in my phone i get a message saying prepare sd card and then it doesn't do anything it won't mount. Any suggestions?
It's strange. I have been able to move my apps to the SD card with no problem. I tried the move the dalvik-cache with the AppsToSD app and it worked..... once.
I had to wipe my phone, so I re-ran the AppsToSD app again and moved the dalvik-cache. That's when the problems started. None of my programs worked after that. I tried a reboot and it it froze at the G1 screen for about 10 minutes. I pulled the battery wiped to get it to a bootable state.
SHould i have let it continue booting longer?
Any idea on what I might be doing wrong?
Thanks!
Its probably best to cp the dalvik cache, then reboot. After it starts up again, rm the davlik cache and then ls. Then reboot again.
Doing it all in one shot seems to cause problems.
andonnguyen said:
Its probably best to cp the dalvik cache, then reboot. After it starts up again, rm the davlik cache and then ls. Then reboot again.
Doing it all in one shot seems to cause problems.
Click to expand...
Click to collapse
So this method worked for you?
I'll give it another shot when I get home tonight. Thanks for the advice.
I had /data and dalvik moved on JFvMOD and it worked great.... then I got a random reboot during downloading an app and it fried my EXT2 partition. Haven't ran apps, /data or dalvik since. I wait till the official JFvMOD 1.5 shows up.
rm * in dalvik-cache in your sd should suffice.
a better way is to mv the old dalvik-cache to a new name, so you can quickly go back to your old system. (mv only involve one inode change, much faster and safer)
So I rooted my phone and installed JF1.5 last night. As of right now I have no plans to move anything over to the SD card as I am still learning, but for some reason I am missing phone memory.
I have the same apps installed as before I rooted and I am at 23MB where I was at ~40MB before I rooted the phone on RC33.
Can anyone point me in the right direction? I tried searching and came across with a solution, but that seems to be if you are moving stuff to the SD card. I tried to run the commands:
Code:
cp -a /data/dalvik-cache /system/sd/dalvik-cache
rm -r /data/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
reboot
And I get an error after the cp about /system/sd/dalvik-cache being 'read-only'.
Your help is greatly appreciated.
Those steps will only work if you have apps to sd. Do not try to do that without it, you'll mess up your phone. As for the greater amount of space being used, did you do a wipe when upgrading to JF1.5? If not it carries over all data to the new ROM so if you used the browser at all, the cache for it is usually fairly large and could account for a lot of that missing space. Try clearing that(in browser press menu->settings->clear cache)?
I have the same problem, and came accross the same solution to find out its only for people that have apps2sd... the help would definitely be appreciated
It sounds like its an additional cache for something. Try the following:
Restart your phone - did that work?
Go into app management and clear the data for the android market app.
It's possible there's another 1.5 app that causing cache to build up, but almost rest assured it's cache and probably market cache if you just redownloaded all your apps from there.
If all else fails(and I mean ALL else) you can try these commands:
su
busybox rm -rf /data/data/*
busybox rm -rf /data/dalvik-cache/*
reboot
but leave that as an absolute last resort. If you mess up even 1 character in that, you can really mess up your phone.
should be:
su
busybox cp -a /data/dalvik-cache /system/sd/
rm -rf /data/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
reboot
Click to expand...
Click to collapse
double post. sorry.
Okay I am just going to re-install JF and start from scratch to see if I can clear some of this memory up.
Just want to make sure - I do alt+w, THEN alt+s to wipe and then reload JF1.5?
Sorry to double post, but I just did a fresh install of JF1.5 preluded by a wipe (alt+w) at the bootloader screen.
The JF1.5 build starts out with 52MB of Available Space. This seems to be pretty low based on what I can remember from the regular updates. Can anyone shed some light or am I just better off doing cache/apps2SD to clear up some room?
Wow I was just wondering if I was the only one....I currently have available 24Mb nd I used the commands that is located at the H wiki web site....which worked well to bring back my application which were located in my Ext2 partition....I recently wiped my cache from the market like u guys said it nd it wiped around 5 -10 mb from my avalable (had 14 mb)...so now I am wondering is it the Cache from the phone dat is taking all the available space on my phone (which I think its pretty impossible)
Okay so I have half of my apps installed and I am down to 31MB already.
I am going to move something to the SD Card -- which is the easiest and least risky to move to the SD Card? It seems like the dalvik cache is the biggest and clears up the most space. Can anyone point me in the direction of a tutorial for this or any cache to SD? Thanks.
Stigy said:
Can anyone point me in the direction of a tutorial for this or any cache to SD? Thanks.
Click to expand...
Click to collapse
Sure, look in my sig.
So ive been trying to get apps2sd and i have succesfully done it by using apps2sd2 from the market to partition my card and then i followed the steps by Mailman below and it worked..all my apps were in the sd etc with 73 MB free...but when i click on market...it gives me an option that there is no connection when in fact i do and 2 seconds after it showa the force close message.. anyone have any idea how to fix this?
I had the same issue, had to do a full data wipe to fix it.
well seems that a full data wipe fixes it, but then when i input the commands in the terminal emulator
lucid app
lucid data
lucid dalvik
so i can get everything to the sd card it starts doing the same thing again..any ideas what is causing it?
I'm unfamiliar with the method you're using to get your apps on your SD card - mine are running on the SD card also, but I used the good ol' symlink method to do so...
It would appear your marketplace can't access your apps, or, is being locked out of something - perhaps a permissions issue on your sd partition? I had that issue when I first set up mine. All the apps were copied over with the same user/group and the market place freaked out.
The only way I was able to fix it was to copy all my apps off the sd partition to my computer, do a full datawipe, nuke all my apps, and reinstall them.
I set up a shell script that took the contents of ~/apps/*.apk and sent each to adb install, on its own line, and automated the whole thing. Took about 3 minutes to reinstall my 80 or so apps, and it restored all the app permissions to what they were supposed to - market didn't have a problem afterwards.
futango said:
I have found my problem. This works great. I can't have data on my SD or it will be really sluggish. I redid the flash and the commands, but left out "lucid data" and the phone has 72MB free and feels fast again.
Click to expand...
Click to collapse
Don't move the data and everything should work fine.
i see what your saying. ill have to try that out, but now it seems that after i wiped my data and pressed home+back to reboot my phone it is stuck at the T mobile G1 screen and doesnt want to do anything at all anymore...it just got worse.any way to fix this? ove tried wiping again and i formatted my dscard so no update to reinstall..what should i do?
just wait... when you wipe under the new builds, it may take 10mins to boot for the first time.
also I don't know how it is possible to do app2sd with terminal emulator. when you rm dalvik-cache or app that program should crash before the shell script or command finish
I had this happen as well.. more than once.
And each time it was a result of moving the "data" over to the SD card.
I finally learned my lesson... and my phone is now solid.
Hi,
My experience on 5.02 h is that the data move does not work correctly also.
I have moved the :
apps
apps-private
davik-cache
without any problems.
85 apps installed and 61 megs free with this method.
Browser and market cache cleared 1st.
I found this to be an issue only when I had tried to make my EXT2 partition too big (Over 2GB). Exact same error, moving data to the SD, Market crash. The problem was tied to moving the data though.
I had the same problem. It apeard after I installed TA utility.
The problem is that Market is looking for it's cache directory and can't find it. In my case it's looking for it on the SDcard and I have to make the directory myself: /sdcard/cache/market.
If you have not attempted to move the Market cache to SD you might want to see if you have a /cache/market in your internal memory, and if not create it.
It should solve your problem. (worked for me)
im having the same problem too.. the Application section doesn't work for me, but im able to still go into the Game section. i tried adding a cache folder to the SD still doesnt work
I'm running the **SMS* 3.02 by RSK team on my HTC Desire, the rom works great (I wanted the Amaze Cam) but I seem to run out of internal memory really quickly, ROM has only been on (again) for a week and I'm down to 25mb, all apps have been moved to SD.
I do have quite a few apps installed, but surely being on SD internal memory should be empty. The phone has a 16Gb SD card with a 2Gb ext partition created through recovery.
How to I get the memory back? I suspect it's going to be full in a day or 2, leading me to another full wipe
What i did to make more mem is using ''ram manager'' on the market and kill apps running in the background.
Thanks, I'm not sure how killing running apps is going to free phone storage space, though
I suspect I need to find a data2sd rom, ideally with the new cam
getting closer, I notice my Dalvik cache is ~170Mb, so taking up all that space. I installed 2 market apps to move it, the first, S2E just does nothing when IO tell it to move the cache. The second, a2sdgui, exits with the following message
"cannot start for one of these reasons
1. your phone is not rooted (it obviously is to be running custom roms?)
2. A2SD scripts could not be found o
3. No EXT partition found
Did you create a partition on your SD CARD? Does your custom rom support APP2SD (normally is natively included)?
Make sure.
Otherwise, I would suggest to try another rom to see what happen.
frosty68 said:
getting closer, I notice my Dalvik cache is ~170Mb, so taking up all that space. I installed 2 market apps to move it, the first, S2E just does nothing when IO tell it to move the cache. The second, a2sdgui, exits with the following message
"cannot start for one of these reasons
1. your phone is not rooted (it obviously is to be running custom roms?)
2. A2SD scripts could not be found o
3. No EXT partition found
Click to expand...
Click to collapse
Don't assume that because you are running a custom ROM means your phone is rooted - the 2 have absolutely nothing to do with each other. Check that you have superuser installed, and if you do run terminal emulator and type the command su. If you're rooted you should get asked if you want to allow superuser privileges to the app. If it doesn't ask then either you've allowed (and remembered) the permission before or you're not rooted.
If an app's telling you you're not rooted then it's possibly right - always good to be sure.
Thanks, phone definitely rooted, and superuser installed (and titanium backup, which I've just used)
can't see mention of apps2sd on the rom page, though I was running a pretty old version.
Decided to do a full wipe, repartition the SD card and install a later version which has dalvik-cache to sd-ext, hopefully this will solve the problem of it filling.
Showing 174MB free right now, (+8.6Gb)
I take it if the cache does fill again I can just wipe it with no ill effects?
I wipe all my cache periodically with this:
https://market.android.com/details?...sMSwxLDEwMiwiY29tLmFhYy5jYWNoZW1hdGUuZGVtbyJd
I normally free up to 20 MB.
I keep refining this script for my android and do not understand why any script I have tried to write will not run. Yet, any script I download and put in there will run. I have changed owner and group to root. Changed permissions to 755. Yet it still will not run, no matter how much I try and model other init scripts that I see that do run. It is vital I get this to work for something I am trying to do with my phone but no dice yet. I have successfully written many shell scripts that other programs can start, but I must be missing something on this init thing. I have refined this simple script about 25 times already with no luck. Here is what I currently have.
filename is 40cache
#!/system/bin/sh
busybox mkdir /sdcard2;
busybox mount -t tmpfs -o size=128m none /sdcard2
I have tried with and without done at the end. With and without semicolans blah blah blah and it still will not run. Can someone help a lady in distress? I am trying to make a ramdisk with the directory /sdcard2 before my apps start up, if that is not clear.
Well I was partly right. My last version of the init script was 100% fine...except one thing. I ran the commands in case Android was being stupid about something as it usually is. I was right....permissions. Not even root can write that directory with the mkdir command(explains the directory never appearing even if it was the mount command that failed which it did because of mkdir failing). Maybe you guys can still have me because I need to rethink this solution. I have a Wildfire S with Int2Ext4 Mod installed(thanks ChronicCorey). My cache is just too slow with this one and Int2Ext4+ does not provide me enough storage. What I was trying to do was fake another SD Card so that I could use CacheApps2SD to cache apps to RAM or internal storage. If you have a solution for either(preferably internal storage now that I think more about it) you will be my hero. Just to be clear, I want Int2Ext4 doing just what it's doing but move just the app caches to internal storage or RAM, but not the rest of /data/data. That much should fit and get rid of my lags when I run cache I/O intensive apps where latency is a big concern.
Surprised I got no input from all the experts on XDA that have made me a fan of this forum. Marking this as solved. For a recap, I have OWL project JB tweaked to the hilt with PurePerformance cross breeder mod and many of my own tweaks. Only issue was with Int2Ext scripts not efficiently using what fast memory is available on this phone or Underutilizing storage for the + variants. Here is my solution that mounts my app caches and my hola web cache to the unused internal memory. Do not try this at home unless you understand how to mod this to your phone's mountpoints.
With Int2Ext, Cron4phone, and SManager already installed:
Set this to run on boot in Cron4phone before /sdcard mounts
rm -rf /storage/sdcard0/Android/data/org.hola/cache
rm -rf /storage/sdcard0/CacheApps2SDCard
Now, set the following 2 scripts to launch as root after SD is shared:
#!/system/bin/sh
mkdir /storage/sdcard0/CacheApps2SDCard
mount -t yaffs2 /dev/block/mtdblock5 /storage/sdcard0/CacheApps2SDCard
#!/system/bin/sh
mkdir /storage/sdcard0/Android/data/org.hola/cache
mount -t yaffs2 /dev/block/mtdblock5 /storage/sdcard0/Android/data/org.hola/cache
Now run each of the scripts in order manually to avoid needing to reboot for last step.
Lastly, install and run Hola and Cache Apps to SD Card. Now the old data partition is exclusively an app and web cache. App data and Libs are still on SD-ext and not clogging this partition like Int2Ext4+. You can install gigs of apps without space issues or lag!!
As a bonus, I used Swapgen to use my mostly unused /cache partition as RAM. No fast storage is wasted now and this phone is lag free as it gets. I typed this long post while multitasking using the AOSP keyboard Big games run like a dream!!
Sent from my Wildfire S A510e using xda app-developers app
OK for the benefit of those with the guts to try this: remove the mount script for Hola. A few permissions issues not worth debugging due to the fact it fills the cache fast. Keep the rm -rf line in Cron to help it start faster on boot. The app cache continues to work beautifully over multiple reboots. So try that if you know how to spot the correct partition. Then use that instead of mine
Sent from my Wildfire S A510e using xda app-developers app
Can you elaborate what is Hola,Swapgen,CacheApps? If you cannot write to a partition you can use remount and rw option? You can also link the dalvik-cache to the sd-card to free some space?
Hola is a web accelerator with cache. Compresses data then caches like squid. This hack is for Int2Ext and Int2Ext4 users who find the + versions of such scripts use too much NAND space but find regular versions making cache slow by mounting it on ext-sd, an ext4 partition used in cronmod Int2Ext to replace NAND data. This hack with cache Apps to SD puts the app cache folders back on the NAND for speed, but does not put everything in /data/data on there like the + versions of the mod which effectively limits usable app space and leaves little room on NAND for app caches(band data space is 150MB on this phone, enough for caches but not all app data). SD cards read fast, write slower. Thus all cache I/O is moved to the NAND for exclusive use by cache. Cache Apps to SD binds these caches to a directory on /sdcard. These scripts mount that directory on the previously unused NAND space instead, giving back the speed Int2Ext4 took by putting the cache on the SD, but keeps the other space savings afforded by the script.
Sent from my Wildfire S A510e using xda app-developers app
Do you mean this post:http://forum.xda-developers.com/showthread.php?p=27538212#post27538212. I'm still learning and I have cacheapps2sd but where is the script? I couldn't find a main app. Can you elaborate? I have tried to move my apps to sd-card but it doesn't seems to work.