yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Android Development] caki25:
I flashed it a while ago and all working fine so far :) wifi is fine, no boot loops, didn't even wipe dalvik .. considering it though, since viper4android is not working correctly. Your kernel is the only one though where I could make it work (install driver) :) I'll do a clean install of one of the .216 ROMs (currently I'm on DStriker's 001 release).

Edit: Flashed MXROM - did not boot after flashing kernel, flashed DStrikerZ1 Kai ROM 001 and voila all working :) V4A running as it should, ROM snappy as never, smooooooth as silk. Testing battery, will take a while though.
[Xperia Z1 Android Development] agha_jo0n:
i redownload the file and also check md5. all was true

but the same as past time i felt into bootloop! i didnt now what casue problem:(
[Xperia Z1 Android Development] repelsteel82:
Great work man

But can je make one for the z1c stock5.1.1 rom. 8216
[Xperia Z1 Android Development] tomascus:
Yeah it's bootlooping at kernel logo for me as well [MENTION=4300205]olokos[/MENTION]

Your boot.img seems to be massive... not sure if that has anything to do with it though
[Xperia Z1 Android Development] Ohhdayumm:
Can I flash this via twrp? This kernel looks great and I really wants to try it. :)
[Xperia Z1 Android Development] agha_jo0n:
no,you should flash it through fastboot
[Xperia Z1 Android Development] [Fenix]:
You need to flash it with flashtool (it's a img file)

Using mx rom phone stops at kernel bootlogo (tried also wipe dalvik)
[Xperia Z1 Android Development] Ohhdayumm:
I am using the same rom as you what happened when your flashed the kernel?
[Xperia Z1 Android Development] olokos:
at least one report that it works, lol. Could sb link the roms that you get bootloops with? I'll check it with multirom.

And anybody that get bootloops. Could you please try updating your bootloader?http://developer.sonymobile.com/services/flash-tool/how-to-download-and-install-the-flash-tool/
[Xperia Z1 Android Development] agha_jo0n:
I use stock. 216 frimware
[Xperia Z1 Android Development] tomascus:
Did you get my inbox mate? It seems I can't send anything to anyone.
[Xperia Z1 Android Development] militantmind:
My bad sir. GPS finally fix.:o
[Xperia Z1 Android Development] olokos:
I really appreciate your support. :)

As you see on git, I'm a bit busy right now, but something felt off with v6 so I had to do some quick fixes. I'm not sure how to get rid of suspend_backoff, unfortunately, but my battery life is still pretty awesome so I'm not that determinated on this. It might eventually go away as development progresses. :)

[MENTION=1283712]caki25[/MENTION] thanks a lot man! :)
[Xperia Z1 Android Development] jonke11:
What about resturection rom guys?
[Xperia Z1 Android Development] caki25:
That is a cm based ROM. This kernel is for stock. Will not work.
[Xperia Z1 Android Development] [Fenix]:
[MENTION=4300205]olokos[/MENTION]

Yes also with that wakelock, battery life is amazing :D

Can't imagine how it could be without it :p

Mmmm maybe wifi driver/prima? Or what about this?
[Xperia Z1 Android Development] Slender_:
Ohhh so is confirmed there is something that " wakes " phone? I noticed that Deep Sleep works, also I really like this Kernel because of its great balance on using different frequencies ( a lot of Kernels use always the minimum or maximum but here it's balanced, at least to me ). But, I also noticed that sometimes the phone goes in Deep Sleep after a lot of time even if screen is blocked and also that stays in 300 mHz instead of Deep Sleep. I thought this happened only to me
[Xperia Z1 Android Development] olokos:
I'm also suspecting prima even though it's not actually used. I want to get rid of it as much as you do, but I can't really pinpoint what's causing this.

That commit was in my kernel, but I reverted it as Tommy told me that it's not needed since our phone already supports that speed.

There is suspend_backoff. It's not that bad as it's not keeping deep sleep from not working at all, it's more like apps who wake the phone just to download notifications in reasonable periods of time. Phone staying in 300MHz instead of deep sleep is because of that dreaded wakelock, but as I said, it's not that bad.
[Xperia Z1 Android Development] cloggdbladdr:
Can I flash this rom on top of DstrikerZ1's? Is it necessary to clear data/cache beforehand?
[Xperia Z1 Android Development] yayakuya:
Get Rid that silly face

Hi [MENTION=4300205]olokos[/MENTION], in two days using your kernel, i,ve got really awesome Z1...

this is rock stable indeed... n i'd love how this kernel works on my phone

but please... would you release another version with default Sony logo? (been searching at least 7 pages on this thread, but can't find it as i need)

i hate that silly face... i just feel like hold a toys on every single boot my phone

i'd love to flash any interesting zip n play with recovery... but not like this...

i hope you could make it... for your new fans here :o

Thanks n regards
[Xperia Z1 Android Development] sauravdante:
Any preffere settings for v6.1? tried ur v5 settings..a bit of lil lag there.
[Xperia Z1 Android Development] zackkiara2013:
i'm on MX rom after flash this kernel................ WTF HARDBRICKED my z1................
[Xperia Z1 Android Development] caki25:
Need to read properly... OP stated that the kernel doesn't work with mx ROM. I did confirm a page or two back. Kernel contains recovery (hope you had your device's bootloader unlocked) so you can enter it and flash any other stock kernel. Or enter bootloader and flash boot partition from the original ftf using flashtool...
[Xperia Z1 Android Development] olokos:
Yes you can. I'm not sure, just flash it and if you have any issues then do wipe.

You're not the first one asking about it, so I think it's about time. This logo described my face during first builds and I wanted to have any sort of custom logo. :)

Disable thermal stuff, cpu intellimm, hotplugging intelliplug Eco balancedbalanced.

How big and the text on the first post should be for you to notice?... This is nowhere close to hardbrick.
[Xperia Z1 Android Development] olokos:
Can somebody here upload /etc/GPS.conf from their device if GPS works well?
[Xperia Z1 Android Development] militantmind:
Here it is.
[Xperia Z1 Android Development] [Fenix]:
[MENTION=4300205]olokos[/MENTION]

-------------EDIT-------------

Removed the file, bootlogo replaced by OP :good:

I have also trying replacing it with something like Razor logo (as your profile pic :p) following some guides here on xda, but seems that the image is distorted :eek:
[Xperia Z1 Android Development] yayakuya:
Thanks dude... :highfive:

been searching for way, but can't find it... :cyclops:
[Xperia Z1 Android Development] olokos:
Thanks man. :)

It's allright as long as I can see the download count and it's in this thread. Not a problem with this one. A friend of mine that's into graphics is currently doing some good bootlogo, but upload your propositions if you want and I'll check them. :)
[Xperia Z1 Android Development] olokos:
Uploading V6.2 version right now with a new bootlogo by IRL friend. Let me know what you think guys. :)

And it is done, enjoy :)

https://basketbuild.com/filedl/devs?dev=olokos&dl=olokos/Kernel-Stock-LP/OK-Kernel-V6.2.img
[Xperia Z1 Android Development] sufoalmighty:
Flashed the new build, everything looks fine on Dstriker ROM, I have an issue though. I don't like the bootlogo, couldn't you make a minimal one? like this for example?
[Xperia Z1 Android Development] lavenbut:
Can i ask something, this kernel dont have file zip to flash
[Xperia Z1 Android Development] yayakuya:
Anyone having deep sleep issue on v6.1?

As screenshot below

--Edit--

Fixed it self when flash v6.2

Roll back to v6.1
[Xperia Z1 Android Development] yayakuya:
Any chance with V6.2? :o

--Edit--

Damn! Saw the v6.2 changelog it's only replace boot logo...

Sorry, ma fault
[Xperia Z1 Android Development] olokos:
Lol, there's no difference between 6.1 and 6.2 aside from bootlogo ?
[Xperia Z1 Android Development] yayakuya:
yep... :p
[Xperia Z1 Android Development] lavenbut:
I ask again, there is no version for flashable in twrp
[Xperia Z1 Android Development] Ahki767:
You have to use fastboot. Look around for a guide if you don't know how to.
[Xperia Z1 Android Development] lavenbut:
I got bootloop in logo when used fastboot command in kryton rom
[Xperia Z1 Android Development] topsecret78:
Uses twrp and Flash img file on boot partition
[Xperia Z1 Android Development] lavenbut:
Someone flashed this kernel on krypton rom. I dont go pass logo sreen
[Xperia Z1 Android Development] olokos:
please give me last_kmsg or I wont be able to help...
[Xperia Z1 Android Development] tracer123:
look at this.

[YOUTUBE]watch?v=_denDEkgo5o[/YOUTUBE]

this is work only on v5, v6/6.1/6.2 is bugged.

last_kmsg is empty.
[Xperia Z1 Android Development] olokos:
Looks like kcal needs to be updated, oh well. Thanks for finding this.
[Xperia Z1 Android Development] jj27_6:
I have installed kernel 6.2 in kryptonian rom and I have not had any problem.

Say that the battery with this kernel is excellent and the speed of the rom is better than before install it.

Thanks oloko
[Xperia Z1 Android Development] kariofillis:
Hi, can anyone tell me if there options for OC on the CPU and GPU??
[Xperia Z1 Android Development] topsecret78:
You must install Kernel Audiutor from GPlay or mod from xda to set CPU and other.
[Xperia Z1 Android Development] PielunA:
If you don't mind, would you build this in two versions?

One with your bootlogo and the other with stock SONY logo. I love SONY's one.

Thx.
[Xperia Z1 Android Development] topsecret78:
Check this

http://www.mediafire.com/?j14x7eamojg3g9o
[Xperia Z1 Android Development] sanjayi0106:
Can i flash this on dstrikerz1 rom....? Is it working...
[Xperia Z1 Android Development] jonke11:
I bet it is, because kernel is stock based
[Xperia Z1 Android Development] cloakdrone:
[MENTION=4300205]olokos[/MENTION] I am using this kernel v6.2 on MX rom v8 and I didn't get any bootloop and it booted normally unlike reported by other MX rom users.

I am getting a significant battery drain while scree is on and kcal module doesn't seem function properly. When I lock the screen and unlock, the settings reset and I lose contrast.
[Xperia Z1 Android Development] ->---:
I tried your kernel with two different ROMs. Barebones and Dstriker Z1. On both my phone froze after some minutes after booting. It got unusually hot. I was not able to safe some logs because of the freezes and I were to lazy to do it in TWRP. Is it possible that the maximum frequency is set to high? Is it above 1,5GHz? Did you modify the voltages for the higher frequencies?
[Xperia Z1 Android Development] exquisite.nish:
may be it's not the right place to ask this but does this kernal support audio through mini usb? what if i buy "mini usb to 3.5 mm" connector. As my earphone jack is non functioning, I'm finding any way to get audio out (obviously want to hear through headphones) . Is their any way? Or portable bluetooth audio connector is better option?
[Xperia Z1 Android Development] olokos:
Thank you for report. That's unusual, but I need logs to do any troubleshooting.

CPU/GPU clocks are on default after flashing. I didn't touch any of the voltages or frequencies. I can't do anything without logs. I have no idea what's going on your phone.

Yes it does. I actually did that myself as my jack was also broken. Just some random generic usb card. Even buttons worked on it. I think it also works on stock kernel, but I'm not sure.
[Xperia Z1 Android Development] alphard55:
[MENTION=4300205]olokos[/MENTION] This was probably asked a lot on XDA but can I use the C6943's DTV/FM Radio functions with this kernel?
[Xperia Z1 Android Development] olokos:
I honestly don't know. You have to try yourself.
[Xperia Z1 Android Development] olokos:
I'm sorry guys, but currently I cannot do any further development as can be seen in my signature. It's simply too hard to develop this way. When I had my old 23" display which recently broke, it was already a struggle to switch between 3 terminals, github, and a bunch of text editors. It's pretty much http://translatica.pl/translatica/po-polsku/Sisyphean-labour;1314341.htmlSisyphean labour

So as of now, I cannot do anything. I'll have to save up money for a new gpu. If you guys could donate, please do. It will speed up the process. I was planning to build a multirom TWRP 3.0.0.0 so we could use multirom with TWRP 3.0, but well, it'll have to wait.

BTW. OK Kernel 6.2 works perfectly with Dstriker Kai SP004, just flashed it :)
[Xperia Z1 Android Development] Snp Mania2:
Can i flash this kernel via apps like Rashr...?
[Xperia Z1 Android Development] olokos:
I haven't tried that, but it's always better to use fastboot.
[Xperia Z1 Android Development] helpplease123:
Are there any current/present bugs? Also does this improve gaming performance?

EDIT: Cant download! Basketbuild is down.
[Xperia Z1 Android Development] olokos:
There aren't any bugs. It's rock stable. It may, it may not, depending on how you set it up in kernel adiutor. I built it with battery in mind, but it should improve gaming performance if cpu governor and hotplugging will get set accordingly.

I will upload it somewhere else tomorrow. I'm crazy tired atm.
[Xperia Z1 Android Development] olokos:
As promised

https://www.androidfilehost.com/?fid=24694152805484499

Will update 1st post with a mirror right now.
[Xperia Z1 Android Development] sgcko7:
Thank you for this kernel. I have saw few of your post and you used to post recommended setting. So what are recommended settings for the V6.2. Thank you very much ;)
[Xperia Z1 Android Development] olokos:
You're welcome.

Pretty much the same settings as of V5, but with intelliplug set to eco conservative.
[Xperia Z1 Android Development] caki25:
Yep, you can use rashr safely... I did that a couple of times with 6.1...
[Xperia Z1 Android Development] Aapenootjes:
Note, if you are stupid like me and flash Magisk in a hurry without properly reading the instructions first, just to find yourself stuck when booting because it doesn't work on sony phones. Simply reflash the kernel.

Might be common knowledge, but I didn't know it this morning :P

If there is a better way, please enlighten me!
[Xperia Z1 Android Development] MiniKoelkast:
Hi guys,

I have a xperia z1(c6903) and I want to go back to stock sony firmware. and want to use this mod to improve camera quality since I didn 't backed up my drm keys.

what I have to do is this:

- backup everything

- flash stock firmware with flashtool

- flash this kernel with fastboot

- install the zip package from the mod(to improve camera quality)

- reboot

So my question is. am I doing this good or am I missing something? please tell me.
[Xperia Z1 Android Development] olokos:
Selinux is already disabled with my kernel and to get root, just flash the latest supersu zip
[MENTION=7636487]MiniKoelkast[/MENTION]

Wrong topic
[Xperia Z1 Android Development] Luncer:
HI to all

you said before if we need a multirom version of twrp u can help us

can u send multirom supported twrp for us on this topic??

thanks bro [MENTION=4300205]olokos[/MENTION]
[Xperia Z1 Android Development] ->---:
I have some error messages in SystemTunerPros log functions when using your kernel. Maybe you can tell me if they are from really from kernel or from some app or Xposed framework? If they are from kernel, is it possible to get rid of them by some settings in Kernel Aduitor?
[Xperia Z1 Android Development] rahmi500:
i have rooted unlocked z1 running on dstrikerz1 kai rom ! can i flash this kernel to my phone ?
[Xperia Z1 Android Development] olokos:
I asked for some help in my signature and nobody helped me, either with the software way or money way. I got the money somehow, but that was still lucky. I'm not promising anything as I'll propably build AOSP MM/N for Z1 as I'm too tired and annoyed by stock rom. Then I'll try building 3.0 twrp with multirom.

Just paste the exact errors. I'm not going through 16k lines of logs...
[Xperia Z1 Android Development] olokos:
Hi guys,

I got annoyed by cyanogenmod build that I used for some time now, so I'll continue development of my kernel. I already updated the ramdisk, so if anybody had any issues with booting, that should fix it. I'll relase a new build in a few hours. :)

I'll be using updated linaro toolchain, I'm testing out which one would be best aswell as doing some build optimizations which might drastically improve performance. I feel bad I haven't done that before, lol.

Thanks to [MENTION=5258151]drakonizer[/MENTION] new version will also feature TWRP 3.0 with multirom support. :)

Including his TWRP won't be as easy as I expected, but it will be done, hang in there.
[Xperia Z1 Android Development] Snp Mania2:
Will waiting for v7 :)

Thx (Y)
[Xperia Z1 Android Development] DarksTor:
Sorry for a question,

With this kernel when checking in software info showing the phone software is .368

I use last firmware .236 with existenz rom...
[Xperia Z1 Android Development] olokos:
Yeah, that's normal, your phone is running 236 kernel, don't update, this is the latest version, in v7 I already improved the ramdisk so it's now showing .236 as it should, apart from that I'm using much better toolchain now, it seems really good, but I haven't done TWRP yet, I should be able to figure something out after this weekend.
[Xperia Z1 Android Development] DarksTor:
Yes i think so, anyway this is good kernel simple,stable n faster without too many settings more..

I hope some additional feature like a fast charge on next update :) sorry bad spk english

Thanks!
[Xperia Z1 Android Development] DavideSony:
This kernel can be used with poc?
[Xperia Z1 Android Development] XDAample:
really hope this to compatible with PoC, but boot.img won't work with PoC.
[Xperia Z1 Android Development] iskot:
appreciate ur hard work bro. make the v7 the best kernel for z1 .
[Xperia Z1 Android Development] Snp Mania2:
for v7 still not yet. Pls update ASAP

Thx :)
[Xperia Z1 Android Development] olokos:
New version V6.5 released.

Changes:

Updated toolchain to linaro 6.2.1

Use hard float and neon FPU - this might provide quite an improvement to overall performance and battery life

Update device ramdisk to actual .236 - all booting issues should be gone along with update nagging

Update TWRP to 3.2

Unfortunately no TWRP 3.0 multirom yet, I'm too busy with life to do that atm. I might do some more small things, but no promises on that.

Download link:

https://www.androidfilehost.com/?fid=745425885120715103

sorry about the delays, but life...

PS. MX Rom users etc, please report how it works now ;)
[Xperia Z1 Android Development] tracer123:
color control still not working on stock.
[Xperia Z1 Android Development] Snp Mania2:
Yeah Finally, after long time waiting.. :) ok already flashed on stock lp .236 euro based fw, booting good n as u say is real .236 fw by new ramdisk.. The kernel Overall are nice taste,looks a simple but sure,no hot,no lag, with a little bit setting via kernel adiutor for governor,power suspend,i/o scheduler, enable temperature throttle,just it,. and i am also enabling clock_krait_8974 boost, thx bro :D
[Xperia Z1 Android Development] olokos:
Noted for next version.

I know, but life is life man :P

Well yes, I aimed for my kernel to be quite simple, containing just the most useful features, so it's not bloated and is both fast and battery friendly. I don't want to add 20-30 CPU governors, really. I'd rather keep it quick and simple, while damn good optimized at the same time. You're welcome :)

Oh btw, I also added force fast charge which allows to get max possible current with any USB cable and power source. It's not too recommended as I set max current to 2A, but I think I'll include it with latest update anyway.
[Xperia Z1 Android Development] trelokeeper:
MX Bootloop - Log attached

Still goes into bootloop with MX-Rom 8.5

Model - C6903
[Xperia Z1 Android Development] Snp Mania2:
Actually i agree but if u have a planing to make your kernel is rich of feature pls do it, we will very glad, but u choice are which only certain of features thats also nice..

Ok its nice idea, we need a fast charge, i also use 2A charger but still need fast charge for standart of our z1 custom kernel.. N for cpu hotplug is good for ur additional next update feature.. Thx :)

Are u use xzdual recovery as ur recovery before flash this kernel? If yes, this kernel won't booting

EDIT: now i am on extstenz rom, its true, i already flash this kernel directly after flash rom is finished in twrp, but i got boot dead after sony logo.. Then i reinstall rom without flash this kernel let it boot into system, then go to twrp, install krypton kernel (for deleting xzdual recovery) then directly flash this kernel (still via twrp) done, n awesome, this kernel booting like a charm..
[Xperia Z1 Android Development] muphetz:
Great kernel,,smooth,,wifi didint work on Dstriker SP 0065,.
[Xperia Z1 Android Development] trelokeeper:
I had no luck using the XZDR-removal tool. Even though it says it was successful and "Welcome back to stock..", both recoveries remain intact. I also get an "error -1" (if I remember well) when I try to flash TWRP 3.0.0-2 and the recoveries are still there! :mad:

I am going to try your method with krypton as a checkpoint :p and I will report back.
[Xperia Z1 Android Development] trelokeeper:
Thanks

Works like a charm!
[Xperia Z1 Android Development] Snp Mania2:
Yeah,:D I think huge thanks to [MENTION=4433143]venkat kamesh[/MENTION] by his flashable zip kernel, awesome one
[Xperia Z1 Android Development] nemes480:
Is it possible to use your kernel with stock rom or just with stock based roms?
[Xperia Z1 Android Development] olokos:
It was developed for stock rom, so yeah. :D
[Xperia Z1 Android Development] nemes480:
I am just ask because I was not able to boot up the stock. I tired to install this using fastboot command but didnt work. And if I cannot instal twrp without fotakernel modification and the rom doesnt boot up with this method. Any solution?
[Xperia Z1 Android Development] Snp Mania2:
Let me i show u how this kernel works fine on any 5.1.1 stock .236

I try ziping this kernel use krypton kernel flashable zip.. Lol :D enter this kernel into the zip of course, then u can flash this kernel as flashable zip via twrp.. :P
[Xperia Z1 Android Development] lilww96:
I'm using this kernel since yesterday it's good so far thanks for dev! But I noticed a huge frame rate drops and slowness in graphics while playing boom beach game I didn't notice this before in stock kernel.. Is it normal?
[Xperia Z1 Android Development] Snp Mania2:
Try to set governor to intelliactive
[Xperia Z1 Android Development] DavideSony:
Can this kernel be used with POC?
[Xperia Z1 Android Development] olokos:
Thanks a lot for figuring it out man! I've updated the post with just what was needed from venkat's zip and also gave you the credit for finding out about this :D

There's already intelliplug 4.0 in the kernel :)

Flash this https://www.androidfilehost.com/?fid=529152257862714509

Try yourself, you might need to flash this first

https://www.androidfilehost.com/?fid=529152257862714509
[Xperia Z1 Android Development] Snp Mania2:
Wow thank u bro, now that is very2 usefully for OK Kernel too.. I know but cpu hotplug feature is many not just inteliplug,right? :)

Btw for this problem, ur kernel n xerxes artemisia kernel are same which doesn't booting if XZDR still there.. But is solved now by ur zip inspired :D :good:
[Xperia Z1 Android Development] venkat kamesh:
haha my old script

Good to find that, you guys given me right credits..

Thank you and Good luck

Regards,

VK
[Xperia Z1 Android Development] XDAample:
goodbwork 6.5, but it seemed it has no support PoC. I booted with that, but no SIM error occurred and Camera freezing with no focusing.
[Xperia Z1 Android Development] dagustl:
Hello olokos.

Can you maybe reupload V6.2 ?

Would like to compare with 6.5, cause some wrote here that on 6.5 WifFi is not working on Dstriker Rom which i also run.

The kernel on Androidfilehost of 6.2 is no more available and Basketbuild is offline for maintenance since monday....

Thanks for your work !!

Regards.