yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Questions & Answers] Az Biker:
My understanding is, you can buy both the Google version and the Verizon version from Google. BUT, the Verizon version from Google IS locked and from all that I've read, it's locked REAL tight, like many other Verizon devices are.

I think the confusion stems from those buying it outright from Google presume their Verizon device will be unlocked, and it isn't. It's the exact same device you'd get if you walked into a Verizon store (I'm sure there's a ton of legal wording preventing Google from selling Verizon branded unlocked devices.

I'm not sure why anyone would pay the same for a locked device over a unlockable device. If you're never going to unlock it, get the unlockable one JUST IN CASE you change your mind, if not, it's a selling feature for the future.

Hopefully this clears things up a bit.
[Google Pixel 2 XL Questions & Answers] wiseguyy:
Well I'm glad I didn't open it or break the bag seal it's gowing up on eBay tonight ;)
[Google Pixel 2 XL Questions & Answers] Az Biker:
What are you looking at getting next?
[Google Pixel 2 XL Questions & Answers] wiseguyy:
I'm fortunate I got a N8 and I have just ordered the same 128 device from G in Panda style hopefully that will fetch more than the just black model when I move on again next year...But I'm Sooo praying to that Beanstown comes to the PXL2 soon. Hell ASAP I ran his PN rom and it was the sh**.

The guy's just a ROM savant ;)
[Google Pixel 2 XL Questions & Answers] Az Biker:
N8? Nokia 8?

No arguing how good Nate's Roms are... This is my 3rd device running PN.
[Google Pixel 2 XL Questions & Answers] wiseguyy:
Note 8... I'm simply dying to find out if and when he's going to roll over to the pxl 2
[Google Pixel 2 XL Questions & Answers] Az Biker:
In the event you didn't catch it in the 6P thread, he said he purchased a 2 XL.

I asked him if the development would be similar for the 2 and the 2 XL and he said absolutely.

So, it's coming :D
[Google Pixel 2 XL Questions & Answers] Napa7m:
I just tested tethering with my unlocked (but not rooted) Pixel 2 XL on Verizon 'New Unlimited Plan'... which I guess they no longer offer... [they really need to come up with better names that differentiate the damn features].

Anyway, tethering works just fine.
[Google Pixel 2 XL Questions & Answers] Ives314:
Lol I guess it does. But they were wondering which plans had hotspot and whatnot and these plans are confusing so just tried to clear up what plan has what. No harm no foul.
[Google Pixel 2 XL Questions & Answers] wiseguyy:
Yeah, ok...sure thing Dr. VZ.

---------- Post added at 05:26 AM ---------- Previous post was at 05:17 AM ----------

Are you serious that's great.... Bartender I need a whiskey""
[Google Pixel 2 XL Questions & Answers] Ives314:
Lol. How can I change my username to that!
[Upgrading, Modifying and Unlocking] lamonster11:
This is about installing a brand new emmc on a motherboard I have. I've never don't this type of soldering, but I've watched youtube videos on how to remove them. I have over 12 years in computer repair but not hardware repair.

what I want to do:

the board is made for this ---> SDINADF4-32G

and it is an EMPTY socket, due to the board being shipped without one. ( came with 32Gb, and I wanted a larger one)

but i want to use this ---> SDINADF4-64G in the same socket.

If I buy the 64Gb version, do i just line it up and ramp the heat from 150C to 300C over 3 mins?

Thank you, Lamont.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
Due to the @MSFJarvis and @nathanchance being the unbeatable dynamic duo, I've decided to discontinue this kernel. At this point, our kernels are extremely similar, save ElectroUtil and a few misc commits. Rather than put time into a modified Flash kernel, I recommend y'all just try Flash (warning: its pretty good). ElectroUtil and my other changes will live on in the CarbonROM kernel, and will simply be added on top of flash kernel. Thanks for supporting this project while it was alive.

For those of you who have used my angler and (unreleased) ether kernels, then you already know how this works. Feel free to skip to the Instructions.

Electron kernel has a few goals that make it different from other kernels. These goals are to:

Be as light weight as possible

Improve battery while performing at least as well as stock

Be a flash-and-go kernel (recommended settings are defaults)

That being said, This is a flash and go kernel (If you install the Magisk Module), please do not tweak options unless you are an advanced user.

Electron does NOT have spectrum support yet, and I don't plan on adding it until twrp is semi stable.

Current Features:

Upstreamed to 4.4.108

Updated EAS

ElectroUtil governor (renamed schedutil for compatibility)

Maple I/O scheduler

Adreno Idler

GPU Display state awareness

KCAL Support

Wake Gesture support

State Notifier

Disabled FSync

Power-Efficient Workqueues

Wakelock blocker

Devfeq wake boosting

FP Scanner speedups

CAF CPUIdle Updates

GPU+CPU Undervolted

Zen Interactive Tunings

Optimized string routines

Many warnings fixed

Optimized strlen use

Compiled with DragonTC 4.0

Polly optimizations

Installation:

Download the Electron boot image

OPTIONAL: Patch with Magisk

Run "adb reboot bootloader"

Run "fastboot flash boot /path/to/Electron-boot.img"

RECOMMENDED: Download Electron Defaults zip

Install as a Magisk module by pressing the "+" in the modules menu

Reporting Bugs:

Please follow this guide by @The Flash . If reporting a crash/reboot, provide both a dmesg and ramoops. Otherwise, provide a logcat and dmesg. CLICK HERE

Download:

Boot Image

Magisk Module

I would like to thank all of the great people whose support and help that I've received and whose work I've referenced to make this kernel a reality: nathanchance(TheFlash), boeffla(andi-p), FranciscoFranco, RenderBroken, flar2, xanaxdroid, R3V3NT3CH, arter97, DespairFactor, neobuddy89, ZeroInfinity, and anyone I missed!

XDA:DevDB Information

Electron Kernel for Taimen, Kernel for the Google Pixel 2 XL

Contributors

frap129

Source Code: https://github.com/frap129/taimen

Kernel Special Features:

Version Information

Status: Stable

Current Stable Version: v4

Stable Release Date: 2017-12-26

Created 2017-11-15

Last Updated 2018-02-08
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
In this post, I will add descriptions of my original kernel features for users and developers to reference.

ElectroUtil Governor:

ElectroUtil is a schedutil based CPU Frequency governor, taking some queues from pwrutilx by ZeroInfinity, but with an overall different frequency selection algorithm.

ElectroUtil is a hexacore-biased governor, meaning that all 4 Silver and the first 2 Gold cores are preferentially granted higher frequencies at lower utilizations than the last 2 Gold cores to prevent excess use of more Gold cores than necessary. ElectroUtil is also device state aware, forcing lower frequencies when the device is suspended. This is handled via 2 different mechanisms. The primary mechanism is the 'suspend_capacity_factor' tunable, which is used such that

max = capacity * (suspend_capacity_factor + 1) / suspend_capacity_factor

where 'max' is the divisor of the frequency calulation

algorithm. For example, a value of 10 for the capacity factor result in a frequency that is 1/10th lower when the device is suspended. The second mechanism is a hard limit, set by the tuneables {gold/silver}_suspend_max_freq. If the requested frequency is higher than than the respective suspend max, the max will not be exceded. For the last 2 Gold cores, this max is always the minimum frequency.

Maple I/O Scheduler:

Maple is based on the Zen and Simple I/O schedulers. It uses Zens first-come-first-serve style algorithm with separate read/write requests and improved former/latter request handling from SIO. Maple is biased towards handling asynchronous requests before synchronous, and read requests before write. While this can have negative aspects on write intensive tasks like file copying, it slightly improves UI responsiveness. Like chill, maple also has power saving features. When the device is asleep, maple increases the expiry time of requests so that it can handle them more slowly, causing less overhead.

More to come...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
Reserved
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] crossen0:
Errors out when I try to install module, but the kernel itself runs smooth
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
Thats weird, it installed for me. Will look into it asap.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] crossen0:
Here's what the error said:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 123SIT:
Ah yes, feed my flashing hunger muhahahaha!!! Install of kernel and module went without issues. I have noticed the following repeated in logcat but I had to run out for a few so only posting the error until I return home. Every 10-15 lines in logcat contains the below at least once.

11-14 20:57:26.139 811 811 E android.hardware.power@1.1-service.wahoo: Governor not supported by powerHAL, skipping
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] weaver11b:
That's the same exact error ive been getting with no matter what module i try to flash with magisk. just started after i unistalled viper4android and tried reinstalling it. Can't find a workaround with it just yet either :(
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
Thats a device issue. Try rebooting and/ redownloading

I forgot that the governor is powerHAL dependant for EAS devices. I'll look for a workaround until twrp works (requires installing a custom powerHAL), but for now, performance and battery don't seem to be affected much
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] crossen0:
Do I need to rename the .zip?

Maybe I'm missing something here? I have rebooted several times redownloaded the zip.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] an21281:
Did you make sure that the Kernel flashed correctly? First time I flashed it I was still on the previous FLash kernel. Had to do it one more time and it finally showed Electron kernel under sett/about. Then I installed the Magisk Module w/the defaults successfully by using + once in Modules menu.

View attachment 4332795

https://drive.google.com/file/d/1lPda5zNtK0FUXswmIIDEvPAGry4wZqss/view?usp=sharing
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] crossen0:
I am on Electron v1
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] an21281:
Hmm, the only other thing I did was copy the Electron-defaults.zip to the MagiskManager folder before installing as a mudule...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] crossen0:
I tried moving it over to MagiskManager folder but it still fails.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
Made a quick workaround for the powerHAL issue, will include in v2 (Should only be a couple days)

Sounds like a magisk issue. Try completely remove magisk and manager.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jbarcus81:
Going to dive in!! But, ugh! I have to go back to 8.0? THE HORROR!!! LoL.. Onward!

Up and running fine!!! Just a quick question..maybe OT? Maybe not.. But would this script have any issues with the kernel being installed from here?

https://xdaforums.com/pixel-2-xl/development/mod-pks-tuning-script-t3702834
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] JayTheNinja:
Is this kernel compatible with the pixel 2?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Really?? Look 5 posts above yours! :eek:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
No, this is XL only! If it was Pixel 2 compatible, it would be in the Pixel 2 forum.

But... its not
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Lawlrus:
No idea why there's such a large number of pixel 2 users that hang out in the xl forum
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] murphyjasonc:
That's weird. I couldn't install V3 or any other modules on the 1456 but as soon as I went back to 1455 they all flashed fine. I just booted back to TWRP and flashed 1455 over 1456.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Juzman:
So I patched v3 and flashed it, now I am stuck in bootloader.

Removed the -w and did flash-all - same deal.

Edit: flashed stock boot.img to slot_a and slot_b - booted

Flashed patched electron v3, twrp and magisk.

All working good again. :)

---------- Post added at 01:52 PM ---------- Previous post was at 01:25 PM ----------

I couldn't flash any modules with either versions of 14.5, had to revert back to Magisk-v14.4(1444).zip and all flashed fine.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bradputt:
this is confusing, do we need to patch the kernel for the latest magisk??

because i just flash straight without patching and i'm stuck on the G boot screen now.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
I did and it worked, if I don't patch It, I end up in the same boat as you. Yet I've been told it's not needed and could mess it up if I did lol.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Dielahn:
I followed the instructions in th OP and installed V3 with no problem no issues.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bradputt:
this is just great..... now i'm boot looping and can't patch anything anymore.....what options do i have but to reflash factory images and restart again?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Just remove -w and flash the factory image. You'll be fine.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bradputt:
yay! thanks! phone's back to life.... learn something new today
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
Delete
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sruel3216:
can i request audio boost for aux and bluetooth volume in a future build? Or if anyone knows what line to edit in the buildprop i can do that
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
Lost twrp

I'm sure you guys are ahead of me on this one. I updated to electron v3 by flashing the image in twrp. Booted up, still rooted and everything looked ok. I rebooted to recovery and twrp was gone. Did I miss a step somewhere?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] an21281:
I always have this same problem when flashing a new kernel, like to know the answer too. Not sure if we are supposed to still patch the img and flash using fastboot even if we have TWRP now? In order to fix this(after flashing kernel img in twrp and loosing twrp) I had to fastboot boot twrp.img, then flash twrp.zip and magisk 14.5 again. Not sure how to get TWRP to stick permanently....
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Neejay:
If you're trying to keep twrp installed, it's:

Fastboot into twrp (if not already installed, otherwise just reboot into it)

Flash kernel.img to /boot partition OR kernel.zip

Flash twrp.zip

Flash magisk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
Ok; the step I was missing was the need to flash the twrp each time the kernel is updated. Thanks, I'll try that out.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drewski_1:
Recovery & Kernel share a partition in the Pixel 2 so if you flash a new boot.img, you lose TWRP, thus the need to re-flash TWRP after kernel update.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jlokos:
Thanks; I was thinking that was the case. In any event, I reflashed the kernel, twrp and magisk and everything works again.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
Quoting you to reference the info but this is an open question to anyone...

Does this mean if boot gets blown up as many are doing every day right now, restoring the boot partition from a good nandroid will restore the kernel and recovery?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] iron maiden:
hello for what is the module for the magiks? thank you very much
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drewski_1:
Kernel settings
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
FYI [MENTION=5051294]frap129[/MENTION]

I haven't got any random bootloops since v3

Edit: Nevermind. It's still happening.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
1. Get a log

2. Describe if there's any pattern to how/when it happens

3. Are you using any other mods/root apps etc?

I fixed the reboot issue in v2, no one else has reported any since.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xflowy:
no reboots for me, but a question: is there anything kernel side you can do to make display on when picking it up (ambient notification) more reliable?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
Nope, google uses a ROM side implimentation for that. Sorry :(
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xflowy:
thanks for the clarification (out of thanks actually). is it that inconsistent for you, too? lightens up 1 out of 10 times or so. except when i tilt it really hard, which shouldnt be the case imo.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nekromantik:
Will you be doing a flash able zip installer for kernel?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dr2big:
What do I have to to do if I'm coming from another kernel?

fastboot flash the electron-v3.img(patched)?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
If your on the stock kernel, then just go into twrp, flash the new kernel, then the twrp zip, then magisk 14.5 :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dr2big:
i should have specified that Im coming from the Flash 1.06 kernel :) should I proceed like what you said?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
You just need to flash the Electron boot image (and dtbo image if Joe provides it), I don't modify anything else aside from those two images.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] marbertshere:
Question for anyone that has insight. I came from a 6P and I loved tweaking my kernel's interactive parameters to get really good battery life and performance. I'm new to the Pixel line and unfamiliar with the schedutil governor. Looking at the frequency times after a week of use, it seems that schedutil doesn't really take advantage of intermediate frequencies. My cpu seems to spend 90% of its time either on the maximum or minimum frequency. I have heard, however, that for whatever reason this governor is the most efficient for the Pixel devices. Is there truth to that? It just seems very performance focused.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
I recommend doing some reading on the goals of EAS. This isn't like any other device you've used before. The scheduler interacts directly with the cpufreq driver to make sure you are getting the smoothest experience possible while also being efficient so your battery life doesn't suffer. However, Google absolutely cares more about performance than they do about battery life (their perf team is at the top of their game); it just so happens they aren't really conflicting in this area.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
Magisk autopatching works now, so I'm not going to include a dtbo file. Thanks for keeping an eye on my thread!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nekromantik:
Does this mean we can just flash the img before installing magisk?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] frap129:
No, that means you don't have to flash a custom dtbo.img
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nekromantik:
ok thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] marbertshere:
delete delete delete
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sruel3216:
will v3 work on the new 8.1 that was release or do we need to wait for an update?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Probably have to wait.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sruel3216:
ok thanks. i just have the flashing urge all of a sudden. phone is running flawless on v3 at the moment
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Sorry. I never saw this reply.

There doesn't seem to be any pattern.

All I can tell you is that it soft reboots then let's me type my pin in, then soft reboots again with the same pattern.

It doesn't happen often, and not on 8.1.

If you want any logs, just tell me a link on how to capture them, with exception to logcats ;)

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mchockeyvette27:
I have the same thing happen. With version 2, it used to happen primarily when fully charged. Now it doesn't always happen when charged, but more randomly throughout the day.

[MENTION=5051294]frap129[/MENTION], when this occurs, it's near impossible to get any sort of log since it just keeps soft rebooting. When I do get a chance to navigate to the ramoops log, there is no such log in the fs file. Once I rebooted the phone, it settles down and THEN there is a ramoops log in the fs file. Not sure if this is useful since it is after a reboot and everything is back to normal.

I don't know if you had seen the original logs I pulled when this was happening during V2 but I will try again next time this happens and post them.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Neejay:
Are you using v3 on 8.1?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mchockeyvette27:
Here are some logs after a reboot when the phone goes into a soft reboot frenzy. No specifics as to how or why this starts happening. All I was doing was using chrome at the time. But that's not when it always happens. Sometimes just happens when it's in my pocket.

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

https://drive.google.com/file/d/18Vosv7HnwuYfxudiZZUn3w01KBzonN7F/view?usp=drivesdk

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

Hope this helps.

I am on v3 and rooted on 8.0

Edit: to specify, I have to manually reboot the phone in order for it to settle down. Otherwise, you might as well call it a boot loop since you can't do anything on the phone when this is happening Once it's rebooted, it works normally again. Until next time. Seems to happen about once a day.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Please also post this on the flash kernel. That is excellent that you got them.

The community thanks you!

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
I'm also subscribed to this thread, no need to cross post lol.

[MENTION=3460800]mchockeyvette27[/MENTION], please make the files public, I don't want to request access on all three.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mchockeyvette27:
Sorry about that, I got this all before my break ended at work since that's when the reboots decided to happen! Lol

Should be public now! Let me know if these help. It's impossible to get logs DURING the crashes, so these are directly afterward.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
Unfortunately, I'm not really seeing much in these :/ the first one is a massive spam of the same message but it doesn't really tell me much. I don't know why you and all the other people are having issues yet Joe and I aren't. I can't really fix something that I can't reproduce. I guess I'll try to hammer away at my phone and cause it to have one of these soft reboot episodes...