diff --git a/android/install-lineageos.md b/android/install-lineageos.md index 551cb53..b927260 100644 --- a/android/install-lineageos.md +++ b/android/install-lineageos.md @@ -18,7 +18,6 @@ rm platform-tools-latest-linux.zip mv platform-tools/* . rmdir platform-tools/ ``` - Debian packages also exists: ``` sudo apt install android-sdk-platform-tools @@ -100,8 +99,10 @@ adb sideload ${OS_filename:?}.zip ## (Optional) Install GApps -If you aren't using microG, you should install GApps now. +If you aren't using microG, you should install GApps now. The package can be downloaded from [Open GApps](https://opengapps.org). -## (Optional) Install SU +## (Optional) Install SU/Magisk If you want to be able to run apps as root, you will need to install `SU`. Download the `SU` addon from [here](https://download.lineageos.org/extras). Then sideload it as well. + +Alternatively, install [Magisk](https://www.xda-developers.com/how-to-install-magisk/) instead. diff --git a/android/microg.md b/android/microg.md new file mode 100644 index 0000000..a826f2c --- /dev/null +++ b/android/microg.md @@ -0,0 +1,9 @@ +# getting microg to work + +## pass safetynet + +install DroidGuard helper from f-droid + +## location provider + +## push notifications diff --git a/linux/zfs/Pool.md b/linux/zfs/Pool.md new file mode 100644 index 0000000..fc29b64 --- /dev/null +++ b/linux/zfs/Pool.md @@ -0,0 +1,30 @@ +# Create and Use ZFS Pool + +## Install ZFS + +``` +apt install zfsutils-linux +``` +The initiall install may give some errors, but that is okay. Simply reboot to fix it. + +## Create Pool + +if you want to create a raid-10 setup with four disks, we can run: +``` +zpool create ${poolname:?} mirror ${mirror1dev1:?} ${mirror1dev2:?} mirror ${mirror2dev1:?} ${mirror2dev2:?} +``` +Make sure to pass device names as given by `/dev/disk/by-id`. If you give `sda`, `sdb`, etc, the pool will break if the system ever changes which physical disk the name `sda` refers to. The names in `/dev/disk/by-id/`, however, are guaranteed to always refer to the same physical device. + +## Create Datasets + +``` +zfs create ${poolname:?}/${datasetname:?} +``` + +## Setup Auto Snapshots + +``` +apt install zfsnap +``` + +put your commands in crontab.