Warning
This is a rather old guide and may or may not work with modern versions of Android.
- Boot into TWRP
- Connect device to computer
- Terminal: List devices with
adb devices
# libssl1.1, the only missing mongodb dependency. | |
# I prefer enable oldstable in case this get backport security patches | |
echo "deb http://deb.debian.org/debian bullseye main" | sudo tee /etc/apt/sources.list.d/oldstable-bullseye.list | |
# MongoDB 4.4, [end of life Feb 2024](https://www.mongodb.com/support-policy/lifecycles) | |
curl -fsSL https://pgp.mongodb.com/server-4.4.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-4.4.gpg --dearmor | |
echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-4.4.gpg ] http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list | |
sudo apt-get update && sudo apt-get install mongodb-org-server -y | |
# Unifi |
#! /bin/sh | |
set +o noclobber | |
# | |
# $1 = scanner device | |
# $2 = friendly name | |
# | |
# | |
# 100,200,300,400,600 | |
# |