What to do after installing Termux from F-Droid?
First, upgrade the package base:
apt update
apt upgrade
Then install the essentials:
First install pip for Python2. Download the get-pip.py file from https://bootstrap.pypa.io/get-pip.py | |
$ cd <download location> | |
$ sudo -H python ./get-pip.py | |
Installing pip also installs Python3 | |
To run Python3 | |
$ python3 | |
Install pip3 by just executing the same file as in the step above, but this time using Python3 | |
$ sudo -H python3 ./get-pip.py |
What to do after installing Termux from F-Droid?
First, upgrade the package base:
apt update
apt upgrade
Then install the essentials:
#!/usr/bin/env bash | |
# | |
# This script replaces "ro.debuggable=1" with "ro.debuggable=0" in the | |
# default.prop file in a ROM's boot.img and gives you the patched boot.img. | |
# | |
# Prerequisites: | |
# - A UNIX system (with `unzip`) | |
# - These tools added to your PATH: | |
# - Android dev tools (adb/fastboot) | |
# - Various tools in "bootimg_tools_7.8.13.zip" from https://goo.gl/48Sszu |
#!/usr/bin/env bash | |
# | |
# This script replaces "ro.debuggable=1" with "ro.debuggable=0" in the | |
# default.prop file in a ROM's boot.img and gives you the patched boot.img. | |
# | |
# Prerequisites: | |
# - A UNIX system (with `unzip`) | |
# - These tools added to your PATH: | |
# - Android dev tools (adb/fastboot) | |
# - Various tools in "bootimg_tools_7.8.13.zip" from https://goo.gl/48Sszu |
# install java | |
apt-get install -y software-properties-common | |
apt-add-repository -y ppa:webupd8team/java | |
apt-get update | |
apt-get install -y oracle-java8-installer | |
# download latest android sdk | |
# http://developer.android.com/sdk/index.html#Other | |
cd /opt | |
wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz |
List grabbed from running `strings` on the bootloader; it's probably incomplete. | |
Most of these commands are untested, and all of them sound like they can seriously break your phone. Be careful. | |
Tested: (all on a bootloader unlocked device) | |
fastboot oem uart enable: changes "Console" on the bootloader screen to say "ttyHSL0,115200,n8"; | |
probably enables serial messages; haven't checked since I don't know where the Nexus 6P's uart is | |
fastboot oem ramdump enable: changes "Download mode" on the bootloader screen to say "ENABLED" instead of "DISABLED". |
#To Get List of Hardware | |
sudo networksetup -listallhardwareports | |
#To Disable IPv6 on Wifi Adapter | |
sudo networksetup -setv6off wi-fi | |
#To Disable IPv6 on Built-in Ethernet Adapter | |
sudo networksetup -setv6off Ethernet |
brew install fish
curl -L https://get.oh-my.fish | fish
# Change this to suit your dotfiles setup and copy to your *HOST* machine: $HOME/.vagrant.d/Vagrantfile | |
Vagrant.configure(2) do |config| | |
# Mount your dotfiles to vagrant user's home folder (or wherever you want): | |
config.vm.synced_folder "#{ENV['HOME']}/dotfiles", '/home/vagrant/dotfiles' | |
# Install dotfiles on every 'vagrant provision' call. | |
# For example, let's imagine your your dotfiles have 'install.sh' script: | |
config.vm.provision 'shell', privileged: false, inline: '/home/vagrant/dotfiles/install.sh' | |
end |