yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 1.0.2

hey guys and girls,

little update for the kernel

Changelog:

- upstreamed to 4.4.102

- built touchscreen and battery drivers in the kernel instead of a module

- for other little changes see my github

use the instructions in the op please

Download: https://www.androidfilehost.com/?fid=889964283620769021

or following the link in the op to the correction version

Have fun, enjoy the kernel and your phone.

Donations are not mandatory but very welcome.

If you like my work and want to buy me a coffee: http://paypal.me/freak07
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] arh09:
New to rooting....this was the first kernel I was able to successfully install!!! with some help of course but im excited!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] arh09:
Anyone have any color profiles they rexommened??
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] iron maiden:
hello how are you going in battery consumption? Thank you
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 1.0.3

hey guys and girls,

update for the kernel

Changelog:

- upstreamed to 4.4.103

- Big change to the Energy Model from the dev preview

- bring binder inline with ACK 4.4 ( lets test this and see how it works, please give feedback)

- some patches to fs/fs-writeback.c that should fix some issues

- bring in new wlan driver from dev preview

- update to slimbus from dev preview

- update to display of taimen from dev preview

- updates to charging behaviour of taimen from dev preview

- some more stuff I found on the dev preview for a few subsystems

- Upstream patches

- kernel version in settings, about says now wahoo :)

use the instructions in the op please

Download: https://www.androidfilehost.com/?w=files&flid=233480

or following the link in the op to the correction version

Have fun, enjoy the kernel and your phone.

Donations are not mandatory but very welcome.

If you like my work and want to buy me a coffee: http://paypal.me/freak07
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 8.1 1.0.0

Hey guys and girls,

so here is the update for Android 8.1.

Kernel includes all previous features.

use the instructions in the op for flashing, please

Additionally there is the dtbo.img included.

If you use the magisk patch approach please flash it via fastboot!

Download: https://www.androidfilehost.com/?w=files&flid=234182

or following the link in the op to the correction version

Have fun, enjoy the kernel and your phone.

Donations are not mandatory but very welcome.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] blaze9090:
[MENTION=3428502]Freak07[/MENTION]

So flashing the kernel via fastboot is leading to bootloops for me at google screen with the running bar.

I'm on 8.1

I downloaded your boot.img (right one! :) )

patched boot.img with MagiskManager and Magisk 14.5 beta

pulled via adb

fastboot flashed it

bootloop.

I'm not really seeing the mistake. What am I missing?

Plus: [MENTION=3428502]Freak07[/MENTION] Would you maybe mind making a flashable zip? TWRP is not 100% stable but imo good enough for flashing kernels.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Are you sure you downloaded from the correct link?

Did you flash the dtbo?

In the folder I linked there is a twrp flashable zip which includes both
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joeyddr:
Not sure if it was necessary, but I flashed kernel , TWRP beta2, and then magisk. All fine here
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xflowy:
not interested in oc. is there a non-oc version?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
I'm assuming it's like any other kennel in that if you wanna run stock speeds them do so. Just cause the capacity is there does not mean you have to. If it defaults to a higher speed them use ekm to limit it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Okay so for the time being please use the twrp flashable zip. It includes the kernel image and the dtbo.

Fastboot boot twrp first, flash the zip and magisk zip.

:svetius:

have a nice weekend
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Ariac Konrel:
It's interesting, my unit works fine with the underclocked/undervolted version of this kernel. The one people reported reboots with.

However, I bought a Pixel 2 XL for my Mother, and THAT one had a few reboots until I switched it to Sultan's kernel.

Silicon lottery?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrBrady:
Seems like it. I get lots of random reboots with EX and occasionally with this one, but almost never with Sultan and Flash. Looking at logs it's showing bad memory blocks, which causes issues with certain kernels.

Edit: just jumped back to this kernel today and it's been smooth sailing. No reboots, super smooth and great battery!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] def-g:
Had one freeze/reboot with this Kernel, Flash and EX. Never on Sultan's. V4.5

.6 hasn't given any issues this far.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Yeah it’s Silicon lottery partly for sure.

But these modern snapdragon chips don’t run on a predefined voltage value for a given frequency but rather a given voltage range which the chip chooses so it doesn’t crash.

I plan to maybe make two versions available once the crashes are fixed or at least the origins are known. One with UV and one without.

Thanks for the report!

Did you already completely format your device to see if that cures the issue of bad memory blocks? If you have bad memory blocks every kernel will crash at some point eventually. Sometimes it may take longer and sometimes it won’t.

If that’s the case it isn’t really a kernel issue as it will happen on every kernel eventually.

If a complete format doesn’t cure the issue and you still get it I would consider to make use of your warranty before if expires!

Thanks for the report. If you face issues on ex kernel it’s maybe not kernel related. Ex kernel is basically stock kernel with just ex features on top of it.

I didn’t see a log from you if I remember correctly.

If you find time it would be great it you could test the next release too! :) in case you get a random reboot please send me a ramoops. Thank you!

https://github.com/nathanchance/Android-Tools/blob/master/Guides/Proper_Bug_Reporting.txt
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
top-app stune boost

So far no freezes after UV removed..

Can you make top-app stune boost changeable.? :rolleyes:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Not in the kernel itself. it’s controlled by the power Hal (rom side) and not the kernel itself. I’d rather not disable the power Hal and integrate this into the kernel because the power Hal on the pixel phone is responsible for various other stuff (throttling/battery/temperature etc) I don’t want to disable/lose at all.

This kernel is a bit less aggressive than stock implementation by google because we prevent/block the min cpu freq from being boosted by the power Hal. Instead we rely on kernel side boosting which is less aggressive. And in the end, the top app boost to 50 only on touch and interaction by the power Hal is what makes the pixel phones so smooth. :svetius:

Basically I want my phone to complete all the tasks I throw at it in the fastest most efficient way possible. I don’t want to slow my phone down just to get 10 minutes more SOT in the evening.

I hope you understand this reasoning :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 4.5.8

hey guys and girls,

This update includes some more upstream patches. :)

As I suspected some reboots seem to be solved with UV removed. If we solve the remaining issues I may decide to post two releases from now on. One with UV and one without! Thanks for all the testing and reporting back!

This releases will have a few more reverts and changes to the display/touchscreen driver that may (hopefully) solve the issues in the last logs I saw.

If you face a reboot please follow the excellent guide from [MENTION=6842057]nathanchance[/MENTION] linked below and get me a ramoops! don´t forget to flash the latest kernel version and include information about the reboot as detailed as possible!

Thank you all very much for the contribution and the help in squashing the nasty reboots!

here is a good guide:

https://github.com/nathanchance/Android-Tools/blob/master/Guides/Proper_Bug_Reporting.txt

Changelog:

- Upstream to 4.4.166

- changes/reverts to display driver

- changes to touchscreen driver

For further details please take a look at my github!

Download is below :)

Download: https://www.androidfilehost.com/?fid=11410963190603864216

or following the link in the op to the correction version

Have fun, enjoy the kernel and your phone.

If you like my work please consider a donation.

Donations are not mandatory but very welcome.

If you like my work and want to buy me a coffee: http://paypal.me/freak07
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
Yep i understand :) thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] def-g:
[MENTION=250713]Freak[/MENTION] Think we got a winner. I been rockin dis all day. Super fast and fluid. Apps open fast and web pages render super fast. Excellent battery life also. Don't even need scripts to improve. Cheers
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 4.5.9

hey guys and girls,

Update with december security patches merged in. I just put the previous release message about the reboots in hide tags in case anyone still gets issues. But so far no reboots were reported.

As I suspected some reboots seem to be solved with UV removed. If we solve the remaining issues I may decide to post two releases from now on. One with UV and one without! Thanks for all the testing and reporting back!

This releases will have a few more reverts and changes to the display/touchscreen driver that may (hopefully) solve the issues in the last logs I saw.

If you face a reboot please follow the excellent guide from [MENTION=6842057]nathanchance[/MENTION] linked below and get me a ramoops! don´t forget to flash the latest kernel version and include information about the reboot as detailed as possible!

Thank you all very much for the contribution and the help in squashing the nasty reboots!

here is a good guide:

https://github.com/nathanchance/Android-Tools/blob/master/Guides/Proper_Bug_Reporting.txt

Changelog:

- December Security Update merged in

For further details please take a look at my github!

Download is below :)

Download: https://www.androidfilehost.com/?fid=11410963190603865630

or following the link in the op to the correction version

Have fun, enjoy the kernel and your phone.

If you like my work please consider a donation.

Donations are not mandatory but very welcome.

If you like my work and want to buy me a coffee: http://paypal.me/freak07
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] WillowTree:
Thanks for all the great work!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
You’re very welcome!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
You mentioned the wrong freak :laugh:

I really hope we caught it now.

I’m glad the kernel runs well for you!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] greyhd:
Thank you for the continued support. Your kernel runs great without any scripts, keep up the great work.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] infatality:
[MENTION=3428502]Freak07[/MENTION] just a question.. Are you using anykernel for your kernel? Don't seems to see it on your github.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Hello guys and girls,

it would be great if I could get a few testers for my kernel again :) many have moved on to new devices and a bit of support for me would be great!

You don´t need to be a pro to beta test. Just need to know your way around flashing on pixel 2/xl, a bit of knowledge on how to flash on A/B devices, maybe know how to take logs (I can also provide a guideline there).

I usually flash any kernel release myself to make sure it boots and won´t wreck the phone completely. Then I distribute it in the hangouts group.

If you´re interested please PM me your hangouts e-mail and I will add you :)

I hope we can create a small group of android enthusiasts, where a friendly atmosphere is the key to make our devices even better :)

enjoy your day :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
yes I do. I don´t upload my ak2 zips to github. There is no real "work" from me in there except a few edits to reflect the kernel name.

My ak2zip is based of flashkernels/ nathans ak2zip. :) the source for that is available here.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] KHANrad_SIN:
So the december update claimed to "fix" some of the RAM management issues, I knew this kernel had some things going on under the hood to help with RAM management and keeping apps in memory prior to this december update. Just curious on how the new RAM management fixes from the december security update are integrated with the RAM management of this kernel?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
There were no kernel side changes that interfered or rather dealt with memory management.

So whatever improved must be somewhere else and probably don’t interferes with my kernel side changes :svetius:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] DonQuixote77:
Hey there [MENTION=3428502]Freak07[/MENTION]!

First time trying your kernel, just flashed it last night after manually flashing the Dec patch on my device.

I just picked up my Taimen a couple weeks ago (it's not really in my budget to always get the latest/greatest/most $$$), and I'm quite happy with my new device. On my previous device (Marlin) I was mostly running EXK and Flash, but I decided to try Kirisakura, and I have to tell you I'm very pleased; device is quite smooth and responsive, multi-tasking seems very snappy, and overnight drain was outstanding. I really like the fact you upstream your kernels. Thanks for your work!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] infatality:
[MENTION=3428502]Freak07[/MENTION] another question. Is this the correct way to flash your kernel via twrp? Your kernel then magisk Or magisk then your Kernel?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Boot to twrp, flash kernel.zip and magisk.zip, then reboot as stated on the OP :svetius:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rickysidhu_:
I'd love to be a tester as I started facing random reboots (even up to the latest version) and would be glad to be a part of helping to resolve that.

However, I have been needing my device to remain on and stable during the day as I expect extremely important calls from work.

That being said, if you are okay with me testing at certain times in the evening (PST) and weekends, I can DM you my email! Just let me know.

Thought I'd bring this to your attention in case a painfully slow tester is something that's not ideal:good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
It would be actually nice to have you in the group then. :svetius:

Just send me a message and I’ll add you :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ossito2012:
I looked but could definitively answer for myself. Can the latest version 4.59 be used on Android 8.1 Oreo. I notice the change logs title for Aurora say compatible with Oreo and Pie but the OP says 9.0 , just need a lil help before making jump. Thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Only pie is supported. If you face issues with Oreo there’s nothing that can be done about it.

You can try to use the kernel on Oreo but have a backup of stock boot.img ready. :svetius:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wgrant:
Had my phone refuse to wake tonight. Running latest version and Havoc with magisk 18. Tried to get the ramoops file but didn't have access using my normal file manager and there's nothing in the folder. If it happens again I'll try again to grab one.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Benjamin_L:
Same here. Folder is always empty
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rickysidhu_:
I'm in the Hangouts testing group and I mentioned the same thing happening to me. I was told if there is no file in there, then the cause of the reboot is not due to a kernel panic. It's most likely something else causing the issue.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
If the folder is empty and no ramoops file was generated the reboot is not caused by a kernel panic.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] wgrant:
Excellent, thank you both. Looks like it may be a setting conflict in havoc that I'll need to pinpoint.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ilal2ielli:
Hi [MENTION=3428502]Freak07[/MENTION]

Have been using your kernel for a a little and always ran into random reboots. Didn't think I was doing anything out of the ordinary, but it's been happening more frequently again.

Anyway, I just woke up and had checked a few emails, then tried to swipe down my notifications and the phone was locked up. Then tried to press home to see what reaction I'd get, and it was a reboot.

Hope the ramoops file helps!

I couldn't attach to XDA, so here's a Google Drive link:

https://drive.google.com/file/d/1l_qFR7_AgQzkmf8KG1szBpn2GmcriORZ/view?usp=drivesdk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jbarcus81:
Back to these odd freezes and reboots... Completely stock December release, and just your Kernel. Only things I have installed is Viper4Android audio. My folder had 3 files in it.. all sent to you for your peepers! [MENTION=3428502]Freak07[/MENTION]
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
The file looks corrupted when I open it. Can you try to reupload?

Thanks! I’ll look into it and see what I can do. Also no script?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jbarcus81:
Nope.. not this time. Stock Rom+ Your kernel + Viper. That's all.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ilal2ielli:
Here's the re-uploaded file:

https://drive.google.com/file/d/1DrluWSIYxdBromIUoCnR52IisbOcx-0J/view?usp=drivesdk

If it's still corrupt, then I'll just let you know when I have another one for you to look at.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Yeah it still is :( see screenshot. My other text editor wouldn´t open it at all. and on my phone it looks the same.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Allright! Thanks for the info :)

let´s see if I find anything.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kost7:
[MENTION=3428502]Freak07[/MENTION]: I have been using this kernel for more than 3 weeks with no problems at all until today. This morning the phone would not wake from deep sleep and I had to hard reboot to get it started again. I checked the path /sys/fs/pstore but it was empty, so I assumed that this had nothing to do with the kernel as you suggested earlier on.

However, just now after hanging up a call, the phone froze and rebooted itself. A console-ramoops file was generated which I attach. Hopefully it can be helpful for you.

Thanks for all your efforts.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Cuancena:
https://drive.google.com/file/d/1ZWRRNuwa5ReQFoh8cZXYZYLRJkhNLGcz/view?usp=drivesdk

First reboot with latest kernel. Hopefully this helps.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
This was rather unconclusive. I´m planning on release an update with another little change soon. Please try that and if you still get an issue send a log again. We´ll catch it eventually!

This log was helpful. Next build may have a possible fix for this issue. If not I have another idea!

Thanks for everyone contributing these logs! The download count has risen in the last time and reports of reboots declined. So I guess we catched the biggest issues but I want to iron out everything!

Thanks for the support everyone! :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mookiexl:
.38 per hr battery drain in standby on first run over night. This device seems to like this kernel better than the others I've tried. I think I'll stay here for a minute.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
next build is probably going to drop today :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Another reboot occurred in the testing group yesterday.

I decided to hold the release for now.

I spent a little bit of a night shift and completely rebased the kernel. The conditions where the reboots happened seem to be at least reproducible to a certain degree. I hope the rebasing finally catched the issues that crept in.

I’m sorry to break my word and not updating the kernel but I want it really stable for all now!

Thanks for your patience!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
Dude, you'd proven to be a stand up dev that takes the game seriously. No need to apologize. :) Most of us are just thankful we have folks pushing the scene forward for us...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
UV

Will there be two 5.0 Stable versions with and without UV? :eek:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bigmarv31:
No apologies are needed, you have done an amazing job with this kernel and we all appreciate what you do for our device and there is nothing wrong with making sure the kernel is working to your satisfaction before releasing it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] seardna:
thanks

nice and stable kernel
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joedajoester:
I got a hard freeze just now. Had to hold my power button till it restarted. Not sure how I can get logs after a freeze like that
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cjrivera04:
A new release should be around the corner.

:)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
As [MENTION=2667850]cjrivera04[/MENTION] already said a release is just around the corner. So far it’s perfectly stable for everyone in the testing group. Also for those that previously faced reboots/freezes.

I want to give it half an day until it’s evening here. The plan is to release it then as an early Christmas treat for you guys :highfive:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 5.0.0

hey guys and girls,

as already announced I decided to rebase the kernel completely. So far not a single reboot occurred on the testing group. I think we finally got rid of all the issues.

Thanks everyone for their patience!

Latest upstream is included!

I wish everyone that celebrates it Merry Christmas :)

The installer includes a little Christmas surprise. If you want to see it flash either through TWRP or FKM :) EXKM doesn´t display it properly!

Changelog:

- Completely Rebased the kernel!

- Upstream to 4.4.169

For further details please take a look at my github!

Download is below :)

Download: https://www.androidfilehost.com/?fid=11410963190603881178

or following the link in the op to the correction version

Have fun, enjoy the kernel and your phone.

If you like my work please consider a donation.

Donations are not mandatory but very welcome.

If you like my work and want to buy me a coffee: http://paypal.me/freak07