Trim doest work, let's fix it. - LG Optimus 2x

I think lagfix app doesn't do anything nor do via terminal command. I saw some people say Trim work on their devices but i am not sure about that especially what i understand from screenshots, Here they are;
Lagfix says trim was performed as soon as i run it.
Terminal shows 0 (zero) bytes trimmed.
As i learned from lagfix xda's page trimming should take minutes and (for example) ''239723590 bytes trimmed'' should written on screen.

"Kowalski M1-noRH" - trim does not work with that kernel, it only works with the alphas of 127
and it only trims something if there needs something to be trimed, if it says 0 bytes, then this is not the case

i shared my settings in screenshot and update my signature. i am using 3.1.10 exp 127 Alpha 15
BS86 said:
"Kowalski M1-noRH" - trim does not work with that kernel, it only works with the alphas of 127
and it only trims something if there needs something to be trimed, if it says 0 bytes, then this is not the case
Click to expand...
Click to collapse

I can see the amount of bytes trimmed. I've configured periodically morning to TRIM and then I see how much bytes is trimmed.
When I start the application manually show me the same as yours SS.

Ok, I will try automated Trim this night and share ss tomorrow.
Sent from my LG-P990 using XDA Premium 4 mobile app

Or Trim maybe works depending on how much apps you have installed.
If you have huge amount of data and cache from those apps then Lagfix can actually make some changes/differences....that's my theory...
Sent from my LG-P990 using xda app-developers app

okay trim works :good: automatic trim at 6 am. i found these result in notification bar.
200 mb system trimmed
5 mb cache trimmed
50 mb data trimmed. and my phone didnt turn to a brick

And do you see/feel any speed improvement?

Related

Auto killer and JPH not working so well together. Any help is appreciated.

Upgraded to froyo JPH last night and have noticed that autokiller doesn't work so well with it. When using autokiller with all the 2.1 fw's it did it's job and you could see which apps were the empty apps etc. However with froyo the empty apps don't show up and autokiller doesn't seem to be able to perform correctly, currently I have it set to aggressive but I can see my phone go to 70mb free. I have emailed the dev but no response as of yet, anyone else had this issue or know how to fix not being able to kill empty apps ? Cheers.
Sent from my GT-I9000 using XDA App
Daley87 said:
Upgraded to froyo JPH last night and have noticed that autokiller doesn't work so well with it. When using autokiller with all the 2.1 fw's it did it's job and you could see which apps were the empty apps etc. However with froyo the empty apps don't show up and autokiller doesn't seem to be able to perform correctly, currently I have it set to aggressive but I can see my phone go to 70mb free. I have emailed the dev but no response as of yet, anyone else had this issue or know how to fix not being able to kill empty apps ? Cheers.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Why you're using a autokiller app?
The phone got ram to be used. If theres no further ram available for apps android will clear it by itself.
I´m on JPH and there's 192 of 304 MB used.
There's 112 MB free ram!
because auto killer alters androids minfree settings unlike regular task managers that kill everything, also with a bit of use my phone is displaying just over 60mb free resulting in a slow phone.
Sent from my GT-I9000 using XDA App
i can't use my phone without autokiller...
jeanveupas said:
i can't use my phone without autokiller...
Click to expand...
Click to collapse
Maybe you should clean up your phone. I if u installed millions of apps its clear that your phone slows down.
Daley87 said:
because auto killer alters androids minfree settings unlike regular task managers that kill everything, also with a bit of use my phone is displaying just over 60mb free resulting in a slow phone.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Instead of Autokiller, use OCLF http://forum.xda-developers.com/showthread.php?t=784691
I hate to change the Android default settings for file system and minfree, however after applying the lagfix, absolutely no lag and my phone flies despite several days of excessive use with all possible apps.
If you don't need Lagfix, you could still use the apk for minfree settings and apply on boot.
60MB of free RAM should not cause you any slowness issues. RAM is there to be used, I would want Android to use the entire memory and be efficient in managing virtual memory rather than WASTING RAM by NOT utilizing it for open apps.
Prankey said:
Instead of Autokiller, use OCLF http://forum.xda-developers.com/showthread.php?t=784691
Click to expand...
Click to collapse
Both programs do exactly the same. OCLF even refers to Autokiller as in "using the same names and values for defaults".
I would want Android to use the entire memory and be efficient in managing virtual memory rather than WASTING RAM by NOT utilizing it for open apps.
Click to expand...
Click to collapse
With "strict" setting I always have enough ram and still dozens of reportedly running apps. The Android way of multitasking is working really good, it just needs some fine tuning with the Galaxy S. Somehow, the default settings cause too much cleaning up right when you start certain apps, this it feels laggy even though the RFS factor has been removed (e.g. with Voodoo).
gpnda said:
Maybe you should clean up your phone. I if u installed millions of apps its clear that your phone slows down.
Click to expand...
Click to collapse
I have installed millions of apps, and it is running blazingly fast (using Autokiller to "strict" and Voodoo on JM8). Why shouldn't I? What else is nearly 2GB of user apps space meant for? Why are there so many apps in the store?
Prankey said:
Instead of Autokiller, use OCLF http://forum.xda-developers.com/showthread.php?t=784691
If you don't need Lagfix, you could still use the apk for minfree settings and apply on boot.
60MB of free RAM should not cause you any slowness issues. RAM is there to be used, I would want Android to use the entire memory and be efficient in managing virtual memory rather than WASTING RAM by NOT utilizing it for open apps.
Click to expand...
Click to collapse
OCLF minfree settings, minfreemanager and autokiller all do the same thing - they change the same configuration file that controls Android's memory management tool.
I agree though, that the optimal amount of free RAM seems to be 60M-70M on our phones. The default configuration in the Samsung Froyo firmwares set it to about 40M-50M (the last 3 values in minfree are 40/44/48 by default).
And also, it is a misconception that "free" RAM in Linux is wasted. The free RAM is not unused, but is used by the OS to cache the disks, which is why the phone is faster with more free RAM. On our Samsungs this has a huge effect because RFS is slow and a big disk cache will help it a lot.
You can see this by doing:
# cat /proc/meminfo
cat /proc/meminfo
MemTotal: 311348 kB
MemFree: 16088 kB
Buffers: 12196 kB
Cached: 91344 kB
SwapCached: 0 kB
Active: 185192 kB
Inactive: 44792 kB
jeanveupas said:
i can't use my phone without autokiller...
Click to expand...
Click to collapse
5 big Widgets at Homescreen, 12 Apps opened (ICQ, Google Mail, Browser, MP3-Player, Touiteur, Titanium Backup, XDA, Market, ES File Explorer, YouTube and so on), 90mb free ram and the Phone is still running smooth.
Don´t know what you´re doing wrong.
Running JPH for 71 hours now without using autokiller and it has run great without much lag.
Mainly browsing internet, video, music, email and games without issue. And reply messages and calls.
Sent from my GT-I9000 using XDA App
PlanetJumble said:
Both programs do exactly the same. OCLF even refers to Autokiller as in "using the same names and values for defaults".
Click to expand...
Click to collapse
I agree, suggested as I felt "Autokiller" might not be working correctly in Froyo.
PlanetJumble said:
With "strict" setting I always have enough ram and still dozens of reportedly running apps. The Android way of multitasking is working really good, it just needs some fine tuning with the Galaxy S. Somehow, the default settings cause too much cleaning up right when you start certain apps, this it feels laggy even though the RFS factor has been removed (e.g. with Voodoo).
Click to expand...
Click to collapse
My experience was different. If I just use the OCLF 2.04 and do not tweak with file system and minfree settings, my phone is working perfectly no matter how many apps I load and how long I use (used alteast for 3 days without any lag issue)
PlanetJumble said:
I have installed millions of apps, and it is running blazingly fast (using Autokiller to "strict" and Voodoo on JM8). Why shouldn't I? What else is nearly 2GB of user apps space meant for? Why are there so many apps in the store?
Click to expand...
Click to collapse
I COMPLETELY agree. We are not talking of Windows 9x which could not manage memory well. We are talking of Linux which should work perfectly even when we have several apps running.
hardcore said:
OCLF minfree settings, minfreemanager and autokiller all do the same thing - they change the same configuration file that controls Android's memory management tool.
I agree though, that the optimal amount of free RAM seems to be 60M-70M on our phones. The default configuration in the Samsung Froyo firmwares set it to about 40M-50M (the last 3 values in minfree are 40/44/48 by default).
And also, it is a misconception that "free" RAM in Linux is wasted. The free RAM is not unused, but is used by the OS to cache the disks, which is why the phone is faster with more free RAM. On our Samsungs this has a huge effect because RFS is slow and a big disk cache will help it a lot.
You can see this by doing:
# cat /proc/meminfo
cat /proc/meminfo
MemTotal: 311348 kB
MemFree: 16088 kB
Buffers: 12196 kB
Cached: 91344 kB
SwapCached: 0 kB
Active: 185192 kB
Inactive: 44792 kB
Click to expand...
Click to collapse
I believe the cached portion shows as used memory. We may have to revisit this discussion. As whenever I use memory cleaners, I felt my system went worse if I keep more memory available (except for opening apps which uses the available memory instantaneously). So I doubt free memory (I am not talking of the default available memory on Android) can be used for cache when forcefully freed by these settings/apps.
Aery said:
5 big Widgets at Homescreen, 12 Apps opened (ICQ, Google Mail, Browser, MP3-Player, Touiteur, Titanium Backup, XDA, Market, ES File Explorer, YouTube and so on), 90mb free ram and the Phone is still running smooth.
Don´t know what you´re doing wrong.
Click to expand...
Click to collapse
xtrememorph said:
Running JPH for 71 hours now without using autokiller and it has run great without much lag.
Mainly browsing internet, video, music, email and games without issue. And reply messages and calls.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Completely agree, when I tweak with Minfree settings and the file system to "Deadline" it becomes more "jerky". Others might have different experience, however I strongly believe that while RFS definitely slows down write speeds, default minfree settings and the file system optimization should be optimum for "regular" use.
Every time I flash firmware, I try first without the lag fix, then with the lag fix, and finally, with autokiller, and every time autokiller has helped noticeably.
As things stand at the moment, its one app I wouldn't be without, lag fix or no lag fix.
Working well here. JPH firmware, autokiller set to strict, 91mb free. 3 days of uptime

Stagefright, VM Heap, SYSCTL and other performance related options

With the recent release of Spz0s rom and Adrynalyne getting this beat over clocked these settings are becoming obsolete. Use at your own discretion.
I recently restored my phone to stock, with basic settings, meaning I did not use any of the settings listed here. I scored a 1013 on a bench with stock everything. Now that I have VTL Launcher as stock again and have everything set back up for me, I'm scoring 1000s and 990s regularly. Again without any of these settings enabled. Which is leading me to believe that a stable system is the fastest thing when it comes to performance and benchmark scores. The settings listed below did help me out, with an unstable system. Now that I am running on a stable system, none of the settings below helped my performance or bench scores, they only hurt them. So these settings below will help anyone with an unstable system to not feel the lag of said unstability. If you try these settings and they don't do anything, or hurt your performance or score, turn them back to stock and revel at how much you rock for having a super stable system! I have also noticed that the app AUTO KILLER MEMORY OPTIMIZER virtually replaces sysctl. If you run AUTO KILLER I would suggest setting sysctl back to stock! I would recommend AUTO KILLER MEMORY OPTIMIZER from the Market to EVERYONE with a Zio. Nice app, set it to Aggressive!
FIRST OFF, THESE SETTINGS ARE ONLY CHANGEABLE IF YOU ARE ROOTED!! If you are not I cannot help you!!
I am making this thread to address performance issues with the Zio. If you have done a benchmark score with just basic settings, it's already apparent to you the Zio is not the best phone. I have found some tweaks to make the phone run faster and score better on benches.
USE THESE SETTINGS AT YOUR OWN RISK. IF YOU SCREW SOMETHING UP, DON'T CRY TO ME.
Stagefright: Stagefright is part of the stock media player that comes disabled on the Zio. Turning on stagefright will increase your benchmark score by a lot, and has also been reported to make Video Playback much better, getting rid of jumpy lagging videos.
You need to make sure you have r/w(read/write) access in your file manager. Root Explorer has r/o(read/only) and r/w. You cannot change any files without r/w access in your file manager.
To Enable Stagefright you open your file explorer(i.e. root explorer, astro, etc.) and navigate to the system folder. Open build.prop in your text editor. Scroll down to where you find stagefright. There are four settings for it grouped together near the bottom of the script. Next to each setting it says =false. You need to edit the false to say true. Once that is done, go up just slightly from that spot, there is also another spot to enable stagefright. Change that to true as well. Also notice that just above this last stagefright script, there is something about the vm.heap and dalvik cache. This is where you change your VM Heap size.
(NOTE: ENABLING THE HTTP SETTING IN STAGEFRIGHT ALLOWS FOR A RICHER HTTP BROWSING EXPERIENCE BUT WILL ALSO PUT A GREEN BAR ON YOUTUBE VIDEOS. KEEPING IT SET TO FALSE WILL AVOID THIS GREEN BAR AND SHOULD NOT AFFECT OVERALL PERFORMANCE!)
VM Heap-Not exactly sure what the technical aspect of it is, but increasing the vm.heap gives the dalvik cache more room to work with, thus making your memory faster. THIS NUMBER SHOULD NOT BE SET BELOW ANDROID DEFAULT WHICH IS 24. And should also not be set above 44. If you want to change this number, add or subtract 4 within the above values, 24-44. This can go down to 16 but you'll see the results and why I said to leave it up pretty fast.
SYSCTL- To edit these settings, open your file explorer, hit the ETC folder. Scroll to bottom and find sysctl.conf, long press and open in text editor. So far I can only say there are three settings here you need to adjust.
To edit SYSCTL settings you must first download and install the app sysctl config from the Market. After you set it up initially it can be uninstalled and leave behind the settings folder for further settings changes by manually editing or you can keep it and just use it to make the changes.
First is MIN FREE KB. This number will not be the same for everyone, although I can tell you setting this number above 4096 seems to slow the system way down. Although you may try any of the following numbers..
1536, 2048, 4096, 5120, 5632, or 6144.
These are the only numbers I would suggest using as they are parameters that came out of the phone itself.
sys/module/lowmemorykiller/parameters. <----DO NOT CHANGE the numbers in this location, they are system defined parameters and are NOT to be changed!
The second setting is vfs.cachepressure. I have this set to 10. Default is 50. Basically what I've read about this, it opens more room by setting it lower, leaving more memory free from constantly checking and clearing the cache. Read more here http://forum.xda-developers.com/showthread.php?t=523707&page=12
The Third setting is oom. It's the last value in sysctl.conf and needs to be set to 1 or 0. Instead of your phone starting to kill apps when it's out of memory, it does something else that I didn't quite understand, which is supposed to boost memory performance. Some people are seeing great results with this setting. Some people say it doesn't do anything. Seems to be specific to the user, and I have yet to find anything in common between two users who say this helps. Although bench scores are higher with it set to 1.
For these settings to take effect you must reboot your phone. Changes to these settings are only applied by a reboot, so any time you change anything, REBOOT!
If you do not know how to change settings manually, there are two apps in the market to help. VM Heap Tool will change your VM Heap for you, no need to manually edit if you don't want to. sysctl config is an app that will allow you to easily change the sysctl settings.
There is an App that will change your stagefright settings for you called Blade Buddy. I did not have a good expeience with this program and would suggest that you edit stagefright manually since it's pretty easy with a superuser file manager.
I can say with certainty that turning on stagefright and adjusting and playing with the rest of the settings that your phone will turn in to a beast compared to how it came out of the box.
As far as battery performance goes, I've noticed a 10-15 percent increase(estimated) over the life of a charge(depending on amount of usage and type). I have noticed more battery use. But not so much that these settings wouldn't be worth using. I gave numerous variations of these settings tries over 2 very long months of restarts and three different benchmark programs. Any additional information or discoveries are welcome.
If this helped, please hit Thanks!!
Muchos Gracias to everyone in #openzio as always. Spz0 n Mattix are always a big part of anything I do. They are always nice enough to save me from myself. And much thanks to anyone that helps out with the Zio at all. Lets own this phone!
Nice write-up bro.
Well, good guide. Hopefully Kyocera calls me back in regards to the kernel source code so we can really overclock this thing.
Sent from my Zio using XDA Premium App
Their lawyer in San Diego got a hold of me on Facebook. Asked me to call her back. Three calls and no dice. Waiting on her response now. Hopefully soon. She said they are "working the bugs out". Which is a load of BS since we have phones in our hands, the source is done. They just have to give it to us and I told her bluntly just that.
Tell them to call me lol, I want the source. Give us the source!
Sent from my Zio using XDA Premium App
So what happened to getting it? Teacher not know the right trick? Have you heard about using git to get the source? I dunno what git is but it may help? Ever heard of it?
Sent from my Zio using XDA Premium App
http://en.wikipedia.org/wiki/Git_(software).
Google is your friend???
Also, I don't have a sysctl.conf file. At least not where you said it is or one that root explorer can find...
Yeah if I actually understood any of that I wouldn't be asking.
Ok here is the best benchmark average I have gotten so far. These are the settings I used to achieve it.
Avg Benchmark - 795
High - 900 (omitted from average)
Low - 710 (omitted from average)
Avg with high and low only changed by 6 points.
Sysctl Support - Enabled ( I am using the Sysctl app form the market.)
Min free Kbytes - 4096
Dirty Ratio - 80
Dirty BG Ratio - 40
Oom Allocating Tasks - Enabled
VM Heap Tool - VM Heap set to 36m
Stagefright settings are all set to "True"
What we need to know now is what setting are going to speed up the UI. Like cutting load times on FB and other apps, what is making the phone just lightning fast? Doesn't seem to matter too much as long as you don't go above 4096. Finally started to see some system lag with 8192. We need to figure out what makes the phone the most responsive, fastest, beast of a phone.
Messing with the radio numbers only seems to slow me down. And still can't really find anything on what vm.swapiness does either.
sinisin said:
What we need to know now is what setting are going to speed up the UI. Like cutting load times on FB and other apps, what is making the phone just lightning fast? Doesn't seem to matter too much as long as you don't go above 4096. Finally started to see some system lag with 8192. We need to figure out what makes the phone the most responsive, fastest, beast of a phone.
Messing with the radio numbers only seems to slow me down. And still can't really find anything on what vm.swapiness does either.
Click to expand...
Click to collapse
Well, I have also downloaded Link2SD from the market and put every app (except system apps) on the SD card and That has given me a little over 100MB free on phone storage and I am using Memory booster lite to free up memory on the phone. All of these things have made a huge difference in the speed and performance of the phone including page load times. (facebook opens and loads almost instantly).
Be careful. Don't move things like Widgets that need to refresh or themes for your launcher or the launcher itself. Seems fine at first until you run for a while and Widgets stop and launcher always reloads.
Sent from my Zio using XDA Premium App
Are you on Wi-Fi while opening apps or 3G and if 3G how many bars?
Sent from my Zio using XDA Premium App
Using Root Explorer /ect/sysctl.conf I'm not seeing this file...
sinisin said:
Serious changes coming soon. New numbers up for min free KB below already.
Stagefright: Stagefright is part of the stock media player that comes disabled on the Zio. Turning on stagefright will increase your benchmark score by a lot, and has also been reported to make Video Playback much better, getting rid of jumpy lagging videos.
To Enable Stagefright you open your file explorer(i.e. root explorer, astro, etc.) and navigate to the system folder. Open build.prop in your text editor. Scroll down to where you find stagefright. There are four settings for it grouped together near the bottom of the script. Next to each setting it says =false. You need to edit the false to say true. Once that is done, go up just slightly from that spot, there is also another spot to enable stagefright. Change that to true as well. Also notice that just above this last stagefright script, there is something about the vm.heap and dalvik cache. This is where you change your VM Heap size. (NOTE: ENABLING THE HTTP SETTING IN STAGEFRIGHT ALLOWS FOR A RICHER HTTP BROWSING EXPERIENCE BUT WILL ALSO PUT A GREEN BAR ON YOUTUBE VIDEOS. KEEPING IT SET TO FALSE WILL AVOID THIS GREEN BAR AND SHOULD NOT AFFECT OVERALL PERFORMANCE!)
VM Heap-Not exactly sure what the technical aspect of it is, but increasing the vm.heap gives the dalvik cache more room to work with, thus making your memory faster. THIS NUMBER SHOULD NOT BE SET BELOW ANDROID DEFAULT WHICH IS 24. And should also not be set above 44. If you want to change this number, add or subtract 4 within the above values, 24-44.
Phone Edit- Found numbers for min free KB. sys/module/lowmemorykiller/parameters. 1536, 2048, 4096, 5120, 5632, 6144. Assuming these are new guidelines. Will edit fully tomorrow. Don't change these settings. They are system parameters and should NOT be changed.
SYSCTL- To edit these settings, open your file explorer, hit the ETC folder. Scroll to bottom and find sysctl.conf, long press and open in text editor. So far I can only say there are three settings here you need to adjust. First is MIN FREE KB. This number will not be the same for everyone, although I can tell you setting this number above 8192 will slow the phone down, most people report anything over 4096 slowing the phone down. The default is 2048, I would suggest going up to 4096 or 8192.
The second setting is vfs.cachepressure. I have this set to 10. Default is 50. Basically what I've read about this, it opens more room by setting it lower, leaving more memory free from constantly checking and clearing the cache. Read more here http://forum.xda-developers.com/showthread.php?t=523707&page=12
The Third setting is oom. It's the last value in sysctl.conf and needs to be set to 1 for everyone. Instead of your phone starting to kill apps when it's out of memory, it does something else that I didn't quite understand, and this should add speed to everything you do, like surfing or Facebook. Everything should load faster and smoother with this setting enabled. Remember stock value is Zero and may only be set to 1 or 0.
If this helped, please hit Thanks!!
Click to expand...
Click to collapse
Try /system/etc micro. Same thing.
Sent from my Zio using XDA Premium App
Current settings.
4096
95
60
50
Oom
VM heap 30
Stqgefright all but http
Running fast and stable. Launcher pro Orientation from portrait to landscape is faster. Home loads instantly even though I am not using a launcher from /system/app
I will be doing some more tweaks to speed this up but maintain some battery life.
Sent from my Zio using XDA Premium App
I have Stagefright fully enabled. Running 2048 Free KB. Stock radio and background. Turned oom to 0. Zoomin right along.
Sin. How did you edit sysctl.conf I can't find it in ETC
Sent from my Zio using XDA Premium App
Thanks! /system/etc still nothing. I have rtecdc_apsta.bin and void.fstab no luck still.
sinisin said:
Try /system/etc micro. Same thing.
Sent from my Zio using XDA Premium App
Click to expand...
Click to collapse
Looks like we need to include sysctl.conf in the next theme update.
Sent from my Zio using XDA Premium App

[Q] app storage limitation data

UPDATE:
If you want to fix your low space problem on the captivate, LOOK here:
http://forum.xda-developers.com/showthread.php?t=1541942
Previous Text:
Is there an ics rom that allows all 2 gb of /data to be used for apps? It seems most of them I've tried have the same limit from recent cm7 night lies about 350 mb, before google framework starts crashing (gummy) or I get a low space warning (nostalgia).
I believe this is just something we will have to live with on ICS with our phones.
prbassplayer said:
I believe this is just something we will have to live with on ICS with our phones.
Click to expand...
Click to collapse
So here is something interesting I'm currently running AOKP m28, with ~487 Mb of apps installed.
No low space warning and no framework crashes.
scythekain said:
So here is something interesting I'm currently running AOKP m28, with ~487 Mb of apps installed.
No low space warning and no framework crashes.
Click to expand...
Click to collapse
I'm running AOKP Build 28, I have ~529mb of apps installed and I am getting the warning.
However, I haven't had any framework crashes. Also, I was able to successful restart my phone.
Hangampalli said:
I'm running AOKP Build 28, I have ~529mb of apps installed and I am getting the warning.
However, I haven't had any framework crashes. Also, I was able to successful restart my phone.
Click to expand...
Click to collapse
Yeah, I started to get the low space warning when hitting the ~ 500 MB line as well.
Here's what I've found, two types of AOSP/CyanogenMod based Roms for Cappy:
1) Gives low space warning (and as long as you don't cross that threshold) does not produce framework crashes.
2) Does not give low space warning, but produces massive framework crashes.
The problem (as I've learned from CyanogenMod forums) is the datadata partition. CM7.1 used the datadata partition for apps, and did not have the low space warning. This meant whenever you approached the 172 MB limit of datadata you ran into spectacular framework crashes.
However around nightly 11162011 they changed that, and introduced the "low space warning". This allowed about ~300 MB of apps to be installed, before datadata complained.
I bet if you look at your datadata* (I looked at mine just now) it's pretty close to full. Mine currently only has 17 MB free. I notice when I'm browsing the web with Maxthon with about 5 tabs open I get the low space warning.
I'm wondering now though if this is a relic of linking left in my system folder. Next flash I'm going to format my /system before flash and see if this behavior changes.
*To check your datadata size open a terminal (I like Android Terminal Emulator) and type "df".
You can remove the symlink betwen /datadata and /data (I think) but it will most likely make your phone anywhere from a tad slower to unusable slow. Like I said its just a limitation from our phones, at least for now.
prbassplayer said:
You can remove the symlink betwen /datadata and /data (I think) but it will most likely make your phone anywhere from a tad slower to unusable slow. Like I said its just a limitation from our phones, at least for now.
Click to expand...
Click to collapse
I figured this was what is happening. Has someone tried this and confirmed the performance hit?
I did way back when on ICSSGS 2.x and 3.x Made my phone almost unable, which means my nand isn't in good shape. But the result varies a lot so no way on telling.
I know they had a zip but doubt it will work on any other rom.
Sent from my ICS powered Captivate using Tapatalk
So last night I was performing some benchmarks after formatting system. What I found was interesting to say the least. CNA was no longer laggy. Aokp isn't as fast as it felt.
Anyways, I stuck with dark knight and currently have 560 mb installed with no low space warnings and no framework crashes.
Update:
So after installing >500 mb of apps I'm still getting low space warnings with dark knight. I ran df in my terminal and have determined that it happened when the datadata partition is at oR below 15 megs free. Wierd thing though, I was at 28 mb free, reboot come back up with 6 mb free? Moved 70 mb of apps to USB storage, and it moved up to 26 mb free on datadata.
scythekain said:
So last night I was performing some benchmarks after formatting system. What I found was interesting to say the least. CNA was no longer laggy. Aokp isn't as fast as it felt.
Anyways, I stuck with dark knight and currently have 560 mb installed with no low space warnings and no framework crashes.
Update:
So after installing >500 mb of apps I'm still getting low space warnings with dark knight. I ran df in my terminal and have determined that it happened when the datadata partition is at oR below 15 megs free. Wierd thing though, I was at 28 mb free, reboot come back up with 6 mb free? Moved 70 mb of apps to USB storage, and it moved up to 26 mb free on datadata.
Click to expand...
Click to collapse
I think right now, moving apps to SD card is the only real solution. I think the limit is near ~375ish?
So far, I've only moved games and a video player. Hopefully, they'll still work fine.
I've had this for about 2 days now, and it seems to be working. I did start having framework crashes at the end of monday, but the phone surprisingly restarted. I'm not sure how that happened (maybe the AKOP rom is stronger than I thought). I did try and move some of the bigger app's to the SD card while the phone was crashing....I thought it didn't go through, but maybe it did.
So in summary, move apps to SD card when warning pops up. And if phone starts crashing, still try to move apps to SD card, restart and hope it works?
PS...Is anyone running the nostalgia ROM? I don't think that ROM has this problem. The developer said he had something like 250 apps installed. I'm not using it currently b/c I didn't like some of the theme-ing such as that in the people app. However, the developer recently told me that I could modify the zip package with an unskinned people app. If this AKOP rom fails me, I'll go to that and update results.
Fix for low space problem on Galaxy S (Fascinate/Captivate/Vibrant)
Hangampalli said:
I think right now, moving apps to SD card is the only real solution. I think the limit is near ~375ish?
So far, I've only moved games and a video player. Hopefully, they'll still work fine.
I've had this for about 2 days now, and it seems to be working. I did start having framework crashes at the end of monday, but the phone surprisingly restarted. I'm not sure how that happened (maybe the AKOP rom is stronger than I thought). I did try and move some of the bigger app's to the SD card while the phone was crashing....I thought it didn't go through, but maybe it did.
So in summary, move apps to SD card when warning pops up. And if phone starts crashing, still try to move apps to SD card, restart and hope it works?
PS...Is anyone running the nostalgia ROM? I don't think that ROM has this problem. The developer said he had something like 250 apps installed. I'm not using it currently b/c I didn't like some of the theme-ing such as that in the people app. However, the developer recently told me that I could modify the zip package with an unskinned people app. If this AKOP rom fails me, I'll go to that and update results.
Click to expand...
Click to collapse
I've run Nostalgia as well, it's just more Samsung Bloat (From Doc's) on top of the AOKP core.
So it will give you the low space warning when datadata fills up, but largely like AOKP as long as you deal with it (Dark Knight as well) the system is rock solid.
HOWEVER there is good news for us:
http://forum.xda-developers.com/showthread.php?t=1541942
The script above SHOULD help us use more of our app storage space, while still providing the awesome speed that custom roms are known for.
scythekain said:
I've run Nostalgia as well, it's just more Samsung Bloat (From Doc's) on top of the AOKP core.
So it will give you the low space warning when datadata fills up, but largely like AOKP as long as you deal with it (Dark Knight as well) the system is rock solid.
HOWEVER there is good news for us:
http://forum.xda-developers.com/showthread.php?t=1541942
The script above SHOULD help us use more of our app storage space, while still providing the awesome speed that custom roms are known for.
Click to expand...
Click to collapse
So after a month of running the "datadata" fix:
I have about 700 MB of apps installed with no framework crashes, no low space warnings (AOKP B32 / Glitch).
Datadata consistently has about 80 MB available. at it's current rate of increase when installing new apps, it's possible this configuration would allow the complete 2 GB usage of the data partition.

Please help: big lag issue

Guys, I need a help. Tried everything, but still facing big lag especially when I click on dialer, contacts or messages (waiting couple of secs until they show up). This is more obvious when I click right after I 'woke up' my phone from deep sleep.
I'm using stock 20b with Iodak v8 kernel (tried v9 as well, but due to bluetooth and fm radio issue on stock, reverted to v8). Also, I did everything what I could found to improve performace: disabled and then deleted MLT, did a full wipe of everything (clean install), installed only apps that I need, turned off 3g, data and gps (only WiFi is on), installed Greenify and so on..
My current setup of kernel is following:
Governor: interactive (tried ondemand, but was even worst)
Max: 1600000
Min/Max Screen Off: 760000
Scheduler: SIO
CPUQuiet Power: userspace (noticed that only 3 cores are online instead of 4)
I appreciate any help, but please, don't tell me to search, 'cause I did. As for the other custom roms, I tried CM, but I prefer more stock, mostly because of Gallery, Polaris and FM Radio Apps.
Guys, is there any way to fix this lag issue? I don't care much for the battery, since this lag drives me crazy.
Thanks in advance.
Vladimir
vladja10 said:
Guys, I need a help. Tried everything, but still facing big lag especially when I click on dialer, contacts or messages (waiting couple of secs until they show up). This is more obvious when I click right after I 'woke up' my phone from deep sleep.
I'm using stock 20b with Iodak v8 kernel (tried v9 as well, but due to bluetooth and fm radio issue on stock, reverted to v8). Also, I did everything what I could found to improve performace: disabled and then deleted MLT, did a full wipe of everything (clean install), installed only apps that I need, turned off 3g, data and gps (only WiFi is on), installed Greenify and so on..
My current setup of kernel is following:
Governor: interactive (tried ondemand, but was even worst)
Max: 1600000
Min/Max Screen Off: 760000
Scheduler: SIO
CPUQuiet Power: userspace (noticed that only 3 cores are online instead of 4)
I appreciate any help, but please, don't tell me to search, 'cause I did. As for the other custom roms, I tried CM, but I prefer more stock, mostly because of Gallery, Polaris and FM Radio Apps.
Guys, is there any way to fix this lag issue? I don't care much for the battery, since this lag drives me crazy.
Thanks in advance.
Vladimir
Click to expand...
Click to collapse
This is "normal" for system apps. Download custom apps from google store like ExDialer,GOSms.. That will resolve your lag.. When you install those apps from store, use titanium backup to freeze stock apps(dialer,contacts,messages).
@vladja10 http://forum.xda-developers.com/showpost.php?p=49272503&postcount=1986
Thanks guys, but neither of these two options helped. There's some improvements, but still pretty much laggy.
Think I found out what causing lag: synchronization. Every time when phone is synchronizing, everything is so laggy, otherwise is ok. Following accounts have sync turned on: Skype, Facebook, WhatsApp, Twitter and Google.
Does anyone of you have experienced similar problem? Is there solution for this?
vladja10 said:
Think I found out what causing lag: synchronization. Every time when phone is synchronizing, everything is so laggy, otherwise is ok. Following accounts have sync turned on: Skype, Facebook, WhatsApp, Twitter and Google.
Does anyone of you have experienced similar problem? Is there solution for this?
Click to expand...
Click to collapse
I have all those apps running in my phone, but I did not face those lags.
But ya I did felt those lags when I'm still using stock JB OS. Stock JB from LG is sucks man, you should instal another ROM.
Currently I'm using CM11 (Kitkat 4.4.2 based), its lag free and have more free RAM. (around 350 - 400MB). :good:
The difference is like heaven and hell compared with the stock ROM (I only have 150 - 200MB Free RAM).
bomerzz said:
I have all those apps running in my phone, but I did not face those lags.
But ya I did felt those lags when I'm still using stock JB OS. Stock JB from LG is sucks man, you should instal another ROM.
Currently I'm using CM11 (Kitkat 4.4.2 based), its lag free and have more free RAM. (around 350 - 400MB). :good:
The difference is like heaven and hell compared with the stock ROM (I only have 150 - 200MB Free RAM).
Click to expand...
Click to collapse
The ROM can make a difference, but it has nothing to do with "Free RAM". I wish people would stop perpetuating this myth.
Free RAM is wasted memory on an Android device. Unless you are getting below about 50MB there is not a problem as the device is designed to use as much as it can and then swap it out automatically.
I agree about CM11 though. I'm running the latest nightly and the only problem I have is the delay in waking when you press the power button
SimonTS said:
The ROM can make a difference, but it has nothing to do with "Free RAM". I wish people would stop perpetuating this myth.
Free RAM is wasted memory on an Android device. Unless you are getting below about 50MB there is not a problem as the device is designed to use as much as it can and then swap it out automatically.
I agree about CM11 though. I'm running the latest nightly and the only problem I have is the delay in waking when you press the power button
Click to expand...
Click to collapse
Well.. Sorry for my false statement and thank you for correcting it
4X HD is my very first android device. But that's what I really thought after I flashed the CM11.. Its like whoa, more free space on RAM, and it feels like I'm using a new phone
bomerzz said:
Well.. Sorry for my false statement and thank you for correcting it
4X HD is my very first android device. But that's what I really thought after I flashed the CM11.. Its like whoa, more free space on RAM, and it feels like I'm using a new phone
Click to expand...
Click to collapse
You might want a read of this;-
RAM: What it is, how it's used, and why you shouldn't care
Well, I’m afraid that I’ll be forced to get back to CM (used it once, but missed some apps such are: FM Radio, stock gallery app (couldn’t find good replacement that synced photos with google acc) and Polaris Office – these apps I use on a daily basis). Anyway, before install CM, I’ll give one more try to Stock.
I did what @ottomanhero told me, and that actually helped. But, since I used Trickstermod to tweak governors, after every single reboot, stock values would be back, so I had to use init.d script, and there comes a problem.
Here is what I did (followed instructions from Iodak's OP):
- Using ES File Explorer created folder /system/etc/init.d and set permissions to rwxr-xr-x
- Created new file in init.d folder and name it 1script (used Note++ instead of Windows editors to avoid leaving an extra space at the end of each line or an invisible invalid character)
- Then added following commands:
Code:
#!/system/bin/sh
echo "70" > /sys/devices/system/cpu/cpufreq/interactive/go_maxspeed_load
echo "70" > /sys/devices/system/cpu/cpufreq/interactive/midrange_go_maxspeed_load
echo "60000" > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
echo "20000" > /sys/devices/system/cpu/cpufreq/interactive/timer_rate
echo 200 300 400 450 500 600 > /sys/devices/system/cpu/cpu0/cpufreq/gpu_overclock
- and finally set permissions to 1script rwxr-xr-x and owner to root group to shell
So, that should be it, but didn’t work for me. Then, I installed SManager to check what’s wrong with the script, and it stated that with first 4 lines error is: no such file or directory (which is strange because exactly that's the path), and for the last line is stated: permission denied.
Did I miss something? Apologize if this question is too noob for you guys, but I’m running out of ideas.
Thanks all for your help.
Regards,
Vladimir
SimonTS said:
You might want a read of this;-
RAM: What it is, how it's used, and why you shouldn't care
Click to expand...
Click to collapse
Oh, really?
Free RAM is NOT wasted RAM.
It directly effects smoothness of the phone.Why do you think android would have Out Of Memory values if it was created to just fill up the RAM with only apps? It still needs some RAM free for caching.
---------- Post added at 03:50 PM ---------- Previous post was at 03:46 PM ----------
vladja10 said:
Well, I’m afraid that I’ll be forced to get back to CM (used it once, but missed some apps such are: FM Radio, stock gallery app (couldn’t find good replacement that synced photos with google acc) and Polaris Office – these apps I use on a daily basis). Anyway, before install CM, I’ll give one more try to Stock.
I did what @ottomanhero told me, and that actually helped. But, since I used Trickstermod to tweak governors, after every single reboot, stock values would be back, so I had to use init.d script, and there comes a problem.
- and finally set permissions to 1script rwxr-xr-x and owner to root group to shell
So, that should be it, but didn’t work for me. Then, I installed SManager to check what’s wrong with the script, and it stated that with first 4 lines error is: no such file or directory (which is strange because exactly that's the path), and for the last line is stated: permission denied.
Did I miss something? Apologize if this question is too noob for you guys, but I’m running out of ideas.
Thanks all for your help.
Regards,
Vladimir
Click to expand...
Click to collapse
Code:
#!/system/bin/sh
echo "70" > /sys/devices/system/cpu/cpufreq/interactive/go_maxspeed_load
echo "70" > /sys/devices/system/cpu/cpufreq/interactive/midrange_go_maxspeed_load
echo "60000" > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
echo "20000" > /sys/devices/system/cpu/cpufreq/interactive/timer_rate
echo "200 300 400 450 500 600" > /sys/devices/system/cpu/cpu0/cpufreq/gpu_overclock
I think the script didn't execute at boot due to last line, you forgot the quotes.And while using Smanager you gotta tick "root" or else it won't run.Try this one
ottomanhero said:
I think the script didn't execute at boot due to last line, you forgot the quotes.And while using Smanager you gotta tick "root" or else it won't run.Try this one
Click to expand...
Click to collapse
Well, you were right about the quotes (now, the new values are set), but as the other 4 lines, they still have the same error: No such file or directory, and all values are stock.
Do you have any idea what's going on? Why did it work for one, and didn't for the other lines?
http://forum.xda-developers.com/showthread.php?p=48042187#post48042187
ottomanhero said:
Oh, really?
Free RAM is NOT wasted RAM.
It directly effects smoothness of the phone.Why do you think android would have Out Of Memory values if it was created to just fill up the RAM with only apps? It still needs some RAM free for caching.
Click to expand...
Click to collapse
As I stated in my first post;-
Unless you are getting below about 50MB there is not a problem
Click to expand...
Click to collapse
Of course you need some free memory, but not hundreds of MBs of it. I notice that you pointed the same XDA quote that is used and linked to by lots of different sites when this is being discussed. To use someone else's quote - better written than I could do so myself;-
In the most simplistic terms, here is how it works, and why "free RAM is wasted RAM," but also, why you don't want all RAM in use at any given time.
If an application is not in memory when you try to open it, that application haa to be loaded into memory, thus triggering a "load time." Having the application in memory (prefetched) prevents this load time and has the application load near insantly. This is why a modern OS will preload our most commonly used applications into memory. The more memory that you have, the more applications that can be preloaded, the smoother your device will run. Clearing this memory gives you no immeidate benefit, and will actually slow your device. Idle applications in memory consume almost no resources (CPU cycles, battery power, etc.). If an application is consuming resources, that means that it is doing something. Closing it will only force the application to re-load. Using a task killer for this purpose will cause a "boxing match" where the task killer closes the application, the app reopens itself, and back and forth. THIS will consume resources.
However, you want to have some memory free. Your devices will not have enough memory to preload EVERY application, so it has to guess based on your actions. It needs to have enough memory available to quickly load an app that you may want.
Let's say that you want to load an application that requires 256MB of RAM, but you only have 128MB available. This means that the OS is going to try to clear 128MB of RAM to accomodate your app, and as your app loads, will try to clear another 128MB to return to its previous state. This clear/load/clear causes a longer load time and more slowdown than just loading an app not already in memory.
So, the ideal situation is to have most common apps in memory (pre-fetched), but enough memory available to handle 1-2 common apps that are not already pre-loaded. Touchwiz (Samsung) devices allow you to clear memory from the task manager. My S2 had about 870MB of user-available RAM, and if I trashed all apps, it would go as low as 300MB in use. This may look cool, but it is a complete waste of resources, and the OS is simply going to re-load those apps over the next 2-3 minutes anyway. And if you use a task killer to keep your device idling at 300MB of available RAM? This is simply going to slow down the device, harm the battery, and give you the same memory performance and availability that you would get with an HTC G1.
Click to expand...
Click to collapse
As the OP was stating that "I only have 150 - 200MB Free RAM" with the Stock ROM, that is definitely NOT what is causing a lag issue. If you have that much free memory (before Android goes caching stuff and not declaring it of course) then you are absolutely fine on any Android device there is.
vladja10 said:
Well, you were right about the quotes (now, the new values are set), but as the other 4 lines, they still have the same error: No such file or directory, and all values are stock.
Do you have any idea what's going on? Why did it work for one, and didn't for the other lines?
Click to expand...
Click to collapse
Maybe your partitions aren't mounted.I took these lines from pimp my rom init.d script.Create another script but it has to come before the governor tweaks script.
#!/system/bin/sh
busybox mount -o remount,noatime,noauto_da_alloc,nodiratime,barrier =0,nobh /system
busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodir atime,barrier=0,nobh /data
busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodir atime,barrier=0,nobh /cache
Click to expand...
Click to collapse
For example, name this script "93Mount" and name the governor script "94Governor" so the mounting script will be executed before governor script.
ottomanhero said:
Maybe your partitions aren't mounted.I took these lines from pimp my rom init.d script.Create another script but it has to come before the governor tweaks script.
For example, name this script "93Mount" and name the governor script "94Governor" so the mounting script will be executed before governor script.
Click to expand...
Click to collapse
Well, I did like you said and here's what I got:
Code:
exec /system/bin/sh '/etc/init.d/93Mount'
h '/etc/init.d/93Mount' <
failed: No such file or directory
failed: No such file or directorybh on /data
mount: mounting atime,barrier=0,nobh on /cache failed: Invalid argument
Any idea?
For the People who want Stock Gallery on CM and hate Aosp Gallery like Iam, check facebook offical cyanogenmod. They send a link to their new gallery next. Its in beta stase, so its not avaible yet. But if its stable itll be in play store. Its like the stock gallery app. Very beauty
Sent from my LG-P880 using xda app-developers app
vladja10 said:
Well, I did like you said and here's what I got:
Code:
exec /system/bin/sh '/etc/init.d/93Mount'
h '/etc/init.d/93Mount' <
failed: No such file or directory
failed: No such file or directorybh on /data
mount: mounting atime,barrier=0,nobh on /cache failed: Invalid argument
Any idea?
Click to expand...
Click to collapse
Well try this app https://play.google.com/store/apps/details?id=com.stericson.remount&hl=tr
EDIT : check this link out. http://forum.xda-developers.com/showthread.php?t=1381188
I'm not sure it's the right track or not, it does happen to me quite ago.
The problem is the SD (my case, luckily it's external). The system try to read files from card but it got error thus try again => laggy
I removed the card and it's alive. Try to check your internal sd. hope that help
App didn't help, I got the same error. Never mind, I give up Will use Trickstermod after every single reboot until finally find solution. Thanks @ottomanhero for all your help.
@GalaxyVolvoZ that app looks realy nice. Finally a good replacement for Stock Gallery.
@klbterminator I don't have any problems with SD, at least didn't so far
Thanks guys.
Regards,
Vladimir

[Q] Half of my internal storage is missing

OK, so I have no idea what happened. All of a sudden my space was used up. Which I thought was pretty strange. When I look in settings, I'm only using about half of what I have. However, the other half of my internal storage is just unavailable. My tablet knows how much space it has total, however adding up my used space does not yield a number matching my total space.
As long as everyone understands lol, can someone tell me how to fix this?
Anyone?
NexusGazer said:
Anyone?
Click to expand...
Click to collapse
Try the app DiskUsage to see if what if anything is using up your storage.
Also try booting without a microSD in the tablet. I've seen it that a bad card caused this.
OK, so I downloaded disk usage. Apparently, 11 GB is taken up by Android. This seems strange to me.
NexusGazer said:
OK, so I downloaded disk usage. Apparently, 11 GB is taken up by Android. This seems strange to me.
Click to expand...
Click to collapse
Seems you used a different app. I meant the one by Ivan Volosyuk.
But if you have ES File Explorer or File Manager HD, they also can show you what's taking up storage down to the file level.
Either you have a lot of forgotten nandroids on there on some huge log files left over. Dig and drill down...
Ok, so I downloaded the one you meant. And this illustrates the problem to be system data. 11GB of it to be precise. What is in there for me to clear out? And where do I clear it from?
Sent from my K00C using XDA Free mobile app
Are you rooted?
If not all the stuff in green is inaccessible to you. I'm running a debloated custom rom and my System section is about 9 GB. Your's is 12 GB (1 mib = 1050 kb roughly). Could well be that non-removable apps (aside from necessary system files) take up the difference. Nothing you can do about that without root.
But I see a pretty good chunk occupying media, especially your Android folder is pretty hefty. That is where your app data lives. The most interesting part is cut off in your screenshot. You got some game installed with a very large footprint in terms of cache. Check out the size of your Android/obb folder!!!! Mine is empty!
Swipe to the right in DiskUsage and check what's taking up the space. Pinch in/out to see details.
Man, this app is great! I'm so glad I discovered it for you
Move anything not crucial like pictures, videos to your microSD. Uninstall apps you don't use anymore, especially games.
berndblb said:
Are you rooted?
If not all the stuff in green is inaccessible to you. I'm running a debloated custom rom and my System section is about 9 GB. Your's is 12 GB (1 mib = 1050 kb roughly). Could well be that non-removable apps (aside from necessary system files) take up the difference. Nothing you can do about that without root.
But I see a pretty good chunk occupying media, especially your Android folder is pretty hefty. That is where your app data lives. The most interesting part is cut off in your screenshot. You got some game installed with a very large footprint in terms of cache. Check out the size of your Android/obb folder!!!! Mine is empty!
Swipe to the right in DiskUsage and check what's taking up the space. Pinch in/out to see details.
Man, this app is great! I'm so glad I discovered it for you
Move anything not crucial like pictures, videos to your microSD. Uninstall apps you don't use anymore, especially games.
Click to expand...
Click to collapse
Yeah I have root. I am running CyanogenMod on my tablet as a matter of fact. Was a real pita getting there thanks to Asus but I managed with help from XDA.
As for the Android folder, I checked it out, and I am an idiot. GTA San Andreas, KOTOR, Bards Tale. That's 7.5 gb right there. I didn't realize there was so much extra after the fact with them.
Thanks for the app suggestion. I am adding it to me toolbox.

Categories

Resources