[KERNEL][CM12.1 (based)][Z1][5.1.1]M5 Kernel - Xperia Z1 Android Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I am NOT resposible for any damage done to your device, your neighbor, or any other things you like/hate.​
Introduction:
About:
This Kernel is a port from the Z2/Z3/Z3C M5 Kernel based on the official CM12 kernel. It should work with any Rom using the stock CM kernel too (Like Carbon and Liquid).
Installation Instruction:
THIS DOES ONLY WORK ON UNLOCKED BOOTLOADER!
When you're on CM/a CM based Rom:
Flash the zip file in recovery (not CM recovery)
When coming from Stock:
Flash the boot.img included in the zip file using fastboot. Flash a CM based Rom then and flash the Kernel zip file again as the Rom overrides the Kernel.
Download:
M5 Kernel (Release Versions)
https://dl.myself5.de
M5 Kernel (Test Versions)
https://testing.myself5.de
Thanks/Credits:
Myself5 for making this kernel in the first place!
DooMLoRD (and therefore all guys he thanked listed below) - for a lot of Commits
FreeXperia Team (especially Jerpelea) - for too many things!
Kali- - to help get the correct dtbTool parameters for a bootable kernel
Faux123 - for lots of patches, you rock dude!
koush & all CyanogenMod maintainers - for too many things!
Dees_Troy & TeamWin - for their excellent work on TWRP Touch Recovery
Phil3759 - for his excellent work on PhilZ Touch Recovery
myfluxi - for a lot of great patches
flar2 - for a lot of great patches
dbolivar- toolchain fixes
FranciscoFranco - for Cortex-A15 optimizations, bunch of other things!
CarbonRom Team - for too many things!
vishal-android-freak - for too many things!
phaseburn - for being a good friend and helping me with almost everything !
sreinst1 - for too many things!
infected_ - for help with SM!
pec0ra - for fast_hotplug
AndroPlus - for too many things!
sparksco - for the SaberMod Toolchain
YoshiShaPow and Frap129 - for SaberNaro Toolchain
Team AOSPAL - for the Kernel Optimizations
If I forgot you, please tell me.
To donate to Myself5:
​
XDA:DevDB Information
M5 Kernel, Kernel for the Sony Xperia Z1
Contributors
oshmoun, Myself5, tomascus
Source Code: https://github.com/Myself5/android_kernel_sony_msm8974
Kernel Special Features:
Version Information
Status: Testing
Created 2015-07-24
Last Updated 2016-07-01

Changelog
Latest Version: V11.2
Changelog:
Version 1:
Initial Z2 Release
Introduce Optimized Buildflags in order to build with SaberMod 4.9
Add Intelliplug
Add Fastcharge
Add new CPU Govs: wheatley, Smartassv2 LionHeart, Lagfree, Intelliactive
Add new I/O Sheduler BFQ, fiops, SIO
Add Faux123 Sound Control
GPU OC to 657MHz, Idle on 27MHz and add 100MHz Step
Version 1.2
Fix D2W
Add fast_hotplug CPU Hoplug
Version 2:
Implement kexec-hardboot -> this allows the usage of MultiROM
CPU OC over 2.9 GHz -> We now can OC up to 3.03GHz
Version 3:
Add CPU Govs Intellidemand, smartassH3 and adaptive
Add IO Sheds VR, ZEN, SIO-Plus and tripndroid
Add Custom Logo
Fix simple ondemand GPU Gov and add conservative
Version 4:
Add 268MHz CPU Step -> CPU can now idle on lower CPU freq and save battery
Add Alucard Hotplug and CPU Gov
Add ElementalX Gov
Revert OC Ability to 3GHz -> 3GHz was just not stable
Add KCAL support
Add F2FS Support
Initial Z3 Bringup
Version 5:
Add Bricked Hotplug
Add new CPU Govs Alucard, HYPER, OndemandPlus, Nightmare, Darkness, PegasusQ, Smartmax
Remove F2FS Support again -> Seems not to be very stable
Version 5.1:
Revert Custom Bootsplash -> together with the new Display Drivers it made the device not to boot anymore
Version 6:
Fix for Z3* Touch in MultiROM -> updated Clearpad Touch Driver
Initial Z3 Compact bringup
Version 7:
Add slim and zzmoove CPU Gov
Initial Z1 Compact bringup by @oshmoun
Enable F2FS Again
Update Alucard, Darkness and Nightmare Govs
Update BFQ I/O Shed
Update Alucard Hotplug
Rebase IntelliPlug to faux123's latest Version
Version 8:
Fixed F2FS, thanks to @Hazou
Finally implement Intelli_Termal V2, thanks to @someone755 and @oshmoun
Updated alcurd, nightmare, darkness
Version 9:
Initial Z1 bringup by @oshmoun and @Langes
Kernel Zip is now based off AnyKernel2 by @osm0sis, this allows the installation on every Rom using CM Kernel, even if it has a different Ramdisk than CM, like Mokee and Slim
Version 10:
Initial Bringup for Sony Xperia Tab Z2 (LTE and Wifi) thanks to @rcstar6696
Fix Kernel install issues with AnyKernel2
Display Kernel Version in Settings (Change Localversion from M5-Kernel to M5-Kernel-*VERSION*
Add Adreno_idler
Update zzmoove to Version 1 Beta 8
Fix a bunch of Display issues (like Black lines) on Z1C
Add mac80211 injection patch and HID patch for keyboard support
Version 10.2:
Fix Soft Reboots on rhine devices
Add Oneshot Sync
Tweak kgsl
Fix loading of LZMA Compressed Recoverys
Version 11:
Probably the last 3.4 M5 Kernel release, we will start working on M5 Kernel based on the Sony 3.10 AOSP Kernel soon.
Merge CM Upstream (Includes merge of Sony 23.4.A.1.200/23.4.A.4.6)
Fix static noise on high-end headphones
Various zRAM fixes and improvements
Merge of Linux Kernel upstream to get the kernel base to 3.4.111 (latest 3.4 Kernel available)
@tomascus rules.
Version 11.1:
Fix sound again by reverting the previous sound fixes
Version 11.2:
Recompile Kernel because thanks to the Server failure we lost some of the V11.1 builds.
All Versions since V4:
Support for LZMA compressed Recoveries like MultiROM TWRP (http://review.cyanogenmod.org/#/c/89057/)
[Only for V*-Permissive] SELinux Permissive for use with Xposed Framework (http://review.cyanogenmod.org/#/c/78551/)
All Version included the newest CM Upstream Changes from the Day they got compiled. Version which are not mentioned explicitly did only include a CM Upstream update.
For a detailed Changelog, check the Github Commit history:
Lollipop
https://github.com/Myself5/android_kernel_sony_msm8974/commits

removed

Flashing time!

I will try. my friend.
Ich werde ihn testen. Mein Freund.

This kernel V9 is not working on MOKEE ROM it shows only the Sony logo and then reboots
It is the latest version of MOKEE
Thanks for your work
Sent from my Xperia Z1 using XDA Premium HD app

Tested, works flawlessy on CM 12.1 Honami
Sent by XDA Fax

yoyoyed said:
This kernel V9 is not working on MOKEE ROM it shows only the Sony logo and then reboots
It is the latest version of MOKEE
Thanks for your work
Sent from my Xperia Z1 using XDA Premium HD app
Click to expand...
Click to collapse
Kernel works fine. Any booting problems happen only if your rom uses a non traditional ramdisk. Anyway, generic ramdisks should never be used. Short of recompiling the kernel, the procedure is to unpack m5 and replace it's ramdisk.cpio with that from your rom.
Please don't ask how to do it, as this well documented om XDA. Hint: use archi kitchen...

optimumpro said:
Kernel works fine. Any booting problems happen only if your rom uses a non traditional ramdisk. Anyway, generic ramdisks should never be used. Short of recompiling the kernel, the procedure is to unpack m5 and replace it's ramdisk.cpio with that from your rom.
Please don't ask how to do it, as this well documented om XDA. Hint: use archi kitchen...
Click to expand...
Click to collapse
Not wanting to complain, but since V9 I use AnyKernel2, it does NOT contain a generic ramdisk because of exactly that reason. AnyKernel2 is designed to unpack the current boot.img, replace the zImage and dt.img, and apply 2 patches to the ramdisk (for lzma compressed recoverys and F2FS) and then repack the boot.img followed by flashing it. Not certainly sure why this does not work on Mokee Rom for you, we tested it especially on Mokee (as mokee has differently named libraries) and it worked fine.
Sent from my Xperia Z3 using Tapatalk

Myself5 said:
Not wanting to complain, but since V9 I use AnyKernel2, it does NOT contain a generic ramdisk because of exactly that reason. AnyKernel2 is designed to unpack the current boot.img, replace the zImage and dt.img, and apply 2 patches to the ramdisk (for lzma compressed recoverys and F2FS) and then repack the boot.img followed by flashing it. Not certainly sure why this does not work on Mokee Rom for you, we tested it especially on Mokee (as mokee has differently named libraries) and it worked fine.
Sent from my Xperia Z3 using Tapatalk
Click to expand...
Click to collapse
That's good to know, but I was just replying to someone who had problems. I have none of those, as I build kernels in a specific rom environment. So, no need for packing/repacking.
By the way: Great job...

Myself5 said:
Not wanting to complain, but since V9 I use AnyKernel2, it does NOT contain a generic ramdisk because of exactly that reason. AnyKernel2 is designed to unpack the current boot.img, replace the zImage and dt.img, and apply 2 patches to the ramdisk (for lzma compressed recoverys and F2FS) and then repack the boot.img followed by flashing it. Not certainly sure why this does not work on Mokee Rom for you, we tested it especially on Mokee (as mokee has differently named libraries) and it worked fine.
Sent from my Xperia Z3 using Tapatalk
Click to expand...
Click to collapse
Thanks
I think the problem is the cyanogenmod recovery. I flash it wich that recovery and get stuck and reboot all the time.
Now i flashed it wich Philz recovery and it is working.
Thank you

I flashed it by TWRP
Sent by XDA Fax

Thx , i've been waiting for this too long ..
btw is D2W working ?

iiD4x said:
Thx , i've been waiting for this too long ..
btw is D2W working ?
Click to expand...
Click to collapse
Doesn't work for me, can't activate it so it's probably not implemented yet
Sent from my Xperia Z1 running Tesla ROM

noahvt said:
Doesn't work for me, can't activate it so it's probably not implemented yet
Sent from my Xperia Z1 running Tesla ROM
Click to expand...
Click to collapse
hmm , i just found it on the changelog so i asked about it ..
wondering if its working on Z2/Z3 using the same kernel ..

noahvt said:
Doesn't work for me, can't activate it so it's probably not implemented yet
Sent from my Xperia Z1 running Tesla ROM
Click to expand...
Click to collapse
Same here, couldn't find an option to enable it... But everything else works damn fine love the hyper governor...

What apps do you guys use to make the changes. Just for interest sake. I use faux

screen freeze
Still happens screen freeze? For me only not cm12 is ok becouse tuchscreen unresponsiv sometimes.

LSD DREAMER said:
What apps do you guys use to make the changes. Just for interest sake. I use faux
Click to expand...
Click to collapse
Kernel Adiutor is the best in my opinion :laugh:

Better of this? http://forum.xda-developers.com/xpe...nel-cm12-1-based-modified-little-bit-t3110111

Related

[KERNEL][CM12.1 (based)][Z3][GPU+CPU OC][5.1.1]M5 Kernel

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I am NOT resposible for any damage done to your device, your neighbor, or any other things you like/hate.​
Introduction:
This is my first kernel for any Android device. I created it because I want to get the best out of my device. It initially started with some optimizations regarding SaberMod 4.9 compatibility but I tought why not optimize it even more.
About:
This Kernel is based on the official CM12 kernel, therefore it should work with any Rom using the stock CM kernel too (Like Carbon and Liquid). I run it together with Carbon here, all tests I do will also be done using Carbon. The Kernels features will get more with time
Features and Commit History:
Check 2nd Post!
Installation Instruction:
THIS DOES ONLY WORK ON UNLOCKED BOOTLOADER!
When you're on CM/a CM based Rom:
Flash the zip file in recovery
When coming from Stock:
Flash the boot.img included in your ROMs zip file using fastboot. Flash a CM based Rom then and flash the Kernel zip file again as the Rom overrides the Kernel.
Download:
M5 Kernel (Release Versions)
https://dl.myself5.de
M5 Kernel (Test Versions)
https://testing.myself5.de
Thanks/Credits:
DooMLoRD (and therefore all guys he thanked listed below) - for a lot of Commits
FreeXperia Team (especially Jerpelea) - for too many things!
Kali- - to help get the correct dtbTool parameters for a bootable kernel
Faux123 - for lots of patches, you rock dude!
koush & all CyanogenMod maintainers - for too many things!
Dees_Troy & TeamWin - for their excellent work on TWRP Touch Recovery
Phil3759 - for his excellent work on PhilZ Touch Recovery
myfluxi - for a lot of great patches
flar2 - for a lot of great patches
dbolivar- toolchain fixes
FranciscoFranco - for Cortex-A15 optimizations, bunch of other things!
CarbonRom Team - for too many things!
vishal-android-freak - for too many things!
phaseburn - for being a good friend and helping me with almost everything !
sreinst1 - for too many things!
infected_ - for help with SM!
pec0ra - for fast_hotplug
AndroPlus - for too many things!
sparksco - for the SaberMod Toolchain
YoshiShaPow and Frap129 - for SaberNaro Toolchain
Team AOSPAL - for the Kernel Optimizations
My Big Brother Eric - for helping me keeping focused on Development!
My friends Silas and Max - for letting me use their servers and being awesome!
If I forgot you, please tell me.
If you think I deserve a donation, I won't stop you
Thanks a lot to those who have donated!​
XDA:DevDB Information
M5 Kernel, Kernel for the Sony Xperia Z3
Contributors
Myself5
Source Code: https://github.com/Myself5/android_kernel_sony_msm8974/tree/cm-12.1
Kernel Special Features:
Version Information
Status: Beta
Created 2015-03-03
Last Updated 2016-07-01
Changelog
Latest Version: V11.2
Changelog:
Version 1:
Initial Z2 Release
Introduce Optimized Buildflags in order to build with SaberMod 4.9
Add Intelliplug
Add Fastcharge
Add new CPU Govs: wheatley, Smartassv2 LionHeart, Lagfree, Intelliactive
Add new I/O Sheduler BFQ, fiops, SIO
Add Faux123 Sound Control
GPU OC to 657MHz, Idle on 27MHz and add 100MHz Step
Version 1.2
Fix D2W
Add fast_hotplug CPU Hoplug
Version 2:
Implement kexec-hardboot -> this allows the usage of MultiROM
CPU OC over 2.9 GHz -> We now can OC up to 3.03GHz
Version 3:
Add CPU Govs Intellidemand, smartassH3 and adaptive
Add IO Sheds VR, ZEN, SIO-Plus and tripndroid
Add Custom Logo
Fix simple ondemand GPU Gov and add conservative
Version 4:
Add 268MHz CPU Step -> CPU can now idle on lower CPU freq and save battery
Add Alucard Hotplug and CPU Gov
Add ElementalX Gov
Revert OC Ability to 3GHz -> 3GHz was just not stable
Add KCAL support
Add F2FS Support
Initial Z3 Bringup
Version 5:
Add Bricked Hotplug
Add new CPU Govs Alucard, HYPER, OndemandPlus, Nightmare, Darkness, PegasusQ, Smartmax
Remove F2FS Support again -> Seems not to be very stable
Version 5.1:
Revert Custom Bootsplash -> together with the new Display Drivers it made the device not to boot anymore
Version 6:
Fix for Z3* Touch in MultiROM -> updated Clearpad Touch Driver
Initial Z3 Compact bringup
Version 7:
Add slim and zzmoove CPU Gov
Initial Z1 Compact bringup by @oshmoun
Enable F2FS Again
Update Alucard, Darkness and Nightmare Govs
Update BFQ I/O Shed
Update Alucard Hotplug
Rebase IntelliPlug to faux123's latest Version
Version 8:
Fixed F2FS, thanks to @Hazou
Finally implement Intelli_Termal V2, thanks to @someone755 and @oshmoun
Updated alcurd, nightmare, darkness
Version 9:
Initial Z1 bringup by @oshmoun and @Langes
Kernel Zip is now based off AnyKernel2 by @osm0sis, this allows the installation on every Rom using CM Kernel, even if it has a different Ramdisk than CM, like Mokee and Slim
Version 10:
Initial Bringup for Sony Xperia Tab Z2 (LTE and Wifi) thanks to @rcstar6696
Fix Kernel install issues with AnyKernel2
Display Kernel Version in Settings (Change Localversion from M5-Kernel to M5-Kernel-*VERSION*
Add Adreno_idler
Update zzmoove to Version 1 Beta 8
Fix a bunch of Display issues (like Black lines) on Z1C
Add mac80211 injection patch and HID patch for keyboard support
Version 10.2:
Fix Soft Reboots on rhine devices
Add Oneshot Sync
Tweak kgsl
Fix loading of LZMA Compressed Recoverys
Version 11:
Probably the last 3.4 M5 Kernel release, we will start working on M5 Kernel based on the Sony 3.10 AOSP Kernel soon.
Merge CM Upstream (Includes merge of Sony 23.4.A.1.200/23.4.A.4.6)
Fix static noise on high-end headphones
Various zRAM fixes and improvements
Merge of Linux Kernel upstream to get the kernel base to 3.4.111 (latest 3.4 Kernel available)
@tomascus rules.
Version 11.1:
Fix sound again by reverting the previous sound fixes
Version 11.2:
Recompile Kernel because thanks to the Server failure we lost some of the V11.1 builds.
All Versions since V4:
Support for LZMA compressed Recoveries like MultiROM TWRP (http://review.cyanogenmod.org/#/c/89057/)
[Only for V*-Permissive] SELinux Permissive for use with Xposed Framework (http://review.cyanogenmod.org/#/c/78551/)
All Version included the newest CM Upstream Changes from the Day they got compiled. Version which are not mentioned explicitly did only include a CM Upstream update.
For a detailed Changelog, check the Github Commit history:
Lollipop
https://github.com/Myself5/android_kernel_sony_msm8974/commits
Nice to see some kernel development going on
I'm backing up my device right now and will test your work after that.
Update:
- Boot took a while but it's all fine
- Will provide more results here in a while
- LED confirmed working now fully lit
- I think I got a random reboot while I left my Z3 in my room (if it happens again I will provide some logs etc for you to look into )
- Will do some benchmarking for the people who believe in those when I get time
- Sooo many new govenors, I'm pretty confused as I've never heard about most of them :silly:
(Google here I come ^^)
@Myself5 Is there a configuration you would suggest for daily use (music, some social networking, youtube)
lucky Z3 users .. Enjoy @Myself5's kernel
Z2 is already rocking with this kernel xD
Thanks for bringing this to our Z3, best thing you could have ever done.. Been using it ever since it was cooked into validus and been loving it ever since..
Fantastic news ! Would be great to get MultiRom Support to when possible
Sent from my Xperia Z3 using XDA Free mobile app
I definitely got a random reboot or signal loss.
I woke up my device and got the pin entry screen.
Two logs are attached as a zip (files exceed the text size limit).
Thanks for your effort.
Awesome! Thanks for you work on this kernel! It's about time to see some more cool things happening!
panzerscope said:
Fantastic news ! Would be great to get MultiRom Support to when possible
Sent from my Xperia Z3 using XDA Free mobile app
Click to expand...
Click to collapse
Already supported I just did not update the MRom post yet.
Omario-242 said:
I definitely got a random reboot or signal loss.
I woke up my device and got the pin entry screen.
Two logs are attached as a zip (files exceed the text size limit).
Thanks for your effort.
Click to expand...
Click to collapse
Thanks for the logs, I'll take a look.
squabbi said:
Awesome! Thanks for you work on this kernel! It's about time to see some more cool things happening!
Click to expand...
Click to collapse
There is defenetly some more cool stuff coming from me and some other awesome devs coming soon
Fantastic news, cant wait to get Multirom back and look forward to these other exciting features
Sent from my Xperia Z3 using XDA Free mobile app
---------- Post added at 03:31 PM ---------- Previous post was at 03:30 PM ----------
Fantastic news, cant wait to get Multirom back and look forward to these other exciting features
Will the recovery be based on TWRP ?
Sent from my Xperia Z3 using XDA Free mobile app
---------- Post added at 03:31 PM ---------- Previous post was at 03:31 PM ----------
Fantastic news, cant wait to get Multirom back and look forward to these other exciting features
Will the recovery be based on TWRP ?
Sent from my Xperia Z3 using XDA Free mobile app
---------- Post added at 03:32 PM ---------- Previous post was at 03:31 PM ----------
Fantastic news, cant wait to get Multirom back and look forward to these other exciting features
Will the recovery be based on TWRP ?
Sent from my Xperia Z3 using XDA Free mobile app
panzerscope said:
Fantastic news, cant wait to get Multirom back and look forward to these other exciting features
Sent from my Xperia Z3 using XDA Free mobile app
---------- Post added at 03:31 PM ---------- Previous post was at 03:30 PM ----------
Fantastic news, cant wait to get Multirom back and look forward to these other exciting features
Will the recovery be based on TWRP ?
Sent from my Xperia Z3 using XDA Free mobile app
Click to expand...
Click to collapse
Not sure what you are talking about. You just need to flash the Kernel, then follow the install instruction on the MRom thread. The Kernel is able to load FOTAKernel Recoverys just fine
Myself5 said:
Not sure what you are talking about. You just need to flash the Kernel, then follow the install instruction on the MRom thread. The Kernel is able to load FOTAKernel Recoverys just fine
Click to expand...
Click to collapse
I guess What I meant is where will you find the Multirom abilty ? Or do you flash the Multirom Zip in the Fota Recovery and use the Fota Recovery to flash second roms ?
Sent from my Xperia Z3 using XDA Free mobile app
panzerscope said:
I guess What I meant is where will you find the Multirom abilty ? Or do you flash the Multirom Zip in the Fota Recovery and use the Fota Recovery to flash second roms ?
Sent from my Xperia Z3 using XDA Free mobile app
Click to expand...
Click to collapse
yes, you do use the FOTARecovery, isn't that written in the Mrom OP ?
May i please request that in next build we have se to permissive instead of enforced? Thanks..
Oh lawd I've been waiting for this. Thank you myself5! Will test asap.
corpsegrinder62 said:
May i please request that in next build we have se to permissive instead of enforced? Thanks..
Click to expand...
Click to collapse
if wanted I can upload a second Version with SELinux set to permissive, did like that on the Z2 already.
Myself5 said:
if wanted I can upload a second Version with SELinux set to permissive, did like that on the Z2 already.
Click to expand...
Click to collapse
Thanks that will be appreciated if you could, i think i speak for many when i say permissive would help alot
corpsegrinder62 said:
Thanks that will be appreciated if you could, i think i speak for many when i say permissive would help alot
Click to expand...
Click to collapse
meanwhile you could do it with an init script as describet here:
http://forum.xda-developers.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245/page2
su
mount -o remount,rw /system
mkdir /system/su.d
echo "#!/system/bin/sh" > /system/su.d/permissive.sh
echo "setenforce 0" > /system/su.d/permissive.sh
echo "0" > /sys/fs/selinux/enforce
chmod 755 /system/su.d/permissive.sh
Click to expand...
Click to collapse
Alex3oe said:
meanwhile you could do it with an init script as describet here:
http://forum.xda-developers.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245/page2
Click to expand...
Click to collapse
Thanks, working with init.d perfectly.
The init.d script is working, but still it's only a work around
and many times (mostly after the random reboots)
somehow the permissive mode isn't set properly while booting,
so Xposed and all it's modules aren't working.
So a kernel with a permissive default mode would be awesome :good:

[L5/L7][KERNEL][4.4.x/5.0.x] SKernel (Pwoli Edition) [Milestone 8][23/08/15]

SKernel​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Super Fast - Super Smooth - Super Stable - Super Reliable
- Super COOL -
SKernel was created for giving the users of "underprivileged" devices a memorable experience.
It ensures that everything is perfect from kernel side.
SKernel was created in mind, keeping these things - Speed, Performance and Stability.
None had an upper hand over the other, all were given equal importance.
After all the bits were in their right places, SKernel was born.
Initially built for the LG Optimus L5, SKernel now supports all the variants of LG Optimus L5, L7 and L3 II.
​
Code:
#include <disclaimer.h>
/*
* Your warranty is now void. *
* This kernel is 100% guaranteed won't eat your pet cat *
* No guaranteed this'll explode your device, be careful, follow the instructions ! *
* DON'T point at me if your alarm dies after flashing this kernel ! *
*/
Features
- Based on Linux 3.4.11 Source
- Best Compatibility with KitKat and Lollipop
- zRAM
- zCache
- zSmalloc
- KSM
- GCC Linaro 4.9.3 (2015.03) compiled
- Full Linaro Optimizations ON
- Optimized Parameters from L Speed
- USB OTG Support (You will need some thing like this)
- Overclock - to 1100/1300MHz (stable)
- Underclock - to 61 Mhz
- 800MHz Undervolt
- 402/404 MB RAM (408MB on 0.1.4)
- Google Snappy Algorithm
- ARM RWSEM Algorithm
- Dynamic File Sync
- Enhanced SELinux
- Frandom - Entropy Generator
- Some ARM v7 optimizations
- Performance enhancements
- Audio enhancements
- And much more!
Governors
- smartassv2
- interactive
- conservative
- ondemand
- smartassH3
- performance
- intelliactive
- smartmax
- wheatley
- dancedance
- interactiveX
- lagfree
-intellidemand2
Coming Soon
- brazilianwax
- savagedzen
- intelliactive
-intellidemand2
- smartmax
- wheatley
- interactiveX
- dancedance
- lagfree
I/O Schedulers
- noop
- deadline
- cfq
- bfq
- sio
- fiops
- sioplus
- zen
- vr
Coming soon
- sioplus
- vr
- zen
Bugs
- Tiny issues on L7 (WiFi issues and lags on P700 variant with some ROMs)
- You tell me
Installation
Reboot to recovery
Flash the zip
wipe cache and dalvik (optional, but recommended)
Reboot
Enjoy SKernel!
It is suggested to read my reserved post's or at least the FAQ so that you don't run into trouble!​
Downloads:
Main Download: Mediafire
Mirror: AndroidFileHost
Thanks to:
#TeamHackLG - For their base CM11 kernel source!
@F4uzan - For all his help (that's a lot!), and most importantly for inspiring me to build a kernel from source!
@Paget96 - For L Speed Parameters!
@Caio99BR - My new friend and for his help!
For Devs/Source
Source Code for SKernel
You are free to use my kernel in your ROMs, as long as you give proper credits!
The Kernel Source is covered under GPL v2​
Donations
I have given a large chunk of my time and bandwidth behind this kernel. If you like my work and would like to help me pay my internet bills, then please consider donating. If you want to donate to me, just send me a PM! Every penny counts!
Thank you!
XDA:DevDB Information
SKernel Pwoli Edition, Kernel for the LG Optimus L5
Contributors
skyinfo, Caio99BR
Source Code: https://github.com/shskyinfo/SKernel
Kernel Special Features: CPU - Overclock, Underclock and UnderVolt. Entropy - Frandom. Governors - 10+. I/O - 9. Includes optimized Algorithms. USB OTG. And much more!
Version Information
Status: Stable
Current Stable Version: Milestone 6
Stable Release Date: 2015-05-08
Current Beta Version: Milestone 8
Beta Release Date: 2015-08-23
Created 2015-03-19
Last Updated 2015-08-23
Place Holder #2: Information on Builds/Releases
Current Status of Builds
Paused, busy with life
Uploaded Milestone 8 for all variants!
Whats new in next release
I'm out of ideas, suggestions welcome!
Next Release
Milestone 9 - ?/09/15
Testers - A Big Thanks!
@Leon FH - L7 P705
@Paget96 - L7 P705
@WinterR - L7 P700
@RolanDroid - L5 E610
jetei (4pda) - L5 E610
​
Place Holder #3: Changelogs
Milestone 8 - 23/08/15
5000+ commits, so impossible for changelog
Milestone 7-T - 15/07/15
Mostly a test version (hence the T)
Find changes on github
Milestone 6 - 08/06/15
Added BLN (creds: @aidasaidas75) you need BLN supported ROM
USB Force Fast Charge added
I/O Boost v2 added
Huge ext4 fixes
Using LZ4 Compressor (creds: @Caio99BR)
Using -Ofast Optimizations
MDP and ADSP updated for L7
No more black screen/lock screen lag on L7
Overclock fixed for L7 (creds: @Caio99BR)
Added Kernel Mode Neon
using msm_ion instead of ion
add NEON accelerated XOR implementation
adaptive vfs cache pressure
updated intelliactive governor
And more, visit GitHub
PREFINAL - 04/05/15
Updated BFQ to version7-revision7 (v7r7)
Using latest Linaro 4.9.3 (2015.03) compiler
Using new modules
Full Linaro optimizations ON
Optimized build flags
Milestone 4 - 26/04/15
Fixed WiFi for P700 variant without sacrificing NFC, thanks @Caio99BR
New modules for P700 variant
Mod version disabled for P700
Added intellidemand2 governor
Some SELinux improvements
Change flash type for L7, now same as L5
Milestone 3 - 06/04/15
Using Google's GCC 4.8 compiler now
Fully fixed and added Dynamic File Sync, thanks @Caio99BR
Using new modules generated from new compiler
Added compiler optimization flags
Fixes for msm_fb
Using new wlan.ko for L7 from Ron G
Using seperate boot.img for both variants of L7
Milestone 2 - 23/03/15
Updated cputime.h - for adding incompatible governors
Speed up ext4
SELinux updates
Revert ADSP to old size for L7
Using latest wlan.ko from THLG for L7
Updated freezer.c to not freeze tasks killed by OOM killer
mm.h updated from Torvalds
Remove duplication of jobs
Updated int_sqrt()
Some logical fixes in files
Using latest generated scsi and libra modules
Visit GitHub for more!
Milestone 1.1 - 20/03/15
Update is only for L7 [P700/P705]
Added Frandom Entropy
Updated ADSP and MDP sizes
More RAM available now
Added new frequencies
Overclock to 1300MHz, Underclock to 61MHz
Using new and optimized ARM RWSEM Algorithm
Milestone 1 - 19/03/15
Full Compatibility with Lollipop 5.0.x
Added Google Snappy
Added USB OTG
Initial Support for L7 [P700/P705]
Optimized some parameters, taken from L Speed
Only major changes shall be listed here in a user understandable way.
For in depth changes, visit my GitHub!
Changelogs to previous versions can be found here - SKernel Original Changelogs
Place Holder #4: FAQ
Q: Will this conflict with any mod I'm using?
A: As long as it doesn't have any entropy related stuff, its okay. Since the kernel already comes with an inbuilt entropy generator, it will conflict with the ones from mod, causing a poor, stuttered performance!
Q: Deep Sleep isnt working for me, Google Services causing wake-locks, what to do?
A: Go to settings, Privacy, Privacy Guard, All apps, long press Google Services, and deny/disable wake-locks! (Thanks to @Paget96 for the solution)
Q: Which version should I install?
A: (For L5)If you're on CM11 Beta 9.2+ or a ROM based on its sources, then use latest beta release!
Else, use Beta 0.1.4
However, Beta 0.1.4 does not have latest features of SKernel.
Beta 0.1.4 has only over clock, under clock and undervolt (on 800MHz)
Use only if your current ROM isn't CM11 Beta 9.2+ based!
(For L7) Use the latest ROM available, or you can test on other ROMs but you may face some issues. There is absolutely no harm in testing tho!
Q: Why am I getting flickers?
A: You're on a wrong version of kernel, ie, kernel is slightly incompatible (due to new KK ion), try switching between Beta 0.1.4 and latest release!
Q: Where can I find Beta 0.1.4
A: Go to Original SKernel Thread. It can be found in older releases on mediafire
Q: Which version should I flash
A: Flash kernel to respective model number (E610/E612)
Q: Which frequency is the safest
A: The default frequency, 800MHz, is the safest!
But, there's no harm in overclocking upto 1100MHz.
You MAY face some issues on 1100MHz, but 1050MHz is stable as 'rock'!
Q: WiFi doesnt work for me
A: Use the kernel I made for CyanHacker ROM (available on the thread)
Reserved
Last one!
Hohoo, nice dude
I like that new features.
Keep working
Regards
Paget96
How about Skernel for stok rom
Woahhhhhh awesome. Already can feel the smoothness.
I can also see 2 test builds for L7 and E610 builds too!!
Great work!!
Sent from my IdeaTab A2107A-F using XDA Free mobile app
droidxx9 said:
Woahhhhhh awesome. Already can feel the smoothness.
I can also see 2 test builds for L7 and E610 builds too!!
Great work!!
Sent from my IdeaTab A2107A-F using XDA Free mobile app
Click to expand...
Click to collapse
I meged same stuff(even more) to mine kernel no one felt difference.........Plus i cant see any audio related commits..
Will test 4.1 p705 work on p700?
RaMiz13 said:
Will test 4.1 p705 work on p700?
Click to expand...
Click to collapse
Yes
But kernel for P705 doesnt have nfc that is only difference
But I think that you don't use it
Regards
Paget96
Paget96 said:
Yes
But kernel for P705 doesnt have nfc that is only difference
But I think that you don't use it
Regards
Paget96
Click to expand...
Click to collapse
I already flashed it and yes I do not use NFC. ?
SMILEVN said:
How about Skernel for stok rom
Click to expand...
Click to collapse
not anytime soon...
maybe after 3-4 months only
droidxx9 said:
Woahhhhhh awesome. Already can feel the smoothness.
I can also see 2 test builds for L7 and E610 builds too!!
Great work!!
Sent from my IdeaTab A2107A-F using XDA Free mobile app
Click to expand...
Click to collapse
thanks!
aidasaidas75 said:
I meged same stuff(even more) to mine kernel no one felt difference.........Plus i cant see any audio related commits..
Click to expand...
Click to collapse
already sent you link
RaMiz13 said:
I already flashed it and yes I do not use NFC.
Click to expand...
Click to collapse
thanks for testing, hows it?
do you get any issues on ril?
Deepsleep?
Kernel is good but its not smooth as I hoped it will be. Maybe that's just the p705 version on p700 not working well. And how do I chech if there is deepsleep or not?
Edit: BTW I am on last Imers CM11 3152015
Ok my friend @skyinfo
Kernel is good, I like it, here is full review.
I saw that there is 400.01mb of ram instead of 402.98mb (i think)
There is no deep-sleep
Freqs going to 1008mHz there is no oc, also I don't see 96mhz freq which is mentioned in first post.
I like that kernel have frandom entropy, much faster I check entropy levels with my L Speed mod, and goin much faster
Also, device have lags more than with default cm11 kernel
Wifi work fine
RIL is there, work good, both 2g and 3g working, bluetooth working, everything is working
I know that this is little things, also I know that you will fix it today
And I know what are you trying to say that THLG update L5 more than L7
Waiting for the next release
This zip in attachment is for p705 users which use the latest CM11 by imer, this is default kernel
Thanks sky again for your awesome work
I know that you will fix all today
Regards
Paget96
new version out for L7, hopefuly better!
Milestone 1.1 - 20/03/15
Update is only for L7 [P700/P705]
Added Frandom Entropy
Updated ADSP and MDP sizes
More RAM available now
Added new frequencies
Overclock to 1300MHz, Underclock to 61MHz
Using new and optimized ARM RWSEM Algorithm
Download from mediafore!! P700 also added!
Sorry L5 guys, no update for us, we are lareday enjoying the kernel at 99% of its potential, now let me bring L7 to speeeeeeeeeeed!
is this working on imer cm11 ???
aidasaidas75 said:
I meged same stuff(even more) to mine kernel no one felt difference.........Plus i cant see any audio related commits..
Click to expand...
Click to collapse
I did say yiur kernel was good!!
Jobloxx said:
is this working on imer cm11 ???
Click to expand...
Click to collapse
Yes!
Sent from my IdeaTab A2107A-F using XDA Free mobile app
Everything is good, i feel my phone smoother little
But i got screen freezed in cm11 v6 by Plamb1r
Very lagy on my p700 and wifi not working

[KERNEL][CM12.1 (based)][Z1C][5.1.1]M5 Kernel

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I am NOT resposible for any damage done to your device, your neighbor, or any other things you like/hate.​
Introduction:
About:
This Kernel is a port from the Z2/Z3/Z3C M5 Kernel based on the official CM12 kernel. It should work with any Rom using the stock CM kernel too (Like Carbon and Liquid). I'm mainly using PAC 5.1, and it's working sweet so far!
Installation Instruction:
THIS DOES ONLY WORK ON UNLOCKED BOOTLOADER!
When you're on CM/a CM based Rom:
Flash the zip file in recovery
When coming from Stock:
Flash the boot.img included in the zip file using fastboot. Flash a CM based Rom then and flash the Kernel zip file again as the Rom overrides the Kernel.
Download:
M5 Kernel (Release Versions)
https://dl.myself5.de
M5 Kernel (Test Versions)
https://testing.myself5.de
Thanks/Credits:
Myself5 for making this kernel in the first place!
DooMLoRD (and therefore all guys he thanked listed below) - for a lot of Commits
FreeXperia Team (especially Jerpelea) - for too many things!
Kali- - to help get the correct dtbTool parameters for a bootable kernel
Faux123 - for lots of patches, you rock dude!
koush & all CyanogenMod maintainers - for too many things!
Dees_Troy & TeamWin - for their excellent work on TWRP Touch Recovery
Phil3759 - for his excellent work on PhilZ Touch Recovery
myfluxi - for a lot of great patches
flar2 - for a lot of great patches
dbolivar- toolchain fixes
FranciscoFranco - for Cortex-A15 optimizations, bunch of other things!
CarbonRom Team - for too many things!
vishal-android-freak - for too many things!
phaseburn - for being a good friend and helping me with almost everything !
sreinst1 - for too many things!
infected_ - for help with SM!
pec0ra - for fast_hotplug
AndroPlus - for too many things!
sparksco - for the SaberMod Toolchain
YoshiShaPow and Frap129 - for SaberNaro Toolchain
Team AOSPAL - for the Kernel Optimizations
If I forgot you, please tell me.
To donate to Myself5:
​
XDA:DevDB Information
M5 Kernel, Kernel for the Sony Xperia Z1 Compact
Contributors
oshmoun, Myself5
Kernel Special Features:
Version Information
Status: Alpha
Created 2015-07-10
Last Updated 2016-07-01
Changelog
Latest Version: V11.2
Changelog:
Version 1:
Initial Z2 Release
Introduce Optimized Buildflags in order to build with SaberMod 4.9
Add Intelliplug
Add Fastcharge
Add new CPU Govs: wheatley, Smartassv2 LionHeart, Lagfree, Intelliactive
Add new I/O Sheduler BFQ, fiops, SIO
Add Faux123 Sound Control
GPU OC to 657MHz, Idle on 27MHz and add 100MHz Step
Version 1.2
Fix D2W
Add fast_hotplug CPU Hoplug
Version 2:
Implement kexec-hardboot -> this allows the usage of MultiROM
CPU OC over 2.9 GHz -> We now can OC up to 3.03GHz
Version 3:
Add CPU Govs Intellidemand, smartassH3 and adaptive
Add IO Sheds VR, ZEN, SIO-Plus and tripndroid
Add Custom Logo
Fix simple ondemand GPU Gov and add conservative
Version 4:
Add 268MHz CPU Step -> CPU can now idle on lower CPU freq and save battery
Add Alucard Hotplug and CPU Gov
Add ElementalX Gov
Revert OC Ability to 3GHz -> 3GHz was just not stable
Add KCAL support
Add F2FS Support
Initial Z3 Bringup
Version 5:
Add Bricked Hotplug
Add new CPU Govs Alucard, HYPER, OndemandPlus, Nightmare, Darkness, PegasusQ, Smartmax
Remove F2FS Support again -> Seems not to be very stable
Version 5.1:
Revert Custom Bootsplash -> together with the new Display Drivers it made the device not to boot anymore
Version 6:
Fix for Z3* Touch in MultiROM -> updated Clearpad Touch Driver
Initial Z3 Compact bringup
Version 7:
Add slim and zzmoove CPU Gov
Initial Z1 Compact bringup by @oshmoun
Enable F2FS Again
Update Alucard, Darkness and Nightmare Govs
Update BFQ I/O Shed
Update Alucard Hotplug
Rebase IntelliPlug to faux123's latest Version
Version 8:
Fixed F2FS, thanks to @Hazou
Finally implement Intelli_Termal V2, thanks to @someone755 and @oshmoun
Updated alcurd, nightmare, darkness
Version 9:
Initial Z1 bringup by @oshmoun and @Langes
Kernel Zip is now based off AnyKernel2 by @osm0sis, this allows the installation on every Rom using CM Kernel, even if it has a different Ramdisk than CM, like Mokee and Slim
Version 10:
Initial Bringup for Sony Xperia Tab Z2 (LTE and Wifi) thanks to @rcstar6696
Fix Kernel install issues with AnyKernel2
Display Kernel Version in Settings (Change Localversion from M5-Kernel to M5-Kernel-*VERSION*
Add Adreno_idler
Update zzmoove to Version 1 Beta 8
Fix a bunch of Display issues (like Black lines) on Z1C
Add mac80211 injection patch and HID patch for keyboard support
Version 10.2:
Fix Soft Reboots on rhine devices
Add Oneshot Sync
Tweak kgsl
Fix loading of LZMA Compressed Recoverys
Version 11:
Probably the last 3.4 M5 Kernel release, we will start working on M5 Kernel based on the Sony 3.10 AOSP Kernel soon.
Merge CM Upstream (Includes merge of Sony 23.4.A.1.200/23.4.A.4.6)
Fix static noise on high-end headphones
Various zRAM fixes and improvements
Merge of Linux Kernel upstream to get the kernel base to 3.4.111 (latest 3.4 Kernel available)
@tomascus rules.
Version 11.1:
Fix sound again by reverting the previous sound fixes
Version 11.2:
Recompile Kernel because thanks to the Server failure we lost some of the V11.1 builds.
All Versions since V4:
Support for LZMA compressed Recoveries like MultiROM TWRP (http://review.cyanogenmod.org/#/c/89057/)
[Only for V*-Permissive] SELinux Permissive for use with Xposed Framework (http://review.cyanogenmod.org/#/c/78551/)
All Version included the newest CM Upstream Changes from the Day they got compiled. Version which are not mentioned explicitly did only include a CM Upstream update.
For a detailed Changelog, check the Github Commit history:
Lollipop
https://github.com/Myself5/android_kernel_sony_msm8974/commits
fixes
is the fix against black lines included ?
and maybe a fix for crappy notification sounds on cm12.1 with .ogg files ?
best regards
TECCC said:
is the fix against black lines included ?
and maybe a fix for crappy notification sounds on cm12.1 with .ogg files ?
best regards
Click to expand...
Click to collapse
Black line fix is included, notification sounds are not related to the kernel.
Sent from my Xperia Z3 using Tapatalk
Myself5 said:
Black line fix is included, notification sounds are not related to the kernel.
Sent from my Xperia Z3 using Tapatalk
Click to expand...
Click to collapse
thank you very much
Update:
Download links added, you'll find the kernel under amami folder.
Have fun!
a QUICK GUIDE for available governors in M5 kernel, based on this excellent resource.
Overclock is not working!
mohamed mahmaz said:
Overclock is not working!
Click to expand...
Click to collapse
Oh yes that is known, and it will come in later versions
Minor, major version? Is this 3.4 based or 3.10 based?
cm based 3.4
Sent from my Xperia Z1 Compact using Tapatalk
munjeni said:
Minor, major version? Is this 3.4 based or 3.10 based?
Click to expand...
Click to collapse
It's still 3.4 based, but as soon as Camera is working on 3.10 Kernel I'm going to work on a 3.10 based M5 Kernel as I'll use it for Carbon and OmniROM builds for my devices too.
Sent from my Xperia Z3 using Tapatalk
Myself5 said:
It's still 3.4 based, but as soon as Camera is working on 3.10 Kernel I'm going to work on a 3.10 based M5 Kernel as I'll use it for Carbon and OmniROM builds for my devices too.
Sent from my Xperia Z3 using Tapatalk
Click to expand...
Click to collapse
You need to ask jerpelea to give you link to the commit on git when everything worked! Last time when I used his kernel everything is worked, only which was lag was some videos but camera if I am not wrong worked well!
Does the kernel work with slim based roms? I have tried V7 and V7.9 with Tesla and unfortunately both are bootlooping.
Kernel works great. If I want to try F2FS support for the amami it doesn't work.
From my experience it is missing the f2fs mount strings in the fstab.qcom file in the ramdisk. Any chance u can add the mounting lines in the fstab file so I don't have to manually apply them?
Hazou said:
Kernel works great. If I want to try F2FS support for the amami it doesn't work.
From my experience it is missing the f2fs mount strings in the fstab.qcom file in the ramdisk. Any chance u can add the mounting lines in the fstab file so I don't have to manually apply them?
Click to expand...
Click to collapse
If you're sure that this is the problem, gladly
Just to be safe though, would you send me how fstab.qcom should look like? That way I won't make any unfortunate mistakes
Wow finally a kernel for CM12.
Thanks a lot!
EAP wifi fix maybe? Or is that not kernel related?
kristof93 said:
EAP wifi fix maybe? Or is that not kernel related?
Click to expand...
Click to collapse
no it is most probably kernel related (not sure though)
However, no fix has been found as of yet, at least I haven't stumbled upon one
Bootloop with the Validus ROM

[ROM/Kernel][6.0.1][Port][Uber 5.3] [AOSP/CM] Viper R6

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is a port of Optimus Kernel by Flashhhh for Titan​
Make sure to thank him - Here
I present to you my own kernel which has been built with many optimizations and tweaks. This kernel will work ONLY on Marshmallow roms(Not for stock roms) only.The main aim is to provide a stable kernel with optimizations.
I hope you all will like it
Custom Kernel Features:
- Updated to latest cm-13.0 Sources
- Compiled With Custom UBER 5.2.1 Toolchain
- Compiled With -O3 & Graphite Flags
- Additional many optimization flags
- Compiled With Cortex A7 Tweaks
- ARM v7 Optimizations
- Intelliplug
- Mpdecision hotplug driver(Using custom powerhal by CM)
- GPU underclock/overclock(Min:100 MHz & Max:533 MHz)
- Add dev/frandom
- Added Support for Kernel Neon Mode
- Enabled Pipe Flag
- Adreno Idler Algorithm
- PowerSuspend Driver v1.5
- Add BioShock/DanceDance Govs
- Added SmartMax/LionHeart Govs
- LCD Kcal Control by Savoca
- Faux's Sound Control
- Optimized ARM RWSEM Algorithm
- Optimized Square Root Algorithm
- LMK tweaks
- block: disable add_random
- Enable unaligned capability for ARM
- CpuFreq and CpuBoost Optimizations
- Disabled Gentle Fair Sleepers
- Enabled Many TCP Congestions
- Added SIO,VR & ZEN IO Scheduler
- Sched & Mutex Tweaks
- Pushed Read Ahead value to 512
- Use your android device as USB Keyboard/Mouse
- Enabled FSync by default
- Optimized Slub
- VFP HardFloat
- Power Efficient WorkQueues
- Reclaimed RAM from loggers
- Power Efficient WorkQueues
- Kexec patched
- Many more things (Check Github)
Disclaimer:
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 KERNEL
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.​
Pls Read This before flashing:
You need ROM's default kernel before flashing this, as this kernel makes use of AnyKernel 2 by @osm0sis. Make sure you have it otherwise clean flash the kernel with the rom to avoid any issues.(At least dirty flash rom+kernel) Credits to @attack11 for some part of install script.Read FAQ's and changelogs in 2nd post. THIS KERNEL COMES FINE TUNED OUT OF THE BOX. Some useful battery saving tipshttp://forum.xda-developers.com/showpost.php?p=64850959&postcount=198
DOWNLOADS:
Grab it here
#ROM infos on the 4th post, be sure to check it
How to Flash:
1. Download the kernel and place it into your phone storage
2. Reboot into recovery
3. Install the kernel
4. (optional) Wipe Dalvik Cache and Cache partitions
5. Reboot and enjoy!​
PLS DON'T MIRROR THE LINKS
Recommended app:
Synapse or Kernel Adiutor
Flash UKM.zip from the below link: (credits to @apb_axel)
http://forum.xda-developers.com/android/software/zip-synapse-script-universal-kernel-t2736986
And then install synapse from play store.
I would like to say thanks to @flashhhh for allowing me to port the kernel. Also a big thanks to @faux123 @YoshiShaPow @fermasia @Alberto97 @TeamMex @Quasar @Mazda @FabioSan @Blechdose @neobuddy89 @RenderBroken @savoca @deadman96385 @pinkflozd @alin.p @Cl3Kener @Shivam Kuchhal @cust0mworx for the awesome graphics and CYANOGENMOD TEAM
and MANY MORE...
XDA:DevDB Information
Optimised CM and Viper Kernel for Titan, Kernel for the Moto G 2014
Contributors
Vatsal
Source Code: https://github.com/koradiavatsal/Viper-kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v6
Stable Release Date: 2016-01-15
Created 2015-12-02
Last Updated 2016-01-17
FAQ
F.A.Q. - Read this before complaining!
1. My phone exploded, HELP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on hastebin.com and link it on your post. Logcats are useless for Kernel purposes, don't bother posting them.
2. This kernel works on Y or X rom?
A: Works on all CM13 based roms. Not for stock roms!!
3. OMG BATTERY SUCKZ, ITZ DEAD IN 45 MINUTES, HELP!
A: As you can imagine I don't build kernels to decrease battery life. All the battery life problems come from your apps, either Facebook, or Maps, or some Location Service being enabled etc etc. Check your damn wakelocks and fix them, the kernel is not responsible for them.
4. How do I flash this?
A: Read the OP, theres a reason why I added instructions on it.
5. What is a data loss? Did I just had one?
A: Data loss is simply having the connection cut for X periods of time, usually few seconds. Grey bars means the device is not connected to Google services for some weird reason, but you'll still have internet connection.
6. OP is arrogant, I'm gonna call the Internet Police?
A: Deal with it.[/QUOTE]
Info
Many thanks to showp1984 for this info
What is msm_mpdecision?
100% kernel based multi core decision! (should cpu1/2/3 be online or not?)
This is a special version modded by neobuddy Plus the idle frequency and some load thresholds have been adjusted by me.
Some Configuration:
startdelay = time until mpdecision starts doing it's magic (20000)
delay = time between checks (130)
pause = if something else plugs in the cpu, fall asleep for 10000ms (10 secs)
scroff_single_core = if the screen is off, don't plug in cpu1/2/3. Additionally: Unplug all cpus except cpu0 when screen is turned off (1)
enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
min_cpus = min cpus to be online, cannot be < 1. Default: 1
max_cpus = max cpus to be online, cannot be > 4. (if you set it to 2 and min_cpus to 1 you will basically have a dualcore) Default: 4
idle_freq = a value against that will be checked if a core +/- is requested. (600 MHz)
mpdecision's input event boost, aka project butter
This will boost your min cpu speed if you touch the screen or press a button and gives you full control.
In those events the min cpu freq will be risen to a predefined value on every online cpu. This boosts overall reaction times and smoothness a lot. (works similar to the qcom mpdecision binary)
So here's the surprise
Hello folks,
I am using my own optimised builds since initial phase of CM13. Rom and kernel are both build with Uber 5.2.1 and few more optimisations on the kernel (It's same like in the first post). The Uber Toolchain developer said due to new neon optimisations in Uber toolchains, the battery life has increased by 25%. Well using since a long time, I almost get 6hrs+ SOT(Ofcourse will vary with you) and a mindblowing performance. So I am going to provide weekly Uber CM13 builds with optimisations(It is somewhat close to pf-cm by Diamond Bond). The people interested, could use it , It will stay really close to CM and few picks here and there. I would really appreciate feedbacks I am using the build posted and it's really rock stable.
Download :-
All optimised buildshttps://www.androidfilehost.com/?w=files&flid=44644
Installation :-
A clean wipe is mandatory.
Wipe cache,dalvik cache, system, data
Flash the zip
Flash gapps ( I use slim zero gapps)
Reboot, Enjoy!
FAQ:-
Differences between UBERTC and other Toolchains
Changelog for the 1st December Toolchain updates
Regards
Awesome work brother
Vat Bro
This is cool.
Good going
Keep it UP
Check #4th post for the Optimised cm13 builds, Really didn't feel like making a new thread..
Is it fully functional, Like Working mobile data , camera Themes Etc... Is there any way you can provide delta updates to ur rom instead of downloading the whole file.. I'm currently using cm 13 which has no Major issues as of now , so is this rom(dec 2 build) Recommend or should I wait for future builds ?
Thanks IA ��
james11705 said:
Is it fully functional, Like Working mobile data , camera Themes Etc... Is there any way you can provide delta updates to ur rom instead of downloading the whole file.. I'm currently using cm 13 which has no Major issues as of now , so is this rom(dec 2 build) Recommend or should I wait for future builds ?
Thanks IA ��
Click to expand...
Click to collapse
Everything working same as CM, No OTA/delta updates sorry..
Vatsal said:
Everything working same as CM, No OTA/delta updates sorry..
Click to expand...
Click to collapse
Thanks for the quick response , I'll try it out and let you know .., . And thanks for the rom ��
I can't install your kernel over CM's stock kernel. there's an error with the updater-script. I am using the 02/12 CM13 build, how can I help?
(zip placed on the root of internal storage)
Vatsal said:
Everything working same as CM, No OTA/delta updates sorry..
Click to expand...
Click to collapse
Does that mean XT1068 users with one sim cannot use this?
Sent from my Moto G 2014 using Tapatalk
Vidhanth said:
Does that mean XT1068 users with one sim cannot use this?
Sent from my Moto G 2014 using Tapatalk
Click to expand...
Click to collapse
I guess thats fixed in cm as well
Vatsal said:
I guess thats fixed in cm as well
Click to expand...
Click to collapse
Sweet. Have you tried it though? Cuz I can't risk 310 MB lol
Sent from my Moto G 2014 using Tapatalk
Vidhanth said:
Sweet. Have you tried it though? Cuz I can't risk 310 MB lol
Sent from my Moto G 2014 using Tapatalk
Click to expand...
Click to collapse
I have msim
mpeL said:
I can't install your kernel over CM's stock kernel. there's an error with the updater-script. I am using the 02/12 CM13 build, how can I help?
(zip placed on the root of internal storage)
Click to expand...
Click to collapse
Installs really fine here, can someone else confirm the issue?
Vatsal said:
I have msim
Click to expand...
Click to collapse
Thanks man. I'll try it asap. I always wanted to be on 6.0 but the battery life held me back. But now that u have said its increased by 25%, I'll have to try it
Sent from my Moto G 2014 using Tapatalk
Vatsal said:
Installs really fine here, can someone else confirm the issue?
Click to expand...
Click to collapse
Same here , I tried flashing this Kernel over ur rom(didnt know it already had this kernel) , I tried mounting n unmounting system, still got error updating binary...
james11705 said:
Same here , I tried flashing this Kernel over ur rom(didnt know it already had this kernel) , I tried mounting n unmounting system, still got error updating binary...
Click to expand...
Click to collapse
Yes rom has the same kernel inbuilt. I'll reupload kernel.
EDIT : Uploaded Download
Please test this and tell me
Vatsal said:
Yes rom has the same kernel inbuilt. I'll reupload kernel.
EDIT : Uploaded Download
Please test this and tell me
Click to expand...
Click to collapse
Still the same error, tried it on crdroid 6.0 also .. Other than the kernel, the rom is awesome, better than cm 13 official in performance n also is bAttery Friendly ?
Some amazing stats with quiet heavy use
Sent from my Moto G 2014 using Tapatalk

[KERNEL][AOSP][SM-G930F/FD/W8/S/L/K] Fire Opal Kernel 3.1.0 [Nougat]

/* This project is currently in hiatus at least until the new device and kernel trees are available and sufficiently stable. Thanks for your patience and your support. */
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Welcome to the official thread for the Fire Opal Kernel project for the Galaxy S7 (SM-G930F/FD/W8/S/L/K) running AOSP-based ROMs.
The aim of this project is to provide a good alternative option to the limited stock AOSP kernel.​
Thanks and Credits
> Samsung for their kernel source
> @jesec and @Fevax, 8890dev project developers and hero devices maintaners, for the device tree
> @Tkkg1994 for his clear and vast source code and scripts
> @lyapota for a few ideas
> @flar2, @UpInTheAir, @franciscofranco, @osm0sis and others for their great contributions to the community and Android
Note: the feature list refers to version 2.4.2. The new beta 3.1.0 is closer to stock, but with the new device trees things will change
Features
* based on latest 8890dev kernel sources
* updated with latest Samsung kernel base (DQCG)
* custom built ramdisk based on N2G47E with Resurrection Remix tweaks
* built with Linaro Toolchain 6.3.1 (aarch64-linux-android-6.3)
* updated with Linux patches up to the latest 3.18.48
* init.d support and init tweaks
* added a few CPU governors (elementalx, hyper, alucard, barry_allen, bioshock, bluactive, conservative_x, darkness, despair, electrodemand, impulse, intellicative, intellidemand, intellimm, interactive_pro, interactive_x, ironactive, lionheart, nightmare, ondemand_x, ondemandplus, pegasusq, smartass2, smartmax, smartmax_eps, yankactive and zzmoove) and enabled all the stock ones.
default: interactive
* added a few I/O schedulers (bfq, cfq, fifo, fiops, row, sio, sioplus, tripndroid, vr, zen)
default: cfq
* added a few TCP congestion algorythms (bic, cubic, westwood, htcp, hybla, vegas, scalable, lp, veno, yeah, illinois, dctcp, lia, olia, wvegas, balia)
default: westwood
* full f2fs support, ported from official OnePlus 3/3T kernel source
* fixed some misbehaving drivers
* complete implementation of Synapse, to have everything at your fingertip
* overclock and underclock support for both CPU and GPU
* full voltage control (CPU, GPU, BUS and so on...)
* notification LED fading control
* numerous performance and stability tweaks (defconfig, fstab and Makefile)
* SELinux set to Permissive by default (can be changed by the user if he wants to)
* enable extra compression algorithm and cryptography
* sqlite3, busybox and other binaries are integrated!
* Knox 0x0 and SafetyNet spoofed to pass
* ondemand and conservative governors updated for big.LITTLE architecture
* improved default voltage/thermal management
* enabled Swap (510MB, lz4, 4 compression streams)
* and more...
Notes
So good everything is working now :laugh:
In the near future I'll have fun improving Synapse (as soon as I have free time).
Download:
herolte > Android File Host
Support:
If you want to receive support, find and share settings, report bugs and try Beta versions, join our Telegram group:
Fire Opal Kernel | Official Group
XDA:DevDB Information
Fire Opal Kernel, Kernel for the Samsung Galaxy S7
Contributors
kylothow
Source Code: http://github.com/kylothow/android_kernel_samsung_universal8890
Kernel Special Features: Synapse support, stable f2fs porting, full voltage control, various governors, schedulers, tweaks and patches are just some of the awesome features.
Version Information
Status: Stable
Current Stable Version: 2.4.2
Current Beta Version: 3.1.0
Created 2017-02-27
Last Updated 2017-07-26
Changelogs
While searching the Internet you might also find versions which aren't listed here: these are Beta versions and their changelog isn't available (but included in the one of the next stable version, so you don't miss anything).
All the changes I made are listed on GitHub.
Version 2.4.2
Code:
- update sdcardfs
- updated build scripts and recovery scripts
- changed toolchain to a better version (Linaro Android gcc 6.3.1)
- widely improved ramdisk scripts
- updated ramdisk to latest version from RR with 7.1.2 support
Changelogs for previous versions:
Version 2.4.0
Code:
- updated with latest Linux patches
- various fixes (including thermal management and network communication)
Version 2.3.0
Code:
I'm constantly working to provide a better kernel. This implies a lot of research, testing and stressing my eyes staring at code. I'm adding a lot of small fixes.
So, try to understand me if I don't always have time to report a changelog.
As always, you can check GitHub for a detailed changelog.
Version 2.2.1
Code:
Sorry if I didn't write down a changelog for the last releases, I've been quite busy.
Anyway: since version 2.1.6b there are a LOT of changes, performance, battery, stability... Just check it out (and check GitHub for a full changelog).
Version 2.1.6b
Code:
- updated busybox and sqlite3 binaries with more convenient versions
- changed optimizations, enabled safety features and possibly fixed f2fs cryptography
- getting ready for the Synapse restyling
- build the kernel uncompressed
The latter fix solves most lagging issues and noticeably improve performance over compressed version; I'll look into the kernel size issue soon!
Version 2.1.5
Code:
- ramdisk rebased over RR's one
- kernel size reduced
Version 2.1.4
Code:
- updated interactive governor with Samsung optimized version
- implemented the AMOLED flicker free patch
- updated ramdisk for both herolte and hero2lte to the one from latest LineageOS builds
- updated ramdisk to be compatible with SlimROM (untested)
- removed a few redundant tweaks
- fireactive it's on its way to debut, but still disabled because incomplete, sorry :(
Version 2.1.2
Code:
- init: added a few tweaks
- ramdisk: changes in sepolicy
- ramdisk: try to fool safetynet and fix wakelocks
- updated to DQBO kernel source
- fstab: reworked mount options
- fs: add exfat support
- fs: implement optimised and stable f2fs (from oneplus/QC8996_N)
- enabled Swap (I had the idea while looking into the OP3 sources)
Version 2.1.0
Code:
Many beta versions came before this one, and all of them had their list of fixes... I'll try to summarize:
- some configs were tweaked
- enabled init.d support
- Synapse support
- implemented elementalx
- various fixes
- faked Knox 0x0 and try to hide from SafetyNet
- switched back to cfq as default scheduler
- probably other stuff I can't remember now... I need to sleep ahahah
Version 1.2.4
Code:
- temporarily reverted to Linux 3.18.14 (and so fixed the video playback issue)
- updated mount options to reduce I/O overhead
- tweaked the kernel configuration to have better performance
- enabled additional compression algorithms and cryptography utilities
Version 1.2.3
Code:
- updated zen sched driver to version 1.1
- SELinux is now set to Permissive by default
Version 1.2.2
Code:
- now using zen as default I/O scheduler
- changed the default frequency range for the CPU
- updated to Linux 3.18.17 (still working to bring the latest patches)
- switched to a custom Makefile optimised for our architecture
Version 1.2.0
Code:
- overclock and underclock support for both CPU and GPU
- voltage control (see notes in the OP [B][**][/B])
- moved to Uber Toolchain 7.x (aarch64-linux-android-7.x)
- improved recovery installation script
Version 1.1.0
Code:
- First public release
[TUTORIAL] How to set up your phone with f2fs
1) First you have to install a compatible recovery. Recent TWRP releases can format and mount f2fs, but they don't handle a few installation scripts correcty. I recommend TWRP 3.0.2-4 by @lyapota which has the correct patches. You can find it here.
2) Then you have to backup all your data (internal storage will be wiped too, so make sure to copy ALL your files in the INTERNAL storage). So, any TWRP backup should be taken on external SD card.
3) After this, reboot into TWRP. From Wipe / Advanced Wipe check only /data, then select Change Filesystem and check f2fs. Do the same for /cache. At the moment I don't think there are ROMs that support f2fs on /system too (LineageOS, for example, forces ext4 and formats despite settings).
4) Reboot into recovery once again, so we're sure that it can mount everything.
5) At this point you're done. Flash your ROM of choice, this kernel, any GApps and whatever you want.
Reboot and profit!
ROMs supporting f2fs formatted /system will be listed here when available.
cool
I tried this on RR and saw for so good. I built-it into my RR build to get it to boot and love the different governors and features.
So cool, thank you !
I completed a new release with some stuff added:
Code:
- overclock and underclock support for both CPU and GPU
- voltage control (see notes in the OP [B][**][/B])
- moved to Uber Toolchain 7.x (aarch64-linux-android-7.x)
- improved recovery installation script
The note i refer to, in short, says that voltage control is implemented but not reachable by the user.
Next steps in this kernel development are complete access to GPU overclock and voltage control, followed by latest Linux patches and eventual requests by the users.
Have a nice day
SafetyNet pass possible with Magisk Hide?
tidschi said:
SafetyNet pass possible with Magisk Hide?
Click to expand...
Click to collapse
Without root it passes but Magisk hide isn't working on our AOSP ROMs.
Sent from my SM-G935F using Tapatalk
kylothow said:
Without root it passes but Magisk hide isn't working on our AOSP ROMs.
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
Magisk doesn't work on AOSP Roms ?
Really cool ROM how ever it removes SuperSU on AOSP extended and you will need to reflash however since flashing this it seems my audio stuttering while in apps has I believe disappeared will test further hope to some sound config's (Faux sound or alternative if possible) keep up the good work
Sent from my SM-G930F using Tapatalk
dylem29 said:
Magisk doesn't work on AOSP Roms ?
Click to expand...
Click to collapse
Not on the ones for S7. Magisk hide doesn't work.
Sent from my SM-G935F using Tapatalk
Delete plz
I tried 1.2.0 on my g930w8 with RR and it won't boot. Gets stuck on the RR logo. I even tried clean flash and still won't boot. Yesterday I build the kernel directly into RR and it booted but since the change to 7.0 toolchain I can't even build because I am on Mac which Uber 7.0 doesn't support.
Andrw0830 said:
I tried 1.2.0 on my g930w8 with RR and it won't boot. Gets stuck on the RR logo. I even tried clean flash and still won't boot. Yesterday I build the kernel directly into RR and it booted but since the change to 7.0 toolchain I can't even build because I am on Mac which Uber 7.0 doesn't support.
Click to expand...
Click to collapse
Works for me, I'm using the latest RR on my G930W8 (apk3 bootloader) and I dirty flashed 1.2.0.
noob924 said:
Works for me, I'm using the latest RR on my G930W8 (apk3 bootloader) and I dirty flashed 1.2.0.
Click to expand...
Click to collapse
Yeah wonder what's going on. I am on same boot loader/modem and couldn't get it to work with 1.2.0.. I tried dual boot and even installing RR as main ROM and wouldn't work. I actually had to copy and use my boot.img from 02/26 that contained the OPs source built-in to get boot. If it works for others on official RR, maybe it's something with my custom build. I do use the same manifest as 8890dev. Thanks for letting me know.
W8 here as well had no problem just flashing kernel over everything I already had.. was first release. Waiting on new update assuming it's being uploaded cause download link don't work
New release announcement
New release uploaded while I finish some stuff. I spent yesterday on the Linux patches but I will have to do some "tricks" to make them work... and it's a long work.
Version 1.2.2
Code:
- now using zen as default I/O scheduler
- changed the default frequency range for the CPU
- updated to Linux 3.18.17 (still working to bring the latest patches)
- switched to a custom Makefile optimised for our architecture
Nice bro Thanks! No hurry BTW quality over quantity any day! Just happy for a new kernel for 7.1!!!
Good to see new kernel for s7, which app can I use with this kernel? Synapse ?

Categories

Resources