FORUMS
Remove All Ads from XDA

[KERNEL][Stock 224/253][Z5C][6.0.x]OM5Z Kernel

1,397 posts
Thanks Meter: 1,468
 
By oshmoun, Senior Member on 25th June 2016, 07:11 PM
Post Reply Email Thread

I am NOT responsible for any damage done to your device, your neighbor, or any other things you like/hate.

Introduction:

@myself5 and I were in need for a custom stock kernel to mess with. Since all the available Options were not fitting our needs, or gave us bad experience on some aspects, and we knew about Zombie Kernel from Tom, we decided to start working on that. So I brought up support for the Z5, we ported Kexec to it, updated it to 224 and added various things. Since the kernel gave us very good experiences, we decided to make it accessible to the public.

About:
This Kernel is based on @Tommy-Geenexus Zombie Kernel. He was ok with us continuing/porting his projects, so myself5 and I started to create the "oshmoun Myself5 Zombie Kernel" aka OM5Z Kernel.

Features and Commit History:

Check 2nd Post!

Installation Instruction:

THIS DOES ONLY WORK ON UNLOCKED BOOTLOADER!

You can either flash the provided boot.img via fastboot, or flash the zip in recovery.

Additional Information:
The Kernel is underclocked by default. Both Cluster are underclocked to 1,344/1,536 GHz respectively, resulting into HUGE Temperature improvements. However, due to public demand, V2 features the ability to disable the underclock (in case you need to make some baked Eggs real quick, whatever). All you need to do is run this code after boot (Kernel Adiutor has the abilty to execute scripts at startup, just a reminder).
Code:
echo "0:4294967295 1:4294967295 2:4294967295 3:4294967295 4:4294967295 5:4294967295 6:4294967295 7:4294967295" > /sys/module/msm_performance/parameters/max_cpu_freq
What it effectively does, is resetting the max clock limit for each core to the default (unset) values, allowing you to set whatever frequency (from the ones available ofc) you want.

Download:

OM5Z Kernel (Release Versions)
dl.myself5.de

OM5Z Kernel (Testing Versions)
testing.myself5.de

Thanks/Credits:
  • Tommy-Geenexus - You can guess why
  • myself5 - for obvious reasons
  • FreeXperia Team (especially Jerpelea) - for too many things!
  • CarbonRom Team - for too many things!
  • phaseburn - for being a good friend and helping me with almost everything !
  • infected_ - for help with SM!
If I forgot you, please tell me.

If you think we deserve a donation, I won't stop you :P

To Donate to Tommy-Geenexus:


To Donate to Myself5:


Thanks a lot to those who have donated!

Additional Information:
Some stock kernels require different Recovery Images than AOSP Kernels. We set an end too this, and fixed init_sony, rather than using some very outdated software which somehow works. This means, you might need to use a different recovery with this kernel if you're currently on a "stock" recovery. We're hoping that other stock kernel devs adapt our solution, so we can set an end to the old scripts.

XDA:DevDB Information
OM5Z Kernel, Kernel for the Sony Xperia Z5 Compact

Contributors
oshmoun, Myself5, Tommy-Geenexus
Kernel Special Features:

Version Information
Status: Stable

Created 2016-06-25
Last Updated 2016-07-16
The Following 10 Users Say Thank You to oshmoun For This Useful Post: [ View ] Gift oshmoun Ad-Free
25th June 2016, 07:15 PM |#2  
oshmoun's Avatar
OP Senior Member
¯\_(ツ)_/¯
Thanks Meter: 1,468
 
More
Latest Version: V2.0

Changelog:

Version 1:
  • Add kexec-hardboot
  • ramdisk: use init_sony, no outdated bootrec scripts
  • ramdisk: fix USB on Stock when using MultiROM
  • Remove broken Sony MHL driver
  • Update to 32.2.A.0.224
  • Merge caf/LA.BF64.1.2.2_rb4.40
  • Various CVE Fixes
  • Initial Z5 and Z5C bringup, based on Zombie Kernel with these features
  • Bug fixes for touchscreen / fingerprint / scheduler drivers
  • Stripped unnecessary debug nodes, legacy code and disabled KSM
  • Turquoise LED when EOC is reached (when battery is fully charged)
  • CPU-Speedbin visible in debugfs node (sys/kernel/debug/msm8994_cpuinfo/*Speedbin)
  • Calibrated JDI Novatek Panel to 6500K Color Temperature and 2.2 Gamma
  • Tomtom-Codec Digital Speaker-, Mic- and Cam-mic-Control
  • Underclocked both Cluster to 1,344/1,536 GHz respectively, resulting into HUGE Temperature improvements

Version 2:
  • Ability to disable the underclock (added on public demand) See OP for instructions
  • Removed TomTom Audio
  • Update to 32.2.A.0.253
  • Update init_sony
  • include DRM Fix by @tobias.waldvogel
  • Add support for sumire_dsds (E6633 and E6683). Thanks to @tOrNadO™ for testing

For a detailed Changelog, check the Github Commit history:
https://github.com/Myself5/android_k..._OM5Z/commits/
The Following 7 Users Say Thank You to oshmoun For This Useful Post: [ View ] Gift oshmoun Ad-Free
26th June 2016, 04:51 PM |#3  
Senior Member
Thanks Meter: 227
 
More
[KERNEL][Stock 224][Z5C][6.0.x]OM5Z Kernel
Tried to flash this in twrp, but it fails. Downloaded again and tried to flash but still fails


I have stock rom with androplus kernel
26th June 2016, 04:58 PM |#4  
Member
Thanks Meter: 1
 
More
I think that should be done a tutorial for the stock users...

Enviado do meu E5823 através de Tapatalk
26th June 2016, 05:28 PM |#5  
oshmoun's Avatar
OP Senior Member
¯\_(ツ)_/¯
Thanks Meter: 1,468
 
More
Quote:
Originally Posted by mele80

Tried to flash this in twrp, but it fails. Downloaded again and tried to flash but still fails


I have stock rom with androplus kernel

Can you please say what the error message was? also, maybe your download was corrupt. You can redownload and see if that helps.
I just tried flashing the zip in twrp and it works.
26th June 2016, 05:31 PM |#6  
Senior Member
Thanks Meter: 227
 
More
[KERNEL][Stock 224][Z5C][6.0.x]OM5Z Kernel
Zip signature verification failed
Error installing zip file



Flashing from adb worked
27th June 2016, 08:56 AM |#7  
Member
Thanks Meter: 7
 
More
This kernel include pacthes from here http://forum.xda-developers.com/xper...el-dm-t3301605 ?
27th June 2016, 11:35 AM |#8  
Member
Thanks Meter: 1
 
More
There is any tutorial to flash this kernel?
Can i flash it up on the stock rom and stock recovery?


Enviado do meu E5823 através de Tapatalk
27th June 2016, 12:32 PM |#9  
oshmoun's Avatar
OP Senior Member
¯\_(ツ)_/¯
Thanks Meter: 1,468
 
More
Quote:
Originally Posted by arhangel78ru

This kernel include pacthes from here http://forum.xda-developers.com/xper...el-dm-t3301605 ?

yes "RIC off" and "DRM patch" are included.

Quote:
Originally Posted by jdcchora1533

There is any tutorial to flash this kernel?
Can i flash it up on the stock rom and stock recovery?

As mentioned in the thread title, this is for .224, so obviously you can flash it on stock rom.
Not sure what you mean with stock recovery though.
28th June 2016, 11:27 AM |#10  
fridlack's Avatar
Senior Member
Flag Gava, Barcelona
Thanks Meter: 105
 
More
Trying to install the zip file with TWRP 3.0.2 and got this error

Updater process ended with ERROR: 7
Error installing zip file '/external_sd/(folder where i have the zip)

What i am doing wrong?

regards
28th June 2016, 01:17 PM |#11  
oshmoun's Avatar
OP Senior Member
¯\_(ツ)_/¯
Thanks Meter: 1,468
 
More
Quote:
Originally Posted by fridlack

Trying to install the zip file with TWRP 3.0.2 and got this error

Updater process ended with ERROR: 7
Error installing zip file '/external_sd/(folder where i have the zip)

What i am doing wrong?

regards

Does your folder have weird characters or spaces in the name? Please try moving the zip to another directory.
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