Last active
October 25, 2017 18:38
-
-
Save aguestuser/6879b3380b837293be26d696c04e092c to your computer and use it in GitHub Desktop.
Side-load Signal instead of using the Google Play Store.
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
# USAGE: | |
# cd /path/to/sideload-signal.sh | |
# chmod +x sideload-signal.sh | |
# ./sideload-signal.sh | |
# DEPENDENCIES: | |
# * Android Debug Bridge | |
# (install with: `sudo apt install adb`) | |
# * USB connection to android device in with "USB debugging" enabled | |
# (see http://bit.ly/2p89Oxt) | |
# remember where we started! | |
pushd `pwd` | |
# go somewhere we don't care about | |
mkdir ~/tmp | |
cd ~/tmp | |
# store version as variable for easier updating | |
version = 4.11.5 | |
# download the apk | |
curl -O https://updates.signal.org/android/Signal-website-release-${version}.apk | |
# TODO: implement signature verification w/ some combination of: | |
# curl https://signal.org/android/apk/ | grep -A 2 "<span class=\"fingerprint\">" | tail -n 2 | |
# unzip -p Signal-website-release-4.5.3.apk META-INF/CERT.RSA | keytool -printcert | |
# h/t @aepyornis | |
# check adb | |
adb devices | |
# install signal | |
adb install Signal-website-release-${version}.apk | |
# clean up | |
rm Signal-website-release-${version}.apk | |
# go back to where we came from! | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@aepyornis
(don't know how to make collaborators on gists... is that a thing?)