yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rodcpierce:
This is exactly what I did as well. I did have one hangup here tonight. The phone went a little nuts when I tried to unlock it with the finger print sensor. It vibrated like it accepted it, never lit the screen and was 100% unresponsive. A few minutes later it vibrated again twice and then lit the screen. Everything has been fine since.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Cuancena:
I'm using the stock ROM. I'm using two Magisk modules (Viper4AndroidFX and Edge Sense Plus), if that means anything. I've been using your kernel since I got this phone and have had no issues until this point. I wiped and restored my phone using a factory image and then flashed your kernel just to eliminate any odd interferences, and the problem is still occurring occasionally (granted, I haven't tested without those two Magisk modules).

Excellent kernel, though. It has all the features I want along with great RAM management and battery life. If we could get to the bottom of this issue, it would be absolutely perfect. Thank you for responding to everyone's reports!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
If you face a reboot please get me a log again if it’s possible for you!

Thanks for taking the time and the kind words!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joedajoester:
Would there be any sort of way to alleviate the black crush with a kernel tweak? Kcal doesn't have the sliders to adjust gamma, only RGB. The apps that do it need a service always running and I'm kinda sad there's no root way to do it. Every time I need to look at a photo my brightness has to go high otherwise I can't see it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Maybe this is helpful for you. :svetius:

https://www.reddit.com/r/GooglePixe...ation_report_on_pixel_2_xl_and_some_findings/
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xflowy:
tried your kernel for the first time. dirty flashed to the nov factory image, booted temp. into twrp, flashed twrp, flashed your kernel, booted up (since i forgot to flash magisk). booted in twrp again, flashed magisk, boote up > only the wallpaper shows for some seconds before the phone displays the "shutdown pop" and reboots into twrp.

any ideas?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] greyhd:
Start over, flash kernel then Magisk without booting up then reboot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Actually yes. It happened also to me after flashing November factory image.

Flash the magisk uninstaller in twrp. Then flash stock boot.img (maybe factory image is required too). Reboot one time. Then proceed as usually with flashing my kernel plus magisk.

It’s a very rare magisk issue as far as I’m aware.

I had that too when I upgraded november image and found a thread somewhere on xda where exactly this was described. Flashing the uninstaller was what got me back.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xflowy:
thanks.

for me it was one of the modules since uninstalling those did the trick.

what scheduler do u recommend for smoothness? is maple still a goof choice?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
That didn’t work for me back then. It was the last resort. Since then I always keep the magisk uninstaller zip on my device :angel:

I personally like fiops. have a read maybe here:

https://lkml.org/lkml/2012/1/4/18

Cfq is patched up and in a pretty good shape. :) also for non rotational devices ;)

maple is a good choice too.

Try different ones with an app like androbench and see what works best for you. Generally you’d like to have high random read/write speed within Android OS. :svetius:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] marbertshere:
Does anyone know what the epoll wakelocks are? Are they safe to block? My phone has been held awake quite a bit
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
No I wouldn’t recommend to block this at all!

If you have this wakelock constantly keeping your device awake you have another issue. Most likely a rouge app is requesting this wakelock to be held excessively. Wakelocks are there for a reason. It’s very rare you need to block one completely. The most reasonable case being incompatibility form e.g. router firmware with the current wlan driver of your phone. But even that will probably result in missed notifications etc.

Have a read here:

https://arstechnica.com/gadgets/201...sts-tracks-and-improves-android-battery-life/

It’s a very interesting article giving quite a bit of insight!

My wakelocks look like on the screenshot currently.

Epoll is there but that’s totally fine.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Horoscope:
is there a app for this kernel ? how do I change the Scheduler ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Which scheduler do you mean?

The cpu scheduler is EAS and that can’t be changed.

The IO Scheduler is cfq by default.

Can be changed via most kernel apps like EXKM or FKM :svetius:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 4.5.3

hey guys and girls,

This update includes linux-stable upstream to 4.4.164.

Changelog:

- Upstream to 4.4.164

For further details please take a look at my github!

Download is below :)

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

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] Jiggs82:
I just flashed youre kernel over havoc rom with stock flash kernel and now i got a bootloop :(
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
See discussion above. You might want to use magisk uninstaller, then flash kiriskura kernel and then magisk and see if that solves issue.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Jiggs82:
Oh ok thanks but i already restored my backup lol next time ill try that...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] aoaleman:
Thank you, Freak07!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
You’re welcome :) :svetius:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] eelsid:
Did you reflash Magisk after installing the kernel? After Nov update I had to flash the Magisk uninstaller, then flash kernel and Magisk to resolve bootloop.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rodcpierce:
going to give this another shot here. Thanks Dev.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
You’re very welcome :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] greyhd:
Thank you for your continued work and development of your kernel. Do you recommend using the script from XFirefly93 along with your kernel? I am just curious if you use it, but I get great battery life without the script. Thank you
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
I’m just using stock rom and my kernel at the moment :) totally satisfied with performance and battery life.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
I´m incredibly sorry, I just now realized it. I forgot to push my changes from the last update yesterday.

I did this now!

And I forgot to mention that i switched to a more recent clang from google. Namely clang-4679922 from the Google repo :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Shamestick:
By this do you mean that you forgot to actually build the kernel with the updates when you released initially and we should redwonload? Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
No. Every time I update my kernel, I update my Github source so you all can see the changes done to the kernel. That’s how open source works. I forgot to push my local changes to github so you all can retrace the changes I made. :svetius:

No need to redownload anything.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] marbertshere:
Hey, great kernel! Is there a typo in the name of the thread? I can't be the only one that noticed after this long ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
You should get a reward.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] marbertshere:
I only noticed it because people in the tuning script thread kept spelling it the way it's spelled in the title of this thread.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
haha :D how that could possibly go unnoticed for that long.... I´m completely baffled and speechless :D

you really should get a medal for that :highfive:

edit: fixed now. Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] In3rDm0RetHeNu:
Stats please, also if you do try the script I'd love to know how they compare.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] greyhd:
I have not tried the script since I am getting on average about 6.5 hrs of SOT with heavy texting, email, xda, G+, and some FB. I might give it a shot to compare what the script can do to improve the idle drain on the phone.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] In3rDm0RetHeNu:
Wow that's amazing, are you using the kernel as-is or do you have any relevant tweaks?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] greyhd:
I use it as is out of the box, flash and forget it. I know the developer changes some settings, he posted a few pages back.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 4.5.4

hey guys and girls,

This update includes linux-stable upstream to 4.4.165.

Changelog:

- Upstream to 4.4.165

For further details please take a look at my github!

Download is below :)

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

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] Benjamin_L:
I am still experiencing freezing with an non responding phone when it's sleeping most likely. Happened twice now. What do you need from me to debug this? With 4.5.3 that is.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Do you use any mods, magisk modules or scripts?

Does the phone actually reboot by itself or do you need to force reboot it?

in either case you need to extract a console-ramoops immediately after the device booted up again and send it to me :)

Here’s a small guideline :svetius:

https://github.com/nathanchance/Android-Tools/blob/master/Guides/Proper_Bug_Reporting.txt
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Benjamin_L:
Need to hard reset yes. Will try to reproduce it and send you some logs. I am using the blackened mod script yes but had this issue before.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Would be great if you could try to reproduce it without the script/mod installed.

Also when it’s not responding try to wait a minute before force restarting it. Then extract the log.

Thanks :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jbarcus81:
I just stripped my phone and had a slight heart attack!! Oh boy! Just like above I sat my phone down... a few minutes later picked it back up, double-tapped to wake, woke up.. But nothing else worked. Phone was completely unresponsive via touch. So I forced a reboot holding the power button, phone booted back up fine, or so I thought. Unlocked the screen and touch was back, but Wifi was gone, SIM was gone, and my phone wanted me to run the Pixel Setup again.. I tried getting logs but I couldn't get a response from my phone via computer.. Only things I had installed were stock rom, your kernel (latest version), Magisk, Viper (Via Magisk) and was running the BlackenedMod v8.1.

I'm really sorry I couldn't get the logs for you!! But, I will this time if it happens again. I'm going to do everything as I normally do, minus the BlackenedMod v8.1, I'll leave that out for now and see what happens. I'll ask him if there's anything in there that would cause this and advise.. But I was so freaked!! I love the kernel and hope this is something we can get a handle on and see what's actually causing it. But I will for sure let you know if it happens again, and WILL get you the logs!!!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
I never faced such a behaviour for months now... Sorry it happened.

I think I decided for me now that I’m going to revert cpu and gpu undervolt as well as gpu overclock and see if that solves these random issues. It might very well be that some chips aren’t able to handle it. The issues you guys are describing seem to be a bit different for all and a bit to random.

I also have a few display tweaks merged that I might revert too.

I want this kernel to be stable for everyone not just me!

I think I’m going to post a new release soon with these changes reverted and a few more upstream changes merged!

Together we’ll get to the bottom of this issue.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Reechings:
What display tweaks do you have? I'm really liking current kernel.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
https://github.com/freak07/Kirisaku...f5a66ae#diff-94688c4e687877060863b5d4bd17226f
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Cuancena:
I got the freeze to happen again for the first time in quite awhile and grabbed another log for you.

https://drive.google.com/file/d/1ZWAeUK_YT9WhqPCBl9v4uaCPVATEv_9N/view?usp=drivesdk

Luckily, they seem to be quite infrequent, now, as it took days to replicate it again. Thank you for your time, once more :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jbarcus81:
I've sent you a PM with the log you need.. Hope there's something in it useful ... everything was running fine last night and this morning, bam! Hope I caught the file in time and it's not full of useless info...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] i42o:
the only issue that I was facing was that my phone would sometimes gets stuck under heavy load and would just be until it power it off and rebooted .

It would happen randomly but mostly when I would load heavy memory apps such as Snapchat Google photos or something that used a lot of CPU in the background I don't have any logs to show you but I can assure you that this only happened under heavy use let's say for instance it loaded something out of memory . it only happened to me once in awhile and stop happening after I reset up my whole phone again I haven't had that issue since I've reflashed my setup.

I am running carbenoid OS with this kernel magisk 17.3 a few mods
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] def-g:
4.5.4 was running super. Fast fluid and very good battery life. Using Google Maps and activating the Dialer induced a freeze then a reboot. Hasn't happened since and all seems to be working very well atm. Will monitor it. No script, stock with only Active Edge module.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
hey :) thanks for the report!

please try to get a ramoops immediately after the phone booted successfully following the freeze. otherwise I have no idea what could be going on as I still have not suffered one reboot on my device. It still sounds to me like this could be caused by the UV that the kernel has. I´m going to post a new release which has UV reverted. It would be great if you could flash it and see if it still happens.

Thank you :)

how to get a ramoops:

https://github.com/nathanchance/Android-Tools/blob/master/Guides/Proper_Bug_Reporting.txt
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
thanks for taking the time and sending me the logs! I took a look at both of your logs and you both got a watchdog bite. It´s no direct kernel panic that crashed the kernel which reboots the phone. The kernel thought that some system was not responding properly and caused a watchdog bite to reset the phone in the end. I don´t see a kernel bug on the logs so I cannot exactly tell what was the cause of your reboots.
[MENTION=2793130]jbarcus81[/MENTION] your log was filled with

fts_touch 5-0049: fts_event_handler_type_b: Palm Detected

which I have no immediate idea what it means or how that could be caused. It relates to the touchscreen driver.

https://github.com/freak07/Kirisaku...drivers/input/touchscreen/stm/ftm4_ts.c#L1159

Please flash the release I´m going to post soon which has UV removed to see if that solves your issues.

The same goes for you. This all sounds to me like random issues that happens everwhere when your phone can´t handle the UV. Otherwise I would also get frequent reboots.

Please flash the kernel I´m about to post which has UV and related commits removed. Thank you very much!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 4.5.6

hey guys and girls,

This update includes some more upstream patches.

UV is reverted now as an attempt to suffer the reboots some are experiencing. Please report back and include ramoops logs if you still face reboots!

here is a good guide:

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

Changelog:

- some upstream patches from kernel/common

- revert UV and GPU OC in an attempt to fix the reboots some are experiencing

For further details please take a look at my github!

Download is below :)

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

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] jbarcus81:
Perfect! Now let's see if we can keep that dog from biting! :silly:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
frezees

will test it too.. i also had random freezes and reboots :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jbarcus81:
So far so good! Not a single hangup!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cjrivera04:
So far so good here. Not running any scripts and using stock kernel settings.

;)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rickysidhu_:
Since Flash kernel is EOL, I have moved to this one and I can confidently say it's been great in my experience! No random reboots or other issues. Been flawless for me (on Liquid Remix).

Also, Nathan had his kernel constantly updated which satisfied the flashaholic in me, and it seems this kernel follows that trend.

Not trying to compare kernels, or saying one is better than the other. Both are absolutely amazing, I just wanted to share how I'm having an awesome experience with this kernel, as I did with Flash :)

Thanks for all your work! I'll be donating very soon:highfive:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jbarcus81:
Just had my first issue... But, the log you need? There's nothing in the folder!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] i42o:
[MENTION=3428502]Freak07[/MENTION] for the win #MVP, hey but can you make my phone turn into Optimus prime please ???
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] coolsid8:
I dont think I can stress enough about multitasking improvements on this kernel. My apps stay in memory much better as compared to anything else. Earlier on 4.5.2 i used to have some random reboots but nothing so far in the newer builds. Keep up the good work.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
OOM

Can something go wrong if i use

echo "0" > /proc/sys/vm/oom_dump_tasks;

echo "0" > /proc/sys/vm/oom_kill_allocating_task;

echo "0" > /sys/module/lowmemorykiller/parameters/oom_reaper;

Or lmk will behave as stock? :rolleyes:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
thank you for the kind words! :)

What kind of issue did you have?

if it was a reboot and the folder is empty it means it wasn’t caused by the kernel.

You sure you want a 10 meter robot standing in your livingroom? :laugh:

Yeah multitasking is definitely improved. I could confirm that consistently during my testing.

If you disable oom_reaper you disable a setting that I intended to be not disabled. In fact I backported it from the 4.9 kernel so it’s available for us in the 4.4 kernel. So don’t disable it :)

I wouldn’t recommend to tinker with the vm/lmk tunables as I have done my memory management tests on stock values (which works best for the majority of all users and not specific use cases).
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jbarcus81:
The issue I had was the screen stopped responding to touch.. I forced the reboot and if the folder what empty, I think I know what caused it! And that has since been removed!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Cuancena:
Tried to double tap to wake my phone, the screen froze, and a pink bar flashed across before it rebooted. At this point, I don't really know if my issues are related to your kernel (this was my first issue with 4.5.6).

Here is the log: https://drive.google.com/file/d/1JJJcW_lrlzw-MV6LttAuSp2yWgX7r0TJ/view?usp=drivesdk

I'm going to switch to the EX kernel for now, as my phone has been rebooting constantly these past couple of days. I'll report back here if a different kernel fixes my issue. I want to switch back to this kernel, eventually, though :) I'm just switching so I can find out if my issues are kernel related or not.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Maybe you want to switch tomorrow I want to revert a few other changes too to see if that fixes your issues. New release will also have latest upstream then. At least I can see same line as the other log showed. It’s no kernel panic but something with the touchscreen driver causes issues for you. Please bear with me. I hope I’ll catch it :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
new release with a few more reverts of stuff that may cause instability will drop.

As well as latest upstream!

Good night and see you all tomorrow!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jbarcus81:
I had the scrolling issue within Facebook with or without the script and with or without the kernel.. it's definitely a Facebook issue IMO. Currently, I've switched back to 8.0 with the scripts, root, etc. and the scrolling is perfection. I'll flash your kernel and see if anything changes but I have a feeling Facebook may have fixed something in their latest beta. :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pkgnex:
Thanks - glad to hear the script wasn't at fault.

Facebook app always seems to be a mess for people!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Thanks for the report! I don’t use Facebook but it’s known to cause problems.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] idkwhothatis123:
Fwiw, the flash img option in TWRP worked great. Allowed me to install this kernel without having my computer nearby. Patched via magisk and flashed the img. Thanks for the kernel OP!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jasonstackhouse:
Are you on 8.0 or 8.1? I'm still some what confused about this kernel and it's compatibility with the 8.1 developer preview.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] idkwhothatis123:
I'm on 8.0 Nov.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
It’s right there in the topic of the thread ;) :)

But seriously, we don’t even have the 8.1 sources out yet.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] imritechere:
Imritechere

Thanks for the boot.img very nice ! Flashed with twrp and rooted with Majisk.