I've used this script with CELB and GSB with JIT enabled with no issues at all.
do I need to reflash every time I upgrade a ROM?
I had been having success on GSB 1.6, but when I went to 1.7 without reflashing this script, half my apps were gone and I had 76KB availble for apps. ((
Attempting now to wipe, reflash (the rom AND this script this time), and see if I can salvage anything...
for app recovery purposes, I re-flashed the ROM, gapps, and then this script, and up until today, I assumed the script was working due all my apps being back and not getting "low memory" warnings right off the bat.Sure do. Flashing the ROM erases the script, so you need to reflash it when you reflash the ROM.
Assuming you are GSB, every time you upgrade, even for a no-wipe update, if you want cache2cache to still be there, you must:
- [optional, but strongly recommend] Nandroid backup
- Wipe Dalvik
- Flash GSB
- Flash gapps
- Flash xtrcache2cache
- Restart
for app recovery purposes, I re-flashed the ROM, gapps, and then this script, and up until today, I assumed the script was working due all my apps being back and not getting "low memory" warnings right off the bat.
Today, though, after installing one extra app, I got the warning, so I used the Terminal Emulator to check, and apparently, my /data is using 88% (141M used) compared to /cache's 84% (109.3M used).
Is this normal, or is the script only partially working for me right now?
Fair enough.This sounds normal. Even cache2cache has limits and it sounds like you are just using a lot of space.
Sent from my Eris using XDA App
Fair enough.
In other news, a guy in the GSB ROM thread just told me my current problem of not receiving any of my SMS texts lately is likely due to c2c. Any fix or suggestions for that? I don't want to have to uninstall/reinstall/move to SD (obviously not in that order) all the extra apps I've gotten because of c2c just to start getting my texts again....
the problem is definitely new, as in not present when I first flashed c2c, but instead after re-flashing it with the GSB 1.7 update...Hhhmm I've added c2c to my blackened rom and no one has said it messed up texts
sent from my invisable htc thunder bolt
Fair enough.
In other news, a guy in the GSB ROM thread just told me my current problem of not receiving any of my SMS texts lately is likely due to c2c. Any fix or suggestions for that? I don't want to have to uninstall/reinstall/move to SD (obviously not in that order) all the extra apps I've gotten because of c2c just to start getting my texts again....
Has anyone tried this on the Droid Incredible?? and if so, how did it fare?
Has anyone other than me had memory issues with Zynga Poker?
I've been running GSB with and without c2c and with various numbers of apps installed (either in internal or sd memory). The only case where I don't get repeated low-memory warnings from Zynga Poker (and never with any other app) is using the latest GSB (v2.0) without c2c. Simply adding c2c causes memory warnings to appear.
adb shell busybox df -h > c:\phonestorage.txt
Filesystem Size Used Available Use% Mounted on
tmpfs 95.5M 0 95.5M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 170.0M 143.9M 26.1M 85% /system
/dev/block/mtdblock5 159.5M 26.7M 132.8M 17% /data
/dev/block/mtdblock4 130.0M 1.1M 128.9M 1% /cache
/dev/block/mmcblk0p2 457.4M 70.7M 362.2M 16% /system/sd
/dev/block//vold/179:1
6.9G 2.5G 4.3G 37% /sdcard
Can u run df -h and post the output? I am thinking the way apps are more stored in data than system with GB this mod may not have the same result... can anyone that can post their output of df -h?
Sent from my Eris using XDA App
df -h
# !/system/bin/sh
#
# Author: zach.xtr Jan 2011
# Moves the /data/dalvik-cache files to largely unused /cache/dalvik-cache location and symlinks
# This code is intended for the ERIS, use on other phones may not work due to predefined file block sizes...
log -p i -t cache2cache "Running cache2cache to move data/dalvik-cache to cache/dalvik-cache...";
# Mount filesystem
/system/xbin/busybox mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# Make sure final /cache/ location is setup correctly
if [ ! -d /cache/dalvik-cache ];
then
log -p i -t cache2cache "/cache/dalvik-cache directory not found, creating and adding permissions...";
/system/xbin/busybox mkdir /cache/dalvik-cache;
/system/xbin/busybox chown 1000:1000 /cache/dalvik-cache;
/system/xbin/busybox chmod 777 /cache/dalvik-cache
fi;
if [ -d /data/dalvik-cache ] && [ ! -h /data/dalvik-cache ];
then
log -p i -t cache2cache "Moving files from /data/dalvik-cache to /cache/dalvik-cache";
/system/xbin/busybox cp -fp /data/dalvik-cache/* /cache/dalvik-cache;
/system/xbin/busybox rm -r /data/dalvik-cache;
log -p i -t cache2cache "Creating Symbolic Link of /cache/dalvik-cache as /data/dalvik-cache";
/system/xbin/busybox ln -s /cache/dalvik-cache /data/dalvik-cache;
/system/xbin/busybox chown 1000:1000 /data/dalvik-cache
/system/xbin/busybox chmod 0771 /data/dalvik-cache
fi;
# Clean up
/system/xbin/busybox mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
do I need to reflash every time I upgrade a ROM?
I had been having success on GSB 1.6, but when I went to 1.7 without reflashing this script, half my apps were gone and I had 76KB availble for apps. ((
Attempting now to wipe, reflash (the rom AND this script this time), and see if I can salvage anything...
Pretty cool. I'm never low on space so I won't need this, but thanks for creating it.
Is it possible for this to cause apps to slow down, since when they try to access the cache it'll be on the (slower) SD card?
for app recovery purposes, I re-flashed the ROM, gapps, and then this script, and up until today, I assumed the script was working due all my apps being back and not getting "low memory" warnings right off the bat.
Today, though, after installing one extra app, I got the warning, so I used the Terminal Emulator to check, and apparently, my /data is using 88% (141M used) compared to /cache's 84% (109.3M used).
Is this normal, or is the script only partially working for me right now?