Created
November 26, 2018 08:53
-
-
Save Ingo-FP-Angel/63927c2d03acddfc89dd5097f5210bbe to your computer and use it in GitHub Desktop.
(Re-)Install anbox and adb on Ubuntu Touch (incl. freeing space on system image)
This file contains 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
#!/bin/bash -x | |
SUDO='' | |
if (( $EUID != 0 )); then | |
SUDO='sudo' | |
fi | |
$SUDO mount -o rw,remount / | |
$SUDO rm -r /var/cache/apt | |
$SUDO tune2fs -m 0 /dev/loop0 | |
$SUDO apt update | |
$SUDO apt -y install anbox-ubuntu-touch android-tools-adb | |
$SUDO mount -o ro,remount / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Ingo-FP-Angel Following on from my comment in the main Telegram group, how about the following improvement?