Android Development Generaly - Android General

Developers can you please try to develop Double CPU Power Procesing for Snapdragon devices Smartphones and tablets PC.Single Core CPU(2 Logical Virtual CPU Cores),Dual Core CPU(4 logical virtual CPU Cores)and Quad Core CPU(8 Logical Virtual CPU Cores).With this kernel we can expect in the reality 5%-15% extra CPU Speed and Performance Average normal everyday use and 50% of extra CPU Speed and performance in some cases.APK's for testing my idea should be CPU Stats,CPU/RAM Device by Davy Bartolony and CPu Temperature
CPU Temperature https://play.google.com/store/apps/details?id=com.yanyan.cputemp&hl=en
CPU-Z https://play.google.com/store/apps/details?id=com.cpuid.cpu_z&hl=en
CPU/RAM/Device Indentifier https://play.google.com/store/apps/details?id=com.Bfield.CpuIdentifier&hl=en
CPU Stats https://play.google.com/store/apps/details?id=jp.takke.cpustats&hl=en
XDA:DevDB Information
Double CPU Power Procesing for Android Snapdragon(Single Core CPU 2 Logical Virtual Cores,Dual Core CPU 4 Logical Virtual Cores,Quad Core CPU 8 Logical Virtual Cores)idea based on intel's Hyperthreading, Kernel for all devices (see above for details)
Contributors
borisbcoveguardian
Kernel Special Features:
Version Information
Status: Testing
Created 2014-07-01
Last Updated 2014-07-01

Related

[APP][1.6+] CPU Tweaker

Created following popular requests for standalone features from System Tuner!
Control single and dual-core CPU settings, including: frequencies, governor and voltages.
Support depends on phone's kernel and requires a rooted phone!
Market Link

Overclock NEW JXD Amlogic M3 Kernel

Hi,
Amlogic M3 cpu are cable to 1GHZ
The old firmwares for JXD devices has the amlogic CPU frequency set to 600MHZ.
The solution was easy, hex editing a9_clk estructure was possble overclock to 1GHZ.
But in the new firmwares for android ICS is not possible overclock, if hex edit the firmware setcpu marks 1GHZ but performance are only 800MHZ.
I search in the leaked source code but I dont found the limitation of 800MHZ.
Any help?
naxeras said:
Hi,
Amlogic M3 cpu are cable to 1GHZ
The old firmwares for JXD devices has the amlogic CPU frequency set to 600MHZ.
The solution was easy, hex editing a9_clk estructure was possble overclock to 1GHZ.
But in the new firmwares for android ICS is not possible overclock, if hex edit the firmware setcpu marks 1GHZ but performance are only 800MHZ.
I search in the leaked source code but I dont found the limitation of 800MHZ.
Any help?
Click to expand...
Click to collapse
Any with amlogic CPU?
The limitation is in the kernel, I have source code of the kernel but i not found where is the limitation to 800MHZ.
naxeras said:
Any with amlogic CPU?
The limitation is in the kernel, I have source code of the kernel but i not found where is the limitation to 800MHZ.
Click to expand...
Click to collapse
See on arch/arm/mach-meson3 directory.
Maybe exists an clock.c file that has the limitation.
On M1 kernel is at https://github.com/CML/amlogic_m1_kernel/blob/ICS/kernel/arch/arm/mach-meson/clock.c (tested on b10ref and a00ref "up from 800mhx to 1ghz")
On M3 kernel maybe is at https://github.com/madmaze/Meson-3-Kernel/blob/master/arch/arm/mach-meson3/clock.c
Because is similar architecture.
¿Where is your tablet model/manufacturer?
Regards
Yes, in meson M3, have a clock.c, but I edit static struct clk a9_clk, in the max value to 1000000, but the limitation continues to 800000.
When I edit a9_clk in the sorce code or, with HEX edit, Set CPU says are 1GHZ but performance is 800MHZ, even I have another kernels without source code, with 600MHZ limitation.
Even I use openamlogic messon 3 clock.c in the JXD source code, but the limitation continues.
For try I edit max value to 1400000 but performace are same.
Manufacturer are JXD model s5110.
Which reference board is s5110 based on? Have you checked kernel's init.rc script (the part where governor and possible min/max frequency is set)?
stane1983 said:
Which reference board is s5110 based on? Have you checked kernel's init.rc script (the part where governor and possible min/max frequency is set)?
Click to expand...
Click to collapse
How I view the reference board?
In the governor min is 300 and max is 1000 but kernel only runs at 800.
Please help.

[KERNEL] 4.2.2 SaveEnergy K2_U/K2_UL

Code:
#include
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
FEATURES:
Based on 3.11.401.x stock kernel sources
New governors (Ondemand + MULTIPHASE, Smartmax, Intellidemand)
New I/O Sheduller (Deadline, ROW, FIOPS, SIO)
Fsync and cache optimizations
new CPU frequency table
AVS
cortex-a15 optimizations
1.674GHz CPU Overclocking and 487.5MHz GPU Overclocking (optional, separate kernel)
USB force fast charging
S2W/DT2W support
and more...
SaveEnergy K2_U/K2_UL 4.2.2 kernel ver. 1
Project stopped. GitHub
SaveEnergy K2_UL 4.2.2 kernel ver. 2
Project stopped. Link to download in the second message.
SaveEnergy K2_U 4.2.2 kernel ver. 3
Based on 3.11.401.106 stock kernel sources.
Project stopped. Link to download in the second message.
Credits:
@faux123, @flar2, @rmbq, @show-p1984, @Zarboz, @jrior001, @thicklizard - For his various kernel patches and features.
Special thanks to @rmbq, without whose invaluable assistance the process of appearance S2W we would not come to pass for a long time.
And all others mentioned on my github in contributors tab.
ver. 2
Download:
Kernel v.30 (CPU - 1.188 GHz, GPU - 450 MHz)
Kernel v.30 (CPU - 1.458 GHz, GPU - 450 MHz)
Kernel v.30 (CPU - 1.674 GHz, GPU - 487.5 MHz)
Full changelog
GitHub
ver. 3
Download:
Kernel v.20 (CPU - 1.188 GHz, GPU - 450 MHz)
Kernel v.20 (CPU - 1.458 GHz, GPU - 450 MHz)
Kernel v.20 (CPU - 1.674 GHz, GPU - 487.5 MHz)
Full changelog
GitHub
From which kernel sources is compiled?
xpirt
BrateloSlava said:
[*]...
[*]and more...
Click to expand...
Click to collapse
Does it include duoble tap to wake and sweep to wake?
Sent from my C5303 using Tapatalk
xpirt said:
From which kernel sources is compiled?
Click to expand...
Click to collapse
I'm sorry, but I'm just do not remember which source files from HTCDEV.COM I took as a basis. K2_UL - that's for sure.
J.ali.li said:
Does it include duoble tap to wake and sweep to wake?
Click to expand...
Click to collapse
No.
BrateloSlava said:
I'm sorry, but I'm just do not remember which source files I took as a basis. K2_UL - that's for sure.
Click to expand...
Click to collapse
Ok. That's enough
xpirt
Hi, I have a suggestion. Would be great if you can mod cpu frequency table and add 2xx and/or 3xx speed, there is to big gap between 162 and 432MHz. 162MHz have big Impact on performance.
Hello, I flashed your kernel but if I try to change the frequencies of the CPU as soon as I close the program back to those first, any ideas? Also i have sod
bataya said:
Hi, I have a suggestion. Would be great if you can mod cpu frequency table and add 2xx and/or 3xx speed, there is to big gap between 162 and 432MHz. 162MHz have big Impact on performance.
Click to expand...
Click to collapse
I never aimed to produce highly productive kernel. I have always striven to save energy. I specifically did overclock separate, assembly to save the source code in the github repository. To everyone could take advantage of this. I do not plan to release further overclocked kernel version.
Near710 said:
Hello, I flashed your kernel but if I try to change the frequencies of the CPU as soon as I close the program back to those first, any ideas? Also i have sod
Click to expand...
Click to collapse
I use the program TricksterMOD. It perfectly sets all the necessary parameters when starting the phone.
Link to a new version (v010) - the second message. Github will update tomorrow.
Ok, thanks a lot, any suggestions on which governor to use?
Near710 said:
Ok, thanks a lot, any suggestions on which governor to use?
Click to expand...
Click to collapse
Smartmax - for better energy saving. Ondemand - for better performance.
ADD.
If you view the my file version-2.txt - you can see that I experimented with other governor (badass, intellidemand, interactive, interactivex2, lagfree, lionheart). However, I have not noticed any particular advantages.
I also experimented with replacing mpdecision to auto_hotplug.
BrateloSlava said:
I never aimed to produce highly productive kernel. I have always striven to save energy. I specifically did overclock separate, assembly to save the source code in the github repository. To everyone could take advantage of this. I do not plan to release further overclocked kernel version.
Click to expand...
Click to collapse
You misunderstood me. I want to say that 1xx MHz is very low speed, and it is OK for low cpu task. But if you play music, or running some other task in background cpu will run on next higher speed 4xx MHz, because 1xx MHz is not enough for such task so it will use more power than if it is run on 2xx or 3xx. So if the is some cpu speed between 1xx and 4xx MHz cpu should use less power.
bataya said:
You misunderstood me. I want to say that 1xx MHz is very low speed, and it is OK for low cpu task. But if you play music, or running some other task in background cpu will run on next higher speed 4xx MHz, because 1xx MHz is not enough for such task so it will use more power than if it is run on 2xx or 3xx. So if the is some cpu speed between 1xx and 4xx MHz cpu should use less power.
Click to expand...
Click to collapse
Yeah, maybe you're right. I will try to add "a couple" of frequencies in the coming days. Although I doubt that when playing music, processor speed will be lower than 432.
bataya said:
... But if you play music, or running some other task in background cpu will run on next higher speed 4xx MHz, because 1xx MHz is not enough for such task so it will use more power than if it is run on 2xx or 3xx. So if the is some cpu speed between 1xx and 4xx MHz cpu should use less power.
Click to expand...
Click to collapse
Link to a new version (v011) - the second message.
If you are not hard - please, collect usage statistics processor frequencies when listening to music, etc.
Thanx in advance.
^Is cpu states log from BetterBatteryStates ok, or you want log from some other app?
bataya said:
^Is cpu states log from BetterBatteryStates ok, or you want log from some other app?
Click to expand...
Click to collapse
Charge the phone. Reboot. Use the usual way (listen to music, make calls, etc.). At the end of the day - to see the statistics for frequency processor. Any program, that is able to display. I'm interested to see duration of use of each frequency.
Oki, I will post cpu states at the end of the day.
BrateloSlava said:
Link to a new version (v011) - the second message.
If you are not hard - please, collect usage statistics processor frequencies when listening to music, etc.
Thanx in advance.
Click to expand...
Click to collapse
Listening to music with Spotify over WiFi CPU mostly stay on the 384MHz.
Sent from my HTC One SV using Tapatalk

[Completed] [Q] Set phone cpu maximum frequency according to cpu mabufacturer's specification

Hello. I have a rooted phone. According to the phone's manufacturer spec the maximum cpu clock is 1ghz dual core. I checked it also with kernel tuner and here is the result:
CPU MAX FREQUENCY: 1001mhz
CPU MODEL: mt6572
Now, i googled mt6572 cpu and based from mediatek, the maximum cpu frequency is 1.2ghz dual core. My question is, could i set my cpu max to 1.2ghz using kernel tuner safely, or is there a possibility that i may overclock my cpu and burn it?
Hi there,
If you don't have a custom kernel that allow overclocking you cant do that.
see this guide about overclocking: [INFO][GUIDE] Overclocking information, governors, profiles, problems, solutions, FAQ
For more questions please ask directly here:
> Android Development and Hacking > Android Q&A, Help & Troubleshooting
Good luck

Core Control

It seems like there is no way to reduce cores online on the z5.
I have tried kernel auditor but the cpu hotplug is not possible to change.
Are there anyway that it is possible to reduce cores online?
via EX Kernel Manager you should have more control
BUT since there are several other hotplug mechanisms that interfere with it (BCL [battery current limit], msm_performance and additional other ones)
it's more of a losing game since several of those kick in e.g. when the CPUs / SoC is overheating or specific conditions are met.
There are ways via kernel command line (during bootup) or via init scripts to limit cores but there's not really much difference
maybe precisely because the behavior cannot be significantly altered in that way.
The only meaningful change in battery consumption was with the EAS scheduler which behaved pretty conservatively (+ smooth !) and but also couldn't offer full performance when it was needed,
this might be due to missing HAL support or due to its experimental nature on the 3.10 kernel base

Categories

Resources