# Remount read/write
adb remount
# open shell
adb shell
# go to apps directory
cd /data/app_s
# delete QuickDroid (if you want to)
rm QuickDroid.apk
# delete NPS sync (it doesn't work so why run it!)
rm wssyncmlnps.apk
# disable drexe (this gets baseband info for NPS. Who needs it!)
mv /system/bin/drexe /system/bin/drexe.off
# disable npsmobex (this handles auth with nps)
mv /system/bin/npsmobex /system/bin/npsmobex.off
Now kill any running apps, and flush the cache to get a good baseline of free memory:
sync ; echo 3 > /proc/sys/vm/drop_caches ; cat /proc/meminfo ; free
I get this Total memory after boot with all tasks killed:
a total of (23308 + 15392)/1024 = 37.79296875
You need to add the MemFree and Cached to get the total free memory usable by apps. This is the MAX memory you will have with no apps running (if u run the sync etc line above). The sync line above is usefull to compare the REAL memory change when you use various widgets or programs.
Extra info..
sync - flushes any disk caches
echo 3 > /proc/sys/vm/drop_caches - Free pagecache, dentries and inodes:
cat /proc/meminfo - Get memory and cache usage
free - get memory usage
adb remount
# open shell
adb shell
# go to apps directory
cd /data/app_s
# delete QuickDroid (if you want to)
rm QuickDroid.apk
# delete NPS sync (it doesn't work so why run it!)
rm wssyncmlnps.apk
# disable drexe (this gets baseband info for NPS. Who needs it!)
mv /system/bin/drexe /system/bin/drexe.off
# disable npsmobex (this handles auth with nps)
mv /system/bin/npsmobex /system/bin/npsmobex.off
Now kill any running apps, and flush the cache to get a good baseline of free memory:
sync ; echo 3 > /proc/sys/vm/drop_caches ; cat /proc/meminfo ; free
I get this Total memory after boot with all tasks killed:
Code:
MemTotal: 95948 kB
MemFree: 23308 kB
Buffers: 44 kB
Cached: 15392 kB
a total of (23308 + 15392)/1024 = 37.79296875
You need to add the MemFree and Cached to get the total free memory usable by apps. This is the MAX memory you will have with no apps running (if u run the sync etc line above). The sync line above is usefull to compare the REAL memory change when you use various widgets or programs.
Extra info..
sync - flushes any disk caches
echo 3 > /proc/sys/vm/drop_caches - Free pagecache, dentries and inodes:
cat /proc/meminfo - Get memory and cache usage
free - get memory usage