• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Development [Proof of Concept][5.15] Mainline for Pixel 6/Pro

Search This thread

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
5,297
17,173
Hello everyone,

To keep it short: Some of you may have noticed. Google uploaded a mainline 5.15 branch for the Pixel 6 Pro.

Here´s a build for those that dare trying or simply want to run a mainline kernel on their phone.

I don´t plan to update this much outside of the scope that googles does and what I already did. It´s more of a proof of concept and I think there are at least some that would be eager to try.
I was able to daily drive it two days without a single crash, due to disablng WiFi Calling and by not using my USB C buds, but rather bluetooth buds.
However now I´m back to 5.10 as it´s really just a piece of concept. Essentially mainline GKI kernel with downstream android driver changes. Some pieces that are in the 5.10 kernel that haven´t been brought to 5.15 yet, are missing.

Feel free to report bugs and I will add them to the list.
However if you have issues you have been warned :)

Features:
Main Features:
- Based on latest kernel sources from Google for 5.15

Bugs:
- powerhal broken due to several scheduler optimizations still missing , removed faulty hints when running powerhint mainline module
- vibration, fixed when running powerhint_mainline module
- USB-C devices crash the device upon connection usb c hub now works, connect mouse to usb c hub works too
- USB-C headphones do not output sound
- USB-C to 3.5mm adapter is not working
- having wifi calling/vowifi enabled makes a network driver crash the phone
- fast charging is not working correctly on my end
- probably many more I didn´t notice



DOWNLOAD:
Download is always located in this folder:

Changelog:
Android 12

Initial Release



Requirements

- unlocked Bootloader
- USB-Debugging in developer options enabled
- latest adb and fastboot binaries
- working adb and fastboot environment
- a device rooted with magisk
- vbmeta flashed with disabling verification and verity flags (check process how to root the phone here)


How to flash the Kernel:

1. Download the images provided in the downloads section to your PC.
2. Download the powerhint magisk module for mainline found in downloads section and flash it via Magisk Manager like any other magisk module.
3. Flash ALL the provided images using fastboot/bootloader and fastbootd (different to the regular Kirisakura Kernel)
4. Don´t forget to patch the boot.img with Magisk Manager prior to flashing it.
3. Magisk-patched boot.img, dtbo.img and vendor_boot.img need to be flashed in fastboot, while vendor_dlkm needs to be flashed via fastbootd

First boot to bootloader
, either via the option in Magisk Manager or via adb command:
Code:
adb reboot bootloader

Now in fastboot flash boot.img and dtbo.img

Commands:
Code:
fastboot flash dtbo dtbo.img
fastboot flash boot yourmagiskpatchedboot.img
fastboot flash vendor_boot vendor_boot.img

How to boot to fastbootd
Code:
fastboot reboot fastboot

Once in fastbootd:
Code:
fastboot flash vendor_dlkm vendor_dlkm.img

4. Reboot either via buttons
or by typing
Code:
fastboot reboot
5. Profit!


@osm0sis for all his work on AK3.
@tbalden for being the best HTC, Pixel, OnePlus and Asus wingman!
@LeeDroid and @mwilky for their awesome roms and work I used on multiple devices!
@Captain_Throwback for all the mentoring and guidance!
@Eliminater74 for bringing me into the game and the Inspiration
@nathanchance for his upstream guidance and assistance
@RenderBroken for helping me out
@flar2 for all his work
@joshuous for all the help he provided to me in the past!
@arter97 for giving me advice
@kdrag0n for his help and advices!
@topjohnwu for magisk and his entire work!
google for all the work on this


Source Code: https://github.com/freak07/Kirisakura_Raviole
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
5,297
17,173
mine too
Screenshot_20211120-205917.png
 

Krullendhaar

Senior Member
Oct 30, 2014
76
40
Does this mean it would be possible to run a linux operating system on the pixel 6 pro? For example, postmarketos, fedora or manjaro? Just like the pinephone?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    have you flashed the kernel? if so, what's your experience like.
    not yet, I prefer flash a zip kernel via EXKM, i am afraid of these commands:confused:
  • 17
    Hello everyone,

    To keep it short: Some of you may have noticed. Google uploaded a mainline 5.15 branch for the Pixel 6 Pro.

    Here´s a build for those that dare trying or simply want to run a mainline kernel on their phone.

    I don´t plan to update this much outside of the scope that googles does and what I already did. It´s more of a proof of concept and I think there are at least some that would be eager to try.
    I was able to daily drive it two days without a single crash, due to disablng WiFi Calling and by not using my USB C buds, but rather bluetooth buds.
    However now I´m back to 5.10 as it´s really just a piece of concept. Essentially mainline GKI kernel with downstream android driver changes. Some pieces that are in the 5.10 kernel that haven´t been brought to 5.15 yet, are missing.

    Feel free to report bugs and I will add them to the list.
    However if you have issues you have been warned :)

    Features:
    Main Features:
    - Based on latest kernel sources from Google for 5.15

    Bugs:
    - powerhal broken due to several scheduler optimizations still missing , removed faulty hints when running powerhint mainline module
    - vibration, fixed when running powerhint_mainline module
    - USB-C devices crash the device upon connection usb c hub now works, connect mouse to usb c hub works too
    - USB-C headphones do not output sound
    - USB-C to 3.5mm adapter is not working
    - having wifi calling/vowifi enabled makes a network driver crash the phone
    - fast charging is not working correctly on my end
    - probably many more I didn´t notice



    DOWNLOAD:
    Download is always located in this folder:

    Changelog:
    Android 12

    Initial Release



    Requirements

    - unlocked Bootloader
    - USB-Debugging in developer options enabled
    - latest adb and fastboot binaries
    - working adb and fastboot environment
    - a device rooted with magisk
    - vbmeta flashed with disabling verification and verity flags (check process how to root the phone here)


    How to flash the Kernel:

    1. Download the images provided in the downloads section to your PC.
    2. Download the powerhint magisk module for mainline found in downloads section and flash it via Magisk Manager like any other magisk module.
    3. Flash ALL the provided images using fastboot/bootloader and fastbootd (different to the regular Kirisakura Kernel)
    4. Don´t forget to patch the boot.img with Magisk Manager prior to flashing it.
    3. Magisk-patched boot.img, dtbo.img and vendor_boot.img need to be flashed in fastboot, while vendor_dlkm needs to be flashed via fastbootd

    First boot to bootloader
    , either via the option in Magisk Manager or via adb command:
    Code:
    adb reboot bootloader

    Now in fastboot flash boot.img and dtbo.img

    Commands:
    Code:
    fastboot flash dtbo dtbo.img
    fastboot flash boot yourmagiskpatchedboot.img
    fastboot flash vendor_boot vendor_boot.img

    How to boot to fastbootd
    Code:
    fastboot reboot fastboot

    Once in fastbootd:
    Code:
    fastboot flash vendor_dlkm vendor_dlkm.img

    4. Reboot either via buttons
    or by typing
    Code:
    fastboot reboot
    5. Profit!


    @osm0sis for all his work on AK3.
    @tbalden for being the best HTC, Pixel, OnePlus and Asus wingman!
    @LeeDroid and @mwilky for their awesome roms and work I used on multiple devices!
    @Captain_Throwback for all the mentoring and guidance!
    @Eliminater74 for bringing me into the game and the Inspiration
    @nathanchance for his upstream guidance and assistance
    @RenderBroken for helping me out
    @flar2 for all his work
    @joshuous for all the help he provided to me in the past!
    @arter97 for giving me advice
    @kdrag0n for his help and advices!
    @topjohnwu for magisk and his entire work!
    google for all the work on this


    Source Code: https://github.com/freak07/Kirisakura_Raviole
    4
    Did you notice any benefit performance/battery wise? I'll probably give it a try, thank you!
    probably both for the worse as several optimizations from google have not yet found their way to 5.15 from 5.10.
    3
    This should work on P6 also correct?
    Just read the title... (also Raviole = Raven + Oriole)
    2
    the belongs to me too.