Skip to content

BasedOS 0.0.1 pre-release 4 (stock in place)

Pre-release
Pre-release

Choose a tag to compare

@theycallmeboxy theycallmeboxy released this 20 Nov 23:11
· 47 commits to main since this release

Pre-release for testing, round 4: a new, simpler design. Not tested on a unit yet: expect breakage.

Changes since pre.3:

  • BasedOS runs on stock's own files, in place. It's installed next to stock on the built-in storage, boots stock's kernel and device trees, and mounts stock's SYSTEM read-only at /stock, linking to the stock files it uses (GPU drivers, firmware, kernel modules). Nothing of stock's is copied. Each release is made for one stock build and checks it at every boot; with any other stock, stock starts instead.
  • No SD-card install any more. Setup has two choices: install BasedOS, or make a recovery card.
  • Recovery card: tap A, B, X, Y in order to restore; tap power to power off. The restore never rewrites the bootloader (it's what starts the card). Recovery cards made with earlier pre-releases need making again.
  • Setup has colours, states its requirements first, and checks stock's build and files before anything else.
  • Every card needs the device's own bootloader to start: the chip never starts one from an SD card (tested). A lost bootloader needs maskrom and a PC (docs/recovery.md).

For the GKD 350H Ultra on stock ROCKNIX 20260613 (build c8ed06c). From a PC, in one go (press Enter at the password prompt: stock's root has none):

Windows (PowerShell):

ssh -t root@<device> "U=https://github.com/theycallmeboxy/BasedOS/releases/download/v0.0.1-pre.4/basedos-setup.sh; (curl -fsSL -o /tmp/basedos-setup.sh `$U || wget -O /tmp/basedos-setup.sh `$U) && sh /tmp/basedos-setup.sh"

macOS and Linux:

ssh -t root@<device> 'U=https://github.com/theycallmeboxy/BasedOS/releases/download/v0.0.1-pre.4/basedos-setup.sh; (curl -fsSL -o /tmp/basedos-setup.sh "$U" || wget -O /tmp/basedos-setup.sh "$U") && sh /tmp/basedos-setup.sh'

Files

File What
basedos-setup.sh the setup script (this release's tag written in)
release.info what setup checks first: this build, and the stock build and stock files it's made for
rootfs.squashfs BasedOS's system layer
initrd.uimg, boot.scr BasedOS's initrd and boot script
recovery-initrd.uimg, recovery.scr the recovery card's initrd and boot script
SHA256SUMS the above
basedos-v0.0.1-pre.4-sources.tar the sources of the GPL and LGPL parts: Buildroot's legal-info (every userland package's source, patches, licences), BusyBox (Alpine's build), bash

Nothing of the stock firmware is in this release: BasedOS uses each device's own stock files in place. See NOTICE.md.