FORUMS

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

3,339 posts
Thanks Meter: 9,648
 
Post Reply Email Thread

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 :P



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_k...4/tree/cm-12.1

Kernel Special Features:

Version Information
Status: Beta

Created 2015-03-03
Last Updated 2016-07-01
The Following 30 Users Say Thank You to Myself5 For This Useful Post: [ View ]
3rd March 2015, 05:26 PM |#2  
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:
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_k...sm8974/commits
The Following 14 Users Say Thank You to Myself5 For This Useful Post: [ View ]
3rd March 2015, 05:48 PM |#3  
Omario-242's Avatar
Senior Member
Flag Munich
Thanks Meter: 393
 
More
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
(Google here I come ^^)
@Myself5 Is there a configuration you would suggest for daily use (music, some social networking, youtube)

Click image for larger version

Name:	Screenshot_2015-03-03-20-27-12.png
Views:	8522
Size:	111.0 KB
ID:	3192997
The Following User Says Thank You to Omario-242 For This Useful Post: [ View ] Gift Omario-242 Ad-Free
3rd March 2015, 06:16 PM |#4  
Senior Member
Thanks Meter: 249
 
More
lucky Z3 users .. Enjoy @Myself5's kernel
Z2 is already rocking with this kernel xD
3rd March 2015, 07:09 PM |#5  
Senior Member
Thanks Meter: 296
 
More
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..
3rd March 2015, 10:00 PM |#6  
Senior Member
Thanks Meter: 44
 
More
Fantastic news ! Would be great to get MultiRom Support to when possible

Sent from my Xperia Z3 using XDA Free mobile app
4th March 2015, 08:02 AM |#7  
Omario-242's Avatar
Senior Member
Flag Munich
Thanks Meter: 393
 
More
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.
Attached Files
File Type: zip RandomRebootLogs.zip - [Click for QR Code] (98.2 KB, 154 views)
4th March 2015, 08:39 AM |#8  
squabbi's Avatar
Senior Member
Flag Sydney
Thanks Meter: 1,608
 
Donate to Me
More
Awesome! Thanks for you work on this kernel! It's about time to see some more cool things happening!
4th March 2015, 12:17 PM |#9  
Quote:
Originally Posted by panzerscope

Fantastic news ! Would be great to get MultiRom Support to when possible

Sent from my Xperia Z3 using XDA Free mobile app

Already supported I just did not update the MRom post yet.
Quote:
Originally Posted by Omario-242

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.

Thanks for the logs, I'll take a look.
Quote:
Originally Posted by squabbi

Awesome! Thanks for you work on this kernel! It's about time to see some more cool things happening!

There is defenetly some more cool stuff coming from me and some other awesome devs coming soon
The Following User Says Thank You to Myself5 For This Useful Post: [ View ]
4th March 2015, 01:32 PM |#10  
Senior Member
Thanks Meter: 44
 
More
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
4th March 2015, 01:42 PM |#11  
Quote:
Originally Posted by panzerscope

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[COLOR="Silver"]

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
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes