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 0ef6bd9d5d examples/demo: Use eval-with-configuration.nix
In addition, drop `android-burn-tool`. It hasn't been used for while, as
in the end it is not actually needed.
2021-02-23 20:17:19 -05:00
..
xdg examples/demo: Notifications should not be focusable 2019-12-05 23:51:07 -05:00
configuration.nix Make the package set a parameter instead of using <nixpkgs> everywhere. 2021-02-02 01:58:41 -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.