yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Sybregunne:
ShadowPony, I have added the code to remove those extra frequencies that are not supposed to be touched.

http://bit.ly/WODeIS <--- also available as auto updates...

First of all thanks for testing Blackrose. can you tell me what you mean when you say settings? when you change the uv settings the app will enable the apply and reset buttons, that check box there is for those who want to change settings for a per frequency basis. Some people (like me) only change the voltage of the frequency we use. and experiment on what works best for us. when you click apply it writes the init script and undervolts the device. The script you can find under the /etc/init.d/84uv it is supposed to undervolt the device based on your settings when you start the device.

As for bootloops prevention. the script will count around 2 mins before creating a file that flags your settings as stable. otherwise if your device hangs or reboots the script will abort before undervolting your device.

I did this to eliminate having to create apply script buttons. lol (I'm lazy you know.)

anyway if you want to try if undervolt works just do a global -250 -> apply. your device should be slow as hell if not frozen. and to make sure it freezes apply another -250 :D then either do a battery pull or a force reboot. :D

If all goes well I will add the finishing touches and release the rc as version 4.1

also I would like everybody's opinion: right now I packaged andrev_oc inside the apk adding to its size. Would anybody like for me to install from internet instead?
[Desire HD Android Development] Wacco001:
Tested with RC3, no FC'es this time ... :)
[Desire HD Android Development] Sybregunne:
Phew... Thx for confirming. :)

Now I can focus on adding features.
[Desire HD Android Development] Blackrose666:
When I press the menu button on the Incredible S a settings option pops up(see attached screenshot) if I click on this setting option the pop up the menu just closes.

Might be something with the Incredible S, a couple of time I was able to get the UV values to stick on reboot, but after a subsequent reboot they would reset to default.

I have UV -100 so far with no problems, might try reduce a little further.

The size seems ok, but whatever you think is the easiest solution should be fine.

Updated to rc3 now every time I reboot the Andrev daemon is stopped, if I adjust settings in daemon controller it becomes active but is not active again once the phone is rebooted.

I have to go out for now so will test again later.
[Desire HD Android Development] lateral18:
rc-3

The app is working great, the only thing is that the u/v settings won't stick after a reboot .

Now that the app is stable , are we going to have the option to choose between andrev oc and virtous oc .

Other than that everything is working.

One more question,

If coming from a early version, 3.3. Now with this one. Do I need to download andrev oc to the xbin from the app .??
[Desire HD Android Development] Sybregunne:
If you have virtuous oc installed the switch daemon button will be enabled. Its there since rc2. For info you can go to options what's new. :D cheers...

I cannot add virtuous oc as i didn't create it... this is to prevent misunderstandings.

Edit:

There is a newer andrev_oc there with the rc2.

I added the ability to detect if cores are disabled and ignore it as opposed to the old version that would exit if it cannot write the disabled cores' fequency and governor settings.
[Desire HD Android Development] Blackrose666:
It seems the app it changing the 83oc script whenever I change the settings in the 'O/C D' tab.

It changes the last lines from.

'fi

/system/xbin/andrev_oc'

to

'fi

./system/xbin/andrev_oc'

This change in the script seems to be what is stopping the daemon from being active once I reboot the phone.

If I delete the modified script and place the original 83oc script in the system/etc/init.d directory it will then start ok.

I went back to rc2 as I didn't test it out much last night and does the same if after I have set it up, if I change the settings in the O/C D tab it makes the above changes to the 83oc script file.
[Desire HD Android Development] ShadowPony:
the "Switch Daemon" works, and it seems like it remembers the O/C values per daemon

the not needed frequencies are no longer available

I am not sure what the default U/V values are for my kernel, I had +25mV for all frequencies done with 3.3 beta 3 and now I don't know if the values I had are the ones before the upgrade of DC or default ones

also I had a weird issue with upgrading from rc2 to rc3

I started rc2, it detected the new rc3, but it hanged at detecting if rc3 is already d/l

closed the log, checked again for updates and it hanged at deleting rc3 apk

looked in download folder, the apk was 0 bytes

after I manually deleted it and opened rc2, it detected and installed rc3 correctly
[Desire HD Android Development] Sybregunne:
Took a while to find this bug. But it was rather easy to solve.

DaemonController-4.0-rc4.apk -> this is also available as auto update.

Also in this update i fixed the init script not running the oc daemons at startup.

Very near in function to 3.3-beta3 but a lot faster. :D
[Desire HD Android Development] The Specimen:
I updated Daemon Controller from 3.3 beta 2 to 4.0 rc4 but when I reboot the phone it keeps reverting back to the 3.3 beta... why does this keep happening?

I'm using ARHD 7.0.4
[Desire HD Android Development] Sybregunne:
I think its the signature. I may have used a different signature to sign the apk. Remove 3.3 manually first you can use a file explorer to just delete it from /system/app or use titanium backup.
[Desire HD Android Development] The Specimen:
Thanks, that worked.
[Desire HD Android Development] lateral18:
little bug

The app is been working great. But there is something , I came across the other day,

I don't think andrev oc settings are working at all for me ,.

I was snooping around in the CPU monitoring app I have. I went go cpu details it gave me two different frequencies reads , than the oc daemon I have , then I went to the app, look at the frequencies settings , those were the values the monitoring app were showing me , I switch them , , so did the values in the app. The battery in the phone got better cuz I change the governor from ondeman to smartass 2 . Then I applied new setting to the oc daemon. But the app didn't show me those values ,

Hopefully I didnt lose anybody.

By the way, with the voltage values. I lowered them by 25 , they work great , still don't stick after reboots but wow they do work. Thanks for that
[Desire HD Android Development] Sybregunne:
That's a bug of the daemon where you have to close the screen for the changes to take effect. I will fix that in the next andrev_oc version. :D
[Desire HD Android Development] ShadowPony:
been meaning to say this but forgot, not really that important, but meh, let's put it out here:

not sure I like the transparency for the app, it creates a visual discomfort for me seeing my apps in the BG

I would suggest an option to disable the transparency

but again, this is a little "wish" and first we need a stable platform (it is stable as far as I can tell)

PS:

another point I just found: when switching daemons, the apply and reset buttons do not active and have to swipe down first
[Desire HD Android Development] Sybregunne:
Okay will check on this. :D

in the meantime...

Just uploaded rc7 it fixes init scripts (hopefully for good) and applies the changes directly to cpufreq without having to turn off then on the screen for changes to reflect. http://bit.ly/T4fMsy
[Desire HD Android Development] ShadowPony:
confirm that settings stick w/o screen off/on

confirm that U/V setting do not stick after restart

and one curious fact (for me at least): my current max freq after restart is always 1.075 GHz and it is the freq from cpufreq tab, which tells me that the daemon is not started, but the log says it found the PID for the daemon
[Desire HD Android Development] lateral18:
Now the settings are sticking with no problem.

.what shadowpony, also happens to me. That is concerning the values of the CPUfreq tab after reboot .

In another note I do like the transparency of the app, well some of the background I have is black it looks nice .
[Desire HD Android Development] ferencz1:
In DaemonController-4.0-rc7.apk on Htc Desire app just crashes. All fields are blank and when swiping from left to right it crashes, canot access UV and options :(
[Desire HD Android Development] Sybregunne:
Hmmm. For options part check if you press the options tab that it would go to options. And if you know how to attach a logcat it would be most helpful.
[Desire HD Android Development] ferencz1:
Hi,

here it is and I really hope it will help.

When I click options tab, nothing happens, it just stays at O/C D tab :/

Thank you
[Desire HD Android Development] Sybregunne:
Thanks for that. Can you verify one thing? Is your uv file...

/sys/devices/system/cpu/cpu0/cpufreq/frequency_voltage_table

I seem to have forgotten to implement this variant of undervolting, if so echoing voltages to this file in the order of the available frequency should work right?

Spoiler content hidden.

---- EDIT ----

Since there were no feedback i flashed a different kernel one that would help me test. Anyway the attached should work for two different methods of undervolting... one has something to do with writing how much to change(UV_mV_table combined with frequency_voltage_table) the value and the other by writing the value itself(vdd_levels).
[Desire HD Android Development] ferencz1:
Hi, sry I was at school. Now I'll test the app and give you feedback ;)

edit:

Still the same issue, all fields are blank and I can't swipe after cpufreq to U/V.

With v3.3 all works ok, I have governors and freqs
[Desire HD Android Development] Sybregunne:
No problem. Will check on the issue some more. It seems you have a different way to undervolt. Different from what i knowat least.

If you have time can you send me these files...

/sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table

/sys/devices/system/cpu/cpu0/cpufreq/frequency_voltage_table

/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

Some files might not be present in your system...
[Desire HD Android Development] Sybregunne:
I have uploaded a new version.

Spoiler content hidden.

also my dns host (free one) smartdots is doing maintenance so the site http://sybregunne.net.tc/daemoncontroller/addver.php might not work...

go to http://sybregunne.co.cc/daemoncontroller/addver.php instead...
[Desire HD Android Development] ferencz1:
Hi,

I only have vdd_levels (in att)
[Desire HD Android Development] appelsson:
Dear Developer:

Feature request: I like OC/UV beater's temporary/permanent choice feature for OC and UV. It's very useful to find the edges. Could you implement this?
[Desire HD Android Development] Sybregunne:
Now that's odd. All the while i was looking at uv as the culprit. But it seems that is not the case here. Will check into it again.

Edit:

Can you check your available frequencies if it also contains 26 different frequencies?
[Desire HD Android Development] ferencz1:
Now I'm using v3.1 and there I have 26 different freqs, checked twice ;)
[Desire HD Android Development] Sybregunne:
I am still not able to reproduce the errors you are encountering.

I made another update though. check out the thread I created here.
[Desire HD Android Development] Sybregunne:
Many might be wondering why auto-updates are not working...

my free dns provider smartdots.com (.net.tc domain) has gone into maintenance mode since last friday. currently it is still under maintenance so I don't know if it will ever resume service. So I am back to using sybregunne.co.cc I believe that google has stopped labeling all sites in that domain as spyware or viral sites. my site only outs a string for the app update purpose. and a small blog-like thing I have made and haven't updated for some time. :D

to get a link of the latest update...

http://sybregunne.co.cc/daemoncontroller/checkver.php

for a list of all versions...

http://sybregunne.co.cc/daemoncontroller/addver.php

(this is a typo as it should have been allver but It's setup now. so no need to change.)
[Desire HD Android Development] ferencz1:
ok, I'll try and give feedback ;)
[Desire HD Android Development] Blackrose666:
Hi was just adjusting some settings in the Daemon controller app and if I disabled the show log screen on start-up option I can not reopen the app once I have closed it, I get a error message 'unfortunately DaemonController has stopped' I tried several times and it won't open.

I deleted the app data in the settings and it's all good again, so it's not a major issue as it's not a problem to have the log screen show at start-up.

I never tried turning off the show log screen on start-up option with previous versions of the app so can't say if it did it with earlier versions or not, I'm currently using rc9 and everything else is working great :good:
[Desire HD Android Development] ShadowPony:
mmm.... since rc8 or 9 (maybe previous versions) the daemon sticks after reboot

haven't tried the VDD yet, will let you know
[Desire HD Android Development] Sybregunne:
Yup clearing data should make the app work. Try again. But you would have to wait till the spinners populate before youcan use the app. I will probably display a loading dialog to prevent this.
[Desire HD Android Development] Sybregunne:
Nice to know. :)
[Desire HD Android Development] ShadowPony:
followup

Voltages still do not stick after reboot :/
[Desire HD Android Development] Sybregunne:
I removed debug messages and printerrors to have as small a file as ever. Currently it will log only read file errors. It wont put anything else to the logs want it to have log outputs?
[Desire HD Android Development] baltazar.nilsson:
I would, if it´s not to much hassel.. Can I edit something myself to change it??
[Desire HD Android Development] Sybregunne:
I will add the logs back in again then.
[Desire HD Android Development] baltazar.nilsson:
Okey, that would be great. How do I get that when it´s done??

Just run the andrev_oc app again??
[Desire HD Android Development] Sybregunne:
I just might make another installer. :D
[Desire HD Android Development] baltazar.nilsson:
Ok, thanxs. But it seem´s to work just great. On MIUI..

EDIT: So you see, I knew I did the right thing donating to you :D
[Desire HD Android Development] fizzy15:
Works on miui by mrgarak.. Thanks
[Desire HD Android Development] baltazar.nilsson:
Hi Mate, how´s it comming along?? Where you able to do one with the logcat feat??

Cheers mate...
[Desire HD Android Development] tristan202:
The Daemon Controller doesn't work for me, as I don't have the scaling_available_frequencies file. I have managed to get it to work by editing the smali code to get it to look at /system/etc/andrev_oc/freqs instead. But there must be an easier way. I haven't figured out why my rom doesn't create the file at /sys/*

EDIT: Of course I have created the file manually, and pushed it to /system/etc/andrev_oc. Forgot to mention that.

EDIT2: Just found out that my kernel doesn't support it. (http://xdaforums.com/showthread.php?p=16800722#post16800722)
[Desire HD Android Development] Sybregunne:
Maybe u can try a different kernel. Can you also tell me what rom u are using?
[Desire HD Android Development] LorD ClockaN:
what I can see he has a Desire, not Desire HD

well, atleast the posted link goes to Desire forum
[Desire HD Android Development] Sybregunne:
Its done already but my internet is not working right now. I don't have a windows box to plug my dhd to share data connection. I will get to it later.

Edit: uploaded just got my net back. :)
[Desire HD Android Development] tristan202:
I am running one of the Gingerbread Sense roms for the Desire. Unfortunally there only exists one kernel for them, and it's a patched closed-source kernel. HTC hasn't released the source for it yet. So until they do, I guess I have to use my solution. It works perfectly though. Just had to use 10 minutes to edit the smali code.
[Desire HD Android Development] Sybregunne:
Now I see. :D

Thanks mate.
[Desire HD Android Development] BumAround:
Currently testing it on SCI_MIUI_1.8.19_v1.0 and Rey-619's MIUI_1.8.12_v26, both with LordMod's UE v6.9.1_CFS_2WCR, doesn't seem to work. :(

Downloaded and installed both the apk's (on the first post and the second post for Daemon Controller app since the first apk didn't install the second apk, or I couldn't find it anywhere in my SD card).

Any help please?
[Desire HD Android Development] baltazar.nilsson:
If it installed okey the deamon apk should be in root folder of sdcard. Maybe try running the install apk again. I'm using it on MIUI.US 1.8.19 and it works great..

So it should work on those rom's to. Only thing I can think of is to re-install and see if it works. Ohh and you might have to reboot the first time...

Sent fast & perfect from my MIUI blazed Desire HD using Tapatalk
[Desire HD Android Development] BumAround:
Thanks, I just downloaded the Daemon Controller v2.11 and installed OK. However, I don't think it works on SCI MIUI 1.8.19 v1, or maybe I did something wrong somehow. CPU Stats doesn't detect any freq change that I applied via Daemon Controller. ;)
[Desire HD Android Development] baltazar.nilsson:
Did you try re-installing the whole shebang :)

Try re-installing Andrev o/c and the deamon tool and then reboot.

You can also check in system/etc if the andrev oc folder is there...

Sent fast & perfect from my MIUI blazed Desire HD using Tapatalk
[Desire HD Android Development] IN-Freak:
Does it works with RCmix3d 234?
[Desire HD Android Development] lateral18:
The VVD levels were sticking after reboot in rc8 , but rc 9 reseted them to default. I lowered them 50 mV . The phone is working great now ,, but I havent reboot the phone ,

Also a while ago disabling the log start screen, made the app force close , had to unstilled go back to previews version and it worked .

Also I have a question , the scripts for the governors (they go in the init.d folder)., can they be use while having the app . Most of what I've read says to remove any OC app

After reboot the VVD do stick **
[Desire HD Android Development] Sybregunne:
So now you're using rc8? This app doesn't use system services. It merely edits files that are already in the system to oc and uv. The only thing it adds are the init.d scripts and the oc daemon and its config files in /etc/andrev_oc. Some roms and kernels have intensive cpu tweaks like what I encountered with dorimanx and siyah kernel on a galaxy s 2 Rom.
[Desire HD Android Development] lateral18:
Rc 9

, there is the possibility to tune the governors using scripts from the init.d folder , the app won't be affect it , that is great,
[Desire HD Android Development] Sybregunne:
I plan to add support for more tweaking governors in the near future. I'm just ironing out some small bugs here and there. Except most of the 331 downloaders of this app don't care to inform me of problems they encounter. So its really slow going.
[Desire HD Android Development] lateral18:
I didn't get theast part. But that sounds great,

I asked about the tweaking the governors , one of my friends pass me this script. Is simple only has three lines , bit the phone got smoother , is amazing. I know there are also lines to improve the power bias and more , I'm learning how to apply it to the sleep governor , I did it to the wake governor .

I'll wait and do some more research

Like I said before the VVD levels and oc daemon are sticking after reboot. I haven't encounter any force closeures ,

Thanks
[Desire HD Android Development] Muikkuman:
Well I haven't encountered any bugs as of yet
[Desire HD Android Development] 0ndr4:
Using newest RC9 and I see no bugs (few previous RCs was fine too). Running on ARHD 4 (ICS).

Tuning governors and changing I/O schedulers will be great if you add it somewhere in the future...
[Desire HD Android Development] Sybregunne:
That's the plan
[Desire HD Android Development] 0ndr4:
Version 4.1 looks even better... when the app environment is simple like that. No bugs at my side.
[Desire HD Android Development] Sybregunne:
I did find some complications in code. It's when there is no oc daemon present the whole scaling tab gets disabled.

Will push an update as soon as I iron out some small problems I might even have to restart the app when installing andrev_oc.
[Desire HD Android Development] pradeepd:
4.1 download gives a 404
[Desire HD Android Development] Sybregunne:
Just tried. It's working.

Try again maybe the server was doing maintennance. :D
[Desire HD Android Development] ShadowPony:
I also installed it, no 404 seen

maybe you are blocking the site from where you are downloading (not you, maybe an add-blocker)
[Desire HD Android Development] 0ndr4:
New version 4.2 - no problems...but when you used holo theme - which looks really great, it will look even better when you apply holo theme also on tabs.
[Desire HD Android Development] Sybregunne:
Yup I thought that too. But I still support group which is a problem for me. I'm thinking of having different layouts for froyo, gb, and ics. Will see how this goes. :D
[Desire HD Android Development] zla.mas:
I got FC on 4.2, but after clearing data everything is working great :D

EDIT: FC is caused by removing log on startup in options
[Desire HD Android Development] appelsson:
There is a small layout problem, seems "use oc daemon" truncated at the bottom.
[Desire HD Android Development] lateral18:
I can't find the option to apply the theme , in the newest update .

Something that I've came across , a least in the the current ROM/kernel the governors have different paths or directories , one is

/sys/devices/system/cpu/cpufreq/ondemandx

When I apply smartass or smartass2 is this one

/sys/devices/system/cpu/cpu0/cpufreq/smartass

/smartass2

While in any of the tabs , if i press menu , settings appears in the bottom , when press nothing happens

The UV levels are sticking after reboot , in the current version

Thanks
[Desire HD Android Development] Sybregunne:
The theme is set depending on your android version. I prefer the holo theme that started in gingerbread. If you're still using froyo

then the holo theme won't appear. But at least you can still use the app. :D

Regarding the paths you mentioned. I believe those are for extra tweaking of the governors. Are the frequencies and governors being set with your current rom/kernel? This info will be useful for when i apply the governor tweaks.

I am also planning to move the preferences to the menu -> options button. It doesn't do anything at the moment though.

I'll see what I can do about this. :D

Thanks for reporting this. Let me know if fcs occur again.
[Desire HD Android Development] lateral18:
The ROM is gingerbread , I didn't see the theme , the one screenshot I saw it looks cool,

Yup that is what I'm doing tweaking the governors, awake and sleep . So far it has work

The frequencies and governors set , the improvements is noticeable

About that there are few parameters I have no idea what they are the first one is

/sys/devices/system/cpu/cpufreq/ondemandx/sampling_rate_min the value is 10000

The other one is

/sys/devices/system/cpu/cpu0/cpufreq/smartass/sample_rate_jiffies the value there is 2

/sys/devices/system/cpu/cpu0/cpufreq/smartass/ down_rate_us the value is 2000

The down_rate_us I know is about time spent in a frequency, but I don't know what value to put ,

Thanks