4
Development - [Kernel] [5.10.142] [AOSP/OneUI] Loki Kernel | Exynos2200 | S22 (P...
source link: https://forum.xda-developers.com/t/kernel-5-10-142-aosp-oneui-loki-kernel-exynos2200-s22-plus-ultra.4468599/#post-87705261
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Development [Kernel] [5.10.142] [AOSP/OneUI] Loki Kernel | Exynos2200 | S22 (Plus / Ultra)
Thread starter
Start date
Loki Kernel for S22 (Exynos)
Supported devices:
- SM-S901B (r0s)
- SM-S906B (g0s)
- SM-S908B (b0s)
- disabled Knox crap
- added a wakelock blocker (along with a default list - TLDR would be much better idle drain)
- fixed Wi-Fi hotspot on GSIs
- some other tweaks
- etc.
Thanks to afaneh92 for the kernel source/base.
Code:
/*
* Your warranty is now 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 ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
- SM-S901B (r0s)
- SM-S906B (g0s)
- SM-S908B (b0s)
Features:
- upstreamed to 5.10.142- disabled Knox crap
- added a wakelock blocker (along with a default list - TLDR would be much better idle drain)
- fixed Wi-Fi hotspot on GSIs
- some other tweaks
- etc.
Instructions:
Flash the zip via TWRP / FKM.Changelog/Downloads
Telegram Group
Kernel Source
Thanks to haridhayal for all the help.Thanks to afaneh92 for the kernel source/base.
Last edited: Sep 14, 2022
Reactions: turb1te
Well, I might root my phone soon haha, this looks pretty cool
sloeberiaan
Member
Jan 18, 2009
Hi There!Loki Kernel for S22 (Exynos)Code:/* * Your warranty is now 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 ROM * before flashing it! YOU are choosing to make these modifications, and if * you point the finger at me for messing up your device, I will laugh at you. */
This kernel has only been tested on GSIs. It might work on OneUI but try it at your own risk.
Supported devices (for now):
- SM-S901BFeatures:
- disabled Knox
- added a wakelock blocker
- minor tweaks
- etc.Instructions:
Flash the kernel image via fastbootd:Code:fastboot flash boot Loki_Kernel_v1.0_r0s.img
Changelog/Downloads
Telegram Group
Kernel Source
Thanks to haridhayal for helping me and for his S21 kernel that was used as a reference.
Thanks to afaneh92 for the kernel source/base.
I would like to give this kernel a shot but would like to build it myself.
Could you give me a hand here since this is my first time, I do have programming experience, but none compiling Android kernels.
I see in your readme that you are using these dependencies:
/home/jgudec/Exynos2200/toolchain/
/home/jgudec/build-tools/
/home/jgudec/gas/
Could you please tell me for the toolchain, build-tools and gas where and what versions of those you got for building?
Thansk!
New builds up.
Changes:
- Upstreamed to 5.10.138
- Added builds for One UI along ones for AOSP
- Other tweaks regarding performance and battery life (at least I hope so)
- Added more wakelocks to the blocking list
Changes:
- Upstreamed to 5.10.138
- Added builds for One UI along ones for AOSP
- Other tweaks regarding performance and battery life (at least I hope so)
- Added more wakelocks to the blocking list
Reactions: turb1te, Normusmaxamus and NisseGurra
So as this is my first Samsung phone which seems less "mod" friendly then my previous devices;
I am rooted exynos base s22 on AVG6 as I'm not able to successfully flash newer firmwares.
Can I just flash this with FKM and live happily ever after?
Or are there some prerequisites or things to consider?
Appreciate the work! It's a shame to see the lack of custom development, so thank you!
I am rooted exynos base s22 on AVG6 as I'm not able to successfully flash newer firmwares.
Can I just flash this with FKM and live happily ever after?
Or are there some prerequisites or things to consider?
Appreciate the work! It's a shame to see the lack of custom development, so thank you!
I've updated the kernel source with changes from the AVG6 firmware, so you should be good to go.So as this is my first Samsung phone which seems less "mod" friendly then my previous devices;
I am rooted exynos base s22 on AVG6 as I'm not able to successfully flash newer firmwares.
Can I just flash this with FKM and live happily ever after?
Or are there some prerequisites or things to consider?
Appreciate the work! It's a shame to see the lack of custom development, so thank you!
If any issue arises, you can always go back to the stock kernel.
It is a shame (the development state), but hopefully that will change as more time passes.
Thanks for your fast reply.
Just to be sure, when flashing with FKM there is nothing wiped?
If for some reason I would want to go back to stock i need to go through Odin or is stock kernel available somewhere?
If I would find a way to update to AVH9 (or newer) normally the kernel should still be compatible right?
Just to be sure, when flashing with FKM there is nothing wiped?
If for some reason I would want to go back to stock i need to go through Odin or is stock kernel available somewhere?
If I would find a way to update to AVH9 (or newer) normally the kernel should still be compatible right?
When you flash a kernel, there is no need to wipe the data of your device.Thanks for your fast reply.
Just to be sure, when flashing with FKM there is nothing wiped?
If for some reason I would want to go back to stock i need to go through Odin or is stock kernel available somewhere?
If I would find a way to update to AVH9 (or newer) normally the kernel should still be compatible right?
You can get the stock boot.img by downloading the firmware, opening up the AP file in 7-Zip Z-Standard and opening up boot.img.lz4 (you need to use 7-Zip Z-Standard, not the regular 7-Zip, to extract .lz4 files) and taking out the boot.img.
After that, just compress the boot.img into a .tar file and flash that file through the AP slot of Odin.
You can also patch that boot.img with Magisk Manager (on any rooted or non-rooted phone) if you want it to be rooted from the get-go.
Reactions: bamn
When you flash a kernel, there is no need to wipe the data of your device.
You can get the stock boot.img by downloading the firmware, opening up the AP file in 7-Zip Z-Standard and opening up boot.img.lz4 (you need to use 7-Zip Z-Standard, not the regular 7-Zip, to extract .lz4 files) and taking out the boot.img.
After that, just compress the boot.img into a .tar file and flash that file through the AP slot of Odin.
You can also patch that boot.img with Magisk Manager (on any rooted or non-rooted phone) if you want it to be rooted from the get-go.
Thanks again!
Last question, couldn't I just flash the full (patched) AP file?
This would flash more than just the kernel, but that doesn't really matter right?
Of course, you can flash the whole AP package, I just am not sure if it will then wipe your data.Thanks again!
Last question, couldn't I just flash the full (patched) AP file?
This would flash more than just the kernel, but that doesn't really matter right?
Reactions: bamn
Of course, you can flash the whole AP package, I just am not sure if it will then wipe your data.
So far it hasn't, I've been flashing a lot trying to get the latest update installed.
does this work on a snapdragon S22?
Top Liked Posts
-
New builds up.
Changes:
- Upstreamed to 5.10.138
- Added builds for One UI along ones for AOSP
- Other tweaks regarding performance and battery life (at least I hope so)
- Added more wakelocks to the blocking listLoki Kernel for S22 (Exynos)Code:/* * Your warranty is now 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 ROM * before flashing it! YOU are choosing to make these modifications, and if * you point the finger at me for messing up your device, I will laugh at you. */
- SM-S901B (r0s)
- SM-S906B (g0s)
- SM-S908B (b0s)Features:
- upstreamed to 5.10.142
- disabled Knox crap
- added a wakelock blocker (along with a default list - TLDR would be much better idle drain)
- fixed Wi-Fi hotspot on GSIs
- some other tweaks
- etc.Instructions:
Flash the zip via TWRP / FKM.Changelog/Downloads
Telegram Group
Kernel Source
Thanks to haridhayal for all the help.
Thanks to afaneh92 for the kernel source/base.Thanks for your fast reply.
Just to be sure, when flashing with FKM there is nothing wiped?
If for some reason I would want to go back to stock i need to go through Odin or is stock kernel available somewhere?
If I would find a way to update to AVH9 (or newer) normally the kernel should still be compatible right?
You can get the stock boot.img by downloading the firmware, opening up the AP file in 7-Zip Z-Standard and opening up boot.img.lz4 (you need to use 7-Zip Z-Standard, not the regular 7-Zip, to extract .lz4 files) and taking out the boot.img.
After that, just compress the boot.img into a .tar file and flash that file through the AP slot of Odin.
You can also patch that boot.img with Magisk Manager (on any rooted or non-rooted phone) if you want it to be rooted from the get-go.Thanks again!
Last question, couldn't I just flash the full (patched) AP file?
This would flash more than just the kernel, but that doesn't really matter right?
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK