cache to sd - myTouch 3G, Magic General

Can anyone tell me how to properly use cache to SD on a hero rom. Possibly using better terminal or adb?
Is cache to sd for browsing only, or is it for systen cache?
Any other tips to speed up my hero rom would be great. I already have vm, cpu, and compcache enabled but sometimes after 8 or so hours the phone will lag and load everytime I go to the home screen. Only solution is to reboot.

Related

How would you restore the SD Cache after a wipe? (To fully be back before the wipe)

Hey all, been spending the past couple days searching and reading various topics on this. My G1 if you rem the post went into the looping thing which I had to wipe to have it come back up. Now I used lucids script which relinked everything yes... including the looping reboot. So started from scratch again. Was times when I DID get it to show up but root, terminal were missing afterwords, Wipe/upgrade again. Now all I have done so far is JUST moved the apps, I havent touched the cache yet. Which at least now it shows my apps installed. Now I just need the config data back (Data) to complete the setup I had again.
How would you have the G1 go back to using the SD for the cache mapping. Would you move the cache (which isnt a good idea) back to the G1 then redo? I just wanna get everything back to 100% the partitions is fine and so since it does boot fine. I just dont wanna attempt to move the cache again only for phone to reboot and wind up missing its apps again and no root support till I wipe and start over again.
I want this all back since I had my G1 since it came out, Market cache is big, which yes I can manually restore that, but I rather do it all clean in one good move.
Anyways if anyone here knows how to relink a cache without it causing issues would be great. (Also the de cache is still on internal too) I did install the img from lucid tho for booting.
No one has any ideas or insight to this one? =/
It depends on what version of app2sd u are using or I should say it depends on the ROM. If you are upgrading to a ROM that uses Marcus's apps2sd u should be fine to follow instructions below. If u are using old apps2sd, then use Lucid's script to re-link to sd card after upgrade.
Copy all files from the sd card back to the phone, upgrade, then put them back on the sd card using apps2sd
Well can I copy the cache over to the internal and so, then move them back? The apps are linked fine to the SD atm, Im using Lucids. JF 1.51 US.
The cache, what is that exactly? Is that just the user data it creates after you run the program or what.

About Cache

Hey guys,
I have some doubts in the cache in phone which need your expertise in.
Why is it that sometimes our phone will get sluggish and laggy, and we need to reboot it or clear cache to make it back to fast again? I thought in Android (linux), that ram is needed to run any applications and it does not depend on the space (data storage) we have left in the phone. So what does clearing cache has to do with the performance of the phone?
Thanks for your time.
Anyone have any ideas on this?

apps2sd glitch

Ok folks.. here is a new one (I think)
Running Fresh 2.0d (thanks flipz)
Flashed apps2sd 2.5 (thanks darktremor) and it moved a ton over.
Now running about 110 megs free
HOWEVER.
I am using SENSE UI and the thumbing between screens is a little glitchy. Pauses for a nanosecond and then moves. Get through all of the screens this way and it is smooth transition going back.
This was working FINE before the apps2d 2.5 was installed.
I used SPARE PARTS and changed it to "slow" on the transitions and now it is smooth again.
Any suggestions / ideas?
Dalvik Cache maybe?
thanks
Danokan said:
Ok folks.. here is a new one (I think)
Running Fresh 2.0d (thanks flipz)
Flashed apps2sd 2.5 (thanks darktremor) and it moved a ton over.
Now running about 110 megs free
HOWEVER.
I am using SENSE UI and the thumbing between screens is a little glitchy. Pauses for a nanosecond and then moves. Get through all of the screens this way and it is smooth transition going back.
This was working FINE before the apps2d 2.5 was installed.
I used SPARE PARTS and changed it to "slow" on the transitions and now it is smooth again.
Any suggestions / ideas?
Dalvik Cache maybe?
thanks
Click to expand...
Click to collapse
isnt rosie a system app, a2sd doesnt move the system apps. I believe the memory killer might have something to do with this though!
Haven't changed the "autokiller" settings....
and I thought you could move dalvik cache.. although I really don't know whether it has been moved or not.
well, especially depending on your sd card, the ram in the phone is probably going to read/write faster than the card, so moving cache and activating swap could have negative effects, especially on a lower end card. Like what came with the phone.
Anyone else want to take a shot?
Danokan said:
Ok folks.. here is a new one (I think)
Running Fresh 2.0d (thanks flipz)
Flashed apps2sd 2.5 (thanks darktremor) and it moved a ton over.
Now running about 110 megs free
HOWEVER.
I am using SENSE UI and the thumbing between screens is a little glitchy. Pauses for a nanosecond and then moves. Get through all of the screens this way and it is smooth transition going back.
This was working FINE before the apps2d 2.5 was installed.
I used SPARE PARTS and changed it to "slow" on the transitions and now it is smooth again.
Any suggestions / ideas?
Dalvik Cache maybe?
thanks
Click to expand...
Click to collapse
Your SD card, what class is it? Class 2, 4, 6 or some other variant?
I'm suspecting that Class 2 cards can't handle the dalvik-cache being on the SD card.
Do this...in the ADB shell, type /system/bin/a2sd nocache and see if that improves it. If it does, it is definitely the dalvik-cache.
tkirton said:
Your SD card, what class is it? Class 2, 4, 6 or some other variant?
I'm suspecting that Class 2 cards can't handle the dalvik-cache being on the SD card.
Do this...in the ADB shell, type /system/bin/a2sd nocache and see if that improves it. If it does, it is definitely the dalvik-cache.
Click to expand...
Click to collapse
Grrrrr.... "no such directory exists"
EDIT: got it.. thanks
Ummm...WOW
Went from 110 to 38 gig free space on phone.
I don't like that at all and can live with the glitchy screens.
How do I undo and put the dalvik cache back on?
/system/bin a2sd cache
???
Will wiping the dalvik cache help?
Danokan said:
Ummm...WOW
Went from 110 to 38 gig free space on phone.
I don't like that at all and can live with the glitchy screens.
How do I undo and put the dalvik cache back on?
/system/bin a2sd cache
???
Will wiping the dalvik cache help?
Click to expand...
Click to collapse
Yes.../system/bin/a2sd cache puts the cache back on.
You can erase it once it gets back on the sd card, but you'll need to reboot the phone and it will take up to 10 minutes to boot (as the dalvik-cache gets recreated).
tkirton said:
Yes.../system/bin/a2sd cache puts the cache back on.
You can erase it once it gets back on the sd card, but you'll need to reboot the phone and it will take up to 10 minutes to boot (as the dalvik-cache gets recreated).
Click to expand...
Click to collapse
Thanks a mil!

Is this normal? (screenshots inside)

I've recently noticed that my phone internal memory getting low (20MB) even though I had partition-ed my memory card to get Apps2SD.
I have a 8-GB card and the setting is (~512 MB EXT3, ~30MB linux-swap) and the rest is FAT32.
have a look at the attachments to analize the the problem.
Did I do something wrong? or this is normal !
regards,
nayyak
It's normal. Data caches fill over time and take up that internal memory. You can regain much of it back by opening up your app manager and clearing the caches of any app that allows, especially things like browsers, gmail, market, etc.
That'll free a bunch up. I highly recommend an app called CacheMate - it does all that with the push of a single button. You can also boot to recovery and clear your Dalvik cache.
Also, if you're rooted and install a bunch or different ROMs without wiping, this will happen.
Thanx for the response
but I've already tried wiping the cache folder and it didn't help coz it gets filled up immediately.

[Q] "Phone Storage Space is getting low" with a2sd on Liberated FR008

Search is not working on either IE or FF for me right now, so I'm starting a new thread. Sorry about it, as i'm sure this is a duplicate question. Know that I tried for awhile to search first.
I've got an Aria running Attn1's Liberated FR008 ROM. a2sd has been enabled. However, I've got almost no phone memory left. I've heard that even with a2sd, some of the app dalvik stuff is stored on the entirely insufficient internal phone storage, and I have recently downloaded a bunch more apps. I have used CacheCleaner NG, which did not alleviate the problem. I have also "cleaned up" the Dalvik Cache using Titanium Backup, which found nothing to clean.
I'm wondering if there's some sort of area on the internal phone memory I can clean myself using Astro or something, because it seems that with most of the bulk of app storage being on the SD card, and every app with options to store cache on the SD card doing so, I should have more room on the internal storage.
What do you guys think? Have any of you run into this problem and resolved it without just uninstalling a bunch of apps?
Great question. I've considered a complete clean install, just to regain some internal space.
I wish ****ing Facebook would add an option to cache to SD card - it's a total hog. Going to endure with the Aria until fall and see what's out on AT&T at that point.
I know app2sd from the market has worked for me in the past. I had a ton of apps on my aria and haven't had a space issue
Sent from my Liberty using XDA App
The solution for me was to move the Dalvik cache to the SD card.
DISCLAIMER: Some people report this causes problems, I guess. The information I'm providing explain what worked for me. Following my instructions might cause instability, brick your phone, destroy your house, or eat your second cousin. None of these things are my fault.
I guess when a2sd is installed, it does not by default move the Dalvik cache, which contains files needed for apps to run. The more apps you install, the more that gets installed in this Dalvik cache. Here's how to move the dalvik cache on your phone to the a2sd partition, assuming you've perused the above warnings.
Open Terminal Emulator.
type su and hit enter.
type a2sd cachesdreset and hit enter.
The phone will restart, and it will take a long time, because it's got to rebuild the dalvik cache. You can do it without wiping the dalvik cache by using the cachesd command instead of cachesdreset, but I've read that wiping the dalvik cache doesn't hurt, and can potentially solve some issues? YMMV. My phone took awhile to start up.
Once the phone starts up, you can open something like Titanium Backup, and you should notice that your phone has MUCH more internal memory available. My phone now has 89MB of internal memory available, out of the total 194MB.
Things seem to run a bit slower upon startup than they used to, but after a bit, everything smooths out. And I can install apps again, etc.
Hope this helps.
taliesin1077 said:
What do you guys think? Have any of you run into this problem and resolved it without just uninstalling a bunch of apps?
Click to expand...
Click to collapse
I think that I ran into this very recently. The following thread has some good info.
http://forum.xda-developers.com/showthread.php?t=770146 ... more specifically ... this page that is linked from that thread.

Categories

Resources