[KERNEL][BETA] GrassKernel for Galaxy M21

Search This thread

Royna

Senior Member
Aug 23, 2018
138
123
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.
  • 1
    Greetings friend,
    yes there is always a chance to make any S/W better i think.
    Just a stray observation..
    Initially EyeOS seemed to be made for high-end customers (the high price tag you know) though it went well for Appel because of a few big reasons other than the smooth OS that it was :
    1> Status Symbol! - Using Appel fones and tabs became a status symbol across all age groups & social strata across the world. Everyone was either buying an Appel fone for themselves then their wives/husbands then gifting their children & also for GFs & BFs etc. Appel gadgets (earpods, fones, tabs, smart devices etc.) were being pushed by affluent relatives in YuEss back to their native countries as kind of a social peer pressure.
    2> Aesthetics! - Back in the days people were really impressed & impacted by the Well-rounded corners of the Appel devices, their perfect balance between screen-sizes & weight in grams. The other brands seemed to be still working to get their marketing-mix right whille Appel did their homework much before them and placed it in the stores.
    3> Perceived Security! - By making Jailbreaking so impossible in the initial years Appel scored big in terms of security. Masses back then didn't have a clue about the Spy-wars going on between the advanced nations, they cared little about those things and more about a hackers or their GFs/BFs finding out about their hextra-merital huffairz.
    "No! no one can hack an Appel so go for it!" was the mindset. Even if Appel or OEMs peeped was tightly guarded secret only hawk-eyed people or an insider could tell but never prove. No court was big enough to sue the Daddys.
    4> More victrories in game rooms! - with EyeOS people used to win more in online gaming compared to lower-end device specs. It soon became the top choice for performance. (unfortunately Windoz fones & the likes of Nohkia couldnt keep up which helped Appel too).
    5> The Ethnic Aspect! - No matter how low a person was in the Social Status Quo, an Appel device gave them access to the Elite Chat Rooms XD. Another well-tailored marketing strategy by Appel. "Paid-up? ok you can join elite private clans" seemed to echo.
    --------------------------- The last but not the least --------------------------

    6> The Stock-Exchange Race! - remember? Back in those days, suddenly all the CEOs were rushing to offer Appel devices as Bonuses. They themselves were buying mostly Appel or Bleckberies. The Employees were being given company-owned Appel devices that the employees could then own after a certain tenure in their resppective companies & firms. Why? Because The companies themselves were investing in A-tier Stock called Appel and the likes. The more Appel everywhere the more dividends! XD. There was a plus too, If a company goes Appel then the better chance to get listed on En.Wai.Ess.Ee. "Big daddies wont mind listing us on Big-Appel Stocks coz weve made them big bucks"- Biz Mind. XD
    --------------------------------------------
    For a stray religious hermit like me these things are not important but even now I see a huge number of people wanting Appel devices if they could afford them. There was nothing called security anyways back then nor today, be it any OS. I loaded Lnx-meent yesterday just to check how far its reached up to Windoz and sure enough- all being monitored again remotely so silently XD you could almost sense them grinning on the other end.
    The thing about these is that the factors are set by apple themselves
    And as for ios
    They made it in such way that it will give performance no matter what because... The iphones have very low amount of ram in comparison to android for eg the S23 ultra has litrelly 12gb ram but the 14 pro max comes with 6gb and yet feels smoother in contrast to the hardware
    The android needs to achieve is simply the level of smoothness and consistence since android possesses good universal connectivity , good customization, good compatability in comparison with apple .
    The only fact holding android back is that its not consistent and also loses smoothness over time.
  • 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 :-/