1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-16 11:43:21 +03:00
mobile-nixos/examples/demo
Samuel Dionne-Riel e3d8e4a384 examples/demo: Fix wallpaper in modesetting
This is because the wallpaper is set per-display, without falling back
to a general more configurable path before their built-in fallback.
2021-04-29 23:28:55 -04:00
..
xdg examples/demo: Fix wallpaper in modesetting 2021-04-29 23:28:55 -04:00
configuration.nix examples/demo: Prefer modesetting first 2021-04-29 23:28:55 -04:00
default.nix examples/demo: Use eval-with-configuration.nix 2021-02-23 20:17:19 -05:00
README.md examples/demo: Use eval-with-configuration.nix 2021-02-23 20:17:19 -05:00

Warning

: This is not usable as a daily driver.

This system is meant as something that is usable (barely) on mobile devices, while waiting for a more proper phone environment to be packaged.

Building

The stage-2 needs to be built natively on the target architecture (armv7 on armv7, aarch64 on aarch64).

(Though the tooling will try to build it through cross-compilation!)

Burning

This will differ depending on the device.

A common issue with android-based devices is the system partition being too small. To work around this issue, flash to userdata.

Booting

The boot.img image can be fastboot flash'd into the boot partition, or it can be fastboot booted.

The boot.img boot image is expecting to find the system partition using its label.

It should also be possible to do this entirely statelessly by burning to an SD card, and using fastboot boot.