yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] ShadowElite:
EliteKernel v3.4.113 update

I want to apologize to all users for the long wait, the project to get a stable update to the linux 3.4.113 kernel took a long time because very strange bugs appeared.

About exfat support:

The update broke the exfat module. Sony uses a third-party module to support exfat, which generates kernel panic when updating. I am working on recovering this function, thanks for your understanding.

I hope you enjoy the update, I will update the kernel soon with OC support, undervolt support, kcal support, sexy led patch and maybe more, thanks.
[Xperia Z2 Android Development] Samir2298:
How's the magisk support on the kernel?
[Xperia Z2 Android Development] ShadowElite:
It is 100% compatible with magisk, btw new update is coming ;)
[Xperia Z2 Android Development] Alt80:
Hello, nice to know that there's another new kernel from you!

Heading to fry this kernel on my Z2s, btw is there any F2FS support in it? Thank you
[Xperia Z2 Android Development] fluffi444:
[MENTION=5900960]ShadowElite[/MENTION]

Do you think an z3c kernel is possible? Thanks.
[Xperia Z2 Android Development] ShadowElite:
Of course my friend fluffi, update for Z2, Z3, Z3 dual and Z3c is coming in next days, with OC, UV, kcal and more, you can check my git to see that I still work in this devices (branch test113v4)
[Xperia Z2 Android Development] Samir2298:
maybe also add assertive display?
[Xperia Z2 Android Development] ShadowElite:
Enabling Assertive Display in this device is not related with kernel, is related with ROM, I'm polishing the rom that has AD enabled.
[Xperia Z2 Android Development] AzraelX:
Hi. I'm using the latest elite kernel along with existenz. Device is little bit laggy in certain situations like as soon as Wifi turn on. :(

Any methods to prevent this?
[Xperia Z2 Android Development] ShadowElite:
This is caused by all apps trying at same time to update status, like facebook, whatsapp...
[Xperia Z2 Android Development] AzraelX:
Yeah, I think so too. Anyway marshmallow is slow as a hell with compared to new android versions. :o
[Xperia Z2 Android Development] The Sage:
For some reason, flashing this kernel makes me unable to mount /system partition..

is there a workaround for this ?
[Xperia Z2 Android Development] agar11:
Please update to new version with support kcal.. Tnx
[Xperia Z2 Android Development] ShadowElite:
Can you explain me the problem?? Contact me on telegram with all details: ShadowElite117v2

The update is comming soon, Im just polishing some details and a surprise for users with TA backup...

Also I know that some days ago I said that the update is comming, I just had a hard days, my eyes suffered for the hours spent in front of the screen, so I had to take a good rest, thank you users for your understanding and wait.
[Xperia Z2 Android Development] agar11:
Can you optimize the GPS through this kernel and solve the gyroscope problem ???
[Xperia Z2 Android Development] blacknight153:
looking for custom kernal for AICP 14

so i installed AICP 14 but i am stuck with its kernel its ok but on stock rom i used to have elite kernel which was very nice to use great job btw but can i use it with AICP 14 ?? and would it bug the camera like RZ Kernel did ?
[Xperia Z2 Android Development] ShadowElite:
I tested the kernel on all ExistenZ versions and on all works so make a clean install
[Xperia Z2 Android Development] otto81709:
I have the D6503 using the aosp rom 6.0.1 I'm having problems with the microphone and some reboots, can I flash this kernel? What changes or upgrades will I see? Thanks
[Xperia Z2 Android Development] rubino25:
I have bootloop on latest mx rom after a clean install. Nothing to do. Always bootloop!
[Xperia Z2 Android Development] josenilsantana:
I flashed 4 times on Existenz 3.9.0, always had bootloop. Now i using on Existenz 4.7 sucessefuly.
[Xperia Z2 Android Development] dsjiffry:
Awesome Kernel. Stable on Z2 with MM (.575)

Say could someone tell me some good governor settings to prevent unnecessary cpu scaling............ I feel like the cpu goes to 2.7 GHz unnecessarily.
[Xperia Z2 Android Development] chax_84:
I always wonder why my phone has random reboot when using this kernel, then I tried to have a logcat

This what I got when i logcat my phone before it goes reboot.
[Xperia Z2 Android Development] ShadowElite:
Can you provide more information about the issue? Rom, clean flash, installed mods...
[Xperia Z2 Android Development] mfauzirahman:
can't enter recovery on existanz 4.7 after flash this kernel
[Xperia Z2 Android Development] Fuilares:
Try clicking volume up button when yellow led turn on
[Xperia Z2 Android Development] Ayphverus:
Quick question, does this kernel boot with 2.7 ghz as default?
[Xperia Z2 Android Development] nfsmw_gr:
It doesn't, as far as I've seen it boots at stock 2.3Ghz, and it's not supposed to do that either I think, because not all phones can handle 2.7Ghz.
[Xperia Z2 Android Development] nNeFeroN:
[MENTION=5900960]ShadowElite[/MENTION] , kernel not working with MX Rom [UB] . I'm getting bootloop
[Xperia Z2 Android Development] dafreak29:
Loses root when flashing kernel, had to reflash latest supersu after flashing kernel

Awesome battery life.

Not sure if DRM injection worked, but I got a prompt to update to the latest firmware 23.5.A.1.291 which never occurs when on 5.1.1. So I guess it worked?
[Xperia Z2 Android Development] Zeyn Karim:
Will this work on latest 23.5.A.1.291?
[Xperia Z2 Android Development] freaky2xd:
[MENTION=5900960]ShadowElite[/MENTION]

M8!

What about an update to make it possible to flash your kernel on the new z2 build

23.5.A.1.291

---------- Post added at 11:00 AM ---------- Previous post was at 10:59 AM ----------

[/COLOR [MENTION=5900960]ShadowElite[/MENTION]

M8!

What about an update to make it possible to flash your kernel on the new z2 build

23.5.A.1.291
[Xperia Z2 Android Development] dafreak29:
no official source yet
[Xperia Z2 Android Development] Arkaknio:
Testing it right now. Will report back in a few days
[Xperia Z2 Android Development] mustafa_1994emad:
HI guys, your help is needed!!

I Never UB Not because I don't know but I don't want to lose the camera quality, so if I UB and flash this kernel will I lose the Camera quality?

----------

REQ)) Can you please add Soft Charging and Notification Led breath and make it compatible With the new framware and Stamina

Sorry for my bad English
[Xperia Z2 Android Development] Zeyn Karim:
Which version did you use? "new mm update balance version or balance-pref?"
[Xperia Z2 Android Development] d22ad2:
Just Marshmallow perf ,didnt use the new update yet.
[Xperia Z2 Android Development] Gaspolls:
What this kernel only WORK for rom or costum ro MM..?
[Xperia Z2 Android Development] Maziii:
Hi everyone

What Roms does this kernel work with ?

Does it work with lineage ?
[Xperia Z2 Android Development] Zeyn Karim:
Thanks it's working well! device feels more responsive and snappier! do i need to adjust any kernel settings with kernal auditer? i'm new to unlocking bootloader and using custom kernals, what settings do you use in kernal auditer?

anyways thanks for all the help, not having any issues so far except for device staying warm all the time
[Xperia Z2 Android Development] d22ad2:
Weird,mine was quite cool most of the time,I would screenshot you my settings but I just sold my Z2. ^^

I remember I had a lot of undervolting which means less heat,on 2265mhz I only needed 920mv,780mv for 1190mhz and 268mhz was 636mv for me. But I suggest not trying this values,mine was rock stable but I guess I had a really good unit,most of z2 would start rebooting etc. You can try setting -25 or -35mv on kernel adiutor anyway,should be okay for most phones.If you want more you should get stability test apk from google play or something similar and check if its okay on all frequencies.
[Xperia Z2 Android Development] Zeyn Karim:
I have no clue what I'm doing here at all :eek:

Can someome help me out, i just want good performance with decent battery life, right now my phone just drains battery and stays warm all the time
[Xperia Z2 Android Development] diwangs:
Turn on Intellithermal and set the throttling limit to a lower temperature and you can also turn on Thunderplug and set the 'Minimum CPU screen off' to a lower value. Hopefully you'll get lower temperature and fix the battery drain without a noticable performance drop. If the issue still exist, try changing the CPU governor.

Hope this helps! :highfive:

---------- Post added at 04:13 PM ---------- Previous post was at 04:10 PM ----------

This kernel has DRM fix included. You'll not lose your DRM features (including stock image processing software) ;)
[Xperia Z2 Android Development] dylanel98:
Does it works with the Last Sony official update (.291)?:confused:
[Xperia Z2 Android Development] ShadowElite:
Wait next update for full compatibility
[Xperia Z2 Android Development] Laz:
Yes it will work..
[Xperia Z2 Android Development] nfsmw_gr:
You the real MVP.

Thank god there's someone still building a kernel for Z2, it's a really nice device to sell.

My heart can't take it yet, haha.
[Xperia Z2 Android Development] ShadowElite:
New version upcoming...
[Xperia Z2 Android Development] ShadowElite:
Updated
[Xperia Z2 Android Development] fefepato:
What's the changelog for new version??
[Xperia Z2 Android Development] Fuilares:
Whats new?
[Xperia Z2 Android Development] kojak1989:
why not with latest sources from .291 ?
[Xperia Z2 Android Development] itsnie:
Dev please look at it, i talking about this issue!

No matters app or method to set max gpu freq to stock kernel, your kernel will force it to 657mhz, that are happen with mpdecision enabled, but with thunderplug everything is ok
[Xperia Z2 Android Development] paulwollf:
How is the battery life on this Kernel compared to stock?
[Xperia Z2 Android Development] mustafa_1994emad:
I have Both enabled, are you Sure you set the option apply on boot?

Cuz I don't face that issue
[Xperia Z2 Android Development] itsnie:
I think turn 2 hotplug at the same time arent good, the problem is i can't set gpu freq to what i want not restoring my settings after boot!

Lets turn off thunderplug, set your gpu freq lower than 657mhz, you'll see you can't set them
[Xperia Z2 Android Development] mustafa_1994emad:
I did it, but I don't get 657mhz when I set it lower than that also my governor is simple_ondemand try that governor and let me know because I'm facings random System Ui restart and freezeing then Power off and I have to turn on again
[Xperia Z2 Android Development] Hariskh:
why it says V1 in kernal version?
[Xperia Z2 Android Development] ShadowElite:
Well I'm going to respond some questions.

Changelog

Based on new sources 23.5.A.1.291

The GPU "issue" I tried to have this issue, I tried with Mpdesicion on, with Thunderplug on and with both disabled and I can change the gpu freq always, the problem may be the app used to change the gpu freq.

Why it says v1 on kernel version?

I forget to change the version, but all is ok

When will you add new features?

In next versions I will add new features, also the great Myself5 will add multirom support soon, also I know how to enable QC 2.0 support but I don't have a Quick Charger (so if you want faster support buy me a Quick Charger, LoL), also I will try to make the support like the sony's quick charger, 15W, I think more can be really bad for the device and battery.

The bootloops should be solved, the problem was the 575 ramdisk.
[Xperia Z2 Android Development] leska:
Additional governors

ShadowElite, in next version, please, add more governors like: Smartass V2, Smartass H3, Darkside, HYPER, ZZmoove, LionHeartX for more energy save.
[Xperia Z2 Android Development] chax_84:
Deleted
[Xperia Z2 Android Development] ShadowElite:
I will add, some governors when I have the time and Internet
[Xperia Z2 Android Development] freaky2xd:
what about a changelog in your first thread?
[Xperia Z2 Android Development] Uollaf:
Need help for enable fast charge

---------- Post added 17-08-2016 at 12:03 AM ---------- Previous post was 16-08-2016 at 11:56 PM ----------

How can i activate fast charge with this kernel
[Xperia Z2 Android Development] freaky2xd:
THANK YOU FOR VERSION TWO!

I`ll try it when I recieved my LCD Replacement.

I accidently dropped my Z2 during a party and now I am screwed ^^

The only Phone I have now is a iPhone 3GS which doesnt even support whatsapp anymore
[Xperia Z2 Android Development] dsjiffry:
[MENTION=5900960]ShadowElite[/MENTION]

Please add Badass Governor as it will help prevent unnecessary ramping up of CPU speed when doing basic tasks.............
[Xperia Z2 Android Development] ShadowElite:
Just let me make my work ;)
[Xperia Z2 Android Development] dsjiffry:
You the boss......... ;) :good:
[Xperia Z2 Android Development] Ariesbolt:
I am new to all this kernel stuff but still i clean installed everything

First i installed existenz 5.0 rom

Then the elite v2 kernel

So i wanna know why my mobile gets too hot when i install rom through this kernel v2 ? I mean is this a normal thing to get that hot ? And also it gets reboot automatically before completing the whole installation.......so is this all a normal thing ?
[Xperia Z2 Android Development] yenero:
Flash stock kernel and compare. Random reboots are not normal. Z2 normally kinda hot device on usage but not much.
[Xperia Z2 Android Development] Ariesbolt:
Yes brother i have seen the comparison of both kernels, this happened with me....

First i clean flashed the existenz 5.0.0 , then its settings fix , then bootloop fix .570, then wiped the cache and dalvic , then d6502 patch and after that i flashed elite v2 and then switched off the mobile

Then started the mobile after 2 mins , just for my self satisfaction , it started installing all the things in a extremely fast manner , i mean i can clearly see the time difference in all things , boot animation was extreme smooth and i can clearly say that what stock kernel used 10 mins to install the android , this kernal just did all that in 5 mins but after the installation it itself rebooted the device then started and everything is working fine

What i wanna say is i didnt get this bootloop before in stock kernal and also during installation it went too hot , as if my Z2 was running like a rocket , and atlast i think the battery consumption is same as stock kernal

Sorry for my bad english
[Xperia Z2 Android Development] ShadowElite:
I also use Existenz 5.0 you big problem is install the bootloop fix, you are installing a fix for 23.5.A.0.575 firmware and Existenz 5.0 is 23.5.A.1.291, so you see what is the problem?? This is the true random reboot and heat problem, I understand you that you are new on this and I don't have problem with questions, request, or bug reports but also you should understand that with a custom kernel I'm "playing" with hardware, hardware that I pay and also you and other people, the true purpose of this kernel is make it better not worse and I spent a lot of hours with this goal on mind, try to install all again without bootloop fix and report again, I'm sure that the report will be different, thanks.
[Xperia Z2 Android Development] Ariesbolt:
So brother should i install the kernel after all the installation or with the installation itself ?
[Xperia Z2 Android Development] ShadowElite:
Flash Existenz 5.0.1, and after the kernel
[Xperia Z2 Android Development] Ariesbolt:
Yeah it did so well ?, bootloop fix was the problem for heating .

This kernel is amazing ??, everything went good , no bootloops at all , thanks .

Now i am just waiting for your v3 , hope u will add quite good stuffs and maybe the quick charge 2.0 also ? , thanks again for the solution .
[Xperia Z2 Android Development] Dilesh Perera:
hi

mind provide the method to use our own original DRM keys ?
[Xperia Z2 Android Development] ShadowElite:
Yes, just give me some time, I'm making v3 and maybe I will upload it today
[Xperia Z2 Android Development] Dilesh Perera:
good to hear the news

also note theres a little bug in V2.

when we boot the phone if u press the vol down/up key 2 times before the green light and vibration phone freeze with orange colour light

this issue can reproduced and just now i have checked . maybe u can fix it in V3?
[Xperia Z2 Android Development] ShadowElite:
I tried but no problem for me, I pressed vol+ some times before the green led and vibration and it booted on recovery, the problem is when you press vol- because it don't have function.
[Xperia Z2 Android Development] ThE mUrk:
please confirm you will upload v3 today
[Xperia Z2 Android Development] Dilesh Perera:
dont u think its good to add the same function to Vol - ?
[Xperia Z2 Android Development] ShadowElite:
Nope :D
[Xperia Z2 Android Development] Ariesbolt:
U didnt updated the things in this kernel on the first page...........does it has Quick charge 2.0 ? ??

Thank u for v3 !
[Xperia Z2 Android Development] ThE mUrk:
you are awesome

and please explain how restore our drm
[Xperia Z2 Android Development] dtw.boixos.nois:
When I install this awesome kernel, but I'm not using apps like kernel adiutor

Can I have all benefit of this kernel?
[Xperia Z2 Android Development] ShadowElite:
Nope, I use kernel adiutor and EX kernel
[Xperia Z2 Android Development] Eliminator79:
How does it fix lost DRM keys?

Just curious on what did you do, It's a nice idea to pack a DRM restoration package inside a kernel.
[Xperia Z2 Android Development] guma55:
after install this kernel my phone wont start up.. i need to flash stock firmware and root phone again
[Xperia Z2 Android Development] ShadowElite:
Well maybe if you can explain you better, I can help you, which rom, clean installation...
[Xperia Z2 Android Development] guma55:
Clean install existenz 5.1.0 set rom etc. then reboot into twrp flasf kernel and when i press reboot phone turn off and wont start. works only celan install stock from by flashtool
[Xperia Z2 Android Development] ShadowElite:
Well maybe there is something wrong with your phone...

Try again with a fully clean installation.
[Xperia Z2 Android Development] ThE mUrk:
are you unlocked bootloader
[Xperia Z2 Android Development] nfsmw_gr:
What has changed in v3?

Can you include a changelog in OP please?
[Xperia Z2 Android Development] ShadowElite:
Did you read the second post??
[Xperia Z2 Android Development] tinker8:
Mine also doesn't boot after flashing v3 on top of eXistenX 5.1.0. It just vibrates on power on and goes blank. Can't enter recovery either. I guess I'll have to use flashtool as guma55 did.
[Xperia Z2 Android Development] Ariesbolt:
Brother, does it have quick charge 2.0 ? U didnt mentioned it all

---------- Post added at 09:57 PM ---------- Previous post was at 09:55 PM ----------

Also this kernel is making a bootloop at the completion of the rom, if clean installed everything with D6502 patch .
[Xperia Z2 Android Development] ShadowElite:
Let me download full existenz 5.1.0 and try what is the problem
[Xperia Z2 Android Development] Ariesbolt:
Ok , thanks

---------- Post added at 05:55 PM ---------- Previous post was at 05:43 PM ----------

And pls tell me about the quick charge 2.0......
[Xperia Z2 Android Development] josenilsantana:
I flashed over Existenz 5.1.0 without any problemas.
[Xperia Z2 Android Development] nfsmw_gr:
Sorry mate didn't see that, haha.

Good job.
[Xperia Z2 Android Development] zzcat:
Bootloop

Annother bootloop victim here on ExistenZ 5.1 after flashing v3. However, still have recovery, so I flashed the bootloop fix that has been discussed here before (it was recommended not to flash, as it is nominally for/from .570).

In my case at least, not only did this fix the boot loop problem, but after 24 hours so far I have a super-stable and fast system with no slowdowns, no freezes or reboots, and much better battery life compared to ExistenZ with stock kernel. So at least for my configuration, this seems to be a winning combination.

If you can find the problem with ExistenZ 5.1, that would be a great service to all of us Z2 users, as it has been the most popular Z2 ROM but in my experience ExistenZ ROMS from Lollipop to Marshmallow have had a lot of problems, especially with freezes, slowdowns, and reboots.
[Xperia Z2 Android Development] SolohunteR:
First of all i would like to thank you for your great efforts then i have a suggestion can everyone share his settings profile from kernel adiutor along with the benchmark score and then you can link to the best profiles in the 2nd post. Here is my profile as a start

Using existenz 4.7

How to create and export profiles:

[LIST=1]
[*]From kernel aduitor tools > profiles
[*]Press add button > create
[*]Select current settings > select all
[*]Press on the 3 dots > export > name your profile
[*]exported profile will be found in "/storage/emulated/0/Android/data/com.grarak.kerneladiutor/profiles/"
[*]Share it!! :D
[/LIST]
[Xperia Z2 Android Development] ShadowElite:
Sorry mate, I installed existenz 5.1.0 and it is working fine, the problem isn't the kernel, I think the true problem is people with locked bootloader installing the kernel, are you one of these people
[Xperia Z2 Android Development] mfauzirahman:
Agreed....mine also is working fine with existenz 5.1.0
[Xperia Z2 Android Development] snaky90:
This kernel has RIC diabled and selinux permissive ? It's neccesary flash ricdefeat or byeselinux for root with this kernel?
[Xperia Z2 Android Development] ShadowElite:
In which part of the post you read that you should flash anything else???

It has RIC disabled and is selinux permissive
[Xperia Z2 Android Development] snaky90:
Thanks ShadowElite ! ;)
[Xperia Z2 Android Development] Hotblood75:
Why Faux Sound 3.6 in v3 only adjusts the listening volume in the headphones but does not allow you to adjust the volume of the microphone amplification and also that of the built-in speaker ? is there a way to run everything ? Thanks so much
[Xperia Z2 Android Development] ShadowElite:
Just give me time, I don't use fauxsound, and also it is the first implementation of this on the kernel.
[Xperia Z2 Android Development] Destiny97:
How can I install ?
[Xperia Z2 Android Development] Hotblood75:
certainly. Mine was just a question. Anyway congratulations for your kernel. It's really good! Thanks again.
[Xperia Z2 Android Development] Hariskh:
can anyone tell me how to modify the kernal using kernal auditor as i dont know much about kernals and stuff. i want to increase my z2 battery life without comprising much speed. help will be appreciated
[Xperia Z2 Android Development] zzcat:
LB or UB?

Unlocked bootloader. I've always had spontaneous reboot problems with ExistenZ ROMs; I used Rajeev's ROM for a while when he was still developing it, and it was 100% stable. So I believe something in the way ExistenZ is configured is the cause. The bootloop fix solves the problem FWIW.
[Xperia Z2 Android Development] hungxman100:
Hey guys ive just installed this custom kernel and everything works like a charm. But ive not tested battery/performance yet, should i leave everything as default or should i need try to modify a bit or better result ?

Thanks in advance :D
[Xperia Z2 Android Development] ticktock666:
Nice kernel, been using for about a week now and getting good results, thanks for your work.

If you're considering adding more stuff in upcoming versions, please keep these in mind:

Governors: intelliactive, interactivepro

Hotplug: intelliplug,alucard
[Xperia Z2 Android Development] Ali_Raza.:
Flashtool does not detect this kernel.plzzz help

---------- Post added at 09:10 PM ---------- Previous post was at 09:06 PM ----------

Which kernel are you using?

---------- Post added at 09:12 PM ---------- Previous post was at 09:10 PM ----------

Will this kernel work on Android lollipop or it is only for marshmallow?
[Xperia Z2 Android Development] moonthemindfreak:
This one is only for MM, for LP you can try AndroPlus or Abricot kernels
[Xperia Z2 Android Development] Ali_Raza.:
This file is in zip format while flashtool cannot flash files in zip format and I also have no recovery installed

Can you tell any other method to flash this kernel?
[Xperia Z2 Android Development] ShadowElite:
Are you serious?? Extract a file called boot_Z2.img and flash it with flashtool.