1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 19:23:01 +03:00
mobile-nixos/examples/demo
Samuel Dionne-Riel 64e8cfb3b5 profiles/installer.nix: Remove
This was never really used properly.
2021-04-30 17:59:35 -04:00
..
xdg examples/demo: Fix wallpaper in modesetting 2021-04-29 23:28:55 -04:00
configuration.nix profiles/installer.nix: Remove 2021-04-30 17:59:35 -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.