WARNING: tested only on my setup (LineageOS 18.1 on instantnoodle), other setups may break and brick the device!
Step-by-step instructions (for reinstalling patched boot.img for Magisk):
- upgrade LineageOS to the latest by the standard way in Android GUI (download + install + reboot)
- if using not the latest Magisk: wipe old (possibly hidden) Magisk app then install the up-to-date one from the official Magisk github repo
install (git clone) payload_dumper from GitHub (in Termux or in an SSH session on the Android device) for the 1st time, or update (git pull) laterthe Android terminal session: wget the same LineageOS nightly image installed in step 1 from https://download.lineageos.org/
# 1. Download and install go | |
https://golang.org/doc/install | |
# 2. Download and install VMware workstation player | |
https://www.vmware.com/products/workstation-player.html | |
# 3. Download and install vagrant | |
https://www.vagrantup.com/downloads | |
# 4. Download vagrant vmware utility |
You're going to need a Google Developer's Account: https://console.developers.google.com/ | |
https://console.cloud.google.com/projectselector2/home/dashboard?authuser=2&organizationId=0&supportedpurview=project | |
You'll need to know what you want your Portainer URL to be. | |
Create a Project | |
Enter a Project Name and click "Create" | |
APIs & Services |
# add your package set to your existing environment (together with the things you installed imperatively) | |
$ nix-env -i -f ./packages.nix | |
# More declarative: _replace_ your environment with _exactly_ what is in ./packages.nix | |
$ nix-env --set -f ./packages.nix | |
# Show previous versions | |
$ nix-env --list-generations | |
# Rollback | |
$ nix-env --rollback |
This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).
Running this script should look the same in tmux as without.
curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh
Instructions to hack up WSL2 on Windows 10 Build 18917 to run k3s (Kubernetes) and rio
https://docs.microsoft.com/en-us/windows/wsl/wsl2-install
I already had Ubuntu-18.04 installed in wsl 1. So I just did wsl --set-version Ubuntu-18.04 2
Using Ubuntu 18.04 (I'm sure any distro will work), inside WSL2 download https://thirdpartysource.microsoft.com/download/Windows%20Subsystem%20for%20Linux%20v2/May%202019/WSLv2-Linux-Kernel-master.zip and extract to a folder. The latest version of the kernel source is available at (https://github.com/microsoft/WSL2-Linux-Kernel)