http://www.3proxy.ru/download/
E:\movies\d\国家地理.伟大工程巡礼系列\[离线]ubuntu-12.04-desktop-i386>proxy -l -i192.168.0.1 -e10.220.27.181 -p8081
root: sudo -s
http://blog.163.com/fanning_7213/blog/static/24965052011026104010570/
export http_proxy=http://192.168.0.1:8081
desktop sharing
use 163.com as source
apt-get install gnome-commander
apt-get update
apt-get install samba
apt-get install system-config-samba
preferences->server settings->security
authentication mode:user
guest account: no guest account
encrypt passwords: yes
preferences->samba users: edit user:leon
https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx
http://wiki.debian.org/wl
root@ubuntu:/media/LENOVO/share# lspci -vvnn | grep 14e4
02:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express [14e4:1713] (rev 02)
05:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
Subsystem: Broadcom Corporation Device [14e4:04b5]
http://ubuntuforums.org/showthread.php?t=2037616
https://help.ubuntu.com/community/Java#Oracle_.28Sun.29_Java_6
http://superuser.com/questions/353983/how-do-i-install-the-sun-java-sdk-in-ubuntu-11-10-oneric-and-later-versions
https://launchpad.net/~eugenesan/+archive/java
ubuntu为apt-get设置http代理
方法二
这种方法要用到/etc/apt/文件夹下的apt.conf文件。如果您希望apt-get(而不是其他应用程序)一直使用http代理,您可以使用这种方式。
注意: 某些情况下,系统安装过程中没有建立apt配置文件。下面的操作将视情况修改现有的配置文件或者新建配置文件。
gksudo gedit /etc/apt/apt.conf
在您的apt.conf文件中加入下面这行(根据你的实际情况替换yourproxyaddress和proxyport)。
Acquire::http::Proxy "http://yourproxyaddress:proxyport";
保存apt.conf文件。
http://www.laozhe.net/articles/328.html
use teamviewer for remote desktop, still with issue for unity
http://blog.chinaunix.net/uid-9688646-id-3396792.html
#sudo apt-get install openbsd-inetd
#sudo apt-get install telnetd
in /etc/inetd.conf, make sure the line below exists:
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd
#/etc/init.d/openbsd-inetd restart
#netstat -a | grep telnet
tcp 0 0 *:telnet *:* LISTEN
cd /media/LENOVO/src/java6
dpkg -i java-common_0.28ubuntu3_all.deb
dpkg -i unixodbc_2.2.14p2-2ubuntu1_i386.deb
dpkg -i sun-java6-jre_6.24-1build0.8.04.1_all.deb sun-java6-bin_6.24-1build0.8.04.1_i386.deb sun-java6-jdk_6.24-1build0.8.04.1_i386.deb
ln -s /usr/lib/mesa/libGL.so.1 /usr/lib/mesa/libGL.so
apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev libc6-dev libncurses5-dev x11proto-core-dev \
libx11-dev libreadline6-dev libgl1-mesa-dev tofrodos python-markdown \
libxml2-utils xsltproc
10.10: https://launchpad.net/ubuntu/maverick
11.10: https://launchpad.net/ubuntu/oneiric
/media/LENOVO/src1/2/packages/
awk -F/ '{print $9}' deb.txt |awk '{print "dpkg -i "$1}'
dpkg -i libaccess-bridge-java_1.26.2-5_all.deb
dpkg -i libaccess-bridge-java-jni_1.26.2-5_i386.deb
dpkg -i tzdata_2012e-0ubuntu0.10.04_all.deb tzdata-java_2012e-0ubuntu0.10.04_all.deb
dpkg -i ca-certificates-java_20100412_all.deb openjdk-6-jre-lib_6b18-1.8-0ubuntu1_all.deb openjdk-6-jre-headless_6b18-1.8-0ubuntu1_i386.deb
dpkg -i openjdk-6-jre_6b18-1.8-0ubuntu1_i386.deb openjdk-6-jdk_6b18-1.8-0ubuntu1_i386.deb
dpkg -i openjdk-6-source_6b18-1.8-0ubuntu1_all.deb
dpkg -L openjdk-6-source
/.
/usr
/usr/lib
/usr/lib/jvm
/usr/lib/jvm/java-6-openjdk
/usr/lib/jvm/java-6-openjdk/src.zip
/usr/share
/usr/share/doc
/usr/share/doc/openjdk-6-source
dpkg -i x11proto-core-dev_7.0.17-1_all.deb
dpkg -i libxau-dev_1.0.6-1_i386.deb
dpkg -i libxdmcp-dev_1.0.3-2_i386.deb
dpkg -i libxcb1-dev_1.6-1_i386.deb
dpkg -i libx11-dev_1.3.3-3ubuntu1_i386.deb
apt-get -f install
dpkg -i libc6-dev_2.12.1-0ubuntu10.4_i386.deb
dpkg -i libc-dev-bin_2.12.1-0ubuntu10.4_i386.deb
dpkg -i libc-bin_2.12.1-0ubuntu10.4_i386.deb
dpkg -i libc6_2.12.1-0ubuntu10.4_i386.deb
ls libdrm2_2.4.21-1ubuntu2.1_i386.deb \
libdrm-intel1_2.4.21-1ubuntu2.1_i386.deb \
libdrm-nouveau1_2.4.21-1ubuntu2.1_i386.deb \
libdrm-radeon1_2.4.21-1ubuntu2.1_i386.deb \
gcc-4.4_4.4.4-14ubuntu5.1_i386.deb \
cpp-4.4_4.4.4-14ubuntu5.1_i386.deb \
gcc-4.4-base_4.4.4-14ubuntu5.1_i386.deb \
libstdc++6-4.4-dev_4.4.4-14ubuntu5.1_i386.deb \
g++-4.4_4.4.4-14ubuntu5.1_i386.deb \
g++_4.4.4-1ubuntu2_i386.deb \
libdpkg-perl_1.15.8.4ubuntu3.1_all.deb \
dpkg-dev_1.15.8.4ubuntu3.1_all.deb \
build-essential_11.5_i386.deb \
curl_7.21.0-1ubuntu1.3_i386.deb \
git_1.7.1-1.1ubuntu0.1_i386.deb \
git-core_1.7.1-1.1ubuntu0.1_all.deb \
libkms1_2.4.21-1ubuntu2.1_i386.deb \
libdrm-dev_2.4.21-1ubuntu2.1_i386.deb \
libncurses5-dev_5.7+20100626-0ubuntu1_i386.deb \
libreadline6-dev_6.1-3_i386.deb \
libxml2-utils_2.7.7.dfsg-4ubuntu0.4_i386.deb \
mesa-common-dev_7.9~git20100924-0ubuntu2_i386.deb \
libgl1-mesa-dev_7.9~git20100924-0ubuntu2_i386.deb
dpkg -i libdrm2_2.4.21-1ubuntu2.1_i386.deb \
libdrm-intel1_2.4.21-1ubuntu2.1_i386.deb \
libdrm-nouveau1_2.4.21-1ubuntu2.1_i386.deb \
libdrm-radeon1_2.4.21-1ubuntu2.1_i386.deb \
gcc-4.4_4.4.4-14ubuntu5.1_i386.deb \
cpp-4.4_4.4.4-14ubuntu5.1_i386.deb \
gcc-4.4-base_4.4.4-14ubuntu5.1_i386.deb \
libstdc++6-4.4-dev_4.4.4-14ubuntu5.1_i386.deb \
g++-4.4_4.4.4-14ubuntu5.1_i386.deb \
g++_4.4.4-1ubuntu2_i386.deb \
libdpkg-perl_1.15.8.4ubuntu3.1_all.deb \
dpkg -i dpkg-dev_1.15.8.4ubuntu3.1_all.deb \
build-essential_11.5_i386.deb \
curl_7.21.0-1ubuntu1.3_i386.deb \
dpkg -i git_1.7.1-1.1ubuntu0.1_i386.deb \
git-core_1.7.1-1.1ubuntu0.1_all.deb \
libkms1_2.4.21-1ubuntu2.1_i386.deb \
libdrm-dev_2.4.21-1ubuntu2.1_i386.deb \
libncurses5-dev_5.7+20100626-0ubuntu1_i386.deb \
libreadline6-dev_6.1-3_i386.deb \
libxml2-utils_2.7.7.dfsg-4ubuntu0.4_i386.deb \
mesa-common-dev_7.9~git20100924-0ubuntu2_i386.deb \
libgl1-mesa-dev_7.9~git20100924-0ubuntu2_i386.deb
dpkg-dev
build-essential
git
git-core
The recommended approach is to create a file /etc/udev/rules.d/51-android.rules (as the root user) and to copy the following lines in it. must be replaced by the actual username of the user who is authorized to access the phones over USB.
***********************************************************************
# adb protocol on passion (Nexus One)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e12", MODE="0600", OWNER="leon"
# fastboot protocol on passion (Nexus One)
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0fff", MODE="0600", OWNER="leon"
# adb protocol on crespo/crespo4g (Nexus S)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e22", MODE="0600", OWNER="leon"
# fastboot protocol on crespo/crespo4g (Nexus S)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e20", MODE="0600", OWNER="leon"
# adb protocol on stingray/wingray (Xoom)
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a9", MODE="0600", OWNER="leon"
# fastboot protocol on stingray/wingray (Xoom)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="708c", MODE="0600", OWNER="leon"
# adb protocol on maguro/toro (Galaxy Nexus)
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0600", OWNER="leon"
# fastboot protocol on maguro/toro (Galaxy Nexus)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e30", MODE="0600", OWNER="leon"
# adb protocol on panda (PandaBoard)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d101", MODE="0600", OWNER="leon"
# fastboot protocol on panda (PandaBoard)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d022", MODE="0600", OWNER="leon"
# usbboot protocol on panda (PandaBoard)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d00f", MODE="0600", OWNER="leon"
# usbboot protocol on panda (PandaBoard ES)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d010", MODE="0600", OWNER="leon"
# adb protocol on grouper/tilapia (Nexus 7)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e42", MODE="0600", OWNER="leon"
# fastboot protocol on grouper/tilapia (Nexus 7)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e40", MODE="0600", OWNER="leon"
# adb protocol on manta (Nexus 10)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee2", MODE="0600", OWNER="leon"
# fastboot protocol on manta (Nexus 10)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee0", MODE="0600", OWNER="leon"
***********************************************************************
Put the following in your .bashrc or equivalent.
***********************************************************************
export USE_CCACHE=1
***********************************************************************
By default the cache will be stored in ~/.ccache. If your home directory is on NFS or some other non-local filesystem, you will want to specify the directory in your .bashrc as well.
***********************************************************************
export CCACHE_DIR=/media/LENOVO/src1/1/cache
***********************************************************************
The suggested cache size is 50-100GB. You will need to run the following command once you have downloaded the source code.
***********************************************************************
prebuilt/linux-x86/ccache/ccache -M 5G
/home/leon/src/ccache/ccache -M 5G
***********************************************************************
file:///D:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/docs/hello-world.html
. build/envsetup.sh
lunch sim-eng
export TARGET_BUILD_TYPE=debug
E:\movies\d\国家地理.伟大工程巡礼系列\[离线]ubuntu-12.04-desktop-i386>proxy -l -i192.168.0.1 -e10.220.27.181 -p8081
root: sudo -s
http://blog.163.com/fanning_7213/blog/static/24965052011026104010570/
export http_proxy=http://192.168.0.1:8081
desktop sharing
use 163.com as source
apt-get install gnome-commander
apt-get update
apt-get install samba
apt-get install system-config-samba
preferences->server settings->security
authentication mode:user
guest account: no guest account
encrypt passwords: yes
preferences->samba users: edit user:leon
https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx
http://wiki.debian.org/wl
root@ubuntu:/media/LENOVO/share# lspci -vvnn | grep 14e4
02:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express [14e4:1713] (rev 02)
05:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
Subsystem: Broadcom Corporation Device [14e4:04b5]
http://ubuntuforums.org/showthread.php?t=2037616
https://help.ubuntu.com/community/Java#Oracle_.28Sun.29_Java_6
http://superuser.com/questions/353983/how-do-i-install-the-sun-java-sdk-in-ubuntu-11-10-oneric-and-later-versions
https://launchpad.net/~eugenesan/+archive/java
ubuntu为apt-get设置http代理
方法二
这种方法要用到/etc/apt/文件夹下的apt.conf文件。如果您希望apt-get(而不是其他应用程序)一直使用http代理,您可以使用这种方式。
注意: 某些情况下,系统安装过程中没有建立apt配置文件。下面的操作将视情况修改现有的配置文件或者新建配置文件。
gksudo gedit /etc/apt/apt.conf
在您的apt.conf文件中加入下面这行(根据你的实际情况替换yourproxyaddress和proxyport)。
Acquire::http::Proxy "http://yourproxyaddress:proxyport";
保存apt.conf文件。
http://www.laozhe.net/articles/328.html
use teamviewer for remote desktop, still with issue for unity
http://blog.chinaunix.net/uid-9688646-id-3396792.html
#sudo apt-get install openbsd-inetd
#sudo apt-get install telnetd
in /etc/inetd.conf, make sure the line below exists:
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd
#/etc/init.d/openbsd-inetd restart
#netstat -a | grep telnet
tcp 0 0 *:telnet *:* LISTEN
cd /media/LENOVO/src/java6
dpkg -i java-common_0.28ubuntu3_all.deb
dpkg -i unixodbc_2.2.14p2-2ubuntu1_i386.deb
dpkg -i sun-java6-jre_6.24-1build0.8.04.1_all.deb sun-java6-bin_6.24-1build0.8.04.1_i386.deb sun-java6-jdk_6.24-1build0.8.04.1_i386.deb
ln -s /usr/lib/mesa/libGL.so.1 /usr/lib/mesa/libGL.so
apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev libc6-dev libncurses5-dev x11proto-core-dev \
libx11-dev libreadline6-dev libgl1-mesa-dev tofrodos python-markdown \
libxml2-utils xsltproc
10.10: https://launchpad.net/ubuntu/maverick
11.10: https://launchpad.net/ubuntu/oneiric
/media/LENOVO/src1/2/packages/
awk -F/ '{print $9}' deb.txt |awk '{print "dpkg -i "$1}'
dpkg -i libaccess-bridge-java_1.26.2-5_all.deb
dpkg -i libaccess-bridge-java-jni_1.26.2-5_i386.deb
dpkg -i tzdata_2012e-0ubuntu0.10.04_all.deb tzdata-java_2012e-0ubuntu0.10.04_all.deb
dpkg -i ca-certificates-java_20100412_all.deb openjdk-6-jre-lib_6b18-1.8-0ubuntu1_all.deb openjdk-6-jre-headless_6b18-1.8-0ubuntu1_i386.deb
dpkg -i openjdk-6-jre_6b18-1.8-0ubuntu1_i386.deb openjdk-6-jdk_6b18-1.8-0ubuntu1_i386.deb
dpkg -i openjdk-6-source_6b18-1.8-0ubuntu1_all.deb
dpkg -L openjdk-6-source
/.
/usr
/usr/lib
/usr/lib/jvm
/usr/lib/jvm/java-6-openjdk
/usr/lib/jvm/java-6-openjdk/src.zip
/usr/share
/usr/share/doc
/usr/share/doc/openjdk-6-source
dpkg -i x11proto-core-dev_7.0.17-1_all.deb
dpkg -i libxau-dev_1.0.6-1_i386.deb
dpkg -i libxdmcp-dev_1.0.3-2_i386.deb
dpkg -i libxcb1-dev_1.6-1_i386.deb
dpkg -i libx11-dev_1.3.3-3ubuntu1_i386.deb
apt-get -f install
dpkg -i libc6-dev_2.12.1-0ubuntu10.4_i386.deb
dpkg -i libc-dev-bin_2.12.1-0ubuntu10.4_i386.deb
dpkg -i libc-bin_2.12.1-0ubuntu10.4_i386.deb
dpkg -i libc6_2.12.1-0ubuntu10.4_i386.deb
ls libdrm2_2.4.21-1ubuntu2.1_i386.deb \
libdrm-intel1_2.4.21-1ubuntu2.1_i386.deb \
libdrm-nouveau1_2.4.21-1ubuntu2.1_i386.deb \
libdrm-radeon1_2.4.21-1ubuntu2.1_i386.deb \
gcc-4.4_4.4.4-14ubuntu5.1_i386.deb \
cpp-4.4_4.4.4-14ubuntu5.1_i386.deb \
gcc-4.4-base_4.4.4-14ubuntu5.1_i386.deb \
libstdc++6-4.4-dev_4.4.4-14ubuntu5.1_i386.deb \
g++-4.4_4.4.4-14ubuntu5.1_i386.deb \
g++_4.4.4-1ubuntu2_i386.deb \
libdpkg-perl_1.15.8.4ubuntu3.1_all.deb \
dpkg-dev_1.15.8.4ubuntu3.1_all.deb \
build-essential_11.5_i386.deb \
curl_7.21.0-1ubuntu1.3_i386.deb \
git_1.7.1-1.1ubuntu0.1_i386.deb \
git-core_1.7.1-1.1ubuntu0.1_all.deb \
libkms1_2.4.21-1ubuntu2.1_i386.deb \
libdrm-dev_2.4.21-1ubuntu2.1_i386.deb \
libncurses5-dev_5.7+20100626-0ubuntu1_i386.deb \
libreadline6-dev_6.1-3_i386.deb \
libxml2-utils_2.7.7.dfsg-4ubuntu0.4_i386.deb \
mesa-common-dev_7.9~git20100924-0ubuntu2_i386.deb \
libgl1-mesa-dev_7.9~git20100924-0ubuntu2_i386.deb
dpkg -i libdrm2_2.4.21-1ubuntu2.1_i386.deb \
libdrm-intel1_2.4.21-1ubuntu2.1_i386.deb \
libdrm-nouveau1_2.4.21-1ubuntu2.1_i386.deb \
libdrm-radeon1_2.4.21-1ubuntu2.1_i386.deb \
gcc-4.4_4.4.4-14ubuntu5.1_i386.deb \
cpp-4.4_4.4.4-14ubuntu5.1_i386.deb \
gcc-4.4-base_4.4.4-14ubuntu5.1_i386.deb \
libstdc++6-4.4-dev_4.4.4-14ubuntu5.1_i386.deb \
g++-4.4_4.4.4-14ubuntu5.1_i386.deb \
g++_4.4.4-1ubuntu2_i386.deb \
libdpkg-perl_1.15.8.4ubuntu3.1_all.deb \
dpkg -i dpkg-dev_1.15.8.4ubuntu3.1_all.deb \
build-essential_11.5_i386.deb \
curl_7.21.0-1ubuntu1.3_i386.deb \
dpkg -i git_1.7.1-1.1ubuntu0.1_i386.deb \
git-core_1.7.1-1.1ubuntu0.1_all.deb \
libkms1_2.4.21-1ubuntu2.1_i386.deb \
libdrm-dev_2.4.21-1ubuntu2.1_i386.deb \
libncurses5-dev_5.7+20100626-0ubuntu1_i386.deb \
libreadline6-dev_6.1-3_i386.deb \
libxml2-utils_2.7.7.dfsg-4ubuntu0.4_i386.deb \
mesa-common-dev_7.9~git20100924-0ubuntu2_i386.deb \
libgl1-mesa-dev_7.9~git20100924-0ubuntu2_i386.deb
dpkg-dev
build-essential
git
git-core
The recommended approach is to create a file /etc/udev/rules.d/51-android.rules (as the root user) and to copy the following lines in it. must be replaced by the actual username of the user who is authorized to access the phones over USB.
***********************************************************************
# adb protocol on passion (Nexus One)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e12", MODE="0600", OWNER="leon"
# fastboot protocol on passion (Nexus One)
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0fff", MODE="0600", OWNER="leon"
# adb protocol on crespo/crespo4g (Nexus S)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e22", MODE="0600", OWNER="leon"
# fastboot protocol on crespo/crespo4g (Nexus S)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e20", MODE="0600", OWNER="leon"
# adb protocol on stingray/wingray (Xoom)
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a9", MODE="0600", OWNER="leon"
# fastboot protocol on stingray/wingray (Xoom)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="708c", MODE="0600", OWNER="leon"
# adb protocol on maguro/toro (Galaxy Nexus)
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0600", OWNER="leon"
# fastboot protocol on maguro/toro (Galaxy Nexus)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e30", MODE="0600", OWNER="leon"
# adb protocol on panda (PandaBoard)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d101", MODE="0600", OWNER="leon"
# fastboot protocol on panda (PandaBoard)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d022", MODE="0600", OWNER="leon"
# usbboot protocol on panda (PandaBoard)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d00f", MODE="0600", OWNER="leon"
# usbboot protocol on panda (PandaBoard ES)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d010", MODE="0600", OWNER="leon"
# adb protocol on grouper/tilapia (Nexus 7)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e42", MODE="0600", OWNER="leon"
# fastboot protocol on grouper/tilapia (Nexus 7)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e40", MODE="0600", OWNER="leon"
# adb protocol on manta (Nexus 10)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee2", MODE="0600", OWNER="leon"
# fastboot protocol on manta (Nexus 10)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee0", MODE="0600", OWNER="leon"
***********************************************************************
Put the following in your .bashrc or equivalent.
***********************************************************************
export USE_CCACHE=1
***********************************************************************
By default the cache will be stored in ~/.ccache. If your home directory is on NFS or some other non-local filesystem, you will want to specify the directory in your .bashrc as well.
***********************************************************************
export CCACHE_DIR=/media/LENOVO/src1/1/cache
***********************************************************************
The suggested cache size is 50-100GB. You will need to run the following command once you have downloaded the source code.
***********************************************************************
prebuilt/linux-x86/ccache/ccache -M 5G
/home/leon/src/ccache/ccache -M 5G
***********************************************************************
file:///D:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/docs/hello-world.html
. build/envsetup.sh
lunch sim-eng
export TARGET_BUILD_TYPE=debug