Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • M Mobian Issues
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 151
    • Issues 151
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Insights
    • Issue
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Mobian
  • Mobian Issues
  • Issues
  • #419
Closed
Open
Created Mar 04, 2022 by Madwonk@BenMueller

There is no clear way to customize abootimg (Android device) boot commands

Describe your issue

It is not currently documented on the wiki or elsewhere how to customize kernel boot options on Android first devices which do not use u-boot. This is relevant because some packages (waydroid) require modifying kernel boot parameters.

Specific area or package affected

Kernel, abootimg

How reproducible is the bug?

All android-first devices

What device are you using?

Oneplus 6, Pinephone (does not exhibit this issue)

How did you get your Mobian Image?

Default weekly build

Solutions you have tried

Checking the wiki and searching through the source to see how abootimg is deploying updates. Assuming I'm reading the scripts properly, it currently appears the script merely reads the currently running parameters and injects them into the new image (lines 14-19 here).

Additional Information

Arguably this isn't a bug, but I think it should be considered as such because currently Android devices don't have feature parity without Waydroid and the ability to easily configure boot parameters, which is a huge oversight relative to the ease of u-boot devices. A short-term solution for Waydroid would be to add the necessary parameter ("psi=1") but a better long-term solution (say, a "/etc/default/abootimg" config file or similar) is probably ideal.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking