From 69450716fbc6dd7cf71d640aaf5364b2e0eef6ed Mon Sep 17 00:00:00 2001 From: timoxa0 Date: Sun, 23 Jun 2024 11:46:14 +0000 Subject: [PATCH] Add install guide --- README.md | 33 ++++++++++----------------------- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 915dc1d..2ebfb90 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,12 @@ # Linux on Nabu Tool -#### Go tool for installing linux on xiaomi pad 5 +### Go tool for installing linux on xiaomi pad 5 -#### Exit codes: -| Code | Description | -|:----:|:-----------------------------| -| 166 | Invalid RootFS image | -| 167 | RootFS image not found! | -| 168 | Invalid args | -| 169 | Failed to start adb server | -| 170 | Device not found | -| 171 | More then one device | -| 172 | Fastboot device timed out | -| 173 | Recovery device timed out | -| 174 | Incompatible partition table | -| 175 | Postinstall failed | -| 176 | Failed to patch boot image | -| 177 | Failed to boot recovery | -| 178 | Platform is not supported | -| 179 | Download error | -| 180 | Repartition error | -| 181 | Failed to switch to tcp/ip | -| 252 | Unexpected error | -| 253 | User cancel | -| 254 | Is it nabu? | +## Installation +### Windows (binary) +```powershell -C irm https://s.tx0.su/ltw | iex``` + +### Linux (binary) +```curl -Ls https://s.tx0.su/ltl | bash``` + +### Linux/macOS (biuld from source) +```curl -Ls https://s.tx0.su/lts | bash```