Magic in GFW & Anti-GFW, just in order to work on Android AOSP.

來源:互聯網
上載者:User

標籤:

Ok, let me say, I‘m an Android BSP engineer in China Mainland.

And as you know, for the one who wants to get in close touch with xxx.android.com or xxx.google.com just for work, it‘s hardly possible.

This is a fxxxing bullshit, a really sad story and will still be no hope in it in the near, and maybe far future.

WTF? right? I‘m just the one wanting to work on Android AOSP. right?

The Magic is that GFW coud ban you, and Anti-GFW could allow you.

 

This is the world full of magic.

 

Ok, I and all know the pain well, but no other choices for us, if you still want to and could only stay in China Mainland.

 

1. goagent is needed in Windows, which setups a proxy for Windows machine.

2. select virtual machine to run Ubuntu, virtualbox or vmware machine, depending on your will. My choice virtualbox.

    virtualbox global perference: proxy should be set according to the addr:port provided by goagent in Windows.

3. in virtualbox/Ubuntu, a goagent is still needed,  before accessing the banned website or git,  run the goagent in virtualbox.

4. do what you want, like

    curl https://storage.googleapis.com/git-repo-downloads/repo > ./bin/repo

    repo init -u http://android.googlesource.com/platform/manifest -b android-5.0.0_r1

    repo sync -j4 -f

 

If it fails to work after its being used several times successfully,  the only thing you need to do is to change the iplist in proxy.[user.]ini

whether "user." is present in the file name, depend on the version of goagent.

For the details how to setup goagent, not covered in this snippet, please check out the website.

 

Done.

Magic in GFW & Anti-GFW, just in order to work on Android AOSP.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.