yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Umm.. Why would I do that? I don't have issues with Tasker. It doesn't even get loaded until after about 10 seconds into a full reboot.

Besides, Tasker is in charge of too many things, including home automation and security, to not load.

That would basically shunt my phone to a dumb-phone.

There are no real reasons that these reboots happen and no way I can trigger one.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Maybe Tasker is why you are having the random reboots that I and others don't have. Perhaps you should try.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
I would have to have a little more info than that. I am not the only person with this rebooting problem.

So, anyone else with random reboots NOT running Tasker?

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pahlerc1:
i ran into the random reboot issue and didn't have tasker installed on flash kernel v2.00. but ever since 2.01 i haven't had a reboot... i am just rooted, this kernel, and themed.. no modules installed. on v 2.00 i had random reboots, but i also tried installing v4a module.. so i wonder if that was causing an issue? all is well on my 2XL right now, just thought i'd mention my experience thus far!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] krweby:
All of the soft boot problems I have seen on my phone have been caused by the theme installed. After removing it or the themer updates it the issue goes away.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Now that you mention it, my reboots have been less frequent with no theming.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
Well does the phone feel hot? I'd say having the CPU temp be around there isn't any cause for alarm. 60-70 is when I'd be a little concerned. The battery temperature also matters, when it starts to get high I stop using my phone to give it a bit to cool down.

Yeah a logcat and dmesg while it is happening would be helpful.

There are a lot of factors at play here unfortunately.

Which would make a lot of sense because soft reboots are Zygote dying which could easily happen from a badly overlayed value.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] aloxotls:
I was having reboot problems using any custom kernel. Changed my governor to sched last night and I have not had any reboots so far today.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
Hmmm I really don't recommend that but it at least gives me an idea of where to look.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kcc140:
Yes. I've had random reboots on both stock kernel as well as Flash...no other mods and never use Tasker. It will be fine for 1.5 - 2 weeks, then one day it will keep rebooting until I use the power button, then it's fine for another week or two. I had this on stock 8.0 and now on 8.1 Dec final.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] omvir:
Hello! Loving the kernel, you've done a great job with it. One request: would you be able to add the minimum backlight feature? I feel like the backlight gets way too dim for me on adaptive brightness during the night
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Do you use substratum?

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kcc140:
No. All I have is Magisk and Flash 2.0, both flashed after booting TWRP. On 8.0, I used the patched boot.img method and still had the random reboots. I read an article recently that talked about reboot issues with the Pixel 2 devices and that Google was going to address it. Not sure how accurate that is...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
Queued up for 2.02.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Paddybecks87:
Thanks for the quick reply, Nathan. No, not really hot, rather warm, at most. I'll also pay attention to the battery temperature. Another thing I did notice: When playing around with the camera and using Google's new AR-stickers, the CPU-temperature quickly jumps up to around 60°C. I assume using AR takes its toll on the processors, nonetheless, seems a little high.

Thanks for your efforts and patience.

Greetings
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nekromantik:
for some reason I am getting only 3.5 hours SOT.

plus betterbatterystats is not working well as half the time it cant get stats! so cant see whats eating up battery. :(
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Jiggs82:
8.1 seems to eat up more battery than 8.0 that's for sure lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Nah...your just using it wrong Jiggs! :cool:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
I'm not seeing bad batt life at all. Had nearly 5 hrs yesterday, and I unplug at 85% and was down to 15%... So in about 70% of batt life I got 4 hrs 52 min.

I guess if everyone else is getting 6 hrs SOT, my batt life would suck, but I don't think that's the case. :p

Poor batt life is almost never directly caused by the kernel... It's usually an app, background process that uses the kernel to operate, which gives the flase indication that the kernel wake lock is killing your battery. Nathan will no doubt correct me if I'm wrong :D

Plus, batt life / SOT is so subjective and dependent on so many variables, I almost never post about it anymore.

But In my situation, I'm seeing better batt life with the same usage running 8.1 with Flash 2.00, compared to my 6P running PN 7.1.2 and my 2 XL running 8.0 with Flash 1.06 kernel.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Our 6p's on PN couldn't hold a candle to this beast bro! Even with fuchsia accents! :silly:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
Still with the fuchsia? I'm all about the darkness with ICS blue accent.... you know, manly man colors :p
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Yeah, I know.....that darned prison psychologist got the best of me! :(
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
GSAM just released an update for 8.1 to deal with negative numbers and other issues. Maybe BBS has some of the same problems.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nekromantik:
BBS xda board seems to think its working for 8.1 :(

i prefer BBS as it gives better stats
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Just had one again. Can't find those instructions for dmesg.

I promise I will write them down this time. Also, I'll have about 2 solid hours to be able to find the combination to crash this phone every time.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dr2big:
Flash 2.00, Magisk 14.5, no theme, Adaway, 6-7h SOT, runtime 5 days... and shutdown because no more battery left :silly:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
adb logcat > logcat.log
adb shell su -c dmesg > dmesg.log
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Thanks.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bosox284:
Is that a beta or stable update? The most recent update I have in the Play Store was back in October.

Edit: December update just came in.

BBS works intermittently for me. For example, when I checked this morning I had some stats. I just checked again now and everything is blank which is driving me nuts. Right now I have something rogue that keeps waking my phone up and GSAM is just telling me that 99% of the battery is being used by the kernel. I like that GSAM shows the awake/active bar that the Android battery usage got rid of, but it's annoying that I can't figure out why it's awake.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
Beta.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
[MENTION=6842057]nathanchance[/MENTION]

Not great news. The last two times it's rebooted, it just goes to the G and a rolling progress bar.

A couple times it completely hung, when I put it to the computer to do a debug.

No fork

Other than just pressing the hell out of this phone while adb has a logcat, I don't think I can do anything else. I will try to edit down the size of the logcat if you want, but it usually takes at least 2 hours.

Should be able to run another command prompt to get dmesg going at the same time.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sharpz811:
Hey guys I have only been running this kernel from a clean install of Oreo 8.1 for 2 days now but I don't know if this is normal. See attachments please. Battery drained real fast today when I mainly just browsed the web and text. The big cluster is not throttling down at all it continuously remains at maximum frequency. Also have magisk with no modules and the only other mood I have is a modded pixel launcher. Any help please. Thanks

Edit:

Just read post 454 by the op and as he was helping another user he also clearly stated that the same issue I'm having should not be happening.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
It is most likely some rogue app that is pegging your CPU at max. These are my stats for the big cluster.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
Update!

I was holding out on 2.02 to try and sync up with 4.4.106 but it looks like 4.4.106 won't be out for another two days at least so I'd rather release what is stable and just push 2.03 with 4.4.106 when it comes. Added a couple features by request, namely minimum and maximum backlight control and wake gestures (many thanks to [MENTION=4684315]flar2[/MENTION] for getting this all figured out, check out ElementalX if you haven't already). I have also added several optimization patches that [MENTION=5373714]freak_97[/MENTION] found so many thanks to him for those. I also tried to take a crack at the soft reboot issues (even though I am flying completely in the dark). Flash away and enjoy!

Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP). You should also know what version it started with. If you want to be a tester and get builds before they are released here or just hangout, feel free to stop by Telegram!

Short changelog

Backlight minimum and maximum brightness control

Wake gestures (thanks to [MENTION=4684315]flar2[/MENTION])

Optimization patches from kernel/common and Motorola (thanks to [MENTION=5373714]freak_97[/MENTION])

Update AnyKernel2 backend (thanks to [MENTION=4544860]osm0sis[/MENTION])

Downloads

Primary: http://nchancellor.net/downloads/kernels/taimen/8.1.0/stable/

Mirror: https://github.com/nathanchance/fk-zips

Commits

Kernel: https://github.com/nathanchance/wahoo/commits/oreo-mr1
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
Does wake gestures includes swipe to sleep as well?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xflowy:
nice one man!

is the maximum brightness control the high brightness mode?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Jiggs82:
Awesome thanks for the update Nathan ?

EDit: ok guys so i just flashed the updated kernel from 2.01 to 2.01 and now my phone after reboot says "the device is corrupt and can't be trusted and might not work properly" ugh lol what can be the problem now?-_- Thanks in advance
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
Did you flash the stock dbto.img before you flashed the kernel and the updated magisk?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Jiggs82:
Nah i just flashed the kernel and reboot in twrp like the op says. But i did get to reboot back to Android flashing the magisk from here https://xdaforums.com/pixel-2-xl/development/unofficial-build-thread-magisk-twrp-t3708555 idk if that is still the correct one i should flash since i now get the warning meesage after reboot about the contact provider etc again
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] shindiggity:
Yeah I've had it since 2.01, just hit power button and it bypasses.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
If you review the instructions from the link you cited, https://xdaforums.com/pixel-2-xl/development/unofficial-build-thread-magisk-twrp-t3708555 , it tells you to uninstall the current magisk manager, flash the stock dbto.img before flashing the kernel. That is what I did and I don't get the warning message.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
No, it just allows users to lower the maximum brightness if they want.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jamiejames:
Doesn't get any better than that. Thank you Flash, Flar2 and Freak_97.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] brembo10901:
I got my Pixel 2 XL 3 days ago and had at least two soft reboots while completely stock. I did no modifications to this device whatsoever. I seems the softreboots are not a problem of this kernel. Don't have more information atm but I thought I bring this in, to let you know that the problem exists in the stock rom/kernel also.

Gesendet von meinem Pixel 2 XL mit Tapatalk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
[MENTION=6842057]nathanchance[/MENTION]

Here is a logcat where my phone just completely froze and wouldn't turn on unless I pressed so three buttons for 10 seconds

https://drive.google.com/file/d/1vq-bCrCdnV3hesXU9Xnshd5cVJPP8Kxd/view?usp=drivesdk

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
I haven't followed your issue from the beginning, so apologies if you already covered this, but does this happen to your device if you are 100% stock?

If you haven't tried that, I wouldn't be surprised if you have a faulty device..

Just thinking out loud cause I hate seeing other users having such a tough time of it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
No. It seems to be a kernel/Magisk issue.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
And how do you know that?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Because, on stock boot and dtbo it doesn't happen at all.

I've been testing it since last week. Trust me, it has something to do with this combination. Look back in this thread.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
Not too much in there other than a bunch of libc spam in the beginning. No idea why it locked up. Was this on 2.02?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Yes 2.02

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] shindiggity:
Sorry to hear the issues your having but they seem to be isolated to you, haven't seen many others reporting your issues. Maybe your phone and Flash just don't like each other! Good thing for android and choices.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bobbarker2:
Daw, does that mean this panel doesn't support HBM like the Pixel did?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
[MENTION=4684315]flar2[/MENTION] can comment on this further but Walleye (Pixel 2) has a Samsung panel, which traditionally have easy HBM panel commands. Taimen (Pixel 2 XL) has an LG panel, which is just not familiar to most people.

Panels have specific commands that are described in the device tree and can be called upon in normal code handling (like screen on and screen off) or by some external exposed interface like sysfs (which is what flar2 did here). Those commands are panel specific (so an LG panel will usually have different commands than a Samsung panel, as you can see here and here). I'll try to contribute to this stuff soon, I've been sick this entire week and work is going to need to be a priority for me over the break.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Are you serious? Have you even read this thread? Or the one on the q&a forum? I assure you, it's not just me.

Don't come in late to the party and start making ignorant comments.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jrbxx7:
Seems like u and only one other have had the problem in the last 12 pages.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Well.. I'm the only decent person that helps developer issues.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jrbxx7:
You've also reported the issues in more than one kernel thread where the large majority of users have no problem which shows the problem is possibly following you're device/setup.

Also there is alot more testing that happens behind the curtains, so I wouldn't hardly say you're the only "decent" person that "helps" it's a large community. ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bobbarker2:
Ah right I forgot this is an LG panel. Thanks for the explanation and keep up the good work as always. Been sick the entire week as well so right there with you.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] shindiggity:
Ignorant comment to the guy who has the problem it seems! The last 5 pages are basically you giving the same issue, maybe another kernel will like your phone? People on stock are having same issue, not kernel related.

PS: I'll jump in where I please!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] GBPackerFanForLife:
After installing newest kernel my phone app doesn't work it just goes crazy it won't open just keeps closeing any ideas..
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
You could try clearing the app's data but mine opens just fine.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] shindiggity:
Are you using a theme, think there was an update to phone in Play store.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
Yeah, I second clearing app data, as mine is working fine with 2.02 as well.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MikereDD:
It's odd but everything is working flawless.

Odd is it not. >_>
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
[MENTION=6842057]nathanchance[/MENTION]

Giving EX a shot with no issues for more than 12 hours.

If you need me to test again, please don't be afraid to pm me. I'm not walking away from your great kernel but in fairness to your kernel. If there are problems with EX, it's obviously not your issue but an issue with a module or Magisk.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Same issue!

It's gotta be viper.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
That's just odd... Maybe something with AVB is screwing it up? It replaces libs right?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Sure does.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
Something is seriously messed up with Viper if that is the case because it's literally causing Zygote to just die and it's not coming back up... Unfortunately, Android Verified Boot is a lot more strict than just normal dm-verity was.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
I was using the shadysquirrel viper, then aharion updated his yesterday and tried that.

The only difference is the shady viper reboots to the G screen, aharion gets to the password screen.

The only thing I can possibly remove is permissive mode. I highly doubt that would fix it and probably make Viper4Android stop working all together.

Edit: reactivated viper with the 2.3.4.0 module. I'll update this post if it bootloops.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] GBPackerFanForLife:
It wasn't your Kernel it was a theme I was useing that was causing the issue..I got her fixed..
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] krweby:
I have viper installed without any reboots. I did install it differently and it is in permissive mode to work. But I don't have any reboots. This is what I did and it works. I turned off compatibility mode because it muted the maps directions voice when navigating.

https://xdaforums.com/showpost.php?p=74789483&postcount=78
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
How did you install it? With the Opus modular install?

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] krweby:
Follow the directions in the thread I posted.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chikimonke:
With the mention of Opus, it sounds like you are running ARISE, no? From what I have seen, a 8.1 (maybe even 8.0) official version hasn't even been released (team members too busy with life). There are a lot of reports in that thread of weird things happening on Oreo. Instead, just give the V4A for Magisk a try. Sure it doesn't replace all the libs and the sound may not be quite as good as ARISE has been in the past, but it's still loads better than stock and they just released a new version that's compatible with our phone on 8.1. I have it installed with no issues, and SELinux is still enforcing.

---------- Post added at 01:20 PM ---------- Previous post was at 01:19 PM ----------

FYI, if you use the module I just linked above, you don't need to install busybox and set permissive, it just works.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
I did have to set permissive when using that module to get v4a to work.

Also, that same module seems to bootloop my phone.

I was trying the 2.3.4.0 instead and it didn't seem to give any reboots, but only tried it for an hour before I was doing other things in Magisk and had to uninstall it.

I'll try the other instructions above.

Don't really want to pollute Nathan's thread with Magisk issues. So, I'll keep my responses to a minimal.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chikimonke:
Did you try the lastest version, 2.5? Part of the changelog was making it so you didn't need permissive on our phone.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jrbxx7:
Wait so this kernel doesn't cause massive bootloops? Hmm.

? ? ? ? ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
I flashed this boot, and got a kernelloop, does that count? :D
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
It was all testing to see which it was. Magisk modules or themes or the kernel. Nothing was a definite without testing, like we have been doing since the dev asked for it.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] krweby:
Thanks didn't see it was updated. I was using 2.4 then it was broken after 8.1 came out. I did have a reboot problems after installing and choosing the original look apk. But no problems so far with the material version of the apk.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jrbxx7:
When the problem is reported by the same user on multiple threads when 100's of other are fine, its 99% of the time from user modding. (which was suggested multiple times) I can't speak directly for this dev but from my experience they want their kernel tested with zero mods. Expect root. Themes, modules, and audio mods are irrelevant because they generally have no control over them or what mods a user applies. Nor the time to troubleshoot a non issue.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Are you trying to start an argument? He requested it. I'm the only one that followed along and helped him get a log. It was extremely intermittent and hard to get any logs on.

Again, you are being ignorant and I am done with you. Welcome to my ignore list.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drewski_1:
Everyone needs to relax a bit.

fwiw, it seems like you are the pot calling the kettle :eek:

Just saying . . .
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
https://xdaforums.com/showthread.php?t=3692366

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] shindiggity:
Really! Figure it out bro, I'm sure one of the 6-7 threads your posting your reboot issues in you can figure out your issue!