[KERNEL] [Android 12] [v12.9] MVK - Maximum Velocity Kernel

Search This thread

ctfrommn

Senior Member
May 25, 2011
7,341
10,709
Minnesota
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.
 

quan2812

New member
Mar 26, 2021
4
0
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.
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.
 
Last edited:

reloxiw959

New member
Sep 27, 2021
3
4
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.
 
  • Like
Reactions: KarinByChance

ctfrommn

Senior Member
May 25, 2011
7,341
10,709
Minnesota
"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"

Close enough understanding, yes

"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)"

Maybe, maybe not. This is created for and based on the stock Rom so I cant say how it will work on custom ones.

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

That will simply install the kernel built into the Rom. It overwrites any previous changes.

"Is it worth it to update only the kernel?"

Most definitely. I built Roms for years and can say that the kernel makes the biggest difference for performance, battery life, etc. Building a custom Rom for these devices is far more work than its worth, IMO, which is why I dont do it anymore.

"Sorry if I am asking stupid questions."

Those dont exist here ;)
 

oiphal

Member
Jun 19, 2012
38
7
I've been having quite a few issues with items closing in the background on 12.2 if I'm doing two things at once - for instance, podcasts while using maps has resulted in either crashing.

(Similar but not the same is swapping between two apps, even just home, seems to result in reloading of the app).

Is there a value I should tweak to fix this? Dirty background ratio maybe? I've tried turning off battery optimization for the apps and it helped but not 100%.

Android 12 has been a lot snappier than 11 was for me other than this.
 

fedett92

Senior Member
Sep 15, 2012
97
37
v12.3 is up. Nothing too special this month, just normal updates.
Dear sir, first of all thank you for your efforts and commitments over our Pixel 3a Xl!

I'm taking advantage of your time to ask you if you could explain further few things (the last knowledge I have in this "field" goes down the old Galaxy SII serie on which I enjoyed trying kernels and roms... Good old times! 😌)

First I would like to ask you if I can "try" the kernel in my stock A12 without triggering counters (I don't know if that's still a thing) and without rooting, it seems to me point 2 is what I'm looking for but here's the thing: from the stock fastboot I can't really find a "boot xxx.img", therefore I guess some kind of software (on win, possibly) should be used for this purpose?

Secondly, the "flash xxx.img" should be definitive as long as a new security patch pops out, in that case the stock kernel will take place... Is that correct? Same as before, I think this must be done through the same software ... ?

Bonus question: booting with your modded kernel will prevent some apps (like bank related) from working or everything will be same as stock, except your "magic extra touch"?
Thanks a lot for you time, amigo!
 
Last edited:

ctfrommn

Senior Member
May 25, 2011
7,341
10,709
Minnesota
No idea what a "counter" is. Maybe that was a Samsung thing, couldn't say as I've only owned Google phones. It's definitely not a thing on pixels.

Flashing a kernel on Windows is simple. Just use the terminal. You'll need to install ADB/Fastboot stuff but a simple Google search will get you that info. Don't install the huge version of them though, you don't need all that. There are very small options out there. It's been forever since I've done it though.

Not sure what your question about it being definitive is, but each month you will have to reflash the new build.

Only the Magisk version of the kernel will affect some apps, if you don't need root just flash the unrooted version and everything will work the same as stock. The exception to that will be anything that looks at whether the bootloader is unlocked. That you can't get around.
 
  • Like
Reactions: fedett92

fedett92

Senior Member
Sep 15, 2012
97
37
No idea what a "counter" is. Maybe that was a Samsung thing, couldn't say as I've only owned Google phones. It's definitely not a thing on pixels.

Flashing a kernel on Windows is simple. Just use the terminal. You'll need to install ADB/Fastboot stuff but a simple Google search will get you that info. Don't install the huge version of them though, you don't need all that. There are very small options out there. It's been forever since I've done it though.

Not sure what your question about it being definitive is, but each month you will have to reflash the new build.

Only the Magisk version of the kernel will affect some apps, if you don't need root just flash the unrooted version and everything will work the same as stock. The exception to that will be anything that looks at whether the bootloader is unlocked. That you can't get around.
Thanks a lot for your hints, some point are now clearer.
After some searches I found that unlocking the bootloader will trigger a factory reset... isn't it?
In the point 2 of your first post you mention the boot option, which means that the kernel will be usable until the next reboot... even in this case the phone will undergo factory reset?
Thank you again for you help.
 

flight243

Member
Oct 14, 2010
43
5
v12.4 up, normal updates
I've heard about your wonderful kernel and was wondering if the v12.4 can be flashed into a system with stock Android 10 (need to stick with this Android version for the moment) or I should go with the v10.28 you created back in 2020.

Since you're also sharing with us the magisk patched boot image I guess there's no need to go through the Magisk process, right?

Thanks so much in advance!
 

ctfrommn

Senior Member
May 25, 2011
7,341
10,709
Minnesota
I've heard about your wonderful kernel and was wondering if the v12.4 can be flashed into a system with stock Android 10 (need to stick with this Android version for the moment) or I should go with the v10.28 you created back in 2020.

Since you're also sharing with us the magisk patched boot image I guess there's no need to go through the Magisk process, right?

Thanks so much in advance!
No, this is built for Android 12. You would need to flash one built for 10.
 
  • Like
Reactions: flight243

ctfrommn

Senior Member
May 25, 2011
7,341
10,709
Minnesota
Looks like the May update is the last official for these phones....sad. I am back working on a new build and it will hopefully be out in the next week.

I started completely over and this will be a much more simplified build when done. A lot of the more experimental commits will be left behind this go round.

If anyone wants pre release builds let me know and I'll link them as I go.
 
  • Like
Reactions: Askael and BTK19

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    For those familiar with Velocity Rom this is the kernel I build for it. Velocity hasnt been on XDA as a rule so Im sure not many are familiar. Velocity is my personal Rom Ive been building for years and have shared with all that are interested. This isnt and will never be an "official development project" but will always exist as long as I continue to develop Android roms.

    Velocity is focused on speed, stability, and efficiency and not on adding every imaginable feature. As this is my personal Rom it will have everything I deem useful to me and/or that doesnt compromise the goals of the project.

    I dont add every conceivable governor, I/O scheduler, or other user tweakable options. In fact, I typically remove all the options and keep the best. This is designed as a plug and play kernel, not something to be changed. Its also not designed for other Roms.

    Please do not ask for features, ETA's, or related. Again, this is my personal kernel for my personal Rom and will be shared accordingly. That said, I do encourage healthy, friendly dialog in my threads.

    Flashing instructions
    1) Reboot to bootloader
    2) Fastboot boot 'bootimage_name'.img to make sure it boots with no issues
    3) Reboot to bootloader again
    4) Fastboot flash boot 'bootimage_name'.img
    5) Buckle up for safety - optional of course


    Changelog

    Download

    Source
    9
    v10.23 is up. This works on both March and April security. See changelog as usual for detailed changes.

    I hope everyone is staying safe during this time. Android development is awesome but during times like this it really puts into perspective how insignificant it is. My thoughts and prayers go out to anyone who has been affected by this outbreak. Whether physically, financially, or just struggling with the current new normal and isolation which is so tough for so many. We will triumph and it will be a triumph earned together as one global community.

    Be well, stay safe, and happy flashing!!
    8
    v10.10 is up.

    If anyone wants a non rooted boot.img I can definitely upload that as well. It seems many with this device have no interest in rooting it.
    8
    New day, new build. This one is definitely faster than previous ones.
    7
    Ok, so after updating to the s3 OTA and getting back on the stock kernel its making me rethink how I approached this. Im going to redo everything starting from fresh stock base. Im going to be extremely particular about what I add/change.

    The battery life on stock is at least as good as MVK and the cores seem much better behaved. As this is all new to me (64 bit kernel development) this isnt that unexpected, especially for any of you that know me. Im ever tinkering and perfecting everything I make. Expect v10.9 and beyond to be a much better product. This will likely take me a couple days to get an initial (again) build.

    I think simply backporting everything from upstream (even official Linux) isnt the best idea. There is a reason Google stopped at 4.9.165 and added select backports. Rest assured I will be backporting a ton of stuff but it wont just be blindly, assuming its better.

    Rom development is still a ways off for everyone it appears so for now all my focus will be on building the best kernel possible.

    More info to come.......