[Script] Ram Optimizer/Rom speed booster by Juwell - Droid Incredible Android Development

Original thread Here
All credit goes to Juwell for the script.
MORE SMOOTHNESS, MORE SPEED, LESS LAGS AND ENOUGH FREE MEMORY​
Hi guys,
after long time of testing I found the best balance for RAM, this script will make your RAM in the best optimization, the best optimization means the best balance between free memory, multitask, speed of launching apps and system speed. It means that you'll still have enough free memory (you'll have free memory as much as you need, because it is not good if you have really a lot of free memory, because Android's work with memory is different from other OS) and you can fully use your multitask, my script doesn't kill your app automatically when you minimize it. Your system and switching between apps or launching apps will be very fast.
Now you don't have to use Task Killer!
Click to expand...
Click to collapse
Requirements: Root, Kernel which supports init.d
Lowmemorykiller values
-Values which mainly affect your multitask and free memory. Values of my script were made for combination of using multitask and still have enough free memory.
VM values
-Very important values which affect your battery consumption, system speed and speed of launching apps.
Click to expand...
Click to collapse
HOW TO CHECK IF SCRIPT WORKS
Download "AutoKiller Memory Optimizer" and check values:
LMK values
10MB, 16MB, 24MB, 48MB, 56MB, 72MB
VM values
50, 10, 5, 10, 90, 5
ROM devs can use Juwell's script in their ROMs, but give the proper credit.
Click to expand...
Click to collapse
!!!WARNING!!!
INSTALL IT ON YOUR OWN RISK.​
Click to expand...
Click to collapse
I have been testing this script with Rewind 3D Sense 3.0 and switching between apps and navagating threw the homescreen is a lot smoother.
Downside, it kills my battery pretty fast, 3 hours and already down to 50% lite use.
I attached the flashable.zip and the script by itself.
Enjoy!!
Click to expand...
Click to collapse
INSTALLATION
1) Download attached file (RAM_Script-CWM.zip) and install it with CWM
Click to expand...
Click to collapse

So far tested and confirmed working on​
Incredible 2 ReMix - working
KInGdOm ReWiND 3D - working
I think the script works for any rom, but I haven't tested all. If any of you test and confirm working, please advise so I can update this post.
Regards

No need to add it to ReMix, it's already in there

Yup its in both my pure speed rom and the upcoming update for my hybrid speed.

wildstang83 said:
Yup its in both my pure speed rom and the upcoming update for my hybrid speed.
Click to expand...
Click to collapse
Sweet cant wait to test your hybrid with this speed booster!

So what would happen if I put auto killer to the mac while running this script ?
Sent from my ADR6300 using Tapatalk

So the script is killing the battery, or the task app?

hightech316 said:
So what would happen if I put auto killer to the mac while running this script ?
Sent from my ADR6300 using Tapatalk
Click to expand...
Click to collapse
That would be overkill. The task killer apps actually hurt the phone's battery more than help anyway, so this script should be enough.

badogg said:
So the script is killing the battery, or the task app?
Click to expand...
Click to collapse
kills battery.. I turned off auto sync, animations and brightness on low... Battery seems to be doing better.
Rom is flying though!!! "Remix"
Sent from my Phone using XDA App

Flashed over senseless banshee...no ill effects so far, and seems much zippier.

im on miui, the version before the newest.
my battery percentage hasnt budged in 2 hours, and went down 1 just a minute ago. not sure how but my battery life is better then it ever has been.
Sent from my ADR6300 using XDA App

running great on an oldie but goodie, ruby rom with incredikernel. might have to try on miui considering the latest version lags like crazy for me. Also noticed an increase in battery life as well
DINC+XDA=CRACK

so how do you tell if it is working correct i downloaded autokiller but not sure what to look for

jdog94 said:
so how do you tell if it is working correct i downloaded autokiller but not sure what to look for
Click to expand...
Click to collapse
Just check the original thread Here
Also another cool script Here.
They are all fun to play around with

Can this be flashed with RA-Recovery? I Hate CW

i got AutoKiller Memory Optimizer but i dont see the values it says to look for

flashed but the script never went to system/etc/init.d like it's suppose to. extracted and moved it myself but values never changed after reboot

dyetheskin said:
flashed but the script never went to system/etc/init.d like it's suppose to. extracted and moved it myself but values never changed after reboot
Click to expand...
Click to collapse
+1
Manually moved s97ramscript using root explorer. Set Permissions rwxrwxrwx, rebooted and I am not seeing the correct values in Autokiller Memory Optimizer.
Not really sure wtf is going on here, running MIUI with incredikernel, both latest versions.

I had the same issue with the script. Remove "s" from the script so it should be "97ramscript". It should work. Worked for me after I did that.

whats different between this one and V6 SuperCharger? V6 supercharger doesnt require Cw flashing, just script manager and busybox 1.18.2

Related

fastest the hero can be

I'm have had my hero for about half a year and have tried alot of different. Roms but all of them still run slow.
So I was hoping someone could give me instructions and download links on how I could get my phobe to run as fast as it possibly can
Thanks for all that help me
pachina said:
I'm have had my hero for about half a year and have tried alot of different. Roms but all of them still run slow.
So I was hoping someone could give me instructions and download links on how I could get my phobe to run as fast as it possibly can
Thanks for all that help me
Click to expand...
Click to collapse
Go read this thread and use that kernel with the ROM recommended there.
http://forum.xda-developers.com/showthread.php?t=705074
Try Darchdroid or you can wait until the get all the bugs worked out of the Froyo rom. I have been running the froyo rom since June 25th and it is fast.
Sense is eating up alot of your speed .
unCoRrUpTeD said:
Try Darchdroid or you can wait until the get all the bugs worked out of the Froyo rom. I have been running the froyo rom since June 25th and it is fast.
Sense is eating up alot of your speed .
Click to expand...
Click to collapse
Sorry to say this but sense doesn't slow my rom down one bit. Its all in ur head. I've got my rom oc'd and have multiple launchers including sense and there is no speed difference. Actually it is quite fast.
I just downloaded Fresh 2.3.3
I just downloaded fresh 2.3.3 and its pretty quick, you will of course need a task killer, im using AutoKiller set to aggressive in the presets. I am considering overclocking it but havent yet
Question: what exactly is it about a particular ROM that makes it fast? JIT? For example, everyone says Darchdroid is fast. What about it that makes it so? A lot also say Fresh, HoneyBun, and nfinitefx's ROM are fast. I know they all support OC, but all things equal, is there an agreed speed tier list?
c00ller said:
Question: what exactly is it about a particular ROM that makes it fast? JIT? For example, everyone says Darchdroid is fast. What about it that makes it so? A lot also say Fresh, HoneyBun, and nfinitefx's ROM are fast. I know they all support OC, but all things equal, is there an agreed speed tier list?
Click to expand...
Click to collapse
What affects the speed is the number of apps (as well as their optimizations), overclocking, JIT, the ROM base, and the Launcher. The number of apps affects the phone's memory. More memory = less lag generally (apps2sd corrects this issue). Overclocking, of course, increases the raw speed of the ROM. JIT helps apps lag less (games pretty much). The ROM base is a big factor. Basically HTC ROM's have more bloat in them than AOSP ROM's, so AOSP runs faster almost all the time. The Launcher also affects the speed because large launchers such as Sense take up more RAM. The generic, vanilla launcher is extremely minimal and therefore doesn't use as much RAM. So if you can optimize the heck out of Sense, then it will run faster.
drop it out of a plane.
My Experiences:
I have tried JIT, AOSP ROM , Sense + OC, and Sense. And now I am back at Sense + OC. Here are my opinions:
- JIT:
Pro: App loading + executing is much faster
Con: Phone run HOT + lower Baterry life + Bugs (Hopefully FROYO solve this)
- OC:
Pro: This speed up the system significantly.
Con: None or not yet
- ROM that has tweaks in the following areas will help speed up the phone:
1) Low memory killer tweak to prvovide more RAM (aggressively to kill hidden app, content provider and Empty app)
2) CPU Threshold setting at lower value (instead of default at 80%) --> Cost battery life but much quicker response at UI interface level.
My phone is fast and stable with Sense + OC at the moment. The wishes that I have for my phone now is:
1. Install more RAM .. hehheh not possible
2. Move Dalvik cache to phone internal cache space like Darch Droid
3. A Kernel that OC the GPU
mrinehart93 said:
What affects the speed is the number of apps (as well as their optimizations), overclocking, JIT, the ROM base, and the Launcher. The number of apps affects the phone's memory. More memory = less lag generally (apps2sd corrects this issue). Overclocking, of course, increases the raw speed of the ROM. JIT helps apps lag less (games pretty much). The ROM base is a big factor. Basically HTC ROM's have more bloat in them than AOSP ROM's, so AOSP runs faster almost all the time. The Launcher also affects the speed because large launchers such as Sense take up more RAM. The generic, vanilla launcher is extremely minimal and therefore doesn't use as much RAM. So if you can optimize the heck out of Sense, then it will run faster.
Click to expand...
Click to collapse
idk about that. i tried dd2.7 yesterday for the first time. i wiped and installed 7 times to get it to run fast. enabled jit, flashed uv kernel,i had nothing installed at the time and no lw and it was 70% slower than my nfinite rom. i honestly dont know why everyone says dd is so fast. it literally took 15 seconds just to open up the dialer. i even restarted the phone several time so it would zipalign everything. and yes i wiped everything including ext.
cp0020 said:
idk about that. i tried dd2.7 yesterday for the first time. i wiped and installed 7 times to get it to run fast. enabled jit, flashed uv kernel,i had nothing installed at the time and no lw and it was 70% slower than my nfinite rom. i honestly dont know why everyone says dd is so fast. it literally took 15 seconds just to open up the dialer. i even restarted the phone several time so it would zipalign everything. and yes i wiped everything including ext.
Click to expand...
Click to collapse
When you first install a rom you will need to wait until the phone is done loading everything. Usually people try to open stuff before everything has been finalized and so it will open slower. I love sense, but in my opinion it is slower, but that might have been because I didn't OC it.
Sent from my HTC Hero CDMA using XDA App
unCoRrUpTeD said:
When you first install a rom you will need to wait until the phone is done loading everything. Usually people try to open stuff before everything has been finalized and so it will open slower. I love sense, but in my opinion it is slower, but that might have been because I didn't OC it.
Sent from my HTC Hero CDMA using XDA App
Click to expand...
Click to collapse
im not that much of a newb lolol yeah i always let it sit. even after the syncing is done i still let it sit. fresh and nfinitfx45's new sense roms are actually blazing fast!
cp0020 said:
im not that much of a newb lolol yeah i always let it sit. even after the syncing is done i still let it sit. fresh and nfinitfx45's new sense roms are actually blazing fast!
Click to expand...
Click to collapse
My rom is now based off the new fresh and is oc'd. Its just as fast if not faster.
cp0020 said:
idk about that. i tried dd2.7 yesterday for the first time. i wiped and installed 7 times to get it to run fast. enabled jit, flashed uv kernel,i had nothing installed at the time and no lw and it was 70% slower than my nfinite rom. i honestly dont know why everyone says dd is so fast. it literally took 15 seconds just to open up the dialer. i even restarted the phone several time so it would zipalign everything. and yes i wiped everything including ext.
Click to expand...
Click to collapse
Has to be something you are not doing or your phone. I am running darchdroid 2.7 right now and it is hands down FASTER than any other ROM I have tried. I have the UV kernel installed as well. Most key presses are instant. Did you set the transitions to fast or turn them off altogether? That makes a big difference.
smolck said:
Has to be something you are not doing or your phone. I am running darchdroid 2.7 right now and it is hands down FASTER than any other ROM I have tried. I have the UV kernel installed as well. Most key presses are instant. Did you set the transitions to fast or turn them off altogether? That makes a big difference.
Click to expand...
Click to collapse
i did everything right. like i do with all my roms. i always turn the window and transition animation to off. that makes it so much faster then if you turn it to fast. had that set to off,uv kernel flashed, let everything finish syncing,didnt even install anything. still took 15 seconds just to open up the dialer. my nfinite rom is super fast. the second i press on something it almost emediately comes up. almost **** bricks at how fast it was
cp0020 said:
i did everything right. like i do with all my roms. i always turn the window and transition animation to off. that makes it so much faster then if you turn it to fast. had that set to off,uv kernel flashed, let everything finish syncing,didnt even install anything. still took 15 seconds just to open up the dialer. my nfinite rom is super fast. the second i press on something it almost emediately comes up. almost **** bricks at how fast it was
Click to expand...
Click to collapse
Well, it sounds like you have the ROM you like, stick with it. I have never seen the nfinite rom. Where is it found?
smolck said:
Well, it sounds like you have the ROM you like, stick with it. I have never seen the nfinite rom. Where is it found?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=703267 . i love it. OC to 710. window and transition animation set to off. task killer on auto. fast as ****
cp0020 said:
http://forum.xda-developers.com/showthread.php?t=703267 . i love it. OC to 710. window and transition animation set to off. task killer on auto. fast as ****
Click to expand...
Click to collapse
Ah, didn't realize that was the ROM you were talking about. I thought it was something else. I have really grown attached to the AOSP stuff, I think I'll stick with DD till his Froyo port is out.
smolck said:
Ah, didn't realize that was the ROM you were talking about. I thought it was something else. I have really grown attached to the AOSP stuff, I think I'll stick with DD till his Froyo port is out.
Click to expand...
Click to collapse
yeah i cant wait till that is complete. i just need fully functional camera+camcorder+mms. darch is uploading an updated foyo now with some fixes but now camera preview doesnt work. not even on 3d party camera apps. i mostly want it for gaming
cp0020 said:
http://forum.xda-developers.com/showthread.php?t=703267 . i love it. OC to 710. window and transition animation set to off. task killer on auto. fast as ****
Click to expand...
Click to collapse
Maybe you should update your signature . I'm curious, how's the speed/battery life of Fresh 2.3.3 compared to nfinitefx rom? I'm trying to decide which should be my first custom rom. Oh, and are you using the odex or deodex version?

[Q] Problem with ADW Launcher in CM7 RC4.1

Hi all,
I have a question while enjoying my Milestone to the max, thanks to CM7!
Since RC4 I have a problem with ADW Launcher after booting the device.
First it seems like there's a delay connecting to the SD card, because the icons of apps installed on SD don't show up on my homescreen. Instead a stock or native icon is visible.
Then the homescreen goes black for a few seconds and reloads completely. The icons of apps on SD still don't show, and my weather widget says it can't connect.
After a little while a message pops up, saying that "activity ADW Launcher in process android.process.acore doesn't respond". I can choose to close ADW Launcher or wait. In both cases all loads well after making one of those choises, it doesn't matter which one.
Since I suspected some kind of delay affecting the SD card and Internet connection, I expected this to be (partially) solved in RC4.1 according to this release note: "fix: kernel modules sometimes installed too late (sd-ext not mounted, overclock not applied)". But unfortunately in my case it isn't.
I already have tried disabling Sense previews and Wallpaper Hack in ADWLauncer settings, but that didn't help. Am I the only one with this problem or does it sound familiar? In that case, what can be done?
Thanks a lot,
Gerard
The Netherlands
the problem of the launcher crashing is sumthin everyone faces .. n it does slow the phone down as well .. ask a techie if u can remove adw launcer and install another launcer cuz ther has to b a launcher faster than adw ..
Okay, but I can't imagine this behaviour occurring on every device at the moment?
on most devices u c this prob .. tht is wher stock rom is better and snappier ..
in rc4 sumtimes the power control widgets in the notification bar also disappear .. its werid ..
twixyz said:
Okay, but I can't imagine this behaviour occurring on every device at the moment?
Click to expand...
Click to collapse
Not on supercharged phones. No launcher redraws. Ever.
Plus, gingerbread packed with apps feels as light and fast as stock froyo with nothing installed on it.
You should try it.
zeppelinrox said:
Not on supercharged phones. No launcher redraws. Ever.
Plus, gingerbread packed with apps feels as light and fast as stock froyo with nothing installed on it.
You should try it.
Click to expand...
Click to collapse
I sure will. In fact, I wanted to supercharge my Milestone since I read the topic, but I'm still struggling through the loads of information trying to figure out what I need and need not to do. Once I created a step-by-step instruction, I'm good to go.
Maybe you can help me to make me see the big picture. From what I understand, I need an app like AMM and one of your scripts. In the app I can modify the minfree settings. The script takes care of loading these settings on every boot. Is this correct? If so, can you please tell me which files I need for the first 2 steps? I don't need extra apps like GScript and Busybox so far, do I? Trying to start off simple...
Any additional instructions are welcome!
Thanks a lot,
Gerard
The Netherlands
Go Launcher Ex... was the solution of all my launcher problems...
Good Luck!
twixyz said:
I sure will. In fact, I wanted to supercharge my Milestone since I read the topic, but I'm still struggling through the loads of information trying to figure out what I need and need not to do. Once I created a step-by-step instruction, I'm good to go.
Maybe you can help me to make me see the big picture. From what I understand, I need an app like AMM and one of your scripts. In the app I can modify the minfree settings. The script takes care of loading these settings on every boot. Is this correct? If so, can you please tell me which files I need for the first 2 steps? I don't need extra apps like GScript and Busybox so far, do I? Trying to start off simple...
Any additional instructions are welcome!
Thanks a lot,
Gerard
The Netherlands
Click to expand...
Click to collapse
Latest and greatest... http://forum.xda-developers.com/showpost.php?p=12883386&postcount=379
Yes all the steps are in the Gscript section.
You don't need AMM or AKMO but I use AMM just for diagnosing and poking around to see how everything is working.
All you gotta do is install busybox and gscript as per instructions in the Gscript section.
Hi all, and especially Zeppelinrox,
Since CM7 RC4 my launcher hardly ever gets NOT redrawn/reloaded. Very annoying. I've tried every setting and combinations of settings with no luck. So I've decided to step into the deep and give Superlaunch and Bulletproof a go. I'm still not sure if I understand the whole package though, so I'd like to verify whether or not I did the right thing.
I've just installed Gscript and in there I activated from script v5: balanced, status and the Bulletproof launcher. I unchecked the "keep launcher in memory" setting. Then I rebooted.
Now I'm gonna do some tests, but was this procedure correct and complete? And does this stick after a reboot? If not, how can I make it stick for both Superlaunch and Bulletproof? I assume I don't have to manually execute these scripts after rebooting every time?
I'll report my findings later today. Thanks in advance!
Regards,
Gerard
The Netherlands
Yes it all sounds correct and the settings will persist after reboot.
However, by default the launcher is not bulletproof you can run that script separately if tou still get redraws.
V6 has Hard To Kill Launcher which is as strong as it can be without bulletproofing - much stronger than lock home in memory.
With V6, bulletproofing should not be necessary at all while allowing games to be played.
But it is still an option for those that don't play games.
Sent from my Milestone using Tapatalk
Well, I can tell you this: it's awesome! I've been poking around for hours now, and never had a single redraw. My Milestone runs smoother than ever. Fan-tas-tic!
I just don't understand the AMM readings. It always shows it's own mild settings, but shouldn't it display the script values?
Thanks a lot!
Gerard
Which script did you apply?
AMM is stupid that way lol
Just be sure SuperUser give no permissions to AMM
AKMO will show the current minfree values when you run it though - just disable it's apply settings at boot option - or don't give superuser permission.
I applied Balanced3 from gscript-Custom_ROMS_SuperCharge+BulletProof_Pack_v5.zip (10.7 KB, 461 views)
In SuperUser permissions for AMM are denied.
So AMM doesn't read the current values at all and I'm OK? Guess I'll have to calculate the values myself from the show status script then, or is there an easier (preferable newbie) way to verify if all settings are correct?
Now we're at it, later today I'm gonna install the CM7 update. I know I'll have to recalibrate the battery after that, but do I have to run these scripts again too?
Thanks again!
Gerard
Ya I'd like to figure out a way to do the calculation with the script.
I haven't been able too get to far on that as of yet.
I mentioned in my prvious post - you can quickly check with AKMO - Autokiller Memory Optimizer - just disable the apply on boot option.
There is also Minfree Manager.
Yep, run the scripts again after flashing a rom
I just installed AKMO and it displays the scripts values flawlessly!
Don't know what AMM did, but apparently it kept on changing the values to very strange numbers after a reboot. I can't remember them, but the 3rd one was 256 (1). I'm sure it had no root permissions though. But now AMM is gone, all loads well after rebooting according to AKMO.
It makes all the difference in the world, I can tell you that. My Milestone runs like a complete new device. So smooth, fast and stable. I can recommend it to everyone!
I have just one more question. What script is best suitable for running big map apps, like Google Earth? It's lagging, freezing and closing with the standard minfree settings. The Balanced3 script makes it better, but can it improve even more?
Thanks again and again and...
Gerard
I dunno.
That's a big app
Maybe you can overclock it more LOL
btw... I DID IT... I got the script to convert pages to mb... woohoo
I'm already at 1000 Mhz, can't seem to get it running at 1100 or higher though, cause it keeps rebooting from the M logo. But maybe there's potential for a script handling "big apps" ;-)
Anyway, congrats on your progress with the scripts! I wonder why devs haven't implemented this in their ROM's yet.
Now it's time to move on to my next project: an ext-partition. I read so much about it. Still no idea about the advantages though, so I'll start by figuring that out first.
Thanks for all your help and good luck with your work!
Gerard
twixyz said:
I'm already at 1000 Mhz, can't seem to get it running at 1100 or higher though, cause it keeps rebooting from the M logo. But maybe there's potential for a script handling "big apps" ;-)
Anyway, congrats on your progress with the scripts! I wonder why devs haven't implemented this in their ROM's yet.
Now it's time to move on to my next project: an ext-partition. I read so much about it. Still no idea about the advantages though, so I'll start by figuring that out first.
Thanks for all your help and good luck with your work!
Gerard
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=10994672&postcount=226
Use that and only do the steps to create the ext2 partition. Then after that, reboot CM7 and you should have all of your apps on your ext2 partition, thus making your phone a bit faster(less internal memory used) and the potential for a TON of more apps installed on your phone, depending on the size of your ext2 partition.
Really! You just saved me a lot of reading, thanks!
So after I created the ext2 partition through my PC, rebooting the device handles moving my apps? No reinstalling, no manual uninstalling from internal memory? But how about apps without apps2sd option, will they be unaffected? Or does ext2 simulate internal memory, so all apps can be installed there? If so, will apps from the Market then automatically be installed on ext2, with or without apps2sd?
Sounds great!
Thanks in advance,
Gerard
twixyz said:
Really! You just saved me a lot of reading, thanks!
So after I created the ext2 partition through my PC, rebooting the device handles moving my apps? No reinstalling, no manual uninstalling from internal memory? But how about apps without apps2sd option, will they be unaffected? Or does ext2 simulate internal memory, so all apps can be installed there? If so, will apps from the Market then automatically be installed on ext2, with or without apps2sd?
Sounds great!
Thanks in advance,
Gerard
Click to expand...
Click to collapse
All you should have to do is reboot and the reboot might take longer than usual as CM7 would be transferring all your apps to the ext2 partition. All apps that are installed afterwards are installed on your ext2 partition.
Sent from my Milestone using XDA Premium App

[APP] Myrt Undervolt GUI

EDIT: This app has been suspended, it serves no purpose anymore.
By popular demand, here's an app to set undervolt-values. It works on any ROM which runs on a suitable kernel, but needs init.d-support to be able to keep settings between reboots. (If your device supports it you'll get a button you can use, if not a little message in its place.)
WARNING: By using this app, you're playing with fire. It's in fact very likely you'll lose data if trying to see "how low you can go". Do not experiment without backing up everything first.
It's easy to use, and easy to freeze your phone with, make sure you know what you're doing. (Yes, changes become effective as soon as you apply them.)
It's clever when it comes to the volt_scheduler script as well, it only edits the line which sets the values at startup, meaning you can change the script as much as you like, the app won't touch anything else in it. (It also fixes the script-permissions on Topogigi 1.9, which aren't set correctly on a default install.)
The app will NOT let you change the startup-script until you have applied the settings. This is an attempt to avoid applying bad undervolts at startup. (The theory is that your phone will freeze if you're undervolting too much, and hence you won't be able to save those values to the startup script. If you try hard enough however, you will be able to save unstable settings, with the possible consequence of boot-loops and data-loss. I'm not kidding, be careful!)
NOTE: If you're using a system-monitor (System Tuner for example) and it doesn't show the voltages you applied, you need to force-stop and restart it before it'll show the current values (pun intended.)
NOTE2: Tegra 2 never supplies less than 770mV to the CPUs. The app will let you set undervolt below 770 though, and will in brackets show you what the real undervolt (on Tegra2) actually is. (Until recently I thought this was a hardware limit, but learned it is a kernel-limit. There may be kernels out there which can go lower. If the minimum frequency's default voltage is not the same as the kernel's minimum, the numbers in brackets will be off by the difference between the two.)
HEEELP: "I was very stupid and saved the undervolt-values to the startup script without testing properly first. Now it keeps rebooting. Is there anything I can do?" See Post #2.
Happy undervolting!
Click to expand...
Click to collapse
HEEELP: "I saved the undervolt-values to the startup script without testing properly first. Now it keeps rebooting. Is there anything I can do?"
Yes. The phone cannot be damaged by undervolting, but your data might. First thing you should do is to stop the reboots by pressing and holding "Power" and "Volume Down" to enter CWM.
You will need to have ADB installed on your computer. (The following instructions are for Windows-users.)
Select "Mounts and Storage" in CWM and select "Mount /system"
o In a shell, type:
If you're using a Topogigi ROM:
Code:
adb pull /system/xbin/volt_scheduler c:\
If you're using anything else:
Code:
adb pull /system/etc/init.d/S_volt_scheduler c:\
Now edit the file c:\volt_scheduler or c:\S_volt_scheduler in a PROPER editor like Notepad2 or Notepad++. DO NOT use the regular Notepad. You'll see a line with some numbers enclosed in quotation marks. Replace those numbers with zeroes. Save it.
Then type (Topogigi)
Code:
adb push c:\volt_scheduler /system/xbin/volt_scheduler
del c:\volt_scheduler
adb shell chmod 755 /system/xbin/volt_scheduler
adb reboot
or for other roms:
Code:
adb push c:\S_volt_scheduler /system/etc/init.d/S_volt_scheduler
del c:\S_volt_scheduler
adb shell chmod 755 /system/etc/init.d/S_volt_scheduler
adb reboot
If you're lucky, your phone will boot properly. If it still boot-loops, you've had some sort of corruption and need to wipe. If it still loops you've had corruption on the system partition, a full re-install (or backup-restore) is the last option.
Good job! Since I don't need OC but UV is useful for me.
greaatt... sadly this afternoon i already edit the script manually
wait for some hours, and i can use this wonderful tool!
nevermind, just download & let's play with this.. (editing script every testing is kinda annoying.. )
Thanks! I use your clock adjustment tools too
gideonrs said:
greaatt... sadly this afternoon i already edit the script manually
wait for some hours, and i can use this wonderful tool!
nevermind, just download & let's play with this.. (editing script every testing is kinda annoying.. )
Thanks! I use your clock adjustment tools too
Click to expand...
Click to collapse
You're very welcome.
thanks for ure great effort.
can you specify the UV settings that will not damage the phone?
p.s. i really like unlock silly values option
Thanks.
edit: can i use -50Mv
shpapy said:
thanks for ure great effort.
can you specify the UV settings that will not damage the phone?
p.s. i really like unlock silly values option
Thanks.
edit: can i use -50Mv
Click to expand...
Click to collapse
I wish it were that easy. Every phone is different. Mine seems to be completely stable at -75 across the board, and at 800Mhz I can run it at the lowest voltage possible, 770mV. Which is why I run everything at -50 ;-) (I learned a long time ago that balancing on the edge sooner or later makes you fall off.)
Other people have reported that their max stable undervolt is -25mV. There's no single recipe for everybody.
The correct way to test it is to set both min and max-frequencies to the same (for both awake and sleep-modes), then decrease voltage by one step, then run the toughest apps you can think of for at least 15 minutes each. If nothing weird happens, write down the numbers, decrease one step again, etc. etc. until you have found the breaking point for that particular frequency.
Then, and this is important, you need to make sure the phone is able to wake from sleep with those same values. For this you need to set sleep-mode to the normal frequencies again.
If everything works out with that, rinse and repeat with the next frequency. After you're done, you should have a nice set of numbers - increase them all by 25mV. That's your lowest stable voltage for each frequency.
thanks allot for the detailed and super fast reply.
as i mentioned in the edit i edited the Mv to 50 all across the board and its fine
also when gaming (thanks for the tip, i was just running quadrant each time)
i am running neoblaze with FR19 (2.2)
I UV by 50mv and then saved the profile with pimp my CPU and applied at boot since I use init.d
I wonder how much more battery I can squeeze more now
Sent from my LG-P990 using XDA App
Awesome apps Trym! I downloaded this and the OC one. Left some stars on the market too.
salisbury_steak said:
Awesome apps Trym! I downloaded this and the OC one. Left some stars on the market too.
Click to expand...
Click to collapse
Thanks!
10chars.
shpapy said:
I UV by 50mv and then saved the profile with pimp my CPU and applied at boot since I use init.d
I wonder how much more battery I can squeeze more now
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse
I guess I can easily do that from the app. Currently looking into how to best determine if a system has working init.d support.
EDIT: Done.
TrymHansen said:
I guess I can easily do that from the app. Currently looking into how to best determine if a system has working init.d support.
EDIT: Done.
Click to expand...
Click to collapse
so what is the next step with the app?
shpapy said:
so what is the next step with the app?
Click to expand...
Click to collapse
I don't have any more plans for it at the moment, it does what it was designed to do. Open for suggestions though. I did add support for startup-scripts on ROMs with init.d. (I modify PimpMyCpus script, if it's there, to avoid conflicting scripts. If not I create it.)
TrymHansen said:
I don't have any more plans for it at the moment, it does what it was designed to do. Open for suggestions though. I did add support for startup-scripts on ROMs with init.d. (I modify PimpMyCpus script, if it's there, to avoid conflicting scripts. If not I create it.)
Click to expand...
Click to collapse
Please bring back set on boot
Thanks!!!!
Sent from my LG-P990 using XDA App
shpapy said:
Please bring back set on boot
Thanks!!!!
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse
Long story short: Some ROMs didn't apply the settings at boot due to non-functioning init.d. So I made some changes to better discover which ROMs support it. So, in theory, if the button isn't there, you're running a ROM which it doesn't work on anyway.
This is all very new to me, If I mistakenly remove the button on ROMs where you have working init.d, please report back here with the details of the ROM. (Update to the latest version of the app first.)
I tested it on GR4 cooked with stock kernel (no working init.d support, even when you replace the kernel), GR4 cooked with custom kernel (working init.d), Fr19 (Working init.d), Topogigi (which it was originally designed for - always working) etc.
CM7 has init.d support, but refuses to set the undervolt-values both live and and boot (VorkKernel), I'm looking into that.
I have fr 19 with the latest neoblaze which supports for sure since i checked the logcat. also now with topo 2.0 its missing
Sent from my LG-P990 using XDA App
I jumped the gun i had to clear data working fine now
Sent from my LG-P990 using XDA App
shpapy said:
I jumped the gun i had to clear data working fine now
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse
Ok, good to hear.
Just a heads up that it now works on VorkKernel (CM7) as well, from appversion 0.6.5.

Apps aren't staying up on DM 1.5 b5

So, I'm using DjangoManouche 1.5b5. Kernel is Gueste's 1.3.3(?) OC version. I chose 20s and I'm just wondering what is the difference between that and 20q(I live in FIN if it matters). I chose better multitasking, Pdroid and FD. What are Pdroid and FD?
In anyway, icQ, Tapatalk and Dolphin browser HD aren't staying up. It's a little annoying because I cannot get pop-up messages in icQ and the browser must reload pages every time. It happens when I'm using any other app for a few minutes and trying to use the previously used one.
The problem came back with DM ROM and I had some kind of lightly customized CM ROM. I just would like to fix that problem if it could be possible. Sorry for postig that problem on that sectio but I have no rights to post in development section yet.
Pdroid is privacy framework, FD is fast dormacy. It looks like youre low on ram. I would suggest to use latest cm kang with etana kernel with 48 ramhack.
Sent from my Optimus 2X using XDA
xtrustkillx said:
Pdroid is privacy framework, FD is fast dormacy. It looks like youre low on ram. I would suggest to use latest cm kang with etana kernel with 48 ramhack.
Sent from my Optimus 2X using XDA
Click to expand...
Click to collapse
no offense to anyone or any ROM, if it is the free RAM which is the cause, I would suggest that your stock ROM based choice is more than good...I am on DJ1.5B5 and I have a minimum of 140Mb always and have no issues....
so, investigate using different options mate....I can guarantee this ROM ....and its performance
I don't want to change to different rom. That rom has a lot pf options and there must be a way to make it work. I have Lg's launcher, which can take too much RAM. I should change that to Adw launcher. Well, do you have any recommendations what I should change?
HateBreeder_ said:
I don't want to change to different rom. That rom has a lot pf options and there must be a way to make it work. I have Lg's launcher, which can take too much RAM. I should change that to Adw launcher. Well, do you have any recommendations what I should change?
Click to expand...
Click to collapse
I assume you have installed with an option to have a lot of free RAM. Whaddayouknow, to have a lot of free RAM the system will kill background apps.
Reinstall DM with stock OOM values, or if you know how, change them back to stock values.
TrymHansen said:
I assume you have installed with an option to have a lot of free RAM. Whaddayouknow, to have a lot of free RAM the system will kill background apps.
Reinstall DM with stock OOM values, or if you know how, change them back to stock values.
Click to expand...
Click to collapse
Im using better multitasking. Could you give me a tip how to change values without reinstallation?
BTW, I have worse problem than that. I cannot set music volume any lower in Poweramp. I set it to zero and still I hear music too loud. The problem doesn't exist in Youtube(adding volume is still a little bad). What can I do because I dont want to destroy my ears?
Edit: I paussed the music player and now it's a lot better. I added some volume when the player was paussed and then it was better. Still I cant set volume as much as I want. Help, please.
Edit 2: Okay guys, I fixed that. I disabled direct volume contol and now it's normal.

[GUIDE] [DEC 6] Andrev OC daemon/Daemon Controller and Undervolting

This is post 1: Andrev OC daemon.
Undervolting is in post #2: http://forum.xda-developers.com/showpost.php?p=30979035&postcount=2
So recently, I have had a few people asking me about the Andrev OC daemon that I use on nearly every rom/kernel.
So I thought as a way to give back a bit to the community, I would write this
Original thread: http://forum.xda-developers.com/showthread.php?t=1222020
The whole reason behind having the Andrev or Virtuous Daemons is to limit the screen off CPU frequency in order to save battery.
Diamondback said:
Introduction to the new Overclocking Daemon
This ROM features a completely new way of Overclocking and managing screen states.
The History
But before explaining it further, let's talk about previous solutions.
There are several different approaches to archieve "screen-state-scaling".
That means basically that the govenor changes if you turn the screen off and changes back to normal when turning the screen on.
This is mainly used to restrict the amount of CPU usage (the frequency in fact) during screen off. This can lead to a major battery life increase.
The solutions so far were:
App like SetCPU, which change automatically the govenor based on profiles
integrated solutions in the govenor itself
Both these solutions have major problems.
The one with a tuner app is always a little laggy right after turning on the screen because SetCPU (or any other CPU tuner) needs some time to change the govenors (up to 7 seconds). This leads mostly to major lag in the lockscreen.
The second solution is the smartass govenor. It has already a screen-state-scaling included, so it reduces the frequency when the screen turn off.
This could be a really nice solution but it has some problems too.
Smartass most of the time is not really stable and has problems with its frequency scaling.]
Click to expand...
Click to collapse
The Virtuous and Andrev daemons are basically the same thing, just that the andrev one is easier to install IMO
The Virtuous daemon comes pre installed in a lot of virtuous roms, insluding Unity, Infinity, Affinity
The thread itself has not been updated this year, but hey, it has been written for single core devices, and works very well on my phone. The reason behind not being updated I think is that it has reached its potential, the developers of the daemons have moved on to newer multi core devices like the HTC sensation and One X.
So anyway, enough introduction, let's get to the guide:
*You need to be rooted to install this, it should work on any single core device*
*I also recommend having a custom kernel with more available frequency steps*
*I am not responsible for anything that happens to your device. This is quite easy and safe, but if you are a talent at screwing up your devices then maybe a but more research would be good*
*READ THROUGH THE WHOLE GUIDE BEFORE STARTING SO YOU KNOW WHAT YOU'RE DOING*
This works with every custom rom I have tested, I have not tested it on MIUI V4. On MIUI GB it works.
For reference, I am using ARHD 3.0.1 with l0st.prophet's v2.2 kernel now.
You can try the flashable zip in the original thread but I was never able to get that to stick
1. Download the latest Daemon Controller apk. Latest versions and older versions can be found here
http://forum.xda-developers.com/showthread.php?t=1949502
2. Install the apk like a normal app, open it, grant it superuser permissions.
3. Go to the Options tab, the forth one, and from there install the daemon. It is an automated process. When its done, close the app by pressing the back button a few times and open it again.
4. You should see all the sleep/wake options in the OCD tab. Set them to whatever you like. For reference, I set mine to 245min/1200max Lionheart screen on, and 245/368 conservative screen off. Click on apply. I recommend that you use a higher frequency/fastergovernor for screen on max, because thats where you will get your performance. For screen off limit to a lower frequency and more conservative governor in order to save battery for when the high speed is not needed, eg, when you listen to music. Too low frequencies will cause problems. But, you don't want to have the phone at 1.2GHz playing music, do you?
Kernel governors thread: http://forum.xda-developers.com/showthread.php?t=1631894
5. Right click and save as http://bit.ly/oI85wL as a .txt file, and put it in /system/etc/init.d of your phone. Take off the .txt so it is just 83oc, then use script manager to set the file to run at boot/as root by navigating to /system/etc/init.d of your phone and pressing on the 83oc file, making sure that the gear and the superuser icon are pressed.
*With newer versions this file is automatically generated so you don't need to replace it, if it is already there *
Long press it, go to properties and set its permissions to rwxrwxrwx (9 boxes ticked)
You might need to use another file browser like es file explorer to do this, smanager sometimes FC's trying to do this (thanks interaser for reminding me)
6. The Andrev OC daemon should now be installed. I use CPUspy to monitor my CPU speeds. Reboot the device and leave it for a few mins, then open up the daemon controller app and check if it says "Active Daemon: Andrev OC" at the top. If it does, success! If it doesn't you might have done something wrong, try again from the start, see if you've done EVERYTHING correct, then post here.
7. Click on my the thanks button for this post, and the linked posts. Its just courtesy
Click to expand...
Click to collapse
Happy overclocking! Remember that overclocking too much could be bad for your processor.
Many thanks to Sybregunne for his work and continued support in his own thread, and this one too
And to all the members who gave feedback
Undervolting
Undervolting guide: From post #12 by me
Why undervolt?
Undervolting is basically feeding less voltage to your processor, while delivering the same performance.
Its kind of like forcing you to run a marathon, but giving you less water. You will probably make it, but some may collapse/ hot reboot because there is not enough water/voltage. If you drink less water/use less voltage, you will save on water/battery while having the same end result of finishing the marathon. But if you don't have enough, you might collapse/reboot and try again, with more water/voltage. With normal voltage/water supply all will make it. Hope that helps you to understand.
Using less voltage will help save battery while keeping the phone cooler, not that the incredible s has cooling problems, unlike the Nexus 7 and One X with the Tegra 3
You can use an app called 'incredicontrol' from the play store.
https://play.google.com/store/apps/...=W251bGwsMSwxLDEsImNvbS5pbmNyZWRpY29udHJvbCJd
Alternatively, I now use TricksterMOD to do voltages and stuff. Its very easy with tricksterMOD
This will work on all roms with custom kernels that have the voltage control (VDD interface). It requires a kernel which supports undervolting.
This requires more patience than the daemon, and will probably cause instability at some point during testing.
OLD METHOD I USED TO USE: INCREDICONTROL
1. Download the app, grant it superuser permissions. Go to the svs tab and press the - button at the top left once. You should notice all the values go down by 25 mv
2. Scroll down to the bottom, click apply and exit the app, play around with the phone as normal. Because 'save for boot' wasn't checked, it will reset back to normal after a reboot, in case it causes instability.
3. if it's stable, go back to the app and click on -25 again, and apply. Play with the phone more to ensure that its stable.
4. Keep doing this until it becomes unstable, remembering the last stable value. My phone can handle -75mv under volting, yours will probably be similar. I advise not to do more than -100mv
5. When you find a stable setting, set that setting, and scroll down to the bottom. This time choose 'save for boot' and apply. Now the settings should stick after a reboot.
6. Done! Don't delete the incredicontrol app. The phone needs it iirc for undervolting to stick
7. Click thanks please
Takes me a while to write these thing up for you guys
Click to expand...
Click to collapse
Now, it is much easier to use TricksterMOD. Voltage control is in the column on the far right in the app's GUI
1. Test voltages as above
2. When you find a stable setting, press menu --> set on boot -->tick enable.
Click to expand...
Click to collapse
WARNING
if you undervolt too much and save for boot, you phone probably will boot loop. You will have to reflash the ROM and kernel. So don't save for boot until you've played around with the phone for an hour or so to ensure that its stable.
Any questions, feel free to ask them
Also remember that not every processor is the same even though our phone is the same, so some may handle overclocking better than others
This is good. You have an interesting writing style.
Nonverbose said:
This is good. You have an interesting writing style.
Click to expand...
Click to collapse
lol why is that? I am hoping that it's understandable?
First of all, thanks mark for this how-to guide. Always want to try this as i acknowledged the lag problem with using oc app such as setcpu (when switching the screen on and off) .
And yes, you do have a good writing style mate :thumbup:
Sent from my Incredible S using xda app-developers app
markj338 said:
lol why is that? I am hoping that it's understandable?
Click to expand...
Click to collapse
Yes it's understandable. What I mean is that it's informative, relevant and well structured. Write more!
Nonverbose said:
This is good. You have an interesting writing style.
Click to expand...
Click to collapse
I assume he means you write as if you are talking to a friend in a chatty manner. Not a bad thing just most people write in a blunt manner.
Sent from my HTC Incredible S using Tapatalk 2
vizzy said:
I assume he means you write as if you are talking to a friend in a chatty manner. Not a bad thing just most people write in a blunt manner.
Sent from my HTC Incredible S using Tapatalk 2
Click to expand...
Click to collapse
Oh okay haha, I don't want to be all formal and stuff because this is a forum, I don't want this to come across like a textboook or a lecture or something
Now only i realize that you open a thread for this
how about UV? Should be simple for you as can be added on this thread too?
Yep,write more about UV buddy ^_^
sinosuke said:
Yep,write more about UV buddy ^_^
Click to expand...
Click to collapse
Undervolting guide is now in post #2
http://forum.xda-developers.com/showpost.php?p=30979035&postcount=2
I have updated the first 3 posts with some new information for ease of use and more guides
Press thanks if you like my guide/found it helpful/found my writing style interesting
Enjoy!
Hi, i used setcpu before and already uninstalled it. After installing and using this, i can't find a way to make the oc settings to stick on icecoldsandwich. The only way is for me to manually change the cpu freq in rom controll setting.
Any thoughts guys? Thanks
Sent from my Incredible S using xda app-developers app
larkhillv7 said:
Hi, i used setcpu before and already uninstalled it. After installing and using this, i can't find a way to make the oc settings to stick on icecoldsandwich. The only way is for me to manually change the cpu freq in rom controll setting.
Any thoughts guys? Thanks
Sent from my Incredible S using xda app-developers app
Click to expand...
Click to collapse
Untick set at boot from Rom control
Did you put the script in place?
Sent from my HTC Incredible S
Did both of that. The sleep setting works well though. I only need to change the wake value on rom control and that's something i can live with
Thanks for the guide :beer:
Sent from my Incredible S using xda app-developers app
larkhillv7 said:
Did both of that. The sleep setting works well though. I only need to change the wake value on rom control and that's something i can live with
Thanks for the guide :beer:
Sent from my Incredible S using xda app-developers app
Click to expand...
Click to collapse
Editing the values in rom control will disable the daemon iirc
Does the daemon controller app tell you that the andrev daemon is active? It worked for me in ICe Cold
Did you remember to set the script to run at boot? Could you please post what else is in your /init.d folder?
Good job again Mark
Keep them up
letmedanz said:
Good job again Mark
Keep them up
Click to expand...
Click to collapse
Thank you, glad I can finally contribute some information to the community I have taken so much from
Sent from my Nexus 7
Daemon control FC on Miui...any alternative?
Sent from my HTC Incredible S using xda premium
linezero said:
Daemon control FC on Miui...any alternative?
Sent from my HTC Incredible S using xda premium
Click to expand...
Click to collapse
If you can't update your su binary, I would give up lol
Or you could manually install it
Not working for me on cooldroid either, its FC'ing
I will resort to using incredicontrol for my CPU speeds with no daemon

Categories

Resources