yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UrbanDesimator:
Great stuff working fantastically well on G975F with EvolutionX ROM using the new blobs that come with the kernel. I can't thank you all enough for all your hard work, device is so smooth and cod mobile is unstoppable. I also change the rtc0 max user frequency upto 256 and higher for heavy audio IO via fkm. Coming from helping Dev with a full RT preempt kernel for studioware on slackware for studio/home audio production. we tuned rtc0 upto 4096 on high end soundcards, I've not gone that high in android yet. I'd be curious to hear your thoughts on rtc0 max user frequency. Frustratingly/embarrassingly after building kernels in Slackware since 1999 I've still not got a working kernel built for my S10+.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
Hi, nice to hear that.

about RTC0 I found something like this - some tips: https://forums.linuxmint.com/viewtopic.php?t=317522 .

By the way i dont use such things so I cant tell You more about it.

I dont support AOSP too - anymore for Android 12.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] narcarsiss:
Hello all. I really didn't want to do this as I find myself quite tech savvy. (NOC ENGINEER)

I have returned to Samsung after about 7 year break give or take, I use to build roms on MUIU when it first landed, porting to early model devices.

a lot has changed in my absence. especially regarding rooting.

I digress.

Rooted and Magisk - Google Pay Working etc...

I'm using this rom - BeyondRom v9.0

Stock Kernel

TWRP - latest of this post

I live in Australia.

I'm using a compatible Device 970F

My issues revolves around the naming convention of this Kernel.

... OneUI S/Q/R

I'm unsure what this is or where to find it or what it is referring too.

a little help is much appreciated.

on a side note, I have read that Magisk is pre installed.

I'm rooted with Magisk 24.1 is this going to be an issue with this Kernel and is there a better option?

Kind Regards.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
Magisk 24.1 - you patched twrp ...I think.

Kernel has build-in magisk canary 23018 and can not be flashed on patched magisk twrp.

For this or Ambasadii or Cruel kernel you have to flash via Odin unpatched twrp and install kernel then..

Problem is with no ramdisk kernels by Samsung on S10 N10 devices and We can not update any magisk as normal user can via only flash in twrp.

So users must wait till kernel will be updated by dev. YOU cant update even magisk manager bcose no cts pass, ect.

About Q/R/S -older versions are on Q next on R and now on S Android...in every zip name is Q R or S so you see wthat you flashing...

v1 to v1.x was Q

v2 to v3.x was R

v4 to v4.x is S
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Philnicolls89:
The magisk installed in this kernel is the Canary version 23018 which is very similar to 24.1 so you shouldn't really notice any changes there.

OneUI S/Q/R refers to the firmware version that the kernel is compatible with (OneUI is what samsung calls its firmware, and S/Q/R refers to the the android version, Q=Android 10 R=Android 11 S=Android 12.

If you are already rooted with magisk & TWRP then installation is simple:

Download the correct TWRP image, rename it to 'recovery'. Flash the unaltered TWRP image either through TWRP or using the official TWRP app, other apps like flashify should work to. Now you can reboot to recovery and flash the kernel.

Side note, a handy feature of this Kernel is the fact you will no longer need to use key combos to boot. Once the kernel is installed you can boot to system like normal using the power button etc. And to boot to twrp you can use the option 'reboot to recovery' within the magisk app.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
UPDATE:

CHANGELOGS:

ThunderStorms-Kernel-S-v4.0.2 : 31.01.2022 - upstreamed to Linux 4.14.264 for OneUI4.only

* Samsung source : GULB/GULD

* Linux source : upstreamed to 4.14.264

* Support only for OneUI 4

* Samsung os patch level: 2022-01

* Korea "N" versions for S10 N10 uses source 5G "B" version - bcose no source)

* Magisk Offcial (24100) - magisk manager must be the same version, thx to DenisE and Corsicanu

* Compiled via Google Clang 14.0.1

* rest like in TS v4.0.1
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] dr.madmax:
Hello,

first thank you very much for your work!

In Changelog is written "Magisk Official (24101) but Magisk Manager 24101 shows me that Version 24100 is installed, after Kernel Update.

Every Time I open Magisk Manager, it will update to 24101. What is here wrong?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
What is updated? app or repo ? repo - You cant, app You can.

I have updated to offcial latest magisk source 24.1 - if is 24100 so I will change in description.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
Can be so S10e has magisk canary 24101 - so use the same version of magisk manager app - teh same as repo so :

S10e - 24101

rest - 24100.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] okij:
Here is Magisk app that fits to today's TS kernel on S10e, in case anybody needs it. Install this before applying additional Magisk setup.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UrbanDesimator:
Ow my goodness me I removed all my build.prop tweaks that your custom install script has a # against. reset my VM setting to your defaults, didn't use a cod FPS booster magisk mod. I did set CPU big to 2912 and middle to 2400 small 1945, with GPU set at 702 for min max and fir change used course demand. using gltool-1.0 to launch cod mobile solid 60fps all through games no drops I bow down, raise my bear, tip my hat and salute you, absolutely amazing cod mobile is so smooth lag free just how it should be. thank you x10000 UrbanDesimator

thundertweaks is brilliant app just have to trust your knowledge and experience 100000 out of 10
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UrbanDesimator:
yes that's RTC if people are doing recording or using any audio-editing/synth/beat/sample based apps increasing RTC max_user_freq makes huge difference. I saw that you dropped asop support, is that down to kernel source or another reason. I really hope you can find a way to keep ASOP support. Your kernel is such a massive improvent over the other 2 I have used. myself I rooted to get away from oneui, I have tried a couple of oneui UI based ROMs. I just can't get anywhere near the setup, or performance I have with EvolutionX. I'm just waiting to see some EvolutionX 6 "Snow" android 12 unofficial for S10+, there still pixel based UI which I find much easier to use. UrbanDesimator
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
UPDATE for Android 11 - OneUI R

is the same like TS v4.0.2 on OneUI 4 but has Magisk v23.0 Offcial.

ThundeRStormS_Kernel_S10_N10_OneUI_R_v4_0_2_CLANG14_20220203_magiskv23.zip | by ThundeRStormS for Galaxy S10 (SM-G973F)

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com

On OneUI 3.1 works Magisk v23.0.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Philnicolls89:
Thank you for still supporting A11 this is the best kernel! I'm holding off updating because my favourite mods don't have A12 support yet.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
You welcome. for now is easy bcose only magisk is changed - so is no problem for me till new GPU drivers works on Android 11 too.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UrbanDesimator:
Hi mate sorry to bother you I've been trying to compile your kernel on my Linux setup (Slackware-15.0 new and shinny). Without much luck I've used your "build" script and edited the build-aosp script successfully. We're I'm hitting a brick wall is trying to add the Google clang-14 GULB to build the 4.14.264 kernel as I'm planning to go to Android12 on either Evolution X or Pixel Experience ROM as updated are iminant. I presume you build on a Linux setup from /home/nalas/ being in some of the build scripts for camera and dtbo. Would you mind sharing your Linux build setup or an explanation of how you achieve it. Many thanks any help or guidance is much appreciated.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UrbanDesimator:
Just to give an update I've managed to compile with proton-clang. I've just got an issue with mkbootimg gki certificate I used the link in your build instructions on GitHub I presume it's not fully compatible with newer kernel. Or am I missing something else.

I've noticed on version 3.2 GPU thermals are not functioning.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
Hi, kernel source is ready for Google clang from 6.03 to 14.01, Alter above 10.3 doesnt boot and Proton too - no sense to make compile with this toolchains.

After copy /clone from github You have to write in kernel prime folder : sudo chmod -R 777 scripts

for change permissions - another way wireguard will give You a lot of errors.

In attach is the mkdtimg binary file - bcose from github is broken - idk looks like github breaks binary - always...

If You want to compile with another toolchain You have to add commits for fix boot problem by Yourself - Im not interested for make it working for all toolchains. I dont have S10/N10 device and I only continue update Samsung and Linux source.

For toolchain - change path in ts-build-*.sh and in build (oneUI) or build-aosp (AOSP) python script.

AOSP - after upstream Linux from 259 to 264 and Samsung source from A11 to A12 - AOSP doesnt compile - gives some errors... I have no time and willingness for make it working. So if You want AOSP working You have to fix compile errors.

Some time ago was possibility for compile via github but now Im not interested to continue this.

Kernel is fully cloned from my local repo and works - compile without any errors so You can get only problems with toolchain paths, mkdtimg and script permissions or not compatible toolchains.

You have to build enviroment in You Linux machine like is written in github description.

For compile You have to run : ./ts-build-clang-14.sh or ./ts-build-clang-14-aosp.sh for e.g. not build or build-aosp - they are run from bash scripts (sh).

Sorry for my approach to this but I have not S10/N10 devices and Im not interested make it compatible with AOSP and derivatives of this system like LineageOS, etc. , and all toolchains. The best one is Google Clang and my source is compatible with it.

If You can fix AOSP build - give github Pull Request - show commits for this fixes - I will marge them into my source or build the kernel for You only and dont share it pls.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] prototype4x4:
Hi nalas, many thanks for your work. Stuck on OneUI R because of GearVR (Shame on you samsung)

Any chance to build Wireguard kernel modules?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
It is builded in
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] prototype4x4:
O! Sorry, I had wireguard app restored from backub with data, so it did not ask for a root permission, and I forget :) Now everything is ok.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UrbanDesimator:
Hi nalas I've got it building linux-4.14.264 using clang-14 version 437112b after editing your "build" script for oneui. took a few attempts to get right just working threw creating a version packed up with aurora. If you like I can rename it build-aosp-cl14 and commit it I have a GitHub account with key setup.

UrbanDesimator
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
So on clang 14.01 aosp builded without compile errors? You can pull request on s10 github repo with your commit...i will merge it into source.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UrbanDesimator:
Hi nalas read all your info helped no end Ive done like you said and stuck to clang-14.01 worked out how to add it correctly and call it in build. I've got it building using ts-build-clang14-aosp.sh cloned from ts-build-clang-12-aosp.sh and edited to fit clang-14-r437112b. I've edited the original "build" script to build for aosp I will give the script a new name and make sure it works. once I'm fully confidant it's fully functioning we can arrange a folder on git I can commit to so you can merge/include. I build on slackware64-15.0 laptop using terminal I export ARCH=arm64 && export SUBARCH=arm64. Some parts of build scripts do specify my home folder as it did yours previously could we not change these to $(pwd) then would be universal. ts-build-clang-14-aosp.sh parts are camera file dir, dts dir, dtb dir.

I hope I find you well and thank you for your help/advice

UrbanDesimator
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UrbanDesimator:
I will pull request as soon as I've changed build script name and tested, just been having issues with fmis-is2 forgetting black test pattern
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] UrbanDesimator:
Hi nalas I haven't been able to install built kernel with your installer so I flashed the kernel .img and matching dtb.img dtbo.img files to my phone. booted could see version linux-4.14.264 no WiFi and after 2 mins sysui locks up I have to use power vol - to reboot and reflash 3.2 from androidfile host. I had flashed GULB twrp file prior to kernel. I rebuilt checking that ts-config-aosp and exynos-beyond2lte_defconfig are showing your default values. That kernel didn't boot at all full lockup at restart after flashing same way. I've sat and watched build output and have an error in fs/super.c undeclared identifier F2FS_SUPER_MAGIC. Im now trying to see if that has been present through all my builds I'll update you.

UrbanDesimator
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] luiz2005:
does anyone know how to solve the error in download mode, [custom binary recovery blocked by oem lock].
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Philnicolls89:
What phone are you using
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] luiz2005:
failed to mount /system root (device or rousource busy). How can I solve it?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Xrunner87:
Thank you very much, Nalas! Being able to set the minimum frequency of LITTLE cores to 130 MHz is genius! Daily usage power draw is significantly lowered.

I'm wondering, how about undervolting Exynos 9825? I saw voltage control in ThunderTweaks, but I'm not very knowledgeable in this area. Any ideas? thin-and-light laptops do benefit from undervolting their CPUs regarding battery life.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] phazei:
Will this work with OneUI 4.1 ?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
UV nothing gives for me... only lower a little battery temperatures. I dont use it. You can get random reboots, etc. Ppl dont know how to use it and write so kernel is no stable bcose random reboots....
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
I dont know. I dont have s10 and n10.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] 0autumn0:
Kernel 4.0.2 oneui 4.1 new features not working

The device I tested was the g977n
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] phazei:
Any chance there might be an updated kernel based on the more recent ones that've come out?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] ExtentedByte:
Hi, I am thinking about to unlock my bootloader and wanted to know, which function did not work on your side?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] TarelkaBorsha:
HI, I just installed the kernel on stock s10e and magisk always wants additional setup. Idk how to fix it. The only problem, because of that I can`t browse modules in the magisk app, everything else works just fine
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] TarelkaBorsha:
Direct install results in a bootloop, which I can leave only by flashing the kernel in twrp again
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
Use the same app version of magisk repo.

In kernel is 23.4 so use app 23.4.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] TarelkaBorsha:
Also, another thing. When I leave my phone on the charge, it often freezes on the samsung logo or on the charging status at the bottom. And the only way I can leave this state is by restart key-combo (vol. down + power). How can I avoid it?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Alex_x90:
Hi all. I've installed HYPER-ROM (which I believe comes w/ this kernel), but am interested in the lower minimum clockspeed that comes with flashing the DTB/DTBO. Is there somewhere I can read up on how to do that? Or are there some basic instructions to backup old ones/install provided ones? I think I've downloaded the proper folder (ThundeRStormS-DTB_&_DTBO-DTI8-stock.zip) but don't want to do anything hasty and brick my phone. If that rom doesn't in fact come with the kernel I'm definitely interested in installing.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
Idk....maybe too much UV...? Undervolt in power (margines)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
Dtbs are in kernel install zip file. Stock's dtb are for e.g in Corsicanu bl cp flash zip.

I dont remember but mid cpu was min at 377mhz and little at 182mhz....
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] DemotionFR:
it's a bit hard to hear that on a high-end device that is 3 years old.

:/
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
Its back... ui 4.1 booted.

For some time i dont update xda thread but is opened bcose some ppl uses older versions of kernel.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] GamingSoldier:
I was about to flash this kernel on the oneui 4.1, so is a good thing that i didn't

This kernel has gpu frequency control? I had previously used the Ambasadii Cruel Kernel and it didn't had, so when gaming it ran fine for about 5 minutes, then the fps dropped to half
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
It has not throttling anymore bcose has newer gpu drivers r36 and are faster then r32 and we cant add throttling ... another codes.

S10/N10 kernel changelog:

ThunderStorms-Kernel-S-v4.2

- Samsung source : GULB OneUI 4.1

- Linux source : upstreamed to 4.14.269

- Samsung os patch level: 2022-01

- HZ tick set at 100HZ

- S10, S10+, N10 Zram set at 2,0GB

- Changed some initial settings

- Added MALI GPU drivers r36p0 ValHall

- Backported Game Misc Control from Samsung S20

- Support Init.d scripts: /vendor/etc/init.d

- ThunderTweaks v1.1.1.0

- Magisk 24.3 Offcial build in kernel - thx to CruelKernel Team

Thanks to Corsicanu for help with Zygisk support.

- Compiled via Clang 14.01

- Rest like in realease 4.0.2

Kernel has modded dts for less heat and less throttle.

Ask ppl on ts group , I dont have S10 or N10.

Ive added cpu boost by Sultan K. in new version will be...Im waiting for Samsung update.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] krkhaha:
Hi guys. That kernel will be work on lineage S10e?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
Works but gcam doesnt work and mtp.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Alex_x90:
@nalas I've got some questions about getting stuff set up that involve the kernel but also some other questions about stuff on the s10, would you mind PMing me?

edit: nm above, got stuff working. However I've noticed an issue w/ "Store Mode" in the kernel battery settings. I've set store mode min to 70%, but when I plug it in at lets say 75%, it still starts charging when it shouldn't. Is there a fix for this? (I'm on android 11 and so v3.2)
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] neo2k12:
Am I dumb? Where's the 4.2 kernel? All I see is AiO 4.0.2 from January
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
Till now I dont update xda with new kernels.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Arjunpvl:
Can I flash it on the stock Rom?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] SaikoTSP:
@nalas , I need to pay 2€ to get access to a Thunderstorm kernel with a more recent base kernel? Legit question. Your kernel is a must have.

Cudos.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
You can compile it by Yourself for free from github source - if You know how to make it.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] V0latyle:
***Moderator Announcement***

Thread closed per author's request.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
In changelog is written: rest like previouse release and in OP 1st post is written f2fs support.

Wysłane z mojego SM-G973F przy użyciu Tapatalka
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] Trackdeluxe:
Yes but f2fs is delete in the changelog?

Kernel feautures:

* Support F2FS, CIFS and NTFS (R/W)

And in the changelog is only:

* Support CIFS and NTFS

I ask, because f2fs isn't work for me. V1 and V1.1 both version.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
Hi,

In OP 1st post : FTS@ support is written"

Kernel features:

* Samsung source : DTH7

* Samsung os date patch : 2020-09

* Linux source : 4.14.113

* Removed Freqvar Tune - block edit time_rate by user

* App blocker : blocked LKT, Lspeed, NFS, FDE, Ferravolt

* Optimizations in Linux source

* Powersuspend drivers updated to v2.0

* Gentle Fair Sleepers support

* Adaptative Fast Charge

* Fsync Control toggle

* Morosound v2.1.1 - thx to Moro

* Added a lot of TCP/IP algorythms

* Added a lot of I/O schedulers

* Added standard Wakelocks support

* Added Boeffla v1.1.0 Wakelocks Blocker support

* Added CPU govs: Blu_Schedutil, Ondemand, Performance

* Added editable by user up/down rate-limit in Schedutil

* Support F2FS, CIFS and NTFS (R/W)

* Support Init.d scripts: /vendor/etc/init.d

* ThunderTweaks v1.0.6.0

* Magisk 20.4 Offcial build in kernel - thx to CruelKernel Team

* Optimized for battery life

* Compiled via Clang 6.0.1, arter97 and proton toolchain

* Kernel use an AROMA installer to help guide you through the installation.

I dont have f2fs but one user from testers group has it, look at picture. N10 with data f2fs

Look in Your rom at fstab file fstab.exynos9820 /vendor/etc/ - has added f2fs or only ext4 ?

If rom has (ramdisk) with no support for f2fs files - kernel does nothing. If i good remmeber.

Im on Ambasadii 2.0 rom and it has not support for it.

regards

nalas
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] palamosteliaro:
Nice work, thanks a lot! Is there any chance mass storage mode will be added in this kernel to use drivedroid? Its the one thing I miss from hadeskernel, but he seems to have stopped developing for the s10.
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
It's added in v1.0 was in v1.1 too.

Added to defconfig file.

## STORAGE MASS

CONFIG_USB_F_MASS_STORAGE=y

CONFIG_USB_CONFIGFS_MASS_STORAGE=y
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] palamosteliaro:
Thanks for your reply nalas. I think its not installed properly on my phone then, because drivedroid doesn't detect the mass storage mode. AromaInstaller finished with successful message though, I attached screenshot from ThunderTweaks info. Is this whats supposed to say when your kerner is installed successfully?
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
Hi, this is not my kernel, this is Ianmcd kernel ... idk He has for AOSP or OneUI Q too.

Mine is ThunderStorms. Looks like not installed.

Which twrp You use ? for my kernel must be not magisk pathced - I use Ianmacd v. 3.4.0.2
[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] palamosteliaro:
Oh yes i have magisk installed, i remember now that i patched the recovery on magisk before i flashed it (as the instructions said) I am pretty sure if i flash unpatched recovery now it will do factory reset and encrypt my data (learned that the hard way :) )

Thanks for taking the time to reply to me, i will bookmark this kernel and install it next time i do factory reset. Extra thanks for including the mass storage mode, no one seems to care anymore and it's literally the only thing i miss from the stock experience. Have a nice day!