yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Sybregunne:
It should use holo theme as base when you have at least gb (api-11) i'll try to read up more on this. I'm planning to use action bar sherlock. But my experience with actionbar and fragments are next to nil so i am still reading up on that too.. i just posted an update. Look in options scroll to the bottom, i made an io scheduler setter. Help me try it out and do tell me how it works. Next thing to implement will be gov tweaks. Will probably ask users to edit values manually, as there are lots of governors in the wild. With lots of different ways to tweak.

According to what i read, sampling_rate_min is the lower limit for the sampling_rate value. Sampling rate is how often you poll your device to check if it needs to step up the frequencies. The value 10000(ns) is actually 10 milliseconds. Take note that constant aggressive polling also eats at your battery. I'm not sure about the jiffies but i assume it is 200milliseconds the other one specified us as the unit. So if my conversion is right, it is 20 seconds before it checks cpu load and decide to lower the frequency.(correct my time units if im wrong:D)
[Desire HD Android Development] lateral18:
Well thanks

Yes it did work, with the update , the theme is working , I got tell you . It looks sexy

The new feature seems to be working , the I/0 scheduler setter , it only displays noop .but when is time to pick it says none. But when I try nofrills cpu. It also shows nooo and dealine as the only options. I'm going to remove the script in the init.d folder see if that is preventing from showing all the schedulers

Thanks for the info , can I ask you . Where you got it , I would like to read more on it .

Yes there are a lot governors and tweaks , leaving it for the user is a great idea ,

As a suggestion when you do that, you should add a bit of info on the parameters, so people don't get confuse , I like to learn , also I like to look for info,

Not every body is like that. :)

The app is looking great
[Desire HD Android Development] 0ndr4:
For me IO scheduler is offering only "none" option. Maybe its caused by Trickster Mod app, where I previously changed IO scheduler to noop
[Desire HD Android Development] zla.mas:
Again I got FC after disabling log at startup. Also menu > settings isn't working (for long time)

With new version tabs are fully transparent and rounded in blue, 4.2 was with semi-transparent visible tabs, is that ok or ?
[Desire HD Android Development] 0ndr4:
Tried to disable showing log on startup (new version 4.3.1), but no FC in my case...

And yes, starting from version 4.3, tabs are transparent with blue around (like holo theme). Previous version has tabs non-transparent with grey backround.
[Desire HD Android Development] Sybregunne:
Yup but It'snot transparent I removed the gradient to have the look of holo theme.
[Desire HD Android Development] pradeepd:
This question is nothing to compare anyone. But I want to know for knowledge.

What is the difference.between virtuous oc and Andrew oc.

Any difference between on the way the daemon is implemented.
[Desire HD Android Development] zla.mas:
4.3.1. - no FC when disabling log at startup, only remained menu > settings not working
[Desire HD Android Development] Sybregunne:
The differrnce I see is that virtuous oc size is smaller. doesn't Log anything anymore as far as I can tell and that I didn't code it. Function wise I am not really sure. Until I test this new version I am making.
[Desire HD Android Development] lateral18:
Are you writing a new andrev OC or a new app or both, ??

I've always wonder about that question, what are the difference between the two files , if it doesn't log , that will mean virtous OC is kind of more battery friendly?
[Desire HD Android Development] Sybregunne:
Well that's up to preference really. Some people like the logs.

I am contemplating changing andrev oc to use a single config file instead of 6. But it will add to the overhead when starting the daemon. But it actually will perform the same when it enters daemon mode. With this It's easier to add governor tweaks at startup. Although I'm thinking to use scripts too instead of a binary:confused:
[Desire HD Android Development] lateral18:
Scripts work , that is how I got the changes , with root explorer they can be edited . I had to do that a few times ... Lol

With the info you gave me I can tweak smartass ass , except for two parameters , there still something with ondemandx , the battery is not as stable as I would like .
[Desire HD Android Development] 0ndr4:
IO schedulers in version 4.3.2 shows up properly. But I am a little bit confused why are there two choice items - mmcblk0 and mmcblk1 (normally its enough to change scheduler in mmcblk0 folder) ?
[Desire HD Android Development] Sybregunne:
Edit:

Mmcblk0 and mmcblk1 are different devices, 0 being internal and one external. Some devices would list more than 2.

End edit:

Most scripts I see loops through /sys/block/ and echoes the new ioscheduler to each devices' queue/scheduler file.

My app attempts to filter this behaviour to list only block devices whose scheduler is not none.

In the list if you change value and uncheck apply globally, it will set scheduler for that particular block only.

I don't know if this has benefits or not. Or if it is advisable. All I know is it can have different values.

So if there are experts out there who can enlighten me. Just post here or pm me.
[Desire HD Android Development] lateral18:
The new version is working for me too , but is weird it only shows one scheduler, is nooo , I thought there was more , well a least for this kernel , is that normal ??
[Desire HD Android Development] Sybregunne:
To verify, open /sys/block/mmcblk0/queue/scheduler this will show you all schedulers.

The one inside the square brackets is active. If there are other scheds aside from noop tell me.

Did you try to press the noop to see the dropdown? I realize that using holo theme makes spinners appear as common text. :D

Edit:

Just checked your screenshots from the other thread and saw that only noop is present. :D
[Desire HD Android Development] lateral18:
Yes I only have one ,

That is weird ..

But now we now the app is working ,

:)

I did press the drop down menu , it only shows nip
[Desire HD Android Development] coolpixs4:
Do we possible to manually set frequency that are not listed in the kernel freq. table by editing the file wake_max_freq.txt in system/etc/andrev_oc ?

For example, I use Sabsa Prime v8.5 with kernel version of beatsmode v1.5...and the frequency table shows that it has only 1.024GHz and 1.2GHz.

Can I manually set at 1.15GHz (1152000) - the frequency not listed in the table ?

Thanks

Reference from mike1986:
[Desire HD Android Development] poondog:
Pretty sure you have to have that frequency enabled in the kernel when you build it. If you manually set it at 1152000 in a script or something, it will cap the CPU at 1024mhz

That's my understanding :)

Sent from my Nexus 7
[Desire HD Android Development] Sybregunne:
That's true. Check in /sys/device/system/cpu/cpu0/cpufreq/scaling_available_frequencies for what frequencies are available for your setup.
[Desire HD Android Development] ShadowPony:
grats on making the news with Daemon Controller

http://www.xda-developers.com/android/daemon-controller-easier-cpu-tweaking-for-froyo-and-up/
[Desire HD Android Development] Sybregunne:
Thanks, didn't even know about this. :D makes it more worthwhile doing apps.
[Desire HD Android Development] Blackrose666:
Well deserved recognition for an excellent app :thumbup:
[Desire HD Android Development] Muikkuman:
Deleted
[Desire HD Android Development] Taurdas:
can i use it on saga?
[Desire HD Android Development] Sybregunne:
Yes. Check with your Rom dev or kernel dev if they support init.d scripts. If not you will have to start andrev_oc manually.
[Desire HD Android Development] Toncino:
I do have a problem with ARHD 7.1 on HTC Desire HD. Every time I restart the mobile, Daemon Controller will load the standard settings. I tried to wipe both caches and reboot again and again but can't fix this. Any suggestion on how to fix this?

The problem is that ARHD has freq set up to 2GHz... so what happens is that every time you reboot it will reset to 2GHz maximum speed... and as you can guess this is no good... is there any way to force the settings?
[Desire HD Android Development] ShadowPony:
flash the 1GHz script in ARHD thread, should make the CPU stick to 1GHz
[Desire HD Android Development] callmemycool:
Hi Sybregunne,

First of all – great job with OC Daemon Controller! Thank you!

Second of all... Just got back to ARHD 6.4. Everything is cool and nice except for one thing – O/C Daemon Controller (4.3.2 beta1). I've chose to install it during the main installation though Aroma Installer. Next (after few reboots when all things and apps were set up) I choose my settings (wake&sleep governor, freqs, voltages) – all works... untill reboot. After reboot I have to set all these things again. O/C Daemon Controller loses settings (it keeps them like temporarily). There are proper files in init.d folder. I didn't have such issues with ARHD 6.3.3 and older OC Controller (3.3 beta 3, I guess). The question is: how to resolve this?

And yes, I did FULL WIPE three times (script and all wipes from recovery). I restored (MyBackup Pro) only text messages, MMSs, alarms and playlists. After clean install I also installed latest Busybox (1.20 something ) – MyBackup Pro requires this.

Thanks in advance for your help!
[Desire HD Android Development] cingolat:
I have the same rom and I solved installing 4.0 rc8 instead of 4.3.2 beta 1.......
[Desire HD Android Development] bestfil:
Hello!

Is there any way to restore default frequencies via fastboot command?

I use cm10.1 4.2.2 by Mustaavalkosta. In this rom there is built in app to set frequencies, but the only available for me is 1,2 GHz. Any bigger frequency causes system halt.

I wanted to check it with other app, so I chose this one. But there is no option to change the frequency only until restart, so the new value has been set permanently. Is there any way to change max cpu speed manually?
[Desire HD Android Development] Sybregunne:
Use a root explorer delete /etc/init.d/83oc you should be fine then. Worstcase reintall rom without wipe.
[Desire HD Android Development] baltazar.nilsson:
Doesn't that one use virtuous oc??

Otherwise, I think this is for all rom's on DHD.. he made it to work on ARHD so it should work..

Sent fast & perfect from my MIUI blazed Desire HD using Tapatalk
[Desire HD Android Development] cjoliver:
Hi Sybregunne.

Good work on the daemon. Just wanted to let you know that my app OC/UV Beater2 now supports andrev_OC.

Cheers
[Desire HD Android Development] IN-Freak:
No it doesnt use virtuous oc ...

Thats why i ask ;)
[Desire HD Android Development] DominatingSystem:
Wow...its works like a charm..

i use MIUI 1.8.19 on my DHD and i installed on the manual way...

Thanks so much, now is my ROM perfect. :D
[Desire HD Android Development] socksfelloff:
Just wanted to say I love your work on my DHD.

after having issues on my transformer i decided to try daemon using your auto installer apk.

PERFECT. It now runs amazing at the full 1.6ghz! with setcpu i could only do 1.2 stable and 1.4 with nofrills.

running daemon i have no lag at all upon pressing the power button for the lock screen to show.

great work:D
[Desire HD Android Development] Sybregunne:
For testing u can use terminal emulator. Type logcat ¦ grep andrev_oc

The pipe symbol "¦" can be printed by holding volume up and pressing L.

At this point toggle the power button on/off whent its on you should be able to see some messages.

Stop testing by pressing volume down C. Then you can exit terminal emulator normally.

Thanks to all of you using this app. And for the conztructive criticisms.
[Desire HD Android Development] g3ismeee:
I'm glad I came across this. I'll use it.
[Desire HD Android Development] Sybregunne:
No problem. will put that in the first post too. :)

appreciate the feedback mate.

Nice work on OC/UV Beater mate. I use it to undervolt. but I use my app to switch frequencies... what can I say love your own right.
[Desire HD Android Development] MarcoG::
it works for me with OC/UV Beater2 v1.3
[Desire HD Android Development] Sybregunne:
It should mate. Dont forget to thank cjoliver who wrote oc/uv beater2.
[Desire HD Android Development] :
Hi Sybregunne

i want use you oc_daemon on my rom but i have a little problem (i think)

i have manualy put all files on init.d (83oc) and your folder directory in system/etc with my setting values

all see good and the phone is smooth

i have put daemon controller and all is good to....but when i make a benchmark (quadrant advanced for exemple) i have bad result on the processor.....i think my phone look OC but not in reality...

how can i look if is realy OC? sorry for my stupid question but when i use set cpu (with my old rom and no OC_daemon) this result on processor bench is verry bigger..:cool:

peraps i have lose a file...

ps: when i mod setting with daemon controler all see good and i have the good confirmation text on reload files andrev_oc daemon
[Desire HD Android Development] Sybregunne:
These will depend on your settings. the controller will only help you to set things up. The daemon will allow you two profiles wake and sleep this is to help in battery saving by setting lower frequency limits on the sleep profile. If you want higher benchmarks set it to performance and for dhd about 1.6 ghz in both the wake and sleep profiles. Take note that most people report no noticeable improvements beyond 1.4ghz. then do the quadrant test. This should do the trick :D

Don't forget to change back settings or your device's battery won't last a day.
[Desire HD Android Development] :
ok i look but same result on performance...

i test and i make a result after ;)
[Desire HD Android Development] Sybregunne:
Thanks for the info. Keep me posted. :d
[Desire HD Android Development] hopscotchjunkie:
This works great with RCMix3D 234 v2.5 (using Unity kernel v5). The apk installer didn't work (didn't download anything as per the warning in the OP) but manually setting it up worked fine.

Just for info, there's a couple of typos/inconsistencies in the instructions; minor stuff, nothing catastrophic.

*The all-in-one zip file doesn't contain the 83oc script (the init.d folder is empty).
*the second root command is incorrect; it either needs to read 83oc or the downloadable script needs renaming to 83aroc.
*the file path for setting wake_gov should be /etc/andrev_oc/

Just trying to save you from people who don't notice complaining that it doesn't work ;)

//Sent from my Desire HD using Tapatalk; all errors entirely intentional.
[Desire HD Android Development] DubelBoom:
what will be the difference between beta2 and beta3?

does it matters if i will install now beta2? i will take the risk of flashing rom again...

EDIT:

i installed beta2, it said it has been flashed sucssesfuly!

now in testing ;)
[Desire HD Android Development] Sybregunne:
thanks for pointing that out mate. I have re-uploaded the zip file.

the beta2 here is only for the installer. I've been dealing with some personal matters right now and haven't really started coding the beta3 installer.

will update this thread as soon as I can. thanks for trying this out.
[Desire HD Android Development] michelD:
Hi Sybregunne,

Following your suggestion, I post here and no longer in the post concerning OC/UV Beater2 about the problem of the andrev of deamon that does not restart after a reboot.

If I do logcat | grep andrev_oc after a reboot, I get nothing, but if I do that after restarting via the OC/UV Beater2 app. I get the following:

export PATH=/data/local/bin:$PATH:.
# export PATH=/data/local/bin:$PATH:.
# logcat | grep andrev_oc
D/OCUVBeater2( 2954): run_Commands(busybox mount | busybox grep "/system/etc/ans
D/OCUVBeater2( 2954): getPID(/system/xbin/andrev_oc) success
D/OCUVBeater2( 2954): run_Commands(busybox mount | busybox grep "/system/etc/ans
D/OCUVBeater2( 2954): getPID(/system/xbin/andrev_oc) success
D/OCUVBeater2( 2954): run_Commands(busybox mount | busybox grep "/system/etc/an
D/OCUVBeater2( 2954): busybox umount /system/etc/andrev_oc
D/OCUVBeater2( 2954): done ; busybox mount | busybox grep "/system/etc/andrev_s
D/OCUVBeater2( 2954): run_Commands(busybox mount -t tmpfs tmpfs /system/etc/ands
D/OCUVBeater2( 2954): run_Commands(busybox cp /data/data/za.co.cjoliver.ocuvbeas
D/OCUVBeater2( 2954): run_Commands(busybox chmod -R 777 /system/etc/andrev_oc ;s
D/OCUVBeater2( 2954): getPID(/system/xbin/andrev_oc) success
I/andrev_oc( 3347): Reading configuration files...
I/andrev_oc( 3347): Configuration files successfully loaded.
I/andrev_oc( 3347): andrev_oc was granted root permissions.
I/andrev_oc( 3347): Entering daemon mode.
D/OCUVBeater2( 2954): run_Commands(/system/xbin/andrev_oc ; echo $?) success
I/andrev_oc( 3348): Checking device screen status...
D/OCUVBeater2( 2954): run_Commands(busybox mount | busybox grep "/system/etc/ans
D/OCUVBeater2( 2954): getPID(/system/xbin/andrev_oc) success

Thanks for your support.

NB: I made a complete reinstall, but I have excactly the same result: the andrev_oc deamon do not restart automatically after a reboot.

I am on NB3170 + LorDMod kernel UE 6.9.2 CFS
[Desire HD Android Development] :
Just letting you know this doesnt work with rcmix saga 2.3.5
[Desire HD Android Development] Sybregunne:
I will try to find other ways to load it then does it stay on once it is loaded?
[Desire HD Android Development] Sybregunne:
Can you give me details?
[Desire HD Android Development] michelD:
Yes no problem, when loaded "manually" via OC/UV Beater2 or your deamon controller, everything goes fine.

Thanks again for your support.
[Desire HD Android Development] :
I dnt have any logs i can provide but, i set it max frequency to a very low frequency and it didnt slow down android os, probably different as its android 2.3.5 and not 2.3.3
[Desire HD Android Development] Sybregunne:
Install terminal emulator. Then type pidoc andrev_oc

If it returns you a number that means andrev_oc is running

Next after setting your frequency type cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_freq it should return you a frequency between the min and max that you set.
[Desire HD Android Development] inzaghi75:
I have test it yesterday on Saga and Andrev_OC works. And Virtuous OC works too. But by me works only if i do it manualy not the apk.

You can see it with the Widget Temp+CPU V2.
[Desire HD Android Development] :
I'll definitely try that, once i get my dhd back up and running, can you please provide me with an empty update.zip? I need to restore a file, was messing with a file without backing up system partition, silly me
[Desire HD Android Development] :
Definitely doesnt work, i manually set the cpu frequency to very low on sys/devices etc and phone slows down so somethings not right, think it could be your elf file
[Desire HD Android Development] :
Set ur frequency very low, n check if sense stutters or not, n if frequency has been changed in sys/devices/ etc
[Desire HD Android Development] Doo Doo:
when i type any of these in terminal emulator it doesn't work

so how can i tell if its really working?
[Desire HD Android Development] :
As far as i can tell its not working for saga 2.3.5 rcmix rom, one way to test is set the max frequency very low like. 200 to 300 mhz n see if android/sense stutters
[Desire HD Android Development] Doo Doo:
yeah i set it to the lowest setting & sense did stutter so i guess it is working like its suppose to

thanks for the info :D
[Desire HD Android Development] :
Thats so weird, didnt work for me lol ill wait till next release n try that see if that works for me
[Desire HD Android Development] inzaghi75:
Yes for me it works. I have set 230mhz min and max. And in sys/devices etc. I have scalling max freq. 230mhz. And my phone stutters.

And I can see it on my app Temp+CPU V2.
[Desire HD Android Development] Doo Doo:
yeah that is weird :confused: maybe the dev can help you out with your problem

the only thing that i can't get to work is the terminal emulator commands to test andrev_oc
[Desire HD Android Development] NiarkMAN:
Seems to work great on my MIUI rom. Thanks a lot!
[Desire HD Android Development] foobar66:
Great. After removing setCPU have been running this for a few days now and so far, no probs. Very fast. One small issue is that after boot sleep frequency is set (not the wake frequency). But if you then go to the lockscreen and back wake frequency is set OK.

Thanks! Could you publish the source code?
[Desire HD Android Development] becoolboy:
Hi,

Is there a way to disable sleep profile? I am using LordMod 6.9.2 on Mr Garak's weekly MIUI. Lord's kernel has modified governors with built-in sleep profile and they seem to clash with OC daemons.

In an attmept to modify the values manually, I have tried manually deleting the text in 'sleep_governor' in system/etc/andrev OC. It didnt seem to work and even worse, OC daemon has stopped working. Had to reflash the ROM to get it back.

So my question is, is there any way to disable your sleep profile easily through your daemon. Besides that, its a great piece of work.

Cheers
[Desire HD Android Development] Sybregunne:
Thanks for pointing this out. I checked my code again and truly the problem is the wake_gov. I will get to this as soon as I can. I have a job interview later. :D
[Desire HD Android Development] Sybregunne:
I noticed too. I will correct this and post by tomorrow.

You can set the sleep profile and wake profile to the same values. :)
[Desire HD Android Development] becoolboy:
Tried it. Battery drain still seems to persist. I had no problem using no.frill. But as soon as I overclock with your daemon, battery monitor shows more than 30 mAh while in deep sleep. Just in case your curious, I use cpustats to measure my deep sleep time.

I still think sleep profile clashes with wake.
[Desire HD Android Development] DominatingSystem:
Is that normal..

i use MIUI 1.8.26 and when i use the Deamon Controller, the Changes will only be saved if i go to standby and wakeup..or Reboot.

Is this a Bug ?

and by the way..the app Version Information dont match with 2.11..it show 2.10 (3x installed..everytime shows 2.10)
[Desire HD Android Development] Sybregunne:
Just got hired mate. allow me a few days or so I will continue this project :D

Just a quick fix.... as I suspect it is the installer not working correctly.

kindly check your /etc/andrev_oc/sleep_gov file's content. It might contain non-governor settings wich causes the daemon to terminate. quick fix replace the contents to conservative or other governors.

I will fix this as soon as I blend in to my new work environment. wherein I can code apps while working. :D
[Desire HD Android Development] DominatingSystem:
No Problem, and good luck for your new work ;)

But the "Quick Fix" doesnt work for me.

The file /etc/andrev_oc/sleep_gov contain the governor "conservative"
[Desire HD Android Development] foobar66:
Suggestion: add a command line arg "--version" so that we can check which version we are running ;-) thanks !
[Desire HD Android Development] inzaghi75:
Can I use it on CM7?
[Desire HD Android Development] SmokeyMcBong:
hiya buddy, thanks for such an amazing tool m8, been adding to it to quite a few roms and have encountered zero problems so far m8 :) the installer is a bit hit or miss for me but doing things manually is the way i always prefer ;)

and thats great news about the new job m8!! :) hope you settle in quickly m8 :)

thanks again m8,

take care buddy :)
[Desire HD Android Development] rebelrainy:
i cant use it on sense3.5 rom .

--!
[Desire HD Android Development] SmokeyMcBong:
hi m8, which sense 3.5 rom are you trying to use Andrev_oc with? im currently running RCMix bliss 3.5 with no probs at all :)

have you manually copied the files across or used the beta installer app m8?

...also what app are you using to try to change the values? Daemon Controller or OC/UV Beater m8?