yashsingh1/xdaforums huggingface dataset:
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] MArtyChubbs:
I do not install TWRP and flash with exkm, canary magisk. I no longer get the unpacking error.

Just to be clear coming from stock I flash the TWRP image and only install magisk then reboot. Then flash kernel in EXKM or franco app.

I've flashed 5 versions of this kernel about 10 times, proton and Franken. No issues and root was maintained.

I guess that's my work around until the issue is resolved with the awesome tools these generous devs work on in their spare time... Hope this info helps.

---------- Post added at 01:07 PM ---------- Previous post was at 01:06 PM ----------

FX file manager?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] 93ae8074:
AdGuard does not help with your battery at all. It consumes battery indeed. However, it is negligible.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Welcome and thanks for your input :svetius:
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] SinisterXReaper:
Franco kernel manager.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Raul Fresh:
What about the autonomy/battery life with this kernel? I'm stuck in confusion, I don't know whether to go for the Proton, or this one? :)))))
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Best is probably to try both for a time and see which one works better for you :)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] masri1987:
If I change this setting and uninstall the kernel manager will the settings stick?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] masri1987:
tried 1.8.2 today and just like 1.8.1 it has high screen off awake time vs franken , i don't know why i'm doing everything exactly the same.

i flashed n changed the i\o to maple that's it.

On franken i don't make any changes

Can anyone confirm similar behavior?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
No next time the phone is rebooted the setting will change back to its default value.

I can assure you it’s not the kernel. You have an app or a service requesting a wakelock from the kernel to keep the device awake.

Download better battery stats to see what’s keeping the device awake. It’s free here on xda.

set a custom reference in better battery stats. Choose to show stats from the custom reference point onwards. Then let your device sleep for half an hour with screen off, flat on a desk. Open better battery stats and you’ll see what is happening.

Attached is a screenshot from better battery stats which shows the awake time when screen is off for me this morning.

https://photos.app.goo.gl/YzpsKTUVvaMPa7G6A
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Chronzy:
On 1.8.1 on default settings and all on WiFi, but I squeaked out 7 hrs sot today for the first time in this phone. Battery seems really good all the sudden with no real change in usage\apps... Weird but I'll take it. Steady ~80% brightness too.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcrompton:
Posting something that may have absolutely nothing to do with kernel -- I had changed my Magisk update channel to Canary. This AM I got a message that an update was available. So I did a "Direct Install (recommended) " install of an updated Magisk 17.4 .... seemed to go properly and then rebooted. After reboot I noticed that my Bluetooth wouldn't reconnect to my car Bluetooth.

Not sure if kernel related in anyway but at least from the very anecdotal experience 1.8.2 didn't play nicely with the latest Magisk up-date -- maybe
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
No issues with Bluetooth here at all. maybe reboot once more and it will be fine again. :svetius:

I personally don’t upgrade each and every magisk canary release! They are experimental releases and as such may break stuff. I wouldn’t recommend to upgrade magisk canaries on the fly without a computer nearby.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] frewys:
Love your work, your positivity and support ?

Had an issue twice flashing latest kernel for blueline (p3)

It kills touch responsiveness after coming from deep sleep

First time I thought it was just one of, but after coming from another kernel and having the same issue again it seems consistent enough

Haven't seen it reported before
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Do you use wake gestures?

I personally own only the XL. Never had this issue.

does touch responsiveness come back or do you have to force reboot?

Can you grab a dmesg and a logcat immediately after the issue happens and you unlocked the phone?

Does if happen every time you unlock? Do you use any magisk modules/mods?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] mushages:
Latest build is on fire! Its giving me the best battery stats till now. 15hrs active, 3 hours SOT with heavy use of social media apps (BBM, Snapchat, Instagram, Telegram, Twitter and Whatsapp). I only disabled mobile data always on in developer settings.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] 93ae8074:
It seems that battery improved at the same time in our Pixel 3 XL, I thinking more that is something that Google did with Adaptive Battery? I did not installed 1.8.2 and suddenly my battery improved a lot too without any changes in my use of the device.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] frewys:
I know

I am the minority preferring a smaller phone

I have to force reboot. I tried all (I think) of the other kernels and none of them have this issue

Magisk modules attached

+nap time

It happens what seems like after deep sleep

When it boots up it's fine

I will try later with what you request

Edit: yes. Have dt2w selected and vibrations
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
totally fine preferring a smaller phone :)

I just checked and I have nothing changed for blueline in touchscreen driver besides the wake gestures.

I have no idea currenty what could be causing it.

Is anyone else on the non XL Pixel 3 running this with success?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] frewys:
Lol

Glad I have your approval

Is that what we are the "non pix 3 xl"? ???
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
did I say something wrong to you?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
This kernel does not fix the no touch issues when twrp is permanently flashed via the zip installer.

I never stated this in the OP! It keeps root when flashed but that is all.

On previous pixel devices, like pixel 2 xl, the touchscreen issue was resolved when building the touchscreen driver directly into the kernel and not load it separately as a module.

Doing that for the pixel 3 xl touchscreen driver, results in the device not being able to boot at all.

We either need to find a way to build the driver inside and fix the no boot issue or maybe insmod the module when booting permanently flashed twrp.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
If it fails for you on stock as well something you did/installed is probably breaking it.

It passes just fine for me with my kernel. See screenshots
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Aaron1017:
Thank you! Was waiting for a kernel with KCAL support to tone down the red on my regular 3 to make the display a little more warm.

Donated!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] old_fart:
.

Thank you for your hard work and continuing effort !

Donated . . .
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] c_86:
Well I was on stock. Did the boot.img sideload for root

Then OTA flashed the november image. Fastboot booted twrp and flashed magisk (did not permanently install twrp). And it was still failing.

Same exact set up as I had on my op5t. So don't know what could be breaking it

Edit:

Magisk shows it failing. But when I run a safetynet pass to test it passes. Weird.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] c_86:
In reference to my last post
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] rifraf1:
Is the Wireguard support active?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] EMJI79:
Hey [MENTION=3428502]Freak07[/MENTION]

I know that you have HTC U12 +.

How would you compare with the Pixel 3XL?

(I don't know where to ask you the question)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Thank you very much! Enjoy the kernel!

Thanks :) greatly appreciated!

more things to come ;)

Try to not flash a prepatched boot.img. Just boot TWRP.img and flash kernel plus magisk zip from there.

yes wireguard support is built into the kernel :)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] c_86:
I wasn't...

I was when I was on Sept build.

But then OTA sideloaded November and then booted to twrp and then flashed magisk.

Then used exkm to flash your kernel
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Paz9:
[MENTION=3428502]Freak07[/MENTION]

alittle OT - but may be kernel related

i have been trying to format /data as EXT4 - I have added a EXT4 line in the fstab but whenever i format to EXT4 in twrp i get to the screen that the device is corrupt and cant be booted and only gives me the option to try again or wipe/factory reset.

do you have any ideas?

im trying to get /data as EXT4 for testing purposes - i thought it'd be straight forward as previously but apparently not
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
So everyone :)

[MENTION=5496566]Komodoketavaran[/MENTION] you might like this :)

Probably soon to come to a pixel 3/xl near you.

For all that are not familiar with it here is a link explaining zstd:

https://xdaforums.com/showpost.php?p=77995970&postcount=437
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Komodoketavaran:
I am reaaaallyyy excited to use your Kernel on my P3XL :D :D

Gesendet von meinem Pixel 3 XL mit Tapatalk
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] skiierx131:
Flashed to my magisk rooted pixel 3 (non-xl) with EXKM. Rebooted and all looks great. Kept root with safetynet passing! :D
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] freebee269:
This is a great kernal. I've been using it for a day now and I can tell the better RAM management that is going on. Thank you for sharing this
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] PewPewK:
So is KCAL working? The post mentions it being integrated, but I've tried using two applications that can control the KCAL module (Franco Kernel & Color Control) and both report that KCAL support can't be found.

Kernel does appear to be flashed correctly, since I see Kirisakura in my kernel's name, but odd that KCAL doesn't appear to work for me.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
it works fine using EXKM app here.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
hehe :) I didn´t have had time yet to try my changes extensively as I had to work the whole day yesterday, but so far I made some good progress.

that´s great to hear! enjoy the kernel!

from that point it´s only going to get better, as I got zstd backport working!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
So guys and girls,

it would be great if I could get a few beta testers for my kernel :)

I already made some nice progress, but I want the changes to be well tested before I release.

You don´t need to be a pro to beta test. Just have a little bit interest in tinkering with your phone, I can also teach you how to take logs in case it is necessary.

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

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

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

enjoy your weekend all :)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
no sorry... no idea. Just checked kernel is built with ext4 support. what exactly do you want to test?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Gordietm:
December images are out. Should I leave the kernel stock until you update or is it ok to flash your last build now?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
I don´t know :) Sources for pixel 3/xl is not out yet. try and report back :)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] frewys:
Sorry

Sarcasm

Was joking
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Gordietm:
I flashed your kernel along with magisk with no issues.

One of the improvements mentioned in the Dec. Update is improved memory management.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
ah okay :D you know the internet and sarcasm sometimes don´t play well.

source is out and there seem to be no big changes.

I´ll update the kernel soon :)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] masri1987:
Yeah that's how i got to the conclusion that screen off awake time is higher. same thing happened to me on 1.8.1

Just letting you know-

Will try again next update.

thanks
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] henderjr:
I'm running it too with latest Dec update. Thanks for the kernel!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Did you check wakelocks? especially the partial wakelocks and alarms?

Thanks for the report! enjoy the ride!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
Update to 1.8.3

Hey guys and girls,

New update is out! December security update merged in.

The changes to the kernel.zip seem to have solved the root preservation issues when flashing without magisk. at least no one reported loosing root with 1.8.0 or 1.8.1. I´ll just keep the announcement from last release in hide tags so it doesn´t get burried in the thread.

The ramdisk error some are getting is maybe caused by a method the EXKM app uses while flashing the ak2 zip. Franco Kernel Manager app and TWRP shouldn´t have the issue. Maybe that gives us a new clue! If you want to help and you used EXKM app in the past, restore stock boot.img, flash twrp and magisk as usual. Then install the new release via FKM or TWRP. Please report back if you still face the issue then.

Root preservation is now definitely fixed!

As already mentioned I changed a few things in the kernel.zip starting with version 1.8.0. In case you face issues with root being preserved now please start with stock boot.img, root properly via magisk and reboot at least once to the OS. then proceed to flash my kernel.zip.

Root should be kept now for all.

Please report back if it still isn´t. Please tell your exact steps you did while flashing and your previous setup! When flashing via TWRP you will also see again a line telling you root is preserved!

If you face the ramdisk error in EXKM, start too with a stock boot.img. I don´t know what this could be. I flashed now over 100 zips consecutively and never got it. The changes I did will most likely not solve this.

Also the kernel.zip is (should be) now ready for custom roms whenever they are about to drop :)

Changelog

- December Security Update merged in

For further details please take a look at my github!

Download is below :)

Download:

https://www.androidfilehost.com/?fid=11410963190603865618

or following the link in the op to the correction version

Instructions can be found in the OP!

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 3 XL ROMs, Kernels, Recoveries, & Oth] :
Dang that was quick. Donation sent. Thanks much. It flashed fine with EXKM too.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
thank you very much! It’s greatly appreciated!

Enjoy the ride!
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] osm0sis:
Not sure what might have fixed the cpio thing in FKM/EXKM, seems to be only certain devices, and possibly random users or ROM-related, but if it happens again, rename the zip that caused it with -debugging.zip suffixed on and flash again, then @ ping me with an upload of the .tgz it creates.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
I've flashed hundreds of times on 30+ devices and never had a failure. If someone can show me how to reproduce this, I will fix it, but until then, I can't see any reason why it would fail, and I suspect it's caused by some other modification.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
I don't believe it has anything to do with EXKM... happens to me when flashing in TWRP as well.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcrompton:
Yes happens to me with this and other kernel in twrp as well
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] flar2:
The ramdisk error or some other error?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] HiM@L:
[MENTION=3428502]Freak07[/MENTION]

just flashed latest kernel over stock dec kernel.

is that swappiness value correct?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcrompton:
Sorry ... Yes the ramdisk error

Just for experiment ... I tried proton and it did it as well

I'm using Canary Magisk if that matters , and had previously just updated to latest version
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] osm0sis:
In recovery? That is the first I've ever heard of it happening in recovery. Start with a fresh boot.img then (i.e. default unmodified boot.img from your ROM), sounds like something very wrong happened somewhere down the line for you.

Rename the zip to test-debugging.zip and upload me the .tgz if it's still occurring after you reflash your boot partition clean.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
The post above references the same thing in TWRP. Kernel flashes fine when starting from a fresh boot.IMG. Does not on a subsequent kernel update and complains about the ramdisk. If I remember correctly there is no issue when flashing from booted TWRP. Only happens when TWRP is installed.

---------- Post added at 03:58 AM ---------- Previous post was at 03:57 AM ----------

Where do I pull the .tgz file from?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] osm0sis:
This still doesn't make sense.. unless the AK2 tools in this zip are outdated or something?

It dumps the .tgz to the same directory as the zip if the zip has the -debugging suffix in its filename. So rename the zip to test-debugging.zip, then please upload the .tgz from after the first time you see that ramdisk error following a fresh boot.img and flashing the zip.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcrompton:
So to be sure

I can download the pq1a Nov OTA and extract boot.img

Then boot to installed TWRP

And flash the extracted boot.img

Then reflash the new kernel then Magisk?

Do I need to do any Magisk uninstaller?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] osm0sis:
General best practice is flash ROM's default boot.img, flash TWRP, flash Magisk, flash custom kernel. After that, any minor Magisk or custom kernel updates should be fine to dirty flash.

If that doesn't work then something somewhere needs to be fixed.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
Ill do this after i finish updating to Dec. patch.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcrompton:
Thanks but just to try to not use the PC .... Can I flash the default boot.img using installed TWRP?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
File is too large to attach in XDA...
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] osm0sis:
So please upload it somewhere. Google Drive for example.

.. Yeah, just also keep the TWRP zip on your device and flash it directly after you flash the default boot.img, in the same recovery session.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
https://drive.google.com/file/d/1O2fswpYS_-r5SLq2br39YEPWRDl_aj_Q/view?usp=sharing
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] osm0sis:
cpio: can't create symlink 'system' to '/system_root/system'

Unpacking ramdisk failed. Aborting...

Hmm, that's a different error than what I expected. I thought you guys were getting the cpio short read error..

I've seen this error, it was with an older version of Magisk IIRC. I started with a fresh boot.img and the latest TWRP and Magisk for my device and then it stopped doing it. No idea why it happens. Now that I'm on a good boot.img with current Canary Magisk I can't reproduce it at all.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
Thanks. I did start fresh and I am on the latest magisk Canary version.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] osm0sis:
Can you upload me the .tgz from the AK2 zip flash that worked? That is to say, from your description, the one before the broken AK2 dirty flash. I need to see how the bad boot.img got created.

My OP6 is on bootimg hdr v1 just like the Pixel 3, and the latest TWRP, Magisk and Franco Kernel and I don't have any of these cpio errors aside from the one time I mentioned above which a fresh boot.img flash fixed.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
I think I figured it out. Order of flash was issue. I was doing the following when getting the error.

Stock boot.img

TWRP

Kirisakura

Magisk

After doing this when I tried to flash a kirisakura update I would get the ramdisk error.

Changed my initial flash to the following below. After doing this I can flash a kirisakura update and get no error and Root is retained.

Stock boot.img

TWRP

Magisk

Kirisakura
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] jcrompton:
Well crap

For sure flashing the stock boot image via installed twrp doesn't work ... I ended up with the corrupt device error and had to Dollar factory image

So could you please tell me exactly how are you flashing the stock boot image in your above steps?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
I didn´t want to blame your app or talk bad about it. sorry if it came across that way.

The issue hasn´t happened to me either and I cannot seem to reproduce it at all. That´s why I tried to eliminate one variable by starting with a clean boot.img and see if it still happens in TWRP or FKM that face the issue.

that´s the error I also took a look at and didn´t know what the cause could be.

Thanks for chiming in again and the insight! It´s greatly appreciated.

If you don´t run any mods that mess with ZRAM or Virtual RAM then these are the new default google values since December update. I don´t change the ZRAM size or the swappiness in my kernel.

Maybe that´s part of their new improved multitasking. I also thought about simply increasing ZRAM last month but I´m not a too big fan of that. Let´s see how it works out though :)
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
Select the option to flash an image instead of a zip. Choose the stock boot.img and flash it to the boot partition.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] osm0sis:
Crazy thing is that still shouldn't matter. You should be able to flash in any order. :confused:
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] elreydenj:
Well I will report back on the next update. However that was the first time in a couple weeks I could flash a custom kernel without getting the ramdisk error unless I flashed stock boot.img first.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] bbender716:
For what it's worth I had this issue a couple releases back but was fixed entirely when I switched to flashing the kernel after magisk and if there was a root preservation issue, I had to flash stock, reboot, flash twrp, reboot, flash kernel, reboot, flash magisk and that would work.
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] MeetFace:
Rebooting recovery or system?
[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] old_fart:
.

Must reboot back into recovery after installing recover ( a.k.a twrp.zip ) . . . I believe that's been a hard rule for quite a while . . .

fwiw.

I have used mr. flar2's kernel manager and successfully flashed the last three updates. . sweet.