mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-15 19:23:01 +03:00
system-types/android: Add odin-specific device-notes fragment
This commit is contained in:
parent
7381c783a7
commit
62d00f17fc
24
modules/system-types/android/device-notes.odin.adoc.erb
Normal file
24
modules/system-types/android/device-notes.odin.adoc.erb
Normal file
@ -0,0 +1,24 @@
|
||||
== Building
|
||||
|
||||
This will build the default output for your _<%= info["fullName"] %>_.
|
||||
|
||||
$ nix-build --argstr device <%= info["identifier"] %> -A build.default
|
||||
|
||||
== Installation
|
||||
|
||||
The device will need to be booted in its bootloader, or *odin*, mode.
|
||||
|
||||
The boot image can be installed using the following command, assuming it was
|
||||
built using the previous command.
|
||||
|
||||
$ result/flash-critical.sh
|
||||
|
||||
If you have a system image (`system.img`) built, you can use `heimdall` to
|
||||
flash it to the device. Note that it might be too big to fit over the `SYSTEM`
|
||||
partition. In such case, it can be flashed on the `USERDATA` partition.
|
||||
|
||||
WARNING: *This will erase everything on the partition*. Additionally, the
|
||||
common backups methods, e.g. TWRP, will *not* backup the `USERDATA` partition.
|
||||
|
||||
$ heimdall flash --USERDATA system.img
|
||||
|
Loading…
Reference in New Issue
Block a user