gbOS86

Updating

Updating an installed laptop to a newer gbOS86

  1. Write the newer image to a stick (or replace the files on your existing one).
  2. Boot the stick, choose 2. When it finds an installation it offers 1) Update and 2) Reinstall.
  3. Choose 1. It saves the installed system's last three boots of logs to the stick, copies the new files and kernel to the laptop, verifies each one with sha256, and tells you to remove the stick. Apps, accounts and data are untouched.

Update copies the system images, scripts, patched libraries, firmware, kernel modules, audio configs, installer tools and the kernel itself, but not your MODE setting.

Moving to a newer Google build

Android's built-in updater cannot work: it expects Google's own A/B partitions and kernel. A newer Googlebook OS build is a manual process:

  1. tools/check_new_build.sh says whether a newer build exists; put it in lapis/BUILD and run ./build.sh to fetch it and rebuild super.img.
  2. tools/port_build.sh --isa re-applies every binary patch (libz, libcrypto, the software KeyMint library, the VINTF manifest) to the new files, checks the paths and lines the boot scripts rely on (renamed vendor files that would stop being hidden are reported) and scans for CPU instructions the emulator does not cover (AVX-512, AMX and similar). --write stores the result once it reports no failures.
  3. Copy to the stick and run 1 (Update). PATCH-STATUS N applied, 0 not applied in stage0-dmesg.txt confirms the patches bound. Data carries over; going back to an older build requires wiping data.

The full procedure is porting.md in the repository.

Something wrong or missing? Tell us or ask in the forum.