Browse Source

added microg docs

master
Mario Alegre 5 years ago
parent
commit
7d31a9a9be
  1. 7
      android/install-lineageos.md
  2. 9
      android/microg.md
  3. 30
      linux/zfs/Pool.md

7
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.

9
android/microg.md

@ -0,0 +1,9 @@
# getting microg to work
## pass safetynet
install DroidGuard helper from f-droid
## location provider
## push notifications

30
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.
Loading…
Cancel
Save