yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Sybregunne:
Try this:

Install es file explorer and enable root explore then mount system r/w, then try to download andrev_oc again.

It seems most codes involved in root apps have changed in ics.

:eek:
[Desire HD Android Development] halfbytecode:
I tried that and it didn't work. I proceeded with the manual installation as stated in the first post and it finally worked.

I noticed the stock kernel does not have init.d support, so I'm just better off switching to AOSP soon I guess. Had to be done, but will have to do way earlier than I thought I would.

Thanks for your help man.
[Desire HD Android Development] Sybregunne:
Np.:D

:eek:
[Desire HD Android Development] EdinM30:
If you have a secondary overclock app like system tuner it will conflict with daemon i have been testing this for a week now, people that complained about sense restarts was due to system tuner and also when running benchmarks with daemon controller results are way better and the phone itself reacts faster opening and closing pages and apps then with system tuner
[Desire HD Android Development] fbauto1:
I'd like to see the c code. Since this is a daemon, it runs constantly to check screen status? Why not just hook an event to when the power button is pressed? Salamat po
[Desire HD Android Development] Sybregunne:
The daemon is faster. The values we manipulate to change frequencies are from the linux part of android. Using a daemon to manipulate these values are IMHO better. The c code basically checks a file which contains screen state then modify freq accordingly. Compare this to adding a service hook, and having to intercept onKey events for power key to be pressed now if I intercept that key, I would have simulate another keypress to throw it to the proper handler. Which means I would have lowered the value of frequency before the screen was actually off. Or something like that.

:eek:
[Desire HD Android Development] fbauto1:
Well I may have been wrong in the previous post. Checking for the power button event is inefficient because phone may sleep without the power button.

I am asking all these because I want to create this in a different way. But if all I am doing is repeating your algorithm, then it's just a waste. Since I am from the same country as your flag, I was expecting you'd give me hints :)

Basically, my idea is to not keep checking that file for screen status since your code may be just using timers to frequently check this file. Why not just receive that status since Android itself sends those "intents?" I can extend BroadcastReceiver which will then receive the screen status broadcasts without the time interval checks.

Seeing that my idea is Java based, and your is C, I am not sure which algo you are doing. So if you can tell me, I will appreciate it. I do not want to create something that has already been done.
[Desire HD Android Development] Sybregunne:
Actually there is no constant polling in my code its just a basic read.

The file I am reading is a special file. It stalls the daemon until the screen state changes.
[Desire HD Android Development] Sybregunne:
Daemon Controller 4.0 beta 2

It's been a while since I updated this apk. but rest assured this project is not dead.

I took the time off to learn more of Java and android as opposed to my previous style of just jumping in and coding my imagination then browsing the net for help whenever things don't go as I imagine them to be....

What I did was recode the whole thing (again?) so now I have done a working beta it doesn't have uv support for now...

doesn't create init script for now...

it doesn't disable the o/c daemon screen if no daemon (andrev_oc or virtuous_oc) is found

basically a stripped down version of version 3.3 beta 3 (last most stable although highly unstable at that)

so what's new you ask?

I have tested the UI layout time and again... closing, loading, then terminating in unprecedented ways to test stability. so far so good. so now I am asking the community to help me test this app... for stability nothing else... it even runs on my non rooted HOX... but won't be able to set any values....

without further ado...

I present to you DaemonControllerv4.0b2 (See attachment)

As always feedback is mostly appreciated...
[Desire HD Android Development] pradeepd:
Thanks for your work. I just tried on virtuous infinity beta1. The app loads and I see a black.screen for 30 seconds and then the screen shows up. Later every touch especially apply and change target takes about 40 seconds. Not sure if it's just me.
[Desire HD Android Development] Sybregunne:
Thanks for the feedback. When you run the app you can tap the screen to close the black log screen without waiting the full 30 seconds. I will add the ability to disable that screen in the coming days.

:eek:
[Desire HD Android Development] pradeepd:
I actually tried that too, but no response. I tried slapping it too :p

Thanks for looking into this :)
[Desire HD Android Development] signfinder:
+1

I have the same problem with the Daemon Controller 3.3 beta 3 app and 4.0beta2

You can ask a question, it is better to use the built-in virtuous_oc or andrey_oc with infinity?

And another question, I understand that the demon controls sleeping device or not? and if the governor has a sleep mode (demandx, interactivex), the oc_daemon, and in general it is not necessary?
[Desire HD Android Development] Sybregunne:
Can you be more specific?

That would be for you to say. Maybe virtuous_oc has had some changes...

Yes that is the idea. If you are using andrev oc use a terminal emulator and type...

su

logcat ¦ grep andrev_oc

Now toggle the screen on and off...

These cpufreq modules you are saying has the ability to check if the screen is off and tone down the frequencies. But when I tested the oc daemon settings prevails. The reason is simple: the governor is being changed on screen off.

I believe there should now be 2 daemon controllers in your app drawer. One is the 4.0 it should come first in the list.

Thanks for the interest.
[Desire HD Android Development] Grant2k:
4.0beta2 not regulate UV on Kernel 3.0.43-amidabuddha-7.1
[Desire HD Android Development] Muikkuman:
Nice a new version of my favorite OC tool :) great work.
[Desire HD Android Development] poondog:
Wohooo thanks :) I too thought it was the end, good to see its not

Using the new version and everything working except voltage as previously mentioned

Thanks

Sent from my HTC Incredible S
[Desire HD Android Development] signfinder:
I mean, I have the same problem as
[Desire HD Android Development] preacher65:
Just a thought - which version of superuser does your ROM have, ChainsDD's version or Chainfire's? I remember some problems with DC and Chainfire's SuperSU on ARHD a while back. Not sure if they still happen on the latest SuperSU, so this could be meaningless, but I think the temporary fix was to turn off logging in SuperSU.
[Desire HD Android Development] chrisz5z:
I've had the same problem as signfinder on every ics/jb rom I've flashed...with SuperSU and Superuser. Everything in the app works but it takes longer than it should when opening or applying changes. It never did this on any gingerbread rom

Sent from a satellite
[Desire HD Android Development] signfinder:
Chainfire supersu 0.96
[Desire HD Android Development] Sybregunne:
Just to be sure are you using the transparent background one? You night have downloaded the old version.

:eek:
[Desire HD Android Development] 0ndr4:
Same problem here. It tooks about 30 seconds to start the daemon app, also applying frequencies took long time too. I have used this Daemon on ARHD with Gingerbread and it was quicker... I have newest SuperSU too and on ARHD 3.0.0 with ICS only battery percent mod.

... and one more question:

I´ve downloaded your new version, but it shows it´s version 3.00 beta5. Comparing with screens you attached from version 4, there is no upper panel. Is it right?

Screen from new version attached...
[Desire HD Android Development] Sybregunne:
try to download the attachment from the post you quoted. it is an attachment not in my sig. coz the new version is still a pre-release candidate.
[Desire HD Android Development] chrisz5z:
The version was 3.3 beta2. I just tried the newest version that was attached a few pages back. It still hangs but is much quicker

Sent from a satellite
[Desire HD Android Development] 0ndr4:
I´ve downloaded it from attachment not from your sig. Anyway I will switch back to 3.3 and wait for some next release...
[Desire HD Android Development] Sybregunne:
DaemonControllerv4.0b03.apk

Can someone help me test if the cpufreq tab works. :D

thanks. :D

Here's beta 03...
[Desire HD Android Development] 0ndr4:
Wow, this new version works for me...no 30 seconds delay at startup!

Cpufreq tab works for me well - sets freq and gov immediately (in previous versions I must wait 30 secs like on startup) - like the old days on GB. :good:
[Desire HD Android Development] Roberto_Lim:
Tested it with Virtuous Infinity and the Virtuous_OC daemon. CPU Frequency tab works fine. Really fast compared to the previous versions. Having to tap the screen after a tweak will confuse some users. Me, I love seeing what is going on.

Sent from my HTC Desire HD powered by Virtuous Infinity 1.35
[Desire HD Android Development] Sybregunne:
I will be adding an option to disable that log screen or probably remove the feature for an even smoother experience. One question though I forgot how vdd levels work for undervolting. can someone point me to a refresher thread where I can read on things like file name and what values to send the file :D
[Desire HD Android Development] Roberto_Lim:
I am not sure if this is what you are looking for: http://xdaforums.com/showpost.php?p=14638641&postcount=34279

I have edited the 01sysctl file in the init.d folder to adjust vdd levels. I learned that from the first page of the Leedroid ROM thread.

Sent from my HTC Desire HD powered by Virtuous Infinity 1.35
[Desire HD Android Development] preacher65:
I think it's

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

and sample line of script to set the voltage for a specific frequency would be

echo "122880 850" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

Edit: found -snq's thread on it here:

http://xdaforums.com/showthread.php?t=821372

Edit2: Or in Lee's first post, as Roberto said - sorry, Roberto, I didn't read your post properly! :o
[Desire HD Android Development] zla.mas:
Cpufreq works, but only now i have small bug with ROM name > trickdroid..
[Desire HD Android Development] Sybregunne:
That is one of the reasons why the old version is so sluggish. I had to read a lot of build prop values and test each if it is the value I am looking to display.
[Desire HD Android Development] Sybregunne:
Daemon Controller v4.0 beta 5

see attached...
[Desire HD Android Development] zla.mas:
Fastest ever version, everything works so far..

-------------------

Prodaja: Skener Canon CanoScan LIDE 100

Valjkasta sijalica za auto, 42mm 16led x2

Game Boy Color sa svim papirima i 6 originalnih igri
[Desire HD Android Development] lateral18:
I have to tell you, this update rocks , is one of the best, the app is so smooth, no problems here so far.

Htc inspire running energy Rom

Thanks

I changed kernel, went from neok to lormod, the only bug with the app , is that it freezes when the new settings are apply . But they ( frequencies )stick . Other than that no problem .
[Desire HD Android Development] Sybregunne:
This is very encouraging... THanks for the feedback...

here is another update http://bit.ly/SymTt5 it's beta 6...

anyway if it still is as stable as when I test it. the next update will be version 4.0-rc1, which will include a basic implementation of U/V (shudder)
[Desire HD Android Development] Sybregunne:
the new version has an option to select which romName to display from a set of romNames I initially read from the system. Change will only occur after an app restart.
[Desire HD Android Development] lateral18:
The app still stable ,

but when I go to put new governors or freq settings using oc daemon still freezes , have to force close and open up again , but the settings remain ,

In another note , when I first ran the app, it prompt to download version b7 is that good ?

Also the uv settings are not there yet , or will be ready in rc-1?? Thanks for your work
[Desire HD Android Development] Sybregunne:
It means there's a new version. You can disable auto version checks in the options tab, scroll all the way to the last option

Will check on this. I am working on UV it slows the app noticably.

:eek:
[Desire HD Android Development] Teichopsia:
I get the same issues as lateral18 mentioned in the last two versions (including the ota). (Inspire)

Something that bugs me, it says I have to install a OC daemon? What am I missing?

Edit: let me know if you need a logcat and I'll install it again.

Sent from a dream.
[Desire HD Android Development] Sybregunne:
You can go to options tab and install andrev of from there. Can you attache a logcat? That would be most helpful.
[Desire HD Android Development] Teichopsia:
Pastebin

When I went to install andrev OC it Froze / force closed on me. When I went back to logcat that as well I noticed that it did install.

Using BD-Ace Kernel and Cleardroid Rom in case this info is useful.

Pardon the long logcat, still learning to get it right.

Edit: Just noticed I didn't get a force close on that pastebin. It did freeze, forgot about it. When I went to unlock the screen it went to the app and it was working.

pastebin Here is another one with the FC, and the code may be easier to read. I tried a different command :fingers-crossed:
[Desire HD Android Development] theone10:
So the new version only supports the Andrev-oc?

Because I cannot switch the other oc manager?

The new controller app works well, and opens very fast.

Not sure if it helps but for me the older versions run faster with supersu, with superuser it was very slow to open
[Desire HD Android Development] MadssiDK:
Really nice job on the latest version

Would really like if I could turn the animation off the one there is when you swipe between sites :)
[Desire HD Android Development] lateral18:
another bug , i changed the kernel , lordmod's wasnt playing nice with the rom at all . flashed rcmix v12 . but the app keeps reading lormod , but reads the frequencies and the governors
[Desire HD Android Development] Sybregunne:
Thanks. Will check this issue.

Meantime anybody who can help me test if this app works...

http://bit.ly/QHZO3d

It is supposed to turn off cores on your phone...

I will be adding the feature to the main app.

...and a new version of andrev_oc that supports multicore devices even when some cores are switched of.... http://bit.ly/WDZMfn

Check your andrev_oc version by doing andrev_oc -v on a terminal.
[Desire HD Android Development] Sybregunne:
http://bit.ly/QOxIVu

hope this fixes the random freezes. that at least two members reported. also I placed an option to disable swipe animations. I also fixed the kernel name not being read correctly.

hope I receive feedback soon. :D
[Desire HD Android Development] ShadowPony:
feedback from DHD ARHD 7.0.2 using DC 4.0 beta 08

ROM name is bad (says GRJ90)

Switch Daemon not working

tried modifying wake max, pressed apply, FC after 10-15 seconds (after restart, modified value appears for wake max)

U/V only has Apply and Reset buttons
[Desire HD Android Development] Sybregunne:
Thanks for beta testing for me. :D

Hi mate, there's an option to change the displayed ROM name... can you go to options tab, there should be three options... normally the middle is empty, and top and bottom is the same. can you tell me if the correct rom name is there and where it is located top, middle, bottom?

I forgot to hide the button as it is yet to be implemented. :D will push updates soon....

This is my current focus right now. Can you tell me if this occured in previous 4.0 beta versions? there are only 3 publicly available on this site. :D

I was trying to focus on this when freezes were reported. as my aim in rebuilding this thing from scratch was to enforce stability I have to fix the errors first before proceeding. sorry for the delay.
[Desire HD Android Development] ShadowPony:
Middle is correct, bottom was selected.

I did not see that there are more options in the "Options" Tab, not enough visual information to warrant a scroll from my side :D

I'll beta test once I get home, at work ATM, and you know how it is :)

(first beta I test ATM, the others felt buggy from what I read)

no problem, better to have something stable to work on, then a buggy fully featured app

PS: while scrolling the Option Tab, I pushed the "Install andrev_oc" option and crashed the app

PPS: This has been a 10 minute beta test, don't put much into my feedback ;)
[Desire HD Android Development] lateral18:
Also test 4.0 beta 8 ,

The switch daemon don't work,

The Rom name and kernel are right.

But the app still force closes after applying new frequencies and governors .

The VVD levels are empty , there is only the reset button and apply .

The option tab , I don't see the options to switch off the scrolling and other options .

Thanks

---------- Post added at 12:28 PM ---------- Previous post was at 12:28 PM ----------

Also test 4.0 beta 8 ,

The switch daemon don't work,

The Rom name and kernel are right.

But the app still force closes after applying new frequencies and governors .

The VVD levels are empty , there is only the reset button and apply .

The option tab , I don't see the options to switch off the scrolling and other options .

Thanks
[Desire HD Android Development] Sybregunne:
Many thanks for aiding the development of this app.

Thanks for the feedback.

Just published beta9 I'll see what I can do about the ROM names and Options not being visible... if most can confirm that the force closes are gone I may be publishing a release candidate by tommorow evening around 11pm (gmt +8:00)

I have the basic UV layout from beta 3 implemented in the beta 4. just disabled coz its not yet functional.

Also if there are graphic artists out there or someone who knows of a better looking +, -, and reload buttons preferably @ 128x128 pixels. I'm thinking squarish, round edge, and glassy or glossy look. please share the images.

I really hate my gimped circular buttons...
[Desire HD Android Development] Sybregunne:
The options tab is scrollable. Swipe up to see more options.
[Desire HD Android Development] lateral18:
About the option tab I laughed inside when I realized that,

Well , with the new app, Beta09 . The force closes are gone when applying new frequencies and governors, something cool happens and the log screen loads and you see what is going on .

The swipe and scrolling is more stable too .

Looking forward for rc-1 tomorrow

Also. When I firat installed the new apk, from the option in the app, it force close about 3 times , then I turned the screen off , and it work , fine
[Desire HD Android Development] ShadowPony:
I confirm that with latest beta 9, the FCs are gone for me

looking good
[Desire HD Android Development] Sybregunne:
And rc1 is 75 percent done. :)
[Desire HD Android Development] mike1986.:
Great! :)
[Desire HD Android Development] Sybregunne:
Just posted rc1, my script server keeps rejecting my password. Hopefully all is well now.

Link http://bit.ly/QQZeAg
[Desire HD Android Development] Wacco001:
"Bad" news from my side, (for both beta 9 and RC 1) I get a FC after changing ROM name in Prefs ...

(ARHD 6.3.3 powered DHD with no extra MODs installed)

Cheers,
[Desire HD Android Development] Teichopsia:
No fc's here.

The rom name was showing the correct one, changed it, changed it back to the correct one. Everything seems to be working. Of course, this was all done in about ten minutes including flashing a kernal that did support OC.

Before flashing the kernal it did fc's when trying to swype between menus. Unimportant but I did figure to mention it.

Sent from a dream.
[Desire HD Android Development] Sybregunne:
Do you have undervolting with your current setup? If not i believe the fc is caused by swiping to the uv tab. Will check it up tomorrow. Need to sleep now. Its past 1 am here. And my job starts in 5 hrs time.
[Desire HD Android Development] Sybregunne:
Thanks for the feed back...
[Desire HD Android Development] Sybregunne:
Right now if theres no uv for your rom/kernel the uv tab will fc. I did upload a rc2 but didnt check here earlier. Could have fixed that already.
[Desire HD Android Development] Wacco001:
FYI, didn't check the UV tab, went straight into pref, to check the name change when it FC'ed

Update:

I've reinstalled ARHD 6.3.3 (no super wipe) and tried RC1.

After changing the Gov. it FC'ed again ..

Hope this info might help a little bit.

Have a good sleep, and thanks for all effort !!!!!!!!
[Desire HD Android Development] Sybregunne:
hey Wacco,

when you got time can you test this for me? http://bit.ly/SJVgvh
[Desire HD Android Development] ShadowPony:
changing ROM name: no FC

changing voltages (+/-) and freq/governor, no FC

I did noticed smth: while reading the available freq, it read up to 2 GHz, but I am "sure" that my kernel only goes up to 1.6GHz (RCMIX 3D V12)

the Precision U/V Layout seems slugish and shows some frequencies (at the beginning) that, to my knowledge, should not be shown (24576, 61440 122880, 184320, 201600) before starting with the ones that should be shown (122000, 245000, 307200 etc.)

3.3 beta 3 did not have those frequencies
[Desire HD Android Development] Sybregunne:
can you help me check your /sys/devices/system/cpu/cpu0/scaling_available_frequencies file to see if the 2ghz is there?

I think I can fix the vdd issue. :D
[Desire HD Android Development] ShadowPony:
122000 245000 307200 384000 460800 537600 614400 691200 768000 844800 921600 998400 1075200 1152000 1228800 1305600 1382400 1459200 1536000 1612800 1689600 1766400 1843200 1920000 1996800 2016000

seems like it's there, but I don't remember quick's kernel going to 2 GHz.

PS: I found the file here:

/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
[Desire HD Android Development] Blackrose666:
Hi,

I have installed daemon controller v4.0 rc2 on my Incredible S, somehow the 83oc script got messed up on the first attempt(most likely user error) so I deleted it and installed a second time and it's working very well.

Rom & kernel name are both displaying correctly the app seems very smooth and applying changes also seems pretty quick though I don't have anything to compare it too as this is the first time I have used andrev_oc.

Am now trying to work out how to get the UV values to stick on reboot.

Is there supposed to be anything when you select the settings? it just closes the menu when I click on the settings option.

Thanks for an awesome app :good:
[Desire HD Android Development] lateral18:
4 rc-2

I working good , no fc at all, applying governors and VVD values . About the voltages, there are frequencies that the kernel doesn't support . The lowest one . Other than that all of them are in order , I only oc up to 1220880 , cuz after that I get random reboots .I'm using the precise method. The switch daemon button doesn't work at all , I.don't know if that is normal, or will be implemented later on

:)

Something else , since beta 9 , I disabel the log screen, and the app was fc after the update.. I had to install beta 8 enable the log screen when the app starts , it has fixed that small bug ,

Again thanks for the work, the app looks really good ,