yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] skeevydude:
I wasn't sure about MS2. Does it have init.d support? I think it does, but haven't used it in about a month.

Have you tried the new 2.1 zip? It fixed a dumb script error of mine, and doesn't include the undervolt settings that were causing users of 4 Vsel roms problems.
[Defy Android Development] espaciosalter20:
Not needed... With the first zip the governors modules works and load without problem. Checked with a lsmod command in terminal.

And yes, ms2ginger has init.d script support (i used to load my workaround for mmcfix)

Enviado desde mi MB526 usando Tapatalk 2
[Defy Android Development] skeevydude:
Not needed... With the first zip the governors modules works and load without problem. Checked with a lsmod command in terminal.

Yes they do load, but the init script doesn't load SIO properly in the first zip; requiring you to use an app to use it.

And yes, ms2ginger has init.d script support (i used to load my workaround for mmcfix)

I thought it did, just wasn't sure. Been a month since last use, and after so many roms and flashes, you start to forget what rom does what:D

You can also select which IO scheduler you'd like to use by editing the init script. Just change "sio" on line echo "sio" > $i/queue/scheduler; to either "noop" "cfs" or "sio". I used to use noop with good results, now I'm using sio and haven't had problems with it.
[Defy Android Development] Epsylon3:
will be in my next build (bootmenu touch updated)

but ive modified a bit the source code (already in my ics mb525 branch), the module and governor names to a simple "boosted"
[Defy Android Development] espaciosalter20:
last time i checked, sio was up and working, but maybe because i used a io script before this :D

Enviado desde mi MB526 usando Tapatalk 2
[Defy Android Development] skeevydude:
Awesome. Thanks.
[Defy Android Development] hottracks4:
Nope.. Plain simple WIUI.. Other apps like cpu soy and system panel are working fine.. Even setvsel.. The governors are showing fine.. Just to clock speeds shown are the default ones of the Defy.. Not the current ones.. :-/
[Defy Android Development] kadopt:
Are there other governors beyond boostedass v2 and smartass v2 in this package? Because only those appeared in cm7 settings with both zip files... I'm using May 16th EuroSkank cm7.2 build.

Cheers!
[Defy Android Development] espaciosalter20:
Skeevy has another governor, and you can find it in a previous post. He didn't added directly to zip because is only working for GB kernel, but you can download it, put it in modules, and load manually with insmod command, just for try if it is working. If it does, maybe you can edit load script in zip in order to load module in kernel at boot.

Enviado desde mi MB526 usando Tapatalk 2
[Defy Android Development] skeevydude:
No, but I posted interactivex in the 3rd or 4th post. I'll reup to this post as well. Its supposed to be for GB kernel only, according to what little info I could find. Just add it to the zip in /system/lib/modules and add the line insmod /system/lib/modules/cpufreq_interactivex.ko to the init script, below the other insmod commands, to try it out. Bravo is Froyo kernel only, and manual loading of interactivex doesn't fail, but doesn't load it either. Apparently it can cause bootloops or frozen boots due to how it loads. Remember to remove the .txt file extension.

Try first with adb to test:

adb remount

adb push ./cpufreq_interactivex.ko /system/lib/modules/cpufreq_interactivex.ko

adb shell chmod 0644 /system/lib/modules/cpufreq_interactivex.ko

adb shell insmod /system/lib/modules/cpufreq_interactivex.ko

If all goes well, you'll have the interactivex governor working. Then just follow the instructions in the first paragraph to make a flashable zip with the init script.

@Epsylon3 - The BOOSTEDassV2 github page Hope this helps.
[Defy Android Development] kadopt:
Since my Defy is a green lens one I have froyo kernel. Thanks for the info, it might help some other people (gingerbread people! :P).
[Defy Android Development] hottracks4:
The updated version is working fine now! :) thanks! :)

Swyped with my Defy using XDA app. ;)

Hit the "Thumbs Up" if I've been able to help.. :)
[Defy Android Development] Bleak3993:
Looks great, but how can i run this on MIUI Pikachu Edition? i mean, miui doesnt have performance settings and stuffs like that, can i install set vsel or another app without any problem?
[Defy Android Development] memz180:
Its been said before earlier in the post that you don't need cm performance im on miui like yourself all I did is install the zip and use set cpu to choose my governor works a treat just using boostedassv2 at the moment still in testing see how it goes. Goodluck mate
[Defy Android Development] bharaththeunique:
V2.1 link still not working for me...gives bad installation..tried downloading three times already.....

My bad... sorry...working fine...
[Defy Android Development] thiagobolivar:
SIO Scheduler on GB Kernel

Sorry guys, I read all the thread but still not clear for me if there is a special procedure to install DroidX Governors in GB Kernel. I'm using CM9 by Quarks (11-05+) GB kernel. What I need to do? Just Install zip of first post?

Thx!
[Defy Android Development] memz180:
Yer should work fine im using wiui gb kernal it flashed fine for me. ..
[Defy Android Development] YaPeL:
Silly question, can we Use another scheduler on our defy even with the locked bootloader (like bfq?)? I mean, If we can change to this SIO scheduler for i/o...
[Defy Android Development] espaciosalter20:
Yes... With this zip or kickasskernelizer it's possible

Enviado desde mi MB526 usando Tapatalk 2
[Defy Android Development] skeevydude:
Use a market app like No Frills Cpu Control (also allows to change IO), Set CPU, Voltage Control, etc.....

Yes, if you happen to either find a module for it or program one yourself. ;) I just happened to notice the sio module and figured "what the hell, why not" and it happened to work. You can also change to noop or cfs with No Frills, or edit the init script and change sio to you're preferred scheduler. I'd use noop or sio.
[Defy Android Development] YaPeL:
Really? amazing, I would love to try the v2 Rotary Interactivity Favor Scheduler :D
[Defy Android Development] skeevydude:
Do you know of a rom that has it with the same processor\omap36xx platform as the Defy\Bravo? If so, I'll try loading it up.
[Defy Android Development] YaPeL:
Well, no, currently no, but you can contact the author on the phoronix forums, on the thread "The v2 Rotary Interactivity Favor Scheduler" maybe he can port it/help you.
[Defy Android Development] Christiancs1969:
What is noop ?

Sent from my MB525 using Xparent Cyan Tapatalk 2
[Defy Android Development] skeevydude:
Info taken from [REF][TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs

1) Noop

Inserts all the incoming I/O requests to a First In First Out queue and implements request merging. Best used with storage devices that does not depend on mechanical movement to access data (yes, like our flash drives). Advantage here is that flash drives does not require reordering of multiple I/O requests unlike in normal hard drives.

Advantages:

Serves I/O requests with least number of cpu cycles. (Battery friendly?)

Best for flash drives since there is no seeking penalty.

Good throughput on db systems.

Disadvantages:

Reduction in number of cpu cycles used is proportional to drop in performance.

3) CFQ

Completely Fair Queuing scheduler maintains a scalable per-process I/O queue and attempts to distribute the available I/O bandwidth equally among all I/O requests. Each per-process queue contains synchronous requests from processes. Time slice allocated for each queue depends on the priority of the 'parent' process. V2 of CFQ has some fixes which solves process' i/o starvation and some small backward seeks in the hope of improving responsiveness.

Advantages:

Considered to deliver a balanced i/o performance.

Easiest to tune.

Excels on multiprocessor systems.

Best database system performance after deadline.

Disadvantages:

Some users report media scanning takes longest to complete using CFQ. This could be because of the property that since the bandwidth is equally distributed to all i/o operations during boot-up, media scanning is not given any special priority.

Jitter (worst-case-delay) exhibited can sometimes be high, because of the number of tasks competing for the disk.

5) SIO

Simple I/O scheduler aims to keep minimum overhead to achieve low latency to serve I/O requests. No priority quesues concepts, but only basic merging. Sio is a mix between noop & deadline. No reordering or sorting of requests.

Advantages:

Simple, so reliable.

Minimized starvation of requests.

Disadvantages:

Slow random-read speeds on flash drives, compared to other schedulers.

Sequential-read speeds on flash drives also not so good.

Q. "Best I/O Scheduler?"

A.There is nothing called "best" i/o scheduler. Depending on your usage environment and tasks/apps been run, use different schedulers. That's the best i can suggest.

However, considering the overall performance, battery, reliability and low latency, it is believed that

SIO > Noop > Deadline > VR > BFQ > CFQ, given all schedulers are tweaked and the storage used is a flash device.
[Defy Android Development] szacuken:
Pls remove empty "bootmenu" folder from zip because it destroy TWRP recovery
[Defy Android Development] Christiancs1969:
Ok worked great defy skank;)

Sent from my MB525 using Xparent Cyan Tapatalk 2
[Defy Android Development] skeevydude:
Done.

Updated init script to (almost) match Epsylon3's new bootmenu script. Removed a few lines (were unsupported on Bravo) and added others from /sys/block/*/queue.

Added SD Cache Tweak with value of 2048.
[Defy Android Development] Christiancs1969:
Do I just zip again to update

Sent from my MB525 using Xparent Cyan Tapatalk 2
[Defy Android Development] skeevydude:
Yes, flash in recovery.
[Defy Android Development] cgordonfreeman:
I'm not sure if this is of much use but here is a thread about schedulers for the LG Optimus Black which uses the omap 3630 also. Maybe some new ones could be implemented?

xdaforums.com/showthread.php?t=1242323
[Defy Android Development] Garuxa:
By trying to make the governor InteractiveX, this does not work, since this does not appear with the menu of CM7.

I am using Nightly for CM7.2 defy + by Quarx (GB Kernel)

Any suggestions?
[Defy Android Development] espaciosalter20:
Here not work either...

Enviado desde mi MB526 usando Tapatalk 2
[Defy Android Development] uluxus:
Choose it in Bootmenu.

Once I selected Boosted in Bootmenu, the option was available in the Performance menu.
[Defy Android Development] Garuxa:
This is only valid for the new version of Epsylon3, since it implemented in the bootmenu. Instead Quarx still not done with their builds of CMx
[Defy Android Development] chachoi:
does bosstedV2 consume more battery compared to onDemand?
[Defy Android Development] skeevydude:
CM Performance in settings, or bootmenu? Either way it never worked for me, but I just thought that it was from being on Froyo kernel. I read it was supposed to be GB only. Perhaps it just doesn't work.

No, boostedass is a big battery saver.

I'll check it out and see what I can find. Provided that they have the same kernel and the schedulers are modules like sio, they might work.
[Defy Android Development] Garuxa:
Both, even with No-frills CPU Control. What a shame, InteractiveX governor is excellent for battery :(
[Defy Android Development] chachoi:
I am using cm 7.2 by euroskank and it shows up on my menu, running on froyo kernel. Flash Euroskank cm 7.2
[Defy Android Development] hottracks4:
Is boot menu governor selection supported in the latest update? I couldn't understand the conversation above.. :-/

Swyped with my Defy using XDA app. ;)

Hit the "Thumbs Up" if I've been able to help.. :)
[Defy Android Development] memz180:
I have updated to the latest im on gb miui kernal worked perfectly what is meant by it destroys backup in twrp ?? I did a backup while It was on 2.1 does this mean that backup wouldn't restore

Thanks
[Defy Android Development] bovirtual:
Installed on WIUI 2.5.11 (ICS version), and runs perfectly!! Really the battery drain is much little than with the usually governor twik in my Defy
[Defy Android Development] espaciosalter20:
That's true...only when you're not using your phone, because with screen on, even with low brightness and wifi, the battery runs out more than ondemand.

Enviado desde mi MB526 usando Tapatalk 2
[Defy Android Development] skeevydude:
No Idea on what it means. I only used TWRP for 3 hours on the day of its release, figured I'd wait until it was a bit more updated before regular use. And a wipe data\factory reset with it wiped my sd-ext partition with 10 gigs of mp3's....

Not for me, at least on Quarx CM9 2012\05\12 (Bravo). An example: 8 hours of moderate use completely drained my battery from 100 to 14% with ondemand and stock settings; Same rom, stock settings with boostedass gave me 18 hours of use with similar usage. I could get better numbers undervolting, but wanted to test with stock, since a few Bravo users are uncomfortable undervolting (and a few others are crazier than my when undervolting). That example was also the first time I used ondemand and stock settings with CM9...and the first time I had to charge my phone twice in a day since stock Froyo...not counting SNES Emulation with a PS3 controller over Bluetooth...I thought the rom had battery drain issues, but a governor change made me think otherwise.

A simple test is to just use CPU Spy and check your Vsel usage. With ondemand, I'm either at clk3 or clk1, with very little if any clk2 usage. Tweaked Conservative\Tweaked Smartass, stock SmartassV2, & stock BoostedassV2 usually give me highest use in clk1(300 mhz), and clk2 is used 50% more than clk3; and that's where the good battery saving come from (and why I run 300@20, 700@40, 1100@54). I've found that using those numbers works good for mp3 playing, web browsing, and game playing -- mp3 and web with wifi hardly need to go up to clk3 since 700mhz is plenty to cover them and 1100 means lag free gaming (usually; game dependent), and mp3s usually stay in clk1 unless I'm running DSP Manager + Audio Effects + WIFI running in background, then I get more clk2 usage.
[Defy Android Development] nidhish91:
Can I flash this is on my Defy stock2.2.2 ? Its already rooted and **** done.
[Defy Android Development] chachoi:
which is better for gaming?

boostedass

smartass or

on demand?

which is better for battery?

boostedass

or smartass?
[Defy Android Development] Pallmalli:
+1.
[Defy Android Development] hottracks4:
Boostedass is better for me.. Way better!

Swyped with my Defy using XDA app. ;)

Hit the "Thumbs Up" if I've been able to help.. :)
[Defy Android Development] espaciosalter20:
It's seems that, with the proper settings (high clck, undervolted vsel), boostedass is a big winner... Good for gaming and kind with battery life.

I was trying to port anothers governors as well (like minmax), without positive results. I'm going to modified them in order to make them work properly in our defy (candidates to be ported, interactivex and minmax)

Enviado desde mi MB526 usando Tapatalk 2
[Defy Android Development] tarekh020:
What about the battery heat-up problem when using browser @ Wifi and a little gaming @ ICS4.0.4
[Defy Android Development] KriegerBread:
Does the V2.2 have 4 way clocks implemented already?

I'm on Quarx's cm9 Defy+ last nightly using V1.1 modded posted by nogoodusername in second post.

Thanks!
[Defy Android Development] skeevydude:
I removed all clock settings so it works with both kernels. I was first using overclock.sh to load the modules, but changed to an init script since overclock.sh is different depending on kernel while an init script is more universal.
[Defy Android Development] KriegerBread:
Great thanks!
[Defy Android Development] Christiancs1969:
That really helped on battery thanks :D

Sent from my MB525 using Xparent Cyan Tapatalk 2
[Defy Android Development] hottracks4:
Rofl! Name one smartphone that doesn't do that?! Haha! And android phones heat up the most when it comes to these functions.. :-P Just try to undervolt it a bit.. It'll reduce temperatures.. It's better than b4 for me now.. This governor is really awesome! Right now I'm running at 300/18, 650/36, 1000/54.. Rarely gets steaming hot.. Running smoothly.. Very happy with my setup.. :)
[Defy Android Development] memz180:
Set Cpu v3.0.0

Good news guys Set CPU has been updated to V3.0.0 and they have implemented the Schedulers so you can choose both governor and scheduler now :D:D

Ive just noticed that Set cpu is actually a paid application on the Market i removed it from this post as its not right for me to have it uploaded in here.
[Defy Android Development] coolzarjun:
I just use setvsel to undervolt and overclock and Rom Toolbox to change the governor .. everything works fine :)

Sent from my DEFY
[Defy Android Development] bharaththeunique:
Thnx its great....but isn't this a paid app..????

defy+ MB526 quarx cm9 nightly..!!!!!

1.1GHz....<<<V6 supercharged>>>
[Defy Android Development] memz180:
Im not sure didn't see it in market I just use the free version :) it just got updated on my phone so I just saved the apk to the website for all you guys
[Defy Android Development] memz180:
But this is a all in one package so you don't need other programs such as no frills and rom toolbox and I see that setcpu has all these extra features that others don't have.
[Defy Android Development] 5pace:
Can you add lulzactive in your list, please? :)
[Defy Android Development] Chelsea888:
Why don'y use No Frills CPU Controll?
[Defy Android Development] bharaththeunique:
My thought is dat no frills has a Very very simple interface.....an dats good.....but...now using this latest set CPU...it has much more options....like profiles, CPU info and even usage status n all.....from toolbox has dos too ...but having it all in on place is grt. !!!!!

defy+ MB526 quarx cm9 nightly..!!!!!

1.1GHz....<<<V6 supercharged>>>
[Defy Android Development] hackergnome:
SetCPU is a paid app... but they provide it for free here at xda... I don't think it is allowed to reupload...
[Defy Android Development] bharaththeunique:
Exactly what I doubted.....
[Defy Android Development] memz180:
Ive deleted it from my post i didn't realize after i checked on the market again that its a paid app my brother must of bought it we got linked accounts which is why i was able to download it on my phone for free.

Sorry guys must support the creators of the app.
[Defy Android Development] niksy+:
Any info on interactivex and minmax and lulzactive? I'll google them now, but I think it would be nice if the first post contained some info about all the governors contained in the zip :)

Cheers!
[Defy Android Development] Step666:
With regards to SetCPU, you can either buy it from the Play Store here or download the free version for XDA members here.

Though I would strongly suggest you purchase it and help to support the Dev.

They are the only two links you should ever post for SetCPU.
[Defy Android Development] espaciosalter20:
I was checking github to get source code of those governors, but i only get interactivex and minmax tweaked for x10 which doesn't have our chipset or cpu and that's why I'm working really slow on them.

If anybody can provide me source code from lg optimus black (which uses this governors and their chipset it's exactly the same of our defy) maybe i can work faster and easy.

Pd: don't know about this lulzactive governor, but in going to investigate as well

Enviado desde mi MB526 usando Tapatalk 2
[Defy Android Development] ZoLion:
Does It work on rooted stock DEFY+ ROM?
[Defy Android Development] royale1223:
Ignore this please
[Defy Android Development] espaciosalter20:
yes... The OP posted this a few post before ;)
[Defy Android Development] bhupatib:
Boosted is a great governor. I'm finally seeing my clk2 used just as much clk3 if not more and as a result getting much better battery life with miui 2.3.30GB on Red Defy.

Although this scheduler thing I don't understand nor I experienced any significant speed up. Maybe because I have a fast enough sd card (class 10)..

Anyways thanks for porting and glad to see its inclusion in ROMs.
[Defy Android Development] Chelsea888:
But for me, The BootASSV2 seems doesn't work, as the clk2 still just occupy a small amount of percentage, I use No Frills for the control app and I am on WIUI Stable.
[Defy Android Development] bhupatib:
Maybe since WIUI has custom tweaks...try with normal miui.

Here's what CPU spy shows for me -
[Defy Android Development] memz180:
Im in the same situation the clk2 does not want to move either in clk2 or clk1 mostly on the 350mhz because screens mostly turned off during the day im on wiui stable aswell

In the recovery mode whats the governor mine is on ondemand but this shouldn't really matter because setcpu should set boostedassv2 on boot can anyone else share some results when on boostedassv2 which do people perfer to use

Thanks guys
[Defy Android Development] hackergnome:
defy will never use clk in between it only uses extreme ones...
[Defy Android Development] memz180:
Yer I thought there was something wrong with the governor as In not even working. My cpuspy below
[Defy Android Development] Ptikjp:
[Investigating weirdness with calling and screen turn off].

Btw with boostedass and cm7 i was able to get a full days +4 h worth of battery life with phone set to use 3g connection. :)
[Defy Android Development] Pallmalli:
Hi guys, I'm having the same. No change at all after setting boosteass as governor. The screenshot looks pretty much the same as above.

Green lens CM9 14-05.
[Defy Android Development] ofmb:
some tweaking is needed for it to work perfectly.

see in root /sys/devices/cpu/cpufreq

i'm not sure if OP investigated the possibilities in there :p
[Defy Android Development] espaciosalter20:
Bad news everyone!!! Yesterday i was doing multiple test with interactivex, minmax and lulzactive (btw, it seems that lulzactive is a great governor, even better than booster), but didn't work any of them at all. Constant bootloops.

If anybody are interested in working on those governors, be my guess, I'm going to posting here source code for those and rest a little bit.

Here are the files

Enviado desde mi MB526 usando Tapatalk 2
[Defy Android Development] nidhish91:
Using it on my stock rom2.2.2

Lets see how it fares
[Defy Android Development] skeevydude:
I did, they just hang when trying to change anything through the terminal and cause my phone to freeze at the moto logo when changing in an init script. I imagine that they'll work once Epsylon3 tweaks boosted for the Defy specificity. The default settings are fine for saving battery, but they could be tweaked for better performance.

Also, some of the tweaks for SIO in the newer Defy Bootmenu are for CFS. They don't even appear in /sys/block/mmcblk0/even more directories I can't remember off the top of my head:p. My 2.2 update addressed that and only has commands for the SIO features present on my phone with a Froyo kernel.

I'm also adding a screenshot of CPUSpy to show how BOOSTEDassV2 behaves on my Bravo; but I've been experimenting with System Tuner and screen on and off governors -- not liking the results since now clk3 is used more than clk2 now.

The first 3 screenshots are from 2.2 after 13 hours of use; the last one is latest from today with System Tuner profiles. My first screenshot is how it usually looks. I get even better clk2 usage with 300@20\700@40\1100@54; 700 mhz is 100mhz less than stock and can handle most usage just fine. I even experimented using 700mhz as max -- works, but can get laggy when multitasking.

The high clk1 is because I tether A LOT (tethering home wifi to my pc; I use my phone as a wireless nic because I'm too cheap to by CAT5 or a wireless nic for my pc.
[Defy Android Development] oSandmaNo:
Works on GB kernel? Will we get 4 clks?
[Defy Android Development] hackergnome:
yup
[Defy Android Development] Christiancs1969:
Any news:D

Sent from my MB525 using Xparent Cyan Tapatalk 2