[Q] [REQ] Adjust OOM-killer - Desire Q&A, Help & Troubleshooting

Hi @all!
I had many different ROMs installed and 1 thing is driving me nuts on all:
The system is killing apps that I don't want to get killed at all, any time!
e.g.: FolderOrganizer (using folder shortcuts and notification item, but it still gets killed)
AutoKiller's ability to reduce oom-value isn't persistent - so no option.
I've found this:
http://lwn.net/Articles/317814/
To make some special apps invincible would do it for me, because most options in apps to hold them in RAM are quite buggy. (as they say)
Wouldn't this patch be great or have I missed something allready existing?
If so, plz give me a hint.
THX in advance!

Write a short init script, that set oom_adj to -17 and the app won't get killed. Or just set it manual in a terminal.

Hi!
I've tried that:
Code:
su
echo -17 /proc/'pidof com.abcOrganizer'/oom_adj
But after some time or screen on/off the oom-value isn't -17 anymore and it gets killed after some more time.
The "-17" doesn't lock it like in former kernel versions. (for what I have read)
Is there another way?
Can someone try to compile a kernel with the patch?
EDIT:
In GingerVillain 1.0 I cann't even adjust the oom_adj with the commands above.

floyd0815 said:
Hi @all!
I had many different ROMs installed and 1 thing is driving me nuts on all:
The system is killing apps that I don't want to get killed at all, any time!
AutoKiller's ability to reduce oom-value isn't persistent - so no option.
I've found this:
http://lwn.net/Articles/317814/
Click to expand...
Click to collapse
Floyd, I am looking for a solution to this too. Hate that Android kills my navigation in the backgroud silently. Also other apps. Please, tell me if you have found a way to "protect" an app from killing. Thanks for making this thread/topic! I think this matter id so important and I cant understand how no one is bother by this. I hate it just as much as you and I want to find a solution.

Simple use swap part you try?

Camogyp said:
Simple use swap part you try?
Click to expand...
Click to collapse
Please, tell me what you mean. Sorry... I don't understand. I really have to know Please, be more specific.
Thanks in advance!

Create a SWAP partition on the SDCARD, about 512MB should be ok. You shouldn't go under 256MB. Then use a kernel that supports SWAP

There's an option named "bulletproof apps" in the Supercharger v6 script that is supposed to keep apps in memory forever. You'll find the thread easily. If you want to try it, use the starter kit that you find there first as it needs to patch some system file for the script to work.

DeeDroid said:
There's an option named "bulletproof apps" in the Supercharger v6 script that is supposed to keep apps in memory forever. You'll find the thread easily. If you want to try it, use the starter kit that you find there first as it needs to patch some system file for the script to work.
Click to expand...
Click to collapse
andreigherghe said:
Create a SWAP partition on the SDCARD, about 512MB should be ok. You shouldn't go under 256MB. Then use a kernel that supports SWAP
Click to expand...
Click to collapse
Thank you, guys! Nice of you to help. One question: if I use Supercharger, is it going to create a SWAP partition itself, or I'm going to have to do that myself manually. Or in fact Supercharger doesn't even need SWAP partition? What's the most proper way? I already read about the Supercharger and I was thinking about using it.
Or in the end may be it would be good to go from the stock ROM to a private ROM, which has supercharger integrated? is there a good private ROM you would recommend having supercharger?

You dont need a swap partition, the easy way is to use a swap file. Swapper2 from the play store can do that if your kernel supports swap.
Swapping didnt help much for me with background apps getting killed to fast. Supercharger is a different thing that has nothing to do with swapping. I think its changing the OOM value of apps that have been bulletproofed periodically in the background so that Android kills something else on low memory but not the app you want to keep alive.

DeeDroid said:
You dont need a swap partition, the easy way is to use a swap file. Swapper2 from the play store can do that if your kernel supports swap.
Swapping didnt help much for me with background apps getting killed to fast. Supercharger is a different thing that has nothing to do with swapping. I think its changing the OOM value of apps that have been bulletproofed periodically in the background so that Android kills something else on low memory but not the app you want to keep alive.
Click to expand...
Click to collapse
DeeDroid, thank you very much for helping me again. I decided to install Supercharger.
Please, tell me one more thing: what is the swap going to help for. Is i good to also have it? Should I install both Supercharger and Swapper2 or if I have only Supercharger this would be enough. I dont want to overdo everything and pile my phone with apps. Thank you again.

Well the swap should compensate the rather low amount of physical ram, but don't expect too much, I didn't notice a big difference and apps were killed in the background anyway. You can just try it with swapper2. If your kernel supports it, it's as easy as clicking a checkbox on and off.
You can type "free" in the terminal to see if your swap file is beeing used and how much of it.
Supercharger and Swap do different things that shouldn't interfere with each other so you probably could use both at the same time I think. But as your primary goal seems to be to avoid certain apps being killed in the background I would go for the supercharger, though it's a bit more complex to set up. Supercharger is supposed to make the overall performance better, "bulletproof apps" is just an additional features. I didn't try it on my Desire but it helped a lot on my Archos Tablet that also got only 512MB RAM.

Related

[[Speed Improvements]] Brainstorming & Testing Thread!!

Hey guys,
Seems there's a lot of ways you can improve the speed of Android in general. Some seem to be snakeoil... others, work quite well and there's proof to back it up.
I'm only interested in discussing the latter .
A lot of people have helped me gather a better understanding of Android (hyc, stinebd to name a few) in addition to a lot of Google searching. I am going to compile a list of what I have done, I would like to hear what you guys have done! Most app killer apps / app control will already be addressed, so those tools need not apply... I'm looking for real, permanent fixes here without adding more apps!
I am also trying to have topics that are easy working up to advanced. Obviously the more advanced topics are going to be harder to do. You've been warned.
So here's the disclaimer.
****DISCLAIMER****
Speed is as always relative. That basically means I don't want arguments about which build is faster. I want to argue about how to make every build faster .
Also, these tips should apply to any build, any device... they are pretty generic tips, but are obviously specific to Android, with some idiosyncrasies that apply to our port that wouldn't apply to native Android devices. Some is common sense, others are real ways to tear into the system. Hope you enjoy it!
Topic 1
Difficulty Easy - Apps/Widgets​
I've noticed the number of widgets i have on my screens, or the number of apps that I have installed/are running in the background to greatly effect performance, in an obviously negative way.
Once I removed all the widgets (I only have the basic analog clock widget & the Google search widget on one desktop...) this seemed to improve general speed. One minor thing to check is if apps are set to auto/background sync. Only enable the ones you really want syncing, others just check manually.
On this same topic, replacing the launcher (the stock launcher in Android, Launcher2 is quite slow) can help immensely. I like ADW, but I've used LauncherPro in the past and it is good. Zeam also seems like a good launcher. I haven't used Go Launcher EX, I've heard good and bad things about it. Use what works best for you, try 'em all!
The last thing on this topic I would like to mention is animations. Settings -> Display -> Animation -> No animations can make the phone feel quite a bit snappier, obviously at the expense of the look/feel of the OS.
Topic 2​
Difficulty Easy - Controlling app 'net Access​
This leads me into the next topic, DroidWall. I've noticed that blocking apps from accessing the internet has been a very good thing - it's not so much a performance booster (although it probably does provide a little bump) it's mostly about battery life. Just be warned, if you block an app that is set to background sync, it will probably have very negative effects. Only disable an app's access to the internet with DroidWall after you've checked that app's background sync feature is disabled. I have a few apps allowed in DroidWall, and the rest are blocked. You can "whitelist" everything and check apps you want to block, or "blacklist" everything and check the apps you want to allow. It's a little annoying to remember to enable/disable DroidWall (I use the DroidWall widget to enable/disable it globally) but if you do, it is much better - you have complete control over how apps access the 'net on your device. It is available on the Market.
Topic 3​
Difficulty Moderate - SD cache/readahead tweaking​
The only reason I'm calling this one 'moderate' is the number of choices you have for settings for this... It's basically telling the SD card how much to hold on to or... read "ahead" if you will . This was turned way up in FRX07, (from 256kb to 2048kb or 2mb...) and I think this might be the source of a lot of the complaints of 'mini-resets' if you will where the boot animation is suddenly seen after a long system hang...
So some cards will work better with a larger setting - I've heard some with spankin new C6 cards that said 3072kb or 3mb was a good setting. Others have found a sweet spot at 256kb or 1024kb (1mb).
There are two ways of doing this - you can hack the init in the rootfs and adjust the setting manually, or be lazy like me and use SD Booster (from the Market). Adjusts the same settings, and they are applied immediately!
I would like to find a "sweet spot" - a good default if you will. Can folks test out 512kb and 1024kb, see if you have any more mini-resets within Android or any other slowness, etc... Obviously this isn't a cure-all for the slowness or the mini-resets, what we're looking to do is mitigate the effects. So let's focus on that, thanks!
Topic 4​
Difficulty Moderate - Overclocking​
Overclocking is obviously one relatively easy way to improve the speed of Android. In your startup.txt, add a line
Code:
acpuclock.oc_freq_khz=710400
for example to overclock to 710.4mhz. How did I find this value? I actually put in 714000, but if you look at dmesg near the beginning you'll see "ACPU running at ..." - that's what clock is the actual maximum. It goes in 19.2khz increments.
Feel free to experiment with how high your phone can go, just be warned that the higher you go the potential for failure goes up as well . Phone shouldn't blow up, but it might not work correctly or at all. Rebooting and scaling it back will fix it.
Here's the full *example* startup.txt:
Code:
set ramsize 0x10000000
set ramaddr 0x10000000
set mtype 2292
set KERNEL zImage
set initrd initrd.gz
set cmdline "lcd.density=240 msmvkeyb_toggle=off gsensor_axis=2,1,3 pm.sleep_mode=1 physkeyboard=rhod400 acpuclock.oc_freq_khz=710400"
boot
You can put the command anywhere in the cmdline section, just make sure it's between the quotes and at least one space between each command.
Topic 5​
Difficulty Advanced - How Android Manages Memory/apps​
Ok, I'm going to take two approaches to this. The first, is the full explanation on how Android manages memory.
Please feel free to read the post I originally read that inspired me to start looking at this stuff - How to configure Android's *internal* taskkiller. It was very helpful for me to grasp how Android manages applications. This is the reason why application killers are not a good thing...
If you want to do it manually, Starfox suggests:
Code:
echo "1536,3072,8192,10240,12288,20480" > /sys/module/lowmemorykiller/parameters/minfree
To try to do these commands, adb is very useful. Once you get adb shell working, then you just need to "su" (provides 'super user' privileges (root)) and put in the echo command above ^^.
I had another user (thanks icevapor) suggest this script -
[Script] V6 SuperCharger! HTK & BulletProof Launchers! The ONLY Android MEMORY FIXER!
I tried it myself, and it works very well. This thread is a little overwhelming, but the jist of it is this:
Install Script Manager (on the Market)
Run the V6 SuperCharger script. I use "Aggressive 1 Settings" (#2) and then I use the OOM Grouping Fixes & "Hard to Kill" launcher (#17)
Point Script Manager to run /data/99SuperCharger.sh to run as root & on boot. This will ensure the tweaks are reapplied after a reboot.
Topic 6​
Difficulty Advanced - Managing Apps that auto-start on boot​
This is one of the most annoying things in Android. When you have no apps installed, it seems very fast. Then you install apps, and you never seem to get that original speed back... Now you can!
This is kind of difficult to do, I am still getting the hang of it... but here goes. All credit goes to hyc, his original post.
The basic idea here is you run a logcat (adb logcat is easiest here, or you can use GetLogs to pull logcat...) Look in this log for "for broadcast" and find apps that start on boot. For example,
Code:
Line 41: I/ActivityManager( 1394): Start proc nextapp.systempanel for broadcast nextapp.systempanel/.monitorservice.BootReceiver: pid=1752 uid=10060 gids={3003, 1015}
Notice there are two sides of the "for broadcast". The name of the package (nextapp.systempanel) and the name of the service, "nextapp.systempanel/.monitorservice.BootReceive". I made the mistake of disabling the app (the left side). Do not do this, you want to disable the right side!
So in the shell,
Code:
pm disable nextapp.systempanel/.monitorservice.BootReceive
This will be persistent across boots, it will go with your data.img.
Obviously this was just one example of an app to disable. So long as you disable the right side (after the 'for broadcast') you shouldn't disable anything that will cause a serious problem. The apps should still work, but for example if you disable Google Voice you won't get messages until you open the app. So think about that... You disable Titanium Backup schedules.BootReceiver, the schedules for Titanium Backup (if you have any) won't run. Stuff like that. Disable calendar, you won't get calendar events... Disable clock no alarms. Get it? Good. I have been rebooting several times, and I keep checking what is set to start on boot. I'm not quite happy with it yet, but there's some things I'm leery of disabling. Just be wary, if you do disable something and don't like it - just pm enable <whatever you disabled>.
Now experiment away! The one caveat is if you do break something with pm disable (and it's serious) you might get a failure to boot. It really depends on how bad you mess up. If you make a copy of your data.img before you start making these changes, you can revert to that data.img and start back there.
Alright guys. Going to use this thread as a way to brainstorm about ways to improve the speed. Read up what I've posted, let me know if I did anything wrong... Also let me know what you guys do to improve speed!
Don't care about what build you're running, this thread isn't about what build is fastest - this is a how do I make every build faster thread.
I also realize I posted this in the Rhodium section - I want to see if there's any BLAC-specific tweaks that others should be made aware of!
Thanks. Great posting. Will try some of the topics I never used (because I didn't know about them).
ThaiDai said:
Thanks. Great posting. Will try some of the topics I never used (because I didn't know about them).
Click to expand...
Click to collapse
I'm sure there are more as well... These are just the ones that I found made the most difference on my device.
I'm also curious about the minfree setting. I've only tried a few settings, they seem good. I haven't done any drastic number changing, it seems like changing these values should be done with a lot of caution and testing. There are definitely some values that should not be touched and others that can take some more fudging with numbers .
Added Topic 3 and Topic 4 to startup.txt and rootfs.img.
Just booting. Let's see if this is stable.
Software options I do not test now because I only test the new versions now. So specific app optimization only necessary when ThaiDai Android Loader and installation procedure reaches v2
Ok, boot ok, started Android (NeoFROYO build(, will tell tomorrow if stable.
If so I will use this options as standard for Blacky and I will add software like Droid firewall.
Thanks and good night
Update - I redid topic 4, feel free to re-read it.
Thanks
Enviado desde mi FROYO BLUE CWM1.9 usando Tapatalk
Hi Arrrghhh!
Can a squashfsed and odexed apk boost speed inside Android OS?
john_matrix said:
Hi Arrrghhh!
Can a squashfsed and odexed apk boost speed inside Android OS?
Click to expand...
Click to collapse
No clue. What does that have to do with the Speed Improvements thread?
I'm guessing you tried and it didn't work? What APK!?!
I guess I don't really follow your train of thought. Does sqshfs'ing and odexing an APK make it run faster...? I'm pretty new to Android in general. Never even used a native Android device .
http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
http://forum.xda-developers.com/showthread.php?t=709630
farukb said:
http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
http://forum.xda-developers.com/showthread.php?t=709630
Click to expand...
Click to collapse
I still don't get what that has to do with our builds. ODEX and DEODEX have nothing to do with our builds... That stuff only applies to native devices, or builds that are ported from native devices (I would think).
Perhaps I'm missing something here... please tell me if I am .
Maybe they mean something else like: oxidized or deoxidized (reduced) apps. With these modified apps you can speed up the transfer of electrons, resulting in more performance without overclocking your cpu. And more: it will not reduce your battery capacity measurable. I used it in some of the builds I tried. You will get a nice small benefit also: because of the electron transfers you will get a small induced massage in your fingers for free.
ThaiDai said:
Maybe they mean something else like: oxidized or deoxidized (reduced) apps. With these modified apps you can speed up the transfer of electrons, resulting in more performance without overclocking your cpu. And more: it will not reduce your battery capacity measurable. I used it in some of the builds I tried. You will get a nice small benefit also: because of the electron transfers you will get a small induced massage in your fingers for free.
Click to expand...
Click to collapse
LOL!
Epic.
OK. I cant get V6 SuperCharger script to work! I downloaded the script and run it but I cant find /data/99SuperCharger.sh after I run it
x12CHRIS18x said:
OK. I cant get V6 SuperCharger script to work! I downloaded the script and run it but I cant find /data/99SuperCharger.sh after I run it
Click to expand...
Click to collapse
Did you make the choices in the script, or did you just exit the script?
You have to make sure ScriptManager is running as root too. There's a setting for it. "Browse as root" - make sure that is enabled. You won't be able to see /data without browsing as root.
...You have a TouchHD? I always thought you had a RHOD, lol.

[Q] SuperCharger script?

Which one is MOST suggested?
1. Use the V6 script by zeppelinrox?
OR
2. Install RAM Manager app?
P/S : Does anyone knows how to un-supercharge the V6 script? PLEASE help me!
SyzwnFrzRdz said:
Which one is MOST suggested?
1. Use the V6 script by zeppelinrox?
OR
2. Install RAM Manager app?
P/S : Does anyone knows how to un-supercharge the V6 script? PLEASE help me!
Click to expand...
Click to collapse
If you look at the options available at the number input stage, one of these can remove supercharge settings.
I prefer ro zeppelinrox's v6..it's more reliable..
sent from another space
I dont know its hard to say. Ive used the v6 on 3 roms and its abit of a does it or does it not. Plus its hard to say. But it does free up some memory from looking at task manager it was always between 180 and 200mb of ram which is good.
At the minute im using ram manger and the ram is up around 220 to 250 but smooth just have it on normal balance setting.
Everyone is going to have their favorite's. I personally found the v6 to be annoying when setting it up and trying to get it 100% sc. But it seemed to work at the end of the day so cant argue.
A tricycle is easy to ride and is for kids.
And that app is a a tricycle, missing a wheel, and pretending to be a ferrari - it does nothing for the launcher or multitasking and you have to pay for the third wheel.
You can get the same effect as that app with autokiller or auto memory manager - for free.
I do have the V6 script in my phone now so based on your replies guy, i guess i'm gonna stick with the script instead of the RAM Manager.
@Zeppelinrox,
If i am to un-supercharge the script, the data of V6 is still in the phone, right? Where is it located then? Thanks!
If you unsupercharge the only thing left on the phone itself is nothing
But all the files stay backed up on the sd card for easy re-resupercharging
zeppelinrox said:
If you unsupercharge the only thing left on the phone itself is nothing
But all the files stay backed up on the sd card for easy re-resupercharging
Click to expand...
Click to collapse
I mean where are the backed up files? And is there any steps for re-supercharging? Thanks!
A tricycle huh..?and pretended to be a Ferrari..haha..
@snwman
Dude,v6 is not like bunch of cosmetic app where u can found on market that is easy to ride ..v6 is a script and it's solid like hell..its not how much u can free up ur memory,it's about managment..and it's free,!!!!
But whatever suite u well,its up to u..so..happy riding..
sent from another space
I'd like to know if anyone running the script on the SGW has had problems with the stock browser, particularly trying to open more windows/tabs. I realised the moment I opened a second tab the the phone froze while opening the web page and took several minutes before killing the browser. I've never had problems with tabbed browsing so its certainly linked to the V6 aggresive memory management. I'm also aware the browser can use up huge RAM(upto 100MB and over) depending on how many and how big the web pages you are opening. Any help here would be welcome.
PS: I'm running the RC6 Version of the script.
Sent from my GT-I8150 using XDA App

[Q] Boost our Xperia Play's gaming performances

Hello all,
I am the owner of a rooted xperia play with stock rom.
I've installed link2sd so that I can save some ram and space: moved most of my apps on the SD card, and deleted some unwanted native apps (Bruce Lee, Fifa, etc...) and "freezed" the others I did not dare to delete.
But this is not enough for me to play games like GTA III and Dead Trigger smoothly, even with a task killer and airplane mode set on. I suffer from many lags while playing greedy games.
I've done some researches on this forum and found some potential solutions:
- Using boosting apps like: gamebooster, ram manager pro, chainfire 3D pro, etc...
- Overclock the processor up to 1,6ghz with setCPU or other apps.
-Increase SD card performance and optimize ram as explained below:
Increase SD card performance
1. Navigate to /sys/devices/virtual/bdi/179:0 folder in your Xperia Play
2. Press and hold on the read_ahead_kb file. This action will pop out a new menu.
3. Choose Open With Text Editor option
4. Change the current value to 1024
5. Save your changes and exit
Optimize RAM
1. Grab the Juwe_Update18082011_RAM_Script.zip
2. Extract the file and put it on your SD card
3. Launch the Root Explorer
4. Navigate to /system/etc/
5. Create a new folder, named it as init.d
6. Copy the S97ramscript file into that folder
7. Set the perms of S97ramscript file to rwxrwxrwx
What is your advice? Can I use safely one (or several) of those solutions? What are the risks? Which solution is really effective and will allow me to play demanding games?
My xperia play is still under warranty so I don't want to lose it. Which means I don't want to try custom roms or custom kernels... Until my warranty ends.
Thanks for your help!
Well, the biggest performance boost, overclocking, requires a custom kernel. Not much else really makes a huge difference
Also, I believe using the init.d directory requires a custom kernel as well
Why not just use v6 supercharger?
Sent from my R800x using xda premium
jgregoryj1 said:
Why not just use v6 supercharger?
Sent from my R800x using xda premium
Click to expand...
Click to collapse
Did not know about this one...
It has a lot of success judging from the number of pages in the official v6 Supercharger thread...
But seems a bit complicated to me. Does it really works? Have you noticed some improvements in your performances?
More importantly, does it preserve the phone's warranty? I've read somewhere that it can be uninstalled so I guess so, but I'd like a confimation first.
Thanks for your help.
Look, the amount of times I have seen this type of thread open is astounding I would like to point that you use gingerbread any version (2.3.7 Moded to look like rom) and a custom kernel such as Doomlords etc. Supercharge or use a rom like Dike's. You only get best performance with using less apps, rebooting the phone before playing a game, task killers, clean your cache, installing phone eco friendly apps and use a governer for your preference!
---------- Post added at 01:47 PM ---------- Previous post was at 01:45 PM ----------
cityhunter62 said:
Did not know about this one...
It has a lot of success judging from the number of pages in the official v6 Supercharger thread...
But seems a bit complicated to me. Does it really works? Have you noticed some improvements in your performances?
More importantly, does it preserve the phone's warranty? I've read somewhere that it can be uninstalled so I guess so, but I'd like a confimation first.
Thanks for your help.
Click to expand...
Click to collapse
No you wont because you have to root, rooting voids the warranty anyway but you can simply unroot after...
cityhunter62 said:
Did not know about this one...
It has a lot of success judging from the number of pages in the official v6 Supercharger thread...
But seems a bit complicated to me. Does it really works? Have you noticed some improvements in your performances?
More importantly, does it preserve the phone's warranty? I've read somewhere that it can be uninstalled so I guess so, but I'd like a confimation first.
Thanks for your help.
Click to expand...
Click to collapse
I saw a vast improvement in my phone with V6. Its really easy. Just place the scirpt on your SDcard. Download script manager, then select the V6 script, check run as root, and hit go. Follow the on screen selection.
I did the following
512 HP super unleaded (Bulletproof home)
Nitro Lag nullifier
Seriously.... BIG difference in my phone. I could b playing a game and hit the home button.. BAM... there instant no lag no redraw, nothing just all there ready to go. Seriously cannot praise it enough.
nice..
Just to share my experience.
I've bought Ram Manager Pro finally.
I know it's probably not as effective as an overclock or V6 Supercharger, but I do not want to mess with the kernel, custom roms or scripts.
I'm running on stock gingerbread rooted, I've removed the bloatwares and I think it's enough modifications already. I don't want any bugs or troubles with stability so I don't want to modify the OS too much.
Anyway, I'm using Advanced Task Killer along with Ram Manager Pro... And it works! Really.
I was not able to play GTA because it was too laggy, but with Ram Manger Pro set on "Hard Gaming", I was able to improve the graphics (max details, dynamic shadows, 75% clipping and 80% resolution) and it plays rather nicely. It's not really smooth (not like 60 FPS) but it's far enough to be playable and enjoyable.
It wasn't without Ram Pro Manager. SO it's worth trying. Don't expect miracles but some gain in performances, surely.
Maybe I should try an alternative launcher as I heard it can improve performances as well... Any suggestions for a light and modest one?
Also, is there anyway to prevent Maps, Facebook, Crash bandicoot or Super Monkey Ball to start automatically even with task killer? I can understand (to a certain extent) that Maps and Facebook needs to start and connect, but Crash Bandicoot and Monkey Ball??? Seriously? WTF?
cityhunter62 said:
Just to share my experience.
I've bought Ram Manager Pro finally.
I know it's probably not as effective as an overclock or V6 Supercharger, but I do not want to mess with the kernel, custom roms or scripts.
I'm running on stock gingerbread rooted, I've removed the bloatwares and I think it's enough modifications already. I don't want any bugs or troubles with stability so I don't want to modify the OS too much.
Anyway, I'm using Advanced Task Killer along with Ram Manager Pro... And it works! Really.
I was not able to play GTA because it was too laggy, but with Ram Manger Pro set on "Hard Gaming", I was able to improve the graphics (max details, dynamic shadows, 75% clipping and 80% resolution) and it plays rather nicely. It's not really smooth (not like 60 FPS) but it's far enough to be playable and enjoyable.
It wasn't without Ram Pro Manager. SO it's worth trying. Don't expect miracles but some gain in performances, surely.
Maybe I should try an alternative launcher as I heard it can improve performances as well... Any suggestions for a light and modest one?
Also, is there anyway to prevent Maps, Facebook, Crash bandicoot or Super Monkey Ball to start automatically even with task killer? I can understand (to a certain extent) that Maps and Facebook needs to start and connect, but Crash Bandicoot and Monkey Ball??? Seriously? WTF?
Click to expand...
Click to collapse
Try Autostarts to disable apps from running automatically
Sent from my Xperia Play!
Install custom ROM like Xperia NXT and get Bloatware remover by fma965 = SMALL SPEED BOOST
Sent from my R800i using xda app-developers app

[MOD/EXPERIMENTAL] almost double your RAM

So, it turns out the /preload partition is 500 megs of almost unused space, just to show us a video of Asphalt. So, how about turning it into swap space to almost double the effective amount of memory you have? To use this mod, you must be rooted, and have busybox installed. I recommend the stericson busybox installer https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
I would like feedback on whether or not it actually speeds up the device, especially when running graphics-intensive games, and also effects on battery life.
How to install:
1.Be rooted.
2. Get busybox. If you don't already have it, you can get it here https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
3. You must have init.d support. This is built into my NardROM but you can also flash the file attached to this post.
4. Flash the script installer, attached below. NOTE: This will wipe your /preload partition. You can make a nandroid before you perform this step but CWMR doesn't back up /preload. Back up anyway
5. If it's successful, you will see something like the following screenshot when you open a terminal window and execute "free". Notice the swap being used. If you don't have swap enabled it will read 0 available.
To disable the mod:
1. Delete the script from /system/etc/init.d
2. Reflash your Asphalt video from a backup
To disable init.d:
1. Delete /system/etc/install-recovery.sh, /system/etc/init.d (entire folder), /system/bin/sysinit, and /system/xbin/run-parts
Disclaimers:
Using nand memory as a swap can significantly reduce its life. Your phone's internal memory will wear out in years rather than decades
A lot of people argue using Android swap works against the built in memory management of the Dalvik machine
http://forum.xda-developers.com/showthread.php?t=1504774
This is awesome, glad to see people spending time on this device
Tappin' Typin'
'' /vendor '' also has 590,56 Mbyte of space..
what kind of data is there? there are some folders called ''multi_pose_face_landmark_detectors.3'' and ''yaw_roll_face_detectors.3'' ? is this the carrierIQ stuff?
After deleting everything on that partition it says 395,95 mb used, 194,61 mb free.
ludacris1 said:
'' /vendor '' also has 590,56 Mbyte of space..
what kind of data is there? there are some folders called ''multi_pose_face_landmark_detectors.3'' and ''yaw_roll_face_detectors.3'' ? is this the carrierIQ stuff?
After deleting everything on that partition it says 395,95 mb used, 194,61 mb free.
Click to expand...
Click to collapse
I think it's device-specific info for face unlock to compensate for various things like the angle you're holding the phone at and the distance away from your face. And if you'll look a little more closely, you'll find /vendor is symlinked from /system/vendor, it's not actually a separate partition. You should probably put those files back if you want face unlock to work.
Technically I just downloaded some ram
Sent from my SGH-I927 using xda app-developers app On Ics
FYI, this could be a potential source of serious slowness. Swap isn't anywhere near as fast as real RAM.
I wouldn't do this unless you're legitimately having issues you can directly attribute to running out of RAM. It may be useful as Android marches on and demands more and more RAM but for ICS we're already a good clip above the recommended specs.
Same thing I was thinking. I have more than enough RAM but if by some miracle we get something past JB that uses a lot of RAM I'll do this. Nice work on it though!
sent from my captivate glide running ICS (NardROM 0.4 Rooted)
roothorick said:
FYI, this could be a potential source of serious slowness. Swap isn't anywhere near as fast as real RAM.
I wouldn't do this unless you're legitimately having issues you can directly attribute to running out of RAM. It may be useful as Android marches on and demands more and more RAM but for ICS we're already a good clip above the recommended specs.
Click to expand...
Click to collapse
Waiting for the comparison,then
mewatashiakumoi said:
Waiting for the comparison,then
Click to expand...
Click to collapse
So with this hack having been out a couple months now, how are the reviews? Performance increase? Fewer slow downs?
pm2gonzales said:
So with this hack having been out a couple months now, how are the reviews? Performance increase? Fewer slow downs?
Click to expand...
Click to collapse
1) this is not a hack, this is a simple tweak
2) swap file is ALWAYS has a performance decrease effect, no matter what (desktop PC, android phone). The only reason of use is when the device has no enough RAM, and the background processes shall be kept elsewhere
3) android has it's own RAM managing system and methods, simply stick to that as only that will gives you the best performance and user experience
4) "slowdown" occurs when the device runs out of free RAM and starts closing background applications to give everything to the foreground app. When you close the heavy resource use foreground app witch caused android to close every possible background apps, the phone reloads them (launcher, live wallpaper, app drawer, widgets, user apps, etc...) and this is what causes a temporary slowdown, and this is unavoidable, no matter if you use swap or not.

[Q] How do you deal with lag?

Ok i really hate to say it and i know we all experienced this one time or another but, the HTC one v lags A LOT. It has its ups and sometimes is fast, but overall it's starting to really affect the whole experience. I've tried a lot of roms before and the problem is always there, even if i o/c or use scripts and stuff. But im not here to complain, i just want to know how you guys deal with lag, if any.
Dbzavatar said:
Ok i really hate to say it and i know we all experienced this one time or another but, the HTC one v lags A LOT. It has its ups and sometimes is fast, but overall it's starting to really affect the whole experience. I've tried a lot of roms before and the problem is always there, even if i o/c or use scripts and stuff. But im not here to complain, i just want to know how you guys deal with lag, if any.
Click to expand...
Click to collapse
Tbh I don't have any lags man. Maybe you just use/install too many apps? I use Greenify app to freeze unused apps and generally that's it. What kind of lags do you experience?
kwitu said:
Tbh I don't have any lags man. Maybe you just use/install too many apps? I use Greenify app to freeze unused apps and generally that's it. What kind of lags do you experience?
Click to expand...
Click to collapse
Just general lag every now and then. I also use greenify. But i think its because of all my apps that i have. On my old optimus v i had hundreds of apps and now i have to make sure to keep them low on the one v. Honestly the lag isn't all that bad, im really just curious as to how other people config there phones and what stuff they use.
Dbzavatar said:
Just general lag every now and then. I also use greenify. But i think its because of all my apps that i have. On my old optimus v i had hundreds of apps and now i have to make sure to keep them low on the one v. Honestly the lag isn't all that bad, im really just curious as to how other people config there phones and what stuff they use.
Click to expand...
Click to collapse
You will need greenify paid ver(root) to freeze more apps, free ver doesn't freeze all.
Stock rom is a no go, you expected to be lag a lot. Custom rom is much smoother.
TheEndHK said:
You will need greenify paid ver(root) to freeze more apps, free ver doesn't freeze all.
Stock rom is a no go, you expected to be lag a lot. Custom rom is much smoother.
Click to expand...
Click to collapse
I disabled greenify and it is still working smoothly. However I don't have loads of apps installed but still, ONE V releases free RAM memory when it's needed, keeping most of tasks running. So for example when you need that extra memory for some action, it will free it by for example closing an app when it decides to do so.
kwitu said:
I disabled greenify and it is still working smoothly. However I don't have loads of apps installed but still, ONE V releases free RAM memory when it's needed, keeping most of tasks running. So for example when you need that extra memory for some action, it will free it by for example closing an app when it decides to do so.
Click to expand...
Click to collapse
Greenify free ver is just a kid. It only works for user apps, no system apps. The goal of greenify isn't memory managment, you are talking about somethings else like SuperCharged V6 script(I'm using it too).
One of the main problem on android is there are lots of app like to start itself even you aren't needed or do not run/call them out, they just come out random and waste your cpu/ram/battery a lot, install SystemPanel Lite on Google Play and check it period by yourself. Greenify is to stop these kinds of action completely and paid ver does 90% of its job.
---------- Post added at 05:37 PM ---------- Previous post was at 05:12 PM ----------
Dbzavatar said:
Ok i really hate to say it and i know we all experienced this one time or another but, the HTC one v lags A LOT. It has its ups and sometimes is fast, but overall it's starting to really affect the whole experience. I've tried a lot of roms before and the problem is always there, even if i o/c or use scripts and stuff. But im not here to complain, i just want to know how you guys deal with lag, if any.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2338146
For the performance and battery friendly, I highly suggest you to try out this new rom Sense 4 Canadian KOODO(with SuperCharge V6), it got both advantages, really smoother than many other custom roms.
However, greenify donate ver is still a must on all roms. I also recommend you to install CrossBreeder 5.21 ver(only old ver is stable) on xda and remember to change the wake to 16 from 256 default, it is a script to fix android UI lag. Since 512MB ram isn't enough, you could give SuperCharge V6 memory management script a try as well.
I have used all stuffs above personally and my One V now is much more useable. Don't overclock much, some phones or kernel don't do good in overclocking.
TheEndHK said:
Greenify free ver is just a kid. It only works for user apps, no system apps. The goal of greenify isn't memory managment, you are talking about somethings else like SuperCharged V6 script(I'm using it too).
One of the main problem on android is there are lots of app like to start itself even you aren't needed or do not run/call them out, they just come out random and waste your cpu/ram/battery a lot, install SystemPanel Lite on Google Play and check it period by yourself. Greenify is to stop these kinds of action completely and paid ver does 90% of its job.
---------- Post added at 05:37 PM ---------- Previous post was at 05:12 PM ----------
http://forum.xda-developers.com/showthread.php?t=2338146
For the performance and battery friendly, I highly suggest you to try out this new rom Sense 4 Canadian KOODO(with SuperCharge V6), it got both advantages, really smoother than many other custom roms.
However, greenify donate ver is still a must on all roms. I also recommend you to install CrossBreeder 5.21 ver(only old ver is stable) on xda and remember to change the wake to 16 from 256 default, it is a script to fix android UI lag. Since 512MB ram isn't enough, you could give SuperCharge V6 memory management script a try as well.
I have used all stuffs above personally and my One V now is much more useable. Don't overclock much, some phones or kernel don't do good in overclocking.
Click to expand...
Click to collapse
I have not used any SuperCharged V6 script, did it come along with my myONEv ROM? If not, is it a big upgrade if I flash it? I think I'll consider buying Greenify full version as you said, this is going to help a lot. However still, I am not experiencing any lags yet(fresh system).
Just curious, what settings do you guys use for the paid greenify? And btw im on rhytmic rom 4.2.2
Dbzavatar said:
Just curious, what settings do you guys use for the paid greenify? And btw im on rhytmic rom 4.2.2
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1574401
There is no extra settings in donate ver, the only different is allows you to freeze a lot more apps which doesn't support in the free ver but you have to install xposed installer and enable both free/donate in it and reboot.
kwitu said:
I have not used any SuperCharged V6 script, did it come along with my myONEv ROM? If not, is it a big upgrade if I flash it? I think I'll consider buying Greenify full version as you said, this is going to help a lot. However still, I am not experiencing any lags yet(fresh system).
Click to expand...
Click to collapse
No, only Sense 4 Canadian KOODO comes with SuperCharge V6 but you can install it on myONEv rom. I'm using it on mySENSE 3.5 rom pretty much identical to yours but with full sense, it works nearly perfect with my rom/kernel fixed most of the memory problem. It doesn't give you God mode but provides a very constant/stable speed environment and hence, increased overall user experiences with the spend of a little bit battery(I think it actually uses me 20% battery more, not sure if my settings go wrong).
So..... if you don't encounter any memory shortage problem during multi-tasking, you might not need it, try it yourself. It ate me 40~50mb free memory but I think it just need some space to do management or caching, or again it might be my settings problem sololy. There are too much of tweaking options in this script. If you want a speed hack, you should try CrossBreeder script(5.21 build with wake16) instead, it does speed up your UI responsive and in my experiences, it saved me around 20% battery as well.
http://forum.xda-developers.com/showthread.php?t=991276
Supercharge V6 main page
http://forum.xda-developers.com/showthread.php?p=42884332#post42884332
Supercharge V6 lastest build
http://forum.xda-developers.com/showthread.php?t=1914159
Ultimate Jar Power Tools
http://forum.xda-developers.com/showthread.php?t=2252297&highlight=supercharger
The installation guide
Actually, the installation procedure isn't that hard but I just don't understand why they can write/explain it in 10 pages length with some crazy English and made me sat in front of monitor for an hour to read all stuffs.
1. I use adb shell(via windows7 command prompt)
2. Type adb shell and then sh /sdcard/supercharger/V6* <-- just put the script in /sdcard/supercharger
3. Pretty much it will go through the process itself in command prompt but just ask you to select some settings(with description so don't worry)
4. At the end, it will ask you to install Ultimate Jar Power Tools manually before continue.
5. The file after download appear to be Ultimatic_Jar_Patcher_Tools_RC6_ALL_DEX_Windows.exe.zip and I rename it to U.exe by myself in command prompt and double click it to run it in windows. Remember to put ALL_ROMS_Ultimate_Jar_Power_Tools-Smali_Patcher_RC9.sh in the same folder/directory.
6. The U.exe will auto-launch a command prompt out in your windows and start to pull the services.jar off your phone and patch it and push it back to your phone and phone will auto-reboot. That's it.
7. Now, you can go back V6 script to continue the setup. Type adb shell and then sh /sdcard/supercharger/V6* again, this time it will skip the installation menu but give you a config menu instead. You can change or enable/disable all settings here.
http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021
1. If you have some dated library in phone, you can update them with SuperCharger_Starter_Kit_RC12.zip. Extract it into your sdcard, use Smanager(script manager on play store) to run StartMeUp.sh, remember to click on the root(su icon) before run.
2. If your kernel or rom either one doesn't support init.d(script auto-run during boot). If you have this problem, your supercharge option menu will tell you at 50% level probably, not 100%. You will need to use smanager to click the /data/99supercharger.sh as run on boot and remember to click on the root(su icon) too. Click save and exit and reboot.
This is all the steps in short, I think my guide actually is the best....hehe
TheEndHK said:
http://forum.xda-developers.com/showthread.php?t=1574401
There is no extra settings in donate ver, the only different is allows you to freeze a lot more apps which doesn't support in the free ver but you have to install xposed installer and enable both free/donate in it and reboot.
Click to expand...
Click to collapse
Which do you also suggest to freeze? I freezed only recently opened which I don't want to be running. Not used any from the "show more apps" thing. (talking about paid version now) Btw thank you for your detailed instruction about the scripts, I'll get to it one day when I feel my phone gets laggy.
One more thing, any battery tips? Dunno if it's just my feeling but today it drained a lot more than yesterday with no big difference in usage I guess.
kwitu said:
Which do you also suggest to freeze? I freezed only recently opened which I don't want to be running. Not used any from the "show more apps" thing. (talking about paid version now) Btw thank you for your detailed instruction about the scripts, I'll get to it one day when I feel my phone gets laggy.
One more thing, any battery tips? Dunno if it's just my feeling but today it drained a lot more than yesterday with no big difference in usage I guess.
Click to expand...
Click to collapse
Some process/app like to come out in background sliently without tell you or ask your permission. You'll need to use SystemPanel Lite to keep checking periodly to find out which is bad, or you can use "show more apps" to freeze all of them. Just make sure don't freeze chat apps(Hangout, Whatsapp, Skype) and some important process/app like HTC connect to PC(USB Mass Storage mode), Bluetooth service, Setcpu, MyTask(or else no one could ring you maybe), Message(SMS).
Try to wipe the cache and d-cache partition and sometimes One V battery percentage/report isn't that accurate. Or try uninstall greenify if it conflicts with your rom?
Well, crossbreeder and supercharge they are free script and easy installation in mind. In my opinion, no reason not to give them a shoot. No lagging and fast, remember there is a big different. Supercharge I believe it's not useful anymore for new phones got 1GB+ ram but to the 384/512MB/768MB is still helpful. Crossbreeder got reporting good on even all new smartphones with S4 Dual/Quad CPU.
TheEndHK said:
Some process/app like to come out in background sliently without tell you or ask your permission. You'll need to use SystemPanel Lite to keep checking periodly to find out which is bad, or you can use "show more apps" to freeze all of them. Just make sure don't freeze chat apps(Hangout, Whatsapp, Skype) and some important process/app like HTC connect to PC(USB Mass Storage mode), Bluetooth service, Setcpu, MyTask(or else no one could ring you maybe), Message(SMS).
Try to wipe the cache and d-cache partition and sometimes One V battery percentage/report isn't that accurate. Or try uninstall greenify if it conflicts with your rom?
Well, crossbreeder and supercharge they are free script and easy installation in mind. In my opinion, no reason not to give them a shoot. No lagging and fast, remember there is a big different.
Click to expand...
Click to collapse
So basicly flashing Crossbreeder from this post will improve my battery life right? http://forum.xda-developers.com/showthread.php?t=2113150
I also wanted to ask if this really is wroth goin for it? My battery drops by 2-4% by night, but I guess the trick here is that it improves the active battery usage right?
kwitu said:
So basicly flashing Crossbreeder from this post will improve my battery life right? http://forum.xda-developers.com/showthread.php?t=2113150
I also wanted to ask if this really is wroth goin for it? My battery drops by 2-4% by night, but I guess the trick here is that it improves the active battery usage right?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1179809
If you really want to find out which is battery drain part, you will need BetterBatteryStats.
https://play.google.com/store/apps/details?id=ccc71.bmw&hl
And Battery Monitor Widget(check with statistics since unplug)
http://www.sendspace.com/file/gyw6uq
CrossBreeder will only helpful for UI. Only 5.21.13 is release ver thats why the developer keeps it, don't try 7.21.13 all recent build are beta, buggy and battery drain. I don't know why the developer didn't keep the 5.21.13 uninstaller but luckily I still have it in my HD so in case you meet any problem, you can uninstall it.
http://forum.xda-developers.com/showpost.php?p=42093679&postcount=2
https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=zh_TW
For the 5.21.13, you will need to change the write_wakeup_threshold to 16 and reboot via root browser or root explorer.
TheEndHK said:
http://forum.xda-developers.com/showthread.php?t=1179809
If you really want to find out which is battery drain part, you will need BetterBatteryStats.
https://play.google.com/store/apps/details?id=ccc71.bmw&hl
And Battery Monitor Widget(check with statistics since unplug)
http://www.sendspace.com/file/gyw6uq
CrossBreeder will only helpful for UI. Only 5.21.13 is release ver thats why the developer keeps it, don't try 7.21.13 all recent build are beta, buggy and battery drain. I don't know why the developer didn't keep the 5.21.13 uninstaller but luckily I still have it in my HD so in case you meet any problem, you can uninstall it.
http://forum.xda-developers.com/showpost.php?p=42093679&postcount=2
https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=zh_TW
For the 5.21.13, you will need to change the write_wakeup_threshold to 16 and reboot via root browser or root explorer.
Click to expand...
Click to collapse
Thank you for your time. I am installing the xda-dev link. I think the most draining part is the screen but we shall see after this apps gets onto my board. Whenever I will need this uninstaller for version 5.21.13 I'll contact you, thank you for your time and engagement. Learned a lot of new stuff today Cheers!
kwitu said:
Thank you for your time. I am installing the xda-dev link. I think the most draining part is the screen but we shall see after this apps gets onto my board. Whenever I will need this uninstaller for version 5.21.13 I'll contact you, thank you for your time and engagement. Learned a lot of new stuff today Cheers!
Click to expand...
Click to collapse
http://www.sendspace.com/file/gyw6uq
This is the 5.21.13 uninstaller link.
I would like to introduce one more stuff in this thread. Though Supercharged V6 is great but used more battery and too complicated for beginner.
http://forum.xda-developers.com/showthread.php?p=36794328#post36794328
That developer also has a small Kernel tweaking script with a bit memory management called KiskAssKerneler, it doesn't drain battery but works good, my system is also faster and memory management better alone with this script. For whose who want improvement but thought supercharge v6 is too complex, try this out.
EDIT: KickAss actually also used more battery but just might not be as much as V6. I would prefer to stick with V6 for more true performance.
I find that installing titanium backup and setting a schedule to clear system cache then reboot helps a ton with making it faster. I usually set this for 5-6 am in the morning when im asleep but you can change it to whatever time you want. I also set it to run everyday rather than every other day. I also recommend crossbreader, it helps a bunch!
To deal with lag I flashed Crossbreeder, OC'ed to 1.4GHz set zRam to 10%, set KSM, enabled purge assets, enabled 16-bit transparency, set SIO as I/O scheduler and Lionheart as CPU governor. I still get lag while multitasking but now is a good everyday phone.
Its gonna help a bit as there is no huge amount of data required to read over and over again. Not worth deleting music. Slightly noticable effect.
Sent from my HTC One V using xda app-developers app

Categories

Resources