Updating
Updating an installed laptop to a newer gbOS86
- Write the newer image to a stick (or replace the files on your existing one).
- Boot the stick, choose 2. When it finds an installation it offers 1) Update and 2) Reinstall.
- 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:
tools/check_new_build.shsays whether a newer build exists; put it inlapis/BUILDand run./build.shto fetch it and rebuildsuper.img.tools/port_build.sh --isare-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).--writestores the result once it reports no failures.- Copy to the stick and run 1 (Update).
PATCH-STATUS N applied, 0 not appliedinstage0-dmesg.txtconfirms the patches bound. Data carries over; going back to an older build requires wiping data.
The full procedure is porting.md in the repository.