[Samsung Galaxy S10/S10+/S10 5G/E Cross Device Deve] nalas:
ThundeRStormS Galaxy S10/N10 Exynos family for OneUI S/Q/R & AOSP R

SM-G970F/N, SM-G973F/N, SM-G975F/N, SM-G977B/N

SM-N970F, SM-N971N, SM-N975F, SM-N976N, SM-N976B

Compatibility notes :

Only for Android OneUI Q odexed and deodexed roms S10/N10 Exynos family ROMs

AOSP is supported - PIXEL EXP and crDroid doesn't work !!!​

Kernel features:

* Samsung source : GULB/GULD

* Samsung os date patch : 2022-01

* Linux source : backstreamed to 4.14.264

* Kernel v4.0 and up supports only OneUI4 ( no AOSP support for Android 12)

* Support for OneUI 3.x and AOSP R (some Roms - I don't have AOSP - for Your own risk - do kernel backup)

* Added auto OS_Patch Date - no needed patching boot.img no more, thx to CruelKernel team

* Device Tree Blobs in one Aroma installer

* Removed Freqvar Tune - block edit time_rate by user

* App blocker : blocked LKT, Lspeed, NFS, FDE, Ferravolt (You can get restart the phone if You use this apps)

* Optimizations in Linux source

* Sched/CPU Governors : modded schedutil by @nalas (schedutil_ts), ondemand, interactive

* Powersuspend drivers updated to v2.0

* Gentle Fair Sleepers support

* Adaptative Fast Charge

* Fsync Control toggle

* Mass Storage support

* 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 Sustanable Freq's support for big.Mid CPUs

* Support GPU Voltage Control

* Added Boeffla v1.1.0 Wakelocks Blocker support

* Added CPU govs: Blu_Schedutil, Ondemand, TS_Schedutil

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

* Battery settings: Store Mode, Charging Levels and Unstable Power Detection

* Added Power Energy consumption tracking (in last_kmsg) from Linux 5.x

* Added Sustanable Freq for BIG CPU - set at 1820MHz

* Support FlatMem

* Support Frandom x15 faster then Linux Urandom - disabled bcose Srandom is enabled

* Support Srandom x150 faster then Linux Urandom

* Removed Support Suspend Freq's for each CPU - max/min freq for screen off time

* Support turn on/off DVFS for GPU

* Support CONFIG_HZ to 25Hz, 50Hz, 100Hz, 250Hz, 200Hz, 300Hz, 1000Hz - set at 100HZ

* Enabled VNSwap and ZRAM - 1Gb for 8GB and 2.5GB for 6GB of RAM devices

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

* Support Fingerprint Boost

* Support Battery Saver module

* Support Sustanable Freq for BIG Core - 1820MHz

* Support Frandom (10x faster then Linux Urandom)

****** ONLY BY fLASHING DTB/DTBO img ***********

* Device Tree Blobs support (dtb and dtbo) [Underclock Littel CPU to 130MHz, disable Freqvar up/down_limit_rate_us - user can edit it in ts_schedutil settings, CPU/GPU optimizations)

* Support for lower frequencies in Mid CPU to 377 MHz

* Support for OC frequencies for All CPU's to 2106/2400/3016 MHz

* Support Underclock for GPU to 100MHz (only with DBT/DTBO partitions flashed)

* Unlocked OC/UC in kernel source for all CPU's

* Support GPU undervolt and throttling settings

********************************************************

* Support Battery settings : Charging Level, Store Mode, Unstable Power Detection

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

* ThunderTweaks v1.1.0.4

* Magisk 24.1 Offcial build in kernel - thx to CruelKernel Team & Corsicanu

* Optimized for battery life

* Compiled via Google Clang 14.0.1

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

TOOLCHAINS: Arter97 and Cruel - breaks WIndows 10 assistant app connection - QR camera doesn't work.

Recommended Apps:

To tweak most of the settings in the kernel, I recommend using ThunderTweaks app.

_________________________________________________

IMPORTANT INFORMATIONS:

1. WARNING: YOU UNDERSTAND THAT INSTALLING CUSTOM FIRMWARE/ROM/KERNEL IS AT YOUR OWN RISK!!!

2. YOUR WARRANTY CAN BE VOID.

"I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.

Please do some research if you have any concerns about features included in this kernel before flashing it! YOU are choosing to make these modifications, and if you point

the finger at me for messing up your device, You can't blame me for this fact."

3. NO REQUESTS!!!

_________________________________________________

INSTALLATION PROCESS:

FOR STOCK ODEX/DEODEX ROMS - read carefully

FIRST - Clear cache apps like Kernel Adiutor or MTweaks or another one in system app menager !!!

Backup EFS, DTB, DTBO, DATA and KERNEL as always in TWRP !!!

Download the latest kernel version zip file

Use only not patched (magisk) recovery - kernel has magisk build-in

Flash the CLEAN ROM, next restore Your DATA and flash the kernel zip with root or not

Choose aroma selection | If You don't know what Device Tree Blobs are and how to use it so don't flash it - You can brick Your phone !!!

If You have fingerprint patter problem pls use link from CruelKernel for patch img file for another date. Link

Reboot

ThunderTweaks app is copied to Your sdcard/ThunderTweaks folder. You can install it manually.

PROBLEMS / BUGS:

No f2fs partition support - Kernel support this kind of system files, if You can't get acces to this so look ROM you are using support f2fs or not.

You can look into fstab.exynos9820 file located in /vendor/etc/ folder.

If in line with DATA partition is only ext4 - so means ROM not support f2fs.

-------------------------------

Device Tree Blobs will be present on all another kernels (are in dtb/dtbo partition so flashing only boot.img not helps) - so if You want to change it for stock or another kernel You have to flash this partitions via ODIN or TWRP.

If You have no frequencies lower then stock so You have not flashed modified DTB/DTBO partitions !!!

-------------------------------

Make F2FS working:

- Make backup You fstab file first : /vendor/etc/fstab.exynos9820

- Edit Your fstab file by add this two lines:

/dev/block/platform/13d60000.ufs/by-name/cache /cache f2fs rw,nosuid,nodev,noatime,inline_xattr,flush_merge,nobarrier wait,check,formattable - makes bootloop

/dev/block/platform/13d60000.ufs/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,usrquota,grpquota,fsync_mode=nobarrier wait,check,quota

- or rename this file (View attachment 5102437) to fstab.exynos9820 and copy via TWRP to system_root/vendor/etc/ folder and set permissiont by chmod to 0644 and reboot the phone.

- F2FS is full support now.

Back to stock/previouse Device Tree Blobs:

1) ODIN

- Unpack dtb.img.lz4 and dtbo.img.lz4 from Your latest stock frimware AP....md5

- Pack this two files to dtb.tar archive file

- Run latest Odin and Unset Auto Reboot, add dtb.tar to AP section, add Home_CSC to CSC section, next connect Your device in Dwonload Mode, Flash

- Reboot.

2) Flashable TWRP

- use flashable zip file from another kernel - flash via TWRP

- You can make dtb/dtbo as a flashable zip file and flash it via TWRP | for flash use :

dd if=/tmp/your_name_folder/dtb.img of=/dev/block/platform/13d60000.ufs/by-name/dtb bs=4096

dd if=/tmp/your_name_folder/dtbo.img of=/dev/block/platform/13d60000.ufs/by-name/dtbo bs=4096

Thanks for reports.

_________________________________________________

CREDITS :

- The Linux Kernel Archive for the Linux Patches https://www.kernel.org/

- Samsung Open Source Release Center for the Source code http://opensource.samsung.com/

- @osm0sis for Android Image Kitchen and anykernel2 https://xdaforums.com/showthread.php?t=2073775

- Magisk and SuperSu Team for root method

- @evdenis Denis Efremov and Cruel Team for source, Samsung updates and help.

- MoRoGoKu, Anan1211, Pascua28, Corsicanu

- Ambasadii

- @TheMadScientist, @bartolomeo10, @touseef77, @okij, @tin2404 and tester group.

_________________________________________________

SOURCE of the kernel:

GitHub: Link

_________________________________________________

Contributors:

@nalas

ThundeRStormS Team

_________________________________________________

DISCUSSION:

Links removed by moderator

_________________________________________________

Version Information:

Statsus : Stable

Current version : AiO v4.0.2 (All in One)

Release Date : 2022-01-31

_________________________________________________

DONATION:

If you liked my work, you can collaborate by giving thanks and with some donation to continue working hard.

Thank you very much to all.

Link removed by moderator

_________________________________________________

CHANGELOGS & DOWNLOADS in 2nd post

_________________________________________________