Skip to content

Getting started

Set up a fresh Android environment with stash, zsh and essential development tools.

References



  1. Terminal


    1. Update and upgrade

      Fetch the latest package lists and apply security patches.

      Terminal window
      sudo apt update && sudo apt upgrade -y
    2. Install stash

      Download and run the stash installer.

      Terminal window
      curl -sSL https://raw.githubusercontent.com/huffmanks/stash/main/install.sh | bash
    3. Run stash

      Run stash to create .zshrc, the global .gitconfig and .gitignore files and help install the necessary packages.

      Terminal window
      stash
    4. Update .bashrc

      Add this to .bashrc so Bash automatically starts zsh as a login shell.

      Terminal window
      nano ~/.bashrc
      .bashrc
      if [ -x "$(command -v zsh)" ]; then
      export SHELL=$(command -v zsh)
      exec $(command -v zsh) -l
      fi
    5. Change default shell

      Set zsh as the default login shell.

      Terminal window
      chsh -s $(which zsh)
    6. Compile .zshrc

      Compile .zshrc and restart zsh to apply the changes.

      Terminal window
      zcompile ~/.zshrc && exec zsh
  2. Apps (restore backups)


    1. AntennaPod

      • Install AntennaPod
      • Settings > Backup & restore
      • Database import
      • Select file AntennaPodBackup-*.db
    2. Metrolist

      • Install Metrolist
      • Profile > Settings > Backup and restore
      • Restore
      • Select file Metrolist_*.backup
    3. Rethink DNS

    4. Retro Music

    5. RiPlay

      • Install RiPlay
      • Settings > Backup & Restore
      • Restore
      • Select file riplay_*.db