Skip to content
Snippets Groups Projects

Support automatic kernel updates on Android devices

Merged Caleb Connolly requested to merge sdm845-mainline/pmaports:android-update-kernel into master

Depends on !2214 (merged).

This MR adds all the bits needed for automatic kernel updates for Android devices! It also enables that functionality on the OnePlus 6 and 6T.

I've added a new deviceinfo variable: deviceinfo_flash_kernel_on_update, the kernel will not be flashed unless this variable is set. There is also a new function in mkinitfs_functions to run pmos-update-kernel if it is installed. It's not installed automatically and should instead be depended on in the device APKBUILD.

Edited by Caleb Connolly

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Caleb Connolly added 3 commits

    added 3 commits

    • 99751960 - device-oneplus-enchilada: flash the kernel automatically
    • 6681f170 - device-oneplus-fajita: flash the kernel automatically
    • 6f241fb1 - CI: make sure devices that support kernel updates install the script

    Compare with previous version

  • Caleb Connolly added 10 commits

    added 10 commits

    • 6f241fb1...5e562fdb - 6 commits from branch postmarketOS:master
    • b5e9f990 - postmarketos-mkinitfs: flash new boot image
    • 28b2a014 - device-oneplus-enchilada: flash the kernel automatically
    • b92270c1 - device-oneplus-fajita: flash the kernel automatically
    • 9d5d094b - CI: make sure devices that support kernel updates install the script

    Compare with previous version

  • Caleb Connolly resolved all threads

    resolved all threads

  • Oliver Smith
  • Thanks for the patches @calebccff, this is a great enhanchement :smiley:

  • Caleb Connolly resolved all threads

    resolved all threads

  • Caleb Connolly added 6 commits

    added 6 commits

    • bf6ad7a7 - 1 commit from branch postmarketOS:master
    • d1d0fe9f - postmarketos-mkinitfs: use variable for bootimg
    • f58c3924 - postmarketos-mkinitfs: flash new boot image
    • c0ce141c - device-oneplus-enchilada: flash the kernel automatically
    • 10164ec8 - device-oneplus-fajita: flash the kernel automatically
    • 299781f6 - CI: make sure devices that support kernel updates install the script

    Compare with previous version

  • Caleb Connolly added 1 commit

    added 1 commit

    • 39e014b0 - CI: make sure devices that support kernel updates install the script

    Compare with previous version

  • Martijn Braam approved this merge request

    approved this merge request

  • Martijn Braam unapproved this merge request

    unapproved this merge request

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading