[KERNEL][EXYNOS][ThundeRStormS for Samsung Galaxy S20 series - Exynos only]

Search This thread
Any tips for battery saver on the ThunderRS app? Should we put schedutil for all? I don't have more than 4H SOT on my S20+ and I really regret that I've bought this device :(

1642528249280.png
 

nalas

Senior Member
Nov 19, 2012
1,446
1,232
Poland
No apps is draining, I've looked on the stats and are totally fine...I think I need to downclock my cpu cause I'm not gaming, but idk what are the frequency for this..
Untap Apply on Boot in cpu settings and restart the phone or reset ttweaks data app and restart the phone. If you didnt change anything in initial scripts in init/hw folder so will be at default settings.

E.g. usege with default settings and wifi on, white theme and brightness at 50%.
About 12% per 1hr screen on wifi on and 0.5% in deepsleep - screen off and wifi off.
 

Attachments

  • IMG_20220119_112433_820.jpg
    IMG_20220119_112433_820.jpg
    70.9 KB · Views: 47
Last edited:

Bunsenbrenner

Senior Member
Jan 11, 2016
144
32
Black-Forest-79
On default is not optimal, some developers have pre-set the optimal settings at that time. Can you do the same with Thunder Tweaks ?

If not: can you please share your settings with us ?

Thanks, your work is great (y)



@robi101012981
Your consumption is also strongly dependent on your provider and their network expansion. If you are often in areas where there is poor reception or the phone has to switch a lot between 3g and 4g, you have a high battery consumption regardless of the kernel settings.

In Germany already have many transmission towers that save energy. We are slowly switching off 3g because it also consumes a lot of power.

CPU you can take energy_step
 
Last edited:

nalas

Senior Member
Nov 19, 2012
1,446
1,232
Poland
On default is not optimal, some developers have pre-set the optimal settings at that time. Can you do the same with Thunder Tweaks ?

If not: can you please share your settings with us ?

Thanks, your work is great (y)



@robi101012981
Your consumption is also strongly dependent on your provider and their network expansion. If you are often in areas where there is poor reception or the phone has to switch a lot between 3g and 4g, you have a high battery consumption regardless of the kernel settings.

In Germany already have many transmission towers that save energy. We are slowly switching off 3g because it also consumes a lot of power.

CPU you can take energy_step
Im on default, pre-sets sre in system/etc/init/hw/kernel.sh.
 
  • Like
Reactions: Bunsenbrenner

mmichaell

Member
Nov 12, 2010
13
2
Rotterdam
I have a problem with the ROM, I think.
It looks like the system is automatically refreshing itself continuously.
Even when I lock the screen, it keeps pop the screen up. Only when I unlock and lock it again, then the screen turns of, until I open it again then the same problem continues.
Also with certain apps with fingerprint unlock, can't unlock because it keeps refreshing quickly.
Anybody else has this problem and/or know how to fix this?
Got the Galaxy S20 G981B, with magisk 23016, ThunderstormKernel. (will post this also at the Beyondrom topic)

Thanks in advance!
So I Attached a short screen record clip, it happens while being on my phone, but also when the phone is on lockscreen it keeps waking up...
Hopefully somebody has the solution for me!
 

Attachments

  • Screen_Recording_20220119-193129_Accessibility.mp4
    8.1 MB · Views: 0

mmichaell

Member
Nov 12, 2010
13
2
Rotterdam
So I Attached a short screen record clip, it happens while being on my phone, but also when the phone is on lockscreen it keeps waking up...
Hopefully somebody has the solution for me!
Got it, FINALLY!

Apparently I'm Settings - Apps - Special Accces - Appear On Top, the app I use 'Pabbl' which uses lockscreen as swipe didn't work with it... Turned it off, and lockscreen worked as normal!

BUT! The above screenrecord video, it still does that sometimes with some apps(with fingerprint unlock) and random refreshing. Hope that it is a setting as well..
 

nalas

Senior Member
Nov 19, 2012
1,446
1,232
Poland
Got it, FINALLY!

Apparently I'm Settings - Apps - Special Accces - Appear On Top, the app I use 'Pabbl' which uses lockscreen as swipe didn't work with it... Turned it off, and lockscreen worked as normal!

BUT! The above screenrecord video, it still does that sometimes with some apps(with fingerprint unlock) and random refreshing. Hope that it is a setting as well..
Idk but it looks like some rom problem...any debload or changes? Maybe was some wrong with wipe dalvik & cache or was dirty flashed rom. But doesnt look to kernel related.
 
  • Like
Reactions: Bunsenbrenner

fmaorui

Senior Member
Jun 2, 2012
63
21
Help everyone..
Trying to play this GPU intensive game - FF7 final soldier.

The game is slightly laggy at 572mhz at max settings but perfect at 800mhz stock kernel.

GPU freq capped at 572mhz no matter what I tweak.
Set min 800mhz, disabled kernel power saving, gpu dvfs all didn't work.

Cycled each and every gpu governer and disabled any and every battery saving option I could possibly find in all Thundertweaks categories, still didn't work.
Restarted phone upon every setting change still stuck at 572mhz.

Though maybe it was a cpu bottleneck and mazed cpu. Still capped at 572mhz. It should be scaling to 800mhz.


Running this with BR4.0. At this point I'm afraid it could be incompatibility or bug on kernel or rom side.

Stock kernel the GPU scales properly to 800mhz though.

Any ideas greatly appreciated as this is a fantastic kernel and I don't wanna revert to stock
 

Attachments

  • Screenshot_20220121-073703_ThunderTweaks.jpg
    Screenshot_20220121-073703_ThunderTweaks.jpg
    99.9 KB · Views: 30
Last edited:

Mucky2

Senior Member
Jan 7, 2013
439
83
Can I flash the kernel on my unrooted Stock? I'm on latest A12 UL7 with Stock recovery
 

nalas

Senior Member
Nov 19, 2012
1,446
1,232
Poland
Help everyone..
Trying to play this GPU intensive game - FF7 final soldier.

The game is slightly laggy at 572mhz at max settings but perfect at 800mhz stock kernel.

GPU freq capped at 572mhz no matter what I tweak.
Set min 800mhz, disabled kernel power saving, gpu dvfs all didn't work.

Cycled each and every gpu governer and disabled any and every battery saving option I could possibly find in all Thundertweaks categories, still didn't work.
Restarted phone upon every setting change still stuck at 572mhz.

Though maybe it was a cpu bottleneck and mazed cpu. Still capped at 572mhz. It should be scaling to 800mhz.


Running this with BR4.0. At this point I'm afraid it could be incompatibility or bug on kernel or rom side.

Stock kernel the GPU scales properly to 800mhz though.

Any ideas greatly appreciated as this is a fantastic kernel and I don't wanna revert to stock
yes, idk why... Ive changed balanced to max - sensing mode - maybe this is it - i will try set it back to balanced:

in exynos9830.dts file for temperature behavior - maybe max makes max freq capping - I will try - min :)

I.ve made test one with min value - if You want PM me on TS telegram group.
[email protected] {
compatible = "samsung,exynos-tmu-v2";
reg = <0x00 0x100a0000 0x800>;
interrupts = <0x00 0x1df 0x04>;
tmu_name = "G3D";
id = <0x03>;
sensors = <0x3d>;
sensing_mode = "max"; // <balance> min max
#thermal-sensor-cells = <0x00>;
phandle = <0x17f>;
};
 
Last edited:
  • Like
Reactions: fmaorui

fmaorui

Senior Member
Jun 2, 2012
63
21
yes, idk why... Ive changed balanced to max - sensing mode - maybe this is it - i will try set it back to balanced:

in exynos9830.dts file for temperature behavior - maybe max makes max freq capping - I will try - min :)

I.ve made test one with min value - if You want PM me on TS telegram group.
[email protected] {
compatible = "samsung,exynos-tmu-v2";
reg = <0x00 0x100a0000 0x800>;
interrupts = <0x00 0x1df 0x04>;
tmu_name = "G3D";
id = <0x03>;
sensors = <0x3d>;
sensing_mode = "max"; // <balance> min max
#thermal-sensor-cells = <0x00>;
phandle = <0x17f>;
};
More info for u-

I've managed to force 800mhz by having thundertweaks in the foreground. It ONLY persists when in the foreground. If running in background, it reverts to a lower frequency.

However, when the game is ongoing, while the gpu is at 800mhz, the usage is at 20 or 30%, and as a result, the game still lags.

Very interesting.

Summary:
1. No persistence in GPU mhz unless foreground, other settings have persistence

2. GPU usage suspiciously low, not utilizing 100%. Either game programming is not optimized or kernel bug not sure.

--
I think OK to keep at balanced cos it really helps with the SOT and I don't wanna sacrifice batt life for 1 game. But would be awesome if able to reliably scale mhz on demand. Do pm me ur discord handle(preferred cos my telegram is always greenified) and I can help test for u:) keep up the good work dude

On the other hand bug could be on samsung kernel issue and nothing u can do about it but wait for next release, cos oneui4.0 still new af
 

Attachments

  • Screenshot_20220122-033801_FF7FS.jpg
    Screenshot_20220122-033801_FF7FS.jpg
    922.7 KB · Views: 20
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    On github is free version updated to OneUI 4.1.
    You can compile it and use....
    1
    I have used it since sep.2021 for s20+ and also since s10+. You can read yourself #5 :ROFLMAO:

    That's long enough to say that the kernel on s10+ and 20+ is no different from stock kernel with OneUI4.1

    And since then you have no Thundertweaks settings told us or supported here or released already with settings that the kernel will be better than stock Kernel Samsung

    I have compiled your current kernel on GitHub and it is no different than the kernels you have been releasing latest for 20+here.
    1
    Just don't buy this sh**.... It's not worth it. Also it's not legal to sell a kernel. GPL 🤔😏
    1
    Its sad that i have to pay for kernel. I used it a long time and i was very happy with it. But ok run stock kernel now.
  • 16
    ThundeRStormS Galaxy S20 Exynos family for OneUI Q/R/S
    SM-G980F, SM-G985F, SM-G981B, SM-G986B, SM-G988B


    Compatibility notes :
    Only for Android OneUI Q/R/S roms S20 Exynos family ROMs
    AOSP is not supported !!!


    Kernel features:
    - Linux 4.19.87
    - Samsung source DEVA9
    - Android 11 - OneUI 3.1 (to TS v1.8) / Android 12 - OneUI 4 (from TS v2.0)
    - TTL Filter ON
    - 64k TCP IP Window
    - some debugs off
    - USB serial added
    - Samsung MTP ON
    - Zmalloc page mapping OFF
    - Wakelocks added
    - Powersuspend 2.0 support
    - Wireguard support
    - Boeffla wakelocks added
    - powereffcient workqueue support in CPU section
    - CRC support in MISC section
    - Fsync support in MISC section
    - Geantle Fair Sleepers support im MISC section
    - Frandom support
    - Support File Blocker for some tune apps
    - OC big CPU at 3016 MHz and Mid at 2600Mhz
    - DTS (Device Tree Blob) for temperatures and OC, etc.
    - I/O schedulers improvements
    - CIFS and NTFS partition support
    - disabled some Samsung security and FIPS
    - Battery Store support
    - Linux source improvements
    - Added CPU tick 25 and 50 Hz - default set at 50 HZ
    - Support Init.d scripts: /vendor/etc/init.d
    - Support Battery Saver Mode
    - Support DevFreq MIF min/max frequencies
    - Disabled DVFS clock_lock (now max freq will not drop to 377MHz)
    - Added Sustainable GPU freq and set at 455MHz (for doesn't drop freq in gamming below 455MHz)
    - ThunderTweaks v1.1.0.4
    - Magisk 24.1 Offcial build in kernel / or without Magisk (You can flash it manually - e.g. older version)
    - Optimized for battery life
    - Some upstreamed commits from newer Linux version : cpu, sched, ext4, f2fs, mm, kernel
    - Compiled via Google Clang 14.0.1 toolchain
    - Kernel use an AROMA installer to help guide you through the installation (Thx to EdZamber and yoanf26).

    Recommended Apps:
    To tweak most of the settings in the kernel, I recommend using ThunderTweaks app.
    _________________________________________________

    IMPORTANT INFORMATIONS:
    1. WARNING: YOU UNDERSTAND THAT INSTALLING CUSTOM FIRMWARE/ROM/KERNEL IS AT YOUR OWN RISK!!!
    2. YOUR WARRANTY CAN BE VOID.
    "I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
    Please do some research if you have any concerns about features included in this kernel before flashing it! YOU are choosing to make these modifications, and if you point
    the finger at me for messing up your device, You can't blame me for this fact."

    3. NO REQUESTS!!!

    _________________________________________________

    INSTALLATION PROCESS:

    FOR STOCK ODEX/DEODEX ROMS - read carefully
    • FIRST - Clear cache apps like ThunderTweaks, Kernel Adiutor or MTweaks or another one in system app menager !!!
    • Backup SYSTEM, EFS, DTB, DTBO, DATA and KERNEL as always in TWRP !!!
    • Download the latest kernel version zip file
    • Use only not patched (magisk) recovery - kernel has magisk build-in
    • Flash the CLEAN ROM or Dirty FLash, next restore Your DATA and flash the kernel zip with root or not
    • Choose aroma selection
    • Reboot
    • ThunderTweaks app is installed in Your system.

    PROBLEMS / BUGS:
    No bugs.
    Thanks for reports.
    _________________________________________________

    CREDITS :
    - The Linux Kernel Archive for the Linux Patches https://www.kernel.org/
    - Samsung Open Source Release Center for the Source code http://opensource.samsung.com/
    - @osm0sis for Android Image Kitchen and anykernel2 https://forum.xda-developers.com/showthread.php?t=2073775
    - Magisk and SuperSu Team for root method
    - @evdenis Denis Efremov and Cruel Team for source, Samsung updates and help.
    - MoRoGoKu, Anan1211, Pascua28, Corsicanu
    - @ambasadii
    - @edzamber and @yoanf26
    - @TheMadScientist, @bartolomeo10, @touseef77, @okij, @enebro77, @tin2404 and tester group.
    _________________________________________________

    SOURCE of the kernel:
    GitHub:
    https://github.com/ThunderStorms21th/S20-priv
    _________________________________________________

    Contributors:
    @nalas
    ThundeRStormS Team
    _________________________________________________

    DISCUSSION:
    Telegram Group:
    Link
    Telegram News Channel:
    Link
    _________________________________________________

    Version Information:
    Statsus : Stable
    Current version : AiO v2.1 (All in One)
    Release Date : 2022-02-15

    _________________________________________________
    DONATION:
    If you liked my work, you can collaborate by giving thanks and with some donation to continue working hard.
    Thank you very much to all.
    DONATION

    _________________________________________________
    CHANGELOGS & DOWNLOADS in 2nd post
    _________________________________________________
    9
    UPDATE:

    Changelogs:

    ThunderStorms-Kernel-R-v1.2 : 25.09.2021 for OneUI3.x

    - Linux 4.19.87
    - Samsung source DUH5
    - Support Powersuspned v2.0
    - Support Wireguard
    - Some debugs off
    - I/O sched cfq improvements
    - EMS & DTS improvements
    - OC CPUs to 3016 MHz - big, 2600 MHz Mid
    - Linux source improvements
    - EdYoBlue : READ_AHEAD_KB = 256; TS=256
    - Another initial settings for EdYoBlue and ThundeRStormS kernels
    - rest like in v1.1

    Download in 2nd post.
    9
    UPDATE

    Changelogs:

    ThunderStorms-Kernel-S-v2.1 : 15.02.2022 for OneUI4.x

    - Linux 4.19.87
    - Samsung source DEVA9
    - Android 12 (S) | OneUI 4
    - Some debugs off
    - EMS, SCHED, VM & DTS improvements
    - Linux source improvements
    - READ_AHEAD_KB = 256
    - Imported Mali drivers r33p0 from ARM source for ValHall
    - ThunderTweaks v1.1.0.5
    - Magisk 24.1 Offcial / or without Magisk (24101)
    - support for SM-N986B/SM-N985F (Note 20 Ultra)
    - Clang 14.0.1
    - rest like in v2.0.1
    9
    UPDATE:

    Changelogs:

    ThunderStorms-Kernel-R-v1.8 : 15.12.2021 for OneUI3.x

    - Linux 4.19.87
    - Samsung source DUI5
    - Some debugs off
    - EMS, SCHED, VM & DTS improvements
    - OC CPUs to 3016 MHz - big, 2600 MHz Mid
    - Linux source improvements
    - READ_AHEAD_KB = 256
    - Some upstreamed commits from newer Linux version : cpu, sched, ext4, f2fs, mm, kernel
    - EdYoBlue kernel installer is removed
    - Added CPU tick 25 and 50 Hz - default set at 50 HZ
    - Support Battery Saver Mode
    - Support DevFreq MIF min/max frequencies
    - Disabled DVFS clock_lock (now max freq will not drop to 377MHz)
    - Added Sustainable GPU freq and set at 455MHz (for doesn't drop freq in gamming below 455MHz)
    - ThunderTweaks v1.1.0.4
    - Magisk 23.1 Offcial / or without Magisk (23015)
    - support for SM-N986B/SM-N985F (Note 20 Ultra)
    - rest like in v1.7
    8
    UPDATE

    CHANGELOGS:

    ThunderStorms-Kernel-S-v2.0 : 08.01.2022 for OneUI4.x

    - Linux 4.19.87
    - Samsung source CUEL7
    - Android 12 (S) | OneUI 4
    - Some debugs off
    - EMS, SCHED, VM & DTS improvements
    - OC CPUs to 3016 MHz - big, 2600 MHz Mid
    - Linux source improvements
    - READ_AHEAD_KB = 256
    - Some upstreamed commits from newer Linux version : cpu, sched, ext4, f2fs, mm, kernel
    - EdYoBlue kernel installer is removed
    - Added CPU tick 25 and 50 Hz - default set at 50 HZ
    - Support Battery Saver Mode
    - Support DevFreq MIF min/max frequencies
    - Disabled DVFS clock_lock (now max freq will not drop to 377MHz)
    - Added Sustainable GPU freq and set at 455MHz (for doesn't drop freq in gamming below 455MHz)
    - ThunderTweaks v1.1.0.4
    - Magisk 23.1 Offcial / or without Magisk (23016)
    - support for SM-N986B/SM-N985F (Note 20 Ultra)
    - rest like in v1.8