Exynos CPU & GPU control problem - Galaxy Tab S2 Q&A, Help & Troubleshooting

I'm having a problem controlling the cpu clock speeds.
So, I know the exynos is a big.LITTLE octa core processor, and thus has a big and LITTLE core.
When I underclock the LITTLE core, the frequency sticks, and the LITTLE cores all stay at the clock speed that I set.
However when I underclock the big core, the cpu frequency resets itself after a certain period of time.
Also, I can't find ANY app that supports underclocking of the Mail GPU, which is a big battery hog...
I am using the permissive kernel in jafangie's deodexed rom for T715Y
Is this a kernel problem? Do I need a custom kernel to control the CPU properly?
Any suggestions would be appreciated...

Flash a 5.1.1 ROM and use the NN-J kernel. Then you can tune all the CPU parameters, including disabling some of the "big" cores. GPU tuning ATM is not possible, but the developer of the NN-J kernel is very active, so stay tuned...

hasenbein196601 said:
Flash a 5.1.1 ROM and use the NN-J kernel. Then you can tune all the CPU parameters, including disabling some of the "big" cores. GPU tuning ATM is not possible, but the developer of the NN-J kernel is very active, so stay tuned...
Click to expand...
Click to collapse
Thanks for the advice! I will try out the custom kernel you mentioned once I can get 5.1.1 on my device.

Related

[Q&A] [KERNEL][D5803&D5833] AndroPlusKernel

Q&A for [KERNEL][D5803&D5833] AndroPlusKernel
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [KERNEL][D5803&D5833] AndroPlusKernel. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Thanks
Very nice kernel, fast and smooth - great work and port.
Anyone knows if it's possible to use any third party kernel app to boost the headset volume?
Working
Hi this is my first post, infact I joined so I could report my findings.
I would just like to confirm so far that V5 working on my Z3C using the .93 firmware. I didn't need to wipe cache/dalvik/data partitions either.
For purposes of settings configuration, I'll be using TricksterMod
For stress testing purposes I'll be using Stability Test 2.7
Overclocking
Overclocking seems to work, I'll stress test and report back with the results.
I was wrong, it is unstable when overclocking and stress testing, with the phone force rebooting 1-5 seconds in to the stability test which loaded all 4 cores. Tried 2899Mhz and 2880Mhz (were both unstable and didn't try 2.72, 2.75, 2.57 either - I might try stability testing them.) Was completely stable at 2.47GHz, and it actually stuck there, no throttling in place! I stopped the stress test when the CPU temp was around 77-80C as my hand was getting burnt! The battery temp reached about 46C. It took 10 mins of stress testing for this to be reached. When the stock kernel was in place it would begin throttling after about 1-20 seconds under full load. First 2.2GHz, then 2 then 1.7 then 1.5 and eventually 1.25 after about 2-4mins.
I couldn't do a single core test though. I suspect as most games use single core or dual cores it wouldn't get overly hot.
My opinion is that fast clocked phones should be marketed with 2 speeds. The highest it'll reach under a boost mode (turbo for Intel's i5 and i7 series), and a slower speed that it'll average out at under thermal pressure. The Z3Cs would be turbo: 2.5GHz and normal: 1.5GHz.
Governors
These are quick tests I'm performing here to provide a quick look at responsiveness and potential unnecessary CPU jump ups.
Wheatley - most of the time it's hovering at top speed when approx CPU usage is 9%, it'll occasionally hunt down to 300Mhz but then right back up to 2899MHz. This one is speedy though. Governor tunables available.
Lagfree - idles at 300MHz - 960MHz then hunts up to 2.2-2.9Ghz when needed and turns on the second core. It seems to slow back down to idle. This one seems to have fast scrolling, sliding notifications pane quickly). No governor tunables.
SmartassV2 - idles at 300Mhz, speeds up to 422-960 on core 0, and turns on core 1 at 1.2-1.5GHz for a few seconds under fast scrolling and notification pane opening. Seems quite responsive. Probably good for battery life hopefully with the responsiveness of Interactive. No governor tunables.
Lionheart - Idles at 960 MHz for a few seconds then slows down to 300MHz with the odd increase to 729MHz. Core 0 and Core 1 reaches 1.26GHz under scrolling, notification pane opening. As fast as the others. Governor tunables available.
Hotplugging
Intelliplug appears to work better than MP-Decision - now only one core is on during idle, instead of 2.
MP-Decision was disabled to avoid conflicts.
Undervolting
I've only undervolted 300MHz to 675MHz from 775MHz as of writing this post.
Tried quickly undervolting in trickstermod by setting them all about -75mV, stability tested it, appears stable. I'll tweak the voltages a bit better when I do a scaling stability test.
Issues I've experienced
Sound Control is the only thing so far that causes a reboot. However music still plays over the speakers and headphones. Equaliser works too.
Upon rebooting, the CPU top speed will set itself to 2.2GHz, despite being set higher and saved at a higher speed in Trickstermod. Certainly trivial though.
Strange thing I've noticed: On the undervolt part I've noticed that there is a freq called 3033MHz, but no 2899MHz freq. Just an observation.
Misc
Force Fast Charge confirmed working! Before flashing new kernel charge went up 5% in about half an hour. It's now up another 5% in a matter of 5-10mins. This is when plugged to my PC.
Vibrator strength - set to 20 from 31, much quieter on table and can still feel it.
I'd like to say a huge thank you to DooMLoRD and AndroPlus for developing this stable kernel. Now my Z3C is worth the £28 a month I'm paying for again. Since this silly lad decided to bork the camera, Bravia functionality etc by rooting it on the first day. I'll report back and edit the post with my findings.
Max won't go beyond 2.266 GHz, Min won't change.
Hi All,
Firstly, great job with the kernel. Our Z3C is such a capable piece of kit and this just makes it that much better.
I'm running stock, 23.0.A.2.93, unlocked, rooted.
Problem:
I've tried using both SetCPU and No-Frills and while both show frequencies that are supposedly selectable above 2.266 GHz, neither app would actually respond. Meaning the max frequency will still only be 2.266 GHz even if I tried selecting something like 2.458 GHz (which should be selectable given that stock is 2.458 GHz.) See caps.
In addition, the Min value just won't change at all from 300 MHz. The frequencies scale up and down as the load changes but I can't raise the Min (again using both SetCPU and No-Frills) from 300 MHz.
Tried: I've tried turning off stamina mode and frozen apps that could control CPU activity (e.g. I use DS Battery Saver). I changed up Governors and Schedulers. I've tried re-flashing the kernel and it still doesn't change these behaviors.
Question/Need help: Just wanted to ask if anybody else have any problems setting the max frequency beyond 2.266 GHz and/or changing the minimum frequency from 300 MHz? Would appreciate any help resolving this behavior.
Thanks in advance!
pjmanalo said:
Hi All,
Firstly, great job with the kernel. Our Z3C is such a capable piece of kit and this just makes it that much better.
I'm running stock, 23.0.A.2.93, unlocked, rooted.
Problem:
I've tried using both SetCPU and No-Frills and while both show frequencies that are supposedly selectable above 2.266 GHz, neither app would actually respond. Meaning the max frequency will still only be 2.266 GHz even if I tried selecting something like 2.458 GHz (which should be selectable given that stock is 2.458 GHz.) See caps.
In addition, the Min value just won't change at all from 300 MHz. The frequencies scale up and down as the load changes but I can't raise the Min (again using both SetCPU and No-Frills) from 300 MHz.
Tried: I've tried turning off stamina mode and frozen apps that could control CPU activity (e.g. I use DS Battery Saver). I changed up Governors and Schedulers. I've tried re-flashing the kernel and it still doesn't change these behaviors.
Question/Need help: Just wanted to ask if anybody else have any problems setting the max frequency beyond 2.266 GHz and/or changing the minimum frequency from 300 MHz? Would appreciate any help resolving this behavior.
Thanks in advance!
Click to expand...
Click to collapse
Try installing TricksterMod (from Google Play store, trust me, you'll love it!) Then go to General and set the max speed to 2.46GHz or higher, and try using the Ondemand Governor too. I noticed that it wouldn't stick properly sometimes when using Interactive governor. If it doesn't stick for you then turn Frequency Lock on. Then check in the info tab that it's hitting the higher speed. Personally I'd recommend leaving the min speed on 300MHz. If you need constant high speeds, select the performance governor.
DBCJoey said:
Try installing TricksterMod (from Google Play store, trust me, you'll love it!) Then go to General and set the max speed to 2.46GHz or higher, and try using the Ondemand Governor too. I noticed that it wouldn't stick properly sometimes when using Interactive governor. If it doesn't stick for you then turn Frequency Lock on. Then check in the info tab that it's hitting the higher speed. Personally I'd recommend leaving the min speed on 300MHz. If you need constant high speeds, select the performance governor.
Click to expand...
Click to collapse
Thanks! That did the trick!
Odd that my usual app for the job across 4 other phones - SetCPU - doesn't work on what should essentially be the same job. [emoji55]
Please make sound_control drivers work so its possible to boost headphone volume on the Xperia Z3 Compact... Thanks
Nice work, a lot of updates I like it!
Is it possible to add a change log?
Thanks!
kernel for d5803 with the .93 but not .105
i search a kernel for the d5803 with the last .93 french version of phone
.5.77
Works great! Thanks a lot
Link for Z3C_D5803_AndroPlusKernel_v10.zip is dead
Pls upload in another location.
Yay sound control is working, thank you so much you're the best!
How to make this?
Hi AndroPlus,
I'm trying to figure out how one would go about building this boot.img that you've created.
What platform and compiler are you using?
Where are you getting sources the for the kernel? This file?
c9af6fc647060fb85dd646798453ec8f 23.0.A.2.105.tar.bz2
How do you construct boot.img from zImage + recovery?
Sorry if these are dumb questions.
Edit: never mind, I figured this out.
http://developer.sonymobile.com/kno...evices/how-to-build-and-flash-a-linux-kernel/ contains most of the information I needed.
The arm version of gcc that ships with Ubuntu 14.04 worked fine - arm-none-eabi-gcc (4.8.2-14ubuntu1+6) - no need to track down any mystery binaries. I did have to make several modifications to the kernel source to get it to build. Interestingly, some of the cpufreq stuff contained code that was incorrect. Someone at Samsung needs to go look up what "sequence point" means.
The hardest part was figuring out how to turn the zImage + ramdisk into something I could boot.
This: https://github.com/sonyxperiadev/mkqcdtbootimg was the correct tool to use - again, no need to track down any mystery mkbootimg or dtbTool binaries.
Hope this is helpful to someone. As someone new to Xperia dev, I found most of the information out there worse than useless.

Overclocking htc one m7

dear modders
i just want to say i overclocked my htc one m7 cpu from 1.7ghz to 2.1 GHZ
with a custom kernel called ElementalX-m7-22.3-Sense
is this save can the phone run this without any stability issue's or shall i downclock it to 1.9
i use M7_Sense7_artmod_10.0 rom Lolipop 5.0.2 with sense 7 cause this is the only one without any bugs like no sound when you got called or sms sound's no boot sounds
i fixed my boot sound anyway on this rom
so my question is wont my phone be fried by this overclock cause i saw in the aroma installer that it can be overclock till 3 GHZ
greets Rubenownz
Overclocking the CPU in any system usually results in 2 main things:
a. Significantly shorter battery life.
b. heating issues.
sometimes (less frequently) you might experience a crash and fc here and there.
So yeah, it won't be all rainbows and butterflies.
PS: you probably won't reap the benefits of your now overclocked CPU without an app like no frills CPU or kernel Aduitor. Your device's performance isn't just about its CPU frequency, there's the min Max frequency your system is allowed to utilize, the CPU governor, and the I/o scheduler..
and
PPS: don't and I repeat DO NOT go anywhere near 3 GHz.
good luck.
I'm runnimg 2.1 Ghz OC for over 2 years without any issues. I would like to note that 2.1 Ghz on Elemental was not too stable for me, so I ran that on 2.0 Ghz. Anyway - i don't have any issues with my kernel, no overheating, battery lasts 100% same as stock frequency, no reboots, everything works as it's ment to work. If you really want to run on that frequency, make sure you set your voltage table to match your CPU clocks. Undervolting is not a good idea on such high clocks, so you might want to raise your voltages for higher frequencies a bit
monrokhoury said:
Overclocking the CPU in any system usually results in 2 main things:
a. Significantly shorter battery life.
b. heating issues.
sometimes (less frequently) you might experience a crash and fc here and there.
So yeah, it won't be all rainbows and butterflies.
PS: you probably won't reap the benefits of your now overclocked CPU without an app like no frills CPU or kernel Aduitor. Your device's performance isn't just about its CPU frequency, there's the min Max frequency your system is allowed to utilize, the CPU governor, and the I/o scheduler..
and
PPS: don't and I repeat DO NOT go anywhere near 3 GHz.
good luck.
Click to expand...
Click to collapse
ok mate
yeah i could raise also min clocks might turn that a noch up
just was wondering if it was possible without any harms
there are now on 384mhz 1 core is always active and 3 others are sleeping aid64 tells me
the temps are now 29 celcuis for 2.1 ghz
donkeykong1 said:
I'm runnimg 2.1 Ghz OC for over 2 years without any issues. I would like to note that 2.1 Ghz on Elemental was not too stable for me, so I ran that on 2.0 Ghz. Anyway - i don't have any issues with my kernel, no overheating, battery lasts 100% same as stock frequency, no reboots, everything works as it's ment to work. If you really want to run on that frequency, make sure you set your voltage table to match your CPU clocks. Undervolting is not a good idea on such high clocks, so you might want to raise your voltages for higher frequencies a bit
Click to expand...
Click to collapse
yeaah the kernel has those options in aroma installer it set it safe i ques
ill post later some picture's of what ive been doing
good nites
here are some pictures of my sense 7 5.0.2 android system dump of htc one m9 for htc one m7 xD overclocked
some temps and cpu tweaks and ofc of the system (dont mind about the girl on the screenshot its my girlfriend not me iam a boy
btw i removed phone number on call menu cause it's private
Greets Rubenownz

Its any chance to make all 8 cores working?

Its any chance to make all 8 cores working?With root and some script will be possible?
They do under heavy loads. A57s pressure the battery so much and heat without cooling if work continuously. I heard A73s work continuously like A53s.
@Oveana cores got disabled on nougat and that's true!! We can't deny this!! Enabling 6 cores by default as in MM would be soo great or leaving a toggle to enable device performance to use 6 cores is a better idea which we CAn expect in future updates!!
Still no solution??
@Pwruser Its verry annoyng ,SONY DO THE WORST work ever and a fraud Maybe devs can modify kernel to make all cores to work
Get back to MM!! That's all u can do for now....Or flash a custom kernel If u r not on warranty!!!
Big cores work like mm
https://ibb.co/geGYiv
All cores are working with my Sony Z3+ with Nougat .376. By default, only 4 cores run with min frequency, other cores will start running only if there is load, it is for saving battery. You can check with "Kernel Editor" app (rooted only).
flash androplus kernel and enjoy 8cores!
@yxtl there's your answer,
also: having all 8 cores active on max performance lets the device run into thermal limit FAST,
thus ==> lots of throttling, performance goes down, lower than snapdragon 808,
do you REALLY want that ?
Just observe what the big cores do once you raise load on the device ...
And that changes things exactly how ?
Explain ?
Is there a difference in behavior of hotplug ?
(I'm curious)
Thx for answer I run some testes myself ,and A57 cores are not complete disabled ,just need more pressure to work,I asked to sony support and i got same answer

[QUESTION] not all CPU cores are online.

I have noticed that CPU 0 to 4 are always online but CPU 5, 6 and 7 are offline. Infact always offline.
I want to turn them on too. I knw the CPUs are offline to save battery life but I would like to manually turn them on or off.
The kernel adiutor app reverts the settings back to default for some reason. I guess this is the kernel issue. If so, then please suggest a kernel that would allow me to maximize my device performance.
Currently I'm running MIUI pro 9 v7.12.18
With Illusion kernel V3.0 for eUI, MIUI
rooted using magisk latest
No xposed
That's not an kernel issue, that's what big.Little CPU does. The a72 cores are always offline and only works when needed.
sydtek said:
That's not an kernel issue, that's what big.Little CPU does. The a72 cores are always offline and only works when needed.
Click to expand...
Click to collapse
Thanks for your reply.
But 3 out of 4 bigger cores in my phone does not turn on even during heavy loads. That's why I asked this question.

Any overclocking kernels?

Are there any overclocking capable kernels for the A71? Preferably that also support GPU overclocking and a way to set maximum SoC temperature.

Categories

Resources