1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 11:03:37 +03:00
mobile-nixos/examples/demo
Samuel Dionne-Riel 4e326d16f4 examples/demo: Fix rootfs eval
This was a late change, which *should* have been eval'd before hitting
merge :(.
2021-02-23 21:16:29 -05:00
..
xdg examples/demo: Notifications should not be focusable 2019-12-05 23:51:07 -05:00
configuration.nix examples/demo: Fix rootfs eval 2021-02-23 21:16:29 -05: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.