yashsingh1/xdaforums huggingface dataset:
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] sysak:
False alarm. I flashed stock boot.img and it kept doing the same thing as on MVK so i realised the issue was with my system not with the kernel itself.

I sideloaded the ota binary from recovery, the system started booting, so I flashed mvk again and now it all works.

Before I was on public betas 1-3 and went from android 10 through all of them and onto the final release using the updater in the settings menu so i guess a little refresh was needed.

Thanks very much for your hard work :)
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Yeah, I had to clean flash 11 for the same reasons. Glad it's working now.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] Dopamin3:
Just flashed v10.28 on the latest build of AOSiP. Running great, nice and snappy with no issues. Thank you [MENTION=4110652]ctfrommn[/MENTION] and I remember running your ROM back when I had my shamu :)
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Wow, really surprised it works over AOSiP but thanks.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] Gytole:
So I can boot the kernel but I cannot FLASH the kernel? Any idea hat I am to do? IT fails to flash.

Windows 10 Pro
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
Mine just causes bootloop... Even after a clean install with factory format.... In fairness the same happens when i try and patch the boot.img from sept with magisk. So right now totally screwed as need root to restore my files
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] alin919:
Installed over the weekend , running very good no reboots so far.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
What is the exact process you're using?
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Explain your exact process. How did you get to Android 11? How are you attempting to flash this and what build are you trying to flash?

This absolutely works over stock Android 11 if you clean flash the factory image.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
I tried a few ways... First i tried to fastboot it to my then current Android 11 which was done via ota. Then i read your earlier posts about needing a clean install so i download the full image and ran the flash-all bat file leaving in the -w parameter so it would completely wipe. I then let it boot into the new Android 11 and completed the setup steps. Booted back to bootloader and fastbooted your latest, i believe was 10.28, am not at my computer to verify atm, it booted to the Google logo and then back to bootloader screen. Yes i guess i mispoke when i called it a bootloop. It did this exact thing in both setups. Not having any luck with patching a boot image for root either, exact same thing happens.

Almost forgot if i fastboot back the standard kernel in each instance the system boots properly.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] Gytole:
It's my girly's phone, but she has been on STOCK since the phone came out NO betas or nothing BUT bootloader unlocked. She got the 11 update yesterday and I was just trying to check out your kernel! But! I use Powershell and I ran the boot mvk.img and it booted right up, and then rebooted to fastboot and when I run the flash of the same file it says "failed to flash" or what not. I was just surprised it would boot but not flash? But if a CLEAN flash is the option, i'm guessing a factory reset? That's a HUGE ordeal as she needs her phone andddd i'll just have to pass on the kernel. But if I am just being stupid and just need to flash a full factory WITHOUT wiping then I am GAME. haha I have the Oneplus 6T, so a little different flashing process but one in the same.

But I appreciate the help and guidance!
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
Sounds like your fastboot and adb files might be too old. Make sure your running current versions
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v10.28 was ONLY for Android 10. You need v11.0

My version numbers will always represent the Android version theyre for.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Sometimes fastboot needs the exact slot name to work right, no idea why. Try fastboot flash boot_a (or _b depending on the current slot) and see how that does.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
Ok my mistake 10.28 had a September date and i didnt see any version 11 using the download link in op. Not in patched or unpatched.

I didn't follow the thead for every message, thus didn't see the new link you posted a few pages back.

Again my mistake.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Nothing to apologize for.......and thanks for the reminder to change the download link in the OP :)
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
Finally got time to load the correct version of this and it works but had 2 issues:

The rooted version didn't give me root. This was resolved by patching the file in the same way you would patch the stock boot.img for root.

The second issue I have been unable to resolve. Once loaded up.... If I try and go back to a stock boot image using fastboot on the original boot.img file it will cause a boot loop. The only way to recover from the boot loop is to fastboot your kennel back. Ex kennel will also cause a boot loop if installed after yours.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
No idea on either issue. The boot.img is built using stock AOSP code. Was this on a clean, unchanged flash of stock 11?

I just tried both booting the stock kernel over MVK and it worked perfectly. Flashing the rooted kernel also works perfectly and provides root.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
No idea either why my results are different. Perhaps a different version of magisk on my system?

Magisk version: e660bf3 (20425)

Manager version: 2eb00187 (299)
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
I'm running the same.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v11.1 is up. A bunch of optimizations got added back so this build performs better than previous. I must have removed these at some point a while ago when I was simplifying things and testing and apparently never readded them.

As a reminder, ALL v11x builds are ONLY for Android 11. Android 10 development is closed.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v11.2 is here and brings with it another round of optimizations and improved efficiency. This one is better performing and has better battery life than the previous build.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
I don't see any files
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Here as usual.....

https://androidfilehost.com/?w=files&flid=317044
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
No idea what happened, hit the link from op and it showed no files.... Everything fine now... Very strange
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
December update was fairly significant so I decided to take this opportunity to start completely over. It may be early next week before Im done, but well see. Good progress is being made.

If anyone wants to help and/or just flash some builds hit me up
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v11.3 is up and as stated above, this is a complete rebuild from stock December source. Im pretty happy with the results. Only what added tangible value was kept.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
Does this new kennel support lzma? Looking to see if I can get twrp working and that's a requirement
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Yes
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
Awesome....

I am away from a computer till after the holidays would you be able to run a quick test for me?

Fastboot boot twrp image and see if twrp can see the data partition correctly... My tests showed it as zero size and also check if you can install anything from twrp, again in my tests I could only install on top of the recovery partition.

All my tests were with a kennel that did not have lzma

If this works you could likely bake twrp into your kennel rather easily and make a lot of people very happy
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Which TWRP? I havent messed with that in months, at least.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
Well I was trying with the latest version. Running the twrp img file via fastboot boot command and then also installing the twrp installer as a magisk module then before rebooting reinstalling magisk via direct method. On stock and ex kernel both methods failed. The boot method failed to boot and the magisk module overwrote the recovery partition so it only contained twrp and world no longer boot. And then twrp still couldn't install anything and saw data partition as zero space. So completely unusable in both setups.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Has something changed recently with TWRP that we believe it will work now? As far as I know it's never worked on these phones since Android 10.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
You are correct... It hasn't... But if you read the details in twrp under our phone it states it REQUIRES a kernel that supports lzma... The 2 kernels I tested were stock and ex kernel. I don't believe either of these have lzma. In fact I am not sure there are any kernels other then your door bonito that so have lzma. I also don't know if it would need to be enabled. It probably won't work but if no one ever tested with an lzma enabled kernel..... Well was just a thought
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Every kernel I've ever made for this has supported that and TWRP has never worked. This will take something on their end to fix it.

Pretty sure most bonito kernels also support lzma ramdisk.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v11.4 is up. No major changes, just normal updates.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v11.5 up. There were no kernel changes for February ASB so the only changes were the normal Linux and clang updates as well as a "fix" for F2FS deadlock with Magisk.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
Locked and loaded.....

Everything works fine
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] jimmy_23:
Hi i'm on bliss Rom v.14 i tried latest velocity kernel patched with magisk. Performance very good and stable but i can't open camera.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Not surprising. This isn't for custom roms.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v11.6 is up. This was as rebase vs a simple merge as the March ASB had a lot of changes on the kernel side. I havent tested this on anything but the March build so not sure if it will work on Feb or earlier.

Also, just as a reminder, this kernel is built for and from stock AOSP source and as such is likely not compatible with any build(s) apart from stock.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
Been running your kennel a while now but this latest version seems much worse on battery. Feb I could get roughly 3 days with about 4 hours sot. Match build am getting less then 2 days and about 2 1/2 hours sot.

Could be something changed on goggle side but thought I would ask here as well.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Nope....Im actually getting better battery on March build. Like 10-11 SOT and a little over a day. Or, 2+ full days and ~8-9 SOT depending on my use
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] kobos311:
Just curious, I haven't developed or modded system UIs since the nexus 6P obviously I know there are alot of differences since then. I just got a steal on a 3a xl.. Anyway, my question is will I still be able to do system ui tweaks and so forth running your kernel patched with magisk? This has never been a concern in the past but just wanted to make sure before I start creating magisk modules, don't want to mess up the boot...thanks, looked over your, kernel looking forward to trying it when my pixel arrives in a couple days.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
No idea. Never messed with anything like that outside of building Roms. It will either work on the Pixel or not, what kernel youre using shouldnt matter either way.

I will say, Nexii and Pixels are very different animals.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] kobos311:
Haha yeah if nothing is being messed with but the kernel... But hey I've seen them edit system ui to add their own little kernel settings in the system... Which id break some how, just being cautious glad u only do kernel updates and not the fru fru stuff 👍
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
Just an fyi... This seems to work just fine on los 18.1
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Camera works? That seems to be what is most often broken on custom roms.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
Took a picture and it went to google photos just as expected. Anything else you want me to test for you?
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
No, thanks though.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v11.7 is up. No kernel changes from Android this month but the normal Linux and Clang updates are present. Plus, Wireguard added back.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
Ran into an issue today... was using the march version 1.16 rooted. Magisk said it had an update and I allowed it up update both manager and then magisk itself. After the magisk it continuously bootlooped. Magisk is obviously doing something unexpected to the kernel as a simple fastboot flash boot back to 1.16 resolved the issue. I havent got the message to upgrade again since and likely wont even update to 1.17 as it will likely react the same as you said there were no actual security fixes or updates in it.

Did you make any changes to magisk in 1.17 by chance?
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ssurell:
ElementalX-P3a-1.06.zip has lzma support also. And I think twrp 3.3.1-1 is the only version that is compressed small enough to fit the Android 9 recovery partition. I'm going to try OTA update from 9 to 11 and see. I don't know if the recovery partition was shrunk more after 10, or just gone. But I'm hoping like you, that this kernel will get us there.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
I also updated Magisk in the same manner and had zero issues doing so. Magisk and kernel code are pretty mutually exclusive. Its very rare any kernel dev would add a Magisk specific commit to their kernel. I believe youve stated youre not using a stock Rom either which is far more likely the issue here.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Kernels arent the reason TWRP doesnt work on Android 10+ on newer Pixels.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] Gytole:
My girlfriend upgraded to the S21 ultra, so I acquired her 3a XL and was FINALLY able to play with it and got this kernel installed. Instantly a better experience. Not that it was BAD! But this kernel os really fantastic! Awesome job!
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Anyone interested in helping test, please PM me.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] Gytole:
Kernel works on the latest May update. I fastboot erased both boot slots and flashed both boot slots and have not a single problem!
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] adm1jtg:
Is it officially posted as i don't see it.. or were you testing it for him
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] Gytole:
Not officially posted, but I have tested both and not a problem.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v11.8 is up. Normal additions plus Android S kernel source merge.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] :
1
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] Gytole:
Awesome awesome!
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v11.9 is up....normal changes and updates
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v11.10 is up.....no kernel changes in the July ASB but normal MVK updates and improvements
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] Dratini:
Do we PM for your velocity rom? I'm using on LineageOS 18.1, camera crashes sometimes but not always, doesn't always boot unless charging, has a booting issue with sound I think from the log (snd 660 on boot) and it's pretty good when it's running. Seems to break fullscreening magisk mod but I'm still using it, thanks so much ctfrommn!
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
No Rom available for Pixels unfortunately. This kernel is designed for and tested on stock only.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] stenmats23:
can i lock the bootloader when using the kernel MVK. Thanks
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
You can't flash anything with a locked bootloader.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] stenmats23:
I flashed the MVK bootloader, now I want to lock it, is there any error.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
I'm pretty sure locking or unlocking the bootloader wipes everything.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] stenmats23:
I have no important data. I'm just worried about the device getting bricked
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
No idea, in all my years of android development I've never even thought of relocking the bootloader so I've never tried it.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] 41rw4lk:
Generally a bad idea to lock the bootloader once you've flashed custom anything. Not to mention, if anything goes wrong you won't be able to fix it because you've locked the bootloader.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] oiphal:
Out of curiosity, if I wanted to compile those with a newer version of zstd for the zram kernel module, how difficult would that be? I have a Linux box and know how to compile in general. I found the library location, do I need to do anything other than put zstd 1.5.0's library in there?

(I'm a developer but not of androids and have been messing with zstd for work. The newer versions have some pretty impressive performance improvements, as the author seems to have moved focus from lzma entirely to zstd. Lzma seems to just be yearly bug fixes while zstd has had performance improvements every coupe of months)?
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
No idea TBH.....Ive never heard of zstd or whether you can use it on an Android kernel. That would probably be a good question i nthe developer section.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v11.11 is up.....normal changes
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Just an FYI to all.....I am most likely getting the 5a when its available and will be moving on from the 3a XL and as such no longer developing for it.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v11.12 is up.....no ASB changes this month but all normal updates plus a few other changes
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] AyHenry:
Will this kernel work on Android 12 beta 5?
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Highly doubt it.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v11.13 is up......no AOSP kernel changes but a TON of additions on my side. This is significantly better performing now as well as improved battery life.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v11.13.1 up....better performing build. This is a revert of a bunch of commits from v11.13.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] alin919:
Is working good
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Android 12 build coming soon.....tomorrow most likely.

Edit: I ran into some issues with the update I need to sort out so it will be a bit longer. I hope I dont have to start completely over.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] hendusoone:
I appreciate all the work you've done building this kernel and keeping it up to date. Thank you!
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Here is a link to test builds....I won't announce when new ones are in here so you'll just have to check periodically.

Test builds - Google Drive

drive.google.com
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Were up to test build 6 now and this is probably a mature, release ready build at this point. Ive had zero issues with any of these builds but have just been adding things back. I will probably release v12.1 official in the next few days but I wouldnt hesitate to recommend using test 6 as a daily driver.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] thatsupnow:
Hey man is there any chance you might make your way over to the pixel 5 area?? Definitely would enjoy to have your kernel again
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
I don't build for what I don't own anymore unfortunately. It's just too much work anymore.

That said, I plan to get a 5a so if it's similar enough I might.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v12.1 is finally done and up. This is intended for Android 12 only. This is a complete rebase from clean Android 12 source. As such, some things are new, some things are changed, & some old things are gone but in the end this still follows the MVK principles of maximum performance while maintaining better than stock battery life and complete stability.

Happy flashing!
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] john091:
work on both Oct & Nov factory image ?
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
As long as its Android 12, yes.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
v12.2 is up. This is another massive rework including updated, simplified optimizations, removal of tons of commits that werent helpful (or were harmful) to performance, and many other changes. This performs significantly better and battery life (especially idle drain) is also much better.

Side note.....due to temporary circumstances I will be sticking with the 3a XL for now and will look at updating next year at some point so this kernel will be full steam ahead for now.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] quan2812:
Thank you for your hard work! I think after install your kernel the phone charge faster but hotter. That is the first thing I notice. I will report more after a few days.

Update: The kernel is better than stock.
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] ctfrommn:
Thanks, though I wouldn't be much of a developer if I couldn't make something better than stock 😉
[Google Pixel 3a XL ROMs, Kernels, Recoveries, & Ot] reloxiw959:
I knwo that this might be a stupid question and I am sorry in advance if I have no idea what I am talking about... I am not a developer just a guy who likes roms.

I've found that some threads say that they are "kernels" and others say they are "roms". I guess that the rom is the android part of the software and the kernel is what helps communicate between hardware and software (if I am not wrong).

If I install this kernel would I be able to use any rom with better performance or just the rom that this kernel was made for? (for example, this kernel with lineageos or any other os)

Also, when I install a rom would that update the kernel? (for example, updating from android 11 to 12)

Is it worth it to update only the kernel?

Sorry if I am asking stupid questions.