SETCPU wont stick! - Hero CDMA Themes and Apps

everytime i try to set the cpu to 528 max and min it keeps reverting back to 528 max 480 min

The cpu speed controls are locked in the compiled kernel, without the source-code we cannnot unlock it. Remind HTC of their obligations via the GPL license...

bobdude5 said:
everytime i try to set the cpu to 528 max and min it keeps reverting back to 528 max 480 min
Click to expand...
Click to collapse
Ive tried this as well with the same result, my conclusion is that setcpu simply doesn't work on the hero. I know it has that menu where you can choose the phone you have(no hero in it).

obelisk79 said:
The cpu speed controls are locked in the compiled kernel, without the source-code we cannnot unlock it. Remind HTC of their obligations via the GPL license...
Click to expand...
Click to collapse
Not sure how we could press this issue, but it is becoming a nuicasance and violates the sheer meaning of the phone.
Free speech, not free beer. :-/
"...users have the four essential freedoms:
The freedom to run the program, for any purpose (freedom 0).
The freedom to study how the program works, and change it to make it do what you wish (freedom 1). Access to the source code is a precondition for this.
The freedom to redistribute copies so you can help your neighbor (freedom 2).
The freedom to improve the program, and release your improvements (and modified versions in general) to the public, so that the whole community benefits (freedom 3). Access to the source code is a precondition for this.... " www.gnu.org
If anyone who has not read or studied GNU/GPL http://www.gnu.org/licenses/gpl.html read it and research it. We are being screwed here.

The new SetCPU 1.4.2 works fine on my hero, I've tested it by setting both to 528mhz refreshing it, checking set on boot, rebooting it and it's still 528 min/max
There's a new Hero profile in 1.4.2

So complete curisoity here, does this thing really help? anyone done a time trial of sorts?

Still isnt sticking for me. I am running a stript down ROM, would that affect it?

nelson8403 said:
The new SetCPU 1.4.2 works fine on my hero, I've tested it by setting both to 528mhz refreshing it, checking set on boot, rebooting it and it's still 528 min/max
There's a new Hero profile in 1.4.2
Click to expand...
Click to collapse
I have personally spoken to the dev about getting it going and this application will not work on our phones until we can modify the kernel and remove it's ability to control the cpu. The gsm hero is capable of using it because they have their kernel, not the cdma hero.

flipzmode said:
I have personally spoken to the dev about getting it going and this application will not work on our phones until we can modify the kernel and remove it's ability to control the cpu. The gsm hero is capable of using it because they have their kernel, not the cdma hero.
Click to expand...
Click to collapse
I guess we can say the numbers will show up, but it won't actually do anything???

Related

[KERNELS] the kernel corner

This is just a thread to offer a consolidated place for update notifications and such for alternative kernels. I will try to keep the most recent versions in this post but you should always check the end of the thread just to make sure.
Consider these experimental, use at your own risk, no ones responsible for anything, blah blah blah.
For best results, always use cyanogenmod roms
Most recent kernels:
pershoots Kernels
http://droidbasement.com/db-blog/
ezterrys kernels
http://forum.xda-developers.com/show...&postcount=670
dumfuqs OC (Requires setting scaling_max_freq in order to boot)
cm-5.0.8
32B/32A
cm-6.0.0
32B
32A
newest (10/14/2010):
2.6.35.7 32A/B (only oc710 so most of you will need to set your max frequency in init.d or whatnot)
archive:
http://www.mediafire.com/?6paej1h9tpkif
dumfuqs github
hey dumfuq, can you create a blog, I like following your work, would be nice to see it all elsewhere. Are you on github?
thanks, your work is appreciated
thx for posting this
Nice to see this here.. It would be nice to further explain, I searched else where but could not find....
I know
OC---IS OVER CLOCKED
UV---IS UNDER VOLTED
FP---????
Not to be rude but this is the third kernel thread on Page 1 of G1 Android Development. Hope a mod consolidates the three into one.
On another note, thanks for your kernels.
dumfuq said:
This is just a thread to offer a consolidated place for update notifications and such for alternative kernels. I will try to keep the most recent versions in this post but you should always check the end of the thread just to make sure.
Consider these experimental, use at your own risk, no ones responsible for anything, blah blah blah.
For best results, always use cyanogenmod roms
Most recent kernels:
pershoots Kernel 2.6.34-OC-UV-FP – Dream/sapphire(32B/A)
http://droidbasement.com/db-blog/?p=538
dumfuqs OC -Dream/Sapphire(32B) (requires setting scaling_max_freq in order to boot)
oc825-cm-2.6.34-8t3-signed.zip
Click to expand...
Click to collapse
with oc825-cm-2.6.34-8t3 im not getting full multitasking, im able to multitask 3-4 apps but the kernel isnt utilizing all the swap before killing processes
I think it's rather nice to have an OC kernel that doesn't require swap though.
just updated with changes from cm-5.0.8-t4
defconoi said:
with oc825-cm-2.6.34-8t3 im not getting full multitasking, im able to multitask 3-4 apps but the kernel isnt utilizing all the swap before killing processes
Click to expand...
Click to collapse
They make it use all the swap, and people complain, they tone it down, and people complain.
Seriously though, adjust swappiness and perhaps use AutoKiller to set the settings LOWER than default. That should keep more apps around. Note that doing that may cause extreme slowness, so if it breaks, you get to keep both parts.
When I fool with those types of settings, I like to disable "set on boot" type options so that a reboot clears them if I screw something up. Then I can tune away till I get what I want, then set them on boot. Of course, just as I figure out how I like it, a new release comes out. owell, I do so love flashing my phone. I feel like I need a .sh file with "adb shell "reboot recovery"" in there on my computer's dock.
new dream/sapphire kernel images posted - http://droidbasement.com/db-blog/?p=546
Any chance on someone uploading the oc xtra v4 with lower frequencies please.. I don't know how to change the userinit or resign =P thank you. Last time with test2 cyanogen, it booted up fine leaving the frequencies on my old settings but now test4 it just won't boot because frequencies got over written this time and set825 which I know why but I don't know how to resign and stuff..
rahuljj said:
Nice to see this here.. It would be nice to further explain, I searched else where but could not find....
I know
OC---IS OVER CLOCKED
UV---IS UNDER VOLTED
FP---????
Click to expand...
Click to collapse
FP = floating point optimized
32a test
I have no way to test this myself but...
It looks like it is fairly trivial to make a 32A port (since cyanogen has already patched the source). So here is a version of my latest that might work on 32A. If you try this, please let me know if it works or not.
Same as my others in that it requires you to set the scaling_max_freq in order to boot.
oc825-32A-cm-2.6.34-8t4-signed.zip
2.6.34 BFS kernel. I found it in the cyanogen forums.
http://www.4shared.com/file/BmZU6db6/BFS508t4.html
I went from 23 to 24 fps on neocore benchmark. Not really that much of an increase but 5% is 5%. I know some people hate BFS with a passion but I like the extra frame=p.
Link to OP
So I tried you kernel (was too lazy to make my own) and everything works (it boots) except the wifi, either due to the fact that I'm running 5.0.7 or the slight possibility that you put the wrong kernel module for wifi because 32A and 32B don't use the same one, will compile my own to see if it's just the kernel module...
rps13 said:
So I tried you kernel (was too lazy to make my own) and everything works (it boots) except the wifi, either due to the fact that I'm running 5.0.7 or the slight possibility that you put the wrong kernel module for wifi because 32A and 32B don't use the same one, will compile my own to see if it's just the kernel module...
Click to expand...
Click to collapse
This might fix the wifi.
yup wifi is fixed, so was it the kernel module?
rps13 said:
yup wifi is fixed, so was it the kernel module?
Click to expand...
Click to collapse
Yup...that wass it. Thanks.
825 isnt stable for me , how about turning out a optimized 710 or 670 build ?
mejorguille said:
2.6.34 BFS kernel. I found it in the cyanogen forums.
http://www.4shared.com/file/BmZU6db6/BFS508t4.html
I went from 23 to 24 fps on neocore benchmark. Not really that much of an increase but 5% is 5%. I know some people hate BFS with a passion but I like the extra frame=p.
Link to OP
Click to expand...
Click to collapse
Why do people dislike BFS? I don't really see much of a reason for the hate (but I also don't really know the difference)

Tips and Tricks to make your XT720 fly!

This topic is intended for those few Motorola XT720 users.
As you well know, Motorola, in their infinite wisdom, have created a gimped phone that seems to have mostly problems about it rather than advantages.
For a start, they have underclocked the CPU from its possible theoretical maximum of 1GHz to a paltry 550 MHz (and the update only unlocked an on-demand setting of up to 720 MHz). Secondly, the included launcher is actually inferior to both stock Vanilla Eclair and most other 3rd party launchers. It is sluggish and never quite feels smooth (especially so when browsing your apps or switching panels).
So what is the solution to the above problems and how to make your XT720 truly fly and feel comparable to most any other high-end smartphone? Simple, I say!
I won't tell you how to do these steps, but I can provide info and know-how-to if people ask me to:
0) Install Astro File Manager from the Market.
1) Root your device. Use Universal Androoter to do this. Try to go for latest possible version you can find. Your phone will not be able to find it on the Market so try Google.
2) Go to http://code.google.com/p/milestone-overclock/ and download the basic program to overclock your XT720. The program allows you to do 'real' (actual) overclock of up to 1.2 GHz, but your CPU will be unstable in this speed. Instead, opt for 1GHz, which is not a 'real' overclock, since the Texas Instr. CPU inside your phone is actually able to run at this speed natively.
3) Download SetCPU or get it from XDA.
Have it 'automatically' configure / find your CPU speed and then set it up as such:
Make sure the upscale governor is set to at least 85. Mine is at 86.
a) Fully Charged / Plugged In: Min/Max at 1000MHz (Performance) [55]
b) Below 40% Min 550 / Max 1000 (On Demand) [60]
c) Below 20% Min 500 / Max 550 (On Demand) [65]
d) While Screen Turned Off Min 150 / Max 500 (On Demand) [70]
Make sure all settings are set to 'Enable' and 'auto-run' is checked.
4) Download Zeam Today Launcher from the Market. It is free. Install it and press Home. Try it once to be sure and safe, but afterwards make sure you set it to 'default' (so that it launches as the default launcher).
Restart your phone and voila. Enjoy XT720 as you never have before.....
I have an HTC Desire and a Samsung Galaxy S and I promise you that my XT720 feels (almost) as snappy as they, and that's a huge difference in improvement, given that I felt that the XT720 was one of the sluggiest phones I had ever have to experience! Now it can finally unlock its full potential.
EDIT: Realised I accidentally posted this in the wrong subsections. This was done unintentionally. Please can some mod move it to the 'General' section?
Thanks for your post, grcd! Just some questions...
Do all 0 to 4 have to be done, & in that order? Or can I choose any?
What is Astro File Manager for? Is it needed to do 1 to 4?
Edit: ok, so 2 & 3 need root. But are 0 & 4 necessary or only recommended?
Edit: ok, I can choose among different file managers for 0, & among different launchers for 4.
& I can't find a single appropriate page on universal androoter on google? Except your post.
Edit: oops, found universal androot! Sorry, noob
very usefull
thanx
My friend just got one of these and I've been trying to find some good resources but can't seem to turn anything up.
Are them any development forums for this model out there? And are there any custom roms out or is the stock rom, rooted, overclocked with cleaned up the bloatware the best you can get?
civicvx94 said:
My friend just got one of these and I've been trying to find some good resources but can't seem to turn anything up.
Are them any development forums for this model out there? And are there any custom roms out or is the stock rom, rooted, overclocked with cleaned up the bloatware the best you can get?
Click to expand...
Click to collapse
XT720 bootloader is locked and currently there's no known method to attack it. So, no custom ROMs. For Optimization, check the below link. You'll need to root your phone first (either One Click Root via PC or using Universal Androot apk).
this optimizer script got Busybox, Apps2SD, JIT from Froyo, custom build.prop, removing unnecessary apps and custom themes.
Code:
http://www.droidforums.net/forum/motorola-milestone-xt720/74284-guide-milestone-xt720-apps2sd-froyo-jit.html
App2sd is a must, the internal memory for this phone is too small. I even put a class 10 micro sd in it.
Thanks for the optimization link, spiderx_mm! I'll do that too but it will take me a bit longer to be confident in doing that.
Meanwhile, the overclocking++ advice above seemed to help at the start, but little by little, my XT720 was lagging again, & lagging longer & longer. Does this happen to others?
I'm also encountering weird problems, like Dolphin Browser HD 4.2 tabs reloading from the web even for conditions when it's supposed to reload from the cache. So I'm also trying to reverse the process tio isolate the problem, but I have a few questions.
Once the setcpu modifications are done, can I unroot? It seems to me no, because I would think root is needed to change the clock on the fly? But if I simply overclock without using setcpu, then it seems to me that I can unroot without undoing the overclock changes?
While at this, is there an important sequence to follow to reverse the whole process? Do I have to set setcpu to the clock that I want to revert to before reverting the clock? I would experiment on my own except for the risk of bricking
Tia!
@grcd Will this improve camera response and hd video recording quality?
@spider thanks for the link. I'll give that a shot. I'm assuming since it hasn't been done yet, that no one is working to unlock the bootloader?
@reggie you will most definitely need to retain root to use setcpu. The app setcpu is what's actually changing the scaling itself, that's why there's the 'set at boot' option, bc the app has to set it everytime. Because the kernel just has overclock capabilities, but not overclocked by default, you will always need setcpu or a similar app to do the actual overclock. Why would you want to unroot anyways? If your having issues, I would recommend using system panel for a few days and see if somethings bogging your system down, it has great monitoring functions. I've yet to do the optimization, but I can't imagine anything there is what's causing you to have lag issues..
Sent from my HTC Glacier using XDA App
reggiehg said:
Thanks for your post, grcd! Just some questions...
Do all 0 to 4 have to be done, & in that order? Or can I choose any?
What is Astro File Manager for? Is it needed to do 1 to 4?
Edit: ok, so 2 & 3 need root. But are 0 & 4 necessary or only recommended?
Edit: ok, I can choose among different file managers for 0, & among different launchers for 4.
Click to expand...
Click to collapse
You can replace it with any other file explorer of your like and choice. The basic idea is to get root, and using Universal Androoter is the only way I know of for the XT7220 that is user friendly. Afterwards the rest is simple, using the overclocking app and SetCPU.
civicvx94 said:
My friend just got one of these and I've been trying to find some good resources but can't seem to turn anything up.
Are them any development forums for this model out there? And are there any custom roms out or is the stock rom, rooted, overclocked with cleaned up the bloatware the best you can get?
Click to expand...
Click to collapse
No, see answer below.
spiderx_mm said:
XT720 bootloader is locked and currently there's no known method to attack it. So, no custom ROMs. For Optimization, check the below link. You'll need to root your phone first (either One Click Root via PC or using Universal Androot apk).
this optimizer script got Busybox, Apps2SD, JIT from Froyo, custom build.prop, removing unnecessary apps and custom themes.
Code:
http://www.droidforums.net/forum/motorola-milestone-xt720/74284-guide-milestone-xt720-apps2sd-froyo-jit.html
Click to expand...
Click to collapse
I have also been looking into this optimizing script. Will try it and hopefully it improves things even more.
reggiehg said:
Thanks for the optimization link, spiderx_mm! I'll do that too but it will take me a bit longer to be confident in doing that.
Meanwhile, the overclocking++ advice above seemed to help at the start, but little by little, my XT720 was lagging again, & lagging longer & longer. Does this happen to others?
I'm also encountering weird problems, like Dolphin Browser HD 4.2 tabs reloading from the web even for conditions when it's supposed to reload from the cache. So I'm also trying to reverse the process tio isolate the problem, but I have a few questions.
Once the setcpu modifications are done, can I unroot? It seems to me no, because I would think root is needed to change the clock on the fly? But if I simply overclock without using setcpu, then it seems to me that I can unroot without undoing the overclock changes?
While at this, is there an important sequence to follow to reverse the whole process? Do I have to set setcpu to the clock that I want to revert to before reverting the clock? I would experiment on my own except for the risk of bricking
Tia!
Click to expand...
Click to collapse
I noticed that too, so my initial excitement wore off. It seems that I was a bit wrong and some XT7220 devices will not happily run at 1GHz without some lag issues. Try lowering your speed to the next step down and see if that helps -- this might mean running at 800MHz, which is a mere 80MHz overclock, but whatever).
The optimizer script might help speed some things further up. But I haven't tried it yet. Also, Apps2SD will definately help as the phone has little internal memory, so the more apps that are there then the slowest things will get over time.
I am not sure of the ways to unroot to be entirely honest, but I guess you have to check FAQs for Universal Androoter to see if the process is reversable. As about the rest, it is quite simple: Just uninstall SetCPU (it might help to return the clock to its normal speed, but uninstalling it will do it anyway I suppose), and then use the Milestone Overclock to return the speeds to the stock speeds. Then uninstall that too.
bimmerboii said:
@grcd Will this improve camera response and hd video recording quality?
Click to expand...
Click to collapse
AFAIK it will not. Or it might, but the differences are negligible. I am afraid that unless there is a custom ROM or a complete kernel hack, significant improvements in the camera department might be hard to come by.
It's very sad how badly Motorola dropped the ball with this phone. I admit I gave up on it and sold it to a friend for cheap.
I am not sure of the ways to unroot
Click to expand...
Click to collapse
The Universal Androot app has 1 click unroot.

[BENCH] Benchmarks & overclocks on Photon

/!\ disclaimer: this thread is not about a war between android versions, nor a competition of "who has the biggest one". thank you /!\
I just installed an application named Quadrant Standard, it gives good idea of performance of our phone versus different android versions.
Running Froyo 2.2, release 134++, i have a score of 902
(screen capture enclosed, webcam = bad quality sorry)
derefas, running CM6, has a score of 1000
(screen capture enclosed)
CM6 have higher performance because it does not uses HTCSense.
it's interesting, in the version of derefas, to note that we are weak in memory and i/o access versus the other phones.
might be the sdcard latency.
looking at those results, it seems devs have introduced some "lagfix" that boost reactivity of their phones. another thing to investigate.
also, there are some apps to overclock, we could try to overclock to 700 or 800Mhz to see the improvements.
some other benchmark applications here:
http://www.everythingabouttablets.net/2011/05/05/top-6-android-benchmarks/
regarding lagfix, a post in french:
http://forum.frandroid.com/topic/22162-refmaj-22102010-le-point-sur-les-lagfix/
basically it replaces the old filesystem of samsung (RFS) by the well known ext2.
but since we are already using this filesystem, it is not gonna help us here :-D
-r0bin- said:
also, there are some apps to overclock, we could try to overclock to 700 or 800Mhz to see the improvements.
Click to expand...
Click to collapse
I've tried set-cpu 2.2.4 from here, but it doesn't seem to work. On startup, i press 'msm7x27'. It then asks for root permissions, before force closing.
I've also tried overclocking widget, but it says it needs root access, but I'm pretty sure we already do.
Correct me if I'm wrong or some other overclocking app works for you
Thanks devs!
benjanico said:
I've tried set-cpu 2.2.4 from here, but it doesn't seem to work. On startup, i press 'msm7x27'. It then asks for root permissions, before force closing.
I've also tried overclocking widget, but it says it needs root access, but I'm pretty sure we already do.
Correct me if I'm wrong or some other overclocking app works for you
Thanks devs!
Click to expand...
Click to collapse
I tried this too and it didn't work
I guess we don't have the privilege to scale cpu...to make it higher than 600 Mhz or smaller than 600 MHz
you need the "super user" application
it is in froyo release
when you install setcpu, it asks you to grant root access.
it worked for me, i selected "MSM7x27
but it seems the app cannot read the CPU frequency :-/
it shows "0 Mhz"
ok i know why:
our /dev/cpuinfo lacks details.
it shows only this:
# cat /proc/cpuinfo
cat /proc/cpuinfo
Processor : ARMv6-compatible processor rev 5 (v6l)
BogoMIPS : 598.01
Features : swp half thumb fastmult vfp edsp java
CPU implementer : 0x41
CPU architecture: 6TEJ
CPU variant : 0x1
CPU part : 0xb36
CPU revision : 5
Hardware : photon
Revision : 0000
Serial : 0000000000000000
Click to expand...
Click to collapse
to be improved
Hi, i know this feature is disabled in our phone becouse Cotulla tried to add cpu scaling but not finished (he disabled frequency init)... we need to finish his job and enable it!
EDIT:
I compiled kernel with all known fixes, enabled frequency init, so I can confirm about time: FULL working without time forwarding!!! But not know if time fix come from owerclock or by kernel itself, or maybe by gps.conf ?!!
Here is dmesg with owerclocking
that's interesting!
and guess what, stepping for MSM7227 is available
see here:
https://github.com/ladios/htc-kernel-msm7227/commit/935fd0650743f6b68b256d671b2e5446cd90de61
worst a try
and might fix our issues with clock!
I porting ladios 2.6.35, think will be finished tomorrow
munjeni said:
I porting ladios 2.6.35, think will be finished tomorrow
Click to expand...
Click to collapse
you dont need to port this version, it is also available on 2.6.32
https://github.com/ladios/htc-kerne...86e8a995f/arch/arm/mach-msm/acpuclock-arm11.c
Hi, yes I know that, but I need 2.6.35 for Gingerbread becouse if you see that version have new drivers like bluetooth...etc, also have some bugfixes from 2.6.32... we will try, maybe gtt something better tnan 2.6.32!
I finished and now it is in testing... I will upload to git
Here is http://gitorious.org/2-6-35-photon
Hi,
Guys i Found This file : acpuclk_tbl in /sys/acpuclock....
and there are write this values: 245760,480000,600000...
are they the values of cpu speed?
And are they editable to increase cpu speed?
HTCxxxx said:
Hi,
Guys i Found This file : acpuclk_tbl in /sys/acpuclock....
and there are write this values: 245760,480000,600000...
are they the values of cpu speed?
Click to expand...
Click to collapse
yes
......
but...how can i edit the file? it does't change values...can you help me?
HTCxxxx said:
but...how can i edit the file? it does't change values...can you help me?
Click to expand...
Click to collapse
It doesn't work this way
you need a program for that,for ex setCPU available from Market,but CPU scaling feature will be available on next release which is on testing now
tzacapaca said:
It doesn't work this way
you need a program for that,for ex setCPU available from Market,but CPU scaling feature will be available on next release which is on testing now
Click to expand...
Click to collapse
OK...But they are testing MSM 7227 CPU for Mini?
HTCxxxx said:
OK...But they are testing MSM 7227 CPU for Mini?
Click to expand...
Click to collapse
We are testing.
tzacapaca said:
We are testing.
Click to expand...
Click to collapse
True im looking the dedicated Thread...
hurray guys, i managed to overclock our photon!
credits to ladios, the guy who work on htc aria, from which i stole a bit of code
Using Froyo2.2 with HTCSense standard:
Photon original speed: 600Mhz => quadrant standard score = 860/900
Photon [email protected] 768Mhz => quadrant standard score = 1090/1093
it works great!
in addition to that, the power of enabling overclocking is, you can also underclock the CPU to 250Mhz when idle/charging/doing nothing, which dramatically saves your battery life!!
will play with it and commit changes when validated

[MOD] IncrediControl - Easy GUI Undervolting

Please read this post through thoroughly before downloading.
This app allows you to control your CPU voltages with an easy to use interface. You can increase or decrease voltages (undervolt or overvolt) for all frequencies or fine tune voltages for each individual frequency.
! HTC DEVICES, currently only single core devices are supported !
! ROOT is Required !
! Kernel that supports HAVS or SVS voltage adjustment REQUIRED !
Get it over at http://www.incredikernel.com
IncrediControl is now also available in the market:
IncrediControl
IncrediControl - Ad Free
Additionally, all donators are eligible to receive the Ad Free version. It doesn't matter how much or how little you donate or have donated. If you don't want to purchase the app from the market, you may donate using the button on this page. Please register on the site first and include your username in the comments box.
All previous donators, please register on the site if you have not done so and contact me with your username!
NOTE: The settings in the general tab are only functional in kernels that have implemented the simple sysfs interfaces for usb fast charging and audio boost. If you toggle them, its not going to break anything, but they won't work and the app may crash. If you would like your kernel dev to implement the interfaces, please direct them to these two commits:
https://github.com/Chad0989/android_kernel_common/commit/a7c21fa0391c225900f93960362535179c0cecc9
https://github.com/Chad0989/android_kernel_common/commit/41dc138bae23dc7582de72a4d9895aaa8e1f8b2d
NOTE2: It is a requirement of the HAVS adjustment that the kernel you are using has the HAVS sysfs interface implemented. If it does not, it will not work.
NOTE3: Before using, please delete any boot scripts you may have in /etc/init.d that toggle any of the settings this app controls.
Get it at http://www.incredikernel.com
Restore script - use this if you went too low and find yourself in a boot loop. Flash through recovery:
http://www.incredikernel.com/?p=229
Hi,
Good job, just one thing, i use Eviollet kernel (svs) and there's a step at 128 mhz.
The apps doesn't show these step.
It Would be great if you can implement it.
Otherwise i found no bug.
Thx in advance.
sffmandrake said:
Hi,
Good job, just one thing, i use Eviollet kernel (svs) and there's a step at 128 mhz.
The apps doesn't show these step.
It Would be great if you can implement it.
Otherwise i found no bug.
Thx in advance.
Click to expand...
Click to collapse
The app skips the first frequency because on a lot of phones its a.useless frequency like 19mhz. Thanks for letting me know though. I will add an exception and upload a new version later.
Sent from my ADR6300 using XDA App
7/31/11 - Preview 5-4
Minor change to no longer skip the first frequency. On many phones the first frequency is a useless frequency like 19mhz so the app was set up to skip that frequency. This is only a temporary fix until I change it to display only the available frequencies instead of all of them.
Sounds interesting, will have a go
Hi,
Thx chad0989, now it works at 128 mhz
sffmandrake said:
Hi,
Thx chad0989, now it works at 128 mhz
Click to expand...
Click to collapse
Great. I just sent you a PM.
Works great thanks!
IncrediControl v1.0!
This app allows you to control your CPU voltages with an easy to use interface. You can increase or decrease voltages (undervolt or overvolt) for all frequencies or fine tune voltages for each individual frequency.
! HTC DEVICES, currently only single core devices are supported !
! ROOT is Required !
! Kernel that supports HAVS or SVS voltage adjustment REQUIRED !
Get it over at http://www.incredikernel.com
IncrediControl is now also available in the market:
IncrediControl
IncrediControl - Ad Free
Additionally, all donators are eligible to receive the Ad Free version. It doesn't matter how much or how little you donate or have donated. If you don't want to purchase the app from the market, you may donate using the button on this page. Please register on the site first and include your username in the comments box.
All previous donators, please register on the site if you have not done so and contact me with your username!
Good job. Works on cm7 nightly with manU kernel 2.1.1.
chad0989 said:
The app skips the first frequency because on a lot of phones its a.useless frequency like 19mhz.
Click to expand...
Click to collapse
The eviollet Kernel implements AXI @ 128Mhz, which drops the bus down to 19Mhz which potentially could save more battery
rootSU said:
The eviollet Kernel implements AXI @ 128Mhz, which drops the bus down to 19Mhz which potentially could save more battery
Click to expand...
Click to collapse
But the actual cpu speed still never drops below 128mhz if I'm not mistaken (at least thats how it is on the inc, its possible to enable the use 19mhz cpu speed, but the phone is unusable). So the cpu voltage for 19mhz would never be used. I have changed the app now though to show all cpu frequencies available for use, so if you did enable the use of 19mhz cpu speed (you have to comment out a line in the acpuclock file), it would show up.
Hopefully that clears up confusion.
IncrediControl v1.3
Major changes include:
Ad Free has now been turned into a key that removes the ads from the free version. This allows donors who have downloaded the ad free version from the site to update through the market.
HAVS voltage checking. Minimum voltages can no longer be set higher than maximum voltages.
Boot voltages are now stored in the application’s data directory. Boot settings will now persist if you update your ROM or restore the application and data from a backup.
IncrediControl v1.4:
This is mostly a bug fix release but I have also added:
Automatic detection of the minimum and maximum voltages supported by your kernel
Unless any more bugs arise, the next release will have some new goodies to play with...
http://www.incredikernel.com or from the market.
I'm making an enquiry for a friend who uses his HTC desire with RCMix S v2.0 Evolutionary Sense using SNQ v05 kernel. Does this Rom / kernel meet the InvrediControl system requirements?
One other question, in other utils I've used in the past they also supply a "reset" zip which can be used to revert the settings back to default in the event if instability/freeze (requires flash from recovery). Do you see value in creating a similar zip for over agressive UV?
Thanks again for a wonderful utility. Can't wait to try it.
Sent from my Desire HD using XDA App
fidoedidoe said:
I'm making an enquiry for a friend who uses his HTC desire with RCMix S v2.0 Evolutionary Sense using SNQ v05 kernel. Does this Rom / kernel meet the InvrediControl system requirements?
One other question, in other utils I've used in the past they also supply a "reset" zip which can be used to revert the settings back to default in the event if instability/freeze (requires flash from recovery). Do you see value in creating a similar zip for over agressive UV?
Thanks again for a wonderful utility. Can't wait to try it.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
I don't believe that kernel has the sysfs interface for adjusting voltages. You can still give it a shot though. The app will let you know if the kernel doesn't have the correct interface.
I also have a reset zip. It's on the site and there is a link in the OP.
SNQ anyone?
Ahhhw...no love for the wildly popular SNQ Kernal?!
SilverHawk2 said:
Ahhhw...no love for the wildly popular SNQ Kernal?!
Click to expand...
Click to collapse
The kernel dev has to implement the interface in order to use the app. Since I don't believe that the source for the GB kernel has been released yet for the desire, the dev won't be able to implement the interface until it is.
chad0989 said:
The kernel dev has to implement the interface in order to use the app. Since I don't believe that the source for the GB kernel has been released yet for the desire, the dev won't be able to implement the interface until it is.
Click to expand...
Click to collapse
Thanks for the heads up. Next time I have access to the phone I will install and see what unfolds. But from what you said I'm not expecting much with SNQ.
Maybe time to suggest to my friend a new Rom

[PATCH] INCOMPLETE fix for CM Performance settings only affecting cpu0

There's a long-standing bug (or omission rather) in (probably all) the kernels used for the HTC Sensation--a feature of some Qualcomm CPUs apparently--which is that you can independently set the max cpu frequency of both processor cores. Because of the way the CM Performance settings is written, it only sets cpu0 and expects cpu1 to automatically follow suite. This causes the second core to always run at the kernel's default max setting when the screen is on.
For some time now I've been twiddling with a patch for the kernel that would set cpu1(...n) to follow the changes of cpu0. I have not succeeded, and am now entirely fed up with the whole business and will dump my current results here if anyone is inclined.
I register a CPUFREQ_POLICY_NOTIFIER in the mach-msm/cpufreq.c driver and reading the values works just fine, but when I try to set them the second core seems to bog down and the phone slowly freezes.
Please note that I am not a kernel hacker, and not much familiar with Linux so there probably are glaring mistakes and stupid things in here.
This patch is against arch/arm/mach-msm/cpufreq.c and I was hacking at sources from @android1234567 's repo at https://github.com/sultanxda/sultan-kernel-bruce-linaro3
Enjoy or something
I wonder if anyone is going to include this patch. In my eyes its really usefull, but in this thread is no acticity, thats kind of awkward
s0ftcorn said:
I wonder if anyone is going to include this patch. In my eyes its really usefull, but in this thread is no acticity, thats kind of awkward
Click to expand...
Click to collapse
Give it time for a developer to look into it if it's worth it (that depends in the eyes of users / devs) it will eventually be considered.
Far as I understood by default the cpu1 will always max no matter whats defined, is that right?
MidnightDevil said:
Give it time for a developer to look into it if it's worth it (that depends in the eyes of users / devs) it will eventually be considered.
Far as I understood by default the cpu1 will always max no matter whats defined, is that right?
Click to expand...
Click to collapse
Yes, if you go by the CM Preferences GUI. It's possible to set the max frequency by doing
Code:
echo 1 > /sys/devices/system/cpu/cpu1/online && echo <value in kHz> > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
Or using a init.d script like the one included in some roms, but it's a bit cumbersome
So you need an app like kernel tuner to set each cpu frequency independently is that it?
Sent from my HTC Z710e using xda premium
MidnightDevil said:
So you need an app like kernel tuner to set each cpu frequency independently is that it?
Sent from my HTC Z710e using xda premium
Click to expand...
Click to collapse
Pimp My ROM has been doing fine for me, so yeah, kernel tuner and the alike work properly from my observations.
This is the full patch and the merge error fix, it can be easily merged into AOSP roms with the CM performance built into the settings package. Enjoy
(btw this patch will even work on quad core QCOM devices)
xmc wildchild22 said:
This is the full patch and the merge error fix, it can be easily merged into AOSP roms with the CM performance built into the settings package. Enjoy
(btw this patch will even work on quad core QCOM devices)
Click to expand...
Click to collapse
This is neat, should've known someone would be there before me
I considered solving it through patching the java code, but you'd have to interface it through the sysfs tree, and that leads to a race condition; the cpufreq files only exist in the tree when the cpu is online, so you'd either have to do some kind of wait loop (could be a long time before the cpu wakes up) or somehow force it to come online--something I don't know how to do.

Categories

Resources