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

physwizz a21s kernel version 1.5

Search This thread

physwizz

Senior Member
Sep 16, 2013
3,307
727
Sydney
Based on a217f

For OneUI 3.1
(May also work for GSIs)


Samsung securities disabled
More CPU governors
Conservative, On-demand, Userspace, powersave, performance, energy_step, shedutil
Optimised for performance
Overclocked for performance
Underclocked for battery
CPU: 130MHz - 2210MHz
lz4 compression added to zram

Preparation
Install adb tools on pc
allow from unknown sources on phone developer settings

Installation
Connect phone to PC
Copy zip file to adb folder on pc
Open terminal on pc
Navigate to adb folder
Type
adb sideload **.zip
reboot
Go to settings, about phone, software information



For Zram
Go to HKtweaks- virtual memory
Turn off zram
increase swappiness to 200
choose lz4
increase size to 4096
turn on Zram

Magisk modules in post #2



Kernel

@physwizz
 

Attachments

  • physwizz_a217f_kernel_v1_5.zip
    13.8 MB · Views: 283
Last edited:

physwizz

Senior Member
Sep 16, 2013
3,307
727
Sydney
I also have 2 Magisk modules to go with my kernel.

physwizz debloat module v2
(Added a70 changes)
With physwizz-2 app

Magisk module to debloat any Samsung phone to remove all the apps that slow down the phone

To debloat:
Install the module from Magisk and reboot.
To rebloat:
delete the module in Magisk and reboot

wizzROM Creator module v2

for all Samsung a-series phones

Turn any stock or custom OneUI into a QwizzROM or RwizzROM

OneUI 2.0 will become QwizzROM
OneUI 3.1 will become RwizzROM

Debloated ROM with Extras

Extras:
Battery charge limit
Clean Master
ES file explorer
HKtweaks
SimpleReboot
Root Explorer
Zarchiver
physwizz-2

Make sure your OneUI ROM iis running befote you start
Installation
1 Backup system from recovery
2 Install the creator from Magisk
3 Reboot
4 Enjoy



Name your wizzROM (optional)

1. Use a root explorer to copy and paste system/build.prop to new location
2. Edit build.prop like this

ro.build.display.id=<your-name>

3. Use zarchiver to paste the new build.prop into the system folder inside wizzROM-creator.zip
4. Install wizzROM-creator.zip


@physwizz
 

Attachments

  • physwizz-debloater-module-v2.zip
    4 MB · Views: 35
  • wizzROM-creator-module-v2.zip
    55.6 MB · Views: 54
Last edited:

NuzzaimStark

Member
Apr 13, 2019
34
8
Samsung Galaxy A21s
sideload in lineage recovery ?
also do we need flash dm veriety thing?

can you provide details more specific if you dont mind....
what recovery do we need
 
Last edited:

physwizz

Senior Member
Sep 16, 2013
3,307
727
Sydney
sideload in lineage recovery ?
also do we need flash dm veriety thing?

can you provide details more specific if you dont mind....
what recovery do we need
You don't need dmverity. It is only for preventing encrypted data.
As far as i know you don't need lineage recovery but I'll confirm with my testers.
I have a127f and I have twrp
 

NuzzaimStark

Member
Apr 13, 2019
34
8
Samsung Galaxy A21s
what recovery do we need
Check the new instructions
Thumbs up for the work
Working on mine
A217F/DS
Lineage Os 18.1
Rooted

Can you do something on gpu ?..
There is some fps gain..by the way and I like this kernel..
Now I can jump in bootcamp..in PUBG/BGMI
In Duo
 

Attachments

  • Screenshot_20211112-164211_CPU-Z.png
    Screenshot_20211112-164211_CPU-Z.png
    112.6 KB · Views: 78

physwizz

Senior Member
Sep 16, 2013
3,307
727
Sydney
what recovery do we need

Thumbs up for the work
Working on mine
A217F/DS
Lineage Os 18.1
Rooted

Can you do something on gpu ?..
There is some fps gain..by the way and I like this kernel..
Now I can jump in bootcamp..in PUBG/BGMI
In Duo
When I work out how to do the GPU in my a127f I'll also do it on you a21s.

 

AvanGLiT

Member
Dec 1, 2021
6
0
Yes, it's working on SM-a217M, thank you so much for your effort .

But I encountered a problem, every time I boot up the phone, this message shows up (I can't print): "There's an internal problem with your device. Contact your manufacturer for details."

Also, can you fix the CPU clock to 2.21Ghz for a217M? Or enable it to modifying up to 1.58Ghz? Because my phone always keeps it at 1.58GHz or sometimes at 1.84Ghz, rarely at 2.21Ghz, and it does not increase more than that (1.58Ghz) manually using HKtweaks or 3C CPU or whatever overclocking app. I can only change the governors or decrease the clock. Thank you
 

Attachments

  • photo_2021-12-01_04-33-57.jpg
    photo_2021-12-01_04-33-57.jpg
    35.8 KB · Views: 25
  • photo_2021-12-01_04-34-07.jpg
    photo_2021-12-01_04-34-07.jpg
    41.7 KB · Views: 26
  • photo_2021-12-01_04-34-10.jpg
    photo_2021-12-01_04-34-10.jpg
    53.2 KB · Views: 25

physwizz

Senior Member
Sep 16, 2013
3,307
727
Sydney
Yes, it's working on SM-a217M, thank you so much for your effort .

But I encountered a problem, every time I boot up the phone, this message shows up (I can't print): "There's an internal problem with your device. Contact your manufacturer for details."

Also, can you fix the CPU clock to 2.21Ghz for a217M? Or enable it to modifying up to 1.58Ghz? Because my phone always keeps it at 1.58GHz or sometimes at 1.84Ghz, rarely at 2.21Ghz, and it does not increase more than that (1.58Ghz) manually using HKtweaks or 3C CPU or whatever overclocking app. I can only change the governors or decrease the clock. Thank you
1. that error message is normal.
2. To force it up to the highest you have to use Hktweaks to set the minimum values to maximum.
I have a127f .
My benchmarks are below
 

Attachments

  • Screenshot_20211201-202051_Telegram.jpg
    Screenshot_20211201-202051_Telegram.jpg
    282.5 KB · Views: 28
  • Screenshot_20211201-202429_hKtweaks.jpg
    Screenshot_20211201-202429_hKtweaks.jpg
    185 KB · Views: 28
  • Screenshot_20211201-202419_hKtweaks.jpg
    Screenshot_20211201-202419_hKtweaks.jpg
    185.5 KB · Views: 28
  • Like
Reactions: AvanGLiT

AvanGLiT

Member
Dec 1, 2021
6
0
1. that error message is normal.
2. To force it up to the highest you have to use Hktweaks to set the minimum values to maximum.
I have a127f .
My benchmarks are below
Thank you, I tried that but unfortunately did not work, the cpu always drops keeping at 1.58Ghz or 1.84Ghz.

But I found that changing some values from config_chipset.json and config_vendor.json files at "/vendor/etc" to 100%, it keeps the CPU stable at 2,21Ghz as well the GPU.

This file schedules performance for some apps and 'occasions', like if I scroll down photos from Galery the CPU drops to 1.4Ghz, and if I close, the CPU goes back to 1.58Ghz. So that was the problem. Changing some values to 100% fixed that, now I'm able to control the clock normally.
 

Attachments

  • photo_2021-12-02_07-29-24.jpg
    photo_2021-12-02_07-29-24.jpg
    49.9 KB · Views: 16
  • photo_2021-12-02_07-29-28.jpg
    photo_2021-12-02_07-29-28.jpg
    41.6 KB · Views: 16

AvanGLiT

Member
Dec 1, 2021
6
0
tell me how do you change which app?

Root Explorer with its own text editor. I just changed the "Value" : "xxx" to "Value" : "100%" of CPUMinFreq, CPUMaxFreq and GPUMinFreq.

For example: the "Hint": "GALLERY_SCROLL", changes/drops the frequency of CPU and GPU when you scroll your pictures down or up, if you change to 100% of each value, the frequencies will not drop. So you will expect more performance scrolling your pictures.
 
Last edited:

physwizz

Senior Member
Sep 16, 2013
3,307
727
Sydney
Root Explorer with its own text editor. I just changed the "Value" : "xxx" to "Value" : "100%" of CPUMinFreq, CPUMaxFreq and GPUMinFreq.

For example: the "Hint": "GALLERY_SCROLL", changes/drops the frequency of CPU and GPU when you scroll your pictures down or up, if you change to 100% of each value, the frequencies will not drop. So you will expect more performance scrolling your pictures.
Can you run a benchmark on geekbench 5?
 
  • Like
Reactions: AvanGLiT

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    I also have 2 Magisk modules to go with my kernel.

    physwizz debloat module v2
    (Added a70 changes)
    With physwizz-2 app

    Magisk module to debloat any Samsung phone to remove all the apps that slow down the phone

    To debloat:
    Install the module from Magisk and reboot.
    To rebloat:
    delete the module in Magisk and reboot

    wizzROM Creator module v2

    for all Samsung a-series phones

    Turn any stock or custom OneUI into a QwizzROM or RwizzROM

    OneUI 2.0 will become QwizzROM
    OneUI 3.1 will become RwizzROM

    Debloated ROM with Extras

    Extras:
    Battery charge limit
    Clean Master
    ES file explorer
    HKtweaks
    SimpleReboot
    Root Explorer
    Zarchiver
    physwizz-2

    Make sure your OneUI ROM iis running befote you start
    Installation
    1 Backup system from recovery
    2 Install the creator from Magisk
    3 Reboot
    4 Enjoy



    Name your wizzROM (optional)

    1. Use a root explorer to copy and paste system/build.prop to new location
    2. Edit build.prop like this

    ro.build.display.id=<your-name>

    3. Use zarchiver to paste the new build.prop into the system folder inside wizzROM-creator.zip
    4. Install wizzROM-creator.zip


    @physwizz
    1
    works for sm-a217m
    1
    Yes, it's working on SM-a217M, thank you so much for your effort .

    But I encountered a problem, every time I boot up the phone, this message shows up (I can't print): "There's an internal problem with your device. Contact your manufacturer for details."

    Also, can you fix the CPU clock to 2.21Ghz for a217M? Or enable it to modifying up to 1.58Ghz? Because my phone always keeps it at 1.58GHz or sometimes at 1.84Ghz, rarely at 2.21Ghz, and it does not increase more than that (1.58Ghz) manually using HKtweaks or 3C CPU or whatever overclocking app. I can only change the governors or decrease the clock. Thank you
    1. that error message is normal.
    2. To force it up to the highest you have to use Hktweaks to set the minimum values to maximum.
    I have a127f .
    My benchmarks are below
    1
    Root Explorer with its own text editor. I just changed the "Value" : "xxx" to "Value" : "100%" of CPUMinFreq, CPUMaxFreq and GPUMinFreq.

    For example: the "Hint": "GALLERY_SCROLL", changes/drops the frequency of CPU and GPU when you scroll your pictures down or up, if you change to 100% of each value, the frequencies will not drop. So you will expect more performance scrolling your pictures.
    Can you run a benchmark on geekbench 5?