[KERNEL][CM11/CM12.1 (based)][Z2][GPU+CPU OC][5.1.1/4.4]M5 Kernel

Search This thread

swayamprakash2001

Senior Member
Sep 3, 2014
78
46
Bengaluru
Sounds issues resolved in infected cm12.1 builds

it's a CM bug latests builds

Hey guys, happy to say that the sounds issues have been resolved in the infected cm12.1 builds, not sure what were the changes made but i can confirm that its resolved. I am going to try to ask @infected_ to know what the issue was Following are the steps that i took to resolve it:

i) Reboot to recovery and Flash 26th April cm12.1 infected Nightly and allow the system to boot to homescreen
ii) Reboot to recovery again and Flash the 3rd May infected cm12.1 Nightly and allow the system to boot

Voila, all sound issues are resolved. Seems it was a CM12.1 bug rather than a kernel issue.
 

yot2703

Senior Member
Apr 24, 2013
541
70
Lod
Google Nexus 4
OnePlus One
Hey guys, happy to say that the sounds issues have been resolved in the infected cm12.1 builds, not sure what were the changes made but i can confirm that its resolved. I am going to try to ask @infected_ to know what the issue was Following are the steps that i took to resolve it:

i) Reboot to recovery and Flash 26th April cm12.1 infected Nightly and allow the system to boot to homescreen
ii) Reboot to recovery again and Flash the 3rd May infected cm12.1 Nightly and allow the system to boot

Voila, all sound issues are resolved. Seems it was a CM12.1 bug rather than a kernel issue.

Im sorry to tell you...
I was tried what you said to do....
On the 26th its ok i have no BUG.
On the 5th its the same...

(I just want to say i am always flashing 5.1 M5 Kernel.)

I have a bug with the kernel
 

swayamprakash2001

Senior Member
Sep 3, 2014
78
46
Bengaluru
Im sorry to tell you...
I was tried what you said to do....
On the 26th its ok i have no BUG.
On the 5th its the same...

(I just want to say i am always flashing 5.1 M5 Kernel.)

I have a bug with the kernel

From 4th Nightlies onwards the problem is there again on all cm12.1 sirius builds, both infected and official.
Flash 26th again and allow it to boot to homescreen and then flash 3rd again. Stay on 3rd for the time being.
Again i doubt it has something to do with the M5 kernel.

Update:
I am now on M5 Kernel 5.1 enforcing with infected 3rd May nightly and i have no sound issues, i can safely say its not related to the M5 and this affects all the cm12.1 builds even with stock kernel
@Myself5 please correct me if i am wrong
 
Last edited:

LaitonFox

Senior Member
Apr 2, 2015
66
18
Roma
Hi Myself

have you find a solution for a working Cyano/netunter rom?
in case can you give me the link of the rom you used to (guess Omnirom)?

Thanks
 

Myself5

Recognized Developer
Mar 17, 2011
3,437
9,829
26
myself5.de
Sony Xperia Z3 Compact
Sony Xperia Z3v
Hi Myself

have you find a solution for a working Cyano/netunter rom?
in case can you give me the link of the rom you used to (guess Omnirom)?

Thanks
I've not been able to work on it in the last time, had a lot to do with other stuff. I did use OmniRom as a base, but I did not install it on my Z3, instead on my Z2. Howver I'd kindly ask you to keep this thread clean, and stop talking about it over here. Feel free to send me a PM for further discussions.
 

Myself5

Recognized Developer
Mar 17, 2011
3,437
9,829
26
myself5.de
Sony Xperia Z3 Compact
Sony Xperia Z3v
I only merged about 100 upstream changes from the CM Kernel, and modified the SmartAssV2 and Lagfree Idle Freqs a bit. I havn't tried booting it yet, still got to do so.
I'm still looking into adding some more intresting features and updating some things (like alucard hotplug), so 5.2/6 will not come that soon (maybe this weekend, we'll see).
 

thebigtross

Senior Member
Aug 19, 2013
278
54
Samsung Galaxy S7
OnePlus 7 Pro
I only merged about 100 upstream changes from the CM Kernel, and modified the SmartAssV2 and Lagfree Idle Freqs a bit. I havn't tried booting it yet, still got to do so.
I'm still looking into adding some more intresting features and updating some things (like alucard hotplug), so 5.2/6 will not come that soon (maybe this weekend, we'll see).

OK it's better to wait to compile a 5.2/6.0 and having more features. The 5.1 is stable enough
 

swayamprakash2001

Senior Member
Sep 3, 2014
78
46
Bengaluru
Sounds issues resolved in unofficial/official builds

Finally sound issues are fixed on the cm12.1 official nightlies of 12th May, @infected_ has also rolled out his work including the fix. I can confirm that sound is working as expected.

For those interested,Here's the commit for the fix:

http://review.cyanogenmod.org/#/c/98081/

Cheers guys, finally i can use the device as more than my music player

Now waiting for that M5 Kernel update with the latest commits :)
 
  • Like
Reactions: thebigtross

naitik2012

Senior Member
Oct 30, 2012
875
259
Hi @Myself5

m facing one issue on my kernel (built by me) ...
when my CPU1 goes offline because of throttling it never comes back online because cpufreq folder was missing from cpu1 .. (mp_decesion was off) and i did same thing on your kernel , turn off all hot-pluging features and then did antutu test and saw that cpu1 goes offline (because of higher temp) and comes back online imidiatly... so i want to noe which commit/patch u have apllied on cpufreq.c except screen-off max freq patch (msm-sleeper smothing ..)..

Thanks :)

EDIT - Source https://github.com/naitikshah2015/android_kernel_sony_msm8974

EDIT - This bug is also available on CM12.1 kernel (fresh install )..
 
Last edited:

yot2703

Senior Member
Apr 24, 2013
541
70
Lod
Google Nexus 4
OnePlus One
I have another bug...
It's only with 5.1 m5

When I using stock kernel of cm the recovery works just fine. When i flash 5.1 m5 i can't access the recovery at all.
Only when im flashing from pc the nut's z2dr im accesing onnce to the twrp. After restart i can't.
 

Myself5

Recognized Developer
Mar 17, 2011
3,437
9,829
26
myself5.de
Sony Xperia Z3 Compact
Sony Xperia Z3v
Didn't worked man.

--------- Post added at 06:58 PM ---------- Previous post was at 06:54 PM ----------

When's the next ver? :)

I cannot install the 5.1 version on CM anymore.
At tells me System UI crashed.

Check general section on how to flash recovery images.

And I don't know when I find time to release a new version, I'm insanely busy with school ATM. Sorry for that. I should have the kernel source up to date, gonna look if I can build a boot.img over ssh and upload it as I am not at home currently.

Regards
 

Top Liked Posts

  • There are no posts matching your filters.
  • 73
    Banner.png

    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

    M5 Settings
    https://dl.myself5.de

    Recovery
    http://xdaforums.com/xperia-z2/development/twrp-recovery-collection-t2999078

    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 Z2

    Contributors
    Myself5, Eyenseo
    Source Code: https://github.com/Myself5/android_kernel_sony_msm8974/tree/cm-12.1

    Kernel Special Features:

    Version Information
    Status: Beta

    Created 2014-08-26
    Last Updated 2016-07-01
    17
    V6

    Alright guys. It's time for a new release again :)
    Changelog as always in the second post. Not that much but as it is a initial device bringup I decided to push the version to V6.
    Happy Flashing!
    15
    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:

    KitKat
    https://github.com/Myself5/android_kernel_sony_msm8974pro/commits

    Lollipop
    https://github.com/Myself5/android_kernel_sony_msm8974/commits
    12
    V11 is compiling

    Hey folks,

    I just started the build of V11. It contains considerably most of the changes done till now, @tomascus did a very good work with that. He merged Linux Kernel upstream up to 3.4.111, which is the newest 3.4 Kernel available. We ofc also merged the CM upstream, and tomascus also merged some improvements to f2fs and zRAM. In addition to that Eyenseo fixed the static noise on highend headphones. In addition to that, I'd like to welcome Eyenseo and tomascus to the team, they will maintain the Z2 (as I sold mine recently) and tomascus, who will maintain the Z1 (we were looking for a Z1 maintainer since quite a while).

    This thread is hereby reopened, and I will add Eyenseo as a Contributor so he is able to edit the OP. He will be your new Maintainer and also work on the Kernel. I'll still be around of help is needed. Have fun with Eyenseo guys :)

    Furthermore, we'd like to announce that this might be the last 3.4 M5 Kernel build (unless we find some time to keep it updated for LP). The reason is: M will use the Sony AOSP trees and the 3.10 Kernel. Hence we are going to start working on a 3.10 based M5 Kernel as soon as we can, in order to be ready once M builds are released. (Which should be soon)

    You can see the current build progress here: http://myself5.de:12345/job/M5Kernel All Devices/

    Changelog 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.
    11
    V11.2 is out

    Hey Folks,

    As some of you know, my Server died recently, including all the data on it. I thankfully meanwhile found a Backup from the 21st of December 2015, but that means that the V11.x builds are gone. Thanks to the community, we got some of the newer builds back, however not all of them (some devices miss V11.1-Permissive for example), which is why I decided to start a new (11.2) build after finish to setup my server. That is now. I also updated the changelog for 11.2, stating it is what it is. A rebuild of 11.1.

    Thanks for your patience and lot for the builds you guys had uploaded during the Server downtimes.

    Regards,