yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Every of you is welcomed to provide kernel patches, so if you are a developer or power user, feel free to send your pull request here:

GitHub - ace2nutzer/Samsung_dreamlte_Kernel: Custom Kernel

Custom Kernel. Contribute to ace2nutzer/Samsung_dreamlte_Kernel development by creating an account on GitHub.

github.com

Then i'll review your patch and if it has some benefit, it'll be merged.

Yup i know and is nothing new, but on some S8 devices the voltage is fully assigned.

[/QUOTE]

that ihave been make it but i dont know if that too low power because i calculate only adding 62500
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
How you did that ?

Any patch ?
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
Horizon gave me alot of lag, choose hades instead
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
Which light rom is best for gaming
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
Galaxy s8 light rom, just google it. I'd get 60 fps even at HDR in pubg if I'd tried it. I still get it on hades rom but light rom would've been badass if we compare.. If you have stock rom it just ok try disabling game tools, game optimization services, and goslegacy and dont forget about bloatwares.. you will be fine..
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
Btw a2n can you please give me command for increasing zram
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
AND BTW, I am using gfx tool in addition to get 60fps in galaxy s8 exynos its not originally available.Always set api as vulkan in that gfx tool
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
sure,

with latest buld it's

/system/etc/A2NKernelControl[G95x]/zram.sh val

while "val" stands for zRam in % .. range: 1 - 95.

To disable swap entirely use "0".

And with older builds it was to run zram25.sh, zram50.sh or zram75.sh.

Or edit the script like you want. (if you are a power user)
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
for me vulkan lags... open gl works well
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
can you please mention the link for light rom?
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
but wait its not necessary right since i have the full version?..i can do it by app itself
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Right. :cool:

But you still need to wipe dalvik-cache in recovery.
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
all done.. now device work normally.. btw i was using the full version of your app since 2.5v release. Thank you for your great work and support. keep up dev;)(y)
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
https://xdaforums.com/t/s8-s8-oneui-pie-jetblackui-05-apr-2020-v50-lightrom.3891294/
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
Thanks dev, actually I used this;

echo to enable > /etc/A2NKernelControl[G95x]/zram.sh <50>
[Samsung Galaxy S8 & S8+ Cross Device Development] maej72:
How would I choose the balanced profile or lower the cpu frequencies without the app?

😥
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
Init.d script is the way, but you need little knowledge for that, I also learned just week ago
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
BTW, dev my device soft reboots randomly, but its not the case when I am doing important tasks or some activities, I am actually cool with that but I would like if I get to avoid these instances.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
You guys can't fix it entirely in userspace, but you can minimize the soft/random reboots by disabling zRam like i already said.

Likely it's fully fixed in next build and MAYBE even more stable CPU OC (up to 2.8 GHz) when running benchmarks like Geekbench.
[Samsung Galaxy S8 & S8+ Cross Device Development] Luiz2004:
When you leave the Prosima version?
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
I am not patch it that just copy the file to storage and edit it
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Well, but unfortunately it doesn't make any sense if your intention was to hack GPU voltage.

Edit:

i've a big surprise for next build, OMG 😲

(i'll upload today)
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
nice dev can't wait to see it..
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Great @ace2nutzer, look forward to the new version! :cool: (y)

Now i'm back on stock rom, this kernel is perfect with stok rom it is his death, i'm doing a debloated, i wanted to ask you, can i delete everything related to knox or will i have stability problems?
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
excited for the next build and its coming todayy keep up bro thx for ur hard work!!
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
can i play games with 2.8ghz without overheat or random reboot? that would be nive
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I suggest to don't touch /system partition at all ... it can harm the whole rom if you delete some system Apps ...

More safe way is to remove all the apps you don't need , but only the ones that you see in app menu.

If there is an app that you can't uninstall, then you can rename the app in question fron /system/app from *.apk to *.apk.bak

Then after an reboot the app will disappear from app menu and will no longer use RAM or CPU.

Then check all the settings in the main "Settings" app, and only keep enable what you really need.

And finally, you can also check every settings from every app and disable settings like "allow to send debug info" It's annoying work, but it helps to reduce CPU / RAM usage a lot.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
we will see ! ;)

btw can you please reboot your phone 2 times in a row and then generate last_kmsg, add extension .txt and post here ?

It can be very useful for GPU OC update.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
yes i will do it right now
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
btw i installed a different rom
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
No problem, thanks !
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
And one question how to fill it?
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
Just dont to that 572 is enough.. chanhe threshold, cool_frequency instead and if not enough overclock cpu a little to handle background processes.. it indicated unsafe over 572 by dev.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
If I knew this, wouldn't you think I had already ?

Anyway, i give (another) try if i can hack it.

If you want to try too, you can check here:

Samsung_dreamlte_Kernel/drivers/soc/samsung/cal-if at master · ace2nutzer/Samsung_dreamlte_Kernel

Custom Kernel. Contribute to ace2nutzer/Samsung_dreamlte_Kernel development by creating an account on GitHub.

github.com

When playing games big CPU is quite important like the GPU.

Background processes (like audio) are handled by the little CPU.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
@ace2nutzer Is there a way to adjust the maximum and minimum screen brightness in the system registry?

Maybe it could be a nice feature to be included in your app soon.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Changelog

Kernel V. 2021.02.06

Fixed device heating up - this time for real ;)

CPU/GPU: added my custom (DVFS) thermal throttling driver

range: 45 - 85 °C

default: 65 °C**

adjustable temperature separately for CPU/GPU !

STABLE OC up to 2.8 GHz !! ***

Fixed random reboots - thanks @rostifaner for the hint !

Swap: added more optimizations for zRam

** Max possible performance only @ 85 °C for CPU/GPU !

*** I was able to pass Geekbench + 3DMark @ CPU 2.8 GHz / GPU 572 MHz with DVFS 85 °C

A2N Kernel Control V. 3.3

CPU/GPU: replaced "Cool Freq" (DVFS) with "Max Temperature"

Profiles: updated "Performance Plus" BIG-CPU 2.5 @ 2.8 GHz :cool:

Optimized reboot routine
[Samsung Galaxy S8 & S8+ Cross Device Development] rtyuakatsuki:
Are init.d keep functional i change something that will rollback
[Samsung Galaxy S8 & S8+ Cross Device Development] Luiz2004:
Eu instalei o novo kernel mais quando eu coloco em 2.8 ghz ele continua reiniciando

Translation: I installed the new kernel more when I put it at 2.8 ghz it keeps restarting
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
****tt best kernel ever fr!! cpu no overheat at 2.8 but gpu still isnt stable at 832mhz the rest is working fine keep up the good workk:love::love:
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
For me no reboots, I'm with 2.8 big and 1.8 little and DVFS at 65 °, and it's incredibly cool with Geekbench or Youtube on 1080p.

You DVFS set up for cpu / gpu ?
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
try gpu with 572mhz 100% sure u wont get reboot and no overheat damnnn
[Samsung Galaxy S8 & S8+ Cross Device Development] Luiz2004:
how much did you get on geekbench 5. if you took the test?
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
didnt try it but i did antutu 240000 btw ur right u get reboot if u oveclock up to 2.8

after reboot it uses max 2.3 and if i change to 2.8 it wont change but after few minutes if i try again it restarts again

maybe u didnt removethe reboot thing if phone overheats
[Samsung Galaxy S8 & S8+ Cross Device Development] JuanMat97:
Just... Wow, with overclock seems a new phone. Very fast, no reboot for now. Thanks for your hard work!! I will update to One UI 2 only when your kernel is supported haha
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
reboot reason may be the phone overheats.. i did a antutu with 2.8 and it ran perfectly with no reboots, i guess its because i used a fan to cool the device. btw i got 263,000 score
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
but mine was running with 2.3 i think.btw 2.7 runs completely fine. idk why 2.8 doen reboot
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
i just did a test again my phone rebooted after i clicked on 2.8 and then it did 3x again i wasnt even running a app but for me 2.7 is good i hope dev can fix 2.8 too keep up the good work!!
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thanks for your feedback !

While 2.8 GHz was not stable on some phones, what was your CPU GPU DVFS temp ? (That you maybe changed over full version or init.d script ?) Kernel default is 65 °C.
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
can I get init.d script parameter to increase zram for latest kernel?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
like always. .../zram.sh 50
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
I'm using horizon rom that's why the model shows as galaxy note 8.
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
My settings was,

touch boost 4000ms

Big cpu 2.8 and small 1.8 (small and big both suspend 2.8 and 1.8 respectively)

Cpu dvfs 85c and threshold for performance

gpu 572 and threshold performance

Gpu dfvs 85

Zram 75
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
So around 262k ...

And how much it was on previous build with standard OC 2,5 GHz ?
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
ok dev boss, and you nailed it totally this time.. RIP both S9 and S10..
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
does 'zram.sh 50' means,

"echo > /system/etc/A2NKernelControl[G95x]/zram.sh 50" in init.d script

cause it just changes zram.sh to text showing only value "50" in it.
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
and when that happens zram is not shown in hardware info application, what is meaning of this, does it means my script failed?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Don't do echo to zram script .. it will kill the whole script ....

Now restore the script or reinstall the kernel.

Init.d scripts are applied only once after boot is completed.

You only need to run the script and to pass the right value to the script..

Only one line:

/system/etc/A2NKernelControl[G95x]/zram.sh 50

Then with Terminal App check the swap size:

free -m
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
exact same setting why do i get reboot and might it be cuz of rom i am using jetblackui
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Try with cpu gpu dvfs 65 if it still reboot .. if yes then your cpu can't handle 2.8 GHz.

Otherwise try to find out stable dvfs temp.

Let me know please.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
why though
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
so higher then 65? cuz i have 85c on right now
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
i did what u said (65). it worked but at 80% of benchmark test my phone restarted.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
I have these settings and since yesterday I have no reboot:

Cpu Big 2.8 Little 1.8

Dvfs 60°

up threshold 85

Increase sampling rate on

Gpu

572ghz

Up threshold 90

Dvfs 60°

Zram off.

general usage is very smooth, battery drain is acceptable, and I can complete geekbench (4) without problems, our dev did a great job.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Note the single core score similar to the S9 Snapdragon 845
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
i try to put zram off
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
OK then your CPU can't handle it.

Youl will get highest speed with CPU GPU DVFS at max (85) and CPU at 2.7.

Since it is not a thermal issue but voltage, you can (for now) forget the 2.8 GHz step. Otherwise i could fix it easily.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yeah :D and notice that this new DVFS driver is just initial version... that means it's still possible to gain more speed ... especially multicore score ...

It's actually somewhat lower as usual because it's very conservative and fail safe coded. Also 85 °C is not the max stable temp ... during my hardcore tests the phone was stable till 115 °C CPU temp ...

At 120 °C it rebooted or geekbench simply died.
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
shtt nicee but please fix it i want try gaming with it and my phone doesnt even overheat cuz of the recent build it doesnt go above 35C so i dont know where the reboot is coming from keep the good work
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I have already told you .. it's voltage issue and i said for now we can forget because voltage + freq table is not in kernel source, it's in an extra chip in the phone and can't be changed. Or better say, i'm maybe able to read the content of this chip, manipulate and to bypass to the kernel .. but the problem is we don't have the source code and if i download the data of that SRAM chip, the content is just binary ....

I was able to fix 2.8 GHz because the freq and voltage was already unlocked i.e already hardcoded in that SRAM chip and the reason why it rebooted before was because it overheated when all 4 cores was running with 100 % load which was the case in geekbench 5 when running CPU bench and the level of the test reached 50 %.

Till 50 % only one core is used ...

And since thermal throttling driver is in kernel which we have source code .. i was able to optimize.

Same for GPU .. its max is 572 MHz ...

And so far i can't find a benchmark that is really able to push all the 20 GPU cores to 100 % load at 572 MHz ...

Because temp doesn't go higher than 85 °C while running 3DMark sling shot extreme with vulkan api.

Maybe antutu 3D bench is able to cause more load / heat ?

Actually i've only 3DMark and geekbench 5 installed .. i can't find antutu im playstore anymore .. they deleted it ?
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
It has been removed from google

download it from here:http://www.antutu.com/en/download.htm
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
Spoiler content hidden.

Incredible score in GPU compute, close to S10 Mali G76(17300) !!

Do you guys really want more? :cool:
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
oh i am stupid i didnt read it while thinking but now i understand thankss
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
yeah may be.. try using light rom or horizon rom and remove the apps that u are not using via a app which have root access, i only have 180 apps + system apps most of them are removed.

Use a app to force stop the apps which are running in the background and 2.8 might be stable for you.

Applications I used (can get them on playstore)

*Force stop apps

*System app remover
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
seems you are using the maximum screen resolution on the device (2940*1440) . I remember once i got 10k less points due to that. So use FHD+ and see. According to the screenshot I see there are some apps which are running on the background (Ex- Instagram).. Try fixing those minor fixes and u will get better scores
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
i am on lightrom and i tryed force stopping all apps, i guess its like dev said voltage problem or something
[Samsung Galaxy S8 & S8+ Cross Device Development] God's Bro:
alright (y)
[Samsung Galaxy S8 & S8+ Cross Device Development] predict9:
yoo bro can you put minumum cpu freq back? when i am outside my game my cpu stays at 2.7GHz, and wheni got on the game it gets down 2.4 or locks automatically up to 2.3 max keep up the great work
[Samsung Galaxy S8 & S8+ Cross Device Development] Kratos574:
I have tested the new update for this kernel, It has improved a lot regarding to random reboots and the device heating up, but regarding to performance even trying to overclock the device is still laggy on gaming and as well on the device daily usage it slutters a lot, I have tried it with stock rom and it performs even worse than the stock one
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
Here is my Geekbench 5 scores. After I finished the test and reverted to the stock clock, it reboot itself lol.

but other than that it works just fine :)

Thank you for making such a good kernel! Keep up the good work!
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
They are however excellent scores, especially in single core, which is more important than multi in daily use.

I advise you to stay in 2652ghz as max frequency, it is stable and definitely won't have more voltage restarts.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
With which custom rom have you tested the kernel?

I honestly disagree, for me this kernel is 10 times better than the samsung one, for speed in everyday use.
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
Thanks for the advice, I will try that.
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
you need to change temperature if you want to reach that frequency, if you only change frequency and not the temperature, the clicn will stuck at the frequency where it generates optimal temperature (65°) and will not go over that frequency, yeah it will indicate 2808 as max.
[Samsung Galaxy S8 & S8+ Cross Device Development] pranil60:
increase the max temperature for cpu and gpu that is more than 70, I would suggest 80° for gpu with 572 and 75 for cpu at 2574mhz. I overclocked frequency with stock temperature I also found some lags( notes to be taken dev ) but when I increased the temperature I reached required frequency at given performance... when you want to get performance you may have to let device heat up a little that's the point of new kernel btw
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
With stock temp 65, 2.8 GHz works too .. but only if temp is not higher than 65 .. once it's higher it'll reduce freq step by step in order to not go over 65 °C.

So it's all right ... higher temp = higher performance.
[Samsung Galaxy S8 & S8+ Cross Device Development] bntnja:
Yes, I have already set the temperature of both CPU and GPU to 85 deg c since I live in SEA.
[Samsung Galaxy S8 & S8+ Cross Device Development] Adbnpk2013:
whats the setting for achieving best battery life ?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Increase "up threshold" .. "disable boost" ... "increase sampling rate" ...

Always in both cpu and gpu.

Set suspend freq as suggested in app.

And disable touch booster by setting from 4 ms to 0 ms.

In Addition you can also set "balanced" or even "power save" profile. This gives you best battery life.
[Samsung Galaxy S8 & S8+ Cross Device Development] Adbnpk2013:
thanks , will try
[Samsung Galaxy S8 & S8+ Cross Device Development] MUNISH MONGA:
How to disable touch boost via terminal command??
[Samsung Galaxy S8 & S8+ Cross Device Development] Adbnpk2013:
can anyone share init.d code line for power save profile ?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
It's not only one line ... lol
[Samsung Galaxy S8 & S8+ Cross Device Development] sunyakram:
Good kernel, smooth like butter.

But i don't understand demo app installation, when i can't change anything with it, so what's the purpose of demo app.

At least make half of options changeable with demo app.

Thanks
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Thanks !

It's read-only in order to not interferere with full version. Even if you have the full version you can keep demo app installed without problems because in demo app there is ability to easily provide logs in debug menu .. which is missing in full version because Google doesn't allow that. Even the fact that both full and demo app doesn't collect any private data, even not app usage statistics.
[Samsung Galaxy S8 & S8+ Cross Device Development] Devil90:
The cost of the full app is the least we can do for our big dev! (y)

It also allows for intuitive and fast control compared to other kernel managers.

Ps @ace2nutzer I asked you a question about the brightness some time ago, it's in the post #1521, maybe you missed it thanks.
[Samsung Galaxy S8 & S8+ Cross Device Development] :
Ok, so here are all the settings I applied in kernel settings:

- Set CPU governor to interactive and tune it like Ace 2 :rolleyes:

- Disable Samsung HotPlug (as CPU have BIG and LITTLE core) and set voltage on both core down all to -100mV

UPDATE: seems like disabling it cause more battery drain :(

- I/O scheduler: deadline (tune it again)

- I don't know how to set virtual memory and LMK. As I think value on Ace 2 do not compatible with J7 Pro.

- Disabled vnswap with Magisk tweak

What about entropy? I never heard about it...
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Yes, if u don't know, quick answer: keep the default.

Google is your best friend. :highfive:
[Samsung Galaxy S8 & S8+ Cross Device Development] Redbloodedrose:
Any hdmi adapter dex mode not working. Only mirror mode. I got s8+ g955f. Car hd rom. Anything else is ok.
[Samsung Galaxy S8 & S8+ Cross Device Development] :
[MENTION=5840412]ace2nutzer[/MENTION] After applying interactive tunable from Ace 2, now CPU always in max frequency, BIG core never shut down. That caused a lot of battery drain... :( :crying:
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
What's the default/used min_cpu_freq for both cpu's ?

Is it 2 x Quad-core?
[Samsung Galaxy S8 & S8+ Cross Device Development] rajkabul:
[MENTION=5840412]ace2nutzer[/MENTION] is there any progress for volte fix?
[Samsung Galaxy S8 & S8+ Cross Device Development] :
I noticed that after set hispeed_freq to 0, after a while it automatically turn to max freq.

From that the CPU always run at max freq. :(

Default min cpu freq is 343MHz.

Yes my CPU have one LITTLE quad core and one BIG quad core.

And I can't change timer_rate to 3333. It returns to 10000.