Skip to content

BasedOS 0.0.1 pre-release 5 (backups by region, maskrom on the card)

Pre-release
Pre-release

Choose a tag to compare

@theycallmeboxy theycallmeboxy released this 21 Nov 00:09
· 46 commits to main since this release

Pre-release for testing, round 5. Not tested on a unit yet: expect breakage.

Changes since pre.4:

  • Backups by region: a recovery card's backup/ holds the partition table and the bootloader (raw images) and p1 and p2 (compressed, in pieces). End to end they're the whole built-in storage's main area, byte for byte. The recovery card restores the partition table, p1 and p2, never the bootloader.
  • Maskrom on the card: every recovery card has a maskrom/ folder with Rockchip's RK3576 USB loader (under Rockchip's rkbin licence, beside it) and the steps for RKDevTool and rkdeveloptool, with the device's own sector numbers. A lost bootloader is one file written at 0x40.
  • Recovery cards made with earlier pre-releases need making again.

As in pre.4: BasedOS runs next to stock on the built-in storage, on stock's own kernel, drivers and firmware in place (nothing of stock's is copied), checks the stock build at every boot, and setup has two choices: install BasedOS, or make a recovery card.

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.5/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.5/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
rk3576_usb_loader_ddr1.13_usbplug1.04.bin, LICENSE.rkbin.txt Rockchip's RK3576 maskrom USB loader and its licence (rkbin), for recovery cards
SHA256SUMS the above
basedos-v0.0.1-pre.5-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.