yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] kzee125:
Hey guys

i think there's a problem with the kernel

firstly, when i installed v4 i was not able to use facebook

so i flashed v3 and installed facebook and set it up

after that i again flashed v4 but now when booting up, my phone is usable for almost 6 to 7 seconds after that it just hang and restarts automatically

i guess that's kernel panic

is there any fix?

P.S i'm on stock marshmallow .291
[Xperia Z2 Android Development] aboodyaiman:
Have you tried to install xposed later after flashing the kernel?
[Xperia Z2 Android Development] kzee125:
nope

nothing, just flashed the kernel and this happened

flashing v3 fixed the problem
[Xperia Z2 Android Development] DahakePL:
Thanks, but the question is, will it still pass safetynet with existenz?

---------- Post added at 09:04 PM ---------- Previous post was at 08:25 PM ----------

Doesn't boot on existenz, no idea how this guy on the forum got it to work ;/
[Xperia Z2 Android Development] override999:
I'm using eXistenZ 5.6.5 + EliteKernel v3 + Magisk v15.1. SafetyNet passed! You can take the archive with the kernel (RIC is already disabled) in my message in the Russian forum, below the screenshots
[Xperia Z2 Android Development] DahakePL:
404 not found can you upload it here?
[Xperia Z2 Android Development] DahakePL:
So I do it this way?

1.Flash rom

2.Flash kernel

3.Flash magisk

I tried doing it this way before and it bootlooped
[Xperia Z2 Android Development] iXaidyiu:
Perhaps Magisk needed to be patched before flashing on stock ROM.
[Xperia Z2 Android Development] DahakePL:
Patch the rom or kernel via magisk app or something?
[Xperia Z2 Android Development] iXaidyiu:
Patch Magisk like THIS ONE.
[Xperia Z2 Android Development] override999:
it worked for me only with magisk 15.0 and 15.1! Versions below and above also lead to bootloop

---------- Post added at 07:59 AM ---------- Previous post was at 07:06 AM ----------

Thanks for the option, but it's about magisk 12. Version 12 is not relevant for a long time. In current versions 15. * another structure and there is no magisk_mask.sh
[Xperia Z2 Android Development] KpKi:
Hello,

Can anyone share magisk 15.0/15.1 ? Want to try it.

Thank you in advance :)
[Xperia Z2 Android Development] override999:
https://4pda.ru/forum/dl/post/11822257/Magisk-v15.1.zip

or

https://mega.nz/#!AzITFJIa!k11itVYuJZ4zVoHqrYJUDOxsEVMNkZl1Sle4FoFBuAQ
[Xperia Z2 Android Development] luqman@dr:
Before for this magisk, should i uninstall SuperSU?
[Xperia Z2 Android Development] override999:
Before installing magisk, always remove the supersu and flash the kernel
[Xperia Z2 Android Development] DahakePL:
But existenz highly relies on supersu, can you tell us step by step how to make everything work without issues or bootloop? Please :fingers-crossed:
[Xperia Z2 Android Development] override999:
from what you have decided? when I deleted superSU using UPDATE-unSU-signet.zip, it did not lead to bootloop, the system booted normally. After that, I rebooted into recovery, flashed EliteKernel v3, rebooted again to recovery (with new kernel) and flashed magisk 15.1.

Attention! After that the first boot to the system is long! Just wait :)

PS: the guys from the Russian forum 4pda.ru it also worked
[Xperia Z2 Android Development] DahakePL:
Gonna test right away :highfive:

---------- Post added at 12:43 PM ---------- Previous post was at 12:02 PM ----------

It works!

Now using existenz is much more fun with safetynet pass and elitekernel!

Thank you so much for the tips :laugh:
[Xperia Z2 Android Development] ShadowElite:
I will continue working on the kernel when I have again my Z2, as I said before, the battery died, I contacted Sony and they put on my phone a fake battery so I send it again, 2 months since it.
[Xperia Z2 Android Development] luqman@dr:
I didn't passed safetynet check
[Xperia Z2 Android Development] DahakePL:
Passes for me just fine.

1. Wipe data cache system

2. Flash existenz and flash unsu zip package

3. Boot into it

4. Reboot to recovery

5. Flash the modded elite kernel

6. Flash magisk 15 or 15.1 (only these work)

7. reboot to system and voila
[Xperia Z2 Android Development] luqman@dr:
Where i can get modded elite kernel? I just have v3
[Xperia Z2 Android Development] DahakePL:
A few posts back
[Xperia Z2 Android Development] [B]lack[S]hadow:
are you have rootkernel for z2 to disable RIC?
[Xperia Z2 Android Development] override999:
rootkernel is suitable for many models, including Z2
[Xperia Z2 Android Development] Samir2298:
are modules working fine for you? I am on stock mm(not existenz) with elitekernel+magisk 15.1 everything works but module installation fails. :(
[Xperia Z2 Android Development] KpKi:
flash modules with TWRP !
[Xperia Z2 Android Development] iSKG:
I tried 500x to flash this kernel, but it goes into bootloop, the strange thing is that the Abricot Kernel works but I wanted to test this :confused: - Someone help me?

Rom: Stock MM 6.0.2 - 23.5.A.0.575 :confused:
[Xperia Z2 Android Development] DahakePL:
Update your rom to the latest version
[Xperia Z2 Android Development] iSKG:
Hi, I put the last Sony firmware stock, but it keeps getting into bootloop, it starts and passes the screen Sony Xperia, but at the time of starting it does not start is on that blue screen of the boot animation... But thanks for the help...

Version 23.5.A.1.291 D6543

(ATT: I was able to connect my device with this kernel, the problem was with the Abricot kernel that I had installed, I reinstalled the rom via flashboot and I installed the elite kernel and it worked...)

Sorry for BAD english...
[Xperia Z2 Android Development] ch3mn3y:
I believe You used Flashtool? Did You check all available options below Wipe? Without that bootloop is more than possible.
[Xperia Z2 Android Development] aytacesmebasi:
I can't connect to internet with wifi or 3g/4g after i have not used the phone for a while.
[Xperia Z2 Android Development] V4LKyR:
From the sources of this kernel, I built a much advanced & better kernel. I'm running it on my phone. So, would it count as a new kernel? Or just elitekernel v4?

How shall I release it?
[Xperia Z2 Android Development] override999:
cool! if you support the kernel in the future, then it is better to call the kernel a new name and create a new thread. Otherwise, Elite Kernel v4 ;)
[Xperia Z2 Android Development] ch3mn3y:
Doesn't matter - hwoever if You want to name it Elite v4, than You should ask ShadowElite for permission.

It's not that he has the only right for this name, but still he was first :)
[Xperia Z2 Android Development] ShadowElite:
Status

After a lot of time without my Z2 the ''oficial'' technical service of Sony on Colombia give me warranty for the battery that they put on my Z2 and what is?? Another fake battery, so I called Sony and surprise: the company that they had certified to do technical service for mobiles is other and the one that is on his official website is just for TVs, Cameras and stuff like that.

Currently I'm on first weeks of semester so I don't have much time to work on kernel but I want to work on it and add a lot of stuff that I have on mind as:

Upgrade from 3.4.113 (done at 99%).

Add more governors and I/O schedulers.

Add more hotplugs.

Full compatibility with Magisk (currently done) also Existenz + EliteKernel + Magisk.

Make 2 versions, one for the people that don't have a backup of the TA partition and the other ready to use with the TA poc tool.

Add F2FS support (This one will take a loot time since I need to sync it with the stable F2FS code).

Kexec-Hardboot support (This one was hard since it make some bugs as no working WiFi).

QC 2.0 support (I think I have done it, it seems to work but only with the official QC 2.0 from sony, UCH10 if I'm not wrong).

And more stuff underhood...

Also make public a version of Existenz 5.6.5 compatible with Z2a (So it make possible to install the 23.5.A.1.291 upgrade that Sony never made for Z2a).

I have a lot of things on mind...

Don't forget that developers are also humans, that have personal life and make this things for free and using his personal time to this great community.

This project is not abandoned.

Oh also see the screenshoots of my awesome new and no fake battery that give me 1 hour of SOT
[Xperia Z2 Android Development] aytacesmebasi:
which settings i need to change for connect to fix internet with wifi or 3g/4g problem with hebf or any kernel app
[Xperia Z2 Android Development] fares91:
can i use this Elite Kernel with oreo rom ?

I have lose my ta partitions and drm kyes of caurse, now i am on oreo rr, can i use this kernel pls?
[Xperia Z2 Android Development] Dr.TheMaster:
No, this is a stock 6.0.1 kernel.. Plus RR is for unlocked bootloader.. So even if you have DRM keys you will not be able to lock bootloader and flash RR Oreo

And finally, RR Oreo has DRM fix so you will not need that.. Tty Marrow kernel for more options and better performance..
[Xperia Z2 Android Development] fares91:
Thank you for your help, i will try that :)
[Xperia Z2 Android Development] wadoo24:
Up, still waiting loool, i am alone or what?? Lool
[Xperia Z2 Android Development] override999:
It took more than 3 months and no news. Is the development going on?
[Xperia Z2 Android Development] wadoo24:
It's took more then one year and three month.

I think is discontinued project
[Xperia Z2 Android Development] ShadowElite:
The project is not dead, you can see my github for know if I'm working on it, and yes, I have big plans for the project, first of all I want to make a fully stable linux kernel update from 3.4.0 to 3.4.113, I worked on this several hours, because first I did a upgrade from 3.4.0 to 3.4.113 and it worked, but it broken some things, like the exfat module (the module that add support to the system of exfat filesystem), some apps like Instagram, Facebook, Snapchat, don't work and make the phone reboot and reboot, geekbench app don't work... So now I'm doing a slow upgrade from 3.4.0 to 3.4.113 (You can see my progress on my git), for now I'm on the 3.4.13 and Instagram and Facebook apps works, also exfat module, so I can guarantee a fully stable upgrade. Why I'm doing that upgrade?? Because the kernel must be on the last stable version of the official linux kernel, for correctly implement things like F2FS, more hotplugs and more stuff.

The project is not dead and if the users want, I can put the links of the new work.

Edit: Put your answer on the poll.
[Xperia Z2 Android Development] override999:
Many guys stop the fact that EliteKernel is poorly compatible with magisk. Therefore, if this problem is solved, we will be happy even for an intermediate update
[Xperia Z2 Android Development] [B]lack[S]hadow:
Wow I can still waiting for this big project
[Xperia Z2 Android Development] ShadowElite:
It is solved, long time ago.
[Xperia Z2 Android Development] DahakePL:
I used it with magisk, even wrote a how-to somewhere here I think
[Xperia Z2 Android Development] wadoo24:
Big tnx to you , we want it of course .

What about people who lose theire TN partitions ?

You Said before that you il do special version for them , unfortunately I'm one of them
[Xperia Z2 Android Development] override999:
I myself wrote here the instructions for installing magisk. But it works only with versions 15.0 and 15.1! They are not relevant. Now stable 16.0 and beta 16.4. Also, I did not have to edit the build.prop and I could not install any magisk modules. Nobody had such problems?
[Xperia Z2 Android Development] ShadowElite:
I'm going to launch the next update on a few hours, but don't wait for new stuff, since the kernel is done from scratch, and it is the new base for new stuff, so the kernel for now is just stock (So no OC or UV for now), linux kernel updated to 3.4.13, fully compatible with magisk and ta_poc tool (for restore your TA.img) and with QC 2.0 enabled (don't expect for a miracle, the QC 2.0 support on Z2 is a little limited, so it seems to work with some chargers and others no (Samsung fast charge AREN'T QC 2.0, so they don't work for QC 2.0 on Z2)). I hope you like it.
[Xperia Z2 Android Development] omarbeco:
will this kernal work on carbon rom 6.1 android 8.1.0
[Xperia Z2 Android Development] DahakePL:
Of course not, it clearly says MM
[Xperia Z2 Android Development] Samir2298:
I am currently on advanced stock kernel. How do I install this one?
[Xperia Z2 Android Development] ShadowElite:
Wait, don't install anything for now, wait until I fully update the first post.
[Xperia Z2 Android Development] ShadowElite:
Ok guys finally a new update, as I said before the kernel is made from scratch, so no much features for now (I will add OC, UV, hotplugs, governors, schedulers... after), first I want a stable 3.4.113 kernel (and free of bugs like instagram or facebook bootloop bug) for add stuff, the next updates just will be the kernel linux upgrade by 10 patches until we go to 3.4.113, after that the objetive is add the cool stuff that you like and more. Enjoy it, and give me your feedback.

EDIT: I forget to say that now all of you can contact me on Telegram: #ShadowElite117.
[Xperia Z2 Android Development] Samir2298:
I did not understand 2 things.

1. What is FOTA kernel?

2. Whats the use of TA backup for this kernel? Why do I need this? What will I miss out if i dont have the backup even though I use DRM fix.
[Xperia Z2 Android Development] ch3mn3y:
A1. One of the parts of the stock firmware and partition in Xperias widely used in previous firmwares and models to store recoveries.

A2. As You use stock firmware with this kernel You will need DRM keys for camera or some deatures Sony added. Some may say DRMfix is enough, but some people prefer to have their own keys active and PoC lets You to use Your own keys as long as You made TA backup before unlocking the bootloader.
[Xperia Z2 Android Development] cristixperia:
Flashed this kernel around 12 hours ago. I didn't see any deference between stock and this. Battery and performance seems to be identical. Using existenz rom.

Battery life after 4 years. I think that is impressive.;)
[Xperia Z2 Android Development] ShadowElite:
Thanks for your feedback, I really apreciate it, and the kerner for now is nearly stock, see the changelog. The current project plan is to update the linux kernel version to 3.4.113 (and that the kernel be stable with it) after that I will add more stuff the old stuff like OV, UV, governors... and new stuff.
[Xperia Z2 Android Development] fluffi444:
Good way to start. First be sure that the base is working and then adding features...

Sounds like a good plan... [emoji3]
[Xperia Z2 Android Development] Samir2298:
Do you have plan to make this kernel compatible with aosp roms?
[Xperia Z2 Android Development] wadoo24:
In my opinion, working on kernel compatible with oreo is greater then old Mm , who is with me ?
[Xperia Z2 Android Development] fluffi444:
Not me.

For oreo there are other devs working for.

There are still many who are and prefer last official stock MM rom and here this is our last hope [emoji4]
[Xperia Z2 Android Development] cristixperia:
Decent battery life. Most time on Wi-Fi.

Unfortunately I don't use Facebook or Instagram app, so I can't say nothing about bugs. Wi-Fi signal seems to be improved with this kernel. :good:
[Xperia Z2 Android Development] iXaidyiu:
There's got to be some kind of magic happening under the screen on your phone lol...
[Xperia Z2 Android Development] ShadowElite:
Oh thanks for remember me the WiFi signal, I have created a flashable zip for fix WiFi signal and mobile data signal, I just forget to say about it, can you flash it?? (It is on the folder Z2, on downloads) and tell me if you see improvement.
[Xperia Z2 Android Development] cristixperia:
Chatting on Telegram,brightness level 40-50%. No doubts, Wi-Fi signal is improved. Good job [MENTION=5900960]ShadowElite[/MENTION] :svetius:
[Xperia Z2 Android Development] ShadowElite:
Yeah, thanks for your feedback, but do you flashed the wifi.zip on the Z2 folder on downloads??
[Xperia Z2 Android Development] Samir2298:
Would that flashable zip work on aosp? If so, I will try it.
[Xperia Z2 Android Development] agar11:
I installed the new version but unfortunately it does not support KCAL MOD ?
[Xperia Z2 Android Development] override999:
read carefully: this is still stock with Linux-kernel 3.4.13
[Xperia Z2 Android Development] agar11:
What should I do now to be able to have this mod (kcal)??
[Xperia Z2 Android Development] override999:
return to V3 or wait for update :)
[Xperia Z2 Android Development] ShadowElite:
I don't know so you have to try and report here the results.

I will add it after the kernel will be on 3.4.113 and be fully stable.
[Xperia Z2 Android Development] ali6944:
Tried it with CR 6.1, no noticeable difference in range nor stability
[Xperia Z2 Android Development] override999:
When the kernel is stable, I suggest adding a Boeffla Wakelock Blocker or analog for a better battery life
[Xperia Z2 Android Development] omarbeco:
Is it working for Miui MM
[Xperia Z2 Android Development] agar11:
What is the difference between these three versions?(R&D&RD)

Which one to install???????
[Xperia Z2 Android Development] ShadowElite:
Read the full post...
[Xperia Z2 Android Development] omarbeco:
Bro what is the twrp zip file
[Xperia Z2 Android Development] Samir2298:
Whats the difference between this 3.4.13 kernel and the stock kernel 3.4

Is anything improved in this newer kernel?
[Xperia Z2 Android Development] Ryan.XM:
It's okay I use for custom rom?
[Xperia Z2 Android Development] override999:
Only for stock MM based roms. I use it for eXistenz MM.
[Xperia Z2 Android Development] Ryan.XM:
Good. eXistenz MM bug free? I hope it's second stock rom. Hehe
[Xperia Z2 Android Development] ShadowElite:
My Z2 died (Don't worry is not related with the kernel, is the fake battery that my Z2 has) a month ago, this is the reason that I don't released more updates, I will buy a new Z2 that I found on my country and continue the development
[Xperia Z2 Android Development] override999:
4.5 years later the battery on my Z2 was swollen. Have replaced in the service center on not original. It works the same as the original after 4.5 years of use :rolleyes:
[Xperia Z2 Android Development] ShadowElite:
Yeah I don't had that luck, mine died, I hope I buy my new Z2 for my birthday (7th of august).
[Xperia Z2 Android Development] [B]lack[S]hadow:
Can i use drmfix after flash the kernel?
[Xperia Z2 Android Development] override999:
yes, for version 3.4

Version 3 already fixed
[Xperia Z2 Android Development] ShadowElite:
Good news guys, finally I got my new Z2, it comes with a Sony Smartband SWR10, so I'm back upgrading the kernel, the next will be 3.4.33
[Xperia Z2 Android Development] xperia1-2:
This is really good news for me, look forward to your kernel.:cowboy:
[Xperia Z2 Android Development] cristixperia:
New Xperia Z2, really :eek:
[Xperia Z2 Android Development] iXaidyiu:
I bought mine in 2016, and given that Z2 is the queen of Sony for all time, I guess it is okay to get it in 2024.

King is Xperia Z ofc...
[Xperia Z2 Android Development] cristixperia:
Xperia Z2 after 4 years and 2 months ;)
[Xperia Z2 Android Development] kcajjones:
Does mhl 3.0 hdmi output work with this kernel?
[Xperia Z2 Android Development] :
Help

While doing the "If you don't have a TA partition backup (so you need DRM FIX) and want TWRP 3.1.1.1 (I will update it after, NO ETA) on FOTAKernel partition." tutorials, on steps No.5 when the phone vibrate it shows old Sony logo (without Xperia on bottom) then just reboots and showing the Sony Xperia logo, and the TWRP i flashed not working, still showed old recovery
[Xperia Z2 Android Development] christian_dwi:
can it make Xperia Z3?
[Xperia Z2 Android Development] ShadowElite:
I think that you dont have your bootloader updated (read full post for know how to update it). Wait next update, also TWRP 3.2.3-0 comming.

Next update also on Z3 and Z3c
[Xperia Z2 Android Development] :
And why i dont have 2.7GHz on my Kernel Adiutor CPU max frequency ? I still have 2265MHz max
[Xperia Z2 Android Development] AzraelX:
Hello Everyone!

Can Elite kernel be removed later if needed? and how could I do that?

-Thank You.
[Xperia Z2 Android Development] iXaidyiu:
Reflash stock kernel via Flashtool or extract boot.img then flash it using fastboot.
[Xperia Z2 Android Development] ShadowElite:
Since version v3.4.13 you need flash stock kernel, but also you need to restore a backup of system partition that you must have done before flash the kernel, because the kernel replace some important modules on system partition.
[Xperia Z2 Android Development] AzraelX:
Deleted
[Xperia Z2 Android Development] Yuzutu:
How can we flash the new twrp? Installing over the previous version i guess it was 3.2xx something .. causes bootloop so what should we do?
[Xperia Z2 Android Development] agar11:
When the release new version???
[Xperia Z2 Android Development] ShadowElite:
On some minutes...
[Xperia Z2 Android Development] agar11:
Please add support Kcal mod to new version ?
[Xperia Z2 Android Development] cristixperia:
:good:;)
[Xperia Z2 Android Development] ShadowElite:
I will add it when Kernel be fully upgraded to a stable 3.4.113 linux kernel version.
[Xperia Z2 Android Development] christian_dwi:
Why not now?
[Xperia Z2 Android Development] override999:
because they do not get paid for this, they need free time
[Xperia Z2 Android Development] agar11:
When will it be released, 3.4.113?????
[Xperia Z2 Android Development] DahakePL:
Do not ask for ETA on XDA, please
[Xperia Z2 Android Development] agar11:
Please update to new version ?
[Xperia Z2 Android Development] wadoo24:
We are waiting
[Xperia Z2 Android Development] dafreak29:
I flashed 3.4.33 but I am not getting the additional governors, schedulers etc. Not seeing them in Kernel Adiutor.

D and non-D versions same result.

Not sure what I did wrong

Im on stock 23.5.A.1.291 rom
[Xperia Z2 Android Development] AndroidRant:
You should update the OP, since there are no special features for now.. I got really confused because I didn't really confused after flashing and not getting OC until I read the changelog lol

Thanks!
[Xperia Z2 Android Development] wadoo24:
me too , any one help us pls
[Xperia Z2 Android Development] override999:
https://xdaforums.com/xperia-z2/development/kernel-elitekernel-v1-t3427540/post76853645
[Xperia Z2 Android Development] sbcontt:
Should have called this InfinityKernel because it kills half of the battery life. It also turns the phone into a room heater.

How do I modify the parameters of this kernel like Intellithermal and Thunderplug? Also, I can't set minimum frequency lower than 1881 MHz and max frequency higher than 2265MHz. Also, there is no CPU voltage option in Kernel Auditor.
[Xperia Z2 Android Development] Ahmed Ismael:
Can we expect new version soon
[Xperia Z2 Android Development] ShadowElite:
Yes... ;)
[Xperia Z2 Android Development] Ahmed Ismael:
Sorry For Disturb

We are waiting impatiently
[Xperia Z2 Android Development] Ahmed Ismael:
Sorry For Disturb

Please can you tell us exactly

When you release new version
[Xperia Z2 Android Development] adxpax:
sir, new version is about stock rom or custom rom?
[Xperia Z2 Android Development] :
Thanks for the update. What are the changes [MENTION=5900960]ShadowElite[/MENTION] ?
[Xperia Z2 Android Development] Hafyzy:
Dont be so rude by asking ETA , developer also have thier life and dont push him . When it's done , it will be released . So stop asking nonsense question like this .
[Xperia Z2 Android Development] :
Bro the new version is released on 21.07.2019. Look at the download link !
[Xperia Z2 Android Development] agar11:
Please add kcal mod to new version please please pleaseeeeeee ?????
[Xperia Z2 Android Development] soulexit:
Hi ShadowElite, I compiled your kernel without getting any errors but when i plug the otg cable, usb disables itself. It's not even charging until reboot.

Have you ever seen this error before?