|
|
(5 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| === Stubs for contrib
| | {{Owns device|Samsung_Galaxy_S4_Mini_Value_Edition_(samsung-serranove)|Mint condition including the original box and flip case, projected to be used as a part of every day carry emergency kit and subject to NixOS contribution}} |
| | | {{Owns device|OLIMEX_Teres_i|Daily Driver}} |
| ```
| | {{Owns device|Xiaomi_Mi_8_(SDM845)|Ursa in Mint Condition, used for developing NixOS compatibility}} |
| kreyren@dreamon:~$ pmbootstrap flasher -h
| | {{Owns device|Nokia_N900_(nokia-n900)|Got two Rescues from an e-recycler fixed into near-mint condition from a very damaged state, second pending repairs and subject to OSS PCB engineering}} |
| usage: pmbootstrap flasher [-h] [--method FLASH_METHOD]
| |
| {boot,flash_kernel,flash_rootfs,flash_system,sideload,list_flavors,list_devices}
| |
| ...
| |
| | |
| positional arguments:
| |
| {boot,flash_kernel,flash_rootfs,flash_system,sideload,list_flavors,list_devices}
| |
| boot boot a kernel once
| |
| flash_kernel flash a kernel
| |
| flash_rootfs (flash_system)
| |
| flash the rootfs to a partition on the
| |
| device (partition layout does not get
| |
| changed)
| |
| sideload sideload recovery zip
| |
| list_flavors list installed kernel flavors inside the
| |
| device rootfs chroot on this computer
| |
| list_devices show connected devices
| |
| | |
| optional arguments:
| |
| -h, --help show this help message and exit
| |
| --method FLASH_METHOD
| |
| override flash method
| |
| ```
| |
| | |
| What the fuck is FLASH_METHOD? Why is it not referenced anywhere?
| |
| | |
| | |
| ```
| |
| kreyren@dreamon:~$ pmbootstrap install -h
| |
| usage: pmbootstrap install [-h]
| |
| [--sdcard SDCARD | --split | --no-split | --android-recovery-zip]
| |
| [--rsync] [--cipher CIPHER]
| |
| [--iter-time ITER_TIME] [--add ADD]
| |
| [--fde] [--flavor FLAVOR]
| |
| [--recovery-install-partition RECOVERY_INSTALL_PARTITION]
| |
| [--recovery-no-kernel] [--no-base]
| |
| [--sparse | --no-sparse]
| |
| | |
| optional arguments:
| |
| -h, --help show this help message and exit
| |
| --sdcard SDCARD path to the sdcard device, eg.
| |
| /dev/mmcblk0
| |
| --split install the boot and root partition in
| |
| separated image files (default: only if
| |
| flash method requires it)
| |
| --no-split create combined boot + root image even if
| |
| flash method requires it
| |
| --android-recovery-zip
| |
| generate TWRP flashable zip
| |
| --rsync update the sdcard using rsync, does not
| |
| work with --fde
| |
| --cipher CIPHER cryptsetup cipher used to encrypt the
| |
| rootfs, eg. aes-xts-plain64
| |
| --iter-time ITER_TIME
| |
| cryptsetup iteration time (in
| |
| milliseconds) to use when encrypting the
| |
| system partition
| |
| --add ADD comma separated list of packages to be
| |
| added to the rootfs (e.g. 'vim,gcc')
| |
| --fde use full disk encryption
| |
| --flavor FLAVOR Specify kernel flavor to include in
| |
| recovery flashable zip
| |
| --recovery-install-partition RECOVERY_INSTALL_PARTITION
| |
| partition to flash from recovery, eg.
| |
| external_sd
| |
| --recovery-no-kernel do not overwrite the existing kernel
| |
| --no-base do not install postmarketos-base
| |
| (advanced)
| |
| --sparse generate sparse image file (even if
| |
| unsupported by device)
| |
| --no-sparse do not generate sparse image file (even
| |
| if supported by device)
| |
| ```
| |
| | |
| What the fuck is FLAVOR and why is it not referenced anywhere
| |