[DEVS can you Do it?] Better RAM managment - XPERIA X8 Q&A, Help & Troubleshooting

This Q is for active devs...
Can you guys do RAM to be like after installing V6 supercharger...
Supercharger is great but, it lag from time to time and it needs to be refreshed... So is it possible to modify stock android ram managment to be like supercharger...
(to tweak it actually, to modify minifrees like V6 SC??)
I think performance incrase will be massive that way! Better than some third party scripts.
If it's impossible than, allright.. but it's always good to ask, isn't it?
EDIT:
...oh .. I apologize, I accidentally posted this in dev section instead of general.. so don't mind please!
ANSWER IS: #2 post
der_mart said:
Hey Dare-Devil,
this Supercharger script actually does exactly what you asked for:
it modifies the settings of the internal/stock android RAM management,nothing more and nothing less.
greetings
Click to expand...
Click to collapse

Hey Dare-Devil,
this Supercharger script actually does exactly what you asked for:
it modifies the settings of the internal/stock android RAM management,nothing more and nothing less.
greetings

supercharger is good but , eat my batery !!

I like SC ..
Its better than ram mngr pro ..
Sent from my X8 using Tapatalk

One more question..
Is this possible to achieve more multitasking like FROYO on Gingerbread Roms without the things like:--Swapping,supercharger etc.
1. Gingerbread roms are bug free and with extra features but I can run only 3-4 application at a time
e.g.- suppose that I am downloading some files(100-400MB) with opera/dolphin etc in background and suddenly I have to open root explorer and install some applications then during the installation of these applications opera/dolphin automatically kill by the android and downloading stops.
2. FROYO roms are with less features and some bugs like DSP, A&V Sync.
But one thing that is impressive is that I can run 8-9 applications simultaneously.
Take the same example....I can download files via opera/dolphin in parallel with installing apps via root explorer, playing music, market downloading, Emails etc.
I don't know why there is too much difference. I think this point should not be ignored.

Ram manager pro + swapper + sd class 4
That's all you need.
PD: Supercharger it's laggy and doesn't installs easily...

KASHYAP9 said:
One more question..
Is this possible to achieve more multitasking without the things like:--Swapping,supercharger etc.
Click to expand...
Click to collapse
This is my point of the thread
KASHYAP9 said:
1. Gingerbread roms are bug free and with extra features but I can run only 3-4 application at a time
e.g.- suppose that I am downloading some files(100-400MB) with opera/dolphin etc in background and suddenly I have to open root explorer and install some applications then during the installation of these applications opera/dolphin automatically kill by the android and downloading stops.
2. FROYO roms are with less features and some bugs like DSP, A&V Sync.
But one thing that is impressive is that I can run 8-9 applications simultaneously.
Take the same example....I can download files via opera/dolphin in parallel with installing apps via root explorer, playing music, market downloading, Emails etc.
I don't know why there is too much difference. I think this point should not be ignored.
Click to expand...
Click to collapse
And I were telling this ages ago...

Gingerbread requires more memory for the OS itself than Froyo. It's as simple as that.
This is why our devices are already out of spec and we have to use many, many hacks to make it run to an acceptable level.
If you want to fix that, you have to analyse where this RAM is consumed and rewrite the code of these components more efficiently. This is actually google's job though.

now i'm interested about this part
wait till i release new optimizer
i'm pretty busy lately

new version released
link : Here My Optimizer

Guys use ram manager app by juwe11.it really does its job.buy the full version and use hard multitasking setting.
Sent from my GT-I5800 using xda premium

Auto Memory Manager. The idea behind it is simple, but dont restrict the RAM too much, it can **** up performance.

What swapper exactly does?

Please use Google uncle for this question u will get the answer.
As naa said we have to identify the ram eaters. And rewrite memory management segment for those modules. So the basic question is to identify the modules. For that we need a tool that will show the memory consumption.
Sent from my E15i using XDA Premium App

Related

[i9003] Optimal Free memory solution

Hi to all,
Was playing around many task manager software and etc etc to find a perfect task killing solution.
Finally found the best possible combination, now i always have 280 to 300 mb of memory free. Posting it here so that it will be useful to many.
Software needed.
1. AndMemory.[Rooting Needed].
2. Advanced Task Manager.
3. Process Monitor.
4. Fast reboot(Optional).
How to:
1. Install AndMemory and configure the preset of "Top Speed".
2. Place Advanced Task Manager's widget and Process Monitor widget in homescreen.
3.Configure the Process Monitor.
---->settings-> Autokill preferences-> [Select first 3 options].
---->settings->Widget Preferences->Widget Kill Action->[Select Kill Al Process].
---->settings->Widget Preferences->Top Value->[Process Count]
---->settings->Widget Preferences->Bottom Value->[Memory]
Thats it!!!!!
Note: If you want to free memory manually just click those two widgets placed in the homescreen.
Now the system always has more memory available, which keeps it lag free and also saves battery a lot.
Hope this helps our forum members
hey bala..can u plzz share ur weather widget or any link??
@ adiii
Search for "LG Optimus 2x weather widget" in google .
I think i should not post such links here.
People can also use "Quick Reboot" for closing applications instead of "Advanced Task Manager"
bala I cant find in the market
1. AndMemory. is the name correct?
My understanding after reading a thread here on xda is that killing the process is not helpful accept that you get higher value of free ram but many apps will again occupy the ram as they are designed to do so & by doing so they start much faster. let me find that thread I will post here.
Found that thread
Why You Shouldn’t Be Using a Task Killer with Android
http://forum.xda-developers.com/showthread.php?t=678205
After reading that I would prefer to have lag fix applied or use tweak provided by rex4u instead killing the apps that should be better .......what do you say?
@ sgsl
I read that article, nice information. But every task manager is not the same, if all the task manager simply kills the process alone then there is no difference.
The above combination gave me lagless phone usage.
Here is the link for AndMemory
http://www.xda-developers.com/android/andmemory-for-android/
This AndMemory tweaks the built in android memory management.
How memory optimizer works
http://andrs.w3pla.net/autokiller/details
whats ur opinion?
As for as rex mod of build.prop, The following are the tweaks made,
ro.ril.gprsclass=10
ro.sf.lcd_density=230
All the other are same as my original build.prop. There is no tweak for better battery management as said.
Also having one more doubt , the "ro.ril.gprsclass=10" tweak needs a customized kernel in order to work.[May be im wrong]
Waiting for reply from rex....
hey man
use Super Manager(all in one)
ur memory always 240+
when u unlock u get 313+(i get)
no more widget needed
c my result
https://market.android.com/details?id=gpc.myweb.hinet.net.TaskManager
@bala_gamer
I only installed And memory & I don't find it freeing more memory than other apps which Ihave been using so I uninstalled my apps & then checked it with And memory its still the same (always 135-200mb free) and that too you have to do it manually the auto setting even after applying do not work.
Seems i am doing something wrong with this app & more over since i installed it something is eating up my battery even in ideal night it consumed 7% where as before it was 2% in the night.
I test it for 1 more day & see if i can get 300mb as you said but I doubt that freeing 300mb will last any longer it will free up & after 2-3 mins the apps again start & would consume it.
Hi friends,
Is there any way out thr to free up memory without rooting the device , i hv tried few task killer app from market but every time i kill the processes it restart automatically .. I m really wired up with this behavior.. Also great help if anyone share links to root the device from gb 2.3.5. Is it possible to root without flashing new firmware??

[q] best autorun task killer

Please tell my which is best software that stops applications to run automatically at startup
tell me the application which works
no one is using any app. to stop unnecessary start up of tasks
try autostarts its very good
Sent from my GT-I9000 using Tapatalk
Ditto on Autostarts. Also, Autokiller Memory Optimzer works really well, it doesn't kill tasks itself, it tweaks the Android function thar does it to work better.
auto killer mem optimizer workd well for me.but now i simply don use any of those batt saving app,mem apps etc i jus kill apps in inbuilt task killer...iam using my phone to the peek cause at the end ill b getting a 2ghz dual core by selling sgs.......cant stick to old things lol........cheeerz
tarunagg said:
Please tell my which is best software that stops applications to run automatically at startup
tell me the application which works
Click to expand...
Click to collapse
... what?
Do any of you even understand how Android works?
so mind sharing ur exp wiv us on how it works???
manosv said:
try autostarts its very good
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
+1 Autostarts. It amazes me what runs on the phone after start-up, after you switch states or update apps. The perfect cure for batt draining nonsense
rocky23 said:
so mind sharing ur exp wiv us on how it works???
Click to expand...
Click to collapse
Google it. Android is Linux based. Its memory management is not the same as Windows. I'd explain further, but you're the 4,753,857,195 person to ask.
I spent 10s and googled it for you. Here's a quick link that explains it in simple terms.
http://lifehacker.com/5650894/andro...ed-what-they-do-and-why-you-shouldnt-use-them
Basically having applications in RAM is a GOOD thing. Constantly killing them is likely to WORSEN PERFORMANCE AND BATTERY LIFE.
Shanakin said:
I spent 10s and googled it for you. Here's a quick link that explains it in simple terms.
http://lifehacker.com/5650894/andro...ed-what-they-do-and-why-you-shouldnt-use-them
Basically having applications in RAM is a GOOD thing. Constantly killing them is likely to WORSEN PERFORMANCE AND BATTERY LIFE.
Click to expand...
Click to collapse
That's right. On the other hand - permitting almost every app to load at startup isn't the best approach, as you will soon run out of memory - therefore using apps like autostart makes sense imho. But constantly killing everything isn't the right approach either. Android removes "old" apps automatically.
Bottom line:
- just letting those apps load at startup, which you use on regular basis, is fine
- using a "ram tweaker", auto-kill app, etc. is not
Kind regards,
ww
webwude said:
That's right. On the other hand - permitting almost every app to load at startup isn't the best approach, as you will soon run out of memory - therefore using apps like autostart makes sense imho. But constantly killing everything isn't the right approach either. Android removes "old" apps automatically.
Bottom line:
- just letting those apps load at startup, which you use on regular basis, is fine
- using a "ram tweaker", auto-kill app, etc. is not
Kind regards,
ww
Click to expand...
Click to collapse
And when you run out of memory, Android will free memory by automatically killing cached (unused) apps. Therefore, I don't see the point of stopping apps from running at start--unless they're actually doing something in the background and not letting your phone sleep.
RAM tweaks (or memory management), on the other hand, is the only thing I use. I adjust OOM settings to adjust which apps Android closes to free memory, as well as how much free RAM Android should keep open in various situations.
upichie said:
And when you run out of memory, Android will free memory by automatically killing cached (unused) apps. Therefore, I don't see the point of stopping apps from running at start--unless they're actually doing something in the background and not letting your phone sleep.
RAM tweaks (or memory management), on the other hand, is the only thing I use. I adjust OOM settings to adjust which apps Android closes to free memory, as well as how much free RAM Android should keep open in various situations.
Click to expand...
Click to collapse
Well actually I don't see the point that an app, that I hardly use once per month should be loaded everytime I start the phone or change my internet connection. Also more apps at startup increase the time when the phone is available...
But on the other hand, you are certainly right, after a while, only the latest apps are still in background / memory. What I have recognized nevertheless: if you use a lot of apps with push functionality and load on startup, the phone runs out of memory...
Kind regards,
ww

[Q]Advanced task killer and touchwiz

i got 2 questions 1- should i use advanced task killer and enable auto kill??
2- i really like touchwiz launcher and i don't want to change it but its always lagging btw am using modded touchwiz with 5 dock items and transparent appdrawer
soudy1994 said:
i got 2 questions 1- should i use advanced task killer and enable auto kill??
2- i really like touchwiz launcher and i don't want to change it but its always lagging btw am using modded touchwiz with 5 dock items and transparent appdrawer
Click to expand...
Click to collapse
First off all which ROM and what kernel are you using !!
i have some tricks to boost up ur SGS !!!
Ashtrix said:
First off all which ROM and what kernel are you using !!
i have some tricks to boost up ur SGS !!!
Click to expand...
Click to collapse
am using this rom http://forum.xda-developers.com/showthread.php?t=1117579
with arabic fix patch and modded touchwiz
any help??
Uninstall and reinstall the modded launcher? I'm not familiar with it, so I really have no idea what the problem is. Does your phone lag anywhere besides the launcher? If not, it's probably the launcher itself.
As for an automated task killer, that is useless. Android (Linux) manages ram differently from Windows: it loads things into RAM so you can use them faster, and it kills things when it needs more space. This means that RAM is being taken up by essentially background processes—no CPU cycles are being used, and no battery is being drained, they are simply held in RAM to ensure later usability. Killing these applications, even while not in use, simply makes Android launch more apps to utilize free RAM in the background. Therefore, by closing them, you're forcing Android to open more, which consumes CPU cycles, drains your battery, etc.
If you're interested in making your phone more responsive, and have been looking towards memory management to do so, I would strongly suggest using the 'V6 SuperCharger Script'.
Original Thread
Quick Tutorial
I use the MegaRam setting, which leaves plenty of memory free at any given time. I believe this is what you were wanting to accomplish with the task manager; however, again, Linux does not work like Windows. It has amazing benefits, though. Give those links a look.
upichie said:
Uninstall and reinstall the modded launcher? I'm not familiar with it, so I really have no idea what the problem is. Does your phone lag anywhere besides the launcher? If not, it's probably the launcher itself.
As for an automated task killer, that is useless. Android (Linux) manages ram differently from Windows: it loads things into RAM so you can use them faster, and it kills things when it needs more space. This means that RAM is being taken up by essentially background processes—no CPU cycles are being used, and no battery is being drained, they are simply held in RAM to ensure later usability. Killing these applications, even while not in use, simply makes Android launch more apps to utilize free RAM in the background. Therefore, by closing them, you're forcing Android to open more, which consumes CPU cycles, drains your battery, etc.
If you're interested in making your phone more responsive, and have been looking towards memory management to do so, I would strongly suggest using the 'V6 SuperCharger Script'.
Original Thread
Quick Tutorial
I use the MegaRam setting, which leaves plenty of memory free at any given time. I believe this is what you were wanting to accomplish with the task manager; however, again, Linux does not work like Windows. It has amazing benefits, though. Give those links a look.
Click to expand...
Click to collapse
That was awesome dude!!
nice post!
hey soudy1994 try the above post, i was gonna post that but he got it
topped with some extra easy tutorial !
These may also help you in boosting your SGS !
Build.prop tweaks (only if your ROM support for build.prop & init.d).
SAS Tweak.!
i think the above tweaks may have Juwe's Ramhack,i recommend go through em once and if the ramscript is not present you can have it, use the script manager (from the above tutorial )if you are a newbie !
I have phone patched with SAS tweaks+Juwe's script !
and finally would say try Jetpack ROM it has SAS tweaks built in and Solid kernel based on CF-root (semaphore)!
try my sign !

Apps Performance issue

Hello evry one. I have problem in my captivate and other models of android. I installed almost every custom rom but problem of loading apps fast still exist. What i mean is.. that when i on my mobile, so first time apps like calender, messenging etc take a little time to load. than when i close the app and open again, it loads very quickly. When mobile goes to standby for more than 10 mins, and when i on it, it again take little time to load apps, and widget menu etc.
Why it is like that ??? and whats the solution to always load the apps quickly
majidshahab091 said:
Hello evry one. I have problem in my captivate and other models of android. I installed almost every custom rom but problem of loading apps fast still exist. What i mean is.. that when i on my mobile, so first time apps like calender, messenging etc take a little time to load. than when i close the app and open again, it loads very quickly. When mobile goes to standby for more than 10 mins, and when i on it, it again take little time to load apps, and widget menu etc.
Why it is like that ??? and whats the solution to always load the apps quickly
Click to expand...
Click to collapse
It's how Android manages memory. It keeps your apps in memory until it needs to free some, at which point it starts to close apps to free some up. If they're already in memory they open fast because they're already open. If they aren't, they open more slowly.
There's not a ton you can do, really. Some 3rd party sms apps let you lock the app in memory, but I honestly never checked to see if it really works or not.
Personally, I restart my phone every morning when I wake up. This frees up the most memory and allows your phone to leave more apps open before closing them.
make sure you arent running any ****ty task killers.
You could flash an I9000 ROM/kernel that let's you tweak the lmk. (low memory killer)
Talon and semaphore both offer that option.
The trick is to make it weak enough to not kill the apps you want, but aggressive enough to not allow to run out of ram completely.
both of those kernels also have a "bigmem" version that gives the user a bit more ram at the cost of being able to record video in 720p.
studacris said:
You could flash an I9000 ROM/kernel that let's you tweak the lmk. (low memory killer)
Talon and semaphore both offer that option.
The trick is to make it weak enough to not kill the apps you want, but aggressive enough to not allow to run out of ram completely.
both of those kernels also have a "bigmem" version that gives the user a bit more ram at the cost of being able to record video in 720p.
Click to expand...
Click to collapse
I like ur answrr. But can u pls guide me abt lmk. I like this idea but never use such tweaks. I m using talon kernel right now and rom is much fast. But have same prb of apps loading
In the app memory freak, that installed with the kernel, there is a slider for you to adjust,
lower number the more aggressive the lmk but the better the overall performance.
Higher number is less aggressive and is better for multitasking, but can be a bit slower.
studacris said:
In the app memory freak, that installed with the kernel, there is a slider for you to adjust,
lower number the more aggressive the lmk but the better the overall performance.
Higher number is less aggressive and is better for multitasking, but can be a bit slower.
Click to expand...
Click to collapse
Where to find app memory freak ? i haven't seen any option in CWM
Should have been installed when you flashed talon. If not, it should be linked in the talon op.

[Q] Extremely Low Ram & Camera Force Closes - CM7

I have a Droid A855 rooted, CM7 installed. I have the latest build. I have two issues, one is that the free RAM is ridiculously low with like 5 apps open it has about 20MB of RAM free. This is unacceptable because my Huawei Ascend has 90 free with many apps open, and the Droid has twice the ram of the Ascend. Is there any suggestions about this? Also the camera was working great and then it started freezing, and now the camera force closes when I press the button to take a picture. If I go to the camcorder it works fine, but otherwise I get force close. Any help would be greatly appreciated.
AtmosFEAR4701 said:
I have a Droid A855 rooted, CM7 installed. I have the latest build. I have two issues, one is that the free RAM is ridiculously low with like 5 apps open it has about 20MB of RAM free. This is unacceptable because my Huawei Ascend has 90 free with many apps open, and the Droid has twice the ram of the Ascend. Is there any suggestions about this? Also the camera was working great and then it started freezing, and now the camera force closes when I press the button to take a picture. If I go to the camcorder it works fine, but otherwise I get force close. Any help would be greatly appreciated.
Click to expand...
Click to collapse
Personally CM7 has just never ran smooth. No matter what I have tried. Gingerbread was never really meant for the Droid so most roms have built in stuff to help with memory that I do not believe CM7 ever had added. and the camera is outright terrible lately, I have it force closing on all my roms. I really don't know how to help all I can really try suggesting is trying out other roms
durandgir said:
Personally CM7 has just never ran smooth. No matter what I have tried. Gingerbread was never really meant for the Droid so most roms have built in stuff to help with memory that I do not believe CM7 ever had added. and the camera is outright terrible lately, I have it force closing on all my roms. I really don't know how to help all I can really try suggesting is trying out other roms
Click to expand...
Click to collapse
Thanks for the quick reply, I beg to differ on the Gingerbread not being for the droid part, my old Ascend runs Gingerbread Cm7 with flying colors, and this droid has double the performance...
AtmosFEAR4701 said:
Thanks for the quick reply, I beg to differ on the Gingerbread not being for the droid part, my old Ascend runs Gingerbread Cm7 with flying colors, and this droid has double the performance...
Click to expand...
Click to collapse
Try Peter Alfonsos GB, I found that it gave me the most amount of free ram at any time
taptaptouch said:
Try Peter Alfonsos GB, I found that it gave me the most amount of free ram at any time
Click to expand...
Click to collapse
Hmm
Sent from my Droid using xda premium
I think you guys are missing a crucial part about how Android is built. Free RAM is wasted RAM.
Newer versions of Android, especially Gingerbread, are better at RAM management than older versions. Granted, there's an ever-growing need for more RAM for basic system functions, but Android is designed to free up RAM on-demand for the things that need it.
Just because RAM isn't free doesn't mean that the system is going to slow down. Android will put the stuff that's not being used anymore into a swap file so that the stuff you need to work with can do what it wants.
projektorboy said:
I think you guys are missing a crucial part about how Android is built. Free RAM is wasted RAM.
Newer versions of Android, especially Gingerbread, are better at RAM management than older versions. Granted, there's an ever-growing need for more RAM for basic system functions, but Android is designed to free up RAM on-demand for the things that need it.
Just because RAM isn't free doesn't mean that the system is going to slow down. Android will put the stuff that's not being used anymore into a swap file so that the stuff you need to work with can do what it wants.
Click to expand...
Click to collapse
Yes but the ram is going so low that it is closing my applications like music when I go to a different screen.. it's frustrating
information ++
sfahadzb said:
information ++
Click to expand...
Click to collapse
What? I dont understand
I agree with you and I will like to agree with you but it just won't work. This is like Windows Vista, they use all the memory, but it is very slow when you try to open application which you don't use a lot.. and it also causes a lot of slowness when you try to use more ram for soemthing else, like modify a huge image in photoshop and then switch to some other application.
Get back to the real story, my phone get memory lower than 50 free MB easily. and when I open Google current in this stage, it just hangs for 5 minutes. then I get a message "force closed". However, if I have 100 free MB, then I am safe, I don't see that popup message. Moreover, when I go to 40 free MB, I even have hard time to open skype and pick up the phone, it just rings, but the screen just hangs! when the screen refresh back, people get into mailbox already....
anyway, I found a software to temp solve this problem ZDbox. I set up when the screen hangs, "kill all apps in the memory" it is not best, but at least I can pick calls, I can run application without getting "force closed" message all the time.. because I need to reboot few times a day to solve ram issue.
perhaps, you can do a test yourself.
- install CM7
- install facebook app and run
- install google reader and run
- install google current and run
- install skype and run
- install gmail and run
- install google voice serach and run
- install google book and run
- install whatsapp and run
- install naver LINE and run
- install twitter and run
- install zdbox and run
- install lookout and run
- install go laucher
well after all this, your phone show be in less than free 50MB.. if so, try to run other application and you will see the problem.. screen hangs.....very slow response....not able to pick calls...
projektorboy said:
Just because RAM isn't free doesn't mean that the system is going to slow down. Android will put the stuff that's not being used anymore into a swap file so that the stuff you need to work with can do what it wants.
Click to expand...
Click to collapse
Yeah but even though "free ram is wasted ram" it still causes instability and force closes along with just pure out lag. My D1 lags when it has only 30mb of ram or less anything over 50 and it flies along. It lags to the point were even simple tasks are slow when they should not be.
AtmosFEAR4701 said:
I have a Droid A855 rooted, CM7 installed. I have the latest build. I have two issues, one is that the free RAM is ridiculously low with like 5 apps open it has about 20MB of RAM free. This is unacceptable because my Huawei Ascend has 90 free with many apps open, and the Droid has twice the ram of the Ascend. Is there any suggestions about this? Also the camera was working great and then it started freezing, and now the camera force closes when I press the button to take a picture. If I go to the camcorder it works fine, but otherwise I get force close. Any help would be greatly appreciated.
Click to expand...
Click to collapse
Droid has 256MB RAM. (Actually, there's only 226MB RAM available to kernel.)
If the Droid has twice the RAM of your Huawei Ascend, then your Ascend has only 128MB RAM.
If it has 90MB RAM free with many apps open, then it means that all the system services and all the "many" open apps has to fit to 38MB of RAM.
That's hard to believe.
And btw., you can't compare RAM consumption on devices with different display resolution. Droid drives 854x480 pixels and uses hdpi bitmaps. I guess that the Ascend has lower resolution. The RAM demand is much higher on WVGA hdpi devices compared to low resolution HVGA/QVGA mdpi/ldpi devices.
When I my HTC Desire Z, I was in love, awe of the beautiful interface HTC Sense and the many adjustments I needed to make experience to a higher level, the Android. However, as I went about installing my wealth of applications, games and widgets (more than a hundred, are addictive), Sense started getting so instead of improving my experience. The initial screen would start every few hours re; each faucet took longer to record; Screen rotation when the keyboard sliding open continue for centuries; and each phone looked like he was struggling to get by.

Categories

Resources