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/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| Create Unix VM's. | |
| PREREQUISITES: | |
| - A VM that has been installed with an OS that supports cloud-init | |
| - cloud-init is installed on the vm | |
| How it works: | |
| - Asks for a bunch of parameters | |
| - Creates a disk from parent vhdx for speed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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.shNewerOlder