yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
Yes, kind of, but mostly resolved.... I think any and all scheduling splats are gone. What is remaining; I'm currently reworking Power Management related bits ~ I'm switching some remaining drivers over to using pm_wakeirq; https://github.com/nine7nine/Marlin_exns-eas/commit/f1e8feb7b202bb008b471416bac4f66960617e32 ... allows dropping some boiler plate in some drivers / handle PM related interrupts in a more generic way. ~ This makes PM easier to debug, gets rid of using the legacy suspend/resume that some of the drivers rely on.... I've also been updating some of the (msm) drivers too.... So once these bits are finalized; I'll post a build, for a tester.... (not planning to add in anything else, just fixes to what I'm working with now.).

Generally, things are in a pretty good state... I've reworked a lot of core code / behaviour. The RCU, workqueues, binder/msm_ion/ion && scheduler/locking updates/reworks are great. I'm slowly working on the MM subsystem, but I still have a lot to go through (so not rushing to merge much beyond fixes for now).... Performance is quite good (in particular, the mutli-threaded performance is excellent). my phone feels very responsive and fast. (one example: the reddit app is smoother and faster than it's ever been - it's usually clunky on load, in comparision)...

So assuming the last bit of driver / PM goes ok and the crash doesn't return, I'll post a build to test, but again; no ETA - some of this stuff isn't easy to work through, necessarily....and I'd like to make sure there aren't any (known) situations that can cause a crash/hang/reboot && I need to make sure that the IRQs are balanced with PM for suspend/resume, etc....
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
I'm not sure what the cause is here, or rather why it worked before and not now. It gets an selinux denial and then has a segmentation fault. I've tried several other file managers that can read/write to the root file-system just fine... maybe after I get a few immediate issues worted out in my dev builds, I can have a better look and see if i can figure out the issues...
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ChongoDroid:
Sounds very interesting. Take your time bro, you can't rush perfection and so far your stable kernel is great. I think I can speak for everyone and say your work is greatly appreciated. ?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
Thanks!

Yup, i'd prefer to have it be fairly stable, before pushing a build to test.... I've been doing some rather substantial/radical changes under the hood; not just slapping on additional drivers, cpu/io/net governors, one-off hacks or semi-easy cherry-picks; much bigger and more difficult core changes/reworks -> so better to make sure there aren't any crashes or annoying issues && that things are reasonably good, before pushing new builds out there......

and as you say; stable kernel is great so no big rush to replace it.

* that's why I just stuck with the stable build in January; when I knew my bigger changes weren't ready... Then when Feb 5th rolled around; I did the same thing - as while I had smoothed out some issues from Dec/Jan; I introduced others/new ones. lol. ;) ... But now, I'm at the point where most of the reworking the core is where I want it (exlcuding some future changes that I won't touch for a while), so now it's all just bug/splat fixing time...
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Homeboy76:
[MENTION=7810360]nine7nine[/MENTION] I Flashed Magisk-16.0.zip (Stable version) and then your kernel. On a Pixel XL with February Security patch/Factory image. I looked at the recovery.log after flashing and was shocked to see several 'warnings and errors' during the install of the kernel. Back to stock kernel. I didn't install twrp-3.2.1-0, just fastbooted the image file.

Why the warnings/errors?

recovery-log.txt attached
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] kingbri:
Use FX file manager with the root add-on, works very well for me

---------- Post added at 01:15 PM ---------- Previous post was at 01:10 PM ----------

And my advice is to enable zram, but disable uksm, it helps with battery
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Nick80835:
These errors are normal actually and are a result of ensuring things are set properly, the BusyBox config errors are okay as well since they fallback to a default config, the install procedure / shouldn't / be affected by these errors.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ChongoDroid:
I'm sure it's well worth the wait.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] boostnek9:
Am I retarded ( Don't answer that lol )

I flashed 10000 times before but can't flash this kernel this time for whatever reason...

Flashed Lineage 15.1

no TWRP

Fastboot twrp 3.2.1

Flash kernel getting ERROR 1 see below:

exNoShadez by nine7nine @ xda-developers

AnyKernel2 by osm0sis @ xda-developers

Checking device...

marlin

Installing kernel...

65536+0 records in

65536+0 records out

33554432 bytes (32.0MB) copied, 0.267627 seconds, 119.6MB/s

BOARD_KERNEL_CMDLINE console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=marlin user_debug=31 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 cma=32M@0-0xffffffff loop.max_part=7 buildvariant=user veritykeyid=id:34e81e2c57675086f628c1b2e4b4ade8e0a1941d

BOARD_KERNEL_BASE 80000000

BOARD_NAME

BOARD_PAGE_SIZE 4096

BOARD_HASH_TYPE sha1

BOARD_KERNEL_OFFSET 00008000

BOARD_RAMDISK_OFFSET 01000000

BOARD_SECOND_OFFSET 00f00000

BOARD_TAGS_OFFSET 00000100

BOARD_OS_VERSION 8.1.0

BOARD_OS_PATCH_LEVEL 2018-02

32503 blocks

cp: can't stat '/system/init.exnoshadez.rc': No such file or directory

cp: can't stat '/tmp/anykernel/patch/init.exnoshadez.rc': No such file or directory

chmod: /init.exnoshadez.rc: No such file or directory

/tmp/anykernel/anykernel.sh: line 59: /system/bin/dalvikvm: not found

Signing image failed. Aborting...

Updater process ended with ERROR: 1

I:Install took 9 second(s).

Error installing zip file '/sdcard/Flash - Los/exNoShadez-eas_77c4906.zip'

Updating partition details...

I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0

I:Data backup size is 442MB, free: 17344MB.

I:sending message to remove 65538

I:[MTP] mtppipe remove storage 65538

I:Message sent, remove storage ID: 65538

...done

I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0

I:Set page: 'flash_done'

I:operation_end - status=1

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'advanced'

I:Set page: 'copylog'

I:Set page: 'action_page'

I:operation_start: 'Copy Log'

I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] liam_davenport:
Rebooted to OS before attempting to flash the kernel?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] boostnek9:
Yep.

Exact steps:

Flash factory image

fastboot twrp

Flash LOS rom

reboot bootloader

fastboot twrp again to change slots

Flash vendor

flash GAPPS

boot into rom

boot to bootloader after rom is booted

fastboot twrp 3.2.0

Flash magisk ( V16)

Flash this kernel

errors
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] borxnx:
I believe you're going to need to use 2 different versions of TWRP to do this. Fastboot boot 3.2.0 for ROM/gapps (and vendor, if you need it again?), but use TWRP version 3.2.1 to flash Magisk and kernel.

Also: don't install TWRP zip. Just fastboot boot it temporarily to do your TWRP stuff, don't flash the TWRP zip in TWRP.

Somehow we have angered the Flash Gods. TWRP 3.2.1 won't flash ROMs, but 3.2.0 won't handle other 8.1-specific processes. We ain't in NexusLand anymore, but I sure do miss it from time to time.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] boostnek9:
I havent' flashed a twrp zip for this exact reason..

Unfortunately I just tried fastboot to twrp 3.2.1 and have the exact same result.

Could it be the ROM?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] i42o:
just tried it as well, from previous expirience, and it failed

wipe everything ( i backed everything up )

reboot recovery ( made sure i was in slot A )

flashed rom >> DID NOT flash twrp,

Rebooted into Bootloader >> booted 3.2.1.0 >> flashed gapps >>> flashed magisk >>> flashed This kernel

>>

error >> something about it being too big for boot partition >>
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Homeboy76:
Thank you,
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] borxnx:
It's gotta be the ROM. I've been using this kernel for the past several versions on with no issues on stock with Magisk.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ithehappy:
Just a request, kindly consider rechecking the stock boot.img attached on the OP, it might not even be for Marlin! At least mine semi bricked upon flashing it and it also doesn't match the stock boot.img I extracted from February factory image.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] spr33:
+1

Same happened to me recently, flashed OTA to fix in the end.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] boostnek9:
Just want to report that I tried to flash on factory instead of Lineage and worked flawlessly.

Seems LOS isn't compatible.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Alekos:
Correct. The boot.img in the OP thread is not correct. It's not even the same size.

No one should be using that boot image from here, extract it from Marlin Image Zip from Google Developer site.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] vidfinnx:
The OP kernel maker is on a Sailfish, which is why, i cant believe i didnt catch it sooner,

BTW does anyone know if this works on lineage os variants
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Donric13:
Seems more rom gonna implement newest los commits that make problems with the size for the bootimage. Becoming same error trying to flash this kernel on latest Xenon HD and latest unofficial RR. On unofficial DU kernel is working fine. So we gonna see if maybe march update gonna change something.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] borxnx:
Lol, look literally 2 posts before this one.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] vidfinnx:
I really want to use this kernel but it gives me tons of microstutter when playing games, not sure what that's about but it sounds so promising of a kernel with all these awesome features
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ChongoDroid:
Are you using the stable version? I've had that issue when the device is quite warm (usually gaming and charging).

I recently just traded my marlin for a sailfish and I loaded this kernel up and I haven't had any issues. The one thing I would love is the graphics boost (I've seen it in NSFW kernel). Even setting it on low makes a huge difference.

Stock behavior is the initial GPU frequency is 214mhz and when you touch the screen it lowers to 133mhz and only ramps up when the governor calls for it. With GPU boost I will change the initial frequency to 133mhz and then when it registers a touch input the GPU will jump to 214mhz immediately and will ramp up to higher frequencies on less load than stock.

Anyway, food for thought. I still find my CPU load on idle is infinitely lower using this kernel and also happens to be the only kernel I can run with any shred of stability. I wish my device liked overclock but sadly it does not.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] vidfinnx:
i can overclock to the maximum but i doubt it makes any difference when actually gaming, my device can take everything i throw at it, im trying to play lineage 2, i was playing crusaders of light which is wow style graphics, the cpu throttles in these phones heavily, im starting to believe more cores is probably the solution, 4 cores just isnt enough, the newer devices are coming out with 8 cores and more standard. This kernel is so close to perfect for me, i still have yet to find the perfect rom/kernel combination for a gamer like me with maximum SOT during gaming
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ChongoDroid:
Nexus 6p had 8 cores... it's more optimization than you think. Also the GPU has more to do with gaming and frame rates than the amount of cores in the CPU.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] vidfinnx:
well i know android optimization for gaming is pure butthole, ios gets all the market on that, ive played alot games on my phone and i love android, but apples performance is not fair, i need 8 cores to equal their 6 cores of perfect optimization and framerates
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
yup. FX is the best; it's what I use ;)

I think I'm not going to include a boot.img for Marlin anymore. You guys can deal with that yourselves. Previously other users have linked to the boot.img ~ but if that's not working out - i'm not about to start downloading the Marlin firmware every month verify and upload the boot.img....

so problem solved.

you have any ideas or links to said commits that might be causing issue?

There are some patches in my dev builds that probably will cause some night/day differences, I'm hoping to provide a stable and test/dev build for march ~ you can have a stab at the dev build and let me know if you observe the same issues.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] vidfinnx:
Look forward to it! I love your kernel and all the work you are putting into it, its definetely one of a kind being you cant use twrp with it, but you convinced me on why it is better. I will see if i can take some short films of the issue to show how the performance works, right now i am on a fresh flashed february 8.1 with ele X kernel, i will try and recreate what i am doing in game best as possible and then put them side by side with you dev build. I am new to logging so if there is any kind of performance monitor or logging i can display on screen to help out please let me know. I am by no means an android guru, i am an ex-IT guy, and now a Paramedic by trade, know that I i do not intend to offend so please dont take anything i say that way. I appreciate all this work and look forward to maximizing your kernel.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] kingbri:
What is the URL to your dev build?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
I haven't uploaded any binaries for it yet and while I've committed some stuff to my github - there's still a few bits here and there missing.... So yeah, Still working on it / no URL to download it quite yet... possibly tomorrow, or maybe not until the end of the week ~ I'm just making sure that there aren't any show-stopping issues, from putting it out as a test/dev build along wit the stable...

I'll post though, when I have it up.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] kingbri:
Ok, sounds good. I would like to test the new build on DU
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] plusCubed:
There's noticeable static noise when using headphones with this kernel. It's not there when I flashed back to stock. Has anyone else experienced this?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
a few users have mentioned similar symptoms ~ while other people (including myself) don't get static at all.... in the March 5th stable build (update), there will be a fix commits added in and we will see if that fixes/addresses that....

so assuming Google's firmware updates arrive tomorrow - I'll have a new build up sometime tomorrow night, if not - we'll have to wait for them to push the update....
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] almightysiman:
I only experience static noise on speaker,doesn't know it's rom related or kernel related.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
It's probably kernel related (doesn't happen on stock, right?)

anyway, I'll get to test a theory on next stable update - hopefully, I'm right / it becomes a non-issue. Well see ;)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] almightysiman:
I think it's more likely rom related,I experience this problem when I switch to crdriod,doesn't happen on stock.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ithehappy:
Yeah we can figure that out, but you should really leave the stock boot.img for us to download ourselves. It only creates a confusion and soft brick consequently when you have a Sailfish stock boot.img attached on OP meant for Marlin, that was my point.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Blue305:
March security update is out. Woohoo
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] AlkaliV2:
I owe everyone here an apology for incorrectly uploading the wrong boot image for [MENTION=7810360]nine7nine[/MENTION] to offer to everyone. Last month I was pretty sure I grabbed the correct boot image because I grabbed it the day of release but I must have uploaded the incorrect files because I checked it now and there was an MD5 mismatch to the February boot image. I have fixed that and the Feb boot image is located here: https://www.androidfilehost.com/?fid=673956719939825210 you can cross reference the MD5 to the February stock image download (I just did). I sincerely apologize for the mix up last month.

The March Boot image is available at this link which I double checked to ensure it was the correct image for Marlin: https://www.androidfilehost.com/?fid=962187416754465893

Screenshot of the MD5 verification checker I use to cross reference against the MD5 checker that AndroidFileHost uses is attached below. Again, I apologize for the confusion last month; it was unintentional.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] kentexcitebot:
As one of the users that had an unbootable device because of that boot image: we all make mistakes, and I'm sure you didn't deliberately try to brick our phones. :p I'm especially happy you took your time typing your thorough post, and I'm sure everyone else is too!

Apology accepted! Don't worry about it, and again: thank you for typing your apology :good:

That being said, I absolutely cannot wait for the OP to unleash his kernel. The hype couldn't be more real!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
I won't push a stable update for another few hours - I have a thing to be at, until later on....

i'll probably test my local build for another day with March 5th firmware, if everything seems ok, then I'll also post a build of that.

anyway, bare with me. got stuff to do until later, but I'll get out a March build, asap.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
Hey guys,

I ran out of time last night. I was home later than expected, then hit some merge conflicts with the KPTI patchset that google has included for Marlin this month.... I'll have a look at this when I get home after work and get a stable build up...

until then, the feb kernel should work fine on March update. (my dev kernel is - so no reason why the stable wouldn't).
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] vidfinnx:
no rush man :) mucho thanks
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
UPDATED:

I've merged in the March / KPTI kernel patches, but I haven't added LTS && I haven't cherry-picked through my dev branch yet (for bug fixes and a few less invasive changes).... This build isn't very different from last month, but I still ran it through a cycle of benchmarks and stability tests, just as I wasn't sure ats to what the impact of KPTI would be. Seems to be unnoticeable. good.

~ there's actually more than I thought to go through from my dev branch (just for fixes and one-offs, maybe some non-invasive changes too... - So i'll probably update the stable build again in a day or three - with all of the (stable) changes from the dev branch and also I'll add in LTS.

I'll also try and get up a test/dev build too. (at the same time).
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gerriitw:
Tried to flash it on the latest benzo rom, stuck on bootloop. I have no twrp installed, anyone with the same issue?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] almightysiman:
flash it on crdriod,working fine.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] muppetmaster916:
[MENTION=7810360]nine7nine[/MENTION] just out of curiosity with the P Dev preview is there any way you can merge your changes or would that rewire the final build of P. Not asking to be annoying this is just the first Dev preview I've run.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] montbazon:
I didn't look into this dev channel. But generally Google don't open their code at the dev and beta phase.

So it would be a really hard job.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
nothing to merge. there's no source code for the developer preview and won't be until P is released...

I don't test, nor do I support developer previews.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Nick80835:
The latest build works on P though, just sayin. ;)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
sure, it very well could (and thanks for pointing that out).

but at some point it could break on the DP and I won't be testing Android P until it's released...

so lf it works; cool, but I can't really support it, if something changes or breaks.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Overclock96:
How can I flash this? Can you give me a detailed instruction?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
For me this method works and it's what I prefer but many will argue

Flash kernel

Flash twrp

Flash magisk
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] dnsh89:
Works for me too..
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] muppetmaster916:
The argument is that [MENTION=7810360]nine7nine[/MENTION] stated you don't get the full features of the kernel unless you flash magisk BEFORE the kernel.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] dnsh89:
Yaa I tried it once.. flash magisk, kernel and twrp.. it worked.. so go ahead..
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] -iNSiGhT-:
OP doesn't recommend to flash TWRP (and so doesn't support it).

Fastboot boot TWRP.img

Flash Magisk

Flash kernel

Reboot.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ayylmaomyman:
Rom+kernel+twrp+magisk

If anyone wants instructions for benzo Rom+kernel+twrp+magisk, do this:

1. Complete factory reset, reboot to system

2. Flash Benzo [slot A]

3. Flash TWRP (or save for part 2)

4. Reboot to system

1. Install twrp (if you didnt already)

2. Install kernel

3. Install magisk [high compression mode will activate]

4. Reboot system

5. make sure everything loads properly

6. Reboot to twrp

7. Install kernel

8. Reboot

9. Set up, etc- you're good to go
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] kingbri:
[MENTION=7810360]nine7nine[/MENTION], is this good for P?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] muppetmaster916:
Someone said that it works, however [MENTION=7810360]nine7nine[/MENTION] is not supporting it so don't report bugs, or do, idk lol. The other kernels have been updated to work officially.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] :
it works on P. I know lots of people who are using it.

but yeah, I won't officially support it - because;

#1 - I won't be running P until release...

#2 - if there are bugs, i don't want to waste my time/effort dealing with bug reports, that will probably turn out to be non-kernel bugs that google devs will resolve... so yeah, don't report issues if on P.

Now, there are some differences in the dp1 kernel, although roughly have half of the patches have lived in my kernel for months and a ton of patches are for binder (not interested, they are just catching up to AOSP kernel common, I've done that already)... I go into more detail in this pixel thread post;

https://xdaforums.com/showpost.php?p=75869107&postcount=622

As for 'official support', yeah, flar2 pushed a separate EX kernel for P (IIRC, it is untested by him?)... freak7 pushed an update for his kernel... AFAIK, no one else has...
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] muppetmaster916:
Sounds about right to me, this is by far my kernel of preference.