• We are moving to xdaforums.com!

    Posts made between now and when the migration is complete will not be carried over.
    You will be automatically redirected once the migration is complete.

[KERNEL][BETA] GrassKernel for Galaxy M21

Search This thread

Royna

Senior Member
Aug 23, 2018
139
124
Project Treble
Samsung Galaxy A6
IMG_20230326_073147_789.jpg


C:
#include <android/disclaimer.h>
/*
  Your warranty is now VOID
  I am not responsible for any damage you made to your device
  You have been warned
*/
WARN_ON(1);


This is a custom kernel for the Galaxy M21, shipped with Exynos9611, tested on M215FDDU3CVL1
The name "Grass" came from a character of Genshin Impact to fill the background.

Features

  • Disable Samsung securities, debug drivers, etc modifications.
  • Checkout and rebase against Android common kernel source, Removing Samsung additions to drivers like ext4,f2fs and more.
  • Based on A51 OneUI5 latest kernel sources.
  • Compiled with bleeding edge Neutron Clang 17, with full LLVM binutils, LTO (Link time optimization) and -O3.
  • Import Erofs, Incremental FS, BinderFS and several backports.
  • Supports DeX touchpad for corresponding OneUI ports that have DeX ported.
  • Lot of debug codes/configuration Samsung added are removed.
  • Upstreamed to 4.14.150 (for now, will be more)
  • Added wireguard driver, an open-source VPN driver in-kernel
  • More to come...

How to flash

- The kernel is provided with AnyKernel3 zip, which can be just flashed on recovery, it will replace the kernel Image only to this kernel.

Download below

Sources

If you want to support my work
This will link to a friend's PayPal who always helps me.
Donate
 

Attachments

  • Grass-OneUI5_20230320.zip
    14.9 MB · Views: 192
Last edited:

Fredin_

Senior Member
Feb 19, 2018
309
82
M215FDDU3CVL1 как разблакировать загрузчик без пк
You don't need a pc to unlock bootloader, but you need some device that detects USB like a tv or another phone if you've got an adapter.

But you will need a pc to do everything else, like flashing recovery/magisk.
 

BobaBoi69

Senior Member
May 23, 2022
84
32
Hey friend BobaBoi69 ,
We need GrassKernel for A11 too. I'd love that.
Do you happen to know any custom kernel that works on anything A11 onwards? If yes pls share :)
i am currently trying out naz kernel and honestly
switch to A12 LPOS REBORN it is an actual evolved and patched version i know the old one had problems but this one is a pure monster more like a beast mode monster
i love the thermal
 

OldNoobOne

Senior Member
i am currently trying out naz kernel and honestly
switch to A12 LPOS REBORN it is an actual evolved and patched version i know the old one had problems but this one is a pure monster more like a beast mode monster
i love the thermal
Hi Bobaboi69 friend,
I'm Happy for you
A12 LPOS REBORN Kernel.. do you have link for the kernel or rom ?
Ref: [ https://forum.xda-developers.com/t/...21-2020-21-tukirom-v1-2.4588319/post-88590585 ]

Hey Friend,
I just upgraded one of my SM-M215G devices to official A13 and its OneUI5.1 Core Version (Baseband M215GDDS3CWD1-20230522142126). Though I'm not able to flash any A13 GSI on it using (TWRP-3.5.2-m21-v3.1-A12.tar) , the oem unlock button is partially greyed out but not fully, its still light blue color, dunno whats going on , I relocked the unlockd the bootloader 3rd time now with no interference in setup process but I feel Shamshung might have introduced Bootloader Unlock Waittime just like in case of Shaomi devices :-/
 
  • Like
Reactions: BobaBoi69

OldNoobOne

Senior Member
I have the rom itself
I have uploaded the link in thread
I have added you to the thread try downloading it from there
If you face any kinds of problems ping me right away @OldNoobOne
Thanks friend Bobaboi69,
I am on baseband CWD1 and the Stock A13 (May Update) seems to be a R/O-System & No GSI boots past logo 🤦‍♂️
I am scared to flash any ROM zips after I flashed Tuki1.2 coz my IMEI got erased when I tried to wipe phone & install Lineage 20 zip. I only upgraded from A11 Stock to A13 Stock just to try Grass Kernel. Grass Kernel is Faaaast 👍
 
Last edited:
  • Like
Reactions: Royna and BobaBoi69

BobaBoi69

Senior Member
May 23, 2022
84
32
Thanks friend Bobaboi69,
I am on baseband CWD1 and the Stock A13 (May Update) seems to be a R/O-System & No GSI boots past logo 🤦‍♂️
I am scared to flash any ROM zips after I flashed Tuki1.2 coz my IMEI got erased when I tried to wipe phone & install Lineage 20 zip. I only upgraded from A11 Stock to A13 Stock just to try Grass Kernel. Grass Kernel is Faaaast 👍
Apparently my phone being the SM215F doesnt supprt A13 i am using the Current naz kernel which is keeping my phone cold and giving out better performance than before
But if the grass kernel seems to be working fine
Then stay within that kernel as it can be compatible with your model
 

OldNoobOne

Senior Member
Apparently my phone being the SM215F doesnt supprt A13 i am using the Current naz kernel which is keeping my phone cold and giving out better performance than before
But if the grass kernel seems to be working fine
Then stay within that kernel as it can be compatible with your model
Thanks friend,
I'm not comparing Naz Kernel with Grass Kernel, I'm not qualified to make any comment on kernels except as a general user perspective but right now kernel is not my problem really, I just want to get 1UI5.1 Core out and install GSI like Elixir/Crdroid/Ancient/Derp etc. but the problem is my bootloader is not fully unlocked and shamshung got fastboot/d disabled. Binary 3 wont allow Binary 1/2 also i read somewhere that May Update Stock ROM is RO-ROM. Why is shamshung ruining its own business, they should give some freedom to their customers..strange behavior.
Screenshot_20230601_112107_Settings.jpg


I never knew about Naz Kernels existence untill you mentioned it.
 
  • Like
Reactions: BobaBoi69

BobaBoi69

Senior Member
May 23, 2022
84
32
Thanks friend,
I'm not comparing Naz Kernel with Grass Kernel, I'm not qualified to make any comment on kernels except as a general user perspective but right now kernel is not my problem really, I just want to get 1UI5.1 Core out and install GSI like Elixir/Crdroid/Ancient/Derp etc. but the problem is my bootloader is not fully unlocked and shamshung got fastboot/d disabled. Binary 3 wont allow Binary 1/2 also i read somewhere that May Update Stock ROM is RO-ROM. Why is shamshung ruining its own business, they should give some freedom to their customers..strange behavior.
View attachment 5925235

I never knew about Naz Kernels existence untill you mentioned it.
The only way to fix this might be to downgrade to lower firmware version i.e the 2022 patch
As for me with my SM215F the bootloader option is not greyed out but still allows me to turn it on and off
Let me know it its working or not
 
  • Like
Reactions: OldNoobOne

OldNoobOne

Senior Member
It's supposed to be like this. This means your bootloader is unlocked. Once unlocked, you can only re-lock it from download mode which is why it's greyed out in settings.
Yes I got some help from Curstantine & so Bobaboi69 was right, after I downgraded from M215G A13 May 2023 stock Firmware to M215F A12 Sept 2022 Stock Firmware now GSI boots again. Yes bootloader unlocked but its going to be a challenge to flash Grass Kernel now. Im gonna try though. Thanks for all your help friends.
#EDIT: Grass Kernel (June 2023 version) booted, the older version booted too. I am going to try Mint Kernel too :D
 
Last edited:
  • Like
Reactions: BobaBoi69

BobaBoi69

Senior Member
May 23, 2022
84
32
Thats amazing good thing
Yes I got some help from Curstantine & so Bobaboi69 was right, after I downgraded from M215G A13 May 2023 stock Firmware to M215F A12 Sept 2022 Stock Firmware now GSI boots again. Yes bootloader unlocked but its going to be a challenge to flash Grass Kernel now. Im gonna try though. Thanks for all your help friends.
#EDIT: Grass Kernel (June 2023 version) booted, the older version booted too. I am going to try Mint Kernel too
 
  • Like
Reactions: OldNoobOne

OldNoobOne

Senior Member
Thats amazing good thing
Thanks Friend,
I feel the devs are working with M215F DT and not M215G trees because the latter came later, so I had to downgrade to M215F A12 to get some things working again. Correct me if i'm wrong though.
P.S.:- (Just Imagining) I think to make the andoid custom developement model smoother & hassle-free both for the Devs and the users, XDA & others could perhaps introduce a crowd-funding option for every device released in the market so that the devs can get hold of the devices sooner and start building custom stuff for the devices & then the users won't have to wait for 2 years to get the best possible ROMS for their devices :)
 
Last edited:
  • Like
Reactions: BobaBoi69

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    IMG_20230326_073147_789.jpg


    C:
    #include <android/disclaimer.h>
    /*
      Your warranty is now VOID
      I am not responsible for any damage you made to your device
      You have been warned
    */
    WARN_ON(1);


    This is a custom kernel for the Galaxy M21, shipped with Exynos9611, tested on M215FDDU3CVL1
    The name "Grass" came from a character of Genshin Impact to fill the background.

    Features

    • Disable Samsung securities, debug drivers, etc modifications.
    • Checkout and rebase against Android common kernel source, Removing Samsung additions to drivers like ext4,f2fs and more.
    • Based on A51 OneUI5 latest kernel sources.
    • Compiled with bleeding edge Neutron Clang 17, with full LLVM binutils, LTO (Link time optimization) and -O3.
    • Import Erofs, Incremental FS, BinderFS and several backports.
    • Supports DeX touchpad for corresponding OneUI ports that have DeX ported.
    • Lot of debug codes/configuration Samsung added are removed.
    • Upstreamed to 4.14.150 (for now, will be more)
    • Added wireguard driver, an open-source VPN driver in-kernel
    • More to come...

    How to flash

    - The kernel is provided with AnyKernel3 zip, which can be just flashed on recovery, it will replace the kernel Image only to this kernel.

    Download below

    Sources

    If you want to support my work
    This will link to a friend's PayPal who always helps me.
    Donate
    2
    I have the rom itself
    I have uploaded the link in thread
    I have added you to the thread try downloading it from there
    If you face any kinds of problems ping me right away @OldNoobOne
    Thanks friend Bobaboi69,
    I am on baseband CWD1 and the Stock A13 (May Update) seems to be a R/O-System & No GSI boots past logo 🤦‍♂️
    I am scared to flash any ROM zips after I flashed Tuki1.2 coz my IMEI got erased when I tried to wipe phone & install Lineage 20 zip. I only upgraded from A11 Stock to A13 Stock just to try Grass Kernel. Grass Kernel is Faaaast 👍
    1
    What is the major difference between the stock kernel and your grass kernel?
    what does it improves after installing
    why does it says oneui5 in the zip?
    Just various ports and removing debugging increases perf a bit
    OneUI5 cuz it's based on A51 OneUI5 and build script is like that
    1
    Just to be sure
    is this a kernel or an upgrade to the firmware??
    @Royna
    1
    i am currently trying out naz kernel and honestly
    switch to A12 LPOS REBORN it is an actual evolved and patched version i know the old one had problems but this one is a pure monster more like a beast mode monster
    i love the thermal
    Hi Bobaboi69 friend,
    I'm Happy for you
    A12 LPOS REBORN Kernel.. do you have link for the kernel or rom ?
    Ref: [ https://forum.xda-developers.com/t/...21-2020-21-tukirom-v1-2.4588319/post-88590585 ]

    Hey Friend,
    I just upgraded one of my SM-M215G devices to official A13 and its OneUI5.1 Core Version (Baseband M215GDDS3CWD1-20230522142126). Though I'm not able to flash any A13 GSI on it using (TWRP-3.5.2-m21-v3.1-A12.tar) , the oem unlock button is partially greyed out but not fully, its still light blue color, dunno whats going on , I relocked the unlockd the bootloader 3rd time now with no interference in setup process but I feel Shamshung might have introduced Bootloader Unlock Waittime just like in case of Shaomi devices :-/