• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Kernel | Android 10 | One UI 2.5 | FUF5/FUH1/FUJ2/FUK1] BeastMode Kernel v2 for N960F | v2.17i | 20220122

Search This thread

dr.ketan

Recognized Developer / Recognized Contributor
Actually the fix must be run at first boot of the rom so I have already done that. I do not think it affects any data, but you are with no doubt more experienced to say this.
Not required at all. ROM Tool essential fix doesn't affect anything that may mess up anything installed on your device that needs backup.
Even you accidentally apply multiple times, it won't harm at all.
 
Last edited:
  • Like
Reactions: livagoth

ykkfive

Inactive Recognized Developer
Jul 25, 2010
3,133
2,967
ykkfive.blogspot.com
Not required at all. ROM Tool essential fix doesn't affect anything that may mess up anything installed on your device that needs backup.
Even you accidentally apply multiple times, it won't harm at all.
hi dr ketan

i have sent you a pm a few mths before, did you get it?
there is a typo in one of your script, pls check it for details

thanks
 

dr.ketan

Recognized Developer / Recognized Contributor
hi dr ketan

i have sent you a pm a few mths before, did you get it?
there is a typo in one of your script, pls check it for details

thanks
Hi
Sorry, I may have missed it. Usually getting plenty of messages so sometimes missing important msg.
Anyway will check it, but I am sure, even if it is there, it won't have any ill effect.
Thanks
 

ykkfive

Inactive Recognized Developer
Jul 25, 2010
3,133
2,967
ykkfive.blogspot.com
Can you suggest a best profile for battery saver? I'm using EX kernel manager but I don't know how to config a profile properly. Please give me advice. Thanks.
i don use kernel manager, but i can share with you my settings

my aim is to make it as efficient as possible
so,
for the big cores, i set max=max, min=9xx
while for the little cores max=the freq above the big cores' min freq, and min=min

so that it will provide a smooth transition from the little to the big cores by letting the big core min freq covers part of the little cores max freq

since the big cores are more efficient l let them do those heavy tasks by lowering the max freq of the little cores. ie if needed, go big pls, and i will further enhance this (big cores bias) in the future

for the gpu,mi set it to min=266, boost to 3xx when the loading is above 30%. you can adjust these numbers according to your needs to avoid lagging while save some battery (note you can scroll the screen to see if it is smooth enough for you)

usually it will consume about 8% battery for surfing the net for an hour

hope it helps
 
Last edited:

Matrix1001

Member
Jan 1, 2015
13
5
He’s actually doing an even better thing.

Our Note9 is already great and has a great processor. But Samsung locked it and it locked it very well. But ykkfive is working hard to unlock all of your this power and he’s doing it for us! Just wait till I get a damn credit card. I’ll find a way to express my gratitude to him. Because I’ve been frustrated of what Samsung has done to my device for 4 years. And he is fixing that.
I do not know why Samsung did and continued with his flagal models, but the truth of people's fraud, because people should pay less money for weaker models with Exynos :(
 
  • Like
Reactions: TechNoobForSale

chuyennho184

Senior Member
Jul 18, 2010
449
169
Ho Chi Minh
Samsung Galaxy Note 9
i don use kernel manager, but i can share with you my settings

my aim is to make it as efficient as possible
so,
for the big cores, i set max=max, min=9xx
while for the little cores max=the freq above the big cores' min freq, and min=min

so that it will provide a smooth transition from the little to the big cores by letting the big core min freq covers part of the little cores max freq

since the big cores are more efficient l let them do those heavy tasks by lowering the max freq of the little cores. ie if needed, go big pls, and i will further enhance this (big cores bias) in the future

for the gpu,mi set it to min=266, boost to 3xx when the loading is above 30%. you can adjust these numbers according to your needs to avoid lagging while save some battery (note you can scroll the screen to see if it is smooth enough for you)

usually it will consume about 8% battery for surfing the net for an hour

hope it helps
I don't playing a game, so I need battery saver for daily working. Thanks for your advice.
 
At least we have better development support than the snapdragon. Much more custom roms for Exynos.
Well, firstly, both us and Snapdragon development are kind of in a tight spot anyways, second of all, snapdragon really doesn’t have the same issues as our variant. And lastly, but not least, Snapdragon Samsung are very hard to unlock. And the game isn’t worth the hassle in that case.

If you want to root a snapdragon device, either get Xiaomi or OnePlus. I don’t remember which one it was, but one of them actually gives you warranty if you screw the root process up!
 

ykkfive

Inactive Recognized Developer
Jul 25, 2010
3,133
2,967
ykkfive.blogspot.com
record breaker!!
max 128k, min 107k

btw, builds updated with fuj2 sources coming soon, with some addressed the gpu driver
Screenshot_20211130-205403.jpg
 
Last edited:

silviabcn

Senior Member
Sep 3, 2018
88
4
I want to install the kernel. Install with twrp everything fine, but I reboot the phone and it does not come installed, always the same kernel from drketan q18. How to install the kernel?
 

Top Liked Posts

  • 1
    But at instructions post you suggest to enable both. So which one should we keep active , only dynamic?
    for normal daily use:
    enable both fsync and dynamic fsync (slower but maintain data integrity)

    for getting higer scores in benchmarking:
    disable fsync
  • 5
    ok guys, sorry to keep you waiting so long

    due to the latest linux kernel upstreams being applied together with those uv introduced before, we faced some problems with the artifacts. they are not major problem tbh but who knows. it will be a disaster for me to redo the changes again and again if it becomes a serious problem

    i had to decide whether we keep the uv or continue with the upstream. and after many tests i decided to ditch those kernel patches, at least for now

    i will then continue what i wanted to do with this kernel

    btw, the release build is ready, but i want to wait for the latest fuj2 patches from samsung as i dont want to release another build shortly after this one. i will send them an email later

    anyway, we will have some improvements this time again! so stay tuned!

    thanks



    edit
    here's a teaser from my hard working tester @TechNoobForSale. thanks so much for your time and efforts
    2
    20220122 update: v2.17i
    read changes in post #2

    result from @TechNoobForSale
    2
    I actually managed to cross the 2400 barrier. The next build will provide better performance, that's for sure. :cowboy:
    Need some more testing
    Screenshot_20220115-185442_Geekbench_5.jpg

    Next step: Defeating Kirin 980:devilish:. There are other improvements other than CPU performance.
    1
    I just passed safetynet and just it. Even not magisk hide for Netfix and watching fine @@
    You can try installing 3C all in one tools. Go to app editor, then services and check if its detecting magisk. You can uncheck the option. One of my banking app does that and I got it working this way.
    Screenshot_20211228-144554_3C All-in-One Toolbox.jpg
    1
    But at instructions post you suggest to enable both. So which one should we keep active , only dynamic?
    for normal daily use:
    enable both fsync and dynamic fsync (slower but maintain data integrity)

    for getting higer scores in benchmarking:
    disable fsync
  • 13
    Hi all,

    It's ME again, being inactive for a few years due to my health conditions since Android Marshmallow! Today I would like to present you something I wanted for so long... an updated kernel for One UI 2.5! To be honest, I knew there were a lot of changes since MM, but not until these days I realized how troublesome they are, including rooting a device these days!! ( just rooted my N960F/DS running stock pie for more than a year ;) )
    OK, here we go!!


    This is an update to the BeastMode Kernel vR154 originally developed by @freeza and patched with latest Samsung One UI 2.5 kernel sources.

    Some of the features from R154 include:
    - enforcing kernel (switchable between enforcing/permissive)
    - cpu/gpu oc
    - dt2w (double tap to wake)
    - wireguard support


    However, due to my health conditions, I cannot spend too much time to update this kernel everyday although I am jobless, nor to have frequent updates as what @freeza did to his BeastMode Kernel. So please don't expect things will come very often. Thank you



    Special notes for BeastMode Kernel v2 initial release:
    - in the initial release (v2.02) there is no fix nor new feature added to the BeastMode Kernel vR154, as it servers as an update for new One UI 2.5 ROMs released by Samsung only
    - for existing features, problems or solutions, please visit the original BeastMode Kernel thread by @freeza
    - new features will be added in later releases



    BeastMode Kernel v2:
    - built with EVA GCC 12 and Proton Clang 13.0.0
    - for cts profile/safetynet fix, please install the Universal SafetyNet Fix by @kdrag0n



    Planned features:
    - more IO schedulers
    - more governors
    - OC/UV (partially done)
    - f2fs (DONE!)



    If you like this, please consider donating a loaf of bread or something to support my living or buy some treats for my old dog @ https://paypal.me/ykkfive ( I don't need coffee or beer :giggle: ). Thanks!



    Important Notes:
    if you are using a kernel manger, please go to here and see if you are affected



    Downloads:
    Changelog and downloads in post #2



    Credits:
    Big thanks to @freeza for allowing me to use his work and publish this update
    Samsung open source
    @evdenis
    @yarpiin
    @Da-BOSS
    @flar2
    @faux123
    xxmustafacooTR


    Source code:
    github
    7
    NOTE: I am not responsible for bricked devices, loss of data, etc. Flash it with your OWN RISKS and ALWAYS DO A FULL BACKUP first



    Changelog and Download (NO mirror please):

    *** TWRP 3.3.1.0 is recommended


    20220122 - v2.17i
    - cpu oc big cores quad to 2002000
    - cpu oc little cores to 2002000
    - preset cpu uv for frequency < 2000kMhz
    - preset gpu uv for frequency < 500kMhz
    - added dynamic fsync: performs fsync only when screen is off for maintaining data integrity (make sure to enable both fsync and dynamic fsync options)
    - raised some internal values:
    -- little cores will go to 2002000 instead of staying at 1950000
    -- big cores will go back to higer frequencies after throltted when temperature drops
    - added frandom
    - some more tweaks i cant remember
    - IMPORTANT: please set the io scheduler to noop (by default) as to increase the ext4 performance


    Downloads (mediafire) *make sure you get the right version for your rom (you can check your rom version by tapping on the dialer, and type *#1234# and read the AP shown):

    FUF5
    BM-Kernel-v2.17i-FUF5-magisk_patched.zip (patched with Magisk 23.0)
    boot.img (no root)

    FUH1
    BM-Kernel-v2.17i-FUH1-magisk_patched.zip (patched with Magisk 23.0)
    boot.img (no root)

    FUJ2/FUK1
    BM-Kernel-v2.17i-FUJ2-magisk_patched.zip (patched with Magisk 23.0)
    boot.img (no root)









    20211130 - v2.15a
    - patched with latest FUJ2 sources
    - some more tweaks
    - IMPORTANT: please set the io scheduler to noop (by default) as to increase the ext4 performance


    Downloads (mediafire) *make sure you get the right version for your rom (you can check your rom version by tapping on the dialer, and type *#1234# and read the AP shown):

    FUF5
    BM-Kernel-v2.15a-FUF5-magisk_patched.zip (patched with Magisk 23.0)
    boot.img (no root) - RE-UPLOADED

    FUH1
    BM-Kernel-v2.15a-FUH1-magisk_patched.zip (patched with Magisk 23.0)
    boot.img (no root) - RE-UPLOADED

    FUJ2
    BM-Kernel-v2.15a-FUJ2-magisk_patched.zip (patched with Magisk 23.0)
    boot.img (no root) - RE-UPLOADED









    Previous releases:


    20211121 - v2.14b2-FIXED
    - FIXED no sound ocasionally after reboot (tested for more than 10 reboots)
    - added PELT
    - undervolt including memory/bus, etc
    - gpu oc to 598 again
    - many other performance and battery saving tweaks, as well as other that I could not remember
    - swithed back to 250 HZ due to the no sound bug
    - IMPORTANT: please set the io scheduler to noop as to increase the ext4 performance


    Downloads (mediafire) *make sure you get the right version for your rom (you can check your rom version by tapping on the dialer, and type *#1234# and read the AP shown):

    FUF5
    BM-Kernel-v2.14b2-FIXED-FUF5-magisk_patched.zip (patched with Magisk 23.0)
    boot.img (no root)

    FUH1
    BM-Kernel-v2.14b2-FIXED-FUH1-magisk_patched.zip (patched with Magisk 23.0)
    boot.img (no root)

    FUJ2
    BM-Kernel-v2.14b2-FIXED-FUJ2-magisk_patched.zip (patched with Magisk 23.0)
    boot.img (no root)









    20211120 - v2.14b2
    - REMOVED due to an old minor bug was re-introdecued which occasionally produce no sound after a reboot
    - pls download the v2.14b2-FIXED above







    20211024 - v2.12
    - for FUF5/FUH1 (NOTE: 2 different versions)
    - updated to latest samsung FUH1 sources
    - fixes for slow ext4 performance due to bugs introduced by ext4 and kernel updates
    - IMPORTANT: please set the io scheduler to noop as to increase the ext4 performance


    Downloads (mediafire) *make sure you get the right version for your rom (you can check your rom version by tapping on the dialer, and type *#1234# and read the AP shown):
    FUF5
    BM-Kernel-v2.12-FUF5-magisk_patched.zip (patched with Magisk 23.0)
    boot.img (no root)

    FUH1
    BM-Kernel-v2.12-FUH1-magisk_patched.zip (patched with Magisk 23.0)
    boot.img (no root)







    20210920 - v2.11c6
    - for FUF5/FUH1 (NOTE: 2 different versions)
    - updated to latest ext4 and f2fs
    - full f2fs support (cache and data partitions tested, system not yet tested) ** MAKE SURE you know how to go f2fs first
    - linux upstream to 4.9.280
    - some other tweaks and patches


    Downloads (mediafire) *make sure you get the right version for your rom (you can check your rom version by tapping on the dialer, and type *#1234# and read the AP shown):
    FUF5
    BM-Kernel-v2.11c6-FUF5-magisk_patched.zip (patched with Magisk 23.0)
    boot.img (no root)

    FUH1
    BM-Kernel-v2.11c6-FUH1-magisk_patched.zip (patched with Magisk 23.0)
    boot.img (no root)








    20210818 - v2.10
    - revised from the beginning with updates to FUF5
    - cpu oc/uv
    - gpu overclock/under voltage removed (awaiting fixes)
    - some changes reverted
    - Wake Gestures and Boeffla wakelocks included
    - bring back the performance from initial release (up to 23% or more with multi cores, and nearly 3x memory performance when compared with v2.04) ** thanks for reporting this issue



    Downloads (mediafire):
    BM-Kernel-v2.10-magisk_patched.zip (patched with Magisk 23.0)
    boot.img (no root)







    Known Issues:

    20210730:

    (I) for version up to v2.05, the following features do not work as expected due to my mistakes

    - Wake Gestures including double tap to wake (dt2w), swipe to wake (s2w), etc
    - Boeffla wakelocks
    - These problems will be fixed in the next version soon
    .
    FIXED. Please accept my sincere apology

    (II) in v2.05 default gpu voltage may incorrectly show the modified values as default values in kernel manager

    (III) since v2.04m the performance is not as good as v2.03 due to the introduction of some kernel changes





    20210730 - v2.05a
    - Wake Gestures and Boeffla wakelocks problems fixed
    - no other changes, bugs fixing release of v2.05







    20210729 - v2.05
    - updated with Samsung FUF5 sources just released
    - no other changes
    - REMOVED, superseded by v2.05a







    20210726 - v2.04m
    - compatible with FUF5 (** may have problems if you use lockscreen or samsung account with possible fix here. ALWAYS do a full backup first)
    - overclocked: cpu little to 2002000Mhz, gpu to 598000Mhz
    - undervoltaged: cpu/memory
    - gpu undervoltage support awaiting a fix
    - linux upstreamed to 4.9.250
    - cherry picked some kernel tweaks
    - for undervolting the gpu, you may go and read my settings here awaiting a fix






    More Previous releases:


    20210628 - v2.03
    - added "magisk detected" BASIC fix to prevent apps trying to detect if magisk is installed (only some of the detections are prevented)
    - you can see the difference by installing an app from google play store called "Дія" issued by Ministry of Digital Transformation of Ukraine

    before applying fix
    after fix applied


    - for more info, please read:
    https://darvincitech.wordpress.com/2019/11/04/detecting-magisk-hide/
    - for a comprehensive solution (NOT TO BE SUPPORTED/DISCUSSED HERE):
    https://forum.xda-developers.com/t/magisk-detected-on-bankapp-solved.4258245/
    IMHO, if there's nothing bothering you, you can ignore this comprehensive solution atm. but of coz it's up to you









    20210621 - v2.02 (init release)
    *** Special announcement for Dr.Ketan ROM Q16 - 20210623 ***
    it seems there are some compatibility issues with Dr.Ketan ROM Q16 and this kernel, due to the fact that Q16 is based on N960FXXU8FUE1 while this kernel is N960FXXS8FUE5. As a result you may not be able to login to Samsung Account, or have cts profile/safetynet issue. So please MAKE A FULL BACKUP before proceed.


    - updated with N960FXXS8FUE5 sources
    - tested with stock rom UE5, Dr Ketan Q16 with some patches
    - working properly with DevBase 7.4 and Alexis ROM 2.8 from users feedbacks
    *** make sure you have flashed N960FXXS8FUE5 AP, BL, modem etc




    .
    5
    ok guys, sorry to keep you waiting so long

    due to the latest linux kernel upstreams being applied together with those uv introduced before, we faced some problems with the artifacts. they are not major problem tbh but who knows. it will be a disaster for me to redo the changes again and again if it becomes a serious problem

    i had to decide whether we keep the uv or continue with the upstream. and after many tests i decided to ditch those kernel patches, at least for now

    i will then continue what i wanted to do with this kernel

    btw, the release build is ready, but i want to wait for the latest fuj2 patches from samsung as i dont want to release another build shortly after this one. i will send them an email later

    anyway, we will have some improvements this time again! so stay tuned!

    thanks



    edit
    here's a teaser from my hard working tester @TechNoobForSale. thanks so much for your time and efforts
    3
    Now I migrated bm v2.02m + Alexis 2.8 combination. All seems decent for now. Still boeffla and double tap sections are missing. But it's okay.
    Here is the devchecks ram performance attachment. (on v2.02)

    I am going to perform antutu and geekbench and post here.
    u mean 2.04m?

    I am on v2.05

    Ram performance is decreased, confirmed with doing devcheck comparison and antutu bench.

    tap to wake and sleep options are gone.
    boeffla options are gone.

    Accordig to Devcheck,

    Cmemcopy: around 5000 Mb/s
    Cmemset: aroud 7500 Mb/s

    on R154 these were 10000 MB/s and 15000 Mb/s respectively.

    Cpu an GPU performance are good.

    I am on Alexis 2.9 Note 9 SM N960F


    And also the voltage table that given by dev is passed two full antutu bench. No crashes.
    i have did some tests today and yes, 2.02 is the fastest one, it was the original one without any "enhancements" in other aspects like cpu/gpu overclocking. it is not unusual that these enchancements can be beaten by the one without in terms of performance. it all depends on the usage, and more importantly everthing comes with a price. so you may find it at stock max speed outperforms an overclocked cpu due to the heat generated (which trigger the mechanism to lower the cpu freq as to cool it down). eg a 10 seconds task running with 2000Mhz may be better than 3 seconds with 2400mHz plus 7 seconds with 1700Mhz. you see what i mean? of coz, once again, it depends on the usage and the way of using it like benchmarking or daily use

    anyway, thanks for your feedbacks, as well as others. without you guys' feedback i couldnt discover the bugs myself

    also, i may consider to make an extreme version, which will be rebased on 2.02 with FUF5 but without any unneccessary changes for those who focus more on the speed due to different usage patterns if there are demands for it. but in general, 2.02 is still working fine with FUF5 except samsung account login issues for some users i believe

    on the other hand, i will continue to cherry pick some useful changes to optimize it in general for the main stream version

    thanks
    3
    EDIT 20210804
    a more aggressive gpu voltage settings is posted here awaiting a fix



    BM-Kernel-v2.04m released

    20210726 - v2.04m
    - compatible with FUF5 (** may have problems if you use lockscreen or samsung account with possible fix here. ALWAYS do a full backup first)
    - overclocked: cpu little to 2002000Mhz, gpu to 598000Mhz
    - undervoltaged: cpu/memory
    - support gpu under voltage
    - linux upstreamed to 4.9.250
    - cherry picked some kernel tweaks
    - for undervolting the gpu, you may refer to my initial safe settings below and adjust them by yourself. there are still rooms to undervolt, but it is suggested you do it bit by bit, and one by one and test the new voltage before next