download android source code under crossing GFW via ssh

  1. ssh -D port user@server
  2. export SOCKS_PROXY="server:port"
  3. apt-get install tsocks
  4. tsocks -on
  5. $ repo init -u https://android.googlesource.com/platform/manifest
  6. repo sync