Ask around base faux feature - General Questions and Answers

Hi
I think im still newbie in android n i want to know more advance about android especially about kernel n their feature
In faux app i see something feature i still dont understand, yes it is about cpu hotplug..
Can someone explain what function every each in cpu hotplug?especially in intelliplug profile..
Like hysterisis value, treshold value n other..
Please explain that to me i want to know more..
I find in google but that not fill my question..
Thank you very much

xerxess said:
Hi
I think im still newbie in android n i want to know more advance about android especially about kernel n their feature
In faux app i see something feature i still dont understand, yes it is about cpu hotplug..
Can someone explain what function every each in cpu hotplug?especially in intelliplug profile..
Like hysterisis value, treshold value n other..
Please explain that to me i want to know more..
I find in google but that not fill my question..
Thank you very much
Click to expand...
Click to collapse
It's quite impossible to explain everything about kernels. You have to continue your searchs IMO.
But here are my information about intelliplug from Faux:
4. What is Intelli_plug? How do I use it?
Intelli_plug is my open source solution to Qualcomm's closed source mpdecision. Intelli_plug is enabled automatically upon boot, so NO need to turn on or off. However, it conflicts with mpdecsion, so I HIGHLY recommend turning off mpdecision when using my kernels! To turn off mpdecision, either use fauxclock app under CPU page or use terminal / init.d script and write "stop mpdecsion"
Click to expand...
Click to collapse
Kernel.org is a great source: https://www.kernel.org/doc/local/hotplug-history.html

Thankyou very much for answering my question..
But my question more spesific for function every each in intelliplug like intelliplug profile n other

Related

[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

[q] overclocking and kernel

Hey yall I have a newbie q and a for you
Im new to overclocking!
I had my phone unlocked, rooted, and they flashed a custom rom that overclocks the device form 600mhz stock to 796mhz.
HTC DEsire C:
Android 4.0.3
Sense 4.0
Slim Sense 1.0
My question is..by default the cpu speed is 796mhz now. When I whipe the phone with factory data reset, it still runs at max speed. Is this because the kernel is set to this by default? This is the max I want to run at, and basically apps like CPU Tuner are only underclocking the device? When I use CPU Tuner, Min is set to 122mhz and max is 796mhz. Also If I change the max cpu speed form an app, will it conflict with the kernel that runs at 796 by default? can I change the max cpu speed to any supported MHz I want through an app?
I would also love a few tips from the pros.
THankyou kindly.
pockrunk said:
Hey yall I have a newbie q and a for you
Im new to overclocking!
I had my phone unlocked, rooted, and they flashed a custom rom that overclocks the device form 600mhz stock to 796mhz.
HTC DEsire C:
Android 4.0.3
Sense 4.0
Slim Sense 1.0
My question is..by default the cpu speed is 796mhz now. When I whipe the phone with factory data reset, it still runs at max speed. Is this because the kernel is set to this by default? This is the max I want to run at, and basically apps like CPU Tuner are only underclocking the device? When I use CPU Tuner, Min is set to 122mhz and max is 796mhz. Also If I change the max cpu speed form an app, will it conflict with the kernel that runs at 796 by default? can I change the max cpu speed to any supported MHz I want through an app?
I would also love a few tips from the pros.
THankyou kindly.
Click to expand...
Click to collapse
Yes. Since the kernel is set to that speed by default, it'll stay so until you change it manually. CPU control apps may only do that since the kernel only allows that speed as the max (so there's nowhere but down ). There will be no conflict. You can only change it to frequencies the kernel allows.
Ty!
Perfect! thanks for the answer Theonew. Im going to play around with underclocking it
I would love to tune the cpu voltage but just don't have the cojones. Has it become safer in recent times? The guides I read on google are from a few years back. I understand there are risks like SoD sleep of death, maybe other risks too. Any tips?
Thanks again, You guys are great what a wealth of knowledge!
I love tuning.
If you do that, make sure you do it wisely. Undervolting can be dangerous if not done correctly and could damage your device. Go down in steps and use your device for a while after each step to see its stability. Do not make huge steps. Yes SoDs can occur if it is done too drastically. Read up more and try to learn as much as you can before attempting. Its only as safe as you make it .
You may also want to set profiles in SetCPU e.g. screen off - set the governor to conservative. No problem for the help .
Apps are a great way to go, especially SetCPU since you can make profiles to save battery! I would not mess with the voltage though, you can completely fry your phone permanently... I'd leave that to the pros. Chances are, the person that made the Kernal has all the voltages set properly, so you would only be messing up the work that has already been done for you... Just mess around with different profile settings on SetCPU to get the best battery life/power balance. Also, if you want to save even more battery and gain full control of your phone, check out Tasker! Tasker allows you to automate ANYTHING that you do on a regular basis, including toggling Wifi and bluetooth, and rebooting your phone daily.. or ANYTHING you can think of! Open the Music app when you plug in your headphones, turn on GPS when you open the Maps app.. the possibilities are endless! And it will save your battery! Hope this helps, good luck!

[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.

enable processor

Hello I am root, and I have an issue with an app, or kernel, is it possible you to awake the heart of my processor in his sleep?
Hello root!!
I think you will need to be more specific with what you want? The app you think may be the issue? The issue itself?
Sent from my E6653 using Tapatalk
hi I want something that makes all the processor's assets, because at the moment I have 5 active and inactive that his 3
xN2iicolas said:
hi I want something that makes all the processor's assets, because at the moment I have 5 active and inactive that his 3
Click to expand...
Click to collapse
I will take a wild guess and assume you want a separate kernel and tool that allows you to control CPU Governor, perhaps individual core mpdecision, hotplugging, voltages etc.
I don't think that development exists yet for z5 suite, someone please correct me if wrong.
Sent from my E6653 using Tapatalk
millicent said:
I will take a wild guess and assume you want a separate kernel and tool that allows you to control CPU Governor, perhaps individual core mpdecision, hotplugging, voltages etc.
I don't think that development exists yet for z5 suite, someone please correct me if wrong.
Sent from my E6653 using Tapatalk
Click to expand...
Click to collapse
well, you can: CPUQuiet Framework which is included in my & AndroPlus' kernel allows hotplugging control (well at least indirectly),
voltage control is done internally - so you can't control that,
you, at maximum, can limit the maximum frequency of the two cpu clusters (and some other minor cpufreq manipulation);
task pinning to cores ?
take a look at taskset, schedtool, etc. (resorting to terminal and init scripts)
I have an issue with an app, or kernel, is it possible you to awake the heart of my processor in his sleep
Click to expand...
Click to collapse
that statement is too imprecise
this could include functionality of cron-job like scripts & apps, wakelocks, etc.
need more details ...
edit:
per-core control appears to be available with MSM Limiter

Categories

Resources