yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Android Development] Vino9ja:
You have made us an awesome kernel. Thank you very much. I used my phone for hours and the temperature was such that i could still comfortably place it on my ears to answer call. Thank u. I suggest you don't go adding too many more features to the kernel so that it doesnt lose its stability. Thanks again. But why no force fastcharge?

---------- Post added at 10:21 PM ---------- Previous post was at 10:19 PM ----------

If force fastcharge will make the kernel lose its stability, then we are better not having it. Thank you
[Xperia Z1 Android Development] olokos:
I just posted the next update above. It does have TWRP 3 instead of TWRP 2. I could basically name it OK Kernel V4.5, but for the sake of clarity I just named it V4 TWRP 3.0.0.0 edition, which is the lastest one, just featured on xda news page.

Would you rather have stock sony kernel boot image over the current one? Can somebody also tell me if you want both versions, with current custom logo and sony one? Separate images obviously. I don't think it's just worth to create two kernels just with different bootlogo only for one user.

I've been thinking about adding Qualcomm Quick Charge, but I don't think it's worth it and I don't have QC charger anyway so I couldn't test it anyway and I do not like blind building. I was actually using my kernel for a month or two before releasing it again for LP to iron out all possible issues to make sure it's stable. All that current "fast charge" does is just changing charging mode from PC mode (it's called something else, I don't remember the exact name) to AC mode. AC mode does work already when you use a proper cable with no data flowing. I'm a power user. I prefer hooking my phone up to a 2Amp charger with a proper cable so it's already charging pretty fast. Fast charge would just enforce AC Charge for all situations. It should and propably is pretty safe, but I just think it's not worth it. It's more like a dirty hack (in my opinion and I consulted it with somebody with better skills than mine). Fast charge is just FORCE AC CHARGE. Proper wall outlet with working USB cable does the same thing, without any hacks. I could implement it, but I don't really see a point. I did use kernels with that feature and I honestly haven't seen any difference. Placebo at most. I do have a hardware current and voltage meter for USB and I did use Ampere app from google play for measurments. In some situations it COULD speed up charging. But it could technically also slow down usb transfer rates on worst case scenario.

TL;DR

Fast charge forces particular charging mode which can be achieved with proper wall outlet and cable. I don't plan to implement it in the near future. I don't think it's really worth it.

Happy to hear that you enjoy my kernel. I'm also thinking about intellithermal that would balance temparature and performance better (under heavy load) than the temparature control that's already available.
[Xperia Z1 Android Development] T/-_j@$:
i flashed it by fastboot and as well as twrp 3.0 not worked for me !!! do i need to do some thing ?? :confused::confused:
[Xperia Z1 Android Development] Vino9ja:
Sorry, deep sleep works fine. Thank u
[Xperia Z1 Android Development] GudduAmbi052829:
stock sony kernel image

waiting for it

n plzcn u post the changelog
[Xperia Z1 Android Development] Vino9ja:
I dont understand why my phone is still warm after i stopped using it for more than one hour. Kernel adiutor said my phone deep sleeps but the warmness says otherwise. Pls olokos is deep sleep really working on this kernel. Its a very very important feature.
[Xperia Z1 Android Development] NiM72NiK:
great new looking...seems somehow material!

but still not working with the new MR.SL rom...

after kernel logo,it reboots! any idea?! what to do..other kernel really s**ks..

what to do here?!
[Xperia Z1 Android Development] agha_jo0n:
never could not use your kernel

v5 was new and i flashed it through fastboot and same as past builds it sucks on ok kernel logo and reboot

by the way

thanks for your hard working
[Xperia Z1 Android Development] NiM72NiK:
got the same problem here!! i dont know how,but i could once use it with MXRom ..after that even in same rom ,i couldnt use it and it loops at kernel logo... dont know why!!! any suggestions??!
[Xperia Z1 Android Development] olokos:
It does truly deep sleep. I have no idea what might cause this for you. Please check my kernel adiutor settings in second post, those are the best for me.

Guys, I can and will help you with this but posting no work, random reboot, halp plox DOES NOT help!

I will do my best to fix this, but I've never had any issue like this. Please flash my kernel, let it crash, then enter recovery/TWRP go to file manager and

go to /proc folder

copy last_kmsg to /sdcard/

rename last_kmsg to last_kmsg.txt

If you send me this, then I'll fix it, if nobody sends me logs, it will stay as it is. I did get reports that it works beautifully with stock rom.

It won't take more than 30 seconds to get the log.

New version is coming with even more performance and battery optimizations. I'm also trying to update the WiFi driver to the latest one from CAF sources. :)

If you can't boot into recovery then go back to whatever kernel you were using and remove wp_mod and byeselinux from /system/lib/modules.

I will help you with getting logs, getting into a recovery etc, don't worry. I will not help if you will just post "REBOOT ON MX ROM HALP PLS!". I'm just tired of this.

PS. I appreciate that you said thank you [MENTION=5882170]agha_jo0n[/MENTION] .
[Xperia Z1 Android Development] [Fenix]:
[MENTION=4300205]olokos[/MENTION]

I'm using your kernel with kryptonian rom and it so smooth and fluid! Keep up the good work dude :good: :highfive:

Only thing I miss is vibrator control.

Hope we can see it in next version maybe?[emoji14]
[Xperia Z1 Android Development] olokos:
Thanks. :)

I'm getting V6 ready. I think I might release it on sunday night, but I can't promise. I've improved camera speed, reduced touchscreen latency - it responds to touch faster now, even further improved entropy (more performance and battery) and I'm actually trying to implement vibrator control, in fact I already did, but for some reason I can't get it visible in kernel adiutor yet. :rolleyes:

Before any new version is released I upload my code to github, you can see all the stuff I'm doing and stuff I'm working on https://github.com/olokos/OK-Kernel-Z1-LP/commits/14.6.A.0.xxx :highfive:

PS. I just edited 1st post. It now contains information on what to do in case of a bootloop.

PS#2. Post 3 now contains screenshots. My kernel deep sleep is the first photo, taken just yesterday.
[Xperia Z1 Android Development] [Fenix]:
[MENTION=4300205]olokos[/MENTION]

Thanks for listening to my request. Don't be in hurry, we know you are doing your best, and we appreciate it, so take your time. Wish you the best and again, great job ?

Anyway...hope to try it soon ?
[Xperia Z1 Android Development] nardow:
Really good work, bro. The best stock based kernel for honami in all ways. I made 7h of screen on
[Xperia Z1 Android Development] olokos:
[MENTION=5878011]nArdow[/MENTION] awesome time, thank you. :) what rom/theme are you using? ;)

[MENTION=3453812][Fenix][/MENTION] I just actually updated kernel toolchain to linaro 5.2, so I think I'll be testing it for a bit as it's a huge leap. Thanks :)
[Xperia Z1 Android Development] nardow:
Currently I'm using this theme with a modded SystemUI, which can be found here :)
[Xperia Z1 Android Development] tomascus:
Unrelated, but instead of saying that every other kernel sucks, try leave constructive feedback in their respective threads instead of being rude like that. Also, learn to search and look around and you may find something to help you solve your issues :)

Also to the folks who tried removing wp_mod and didn't work, it's because the XZ dual recovery thing keeps re-copying it into this folder at boot from another directory. Looking through the dual recovery scripts, I found the file at /system/.XZDUALRECOVERY/xbin/ which you should probably delete. Be aware the folder has a dot prefix so you need to select 'show hidden folders' or w/e from the file manager.
[Xperia Z1 Android Development] agha_jo0n:
Sorry can u please share your kernell setting
[Xperia Z1 Android Development] GudduAmbi052829:
REQUEST!

Please can u make it with Sony stock kernel image!
[Xperia Z1 Android Development] militantmind:
Great Kernel, but can you build the one with stock boot logo :D that would be nice.
[Xperia Z1 Android Development] nardow:
[MENTION=5882170]agha_jo0n[/MENTION] Sure! :)

CPU settings:

MAX: 1036 MHz

MIN: 300 MHz

Governor: intellimm

Multicore Power Saving: Enabled

Hotplug:

Intelliplug ON

Profile: Balanced

Screen off max frequency: 300MHz

GPU Governor: simple_ondemand

Entropy:

R: 512

W: 1024
[Xperia Z1 Android Development] olokos:
BETA VERSION FOR PEOPLE WITH PHONES THAT WONT BOOT WITH MY KERNEL, FLASH AND REPORT IF IT FIXED IT PLEASE!

http://d-h.st/yX29
[Xperia Z1 Android Development] NiM72NiK:
**unrelated**

my friend,

I didn't meant to be rude at all..and i searched and tried too many other kernels(which i dont name here) but all of them( after 2nd lolli update) will crash and restart the device(at least on my z1) so many times! but my experience on this kernel ,says that its a flawless kernel with good stability.

and i was i'll be so excited to try and know how to come back to this kernel!

thats all..it was it! and you were so right about the feedback for those kernels...there are 2 things i should mention... 1. some of those has a long way to reach these kernels which is more obvious to motivate these devs 2. the z1 dev part activities is somehow decreased so there are no way to stick at the bests... thats all

btw thanks for your reply and attention and i really didnt ment to be rude
[Xperia Z1 Android Development] Shiranuy:
Can I replace the bootlogo image? I really like the Sony one.
[Xperia Z1 Android Development] tomascus:
Yeah, if you extract the ramdisk from the boot img you can find the image file. There are tutorials everywhere, just need to look it up :)
[Xperia Z1 Android Development] ->---:
How is that with the stock kernels. I mostly used CM based ROMs and kernels. So I am not sure if I can use this kernel still on my 14.6.A.1.216 ROM because the headline of the thread says .236?

Edit: Working.

There are some things that would really be a benefit to your kernel as I think. I read about them in the modders guide and used them on other kernels with great improvements to battery life.

- TCP algorithm Westwood (for speed)

- I/O scheduler SIO (balance speed/battery life)

- Hotplug driver Alucard (I always had spontaneous reboots or freezes with intelliplug in irregular timely distances on different ROMs)
[Xperia Z1 Android Development] olokos:
It's mostly allright to just use updated kernel on older Sony ROMs that are the same android version. Update 216->236 was very small.

not sure about TCP algo/IO Scheduler, but I'll check on those, thanks.

You should really try intelliplug in my kernel. It's the latest 4.0 version from latest faux123 source, Implemented manually all the code it needs for Honami to run properly. Try the eco conservative mode, works best for me for a few months now.

Please guys on MX Rom etc. roms that wouldn't boot check my kernel HEREand tell me if it now doesn't bootloop for you.
[Xperia Z1 Android Development] jonke11:
Hey guys! I can't access internal phone storage after flashing this kernel, any idea? Krypronian rom
[Xperia Z1 Android Development] ->---:
I am already using intelliplug. It's just good to have an alternative if something is not working as expected. But no hangs or reboots so far, so maybe whatever it was is already fixed.

The guide linked to in my signature has really great information about kernel tuning options. All with comparisons and graphs.

One thing that was a bit disturbing was the TWRP recovery. I had the latest 2.8.7.0 build on it but after the kernel flash it was 2.8.4.0. Because I also have a graphics mod on it, the TWRP did not work correctly afterwards. The slider button was placed in the middle of the screen and I would had to put it far beyond screen space to get it doing its job. So I had to reupgrade it via app. Maybe you can upgrade the recovery for the next version or just leave it untouched? I know that there is already 3.0 out, but I think 2.8.7.0 is the most common until now.
[Xperia Z1 Android Development] Spirit of Mirrors:
Hey, I have the same issue at the post #89. After flash kernel (version v5) I can run only recovery.

-Xperia Z1 c6902

-stock .236 (in the future I'll flash dstriker sp002)

-unlocked Bootloader

-root by Kingroot v4.80

-TWRP 3.0

I restored stock kernel .216 and generated kmsg.txt file.

Please [MENTION=4300205]olokos[/MENTION] for analyse.
[Xperia Z1 Android Development] olokos:
Bad news...

Hello guys,

I am sorry to announce, but I've been trying to implement my band unlocker into the kernel in v5. Unfortunately that causes IMEI blacklisting after few months, your phone will appear as stolen. Even if you flashed it only once. Once again I'm sorry. :(

APRIL FOOLS! :D I don't think that would even be possible :) I'm still working on V6 and fixing some boot issues. I'd never try to release anything risky or unstable.
[Xperia Z1 Android Development] Light_Soul:
Can you upload for us 5.5 version of kernel? Or this version from this message? And if my phone boot with 5.0 vesion, what kernel is better?

Thank you for your work!:cowboy:
[Xperia Z1 Android Development] olokos:
[MENTION=4440928]Light_Soul[/MENTION] the one from that link is the latest. Always use the latest. I'm really close to releasing v6 that will be huge change compared to v5. :)
[Xperia Z1 Android Development] olokos:
V6 update! :)

As I said before, v6 was about to be released and it finally is now! :) It brings massive improvements. One of the things is updated toolchain from linaro 4.7.4 (06.2014) to linaro 5.2 (11.2015). There are loads of other things I changed and added, but I'm too tired to do a proper changelog. Hopefully I'll update first post tomorrow. For now, you'll have to check my github page or just flash it and see for yourself if there's a difference between v5 and v6. :)

https://basketbuild.com/devs/olokos/Kernel-Stock-LP

Basketbuild is pretty good. :D

Please post some feedback ;)
[Xperia Z1 Android Development] dhana999:
thanks flashing now
[Xperia Z1 Android Development] [Fenix]:
[MENTION=4300205]olokos[/MENTION]

Finally eheh :good:

Was checking your git every day :)

What about control vibrator? :)

Good work, will flash it this evening. Keep up friend :D
[Xperia Z1 Android Development] T/-_j@$:
does it v6 works on kryptonian rom ?

v5 was not working !!
[Xperia Z1 Android Development] Masterblop:
It works ;)
[Xperia Z1 Android Development] tracer123:
works on stock 368 rom.

missing ondemand govenor, this is the best govenor for battery-performace.

color control reset all value to deafult after phone go to deep sleep.

can you add alucard hotplug ?
[Xperia Z1 Android Development] rama.91:
Does it v6 work on MX ROM 236. ?
[Xperia Z1 Android Development] olokos:
Took some time as I randomly had time and attitude to develop and then I make sure everything works fine.

I totally forgot about that vibrator control. Most of it is already there, but no sysfs interface, lol. Thanks a lot for your words, it's one of the things that keeps me going. :)

Ondemand definitely isn't good for performance, but I might add it back although I'm favoring intellimm. It's optimized for msm8974 (our soc) and has idle, ui and high states so it's mostly on lower frequencies. Very battery friendly. I could be wrong here, but 7h sot was achieved on my kernel with intellimm.

I'll check on color control.

Alucard hotplug looks good. I might implement it. Thanks for feedback.
[Xperia Z1 Android Development] [Fenix]:
You deserve this :)

Anyway, first night passed: kernel makes my device smooth, no reboot, no freeze, just wow :D

Camera opens waaaay faster and i don't have lag on interface.

Will tell you more while using it these days :)

My config: intellimm + intelliplug + noop (2048/1024)

If you have time, could you check this? I have the same problem with sound control, tried also to set it with init.d script but nothing.

Thanks for your time :)

Best regards,

Fenix
[Xperia Z1 Android Development] cowen1000:
[MENTION=246305]Fenix[/MENTION]

I found that "pimp my z1" works for sound increase ?
[Xperia Z1 Android Development] iskot:
not working on stock lollipop 2.36
[Xperia Z1 Android Development] nemesisexsp:
It's working on mine. :confused:
[Xperia Z1 Android Development] olokos:
Kernel adiutor also works, but unfortunately the sound boost doesn't stick. It's code is a bit outdated.

Tell me what are the steps to reproduce this, as I'm using stock 236.
[Xperia Z1 Android Development] hothhome:
not works on kryptonian rom V3;

unable to boot ;)
[Xperia Z1 Android Development] cowen1000:
[MENTION=4300205]olokos[/MENTION]

Sound sticks using pimp my z1
[Xperia Z1 Android Development] Ohhdayumm:
I've been using my z1 for a long time I haven't been getting good battery life for a while now with any kernel or settings should I replace my battery?
[Xperia Z1 Android Development] muphetz:
Working fine on kryptonian v2.1
[Xperia Z1 Android Development] iskot:
im stuck in ok kernel logo and it autorestarts flashed it through flashtool on stock .236
[Xperia Z1 Android Development] toeter80:
I'm on Kryptonian 3.0. I was using OK Kernel V5 without problems so today I flashed V6. Unfortunately, this doesn't work. Booting takes ages and more often than not it never actually finishes booting but instead re-starts the boot process (OK Kernel logo).

I can't get the phone to shut down so I cant access fastboot mode and flash V5 again :( Hopefully I can figure out a trick to do this.

EDIT: power + VolUp does the trick . Reverted to V5 now.
[Xperia Z1 Android Development] ashlycan:
Colour control... Sound control.... And many more...all resets itself as soon as screen goes off...i think it is to do something with deep sleep...kindly do something about it
[Xperia Z1 Android Development] [Fenix]:
For sound control try using pimp my z1 app on playstore (don't change other options or it will conflict with kernel aduitor app if you have it)

For color control try with kcal color control (link for the app http://xdaforums.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080)

For me all works fine buddy :)
[Xperia Z1 Android Development] ashlycan:
Tried but no luck
[Xperia Z1 Android Development] olokos:
Thank you. I know about the issue of soundcontrol and kernel adiutor. I think I know what might be the problem.

Please give me some logs. There's a guide in first post.

The only thing that can be wonky is sound control. You can have some application that might set it's own values for Color control thus removing all of those set by kernel adiutor. Color control works everytime for me.

I'll be troubleshooting boot issues further in the next update. Hopefully once and for all.
[Xperia Z1 Android Development] [Fenix]:
Using your kernel from some days and found another problem about deep sleep.

I checked with CPU spy and when im using connection (wifi/mobile data) the phone start deep sleep much later plus i have lot of kernel wakelock from "suspend_backoff". Without connection deep sleep start right after and works fine.

Checked also other app wakelock with BetterBatteryStats but found nothing
[Xperia Z1 Android Development] rafaello21:
Is it possible do MultiRom to 14.6.a.1.236 version ?
[Xperia Z1 Android Development] hothhome:
Sorry, but after flashing i was unable also to boot into recovery :p
[Xperia Z1 Android Development] Cresqo:
[MENTION=4300205]olokos[/MENTION] Any chance would you built this kernel for the z1 compact?

When i used to compile my own kernels I found out that suspend_backoff was a result of this commit or similar to the one found in this kernel, however this does not happen in sharonliu's kernel, which is odd.
[Xperia Z1 Android Development] hothhome:
ok, my mistake. my bootloader is closed. :p
[Xperia Z1 Android Development] Hitman73:
works for me ;)

Been flashing around lots of stuff, kernels etc.

First time I think I will stay with this configuration - Kryptonian + OK V6.

Performance ain't fastest, but it's working good enough, battery life lives through a day until night charge and I'm overall happy.
[Xperia Z1 Android Development] jonke11:
I've tried on kryptonian v3 too, working like a charm, but I can feel a bit lag sometimes, but just when I start scrolling forums
[Xperia Z1 Android Development] The Bankshooter:
Does this works on mx rom?

Enviado desde mi C6903 mediante Tapatalk
[Xperia Z1 Android Development] nardow:
[MENTION=4300205]olokos[/MENTION] do you intend to re-add low-brightness again in v7? That was really useful :)

Good work with v6! Working flawlessly
[Xperia Z1 Android Development] toeter80:
OK, I managed to make V6 work on Kryptonian V3. What I did:

-applied Kryptonian V3 patch

-flash OK kernel V6 in Fastboot mode

-wiped cache and Dalvik cache

It works fine now. However, booting up takes forever. So far, that's the only disadvantage.
[Xperia Z1 Android Development] olokos:
https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/suspend_backoff

You could try greenify as you might have some app that triggers it.

If you already had it working it still will. I need to get TWRP 3.0.0.0 with multirom changes so you could do stuff on TWRP with second, third etc rom. I'll propably have to build it myself, but we'll see.

If you're willing to try it I might consider that, but support will be limited.

This commit is unnecesary. If you check my github you will see that I already reverted it as our device supports that without any changes needed. Tommy told me this himself. Thanks though.

This kernel is mostly geared towards battery life altough there is a considerable amount of performance optimizations. It mostly goes down to CPU Governors and hotpluging solutions. tHanks :)

I will definitely add it back. Tommy Geenexus released a better version though that linearly allows lower current to backlight. I've implemented it long time ago already, but if you enable automatic brightness, backlight disables entirely. I need to find a sweet spot between low brightness and high enough current for honami. Thank you.

Send me last_kmsg and I'll see what can be done about this. I never had this issue myself.
[Xperia Z1 Android Development] toeter80:
There's no last_kmsg in /proc ? Only kmsg. Is this of any use?
[Xperia Z1 Android Development] [Fenix]:
Nope I already use greenefy + amplify :)

I'm using latest build of kamesh kernel and I don't have any kernel wakelock :)
[Xperia Z1 Android Development] olokos:
Not really. I'll try to flash kryptionian rom myself later.

Awkward. I'll see what I can do.
[Xperia Z1 Android Development] BlackSoulxxx:
Hi olokos, its me again...

Im very interesting in your kernel and decided to fork my own based on your...(personal uses only)

Now i got a question for u:

In your kernel sources i see the main tree (14.6.....) and your new one (sdcardnew). I see you make v6 out of new tree. What is the difference between both beside hundreds of commits behind main one and one? Revert commit?

Hope u can answer it...:)